@arbitrum/nitro-contracts 2.1.0 → 3.0.0-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +2 -2
- package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json +2 -2
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +2 -2
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +2 -2
- package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +2 -2
- package/build/contracts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.json +86 -0
- package/build/contracts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.json +2 -2
- package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.json +2 -2
- package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/Create2.sol/Create2.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts/utils/Create2.sol/Create2.json +10 -0
- package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +2 -2
- package/build/contracts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +2 -2
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.json +13 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +13 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +15 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.json +13 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +2 -2
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +15 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/Create2Upgradeable.sol/Create2Upgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/Create2Upgradeable.sol/Create2Upgradeable.json +10 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.json +2 -2
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.json +2 -2
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.json +13 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.dbg.json +1 -1
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/structs/EnumerableSetUpgradeable.sol/EnumerableSetUpgradeable.dbg.json +4 -0
- package/build/contracts/@openzeppelin/contracts-upgradeable/utils/structs/EnumerableSetUpgradeable.sol/EnumerableSetUpgradeable.json +10 -0
- package/build/contracts/src/assertionStakingPool/AbsBoldStakingPool.sol/AbsBoldStakingPool.dbg.json +4 -0
- package/build/contracts/{@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.json → src/assertionStakingPool/AbsBoldStakingPool.sol/AbsBoldStakingPool.json} +41 -95
- package/build/contracts/src/assertionStakingPool/AssertionStakingPool.sol/AssertionStakingPool.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/AssertionStakingPool.sol/AssertionStakingPool.json +340 -0
- package/build/contracts/src/assertionStakingPool/AssertionStakingPoolCreator.sol/AssertionStakingPoolCreator.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/AssertionStakingPoolCreator.sol/AssertionStakingPoolCreator.json +89 -0
- package/build/contracts/src/assertionStakingPool/EdgeStakingPool.sol/EdgeStakingPool.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/EdgeStakingPool.sol/EdgeStakingPool.json +248 -0
- package/build/contracts/src/assertionStakingPool/EdgeStakingPoolCreator.sol/EdgeStakingPoolCreator.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/EdgeStakingPoolCreator.sol/EdgeStakingPoolCreator.json +83 -0
- package/build/contracts/src/assertionStakingPool/StakingPoolCreatorUtils.sol/StakingPoolCreatorUtils.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/StakingPoolCreatorUtils.sol/StakingPoolCreatorUtils.json +16 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IAbsBoldStakingPool.sol/IAbsBoldStakingPool.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IAbsBoldStakingPool.sol/IAbsBoldStakingPool.json +140 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IAssertionStakingPool.sol/IAssertionStakingPool.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IAssertionStakingPool.sol/IAssertionStakingPool.json +324 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IAssertionStakingPoolCreator.sol/IAssertionStakingPoolCreator.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IAssertionStakingPoolCreator.sol/IAssertionStakingPoolCreator.json +84 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IEdgeStakingPool.sol/IEdgeStakingPool.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IEdgeStakingPool.sol/IEdgeStakingPool.json +232 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IEdgeStakingPoolCreator.sol/IEdgeStakingPoolCreator.dbg.json +4 -0
- package/build/contracts/src/assertionStakingPool/interfaces/IEdgeStakingPoolCreator.sol/IEdgeStakingPoolCreator.json +78 -0
- package/build/contracts/src/bridge/AbsBridge.sol/AbsBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/AbsBridge.sol/AbsBridge.json +13 -0
- package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.json +20 -7
- package/build/contracts/src/bridge/AbsOutbox.sol/AbsOutbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/Bridge.sol/Bridge.json +15 -2
- package/build/contracts/src/bridge/DelayBuffer.sol/DelayBuffer.dbg.json +4 -0
- package/build/contracts/src/bridge/DelayBuffer.sol/DelayBuffer.json +24 -0
- package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.json +15 -2
- package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.json +22 -9
- package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.json +2 -2
- package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.dbg.json +1 -1
- package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.json +2 -2
- package/build/contracts/src/bridge/IBridge.sol/IBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Bridge.sol/IERC20Bridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.json +1 -1
- package/build/contracts/src/bridge/IEthBridge.sol/IEthBridge.dbg.json +1 -1
- package/build/contracts/src/bridge/IInbox.sol/IInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IInbox.sol/IInbox.json +1 -1
- package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.dbg.json +1 -1
- package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.json +1 -1
- package/build/contracts/src/bridge/IOutbox.sol/IOutbox.dbg.json +1 -1
- package/build/contracts/src/bridge/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.json +441 -0
- package/build/contracts/src/bridge/Inbox.sol/Inbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Inbox.sol/Inbox.json +22 -4
- package/build/contracts/src/bridge/Messages.sol/Messages.dbg.json +1 -1
- package/build/contracts/src/bridge/Messages.sol/Messages.json +2 -2
- package/build/contracts/src/bridge/Outbox.sol/Outbox.dbg.json +1 -1
- package/build/contracts/src/bridge/Outbox.sol/Outbox.json +2 -2
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.dbg.json +1 -1
- package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.json +564 -7
- package/build/contracts/src/chain/CacheManager.sol/CacheManager.dbg.json +1 -1
- package/build/contracts/src/chain/CacheManager.sol/CacheManager.json +15 -2
- package/build/contracts/src/challengeV2/EdgeChallengeManager.sol/EdgeChallengeManager.dbg.json +4 -0
- package/build/contracts/src/challengeV2/EdgeChallengeManager.sol/EdgeChallengeManager.json +1631 -0
- package/build/contracts/src/challengeV2/EdgeChallengeManager.sol/IEdgeChallengeManager.dbg.json +4 -0
- package/build/contracts/src/challengeV2/EdgeChallengeManager.sol/IEdgeChallengeManager.json +762 -0
- package/build/contracts/src/challengeV2/IAssertionChain.sol/IAssertionChain.dbg.json +4 -0
- package/build/contracts/src/challengeV2/IAssertionChain.sol/IAssertionChain.json +247 -0
- package/build/contracts/src/challengeV2/libraries/ArrayUtilsLib.sol/ArrayUtilsLib.dbg.json +4 -0
- package/build/contracts/src/challengeV2/libraries/ArrayUtilsLib.sol/ArrayUtilsLib.json +10 -0
- package/build/contracts/src/challengeV2/libraries/ChallengeEdgeLib.sol/ChallengeEdgeLib.dbg.json +4 -0
- package/build/contracts/src/challengeV2/libraries/ChallengeEdgeLib.sol/ChallengeEdgeLib.json +10 -0
- package/build/contracts/src/challengeV2/libraries/EdgeChallengeManagerLib.sol/EdgeChallengeManagerLib.dbg.json +4 -0
- package/build/contracts/src/challengeV2/libraries/EdgeChallengeManagerLib.sol/EdgeChallengeManagerLib.json +24 -0
- package/build/contracts/src/challengeV2/libraries/MerkleTreeAccumulatorLib.sol/MerkleTreeAccumulatorLib.dbg.json +4 -0
- package/build/contracts/src/challengeV2/libraries/MerkleTreeAccumulatorLib.sol/MerkleTreeAccumulatorLib.json +24 -0
- package/build/contracts/src/challengeV2/libraries/UintUtilsLib.sol/UintUtilsLib.dbg.json +4 -0
- package/build/contracts/src/challengeV2/libraries/UintUtilsLib.sol/UintUtilsLib.json +10 -0
- package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.dbg.json +1 -1
- package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.json +2 -2
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.dbg.json +1 -1
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.json +2 -2
- package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.dbg.json +1 -1
- package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.dbg.json +1 -1
- package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.json +2 -2
- package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.dbg.json +1 -1
- package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.json +2 -2
- package/build/contracts/src/libraries/DecimalsConverterHelper.sol/DecimalsConverterHelper.dbg.json +1 -1
- package/build/contracts/src/libraries/DecimalsConverterHelper.sol/DecimalsConverterHelper.json +2 -2
- package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.dbg.json +1 -1
- package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.dbg.json +1 -1
- package/build/contracts/src/libraries/GasRefundEnabled.sol/GasRefundEnabled.dbg.json +1 -1
- package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.dbg.json +1 -1
- package/build/contracts/src/libraries/IReader4844.sol/IReader4844.dbg.json +1 -1
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.dbg.json +1 -1
- package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.json +2 -2
- package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.dbg.json +1 -1
- package/build/contracts/src/mocks/Benchmarks.sol/Benchmarks.dbg.json +1 -1
- package/build/contracts/src/mocks/Benchmarks.sol/Benchmarks.json +2 -2
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.json +8 -8
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.dbg.json +1 -1
- package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.json +28 -2
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.dbg.json +1 -1
- package/build/contracts/src/mocks/InboxStub.sol/InboxStub.json +2 -2
- package/build/contracts/src/mocks/MerkleTreeAccess.sol/MerkleTreeAccess.dbg.json +4 -0
- package/build/contracts/src/mocks/MerkleTreeAccess.sol/MerkleTreeAccess.json +227 -0
- package/build/contracts/src/mocks/MockRollupEventInbox.sol/MockRollupEventInbox.dbg.json +4 -0
- package/build/contracts/src/mocks/MockRollupEventInbox.sol/MockRollupEventInbox.json +133 -0
- package/build/contracts/src/mocks/MultiCallTest.sol/MultiCallTest.dbg.json +1 -1
- package/build/contracts/src/mocks/MultiCallTest.sol/MultiCallTest.json +2 -2
- package/build/contracts/src/mocks/PendingBlkTimeAndNrAdvanceCheck.sol/PendingBlkTimeAndNrAdvanceCheck.dbg.json +1 -1
- package/build/contracts/src/mocks/PendingBlkTimeAndNrAdvanceCheck.sol/PendingBlkTimeAndNrAdvanceCheck.json +2 -2
- package/build/contracts/src/mocks/Program.sol/ProgramTest.dbg.json +1 -1
- package/build/contracts/src/mocks/Program.sol/ProgramTest.json +2 -2
- package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.dbg.json +1 -1
- package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.json +2 -2
- package/build/contracts/src/mocks/SdkStorage.sol/SdkStorage.dbg.json +1 -1
- package/build/contracts/src/mocks/SdkStorage.sol/SdkStorage.json +2 -2
- package/build/contracts/src/mocks/SequencerInboxBlobMock.sol/SequencerInboxBlobMock.dbg.json +4 -0
- package/build/contracts/src/mocks/SequencerInboxBlobMock.sol/SequencerInboxBlobMock.json +1632 -0
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.dbg.json +1 -1
- package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.json +564 -7
- package/build/contracts/src/mocks/Simple.sol/Simple.dbg.json +1 -1
- package/build/contracts/src/mocks/Simple.sol/Simple.json +2 -2
- package/build/contracts/src/mocks/SimpleCacheManager.sol/SimpleCacheManager.dbg.json +1 -1
- package/build/contracts/src/mocks/SimpleCacheManager.sol/SimpleCacheManager.json +2 -2
- package/build/contracts/src/mocks/SimpleOneStepProofEntry.sol/SimpleOneStepProofEntry.dbg.json +4 -0
- package/build/contracts/src/mocks/SimpleOneStepProofEntry.sol/SimpleOneStepProofEntry.json +142 -0
- package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.dbg.json +1 -1
- package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.json +2 -2
- package/build/contracts/src/mocks/TestWETH9.sol/IWETH9.dbg.json +4 -0
- package/build/contracts/src/mocks/TestWETH9.sol/IWETH9.json +31 -0
- package/build/contracts/src/mocks/TestWETH9.sol/TestWETH9.dbg.json +4 -0
- package/build/contracts/src/mocks/TestWETH9.sol/TestWETH9.json +317 -0
- package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.dbg.json +1 -1
- package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.json +15 -2
- package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.dbg.json +1 -1
- package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.dbg.json +1 -1
- package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.dbg.json +1 -1
- package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.json +2 -2
- package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.json +33 -9
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.json +2 -2
- package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.dbg.json +1 -1
- package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.json +5 -0
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.json +35 -11
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.json +7 -2
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.json +7 -2
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.json +7 -2
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.dbg.json +1 -1
- package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.json +7 -2
- package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbWasm.sol/ArbWasm.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbWasmCache.sol/ArbWasmCache.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.dbg.json +1 -1
- package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.dbg.json +1 -1
- package/build/contracts/src/rollup/AbsRollupEventInbox.sol/AbsRollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/Assertion.sol/AssertionNodeLib.dbg.json +4 -0
- package/build/contracts/src/rollup/{Node.sol/NodeLib.json → Assertion.sol/AssertionNodeLib.json} +4 -4
- package/build/contracts/src/rollup/AssertionState.sol/AssertionStateLib.dbg.json +4 -0
- package/build/contracts/src/{challenge/ChallengeLib.sol/ChallengeLib.json → rollup/AssertionState.sol/AssertionStateLib.json} +4 -4
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/BOLDUpgradeAction.dbg.json +4 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/BOLDUpgradeAction.json +807 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/ConstantArrayStorage.dbg.json +4 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/ConstantArrayStorage.json +35 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/IOldRollup.dbg.json +4 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/IOldRollup.json +361 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/IOldRollupAdmin.dbg.json +4 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/IOldRollupAdmin.json +38 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/ISeqInboxPostUpgradeInit.dbg.json +4 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/ISeqInboxPostUpgradeInit.json +41 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/RollupReader.dbg.json +4 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/RollupReader.json +385 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/StateHashPreImageLookup.dbg.json +4 -0
- package/build/contracts/src/rollup/BOLDUpgradeAction.sol/StateHashPreImageLookup.json +203 -0
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.json +62 -10
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.dbg.json +1 -1
- package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.json +2 -2
- package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.json +2 -2
- package/build/contracts/src/rollup/FactoryDeployerHelper.sol/FactoryDeployerHelper.dbg.json +1 -1
- package/build/contracts/src/rollup/FactoryDeployerHelper.sol/FactoryDeployerHelper.json +2 -2
- package/build/contracts/src/rollup/FactoryDeployerHelper.sol/IDeployHelper.dbg.json +1 -1
- package/build/contracts/src/rollup/FactoryDeployerHelper.sol/IERC20.dbg.json +1 -1
- package/build/contracts/src/rollup/FactoryDeployerHelper.sol/IERC20Bridge.dbg.json +1 -1
- package/build/contracts/src/rollup/FactoryDeployerHelper.sol/IInboxBase.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.json +473 -99
- package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.json +315 -221
- package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.dbg.json +1 -1
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.json +678 -499
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.json +806 -435
- package/build/contracts/src/rollup/RollupCore.sol/RollupCore.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupCore.sol/RollupCore.json +323 -235
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.json +98 -36
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.json +2 -2
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupLib.sol/RollupLib.json +2 -2
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.json +97 -16
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.dbg.json +1 -1
- package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.json +924 -535
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.json +15 -43
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.dbg.json +1 -1
- package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.json +2 -2
- package/build/contracts/src/state/Deserialize.sol/Deserialize.dbg.json +1 -1
- package/build/contracts/src/state/Deserialize.sol/Deserialize.json +2 -2
- package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.dbg.json +1 -1
- package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.json +2 -2
- package/build/contracts/src/state/Instructions.sol/Instructions.dbg.json +1 -1
- package/build/contracts/src/state/Instructions.sol/Instructions.json +2 -2
- package/build/contracts/src/state/Machine.sol/MachineLib.dbg.json +1 -1
- package/build/contracts/src/state/Machine.sol/MachineLib.json +2 -2
- package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.dbg.json +1 -1
- package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.json +2 -2
- package/build/contracts/src/state/Module.sol/ModuleLib.dbg.json +1 -1
- package/build/contracts/src/state/Module.sol/ModuleLib.json +2 -2
- package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.dbg.json +1 -1
- package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.json +2 -2
- package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.dbg.json +1 -1
- package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.json +2 -2
- package/build/contracts/src/state/MultiStack.sol/MultiStackLib.dbg.json +1 -1
- package/build/contracts/src/state/MultiStack.sol/MultiStackLib.json +2 -2
- package/build/contracts/src/state/PcArray.sol/PcArrayLib.dbg.json +1 -1
- package/build/contracts/src/state/PcArray.sol/PcArrayLib.json +2 -2
- package/build/contracts/src/state/StackFrame.sol/StackFrameLib.dbg.json +1 -1
- package/build/contracts/src/state/StackFrame.sol/StackFrameLib.json +2 -2
- package/build/contracts/src/state/Value.sol/ValueLib.dbg.json +1 -1
- package/build/contracts/src/state/Value.sol/ValueLib.json +2 -2
- package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.dbg.json +1 -1
- package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.json +2 -2
- package/build/contracts/src/state/ValueStack.sol/ValueStackLib.dbg.json +1 -1
- package/build/contracts/src/state/ValueStack.sol/ValueStackLib.json +2 -2
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.json +15 -2
- package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.json +2 -2
- package/build/contracts/src/test-helpers/EthVault.sol/EthVault.dbg.json +1 -1
- package/build/contracts/src/test-helpers/EthVault.sol/EthVault.json +2 -2
- package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.json +2 -2
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.json +2 -2
- package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.dbg.json +1 -1
- package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.json +2 -15
- package/build/contracts/src/test-helpers/TestToken.sol/TestToken.dbg.json +1 -1
- package/build/contracts/src/test-helpers/TestToken.sol/TestToken.json +2 -2
- package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.dbg.json +1 -1
- package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.json +2 -2
- package/out/yul/Reader4844.yul/Reader4844.json +1 -1
- package/package.json +15 -5
- package/src/assertionStakingPool/AbsBoldStakingPool.sol +66 -0
- package/src/assertionStakingPool/AssertionStakingPool.sol +70 -0
- package/src/assertionStakingPool/AssertionStakingPoolCreator.sol +35 -0
- package/src/assertionStakingPool/EdgeStakingPool.sol +57 -0
- package/src/assertionStakingPool/EdgeStakingPoolCreator.sol +34 -0
- package/src/assertionStakingPool/StakingPoolCreatorUtils.sol +25 -0
- package/src/assertionStakingPool/interfaces/IAbsBoldStakingPool.sol +41 -0
- package/src/assertionStakingPool/interfaces/IAssertionStakingPool.sol +36 -0
- package/src/assertionStakingPool/interfaces/IAssertionStakingPoolCreator.sol +31 -0
- package/src/assertionStakingPool/interfaces/IEdgeStakingPool.sol +27 -0
- package/src/assertionStakingPool/interfaces/IEdgeStakingPoolCreator.sol +28 -0
- package/src/bridge/AbsBridge.sol +38 -48
- package/src/bridge/AbsInbox.sol +88 -97
- package/src/bridge/AbsOutbox.sol +23 -37
- package/src/bridge/Bridge.sol +6 -4
- package/src/bridge/DelayBuffer.sol +123 -0
- package/src/bridge/DelayBufferTypes.sol +38 -0
- package/src/bridge/ERC20Bridge.sol +8 -4
- package/src/bridge/ERC20Inbox.sol +46 -53
- package/src/bridge/ERC20Outbox.sol +7 -3
- package/src/bridge/GasRefunder.sol +38 -24
- package/src/bridge/IBridge.sol +30 -21
- package/src/bridge/IERC20Bridge.sol +1 -1
- package/src/bridge/IERC20Inbox.sol +4 -2
- package/src/bridge/IEthBridge.sol +4 -2
- package/src/bridge/IInbox.sol +4 -2
- package/src/bridge/IInboxBase.sol +17 -13
- package/src/bridge/IOutbox.sol +13 -8
- package/src/bridge/ISequencerInbox.sol +118 -13
- package/src/bridge/Inbox.sol +131 -151
- package/src/bridge/Messages.sol +48 -18
- package/src/bridge/Outbox.sol +6 -2
- package/src/bridge/SequencerInbox.sol +339 -274
- package/src/chain/CacheManager.sol +49 -18
- package/src/challengeV2/EdgeChallengeManager.sol +783 -0
- package/src/challengeV2/IAssertionChain.sol +39 -0
- package/src/challengeV2/libraries/ArrayUtilsLib.sol +61 -0
- package/src/challengeV2/libraries/ChallengeEdgeLib.sol +333 -0
- package/src/challengeV2/libraries/ChallengeErrors.sol +108 -0
- package/src/challengeV2/libraries/EdgeChallengeManagerLib.sol +930 -0
- package/src/challengeV2/libraries/Enums.sol +26 -0
- package/src/challengeV2/libraries/MerkleTreeAccumulatorLib.sol +390 -0
- package/src/challengeV2/libraries/UintUtilsLib.sol +74 -0
- package/src/libraries/AddressAliasHelper.sol +6 -2
- package/src/libraries/AdminFallbackProxy.sol +8 -4
- package/src/libraries/ArbitrumChecker.sol +3 -4
- package/src/libraries/CryptographyPrimitives.sol +39 -46
- package/src/libraries/DecimalsConverterHelper.sol +2 -4
- package/src/libraries/DoubleLogicUUPSUpgradeable.sol +10 -7
- package/src/libraries/Error.sol +18 -3
- package/src/libraries/GasRefundEnabled.sol +3 -4
- package/src/libraries/MerkleLib.sol +6 -5
- package/src/libraries/UUPSNotUpgradeable.sol +2 -4
- package/src/mocks/BridgeStub.sol +50 -48
- package/src/mocks/BridgeUnproxied.sol +2 -0
- package/src/mocks/InboxStub.sol +22 -17
- package/src/mocks/MerkleTreeAccess.sol +72 -0
- package/src/mocks/MockRollupEventInbox.sol +59 -0
- package/src/mocks/MultiCallTest.sol +3 -1
- package/src/mocks/PendingBlkTimeAndNrAdvanceCheck.sol +3 -1
- package/src/mocks/Program.sol +9 -7
- package/src/mocks/SequencerInboxBlobMock.sol +38 -0
- package/src/mocks/SequencerInboxStub.sol +9 -12
- package/src/mocks/Simple.sol +13 -25
- package/src/mocks/SimpleCacheManager.sol +10 -3
- package/src/mocks/SimpleOneStepProofEntry.sol +60 -0
- package/src/mocks/SimpleProxy.sol +3 -1
- package/src/mocks/TestWETH9.sol +30 -0
- package/src/mocks/UpgradeExecutorMock.sol +10 -17
- package/src/node-interface/NodeInterface.sol +23 -22
- package/src/node-interface/NodeInterfaceDebug.sol +5 -3
- package/src/osp/HashProofHelper.sol +9 -10
- package/src/osp/IOneStepProofEntry.sol +14 -9
- package/src/osp/IOneStepProver.sol +1 -0
- package/src/osp/OneStepProofEntry.sol +63 -54
- package/src/osp/OneStepProver0.sol +14 -27
- package/src/osp/OneStepProverHostIo.sol +31 -58
- package/src/osp/OneStepProverMath.sol +15 -23
- package/src/osp/OneStepProverMemory.sol +9 -23
- package/src/precompiles/ArbAddressTable.sol +19 -9
- package/src/precompiles/ArbAggregator.sol +12 -4
- package/src/precompiles/ArbBLS.sol +1 -3
- package/src/precompiles/ArbDebug.sol +5 -11
- package/src/precompiles/ArbFunctionTable.sol +7 -10
- package/src/precompiles/ArbGasInfo.sol +9 -43
- package/src/precompiles/ArbInfo.sol +6 -2
- package/src/precompiles/ArbOwner.sol +101 -34
- package/src/precompiles/ArbOwnerPublic.sol +6 -2
- package/src/precompiles/ArbRetryableTx.sol +15 -5
- package/src/precompiles/ArbStatistics.sol +1 -8
- package/src/precompiles/ArbSys.sol +16 -18
- package/src/precompiles/ArbWasm.sol +24 -14
- package/src/precompiles/ArbWasmCache.sol +15 -5
- package/src/precompiles/ArbosTest.sol +3 -1
- package/src/rollup/AbsRollupEventInbox.sol +15 -16
- package/src/rollup/Assertion.sol +100 -0
- package/src/rollup/AssertionState.sol +29 -0
- package/src/rollup/BOLDUpgradeAction.sol +631 -0
- package/src/rollup/BridgeCreator.sol +42 -15
- package/src/rollup/Config.sol +15 -7
- package/src/rollup/DeployHelper.sol +12 -31
- package/src/rollup/ERC20RollupEventInbox.sol +8 -9
- package/src/rollup/FactoryDeployerHelper.sol +8 -10
- package/src/rollup/IRollupAdmin.sol +127 -45
- package/src/rollup/IRollupCore.sol +64 -84
- package/src/rollup/IRollupEventInbox.sol +3 -1
- package/src/rollup/IRollupLogic.sol +35 -72
- package/src/rollup/RollupAdminLogic.sol +224 -203
- package/src/rollup/RollupCore.sol +407 -428
- package/src/rollup/RollupCreator.sol +88 -75
- package/src/rollup/RollupEventInbox.sol +7 -7
- package/src/rollup/RollupLib.sol +50 -86
- package/src/rollup/RollupProxy.sol +8 -12
- package/src/rollup/RollupUserLogic.sol +279 -644
- package/src/rollup/ValidatorUtils.sol +0 -242
- package/src/rollup/ValidatorWallet.sol +22 -38
- package/src/rollup/ValidatorWalletCreator.sol +8 -8
- package/src/state/Deserialize.sol +74 -96
- package/src/state/GlobalState.sol +74 -20
- package/src/state/Instructions.sol +4 -3
- package/src/state/Machine.sol +18 -19
- package/src/state/Module.sol +14 -13
- package/src/state/ModuleMemory.sol +6 -25
- package/src/state/ModuleMemoryCompact.sol +3 -1
- package/src/state/MultiStack.sol +16 -20
- package/src/state/PcArray.sol +7 -7
- package/src/state/StackFrame.sol +21 -14
- package/src/state/Value.sol +18 -6
- package/src/state/ValueArray.sol +7 -7
- package/src/state/ValueStack.sol +9 -3
- package/src/test-helpers/BridgeTester.sol +32 -42
- package/src/test-helpers/CryptographyPrimitivesTester.sol +12 -13
- package/src/test-helpers/EthVault.sol +4 -2
- package/src/test-helpers/InterfaceCompatibilityTester.sol +1 -1
- package/src/test-helpers/MessageTester.sol +3 -10
- package/src/test-helpers/OutboxWithoutOptTester.sol +12 -19
- package/src/test-helpers/RollupMock.sol +3 -7
- package/src/test-helpers/TestToken.sol +4 -2
- package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +0 -4
- package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.dbg.json +0 -4
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.dbg.json +0 -4
- package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.json +0 -746
- package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.dbg.json +0 -4
- package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.json +0 -441
- package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.dbg.json +0 -4
- package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.json +0 -34
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.dbg.json +0 -4
- package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.json +0 -188
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.dbg.json +0 -4
- package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.json +0 -797
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.dbg.json +0 -4
- package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.json +0 -746
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.dbg.json +0 -4
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.json +0 -1332
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.dbg.json +0 -4
- package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.json +0 -1466
- package/build/contracts/src/rollup/Node.sol/NodeLib.dbg.json +0 -4
- package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.dbg.json +0 -4
- package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.json +0 -1614
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.dbg.json +0 -4
- package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.json +0 -1748
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.dbg.json +0 -4
- package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.json +0 -379
- package/src/challenge/ChallengeLib.sol +0 -88
- package/src/challenge/ChallengeManager.sol +0 -375
- package/src/challenge/IChallengeManager.sol +0 -86
- package/src/challenge/IChallengeResultReceiver.sol +0 -13
- package/src/mocks/MockResultReceiver.sol +0 -59
- package/src/mocks/SingleExecutionChallenge.sol +0 -41
- package/src/mocks/TimedOutChallengeManager.sol +0 -13
- package/src/rollup/Node.sol +0 -113
@@ -8,9 +8,9 @@
|
|
8
8
|
"inputs": [
|
9
9
|
{
|
10
10
|
"indexed": true,
|
11
|
-
"internalType": "
|
12
|
-
"name": "
|
13
|
-
"type": "
|
11
|
+
"internalType": "bytes32",
|
12
|
+
"name": "assertionHash",
|
13
|
+
"type": "bytes32"
|
14
14
|
},
|
15
15
|
{
|
16
16
|
"indexed": false,
|
@@ -25,38 +25,75 @@
|
|
25
25
|
"type": "bytes32"
|
26
26
|
}
|
27
27
|
],
|
28
|
-
"name": "
|
28
|
+
"name": "AssertionConfirmed",
|
29
29
|
"type": "event"
|
30
30
|
},
|
31
31
|
{
|
32
32
|
"anonymous": false,
|
33
33
|
"inputs": [
|
34
|
-
{
|
35
|
-
"indexed": true,
|
36
|
-
"internalType": "uint64",
|
37
|
-
"name": "nodeNum",
|
38
|
-
"type": "uint64"
|
39
|
-
},
|
40
34
|
{
|
41
35
|
"indexed": true,
|
42
36
|
"internalType": "bytes32",
|
43
|
-
"name": "
|
37
|
+
"name": "assertionHash",
|
44
38
|
"type": "bytes32"
|
45
39
|
},
|
46
40
|
{
|
47
41
|
"indexed": true,
|
48
42
|
"internalType": "bytes32",
|
49
|
-
"name": "
|
50
|
-
"type": "bytes32"
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"indexed": false,
|
54
|
-
"internalType": "bytes32",
|
55
|
-
"name": "executionHash",
|
43
|
+
"name": "parentAssertionHash",
|
56
44
|
"type": "bytes32"
|
57
45
|
},
|
58
46
|
{
|
59
47
|
"components": [
|
48
|
+
{
|
49
|
+
"components": [
|
50
|
+
{
|
51
|
+
"internalType": "bytes32",
|
52
|
+
"name": "prevPrevAssertionHash",
|
53
|
+
"type": "bytes32"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"internalType": "bytes32",
|
57
|
+
"name": "sequencerBatchAcc",
|
58
|
+
"type": "bytes32"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"components": [
|
62
|
+
{
|
63
|
+
"internalType": "bytes32",
|
64
|
+
"name": "wasmModuleRoot",
|
65
|
+
"type": "bytes32"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"internalType": "uint256",
|
69
|
+
"name": "requiredStake",
|
70
|
+
"type": "uint256"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "challengeManager",
|
75
|
+
"type": "address"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"internalType": "uint64",
|
79
|
+
"name": "confirmPeriodBlocks",
|
80
|
+
"type": "uint64"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"internalType": "uint64",
|
84
|
+
"name": "nextInboxPosition",
|
85
|
+
"type": "uint64"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"internalType": "struct ConfigData",
|
89
|
+
"name": "configData",
|
90
|
+
"type": "tuple"
|
91
|
+
}
|
92
|
+
],
|
93
|
+
"internalType": "struct BeforeStateData",
|
94
|
+
"name": "beforeStateData",
|
95
|
+
"type": "tuple"
|
96
|
+
},
|
60
97
|
{
|
61
98
|
"components": [
|
62
99
|
{
|
@@ -80,9 +117,14 @@
|
|
80
117
|
"internalType": "enum MachineStatus",
|
81
118
|
"name": "machineStatus",
|
82
119
|
"type": "uint8"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "bytes32",
|
123
|
+
"name": "endHistoryRoot",
|
124
|
+
"type": "bytes32"
|
83
125
|
}
|
84
126
|
],
|
85
|
-
"internalType": "struct
|
127
|
+
"internalType": "struct AssertionState",
|
86
128
|
"name": "beforeState",
|
87
129
|
"type": "tuple"
|
88
130
|
},
|
@@ -109,20 +151,20 @@
|
|
109
151
|
"internalType": "enum MachineStatus",
|
110
152
|
"name": "machineStatus",
|
111
153
|
"type": "uint8"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"internalType": "bytes32",
|
157
|
+
"name": "endHistoryRoot",
|
158
|
+
"type": "bytes32"
|
112
159
|
}
|
113
160
|
],
|
114
|
-
"internalType": "struct
|
161
|
+
"internalType": "struct AssertionState",
|
115
162
|
"name": "afterState",
|
116
163
|
"type": "tuple"
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"internalType": "uint64",
|
120
|
-
"name": "numBlocks",
|
121
|
-
"type": "uint64"
|
122
164
|
}
|
123
165
|
],
|
124
166
|
"indexed": false,
|
125
|
-
"internalType": "struct
|
167
|
+
"internalType": "struct AssertionInputs",
|
126
168
|
"name": "assertion",
|
127
169
|
"type": "tuple"
|
128
170
|
},
|
@@ -132,6 +174,12 @@
|
|
132
174
|
"name": "afterInboxBatchAcc",
|
133
175
|
"type": "bytes32"
|
134
176
|
},
|
177
|
+
{
|
178
|
+
"indexed": false,
|
179
|
+
"internalType": "uint256",
|
180
|
+
"name": "inboxMaxCount",
|
181
|
+
"type": "uint256"
|
182
|
+
},
|
135
183
|
{
|
136
184
|
"indexed": false,
|
137
185
|
"internalType": "bytes32",
|
@@ -141,24 +189,23 @@
|
|
141
189
|
{
|
142
190
|
"indexed": false,
|
143
191
|
"internalType": "uint256",
|
144
|
-
"name": "
|
192
|
+
"name": "requiredStake",
|
145
193
|
"type": "uint256"
|
146
|
-
}
|
147
|
-
],
|
148
|
-
"name": "NodeCreated",
|
149
|
-
"type": "event"
|
150
|
-
},
|
151
|
-
{
|
152
|
-
"anonymous": false,
|
153
|
-
"inputs": [
|
194
|
+
},
|
154
195
|
{
|
155
|
-
"indexed":
|
196
|
+
"indexed": false,
|
197
|
+
"internalType": "address",
|
198
|
+
"name": "challengeManager",
|
199
|
+
"type": "address"
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"indexed": false,
|
156
203
|
"internalType": "uint64",
|
157
|
-
"name": "
|
204
|
+
"name": "confirmPeriodBlocks",
|
158
205
|
"type": "uint64"
|
159
206
|
}
|
160
207
|
],
|
161
|
-
"name": "
|
208
|
+
"name": "AssertionCreated",
|
162
209
|
"type": "event"
|
163
210
|
},
|
164
211
|
{
|
@@ -185,7 +232,7 @@
|
|
185
232
|
{
|
186
233
|
"indexed": false,
|
187
234
|
"internalType": "uint64",
|
188
|
-
"name": "
|
235
|
+
"name": "challengedAssertion",
|
189
236
|
"type": "uint64"
|
190
237
|
}
|
191
238
|
],
|
@@ -220,6 +267,12 @@
|
|
220
267
|
"name": "user",
|
221
268
|
"type": "address"
|
222
269
|
},
|
270
|
+
{
|
271
|
+
"indexed": true,
|
272
|
+
"internalType": "address",
|
273
|
+
"name": "withdrawalAddress",
|
274
|
+
"type": "address"
|
275
|
+
},
|
223
276
|
{
|
224
277
|
"indexed": false,
|
225
278
|
"internalType": "uint256",
|
@@ -267,11 +320,21 @@
|
|
267
320
|
"internalType": "address",
|
268
321
|
"name": "stakerAddress",
|
269
322
|
"type": "address"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"internalType": "address",
|
326
|
+
"name": "expectedWithdrawalAddress",
|
327
|
+
"type": "address"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"internalType": "uint256",
|
331
|
+
"name": "tokenAmount",
|
332
|
+
"type": "uint256"
|
270
333
|
}
|
271
334
|
],
|
272
335
|
"name": "addToDeposit",
|
273
336
|
"outputs": [],
|
274
|
-
"stateMutability": "
|
337
|
+
"stateMutability": "nonpayable",
|
275
338
|
"type": "function"
|
276
339
|
},
|
277
340
|
{
|
@@ -337,7 +400,7 @@
|
|
337
400
|
"name": "challengeManager",
|
338
401
|
"outputs": [
|
339
402
|
{
|
340
|
-
"internalType": "contract
|
403
|
+
"internalType": "contract IEdgeChallengeManager",
|
341
404
|
"name": "",
|
342
405
|
"type": "address"
|
343
406
|
}
|
@@ -349,16 +412,92 @@
|
|
349
412
|
"inputs": [
|
350
413
|
{
|
351
414
|
"internalType": "bytes32",
|
352
|
-
"name": "
|
415
|
+
"name": "assertionHash",
|
353
416
|
"type": "bytes32"
|
354
417
|
},
|
355
418
|
{
|
356
419
|
"internalType": "bytes32",
|
357
|
-
"name": "
|
420
|
+
"name": "prevAssertionHash",
|
421
|
+
"type": "bytes32"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"components": [
|
425
|
+
{
|
426
|
+
"components": [
|
427
|
+
{
|
428
|
+
"internalType": "bytes32[2]",
|
429
|
+
"name": "bytes32Vals",
|
430
|
+
"type": "bytes32[2]"
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"internalType": "uint64[2]",
|
434
|
+
"name": "u64Vals",
|
435
|
+
"type": "uint64[2]"
|
436
|
+
}
|
437
|
+
],
|
438
|
+
"internalType": "struct GlobalState",
|
439
|
+
"name": "globalState",
|
440
|
+
"type": "tuple"
|
441
|
+
},
|
442
|
+
{
|
443
|
+
"internalType": "enum MachineStatus",
|
444
|
+
"name": "machineStatus",
|
445
|
+
"type": "uint8"
|
446
|
+
},
|
447
|
+
{
|
448
|
+
"internalType": "bytes32",
|
449
|
+
"name": "endHistoryRoot",
|
450
|
+
"type": "bytes32"
|
451
|
+
}
|
452
|
+
],
|
453
|
+
"internalType": "struct AssertionState",
|
454
|
+
"name": "confirmState",
|
455
|
+
"type": "tuple"
|
456
|
+
},
|
457
|
+
{
|
458
|
+
"internalType": "bytes32",
|
459
|
+
"name": "winningEdgeId",
|
460
|
+
"type": "bytes32"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"components": [
|
464
|
+
{
|
465
|
+
"internalType": "bytes32",
|
466
|
+
"name": "wasmModuleRoot",
|
467
|
+
"type": "bytes32"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"internalType": "uint256",
|
471
|
+
"name": "requiredStake",
|
472
|
+
"type": "uint256"
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"internalType": "address",
|
476
|
+
"name": "challengeManager",
|
477
|
+
"type": "address"
|
478
|
+
},
|
479
|
+
{
|
480
|
+
"internalType": "uint64",
|
481
|
+
"name": "confirmPeriodBlocks",
|
482
|
+
"type": "uint64"
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"internalType": "uint64",
|
486
|
+
"name": "nextInboxPosition",
|
487
|
+
"type": "uint64"
|
488
|
+
}
|
489
|
+
],
|
490
|
+
"internalType": "struct ConfigData",
|
491
|
+
"name": "prevConfig",
|
492
|
+
"type": "tuple"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"internalType": "bytes32",
|
496
|
+
"name": "inboxAcc",
|
358
497
|
"type": "bytes32"
|
359
498
|
}
|
360
499
|
],
|
361
|
-
"name": "
|
500
|
+
"name": "confirmAssertion",
|
362
501
|
"outputs": [],
|
363
502
|
"stateMutability": "nonpayable",
|
364
503
|
"type": "function"
|
@@ -377,138 +516,97 @@
|
|
377
516
|
"type": "function"
|
378
517
|
},
|
379
518
|
{
|
380
|
-
"inputs": [
|
381
|
-
|
382
|
-
"internalType": "uint64",
|
383
|
-
"name": "nodeNum",
|
384
|
-
"type": "uint64"
|
385
|
-
}
|
386
|
-
],
|
387
|
-
"name": "countStakedZombies",
|
519
|
+
"inputs": [],
|
520
|
+
"name": "genesisAssertionHash",
|
388
521
|
"outputs": [
|
389
522
|
{
|
390
|
-
"internalType": "
|
523
|
+
"internalType": "bytes32",
|
391
524
|
"name": "",
|
392
|
-
"type": "
|
525
|
+
"type": "bytes32"
|
393
526
|
}
|
394
527
|
],
|
395
|
-
"stateMutability": "
|
528
|
+
"stateMutability": "pure",
|
396
529
|
"type": "function"
|
397
530
|
},
|
398
531
|
{
|
399
532
|
"inputs": [
|
400
533
|
{
|
401
|
-
"internalType": "
|
402
|
-
"name": "
|
403
|
-
"type": "
|
534
|
+
"internalType": "bytes32",
|
535
|
+
"name": "assertionHash",
|
536
|
+
"type": "bytes32"
|
404
537
|
}
|
405
538
|
],
|
406
|
-
"name": "
|
539
|
+
"name": "getAssertion",
|
407
540
|
"outputs": [
|
408
|
-
{
|
409
|
-
"internalType": "uint256",
|
410
|
-
"name": "",
|
411
|
-
"type": "uint256"
|
412
|
-
}
|
413
|
-
],
|
414
|
-
"stateMutability": "view",
|
415
|
-
"type": "function"
|
416
|
-
},
|
417
|
-
{
|
418
|
-
"inputs": [
|
419
|
-
{
|
420
|
-
"internalType": "address[2]",
|
421
|
-
"name": "stakers",
|
422
|
-
"type": "address[2]"
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"internalType": "uint64[2]",
|
426
|
-
"name": "nodeNums",
|
427
|
-
"type": "uint64[2]"
|
428
|
-
},
|
429
|
-
{
|
430
|
-
"internalType": "enum MachineStatus[2]",
|
431
|
-
"name": "machineStatuses",
|
432
|
-
"type": "uint8[2]"
|
433
|
-
},
|
434
541
|
{
|
435
542
|
"components": [
|
436
543
|
{
|
437
|
-
"internalType": "
|
438
|
-
"name": "
|
439
|
-
"type": "
|
544
|
+
"internalType": "uint64",
|
545
|
+
"name": "firstChildBlock",
|
546
|
+
"type": "uint64"
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"internalType": "uint64",
|
550
|
+
"name": "secondChildBlock",
|
551
|
+
"type": "uint64"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"internalType": "uint64",
|
555
|
+
"name": "createdAtBlock",
|
556
|
+
"type": "uint64"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"internalType": "bool",
|
560
|
+
"name": "isFirstChild",
|
561
|
+
"type": "bool"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"internalType": "enum AssertionStatus",
|
565
|
+
"name": "status",
|
566
|
+
"type": "uint8"
|
440
567
|
},
|
441
568
|
{
|
442
|
-
"internalType": "
|
443
|
-
"name": "
|
444
|
-
"type": "
|
569
|
+
"internalType": "bytes32",
|
570
|
+
"name": "configHash",
|
571
|
+
"type": "bytes32"
|
445
572
|
}
|
446
573
|
],
|
447
|
-
"internalType": "struct
|
448
|
-
"name": "
|
449
|
-
"type": "tuple
|
450
|
-
},
|
451
|
-
{
|
452
|
-
"internalType": "uint64",
|
453
|
-
"name": "numBlocks",
|
454
|
-
"type": "uint64"
|
455
|
-
},
|
456
|
-
{
|
457
|
-
"internalType": "bytes32",
|
458
|
-
"name": "secondExecutionHash",
|
459
|
-
"type": "bytes32"
|
460
|
-
},
|
461
|
-
{
|
462
|
-
"internalType": "uint256[2]",
|
463
|
-
"name": "proposedTimes",
|
464
|
-
"type": "uint256[2]"
|
465
|
-
},
|
466
|
-
{
|
467
|
-
"internalType": "bytes32[2]",
|
468
|
-
"name": "wasmModuleRoots",
|
469
|
-
"type": "bytes32[2]"
|
574
|
+
"internalType": "struct AssertionNode",
|
575
|
+
"name": "",
|
576
|
+
"type": "tuple"
|
470
577
|
}
|
471
578
|
],
|
472
|
-
"
|
473
|
-
"outputs": [],
|
474
|
-
"stateMutability": "nonpayable",
|
579
|
+
"stateMutability": "view",
|
475
580
|
"type": "function"
|
476
581
|
},
|
477
582
|
{
|
478
583
|
"inputs": [
|
479
584
|
{
|
480
|
-
"internalType": "
|
481
|
-
"name": "
|
482
|
-
"type": "
|
585
|
+
"internalType": "bytes32",
|
586
|
+
"name": "assertionHash",
|
587
|
+
"type": "bytes32"
|
483
588
|
}
|
484
589
|
],
|
485
|
-
"name": "
|
590
|
+
"name": "getAssertionCreationBlockForLogLookup",
|
486
591
|
"outputs": [
|
487
592
|
{
|
488
|
-
"internalType": "
|
593
|
+
"internalType": "uint256",
|
489
594
|
"name": "",
|
490
|
-
"type": "
|
595
|
+
"type": "uint256"
|
491
596
|
}
|
492
597
|
],
|
493
598
|
"stateMutability": "view",
|
494
599
|
"type": "function"
|
495
600
|
},
|
496
601
|
{
|
497
|
-
"inputs": [
|
498
|
-
"name": "currentRequiredStake",
|
499
|
-
"outputs": [
|
602
|
+
"inputs": [
|
500
603
|
{
|
501
|
-
"internalType": "
|
502
|
-
"name": "",
|
503
|
-
"type": "
|
604
|
+
"internalType": "bytes32",
|
605
|
+
"name": "assertionHash",
|
606
|
+
"type": "bytes32"
|
504
607
|
}
|
505
608
|
],
|
506
|
-
"
|
507
|
-
"type": "function"
|
508
|
-
},
|
509
|
-
{
|
510
|
-
"inputs": [],
|
511
|
-
"name": "extraChallengeTimeBlocks",
|
609
|
+
"name": "getFirstChildCreationBlock",
|
512
610
|
"outputs": [
|
513
611
|
{
|
514
612
|
"internalType": "uint64",
|
@@ -523,28 +621,11 @@
|
|
523
621
|
"inputs": [
|
524
622
|
{
|
525
623
|
"internalType": "bytes32",
|
526
|
-
"name": "
|
527
|
-
"type": "bytes32"
|
528
|
-
},
|
529
|
-
{
|
530
|
-
"internalType": "bytes32",
|
531
|
-
"name": "sendRoot",
|
532
|
-
"type": "bytes32"
|
533
|
-
},
|
534
|
-
{
|
535
|
-
"internalType": "bytes32",
|
536
|
-
"name": "nodeHash",
|
624
|
+
"name": "assertionHash",
|
537
625
|
"type": "bytes32"
|
538
626
|
}
|
539
627
|
],
|
540
|
-
"name": "
|
541
|
-
"outputs": [],
|
542
|
-
"stateMutability": "nonpayable",
|
543
|
-
"type": "function"
|
544
|
-
},
|
545
|
-
{
|
546
|
-
"inputs": [],
|
547
|
-
"name": "firstUnresolvedNode",
|
628
|
+
"name": "getSecondChildCreationBlock",
|
548
629
|
"outputs": [
|
549
630
|
{
|
550
631
|
"internalType": "uint64",
|
@@ -558,77 +639,42 @@
|
|
558
639
|
{
|
559
640
|
"inputs": [
|
560
641
|
{
|
561
|
-
"internalType": "
|
562
|
-
"name": "
|
563
|
-
"type": "
|
642
|
+
"internalType": "address",
|
643
|
+
"name": "staker",
|
644
|
+
"type": "address"
|
564
645
|
}
|
565
646
|
],
|
566
|
-
"name": "
|
647
|
+
"name": "getStaker",
|
567
648
|
"outputs": [
|
568
649
|
{
|
569
650
|
"components": [
|
570
651
|
{
|
571
|
-
"internalType": "
|
572
|
-
"name": "
|
573
|
-
"type": "
|
652
|
+
"internalType": "uint256",
|
653
|
+
"name": "amountStaked",
|
654
|
+
"type": "uint256"
|
574
655
|
},
|
575
656
|
{
|
576
657
|
"internalType": "bytes32",
|
577
|
-
"name": "
|
658
|
+
"name": "latestStakedAssertion",
|
578
659
|
"type": "bytes32"
|
579
660
|
},
|
580
|
-
{
|
581
|
-
"internalType": "bytes32",
|
582
|
-
"name": "confirmData",
|
583
|
-
"type": "bytes32"
|
584
|
-
},
|
585
|
-
{
|
586
|
-
"internalType": "uint64",
|
587
|
-
"name": "prevNum",
|
588
|
-
"type": "uint64"
|
589
|
-
},
|
590
|
-
{
|
591
|
-
"internalType": "uint64",
|
592
|
-
"name": "deadlineBlock",
|
593
|
-
"type": "uint64"
|
594
|
-
},
|
595
|
-
{
|
596
|
-
"internalType": "uint64",
|
597
|
-
"name": "noChildConfirmedBeforeBlock",
|
598
|
-
"type": "uint64"
|
599
|
-
},
|
600
|
-
{
|
601
|
-
"internalType": "uint64",
|
602
|
-
"name": "stakerCount",
|
603
|
-
"type": "uint64"
|
604
|
-
},
|
605
|
-
{
|
606
|
-
"internalType": "uint64",
|
607
|
-
"name": "childStakerCount",
|
608
|
-
"type": "uint64"
|
609
|
-
},
|
610
|
-
{
|
611
|
-
"internalType": "uint64",
|
612
|
-
"name": "firstChildBlock",
|
613
|
-
"type": "uint64"
|
614
|
-
},
|
615
661
|
{
|
616
662
|
"internalType": "uint64",
|
617
|
-
"name": "
|
663
|
+
"name": "index",
|
618
664
|
"type": "uint64"
|
619
665
|
},
|
620
666
|
{
|
621
|
-
"internalType": "
|
622
|
-
"name": "
|
623
|
-
"type": "
|
667
|
+
"internalType": "bool",
|
668
|
+
"name": "isStaked",
|
669
|
+
"type": "bool"
|
624
670
|
},
|
625
671
|
{
|
626
|
-
"internalType": "
|
627
|
-
"name": "
|
628
|
-
"type": "
|
672
|
+
"internalType": "address",
|
673
|
+
"name": "withdrawalAddress",
|
674
|
+
"type": "address"
|
629
675
|
}
|
630
676
|
],
|
631
|
-
"internalType": "struct
|
677
|
+
"internalType": "struct IRollupCore.Staker",
|
632
678
|
"name": "",
|
633
679
|
"type": "tuple"
|
634
680
|
}
|
@@ -640,81 +686,29 @@
|
|
640
686
|
"inputs": [
|
641
687
|
{
|
642
688
|
"internalType": "uint64",
|
643
|
-
"name": "
|
689
|
+
"name": "stakerNum",
|
644
690
|
"type": "uint64"
|
645
691
|
}
|
646
692
|
],
|
647
|
-
"name": "
|
693
|
+
"name": "getStakerAddress",
|
648
694
|
"outputs": [
|
649
|
-
{
|
650
|
-
"internalType": "uint256",
|
651
|
-
"name": "",
|
652
|
-
"type": "uint256"
|
653
|
-
}
|
654
|
-
],
|
655
|
-
"stateMutability": "view",
|
656
|
-
"type": "function"
|
657
|
-
},
|
658
|
-
{
|
659
|
-
"inputs": [
|
660
695
|
{
|
661
696
|
"internalType": "address",
|
662
|
-
"name": "staker",
|
663
|
-
"type": "address"
|
664
|
-
}
|
665
|
-
],
|
666
|
-
"name": "getStaker",
|
667
|
-
"outputs": [
|
668
|
-
{
|
669
|
-
"components": [
|
670
|
-
{
|
671
|
-
"internalType": "uint256",
|
672
|
-
"name": "amountStaked",
|
673
|
-
"type": "uint256"
|
674
|
-
},
|
675
|
-
{
|
676
|
-
"internalType": "uint64",
|
677
|
-
"name": "index",
|
678
|
-
"type": "uint64"
|
679
|
-
},
|
680
|
-
{
|
681
|
-
"internalType": "uint64",
|
682
|
-
"name": "latestStakedNode",
|
683
|
-
"type": "uint64"
|
684
|
-
},
|
685
|
-
{
|
686
|
-
"internalType": "uint64",
|
687
|
-
"name": "currentChallenge",
|
688
|
-
"type": "uint64"
|
689
|
-
},
|
690
|
-
{
|
691
|
-
"internalType": "bool",
|
692
|
-
"name": "isStaked",
|
693
|
-
"type": "bool"
|
694
|
-
}
|
695
|
-
],
|
696
|
-
"internalType": "struct IRollupCore.Staker",
|
697
697
|
"name": "",
|
698
|
-
"type": "
|
698
|
+
"type": "address"
|
699
699
|
}
|
700
700
|
],
|
701
701
|
"stateMutability": "view",
|
702
702
|
"type": "function"
|
703
703
|
},
|
704
704
|
{
|
705
|
-
"inputs": [
|
706
|
-
|
707
|
-
"internalType": "uint64",
|
708
|
-
"name": "stakerNum",
|
709
|
-
"type": "uint64"
|
710
|
-
}
|
711
|
-
],
|
712
|
-
"name": "getStakerAddress",
|
705
|
+
"inputs": [],
|
706
|
+
"name": "getValidators",
|
713
707
|
"outputs": [
|
714
708
|
{
|
715
|
-
"internalType": "address",
|
709
|
+
"internalType": "address[]",
|
716
710
|
"name": "",
|
717
|
-
"type": "address"
|
711
|
+
"type": "address[]"
|
718
712
|
}
|
719
713
|
],
|
720
714
|
"stateMutability": "view",
|
@@ -733,28 +727,15 @@
|
|
733
727
|
"stateMutability": "view",
|
734
728
|
"type": "function"
|
735
729
|
},
|
736
|
-
{
|
737
|
-
"inputs": [],
|
738
|
-
"name": "isERC20Enabled",
|
739
|
-
"outputs": [
|
740
|
-
{
|
741
|
-
"internalType": "bool",
|
742
|
-
"name": "",
|
743
|
-
"type": "bool"
|
744
|
-
}
|
745
|
-
],
|
746
|
-
"stateMutability": "view",
|
747
|
-
"type": "function"
|
748
|
-
},
|
749
730
|
{
|
750
731
|
"inputs": [
|
751
732
|
{
|
752
|
-
"internalType": "
|
753
|
-
"name": "
|
754
|
-
"type": "
|
733
|
+
"internalType": "bytes32",
|
734
|
+
"name": "assertionHash",
|
735
|
+
"type": "bytes32"
|
755
736
|
}
|
756
737
|
],
|
757
|
-
"name": "
|
738
|
+
"name": "isFirstChild",
|
758
739
|
"outputs": [
|
759
740
|
{
|
760
741
|
"internalType": "bool",
|
@@ -768,12 +749,12 @@
|
|
768
749
|
{
|
769
750
|
"inputs": [
|
770
751
|
{
|
771
|
-
"internalType": "
|
772
|
-
"name": "",
|
773
|
-
"type": "
|
752
|
+
"internalType": "bytes32",
|
753
|
+
"name": "assertionHash",
|
754
|
+
"type": "bytes32"
|
774
755
|
}
|
775
756
|
],
|
776
|
-
"name": "
|
757
|
+
"name": "isPending",
|
777
758
|
"outputs": [
|
778
759
|
{
|
779
760
|
"internalType": "bool",
|
@@ -792,7 +773,7 @@
|
|
792
773
|
"type": "address"
|
793
774
|
}
|
794
775
|
],
|
795
|
-
"name": "
|
776
|
+
"name": "isStaked",
|
796
777
|
"outputs": [
|
797
778
|
{
|
798
779
|
"internalType": "bool",
|
@@ -804,26 +785,19 @@
|
|
804
785
|
"type": "function"
|
805
786
|
},
|
806
787
|
{
|
807
|
-
"inputs": [
|
808
|
-
"name": "lastStakeBlock",
|
809
|
-
"outputs": [
|
788
|
+
"inputs": [
|
810
789
|
{
|
811
|
-
"internalType": "
|
790
|
+
"internalType": "address",
|
812
791
|
"name": "",
|
813
|
-
"type": "
|
792
|
+
"type": "address"
|
814
793
|
}
|
815
794
|
],
|
816
|
-
"
|
817
|
-
"type": "function"
|
818
|
-
},
|
819
|
-
{
|
820
|
-
"inputs": [],
|
821
|
-
"name": "latestConfirmed",
|
795
|
+
"name": "isValidator",
|
822
796
|
"outputs": [
|
823
797
|
{
|
824
|
-
"internalType": "
|
798
|
+
"internalType": "bool",
|
825
799
|
"name": "",
|
826
|
-
"type": "
|
800
|
+
"type": "bool"
|
827
801
|
}
|
828
802
|
],
|
829
803
|
"stateMutability": "view",
|
@@ -831,12 +805,12 @@
|
|
831
805
|
},
|
832
806
|
{
|
833
807
|
"inputs": [],
|
834
|
-
"name": "
|
808
|
+
"name": "latestConfirmed",
|
835
809
|
"outputs": [
|
836
810
|
{
|
837
|
-
"internalType": "
|
811
|
+
"internalType": "bytes32",
|
838
812
|
"name": "",
|
839
|
-
"type": "
|
813
|
+
"type": "bytes32"
|
840
814
|
}
|
841
815
|
],
|
842
816
|
"stateMutability": "view",
|
@@ -850,12 +824,12 @@
|
|
850
824
|
"type": "address"
|
851
825
|
}
|
852
826
|
],
|
853
|
-
"name": "
|
827
|
+
"name": "latestStakedAssertion",
|
854
828
|
"outputs": [
|
855
829
|
{
|
856
|
-
"internalType": "
|
830
|
+
"internalType": "bytes32",
|
857
831
|
"name": "",
|
858
|
-
"type": "
|
832
|
+
"type": "bytes32"
|
859
833
|
}
|
860
834
|
],
|
861
835
|
"stateMutability": "view",
|
@@ -890,25 +864,79 @@
|
|
890
864
|
{
|
891
865
|
"inputs": [
|
892
866
|
{
|
893
|
-
"internalType": "
|
894
|
-
"name": "
|
895
|
-
"type": "
|
867
|
+
"internalType": "uint256",
|
868
|
+
"name": "tokenAmount",
|
869
|
+
"type": "uint256"
|
896
870
|
},
|
897
871
|
{
|
898
|
-
"internalType": "
|
899
|
-
"name": "
|
900
|
-
"type": "
|
872
|
+
"internalType": "address",
|
873
|
+
"name": "withdrawalAddress",
|
874
|
+
"type": "address"
|
901
875
|
}
|
902
876
|
],
|
903
|
-
"name": "
|
877
|
+
"name": "newStake",
|
904
878
|
"outputs": [],
|
905
|
-
"stateMutability": "
|
879
|
+
"stateMutability": "nonpayable",
|
906
880
|
"type": "function"
|
907
881
|
},
|
908
882
|
{
|
909
883
|
"inputs": [
|
884
|
+
{
|
885
|
+
"internalType": "uint256",
|
886
|
+
"name": "tokenAmount",
|
887
|
+
"type": "uint256"
|
888
|
+
},
|
910
889
|
{
|
911
890
|
"components": [
|
891
|
+
{
|
892
|
+
"components": [
|
893
|
+
{
|
894
|
+
"internalType": "bytes32",
|
895
|
+
"name": "prevPrevAssertionHash",
|
896
|
+
"type": "bytes32"
|
897
|
+
},
|
898
|
+
{
|
899
|
+
"internalType": "bytes32",
|
900
|
+
"name": "sequencerBatchAcc",
|
901
|
+
"type": "bytes32"
|
902
|
+
},
|
903
|
+
{
|
904
|
+
"components": [
|
905
|
+
{
|
906
|
+
"internalType": "bytes32",
|
907
|
+
"name": "wasmModuleRoot",
|
908
|
+
"type": "bytes32"
|
909
|
+
},
|
910
|
+
{
|
911
|
+
"internalType": "uint256",
|
912
|
+
"name": "requiredStake",
|
913
|
+
"type": "uint256"
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"internalType": "address",
|
917
|
+
"name": "challengeManager",
|
918
|
+
"type": "address"
|
919
|
+
},
|
920
|
+
{
|
921
|
+
"internalType": "uint64",
|
922
|
+
"name": "confirmPeriodBlocks",
|
923
|
+
"type": "uint64"
|
924
|
+
},
|
925
|
+
{
|
926
|
+
"internalType": "uint64",
|
927
|
+
"name": "nextInboxPosition",
|
928
|
+
"type": "uint64"
|
929
|
+
}
|
930
|
+
],
|
931
|
+
"internalType": "struct ConfigData",
|
932
|
+
"name": "configData",
|
933
|
+
"type": "tuple"
|
934
|
+
}
|
935
|
+
],
|
936
|
+
"internalType": "struct BeforeStateData",
|
937
|
+
"name": "beforeStateData",
|
938
|
+
"type": "tuple"
|
939
|
+
},
|
912
940
|
{
|
913
941
|
"components": [
|
914
942
|
{
|
@@ -932,9 +960,14 @@
|
|
932
960
|
"internalType": "enum MachineStatus",
|
933
961
|
"name": "machineStatus",
|
934
962
|
"type": "uint8"
|
963
|
+
},
|
964
|
+
{
|
965
|
+
"internalType": "bytes32",
|
966
|
+
"name": "endHistoryRoot",
|
967
|
+
"type": "bytes32"
|
935
968
|
}
|
936
969
|
],
|
937
|
-
"internalType": "struct
|
970
|
+
"internalType": "struct AssertionState",
|
938
971
|
"name": "beforeState",
|
939
972
|
"type": "tuple"
|
940
973
|
},
|
@@ -961,60 +994,178 @@
|
|
961
994
|
"internalType": "enum MachineStatus",
|
962
995
|
"name": "machineStatus",
|
963
996
|
"type": "uint8"
|
997
|
+
},
|
998
|
+
{
|
999
|
+
"internalType": "bytes32",
|
1000
|
+
"name": "endHistoryRoot",
|
1001
|
+
"type": "bytes32"
|
964
1002
|
}
|
965
1003
|
],
|
966
|
-
"internalType": "struct
|
1004
|
+
"internalType": "struct AssertionState",
|
967
1005
|
"name": "afterState",
|
968
1006
|
"type": "tuple"
|
969
|
-
},
|
970
|
-
{
|
971
|
-
"internalType": "uint64",
|
972
|
-
"name": "numBlocks",
|
973
|
-
"type": "uint64"
|
974
1007
|
}
|
975
1008
|
],
|
976
|
-
"internalType": "struct
|
1009
|
+
"internalType": "struct AssertionInputs",
|
977
1010
|
"name": "assertion",
|
978
1011
|
"type": "tuple"
|
979
1012
|
},
|
980
1013
|
{
|
981
1014
|
"internalType": "bytes32",
|
982
|
-
"name": "
|
1015
|
+
"name": "expectedAssertionHash",
|
983
1016
|
"type": "bytes32"
|
984
1017
|
},
|
985
1018
|
{
|
986
|
-
"internalType": "
|
987
|
-
"name": "
|
988
|
-
"type": "
|
1019
|
+
"internalType": "address",
|
1020
|
+
"name": "withdrawalAddress",
|
1021
|
+
"type": "address"
|
989
1022
|
}
|
990
1023
|
],
|
991
|
-
"name": "
|
1024
|
+
"name": "newStakeOnNewAssertion",
|
992
1025
|
"outputs": [],
|
993
|
-
"stateMutability": "
|
1026
|
+
"stateMutability": "nonpayable",
|
994
1027
|
"type": "function"
|
995
1028
|
},
|
996
1029
|
{
|
997
1030
|
"inputs": [
|
998
1031
|
{
|
999
|
-
"internalType": "
|
1000
|
-
"name": "
|
1001
|
-
"type": "
|
1032
|
+
"internalType": "uint256",
|
1033
|
+
"name": "tokenAmount",
|
1034
|
+
"type": "uint256"
|
1002
1035
|
},
|
1003
1036
|
{
|
1004
|
-
"
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1037
|
+
"components": [
|
1038
|
+
{
|
1039
|
+
"components": [
|
1040
|
+
{
|
1041
|
+
"internalType": "bytes32",
|
1042
|
+
"name": "prevPrevAssertionHash",
|
1043
|
+
"type": "bytes32"
|
1044
|
+
},
|
1045
|
+
{
|
1046
|
+
"internalType": "bytes32",
|
1047
|
+
"name": "sequencerBatchAcc",
|
1048
|
+
"type": "bytes32"
|
1049
|
+
},
|
1050
|
+
{
|
1051
|
+
"components": [
|
1052
|
+
{
|
1053
|
+
"internalType": "bytes32",
|
1054
|
+
"name": "wasmModuleRoot",
|
1055
|
+
"type": "bytes32"
|
1056
|
+
},
|
1057
|
+
{
|
1058
|
+
"internalType": "uint256",
|
1059
|
+
"name": "requiredStake",
|
1060
|
+
"type": "uint256"
|
1061
|
+
},
|
1062
|
+
{
|
1063
|
+
"internalType": "address",
|
1064
|
+
"name": "challengeManager",
|
1065
|
+
"type": "address"
|
1066
|
+
},
|
1067
|
+
{
|
1068
|
+
"internalType": "uint64",
|
1069
|
+
"name": "confirmPeriodBlocks",
|
1070
|
+
"type": "uint64"
|
1071
|
+
},
|
1072
|
+
{
|
1073
|
+
"internalType": "uint64",
|
1074
|
+
"name": "nextInboxPosition",
|
1075
|
+
"type": "uint64"
|
1076
|
+
}
|
1077
|
+
],
|
1078
|
+
"internalType": "struct ConfigData",
|
1079
|
+
"name": "configData",
|
1080
|
+
"type": "tuple"
|
1081
|
+
}
|
1082
|
+
],
|
1083
|
+
"internalType": "struct BeforeStateData",
|
1084
|
+
"name": "beforeStateData",
|
1085
|
+
"type": "tuple"
|
1086
|
+
},
|
1087
|
+
{
|
1088
|
+
"components": [
|
1089
|
+
{
|
1090
|
+
"components": [
|
1091
|
+
{
|
1092
|
+
"internalType": "bytes32[2]",
|
1093
|
+
"name": "bytes32Vals",
|
1094
|
+
"type": "bytes32[2]"
|
1095
|
+
},
|
1096
|
+
{
|
1097
|
+
"internalType": "uint64[2]",
|
1098
|
+
"name": "u64Vals",
|
1099
|
+
"type": "uint64[2]"
|
1100
|
+
}
|
1101
|
+
],
|
1102
|
+
"internalType": "struct GlobalState",
|
1103
|
+
"name": "globalState",
|
1104
|
+
"type": "tuple"
|
1105
|
+
},
|
1106
|
+
{
|
1107
|
+
"internalType": "enum MachineStatus",
|
1108
|
+
"name": "machineStatus",
|
1109
|
+
"type": "uint8"
|
1110
|
+
},
|
1111
|
+
{
|
1112
|
+
"internalType": "bytes32",
|
1113
|
+
"name": "endHistoryRoot",
|
1114
|
+
"type": "bytes32"
|
1115
|
+
}
|
1116
|
+
],
|
1117
|
+
"internalType": "struct AssertionState",
|
1118
|
+
"name": "beforeState",
|
1119
|
+
"type": "tuple"
|
1120
|
+
},
|
1121
|
+
{
|
1122
|
+
"components": [
|
1123
|
+
{
|
1124
|
+
"components": [
|
1125
|
+
{
|
1126
|
+
"internalType": "bytes32[2]",
|
1127
|
+
"name": "bytes32Vals",
|
1128
|
+
"type": "bytes32[2]"
|
1129
|
+
},
|
1130
|
+
{
|
1131
|
+
"internalType": "uint64[2]",
|
1132
|
+
"name": "u64Vals",
|
1133
|
+
"type": "uint64[2]"
|
1134
|
+
}
|
1135
|
+
],
|
1136
|
+
"internalType": "struct GlobalState",
|
1137
|
+
"name": "globalState",
|
1138
|
+
"type": "tuple"
|
1139
|
+
},
|
1140
|
+
{
|
1141
|
+
"internalType": "enum MachineStatus",
|
1142
|
+
"name": "machineStatus",
|
1143
|
+
"type": "uint8"
|
1144
|
+
},
|
1145
|
+
{
|
1146
|
+
"internalType": "bytes32",
|
1147
|
+
"name": "endHistoryRoot",
|
1148
|
+
"type": "bytes32"
|
1149
|
+
}
|
1150
|
+
],
|
1151
|
+
"internalType": "struct AssertionState",
|
1152
|
+
"name": "afterState",
|
1153
|
+
"type": "tuple"
|
1154
|
+
}
|
1155
|
+
],
|
1156
|
+
"internalType": "struct AssertionInputs",
|
1157
|
+
"name": "assertion",
|
1158
|
+
"type": "tuple"
|
1159
|
+
},
|
1011
1160
|
{
|
1012
|
-
"internalType": "
|
1013
|
-
"name": "",
|
1014
|
-
"type": "
|
1161
|
+
"internalType": "bytes32",
|
1162
|
+
"name": "expectedAssertionHash",
|
1163
|
+
"type": "bytes32"
|
1015
1164
|
}
|
1016
1165
|
],
|
1017
|
-
"
|
1166
|
+
"name": "newStakeOnNewAssertion",
|
1167
|
+
"outputs": [],
|
1168
|
+
"stateMutability": "nonpayable",
|
1018
1169
|
"type": "function"
|
1019
1170
|
},
|
1020
1171
|
{
|
@@ -1056,32 +1207,6 @@
|
|
1056
1207
|
"stateMutability": "nonpayable",
|
1057
1208
|
"type": "function"
|
1058
1209
|
},
|
1059
|
-
{
|
1060
|
-
"inputs": [
|
1061
|
-
{
|
1062
|
-
"internalType": "address",
|
1063
|
-
"name": "stakerAddress",
|
1064
|
-
"type": "address"
|
1065
|
-
}
|
1066
|
-
],
|
1067
|
-
"name": "rejectNextNode",
|
1068
|
-
"outputs": [],
|
1069
|
-
"stateMutability": "nonpayable",
|
1070
|
-
"type": "function"
|
1071
|
-
},
|
1072
|
-
{
|
1073
|
-
"inputs": [
|
1074
|
-
{
|
1075
|
-
"internalType": "uint256",
|
1076
|
-
"name": "startIndex",
|
1077
|
-
"type": "uint256"
|
1078
|
-
}
|
1079
|
-
],
|
1080
|
-
"name": "removeOldZombies",
|
1081
|
-
"outputs": [],
|
1082
|
-
"stateMutability": "nonpayable",
|
1083
|
-
"type": "function"
|
1084
|
-
},
|
1085
1210
|
{
|
1086
1211
|
"inputs": [],
|
1087
1212
|
"name": "removeWhitelistAfterFork",
|
@@ -1096,71 +1221,11 @@
|
|
1096
1221
|
"stateMutability": "nonpayable",
|
1097
1222
|
"type": "function"
|
1098
1223
|
},
|
1099
|
-
{
|
1100
|
-
"inputs": [
|
1101
|
-
{
|
1102
|
-
"internalType": "uint256",
|
1103
|
-
"name": "zombieNum",
|
1104
|
-
"type": "uint256"
|
1105
|
-
},
|
1106
|
-
{
|
1107
|
-
"internalType": "uint256",
|
1108
|
-
"name": "maxNodes",
|
1109
|
-
"type": "uint256"
|
1110
|
-
}
|
1111
|
-
],
|
1112
|
-
"name": "removeZombie",
|
1113
|
-
"outputs": [],
|
1114
|
-
"stateMutability": "nonpayable",
|
1115
|
-
"type": "function"
|
1116
|
-
},
|
1117
|
-
{
|
1118
|
-
"inputs": [
|
1119
|
-
{
|
1120
|
-
"internalType": "uint256",
|
1121
|
-
"name": "nodeNum",
|
1122
|
-
"type": "uint256"
|
1123
|
-
}
|
1124
|
-
],
|
1125
|
-
"name": "requireUnresolved",
|
1126
|
-
"outputs": [],
|
1127
|
-
"stateMutability": "view",
|
1128
|
-
"type": "function"
|
1129
|
-
},
|
1130
1224
|
{
|
1131
1225
|
"inputs": [],
|
1132
|
-
"name": "
|
1226
|
+
"name": "returnOldDeposit",
|
1133
1227
|
"outputs": [],
|
1134
|
-
"stateMutability": "
|
1135
|
-
"type": "function"
|
1136
|
-
},
|
1137
|
-
{
|
1138
|
-
"inputs": [
|
1139
|
-
{
|
1140
|
-
"internalType": "uint256",
|
1141
|
-
"name": "blockNumber",
|
1142
|
-
"type": "uint256"
|
1143
|
-
},
|
1144
|
-
{
|
1145
|
-
"internalType": "uint64",
|
1146
|
-
"name": "firstUnresolvedNodeNum",
|
1147
|
-
"type": "uint64"
|
1148
|
-
},
|
1149
|
-
{
|
1150
|
-
"internalType": "uint64",
|
1151
|
-
"name": "latestCreatedNode",
|
1152
|
-
"type": "uint64"
|
1153
|
-
}
|
1154
|
-
],
|
1155
|
-
"name": "requiredStake",
|
1156
|
-
"outputs": [
|
1157
|
-
{
|
1158
|
-
"internalType": "uint256",
|
1159
|
-
"name": "",
|
1160
|
-
"type": "uint256"
|
1161
|
-
}
|
1162
|
-
],
|
1163
|
-
"stateMutability": "view",
|
1228
|
+
"stateMutability": "nonpayable",
|
1164
1229
|
"type": "function"
|
1165
1230
|
},
|
1166
1231
|
{
|
@@ -1171,7 +1236,7 @@
|
|
1171
1236
|
"type": "address"
|
1172
1237
|
}
|
1173
1238
|
],
|
1174
|
-
"name": "
|
1239
|
+
"name": "returnOldDepositFor",
|
1175
1240
|
"outputs": [],
|
1176
1241
|
"stateMutability": "nonpayable",
|
1177
1242
|
"type": "function"
|
@@ -1202,28 +1267,59 @@
|
|
1202
1267
|
"stateMutability": "view",
|
1203
1268
|
"type": "function"
|
1204
1269
|
},
|
1205
|
-
{
|
1206
|
-
"inputs": [
|
1207
|
-
{
|
1208
|
-
"internalType": "uint64",
|
1209
|
-
"name": "nodeNum",
|
1210
|
-
"type": "uint64"
|
1211
|
-
},
|
1212
|
-
{
|
1213
|
-
"internalType": "bytes32",
|
1214
|
-
"name": "nodeHash",
|
1215
|
-
"type": "bytes32"
|
1216
|
-
}
|
1217
|
-
],
|
1218
|
-
"name": "stakeOnExistingNode",
|
1219
|
-
"outputs": [],
|
1220
|
-
"stateMutability": "nonpayable",
|
1221
|
-
"type": "function"
|
1222
|
-
},
|
1223
1270
|
{
|
1224
1271
|
"inputs": [
|
1225
1272
|
{
|
1226
1273
|
"components": [
|
1274
|
+
{
|
1275
|
+
"components": [
|
1276
|
+
{
|
1277
|
+
"internalType": "bytes32",
|
1278
|
+
"name": "prevPrevAssertionHash",
|
1279
|
+
"type": "bytes32"
|
1280
|
+
},
|
1281
|
+
{
|
1282
|
+
"internalType": "bytes32",
|
1283
|
+
"name": "sequencerBatchAcc",
|
1284
|
+
"type": "bytes32"
|
1285
|
+
},
|
1286
|
+
{
|
1287
|
+
"components": [
|
1288
|
+
{
|
1289
|
+
"internalType": "bytes32",
|
1290
|
+
"name": "wasmModuleRoot",
|
1291
|
+
"type": "bytes32"
|
1292
|
+
},
|
1293
|
+
{
|
1294
|
+
"internalType": "uint256",
|
1295
|
+
"name": "requiredStake",
|
1296
|
+
"type": "uint256"
|
1297
|
+
},
|
1298
|
+
{
|
1299
|
+
"internalType": "address",
|
1300
|
+
"name": "challengeManager",
|
1301
|
+
"type": "address"
|
1302
|
+
},
|
1303
|
+
{
|
1304
|
+
"internalType": "uint64",
|
1305
|
+
"name": "confirmPeriodBlocks",
|
1306
|
+
"type": "uint64"
|
1307
|
+
},
|
1308
|
+
{
|
1309
|
+
"internalType": "uint64",
|
1310
|
+
"name": "nextInboxPosition",
|
1311
|
+
"type": "uint64"
|
1312
|
+
}
|
1313
|
+
],
|
1314
|
+
"internalType": "struct ConfigData",
|
1315
|
+
"name": "configData",
|
1316
|
+
"type": "tuple"
|
1317
|
+
}
|
1318
|
+
],
|
1319
|
+
"internalType": "struct BeforeStateData",
|
1320
|
+
"name": "beforeStateData",
|
1321
|
+
"type": "tuple"
|
1322
|
+
},
|
1227
1323
|
{
|
1228
1324
|
"components": [
|
1229
1325
|
{
|
@@ -1247,9 +1343,14 @@
|
|
1247
1343
|
"internalType": "enum MachineStatus",
|
1248
1344
|
"name": "machineStatus",
|
1249
1345
|
"type": "uint8"
|
1346
|
+
},
|
1347
|
+
{
|
1348
|
+
"internalType": "bytes32",
|
1349
|
+
"name": "endHistoryRoot",
|
1350
|
+
"type": "bytes32"
|
1250
1351
|
}
|
1251
1352
|
],
|
1252
|
-
"internalType": "struct
|
1353
|
+
"internalType": "struct AssertionState",
|
1253
1354
|
"name": "beforeState",
|
1254
1355
|
"type": "tuple"
|
1255
1356
|
},
|
@@ -1276,34 +1377,29 @@
|
|
1276
1377
|
"internalType": "enum MachineStatus",
|
1277
1378
|
"name": "machineStatus",
|
1278
1379
|
"type": "uint8"
|
1380
|
+
},
|
1381
|
+
{
|
1382
|
+
"internalType": "bytes32",
|
1383
|
+
"name": "endHistoryRoot",
|
1384
|
+
"type": "bytes32"
|
1279
1385
|
}
|
1280
1386
|
],
|
1281
|
-
"internalType": "struct
|
1387
|
+
"internalType": "struct AssertionState",
|
1282
1388
|
"name": "afterState",
|
1283
1389
|
"type": "tuple"
|
1284
|
-
},
|
1285
|
-
{
|
1286
|
-
"internalType": "uint64",
|
1287
|
-
"name": "numBlocks",
|
1288
|
-
"type": "uint64"
|
1289
1390
|
}
|
1290
1391
|
],
|
1291
|
-
"internalType": "struct
|
1392
|
+
"internalType": "struct AssertionInputs",
|
1292
1393
|
"name": "assertion",
|
1293
1394
|
"type": "tuple"
|
1294
1395
|
},
|
1295
1396
|
{
|
1296
1397
|
"internalType": "bytes32",
|
1297
|
-
"name": "
|
1398
|
+
"name": "expectedAssertionHash",
|
1298
1399
|
"type": "bytes32"
|
1299
|
-
},
|
1300
|
-
{
|
1301
|
-
"internalType": "uint256",
|
1302
|
-
"name": "prevNodeInboxMaxCount",
|
1303
|
-
"type": "uint256"
|
1304
1400
|
}
|
1305
1401
|
],
|
1306
|
-
"name": "
|
1402
|
+
"name": "stakeOnNewAssertion",
|
1307
1403
|
"outputs": [],
|
1308
1404
|
"stateMutability": "nonpayable",
|
1309
1405
|
"type": "function"
|
@@ -1334,6 +1430,121 @@
|
|
1334
1430
|
"stateMutability": "view",
|
1335
1431
|
"type": "function"
|
1336
1432
|
},
|
1433
|
+
{
|
1434
|
+
"inputs": [
|
1435
|
+
{
|
1436
|
+
"internalType": "bytes32",
|
1437
|
+
"name": "assertionHash",
|
1438
|
+
"type": "bytes32"
|
1439
|
+
},
|
1440
|
+
{
|
1441
|
+
"components": [
|
1442
|
+
{
|
1443
|
+
"components": [
|
1444
|
+
{
|
1445
|
+
"internalType": "bytes32[2]",
|
1446
|
+
"name": "bytes32Vals",
|
1447
|
+
"type": "bytes32[2]"
|
1448
|
+
},
|
1449
|
+
{
|
1450
|
+
"internalType": "uint64[2]",
|
1451
|
+
"name": "u64Vals",
|
1452
|
+
"type": "uint64[2]"
|
1453
|
+
}
|
1454
|
+
],
|
1455
|
+
"internalType": "struct GlobalState",
|
1456
|
+
"name": "globalState",
|
1457
|
+
"type": "tuple"
|
1458
|
+
},
|
1459
|
+
{
|
1460
|
+
"internalType": "enum MachineStatus",
|
1461
|
+
"name": "machineStatus",
|
1462
|
+
"type": "uint8"
|
1463
|
+
},
|
1464
|
+
{
|
1465
|
+
"internalType": "bytes32",
|
1466
|
+
"name": "endHistoryRoot",
|
1467
|
+
"type": "bytes32"
|
1468
|
+
}
|
1469
|
+
],
|
1470
|
+
"internalType": "struct AssertionState",
|
1471
|
+
"name": "state",
|
1472
|
+
"type": "tuple"
|
1473
|
+
},
|
1474
|
+
{
|
1475
|
+
"internalType": "bytes32",
|
1476
|
+
"name": "prevAssertionHash",
|
1477
|
+
"type": "bytes32"
|
1478
|
+
},
|
1479
|
+
{
|
1480
|
+
"internalType": "bytes32",
|
1481
|
+
"name": "inboxAcc",
|
1482
|
+
"type": "bytes32"
|
1483
|
+
}
|
1484
|
+
],
|
1485
|
+
"name": "validateAssertionHash",
|
1486
|
+
"outputs": [],
|
1487
|
+
"stateMutability": "view",
|
1488
|
+
"type": "function"
|
1489
|
+
},
|
1490
|
+
{
|
1491
|
+
"inputs": [
|
1492
|
+
{
|
1493
|
+
"internalType": "bytes32",
|
1494
|
+
"name": "assertionHash",
|
1495
|
+
"type": "bytes32"
|
1496
|
+
},
|
1497
|
+
{
|
1498
|
+
"components": [
|
1499
|
+
{
|
1500
|
+
"internalType": "bytes32",
|
1501
|
+
"name": "wasmModuleRoot",
|
1502
|
+
"type": "bytes32"
|
1503
|
+
},
|
1504
|
+
{
|
1505
|
+
"internalType": "uint256",
|
1506
|
+
"name": "requiredStake",
|
1507
|
+
"type": "uint256"
|
1508
|
+
},
|
1509
|
+
{
|
1510
|
+
"internalType": "address",
|
1511
|
+
"name": "challengeManager",
|
1512
|
+
"type": "address"
|
1513
|
+
},
|
1514
|
+
{
|
1515
|
+
"internalType": "uint64",
|
1516
|
+
"name": "confirmPeriodBlocks",
|
1517
|
+
"type": "uint64"
|
1518
|
+
},
|
1519
|
+
{
|
1520
|
+
"internalType": "uint64",
|
1521
|
+
"name": "nextInboxPosition",
|
1522
|
+
"type": "uint64"
|
1523
|
+
}
|
1524
|
+
],
|
1525
|
+
"internalType": "struct ConfigData",
|
1526
|
+
"name": "configData",
|
1527
|
+
"type": "tuple"
|
1528
|
+
}
|
1529
|
+
],
|
1530
|
+
"name": "validateConfig",
|
1531
|
+
"outputs": [],
|
1532
|
+
"stateMutability": "view",
|
1533
|
+
"type": "function"
|
1534
|
+
},
|
1535
|
+
{
|
1536
|
+
"inputs": [],
|
1537
|
+
"name": "validatorAfkBlocks",
|
1538
|
+
"outputs": [
|
1539
|
+
{
|
1540
|
+
"internalType": "uint64",
|
1541
|
+
"name": "",
|
1542
|
+
"type": "uint64"
|
1543
|
+
}
|
1544
|
+
],
|
1545
|
+
"stateMutability": "view",
|
1546
|
+
"type": "function"
|
1547
|
+
},
|
1337
1548
|
{
|
1338
1549
|
"inputs": [],
|
1339
1550
|
"name": "validatorWhitelistDisabled",
|
@@ -1394,50 +1605,18 @@
|
|
1394
1605
|
},
|
1395
1606
|
{
|
1396
1607
|
"inputs": [
|
1397
|
-
{
|
1398
|
-
"internalType": "uint256",
|
1399
|
-
"name": "zombieNum",
|
1400
|
-
"type": "uint256"
|
1401
|
-
}
|
1402
|
-
],
|
1403
|
-
"name": "zombieAddress",
|
1404
|
-
"outputs": [
|
1405
1608
|
{
|
1406
1609
|
"internalType": "address",
|
1407
|
-
"name": "",
|
1610
|
+
"name": "staker",
|
1408
1611
|
"type": "address"
|
1409
1612
|
}
|
1410
1613
|
],
|
1411
|
-
"
|
1412
|
-
"type": "function"
|
1413
|
-
},
|
1414
|
-
{
|
1415
|
-
"inputs": [],
|
1416
|
-
"name": "zombieCount",
|
1417
|
-
"outputs": [
|
1418
|
-
{
|
1419
|
-
"internalType": "uint256",
|
1420
|
-
"name": "",
|
1421
|
-
"type": "uint256"
|
1422
|
-
}
|
1423
|
-
],
|
1424
|
-
"stateMutability": "view",
|
1425
|
-
"type": "function"
|
1426
|
-
},
|
1427
|
-
{
|
1428
|
-
"inputs": [
|
1429
|
-
{
|
1430
|
-
"internalType": "uint256",
|
1431
|
-
"name": "zombieNum",
|
1432
|
-
"type": "uint256"
|
1433
|
-
}
|
1434
|
-
],
|
1435
|
-
"name": "zombieLatestStakedNode",
|
1614
|
+
"name": "withdrawalAddress",
|
1436
1615
|
"outputs": [
|
1437
1616
|
{
|
1438
|
-
"internalType": "
|
1617
|
+
"internalType": "address",
|
1439
1618
|
"name": "",
|
1440
|
-
"type": "
|
1619
|
+
"type": "address"
|
1441
1620
|
}
|
1442
1621
|
],
|
1443
1622
|
"stateMutability": "view",
|