@arbitrum/nitro-contracts 1.0.2 → 1.0.3-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +114 -0
- package/README.md +2 -2
- package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +63 -0
- package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.json +24 -0
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +80 -0
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.json +56 -0
- package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.json +19 -0
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.json +24 -0
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json +113 -0
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +160 -0
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +155 -0
- package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.json +100 -0
- package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.json +10 -0
- package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.json +10 -0
- package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +63 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.json +50 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.json +194 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +10 -0
- package/build/contracts/src/bridge/Bridge.sol/Bridge.dbg.json +4 -0
- package/build/contracts/src/bridge/Bridge.sol/Bridge.json +650 -0
- package/build/contracts/src/bridge/IBridge.sol/IBridge.dbg.json +4 -0
- package/build/contracts/src/bridge/IBridge.sol/IBridge.json +538 -0
- package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.dbg.json +4 -0
- package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.json +43 -0
- package/build/contracts/src/bridge/IInbox.sol/IInbox.dbg.json +4 -0
- package/build/contracts/src/bridge/IInbox.sol/IInbox.json +575 -0
- package/build/contracts/src/bridge/IOutbox.sol/IOutbox.dbg.json +4 -0
- package/build/contracts/src/bridge/IOutbox.sol/IOutbox.json +419 -0
- package/build/contracts/src/bridge/IOwnable.sol/IOwnable.dbg.json +4 -0
- package/build/contracts/src/bridge/IOwnable.sol/IOwnable.json +24 -0
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.dbg.json +4 -0
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.json +651 -0
- package/build/contracts/src/bridge/Inbox.sol/Inbox.dbg.json +4 -0
- package/build/contracts/src/bridge/Inbox.sol/Inbox.json +954 -0
- package/build/contracts/src/bridge/Messages.sol/Messages.dbg.json +4 -0
- package/build/contracts/src/bridge/Messages.sol/Messages.json +10 -0
- package/build/contracts/src/bridge/Outbox.sol/Outbox.dbg.json +4 -0
- package/build/contracts/src/bridge/Outbox.sol/Outbox.json +546 -0
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.dbg.json +4 -0
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.json +814 -0
- package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.dbg.json +4 -0
- package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.json +10 -0
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.dbg.json +4 -0
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.json +669 -0
- package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.dbg.json +4 -0
- package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.json +386 -0
- package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.dbg.json +4 -0
- package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.json +34 -0
- package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.dbg.json +4 -0
- package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.json +10 -0
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.dbg.json +4 -0
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.json +77 -0
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.dbg.json +4 -0
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.json +69 -0
- package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.dbg.json +4 -0
- package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.json +10 -0
- package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.dbg.json +4 -0
- package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.json +10 -0
- package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.dbg.json +4 -0
- package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.json +10 -0
- package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.dbg.json +4 -0
- package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.json +144 -0
- package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.dbg.json +4 -0
- package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.json +10 -0
- package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.dbg.json +4 -0
- package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.json +40 -0
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.dbg.json +4 -0
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.json +10 -0
- package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.dbg.json +4 -0
- package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.json +82 -0
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.dbg.json +4 -0
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.json +561 -0
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.dbg.json +4 -0
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.json +655 -0
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.dbg.json +4 -0
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.json +588 -0
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.dbg.json +4 -0
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.json +188 -0
- package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.dbg.json +4 -0
- package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.json +160 -0
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.dbg.json +4 -0
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.json +870 -0
- package/build/contracts/src/mocks/Simple.sol/Simple.dbg.json +4 -0
- package/build/contracts/src/mocks/Simple.sol/Simple.json +242 -0
- package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.dbg.json +4 -0
- package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.json +30 -0
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.dbg.json +4 -0
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.json +720 -0
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.dbg.json +4 -0
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.json +669 -0
- package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.dbg.json +4 -0
- package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.json +286 -0
- package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.dbg.json +4 -0
- package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.json +67 -0
- package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.dbg.json +4 -0
- package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.json +165 -0
- package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.dbg.json +4 -0
- package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.json +57 -0
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.dbg.json +4 -0
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.json +10 -0
- package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.dbg.json +4 -0
- package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.json +477 -0
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.dbg.json +4 -0
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.json +135 -0
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.dbg.json +4 -0
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.json +477 -0
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.dbg.json +4 -0
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.json +477 -0
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.dbg.json +4 -0
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.json +477 -0
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.dbg.json +4 -0
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.json +477 -0
- package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.json +148 -0
- package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.json +148 -0
- package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.json +10 -0
- package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.json +193 -0
- package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.json +77 -0
- package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.json +350 -0
- package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.json +49 -0
- package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.json +378 -0
- package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.json +95 -0
- package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.json +306 -0
- package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.json +49 -0
- package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.json +380 -0
- package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.json +77 -0
- package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.dbg.json +4 -0
- package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.json +24 -0
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.dbg.json +4 -0
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.json +243 -0
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.dbg.json +4 -0
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.json +128 -0
- package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.dbg.json +4 -0
- package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.json +544 -0
- package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.dbg.json +4 -0
- package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.json +889 -0
- package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.dbg.json +4 -0
- package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.json +68 -0
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.dbg.json +4 -0
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.json +1428 -0
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.dbg.json +4 -0
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.json +1309 -0
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.dbg.json +4 -0
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.json +1443 -0
- package/build/contracts/src/rollup/Node.sol/NodeLib.dbg.json +4 -0
- package/build/contracts/src/rollup/Node.sol/NodeLib.json +10 -0
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.dbg.json +4 -0
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.json +1808 -0
- package/build/contracts/src/rollup/RollupCore.sol/RollupCore.dbg.json +4 -0
- package/build/contracts/src/rollup/RollupCore.sol/RollupCore.json +1051 -0
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.dbg.json +4 -0
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.json +383 -0
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.dbg.json +4 -0
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.json +110 -0
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.dbg.json +4 -0
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.json +10 -0
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.dbg.json +4 -0
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.json +226 -0
- package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.dbg.json +4 -0
- package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.json +1578 -0
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.dbg.json +4 -0
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.json +1712 -0
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.dbg.json +4 -0
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.json +1697 -0
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.dbg.json +4 -0
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.json +379 -0
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.dbg.json +4 -0
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.json +435 -0
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.dbg.json +4 -0
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.json +150 -0
- package/build/contracts/src/state/Deserialize.sol/Deserialize.dbg.json +4 -0
- package/build/contracts/src/state/Deserialize.sol/Deserialize.json +10 -0
- package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.dbg.json +4 -0
- package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.json +10 -0
- package/build/contracts/src/state/Instructions.sol/Instructions.dbg.json +4 -0
- package/build/contracts/src/state/Instructions.sol/Instructions.json +10 -0
- package/build/contracts/src/state/Machine.sol/MachineLib.dbg.json +4 -0
- package/build/contracts/src/state/Machine.sol/MachineLib.json +10 -0
- package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.dbg.json +4 -0
- package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.json +10 -0
- package/build/contracts/src/state/Module.sol/ModuleLib.dbg.json +4 -0
- package/build/contracts/src/state/Module.sol/ModuleLib.json +10 -0
- package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.dbg.json +4 -0
- package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.json +10 -0
- package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.dbg.json +4 -0
- package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.json +10 -0
- package/build/contracts/src/state/PcArray.sol/PcArrayLib.dbg.json +4 -0
- package/build/contracts/src/state/PcArray.sol/PcArrayLib.json +10 -0
- package/build/contracts/src/state/StackFrame.sol/StackFrameLib.dbg.json +4 -0
- package/build/contracts/src/state/StackFrame.sol/StackFrameLib.json +10 -0
- package/build/contracts/src/state/Value.sol/ValueLib.dbg.json +4 -0
- package/build/contracts/src/state/Value.sol/ValueLib.json +10 -0
- package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.dbg.json +4 -0
- package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.json +10 -0
- package/build/contracts/src/state/ValueStack.sol/ValueStackLib.dbg.json +4 -0
- package/build/contracts/src/state/ValueStack.sol/ValueStackLib.json +10 -0
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.dbg.json +4 -0
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.json +603 -0
- package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.dbg.json +4 -0
- package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.json +54 -0
- package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.dbg.json +4 -0
- package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.json +84 -0
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.dbg.json +4 -0
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.json +520 -0
- package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.dbg.json +4 -0
- package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.json +49 -0
- package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.dbg.json +4 -0
- package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.json +18 -0
- package/package.json +5 -3
- package/src/bridge/Bridge.sol +3 -3
- package/src/bridge/IBridge.sol +1 -1
- package/src/bridge/IDelayedMessageProvider.sol +1 -1
- package/src/bridge/IInbox.sol +1 -1
- package/src/bridge/IOutbox.sol +1 -1
- package/src/bridge/IOwnable.sol +1 -1
- package/src/bridge/ISequencerInbox.sol +22 -4
- package/src/bridge/Inbox.sol +2 -2
- package/src/bridge/Messages.sol +1 -1
- package/src/bridge/Outbox.sol +1 -1
- package/src/bridge/SequencerInbox.sol +9 -1
- package/src/challenge/ChallengeLib.sol +1 -1
- package/src/challenge/ChallengeManager.sol +1 -1
- package/src/challenge/IChallengeManager.sol +1 -1
- package/src/challenge/IChallengeResultReceiver.sol +1 -1
- package/src/libraries/AddressAliasHelper.sol +1 -1
- package/src/libraries/AdminFallbackProxy.sol +3 -3
- package/src/libraries/Constants.sol +1 -1
- package/src/libraries/CryptographyPrimitives.sol +1 -1
- package/src/libraries/DelegateCallAware.sol +1 -1
- package/src/libraries/DoubleLogicUUPSUpgradeable.sol +1 -1
- package/src/libraries/Error.sol +1 -1
- package/src/libraries/IGasRefunder.sol +2 -5
- package/src/libraries/MerkleLib.sol +1 -1
- package/src/libraries/MessageTypes.sol +1 -1
- package/src/mocks/BridgeStub.sol +2 -2
- package/src/mocks/BridgeUnproxied.sol +1 -1
- package/src/mocks/InboxStub.sol +1 -1
- package/src/mocks/MockResultReceiver.sol +1 -1
- package/src/mocks/ProxyAdminForBinding.sol +1 -1
- package/src/mocks/SequencerInboxStub.sol +1 -1
- package/src/mocks/Simple.sol +5 -1
- package/src/mocks/SimpleProxy.sol +1 -1
- package/src/mocks/SingleExecutionChallenge.sol +1 -1
- package/src/mocks/TimedOutChallengeManager.sol +1 -1
- package/src/node-interface/NodeInterface.sol +4 -2
- package/src/node-interface/NodeInterfaceDebug.sol +1 -1
- package/src/osp/HashProofHelper.sol +1 -1
- package/src/osp/IOneStepProofEntry.sol +1 -1
- package/src/osp/IOneStepProver.sol +2 -1
- package/src/osp/OneStepProofEntry.sol +1 -1
- package/src/osp/OneStepProver0.sol +1 -1
- package/src/osp/OneStepProverHostIo.sol +2 -1
- package/src/osp/OneStepProverMath.sol +1 -1
- package/src/osp/OneStepProverMemory.sol +2 -1
- package/src/precompiles/ArbAddressTable.sol +1 -1
- package/src/precompiles/ArbAggregator.sol +1 -1
- package/src/precompiles/ArbBLS.sol +1 -1
- package/src/precompiles/ArbDebug.sol +1 -1
- package/src/precompiles/ArbFunctionTable.sol +1 -1
- package/src/precompiles/ArbGasInfo.sol +1 -1
- package/src/precompiles/ArbInfo.sol +1 -1
- package/src/precompiles/ArbOwner.sol +4 -1
- package/src/precompiles/ArbOwnerPublic.sol +1 -1
- package/src/precompiles/ArbRetryableTx.sol +1 -1
- package/src/precompiles/ArbStatistics.sol +1 -1
- package/src/precompiles/ArbSys.sol +1 -1
- package/src/precompiles/ArbosTest.sol +1 -1
- package/src/rollup/BridgeCreator.sol +1 -1
- package/src/rollup/Config.sol +43 -0
- package/src/rollup/IRollupAdmin.sol +138 -0
- package/src/rollup/IRollupCore.sol +16 -3
- package/src/rollup/IRollupEventInbox.sol +2 -2
- package/src/rollup/IRollupLogic.sol +4 -132
- package/src/rollup/Node.sol +15 -1
- package/src/rollup/RollupAdminLogic.sol +7 -9
- package/src/rollup/RollupCore.sol +46 -3
- package/src/rollup/RollupCreator.sol +33 -45
- package/src/rollup/RollupEventInbox.sol +8 -3
- package/src/rollup/RollupLib.sol +2 -40
- package/src/rollup/RollupProxy.sol +26 -11
- package/src/rollup/RollupUserLogic.sol +6 -4
- package/src/rollup/ValidatorUtils.sol +2 -1
- package/src/rollup/ValidatorWallet.sol +1 -1
- package/src/rollup/ValidatorWalletCreator.sol +1 -1
- package/src/state/Deserialize.sol +2 -2
- package/src/state/GlobalState.sol +1 -1
- package/src/state/Instructions.sol +1 -1
- package/src/state/Machine.sol +1 -1
- package/src/state/MerkleProof.sol +1 -1
- package/src/state/Module.sol +3 -3
- package/src/state/ModuleMemory.sol +3 -8
- package/src/state/ModuleMemoryCompact.sol +17 -0
- package/src/state/PcArray.sol +1 -1
- package/src/state/StackFrame.sol +1 -1
- package/src/state/Value.sol +1 -1
- package/src/state/ValueArray.sol +1 -1
- package/src/state/ValueStack.sol +1 -1
- package/src/test-helpers/BridgeTester.sol +1 -1
- package/src/test-helpers/CryptographyPrimitivesTester.sol +1 -1
- package/src/test-helpers/InterfaceCompatibilityTester.sol +1 -1
- package/src/test-helpers/MessageTester.sol +1 -1
- package/src/test-helpers/OutboxWithoutOptTester.sol +1 -1
- package/src/test-helpers/RollupMock.sol +1 -1
- package/src/test-helpers/ValueArrayTester.sol +1 -1
@@ -0,0 +1,1051 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "RollupCore",
|
4
|
+
"sourceName": "src/rollup/RollupCore.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
9
|
+
{
|
10
|
+
"indexed": true,
|
11
|
+
"internalType": "uint64",
|
12
|
+
"name": "nodeNum",
|
13
|
+
"type": "uint64"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": false,
|
17
|
+
"internalType": "bytes32",
|
18
|
+
"name": "blockHash",
|
19
|
+
"type": "bytes32"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"indexed": false,
|
23
|
+
"internalType": "bytes32",
|
24
|
+
"name": "sendRoot",
|
25
|
+
"type": "bytes32"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"name": "NodeConfirmed",
|
29
|
+
"type": "event"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"anonymous": false,
|
33
|
+
"inputs": [
|
34
|
+
{
|
35
|
+
"indexed": true,
|
36
|
+
"internalType": "uint64",
|
37
|
+
"name": "nodeNum",
|
38
|
+
"type": "uint64"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"indexed": true,
|
42
|
+
"internalType": "bytes32",
|
43
|
+
"name": "parentNodeHash",
|
44
|
+
"type": "bytes32"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"indexed": true,
|
48
|
+
"internalType": "bytes32",
|
49
|
+
"name": "nodeHash",
|
50
|
+
"type": "bytes32"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"indexed": false,
|
54
|
+
"internalType": "bytes32",
|
55
|
+
"name": "executionHash",
|
56
|
+
"type": "bytes32"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"components": [
|
60
|
+
{
|
61
|
+
"components": [
|
62
|
+
{
|
63
|
+
"components": [
|
64
|
+
{
|
65
|
+
"internalType": "bytes32[2]",
|
66
|
+
"name": "bytes32Vals",
|
67
|
+
"type": "bytes32[2]"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"internalType": "uint64[2]",
|
71
|
+
"name": "u64Vals",
|
72
|
+
"type": "uint64[2]"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
"internalType": "struct GlobalState",
|
76
|
+
"name": "globalState",
|
77
|
+
"type": "tuple"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"internalType": "enum MachineStatus",
|
81
|
+
"name": "machineStatus",
|
82
|
+
"type": "uint8"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"internalType": "struct ExecutionState",
|
86
|
+
"name": "beforeState",
|
87
|
+
"type": "tuple"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"components": [
|
91
|
+
{
|
92
|
+
"components": [
|
93
|
+
{
|
94
|
+
"internalType": "bytes32[2]",
|
95
|
+
"name": "bytes32Vals",
|
96
|
+
"type": "bytes32[2]"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "uint64[2]",
|
100
|
+
"name": "u64Vals",
|
101
|
+
"type": "uint64[2]"
|
102
|
+
}
|
103
|
+
],
|
104
|
+
"internalType": "struct GlobalState",
|
105
|
+
"name": "globalState",
|
106
|
+
"type": "tuple"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"internalType": "enum MachineStatus",
|
110
|
+
"name": "machineStatus",
|
111
|
+
"type": "uint8"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"internalType": "struct ExecutionState",
|
115
|
+
"name": "afterState",
|
116
|
+
"type": "tuple"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"internalType": "uint64",
|
120
|
+
"name": "numBlocks",
|
121
|
+
"type": "uint64"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"indexed": false,
|
125
|
+
"internalType": "struct Assertion",
|
126
|
+
"name": "assertion",
|
127
|
+
"type": "tuple"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"indexed": false,
|
131
|
+
"internalType": "bytes32",
|
132
|
+
"name": "afterInboxBatchAcc",
|
133
|
+
"type": "bytes32"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"indexed": false,
|
137
|
+
"internalType": "bytes32",
|
138
|
+
"name": "wasmModuleRoot",
|
139
|
+
"type": "bytes32"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"indexed": false,
|
143
|
+
"internalType": "uint256",
|
144
|
+
"name": "inboxMaxCount",
|
145
|
+
"type": "uint256"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "NodeCreated",
|
149
|
+
"type": "event"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"anonymous": false,
|
153
|
+
"inputs": [
|
154
|
+
{
|
155
|
+
"indexed": true,
|
156
|
+
"internalType": "uint64",
|
157
|
+
"name": "nodeNum",
|
158
|
+
"type": "uint64"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"name": "NodeRejected",
|
162
|
+
"type": "event"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"anonymous": false,
|
166
|
+
"inputs": [
|
167
|
+
{
|
168
|
+
"indexed": false,
|
169
|
+
"internalType": "address",
|
170
|
+
"name": "account",
|
171
|
+
"type": "address"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
"name": "Paused",
|
175
|
+
"type": "event"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"anonymous": false,
|
179
|
+
"inputs": [
|
180
|
+
{
|
181
|
+
"indexed": true,
|
182
|
+
"internalType": "uint64",
|
183
|
+
"name": "challengeIndex",
|
184
|
+
"type": "uint64"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"indexed": false,
|
188
|
+
"internalType": "address",
|
189
|
+
"name": "asserter",
|
190
|
+
"type": "address"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"indexed": false,
|
194
|
+
"internalType": "address",
|
195
|
+
"name": "challenger",
|
196
|
+
"type": "address"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"indexed": false,
|
200
|
+
"internalType": "uint64",
|
201
|
+
"name": "challengedNode",
|
202
|
+
"type": "uint64"
|
203
|
+
}
|
204
|
+
],
|
205
|
+
"name": "RollupChallengeStarted",
|
206
|
+
"type": "event"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"anonymous": false,
|
210
|
+
"inputs": [
|
211
|
+
{
|
212
|
+
"indexed": false,
|
213
|
+
"internalType": "bytes32",
|
214
|
+
"name": "machineHash",
|
215
|
+
"type": "bytes32"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"indexed": false,
|
219
|
+
"internalType": "uint256",
|
220
|
+
"name": "chainId",
|
221
|
+
"type": "uint256"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"name": "RollupInitialized",
|
225
|
+
"type": "event"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"anonymous": false,
|
229
|
+
"inputs": [
|
230
|
+
{
|
231
|
+
"indexed": false,
|
232
|
+
"internalType": "address",
|
233
|
+
"name": "account",
|
234
|
+
"type": "address"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"name": "Unpaused",
|
238
|
+
"type": "event"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"anonymous": false,
|
242
|
+
"inputs": [
|
243
|
+
{
|
244
|
+
"indexed": true,
|
245
|
+
"internalType": "address",
|
246
|
+
"name": "user",
|
247
|
+
"type": "address"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"indexed": false,
|
251
|
+
"internalType": "uint256",
|
252
|
+
"name": "initialBalance",
|
253
|
+
"type": "uint256"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"indexed": false,
|
257
|
+
"internalType": "uint256",
|
258
|
+
"name": "finalBalance",
|
259
|
+
"type": "uint256"
|
260
|
+
}
|
261
|
+
],
|
262
|
+
"name": "UserStakeUpdated",
|
263
|
+
"type": "event"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"anonymous": false,
|
267
|
+
"inputs": [
|
268
|
+
{
|
269
|
+
"indexed": true,
|
270
|
+
"internalType": "address",
|
271
|
+
"name": "user",
|
272
|
+
"type": "address"
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"indexed": false,
|
276
|
+
"internalType": "uint256",
|
277
|
+
"name": "initialBalance",
|
278
|
+
"type": "uint256"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"indexed": false,
|
282
|
+
"internalType": "uint256",
|
283
|
+
"name": "finalBalance",
|
284
|
+
"type": "uint256"
|
285
|
+
}
|
286
|
+
],
|
287
|
+
"name": "UserWithdrawableFundsUpdated",
|
288
|
+
"type": "event"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"inputs": [
|
292
|
+
{
|
293
|
+
"internalType": "address",
|
294
|
+
"name": "",
|
295
|
+
"type": "address"
|
296
|
+
}
|
297
|
+
],
|
298
|
+
"name": "_stakerMap",
|
299
|
+
"outputs": [
|
300
|
+
{
|
301
|
+
"internalType": "uint256",
|
302
|
+
"name": "amountStaked",
|
303
|
+
"type": "uint256"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"internalType": "uint64",
|
307
|
+
"name": "index",
|
308
|
+
"type": "uint64"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"internalType": "uint64",
|
312
|
+
"name": "latestStakedNode",
|
313
|
+
"type": "uint64"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"internalType": "uint64",
|
317
|
+
"name": "currentChallenge",
|
318
|
+
"type": "uint64"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"internalType": "bool",
|
322
|
+
"name": "isStaked",
|
323
|
+
"type": "bool"
|
324
|
+
}
|
325
|
+
],
|
326
|
+
"stateMutability": "view",
|
327
|
+
"type": "function"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"inputs": [
|
331
|
+
{
|
332
|
+
"internalType": "address",
|
333
|
+
"name": "staker",
|
334
|
+
"type": "address"
|
335
|
+
}
|
336
|
+
],
|
337
|
+
"name": "amountStaked",
|
338
|
+
"outputs": [
|
339
|
+
{
|
340
|
+
"internalType": "uint256",
|
341
|
+
"name": "",
|
342
|
+
"type": "uint256"
|
343
|
+
}
|
344
|
+
],
|
345
|
+
"stateMutability": "view",
|
346
|
+
"type": "function"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"inputs": [],
|
350
|
+
"name": "baseStake",
|
351
|
+
"outputs": [
|
352
|
+
{
|
353
|
+
"internalType": "uint256",
|
354
|
+
"name": "",
|
355
|
+
"type": "uint256"
|
356
|
+
}
|
357
|
+
],
|
358
|
+
"stateMutability": "view",
|
359
|
+
"type": "function"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"inputs": [],
|
363
|
+
"name": "bridge",
|
364
|
+
"outputs": [
|
365
|
+
{
|
366
|
+
"internalType": "contract IBridge",
|
367
|
+
"name": "",
|
368
|
+
"type": "address"
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"stateMutability": "view",
|
372
|
+
"type": "function"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"inputs": [],
|
376
|
+
"name": "chainId",
|
377
|
+
"outputs": [
|
378
|
+
{
|
379
|
+
"internalType": "uint256",
|
380
|
+
"name": "",
|
381
|
+
"type": "uint256"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"stateMutability": "view",
|
385
|
+
"type": "function"
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"inputs": [],
|
389
|
+
"name": "challengeManager",
|
390
|
+
"outputs": [
|
391
|
+
{
|
392
|
+
"internalType": "contract IChallengeManager",
|
393
|
+
"name": "",
|
394
|
+
"type": "address"
|
395
|
+
}
|
396
|
+
],
|
397
|
+
"stateMutability": "view",
|
398
|
+
"type": "function"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"inputs": [],
|
402
|
+
"name": "confirmPeriodBlocks",
|
403
|
+
"outputs": [
|
404
|
+
{
|
405
|
+
"internalType": "uint64",
|
406
|
+
"name": "",
|
407
|
+
"type": "uint64"
|
408
|
+
}
|
409
|
+
],
|
410
|
+
"stateMutability": "view",
|
411
|
+
"type": "function"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"inputs": [
|
415
|
+
{
|
416
|
+
"internalType": "address",
|
417
|
+
"name": "staker",
|
418
|
+
"type": "address"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"name": "currentChallenge",
|
422
|
+
"outputs": [
|
423
|
+
{
|
424
|
+
"internalType": "uint64",
|
425
|
+
"name": "",
|
426
|
+
"type": "uint64"
|
427
|
+
}
|
428
|
+
],
|
429
|
+
"stateMutability": "view",
|
430
|
+
"type": "function"
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"inputs": [],
|
434
|
+
"name": "extraChallengeTimeBlocks",
|
435
|
+
"outputs": [
|
436
|
+
{
|
437
|
+
"internalType": "uint64",
|
438
|
+
"name": "",
|
439
|
+
"type": "uint64"
|
440
|
+
}
|
441
|
+
],
|
442
|
+
"stateMutability": "view",
|
443
|
+
"type": "function"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"inputs": [],
|
447
|
+
"name": "firstUnresolvedNode",
|
448
|
+
"outputs": [
|
449
|
+
{
|
450
|
+
"internalType": "uint64",
|
451
|
+
"name": "",
|
452
|
+
"type": "uint64"
|
453
|
+
}
|
454
|
+
],
|
455
|
+
"stateMutability": "view",
|
456
|
+
"type": "function"
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"inputs": [
|
460
|
+
{
|
461
|
+
"internalType": "uint64",
|
462
|
+
"name": "nodeNum",
|
463
|
+
"type": "uint64"
|
464
|
+
}
|
465
|
+
],
|
466
|
+
"name": "getNode",
|
467
|
+
"outputs": [
|
468
|
+
{
|
469
|
+
"components": [
|
470
|
+
{
|
471
|
+
"internalType": "bytes32",
|
472
|
+
"name": "stateHash",
|
473
|
+
"type": "bytes32"
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"internalType": "bytes32",
|
477
|
+
"name": "challengeHash",
|
478
|
+
"type": "bytes32"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"internalType": "bytes32",
|
482
|
+
"name": "confirmData",
|
483
|
+
"type": "bytes32"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"internalType": "uint64",
|
487
|
+
"name": "prevNum",
|
488
|
+
"type": "uint64"
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"internalType": "uint64",
|
492
|
+
"name": "deadlineBlock",
|
493
|
+
"type": "uint64"
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"internalType": "uint64",
|
497
|
+
"name": "noChildConfirmedBeforeBlock",
|
498
|
+
"type": "uint64"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"internalType": "uint64",
|
502
|
+
"name": "stakerCount",
|
503
|
+
"type": "uint64"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"internalType": "uint64",
|
507
|
+
"name": "childStakerCount",
|
508
|
+
"type": "uint64"
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"internalType": "uint64",
|
512
|
+
"name": "firstChildBlock",
|
513
|
+
"type": "uint64"
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"internalType": "uint64",
|
517
|
+
"name": "latestChildNumber",
|
518
|
+
"type": "uint64"
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"internalType": "uint64",
|
522
|
+
"name": "createdAtBlock",
|
523
|
+
"type": "uint64"
|
524
|
+
},
|
525
|
+
{
|
526
|
+
"internalType": "bytes32",
|
527
|
+
"name": "nodeHash",
|
528
|
+
"type": "bytes32"
|
529
|
+
}
|
530
|
+
],
|
531
|
+
"internalType": "struct Node",
|
532
|
+
"name": "",
|
533
|
+
"type": "tuple"
|
534
|
+
}
|
535
|
+
],
|
536
|
+
"stateMutability": "view",
|
537
|
+
"type": "function"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"inputs": [
|
541
|
+
{
|
542
|
+
"internalType": "uint64",
|
543
|
+
"name": "nodeNum",
|
544
|
+
"type": "uint64"
|
545
|
+
}
|
546
|
+
],
|
547
|
+
"name": "getNodeCreationBlockForLogLookup",
|
548
|
+
"outputs": [
|
549
|
+
{
|
550
|
+
"internalType": "uint256",
|
551
|
+
"name": "",
|
552
|
+
"type": "uint256"
|
553
|
+
}
|
554
|
+
],
|
555
|
+
"stateMutability": "view",
|
556
|
+
"type": "function"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"inputs": [
|
560
|
+
{
|
561
|
+
"internalType": "address",
|
562
|
+
"name": "staker",
|
563
|
+
"type": "address"
|
564
|
+
}
|
565
|
+
],
|
566
|
+
"name": "getStaker",
|
567
|
+
"outputs": [
|
568
|
+
{
|
569
|
+
"components": [
|
570
|
+
{
|
571
|
+
"internalType": "uint256",
|
572
|
+
"name": "amountStaked",
|
573
|
+
"type": "uint256"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"internalType": "uint64",
|
577
|
+
"name": "index",
|
578
|
+
"type": "uint64"
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"internalType": "uint64",
|
582
|
+
"name": "latestStakedNode",
|
583
|
+
"type": "uint64"
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"internalType": "uint64",
|
587
|
+
"name": "currentChallenge",
|
588
|
+
"type": "uint64"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"internalType": "bool",
|
592
|
+
"name": "isStaked",
|
593
|
+
"type": "bool"
|
594
|
+
}
|
595
|
+
],
|
596
|
+
"internalType": "struct IRollupCore.Staker",
|
597
|
+
"name": "",
|
598
|
+
"type": "tuple"
|
599
|
+
}
|
600
|
+
],
|
601
|
+
"stateMutability": "view",
|
602
|
+
"type": "function"
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"inputs": [
|
606
|
+
{
|
607
|
+
"internalType": "uint64",
|
608
|
+
"name": "stakerNum",
|
609
|
+
"type": "uint64"
|
610
|
+
}
|
611
|
+
],
|
612
|
+
"name": "getStakerAddress",
|
613
|
+
"outputs": [
|
614
|
+
{
|
615
|
+
"internalType": "address",
|
616
|
+
"name": "",
|
617
|
+
"type": "address"
|
618
|
+
}
|
619
|
+
],
|
620
|
+
"stateMutability": "view",
|
621
|
+
"type": "function"
|
622
|
+
},
|
623
|
+
{
|
624
|
+
"inputs": [],
|
625
|
+
"name": "inbox",
|
626
|
+
"outputs": [
|
627
|
+
{
|
628
|
+
"internalType": "contract IInbox",
|
629
|
+
"name": "",
|
630
|
+
"type": "address"
|
631
|
+
}
|
632
|
+
],
|
633
|
+
"stateMutability": "view",
|
634
|
+
"type": "function"
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"inputs": [
|
638
|
+
{
|
639
|
+
"internalType": "address",
|
640
|
+
"name": "staker",
|
641
|
+
"type": "address"
|
642
|
+
}
|
643
|
+
],
|
644
|
+
"name": "isStaked",
|
645
|
+
"outputs": [
|
646
|
+
{
|
647
|
+
"internalType": "bool",
|
648
|
+
"name": "",
|
649
|
+
"type": "bool"
|
650
|
+
}
|
651
|
+
],
|
652
|
+
"stateMutability": "view",
|
653
|
+
"type": "function"
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"inputs": [
|
657
|
+
{
|
658
|
+
"internalType": "address",
|
659
|
+
"name": "staker",
|
660
|
+
"type": "address"
|
661
|
+
}
|
662
|
+
],
|
663
|
+
"name": "isStakedOnLatestConfirmed",
|
664
|
+
"outputs": [
|
665
|
+
{
|
666
|
+
"internalType": "bool",
|
667
|
+
"name": "",
|
668
|
+
"type": "bool"
|
669
|
+
}
|
670
|
+
],
|
671
|
+
"stateMutability": "view",
|
672
|
+
"type": "function"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"inputs": [
|
676
|
+
{
|
677
|
+
"internalType": "address",
|
678
|
+
"name": "",
|
679
|
+
"type": "address"
|
680
|
+
}
|
681
|
+
],
|
682
|
+
"name": "isValidator",
|
683
|
+
"outputs": [
|
684
|
+
{
|
685
|
+
"internalType": "bool",
|
686
|
+
"name": "",
|
687
|
+
"type": "bool"
|
688
|
+
}
|
689
|
+
],
|
690
|
+
"stateMutability": "view",
|
691
|
+
"type": "function"
|
692
|
+
},
|
693
|
+
{
|
694
|
+
"inputs": [
|
695
|
+
{
|
696
|
+
"internalType": "address",
|
697
|
+
"name": "staker",
|
698
|
+
"type": "address"
|
699
|
+
}
|
700
|
+
],
|
701
|
+
"name": "isZombie",
|
702
|
+
"outputs": [
|
703
|
+
{
|
704
|
+
"internalType": "bool",
|
705
|
+
"name": "",
|
706
|
+
"type": "bool"
|
707
|
+
}
|
708
|
+
],
|
709
|
+
"stateMutability": "view",
|
710
|
+
"type": "function"
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"inputs": [],
|
714
|
+
"name": "lastStakeBlock",
|
715
|
+
"outputs": [
|
716
|
+
{
|
717
|
+
"internalType": "uint64",
|
718
|
+
"name": "",
|
719
|
+
"type": "uint64"
|
720
|
+
}
|
721
|
+
],
|
722
|
+
"stateMutability": "view",
|
723
|
+
"type": "function"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"inputs": [],
|
727
|
+
"name": "latestConfirmed",
|
728
|
+
"outputs": [
|
729
|
+
{
|
730
|
+
"internalType": "uint64",
|
731
|
+
"name": "",
|
732
|
+
"type": "uint64"
|
733
|
+
}
|
734
|
+
],
|
735
|
+
"stateMutability": "view",
|
736
|
+
"type": "function"
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"inputs": [],
|
740
|
+
"name": "latestNodeCreated",
|
741
|
+
"outputs": [
|
742
|
+
{
|
743
|
+
"internalType": "uint64",
|
744
|
+
"name": "",
|
745
|
+
"type": "uint64"
|
746
|
+
}
|
747
|
+
],
|
748
|
+
"stateMutability": "view",
|
749
|
+
"type": "function"
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"inputs": [
|
753
|
+
{
|
754
|
+
"internalType": "address",
|
755
|
+
"name": "staker",
|
756
|
+
"type": "address"
|
757
|
+
}
|
758
|
+
],
|
759
|
+
"name": "latestStakedNode",
|
760
|
+
"outputs": [
|
761
|
+
{
|
762
|
+
"internalType": "uint64",
|
763
|
+
"name": "",
|
764
|
+
"type": "uint64"
|
765
|
+
}
|
766
|
+
],
|
767
|
+
"stateMutability": "view",
|
768
|
+
"type": "function"
|
769
|
+
},
|
770
|
+
{
|
771
|
+
"inputs": [],
|
772
|
+
"name": "loserStakeEscrow",
|
773
|
+
"outputs": [
|
774
|
+
{
|
775
|
+
"internalType": "address",
|
776
|
+
"name": "",
|
777
|
+
"type": "address"
|
778
|
+
}
|
779
|
+
],
|
780
|
+
"stateMutability": "view",
|
781
|
+
"type": "function"
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"inputs": [],
|
785
|
+
"name": "minimumAssertionPeriod",
|
786
|
+
"outputs": [
|
787
|
+
{
|
788
|
+
"internalType": "uint256",
|
789
|
+
"name": "",
|
790
|
+
"type": "uint256"
|
791
|
+
}
|
792
|
+
],
|
793
|
+
"stateMutability": "view",
|
794
|
+
"type": "function"
|
795
|
+
},
|
796
|
+
{
|
797
|
+
"inputs": [
|
798
|
+
{
|
799
|
+
"internalType": "uint64",
|
800
|
+
"name": "nodeNum",
|
801
|
+
"type": "uint64"
|
802
|
+
},
|
803
|
+
{
|
804
|
+
"internalType": "address",
|
805
|
+
"name": "staker",
|
806
|
+
"type": "address"
|
807
|
+
}
|
808
|
+
],
|
809
|
+
"name": "nodeHasStaker",
|
810
|
+
"outputs": [
|
811
|
+
{
|
812
|
+
"internalType": "bool",
|
813
|
+
"name": "",
|
814
|
+
"type": "bool"
|
815
|
+
}
|
816
|
+
],
|
817
|
+
"stateMutability": "view",
|
818
|
+
"type": "function"
|
819
|
+
},
|
820
|
+
{
|
821
|
+
"inputs": [],
|
822
|
+
"name": "outbox",
|
823
|
+
"outputs": [
|
824
|
+
{
|
825
|
+
"internalType": "contract IOutbox",
|
826
|
+
"name": "",
|
827
|
+
"type": "address"
|
828
|
+
}
|
829
|
+
],
|
830
|
+
"stateMutability": "view",
|
831
|
+
"type": "function"
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"inputs": [],
|
835
|
+
"name": "paused",
|
836
|
+
"outputs": [
|
837
|
+
{
|
838
|
+
"internalType": "bool",
|
839
|
+
"name": "",
|
840
|
+
"type": "bool"
|
841
|
+
}
|
842
|
+
],
|
843
|
+
"stateMutability": "view",
|
844
|
+
"type": "function"
|
845
|
+
},
|
846
|
+
{
|
847
|
+
"inputs": [],
|
848
|
+
"name": "rollupDeploymentBlock",
|
849
|
+
"outputs": [
|
850
|
+
{
|
851
|
+
"internalType": "uint256",
|
852
|
+
"name": "",
|
853
|
+
"type": "uint256"
|
854
|
+
}
|
855
|
+
],
|
856
|
+
"stateMutability": "view",
|
857
|
+
"type": "function"
|
858
|
+
},
|
859
|
+
{
|
860
|
+
"inputs": [],
|
861
|
+
"name": "rollupEventInbox",
|
862
|
+
"outputs": [
|
863
|
+
{
|
864
|
+
"internalType": "contract IRollupEventInbox",
|
865
|
+
"name": "",
|
866
|
+
"type": "address"
|
867
|
+
}
|
868
|
+
],
|
869
|
+
"stateMutability": "view",
|
870
|
+
"type": "function"
|
871
|
+
},
|
872
|
+
{
|
873
|
+
"inputs": [],
|
874
|
+
"name": "sequencerInbox",
|
875
|
+
"outputs": [
|
876
|
+
{
|
877
|
+
"internalType": "contract ISequencerInbox",
|
878
|
+
"name": "",
|
879
|
+
"type": "address"
|
880
|
+
}
|
881
|
+
],
|
882
|
+
"stateMutability": "view",
|
883
|
+
"type": "function"
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"inputs": [],
|
887
|
+
"name": "stakeToken",
|
888
|
+
"outputs": [
|
889
|
+
{
|
890
|
+
"internalType": "address",
|
891
|
+
"name": "",
|
892
|
+
"type": "address"
|
893
|
+
}
|
894
|
+
],
|
895
|
+
"stateMutability": "view",
|
896
|
+
"type": "function"
|
897
|
+
},
|
898
|
+
{
|
899
|
+
"inputs": [],
|
900
|
+
"name": "stakerCount",
|
901
|
+
"outputs": [
|
902
|
+
{
|
903
|
+
"internalType": "uint64",
|
904
|
+
"name": "",
|
905
|
+
"type": "uint64"
|
906
|
+
}
|
907
|
+
],
|
908
|
+
"stateMutability": "view",
|
909
|
+
"type": "function"
|
910
|
+
},
|
911
|
+
{
|
912
|
+
"inputs": [],
|
913
|
+
"name": "totalWithdrawableFunds",
|
914
|
+
"outputs": [
|
915
|
+
{
|
916
|
+
"internalType": "uint256",
|
917
|
+
"name": "",
|
918
|
+
"type": "uint256"
|
919
|
+
}
|
920
|
+
],
|
921
|
+
"stateMutability": "view",
|
922
|
+
"type": "function"
|
923
|
+
},
|
924
|
+
{
|
925
|
+
"inputs": [],
|
926
|
+
"name": "validatorUtils",
|
927
|
+
"outputs": [
|
928
|
+
{
|
929
|
+
"internalType": "address",
|
930
|
+
"name": "",
|
931
|
+
"type": "address"
|
932
|
+
}
|
933
|
+
],
|
934
|
+
"stateMutability": "view",
|
935
|
+
"type": "function"
|
936
|
+
},
|
937
|
+
{
|
938
|
+
"inputs": [],
|
939
|
+
"name": "validatorWalletCreator",
|
940
|
+
"outputs": [
|
941
|
+
{
|
942
|
+
"internalType": "address",
|
943
|
+
"name": "",
|
944
|
+
"type": "address"
|
945
|
+
}
|
946
|
+
],
|
947
|
+
"stateMutability": "view",
|
948
|
+
"type": "function"
|
949
|
+
},
|
950
|
+
{
|
951
|
+
"inputs": [],
|
952
|
+
"name": "validatorWhitelistDisabled",
|
953
|
+
"outputs": [
|
954
|
+
{
|
955
|
+
"internalType": "bool",
|
956
|
+
"name": "",
|
957
|
+
"type": "bool"
|
958
|
+
}
|
959
|
+
],
|
960
|
+
"stateMutability": "view",
|
961
|
+
"type": "function"
|
962
|
+
},
|
963
|
+
{
|
964
|
+
"inputs": [],
|
965
|
+
"name": "wasmModuleRoot",
|
966
|
+
"outputs": [
|
967
|
+
{
|
968
|
+
"internalType": "bytes32",
|
969
|
+
"name": "",
|
970
|
+
"type": "bytes32"
|
971
|
+
}
|
972
|
+
],
|
973
|
+
"stateMutability": "view",
|
974
|
+
"type": "function"
|
975
|
+
},
|
976
|
+
{
|
977
|
+
"inputs": [
|
978
|
+
{
|
979
|
+
"internalType": "address",
|
980
|
+
"name": "user",
|
981
|
+
"type": "address"
|
982
|
+
}
|
983
|
+
],
|
984
|
+
"name": "withdrawableFunds",
|
985
|
+
"outputs": [
|
986
|
+
{
|
987
|
+
"internalType": "uint256",
|
988
|
+
"name": "",
|
989
|
+
"type": "uint256"
|
990
|
+
}
|
991
|
+
],
|
992
|
+
"stateMutability": "view",
|
993
|
+
"type": "function"
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"inputs": [
|
997
|
+
{
|
998
|
+
"internalType": "uint256",
|
999
|
+
"name": "zombieNum",
|
1000
|
+
"type": "uint256"
|
1001
|
+
}
|
1002
|
+
],
|
1003
|
+
"name": "zombieAddress",
|
1004
|
+
"outputs": [
|
1005
|
+
{
|
1006
|
+
"internalType": "address",
|
1007
|
+
"name": "",
|
1008
|
+
"type": "address"
|
1009
|
+
}
|
1010
|
+
],
|
1011
|
+
"stateMutability": "view",
|
1012
|
+
"type": "function"
|
1013
|
+
},
|
1014
|
+
{
|
1015
|
+
"inputs": [],
|
1016
|
+
"name": "zombieCount",
|
1017
|
+
"outputs": [
|
1018
|
+
{
|
1019
|
+
"internalType": "uint256",
|
1020
|
+
"name": "",
|
1021
|
+
"type": "uint256"
|
1022
|
+
}
|
1023
|
+
],
|
1024
|
+
"stateMutability": "view",
|
1025
|
+
"type": "function"
|
1026
|
+
},
|
1027
|
+
{
|
1028
|
+
"inputs": [
|
1029
|
+
{
|
1030
|
+
"internalType": "uint256",
|
1031
|
+
"name": "zombieNum",
|
1032
|
+
"type": "uint256"
|
1033
|
+
}
|
1034
|
+
],
|
1035
|
+
"name": "zombieLatestStakedNode",
|
1036
|
+
"outputs": [
|
1037
|
+
{
|
1038
|
+
"internalType": "uint64",
|
1039
|
+
"name": "",
|
1040
|
+
"type": "uint64"
|
1041
|
+
}
|
1042
|
+
],
|
1043
|
+
"stateMutability": "view",
|
1044
|
+
"type": "function"
|
1045
|
+
}
|
1046
|
+
],
|
1047
|
+
"bytecode": "0x",
|
1048
|
+
"deployedBytecode": "0x",
|
1049
|
+
"linkReferences": {},
|
1050
|
+
"deployedLinkReferences": {}
|
1051
|
+
}
|