{"abi":[{"type":"function","name":"createNewDispute","inputs":[{"name":"numberToBeSquared","type":"uint256","internalType":"uint256"},{"name":"quorumThresholdPercentage","type":"uint32","internalType":"uint32"},{"name":"quorumNumbers","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"disputeNumber","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"getDisputeResponseWindowBlock","inputs":[],"outputs":[{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"type":"function","name":"raiseAndResolveChallenge","inputs":[{"name":"dispute","type":"tuple","internalType":"struct IDisputeManager.Dispute","components":[{"name":"numberToBeSquared","type":"uint256","internalType":"uint256"},{"name":"disputeCreatedBlock","type":"uint32","internalType":"uint32"},{"name":"quorumNumbers","type":"bytes","internalType":"bytes"},{"name":"quorumThresholdPercentage","type":"uint32","internalType":"uint32"}]},{"name":"disputeResponse","type":"tuple","internalType":"struct IDisputeManager.DisputeResponse","components":[{"name":"referenceDisputeIndex","type":"uint32","internalType":"uint32"},{"name":"numberSquared","type":"uint256","internalType":"uint256"}]},{"name":"disputeResponseMetadata","type":"tuple","internalType":"struct IDisputeManager.DisputeResponseMetadata","components":[{"name":"disputeResponsedBlock","type":"uint32","internalType":"uint32"},{"name":"hashOfNonSigners","type":"bytes32","internalType":"bytes32"}]},{"name":"pubkeysOfNonSigningOperators","type":"tuple[]","internalType":"struct BN254.G1Point[]","components":[{"name":"X","type":"uint256","internalType":"uint256"},{"name":"Y","type":"uint256","internalType":"uint256"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"DisputeChallengedSuccessfully","inputs":[{"name":"disputeIndex","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"challenger","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"DisputeChallengedUnsuccessfully","inputs":[{"name":"disputeIndex","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"challenger","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"DisputeCompleted","inputs":[{"name":"disputeIndex","type":"uint32","indexed":true,"internalType":"uint32"}],"anonymous":false},{"type":"event","name":"DisputeResponded","inputs":[{"name":"disputeResponse","type":"tuple","indexed":false,"internalType":"struct IDisputeManager.DisputeResponse","components":[{"name":"referenceDisputeIndex","type":"uint32","internalType":"uint32"},{"name":"numberSquared","type":"uint256","internalType":"uint256"}]},{"name":"disputeResponseMetadata","type":"tuple","indexed":false,"internalType":"struct IDisputeManager.DisputeResponseMetadata","components":[{"name":"disputeResponsedBlock","type":"uint32","internalType":"uint32"},{"name":"hashOfNonSigners","type":"bytes32","internalType":"bytes32"}]}],"anonymous":false},{"type":"event","name":"NewDisputeCreated","inputs":[{"name":"disputeIndex","type":"uint32","indexed":true,"internalType":"uint32"},{"name":"dispute","type":"tuple","indexed":false,"internalType":"struct IDisputeManager.Dispute","components":[{"name":"numberToBeSquared","type":"uint256","internalType":"uint256"},{"name":"disputeCreatedBlock","type":"uint32","internalType":"uint32"},{"name":"quorumNumbers","type":"bytes","internalType":"bytes"},{"name":"quorumThresholdPercentage","type":"uint32","internalType":"uint32"}]}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"createNewDispute(uint256,uint32,bytes)":"2b0a2ea4","disputeNumber()":"c9ba3907","getDisputeResponseWindowBlock()":"ec50a2ef","raiseAndResolveChallenge((uint256,uint32,bytes,uint32),(uint32,uint256),(uint32,bytes32),(uint256,uint256)[])":"6b532e9e"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.12+commit.f00d7308\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"disputeIndex\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"challenger\",\"type\":\"address\"}],\"name\":\"DisputeChallengedSuccessfully\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"disputeIndex\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"challenger\",\"type\":\"address\"}],\"name\":\"DisputeChallengedUnsuccessfully\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"disputeIndex\",\"type\":\"uint32\"}],\"name\":\"DisputeCompleted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"referenceDisputeIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"numberSquared\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct IDisputeManager.DisputeResponse\",\"name\":\"disputeResponse\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"disputeResponsedBlock\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"hashOfNonSigners\",\"type\":\"bytes32\"}],\"indexed\":false,\"internalType\":\"struct IDisputeManager.DisputeResponseMetadata\",\"name\":\"disputeResponseMetadata\",\"type\":\"tuple\"}],\"name\":\"DisputeResponded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"disputeIndex\",\"type\":\"uint32\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"numberToBeSquared\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"disputeCreatedBlock\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"quorumNumbers\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"quorumThresholdPercentage\",\"type\":\"uint32\"}],\"indexed\":false,\"internalType\":\"struct IDisputeManager.Dispute\",\"name\":\"dispute\",\"type\":\"tuple\"}],\"name\":\"NewDisputeCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numberToBeSquared\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"quorumThresholdPercentage\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"quorumNumbers\",\"type\":\"bytes\"}],\"name\":\"createNewDispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disputeNumber\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputeResponseWindowBlock\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"numberToBeSquared\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"disputeCreatedBlock\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"quorumNumbers\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"quorumThresholdPercentage\",\"type\":\"uint32\"}],\"internalType\":\"struct IDisputeManager.Dispute\",\"name\":\"dispute\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"referenceDisputeIndex\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"numberSquared\",\"type\":\"uint256\"}],\"internalType\":\"struct IDisputeManager.DisputeResponse\",\"name\":\"disputeResponse\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"disputeResponsedBlock\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"hashOfNonSigners\",\"type\":\"bytes32\"}],\"internalType\":\"struct IDisputeManager.DisputeResponseMetadata\",\"name\":\"disputeResponseMetadata\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"X\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"Y\",\"type\":\"uint256\"}],\"internalType\":\"struct BN254.G1Point[]\",\"name\":\"pubkeysOfNonSigningOperators\",\"type\":\"tuple[]\"}],\"name\":\"raiseAndResolveChallenge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"disputeNumber()\":{\"notice\":\"Returns the current 'disputeNumber' for the middleware\"},\"getDisputeResponseWindowBlock()\":{\"notice\":\"Returns the TASK_RESPONSE_WINDOW_BLOCK\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/IDisputeManager.sol\":\"IDisputeManager\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@credible-squaring/=src/\",\":@eigenlayer-middleware/=lib/eigenlayer-middleware/\",\":@eigenlayer-scripts/=lib/eigenlayer-middleware/lib/eigenlayer-contracts/script/\",\":@eigenlayer/=lib/eigenlayer-middleware/lib/eigenlayer-contracts/src/\",\":@openzeppelin-upgrades-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/\",\":@openzeppelin-upgrades/=lib/eigenlayer-middleware/lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable/\",\":@openzeppelin-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-v4.9.0/\",\":@openzeppelin/=lib/eigenlayer-middleware/lib/eigenlayer-contracts/lib/openzeppelin-contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":eigenlayer-contracts/=lib/eigenlayer-contracts/\",\":eigenlayer-middleware/=lib/eigenlayer-middleware/\",\":erc4626-tests/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":openzeppelin-contracts-upgradeable-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/\",\":openzeppelin-contracts-upgradeable/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable/\",\":openzeppelin-contracts-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-v4.9.0/\",\":openzeppelin-contracts/=lib/eigenlayer-contracts/lib/openzeppelin-contracts/\",\":openzeppelin/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/contracts/\"]},\"sources\":{\"lib/eigenlayer-middleware/src/libraries/BN254.sol\":{\"keccak256\":\"0xb428c8d0c3b325507a88a61a80115493eb88606ccc19ed64a31e11294ab853b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7b6fb935bfe0494e6ff970c8f30a86d5f4cf5c3e0967300c28cd383c043acae\",\"dweb:/ipfs/QmUHfFZaVjLPXhkBmcxrZhAHZaSFQDqXtrLGpjGBQBa5Ki\"]},\"src/IDisputeManager.sol\":{\"keccak256\":\"0x032af8d07e1d4066430b8e06cf8fbe197959391484037904c55a0e4542978823\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://8be626edb470b4cfa47ff24bffbc26271192728ef00249478333f0a2b8ebaf5b\",\"dweb:/ipfs/QmT81aNCaC9P3iMdzs7fcM7YzRVXDKJTnCBLY8aFKSC4zi\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.12+commit.f00d7308"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint32","name":"disputeIndex","type":"uint32","indexed":true},{"internalType":"address","name":"challenger","type":"address","indexed":true}],"type":"event","name":"DisputeChallengedSuccessfully","anonymous":false},{"inputs":[{"internalType":"uint32","name":"disputeIndex","type":"uint32","indexed":true},{"internalType":"address","name":"challenger","type":"address","indexed":true}],"type":"event","name":"DisputeChallengedUnsuccessfully","anonymous":false},{"inputs":[{"internalType":"uint32","name":"disputeIndex","type":"uint32","indexed":true}],"type":"event","name":"DisputeCompleted","anonymous":false},{"inputs":[{"internalType":"struct IDisputeManager.DisputeResponse","name":"disputeResponse","type":"tuple","components":[{"internalType":"uint32","name":"referenceDisputeIndex","type":"uint32"},{"internalType":"uint256","name":"numberSquared","type":"uint256"}],"indexed":false},{"internalType":"struct IDisputeManager.DisputeResponseMetadata","name":"disputeResponseMetadata","type":"tuple","components":[{"internalType":"uint32","name":"disputeResponsedBlock","type":"uint32"},{"internalType":"bytes32","name":"hashOfNonSigners","type":"bytes32"}],"indexed":false}],"type":"event","name":"DisputeResponded","anonymous":false},{"inputs":[{"internalType":"uint32","name":"disputeIndex","type":"uint32","indexed":true},{"internalType":"struct IDisputeManager.Dispute","name":"dispute","type":"tuple","components":[{"internalType":"uint256","name":"numberToBeSquared","type":"uint256"},{"internalType":"uint32","name":"disputeCreatedBlock","type":"uint32"},{"internalType":"bytes","name":"quorumNumbers","type":"bytes"},{"internalType":"uint32","name":"quorumThresholdPercentage","type":"uint32"}],"indexed":false}],"type":"event","name":"NewDisputeCreated","anonymous":false},{"inputs":[{"internalType":"uint256","name":"numberToBeSquared","type":"uint256"},{"internalType":"uint32","name":"quorumThresholdPercentage","type":"uint32"},{"internalType":"bytes","name":"quorumNumbers","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"createNewDispute"},{"inputs":[],"stateMutability":"view","type":"function","name":"disputeNumber","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getDisputeResponseWindowBlock","outputs":[{"internalType":"uint32","name":"","type":"uint32"}]},{"inputs":[{"internalType":"struct IDisputeManager.Dispute","name":"dispute","type":"tuple","components":[{"internalType":"uint256","name":"numberToBeSquared","type":"uint256"},{"internalType":"uint32","name":"disputeCreatedBlock","type":"uint32"},{"internalType":"bytes","name":"quorumNumbers","type":"bytes"},{"internalType":"uint32","name":"quorumThresholdPercentage","type":"uint32"}]},{"internalType":"struct IDisputeManager.DisputeResponse","name":"disputeResponse","type":"tuple","components":[{"internalType":"uint32","name":"referenceDisputeIndex","type":"uint32"},{"internalType":"uint256","name":"numberSquared","type":"uint256"}]},{"internalType":"struct IDisputeManager.DisputeResponseMetadata","name":"disputeResponseMetadata","type":"tuple","components":[{"internalType":"uint32","name":"disputeResponsedBlock","type":"uint32"},{"internalType":"bytes32","name":"hashOfNonSigners","type":"bytes32"}]},{"internalType":"struct BN254.G1Point[]","name":"pubkeysOfNonSigningOperators","type":"tuple[]","components":[{"internalType":"uint256","name":"X","type":"uint256"},{"internalType":"uint256","name":"Y","type":"uint256"}]}],"stateMutability":"nonpayable","type":"function","name":"raiseAndResolveChallenge"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{"disputeNumber()":{"notice":"Returns the current 'disputeNumber' for the middleware"},"getDisputeResponseWindowBlock()":{"notice":"Returns the TASK_RESPONSE_WINDOW_BLOCK"}},"version":1}},"settings":{"remappings":["@credible-squaring/=src/","@eigenlayer-middleware/=lib/eigenlayer-middleware/","@eigenlayer-scripts/=lib/eigenlayer-middleware/lib/eigenlayer-contracts/script/","@eigenlayer/=lib/eigenlayer-middleware/lib/eigenlayer-contracts/src/","@openzeppelin-upgrades-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/","@openzeppelin-upgrades/=lib/eigenlayer-middleware/lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable/","@openzeppelin-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-v4.9.0/","@openzeppelin/=lib/eigenlayer-middleware/lib/eigenlayer-contracts/lib/openzeppelin-contracts/","ds-test/=lib/forge-std/lib/ds-test/src/","eigenlayer-contracts/=lib/eigenlayer-contracts/","eigenlayer-middleware/=lib/eigenlayer-middleware/","erc4626-tests/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","openzeppelin-contracts-upgradeable-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/","openzeppelin-contracts-upgradeable/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts-v4.9.0/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-v4.9.0/","openzeppelin-contracts/=lib/eigenlayer-contracts/lib/openzeppelin-contracts/","openzeppelin/=lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/contracts/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"src/IDisputeManager.sol":"IDisputeManager"},"evmVersion":"london","libraries":{}},"sources":{"lib/eigenlayer-middleware/src/libraries/BN254.sol":{"keccak256":"0xb428c8d0c3b325507a88a61a80115493eb88606ccc19ed64a31e11294ab853b3","urls":["bzz-raw://d7b6fb935bfe0494e6ff970c8f30a86d5f4cf5c3e0967300c28cd383c043acae","dweb:/ipfs/QmUHfFZaVjLPXhkBmcxrZhAHZaSFQDqXtrLGpjGBQBa5Ki"],"license":"MIT"},"src/IDisputeManager.sol":{"keccak256":"0x032af8d07e1d4066430b8e06cf8fbe197959391484037904c55a0e4542978823","urls":["bzz-raw://8be626edb470b4cfa47ff24bffbc26271192728ef00249478333f0a2b8ebaf5b","dweb:/ipfs/QmT81aNCaC9P3iMdzs7fcM7YzRVXDKJTnCBLY8aFKSC4zi"],"license":"UNLICENSED"}},"version":1},"id":160}