0 txs
0 calls
constructor
constructor()
functions
assertions
viewfunction assertions(uint256) view returns (bytes32 stateHash, uint256 inboxSize, uint256 parent, uint256 deadline, uint256 proposalTime, uint256 numStakers, uint256 childInboxSize)
getDeadline
viewfunction getDeadline(uint256 assertionID) view returns (uint256)
getInboxSize
viewfunction getInboxSize(uint256 assertionID) view returns (uint256)
getNumStakers
viewfunction getNumStakers(uint256 assertionID) view returns (uint256)
getParentID
viewfunction getParentID(uint256 assertionID) view returns (uint256)
getProposalTime
viewfunction getProposalTime(uint256 assertionID) view returns (uint256)
getStateHash
viewfunction getStateHash(uint256 assertionID) view returns (bytes32)
isStaker
viewfunction isStaker(uint256 assertionID, address stakerAddress) view returns (bool)
rollupAddress
viewfunction rollupAddress() view returns (address)
createAssertion
nonpayablefunction createAssertion(uint256 assertionID, bytes32 stateHash, uint256 inboxSize, uint256 parentID, uint256 deadline)
deleteAssertion
nonpayablefunction deleteAssertion(uint256 assertionID)
deleteAssertionForBatch
nonpayablefunction deleteAssertionForBatch(uint256 assertionID)
initialize
nonpayablefunction initialize()
setRollupAddress
nonpayablefunction setRollupAddress(address _rollupAddress)
stakeOnAssertion
nonpayablefunction stakeOnAssertion(uint256 assertionID, address stakerAddress)
events
Initialized
event Initialized(uint8 version)
errors
ChildInboxSizeMismatch
error ChildInboxSizeMismatch()
NotRollup
error NotRollup(address sender, address rollup)
SiblingStateHashExists
error SiblingStateHashExists()
creation bytecode
0x608060405234801561001057600080fd5b5061001961001e565b6100de565b600054610100900460ff161561008a5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811610156100dc576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b610981806100ed6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806354823e6611610097578063873fd08911610066578063873fd089146102b7578063a832c3ae14610300578063d0087d6114610313578063d8a4e5af1461032657600080fd5b806354823e66146102415780635ec6a8df146102615780638129fc1c1461028c578063828622751461029457600080fd5b8063366b2b69116100d3578063366b2b6914610169578063422815841461018c5780634e04886d1461019f578063524232f6146101c257600080fd5b806307663706146100fa5780632b27e93b1461010f57806330b9477014610146575b600080fd5b61010d610108366004610880565b610339565b005b61013361011d3660046108a2565b6000908152600160208190526040909120015490565b6040519081526020015b60405180910390f35b6101336101543660046108a2565b60009081526001602052604090206002015490565b6101336101773660046108a2565b60009081526001602052604090206005015490565b61010d61019a3660046108bb565b610409565b6101336101ad3660046108a2565b60009081526001602052604090206004015490565b61020c6101d03660046108a2565b60016020819052600091825260409091208054918101546002820154600383015460048401546005850154600690950154939492939192909187565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e00161013d565b61013361024f3660046108a2565b60009081526001602052604090205490565b600354610274906001600160a01b031681565b6040516001600160a01b03909116815260200161013d565b61010d6105a7565b6101336102a23660046108a2565b60009081526001602052604090206003015490565b6102f06102c53660046108f6565b60009182526002602090815260408084206001600160a01b0393909316845291905290205460ff1690565b604051901515815260200161013d565b61010d61030e3660046108f6565b6106b0565b61010d6103213660046108a2565b610740565b61010d6103343660046108a2565b6107e9565b6003546001600160a01b0316156103a25760405162461bcd60e51b815260206004820152602260248201527f726f6c6c75704164647265737320616c726561647920696e697469616c697a65604482015261321760f11b60648201526084015b60405180910390fd5b6001600160a01b0381166103e75760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606401610399565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b0316331461044957600354604051630e4cf1bf60e21b81523360048201526001600160a01b039091166024820152604401610399565b6000828152600160209081526040808320600290925290912060068201548061047857600683018690556104c0565b8086146104c05760405162461bcd60e51b8152602060048201526016602482015275086d0d2d8c892dcc4def0a6d2f4ca9ad2e6dac2e8c6d60531b6044820152606401610399565b600087815260018301602052604090205460ff161561051a5760405162461bcd60e51b81526020600482015260166024820152755369626c696e6753746174654861736845786973747360501b6044820152606401610399565b506000868152600191820160209081526040808320805460ff191685179055805160e081018252988952888201978852888101968752606089019586524360808a0190815260a08a0184815260c08b018581529b85529285905292209751885595519187019190915592516002860155505160038401555160048301555160058201559051600690910155565b600054610100900460ff16158080156105c75750600054600160ff909116105b806105e15750303b1580156105e1575060005460ff166001145b6106445760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610399565b6000805460ff191660011790558015610667576000805461ff0019166101001790555b80156106ad576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50565b6003546001600160a01b031633146106f057600354604051630e4cf1bf60e21b81523360048201526001600160a01b039091166024820152604401610399565b6000828152600160208181526040808420600283528185206001600160a01b03871686529092528320805460ff1916909217909155600581018054919261073683610922565b9190505550505050565b6003546001600160a01b0316331461078057600354604051630e4cf1bf60e21b81523360048201526001600160a01b039091166024820152604401610399565b6000908152600160208181526040808420805460028083018054888555848801899055908890556003840188905560048401889055600584018890556006938401889055875283872090920186905590835281852090855290920190529020805460ff19169055565b6003546001600160a01b0316331461082957600354604051630e4cf1bf60e21b81523360048201526001600160a01b039091166024820152604401610399565b600090815260016020819052604082208281559081018290556002810182905560038101829055600481018290556005810182905560060155565b80356001600160a01b038116811461087b57600080fd5b919050565b60006020828403121561089257600080fd5b61089b82610864565b9392505050565b6000602082840312156108b457600080fd5b5035919050565b600080600080600060a086880312156108d357600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b6000806040838503121561090957600080fd5b8235915061091960208401610864565b90509250929050565b600060001982141561094457634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220a150566bf21c920790adc62952b4cfcc82068ec5fe990be17f7397ad067e2c9764736f6c63430008090033