@arbitrum/nitro-contracts 2.0.0 → 3.0.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (503) hide show
  1. package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
  2. package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
  3. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
  4. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +2 -2
  5. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
  6. package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +1 -1
  7. package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
  8. package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +1 -1
  9. package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json +2 -2
  10. package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
  11. package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +2 -2
  12. package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
  13. package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +2 -2
  14. package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.dbg.json +1 -1
  15. package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +1 -1
  16. package/build/contracts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  17. package/build/contracts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +2 -2
  18. package/build/contracts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  19. package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  20. package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.dbg.json +4 -0
  21. package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.json +86 -0
  22. package/build/contracts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
  23. package/build/contracts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.json +2 -2
  24. package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
  25. package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.json +2 -2
  26. package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  27. package/build/contracts/@openzeppelin/contracts/utils/Create2.sol/Create2.dbg.json +4 -0
  28. package/build/contracts/@openzeppelin/contracts/utils/Create2.sol/Create2.json +10 -0
  29. package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
  30. package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +2 -2
  31. package/build/contracts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +1 -1
  32. package/build/contracts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +2 -2
  33. package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.dbg.json +1 -1
  34. package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.json +13 -0
  35. package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.dbg.json +1 -1
  36. package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  37. package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +13 -0
  38. package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  39. package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +15 -1
  40. package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
  41. package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.json +13 -0
  42. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  43. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +2 -2
  44. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  45. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +15 -1
  46. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/Create2Upgradeable.sol/Create2Upgradeable.dbg.json +4 -0
  47. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/Create2Upgradeable.sol/Create2Upgradeable.json +10 -0
  48. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.dbg.json +1 -1
  49. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.json +2 -2
  50. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.dbg.json +1 -1
  51. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.json +2 -2
  52. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.dbg.json +1 -1
  53. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.json +13 -0
  54. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.dbg.json +1 -1
  55. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/structs/EnumerableSetUpgradeable.sol/EnumerableSetUpgradeable.dbg.json +4 -0
  56. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/structs/EnumerableSetUpgradeable.sol/EnumerableSetUpgradeable.json +10 -0
  57. package/build/contracts/src/assertionStakingPool/AbsBoldStakingPool.sol/AbsBoldStakingPool.dbg.json +4 -0
  58. package/build/contracts/{@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.json → src/assertionStakingPool/AbsBoldStakingPool.sol/AbsBoldStakingPool.json} +41 -95
  59. package/build/contracts/src/assertionStakingPool/AssertionStakingPool.sol/AssertionStakingPool.dbg.json +4 -0
  60. package/build/contracts/src/assertionStakingPool/AssertionStakingPool.sol/AssertionStakingPool.json +340 -0
  61. package/build/contracts/src/assertionStakingPool/AssertionStakingPoolCreator.sol/AssertionStakingPoolCreator.dbg.json +4 -0
  62. package/build/contracts/src/assertionStakingPool/AssertionStakingPoolCreator.sol/AssertionStakingPoolCreator.json +89 -0
  63. package/build/contracts/src/assertionStakingPool/EdgeStakingPool.sol/EdgeStakingPool.dbg.json +4 -0
  64. package/build/contracts/src/assertionStakingPool/EdgeStakingPool.sol/EdgeStakingPool.json +248 -0
  65. package/build/contracts/src/assertionStakingPool/EdgeStakingPoolCreator.sol/EdgeStakingPoolCreator.dbg.json +4 -0
  66. package/build/contracts/src/assertionStakingPool/EdgeStakingPoolCreator.sol/EdgeStakingPoolCreator.json +83 -0
  67. package/build/contracts/src/assertionStakingPool/StakingPoolCreatorUtils.sol/StakingPoolCreatorUtils.dbg.json +4 -0
  68. package/build/contracts/src/assertionStakingPool/StakingPoolCreatorUtils.sol/StakingPoolCreatorUtils.json +16 -0
  69. package/build/contracts/src/assertionStakingPool/interfaces/IAbsBoldStakingPool.sol/IAbsBoldStakingPool.dbg.json +4 -0
  70. package/build/contracts/src/assertionStakingPool/interfaces/IAbsBoldStakingPool.sol/IAbsBoldStakingPool.json +140 -0
  71. package/build/contracts/src/assertionStakingPool/interfaces/IAssertionStakingPool.sol/IAssertionStakingPool.dbg.json +4 -0
  72. package/build/contracts/src/assertionStakingPool/interfaces/IAssertionStakingPool.sol/IAssertionStakingPool.json +324 -0
  73. package/build/contracts/src/assertionStakingPool/interfaces/IAssertionStakingPoolCreator.sol/IAssertionStakingPoolCreator.dbg.json +4 -0
  74. package/build/contracts/src/assertionStakingPool/interfaces/IAssertionStakingPoolCreator.sol/IAssertionStakingPoolCreator.json +84 -0
  75. package/build/contracts/src/assertionStakingPool/interfaces/IEdgeStakingPool.sol/IEdgeStakingPool.dbg.json +4 -0
  76. package/build/contracts/src/assertionStakingPool/interfaces/IEdgeStakingPool.sol/IEdgeStakingPool.json +232 -0
  77. package/build/contracts/src/assertionStakingPool/interfaces/IEdgeStakingPoolCreator.sol/IEdgeStakingPoolCreator.dbg.json +4 -0
  78. package/build/contracts/src/assertionStakingPool/interfaces/IEdgeStakingPoolCreator.sol/IEdgeStakingPoolCreator.json +78 -0
  79. package/build/contracts/src/bridge/AbsBridge.sol/AbsBridge.dbg.json +1 -1
  80. package/build/contracts/src/bridge/AbsBridge.sol/AbsBridge.json +13 -0
  81. package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.dbg.json +1 -1
  82. package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.json +20 -7
  83. package/build/contracts/src/bridge/AbsOutbox.sol/AbsOutbox.dbg.json +1 -1
  84. package/build/contracts/src/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  85. package/build/contracts/src/bridge/Bridge.sol/Bridge.json +15 -2
  86. package/build/contracts/src/bridge/DelayBuffer.sol/DelayBuffer.dbg.json +4 -0
  87. package/build/contracts/src/bridge/DelayBuffer.sol/DelayBuffer.json +24 -0
  88. package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.dbg.json +1 -1
  89. package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.json +15 -2
  90. package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.dbg.json +1 -1
  91. package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.json +22 -9
  92. package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.dbg.json +1 -1
  93. package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.json +2 -2
  94. package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.dbg.json +1 -1
  95. package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.json +2 -2
  96. package/build/contracts/src/bridge/IBridge.sol/IBridge.dbg.json +1 -1
  97. package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.dbg.json +1 -1
  98. package/build/contracts/src/bridge/IERC20Bridge.sol/IERC20Bridge.dbg.json +1 -1
  99. package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.dbg.json +1 -1
  100. package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.json +1 -1
  101. package/build/contracts/src/bridge/IEthBridge.sol/IEthBridge.dbg.json +1 -1
  102. package/build/contracts/src/bridge/IInbox.sol/IInbox.dbg.json +1 -1
  103. package/build/contracts/src/bridge/IInbox.sol/IInbox.json +1 -1
  104. package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.dbg.json +1 -1
  105. package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.json +1 -1
  106. package/build/contracts/src/bridge/IOutbox.sol/IOutbox.dbg.json +1 -1
  107. package/build/contracts/src/bridge/IOwnable.sol/IOwnable.dbg.json +1 -1
  108. package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.dbg.json +1 -1
  109. package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.json +441 -0
  110. package/build/contracts/src/bridge/Inbox.sol/Inbox.dbg.json +1 -1
  111. package/build/contracts/src/bridge/Inbox.sol/Inbox.json +22 -4
  112. package/build/contracts/src/bridge/Messages.sol/Messages.dbg.json +1 -1
  113. package/build/contracts/src/bridge/Messages.sol/Messages.json +2 -2
  114. package/build/contracts/src/bridge/Outbox.sol/Outbox.dbg.json +1 -1
  115. package/build/contracts/src/bridge/Outbox.sol/Outbox.json +2 -2
  116. package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.dbg.json +1 -1
  117. package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.json +564 -7
  118. package/build/contracts/src/chain/CacheManager.sol/CacheManager.dbg.json +1 -1
  119. package/build/contracts/src/chain/CacheManager.sol/CacheManager.json +15 -2
  120. package/build/contracts/src/challengeV2/EdgeChallengeManager.sol/EdgeChallengeManager.dbg.json +4 -0
  121. package/build/contracts/src/challengeV2/EdgeChallengeManager.sol/EdgeChallengeManager.json +1631 -0
  122. package/build/contracts/src/challengeV2/EdgeChallengeManager.sol/IEdgeChallengeManager.dbg.json +4 -0
  123. package/build/contracts/src/challengeV2/EdgeChallengeManager.sol/IEdgeChallengeManager.json +762 -0
  124. package/build/contracts/src/challengeV2/IAssertionChain.sol/IAssertionChain.dbg.json +4 -0
  125. package/build/contracts/src/challengeV2/IAssertionChain.sol/IAssertionChain.json +247 -0
  126. package/build/contracts/src/challengeV2/libraries/ArrayUtilsLib.sol/ArrayUtilsLib.dbg.json +4 -0
  127. package/build/contracts/src/challengeV2/libraries/ArrayUtilsLib.sol/ArrayUtilsLib.json +10 -0
  128. package/build/contracts/src/challengeV2/libraries/ChallengeEdgeLib.sol/ChallengeEdgeLib.dbg.json +4 -0
  129. package/build/contracts/src/challengeV2/libraries/ChallengeEdgeLib.sol/ChallengeEdgeLib.json +10 -0
  130. package/build/contracts/src/challengeV2/libraries/EdgeChallengeManagerLib.sol/EdgeChallengeManagerLib.dbg.json +4 -0
  131. package/build/contracts/src/challengeV2/libraries/EdgeChallengeManagerLib.sol/EdgeChallengeManagerLib.json +24 -0
  132. package/build/contracts/src/challengeV2/libraries/MerkleTreeAccumulatorLib.sol/MerkleTreeAccumulatorLib.dbg.json +4 -0
  133. package/build/contracts/src/challengeV2/libraries/MerkleTreeAccumulatorLib.sol/MerkleTreeAccumulatorLib.json +24 -0
  134. package/build/contracts/src/challengeV2/libraries/UintUtilsLib.sol/UintUtilsLib.dbg.json +4 -0
  135. package/build/contracts/src/challengeV2/libraries/UintUtilsLib.sol/UintUtilsLib.json +10 -0
  136. package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.dbg.json +1 -1
  137. package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.json +2 -2
  138. package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.dbg.json +1 -1
  139. package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.json +2 -2
  140. package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.dbg.json +1 -1
  141. package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.dbg.json +1 -1
  142. package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.json +2 -2
  143. package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.dbg.json +1 -1
  144. package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.json +2 -2
  145. package/build/contracts/src/libraries/DecimalsConverterHelper.sol/DecimalsConverterHelper.dbg.json +1 -1
  146. package/build/contracts/src/libraries/DecimalsConverterHelper.sol/DecimalsConverterHelper.json +2 -2
  147. package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.dbg.json +1 -1
  148. package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.dbg.json +1 -1
  149. package/build/contracts/src/libraries/GasRefundEnabled.sol/GasRefundEnabled.dbg.json +1 -1
  150. package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.dbg.json +1 -1
  151. package/build/contracts/src/libraries/IReader4844.sol/IReader4844.dbg.json +1 -1
  152. package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.dbg.json +1 -1
  153. package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.json +2 -2
  154. package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.dbg.json +1 -1
  155. package/build/contracts/src/mocks/Benchmarks.sol/Benchmarks.dbg.json +1 -1
  156. package/build/contracts/src/mocks/Benchmarks.sol/Benchmarks.json +2 -2
  157. package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.dbg.json +1 -1
  158. package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.json +8 -8
  159. package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.dbg.json +1 -1
  160. package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.json +28 -2
  161. package/build/contracts/src/mocks/InboxStub.sol/InboxStub.dbg.json +1 -1
  162. package/build/contracts/src/mocks/InboxStub.sol/InboxStub.json +2 -2
  163. package/build/contracts/src/mocks/MerkleTreeAccess.sol/MerkleTreeAccess.dbg.json +4 -0
  164. package/build/contracts/src/mocks/MerkleTreeAccess.sol/MerkleTreeAccess.json +227 -0
  165. package/build/contracts/src/mocks/MockRollupEventInbox.sol/MockRollupEventInbox.dbg.json +4 -0
  166. package/build/contracts/src/mocks/MockRollupEventInbox.sol/MockRollupEventInbox.json +133 -0
  167. package/build/contracts/src/mocks/MultiCallTest.sol/MultiCallTest.dbg.json +1 -1
  168. package/build/contracts/src/mocks/MultiCallTest.sol/MultiCallTest.json +2 -2
  169. package/build/contracts/src/mocks/PendingBlkTimeAndNrAdvanceCheck.sol/PendingBlkTimeAndNrAdvanceCheck.dbg.json +1 -1
  170. package/build/contracts/src/mocks/PendingBlkTimeAndNrAdvanceCheck.sol/PendingBlkTimeAndNrAdvanceCheck.json +2 -2
  171. package/build/contracts/src/mocks/Program.sol/ProgramTest.dbg.json +1 -1
  172. package/build/contracts/src/mocks/Program.sol/ProgramTest.json +2 -2
  173. package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.dbg.json +1 -1
  174. package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.json +2 -2
  175. package/build/contracts/src/mocks/SdkStorage.sol/SdkStorage.dbg.json +1 -1
  176. package/build/contracts/src/mocks/SdkStorage.sol/SdkStorage.json +2 -2
  177. package/build/contracts/src/mocks/SequencerInboxBlobMock.sol/SequencerInboxBlobMock.dbg.json +4 -0
  178. package/build/contracts/src/mocks/SequencerInboxBlobMock.sol/SequencerInboxBlobMock.json +1632 -0
  179. package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.dbg.json +1 -1
  180. package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.json +564 -7
  181. package/build/contracts/src/mocks/Simple.sol/Simple.dbg.json +1 -1
  182. package/build/contracts/src/mocks/Simple.sol/Simple.json +2 -2
  183. package/build/contracts/src/mocks/SimpleCacheManager.sol/SimpleCacheManager.dbg.json +1 -1
  184. package/build/contracts/src/mocks/SimpleCacheManager.sol/SimpleCacheManager.json +2 -2
  185. package/build/contracts/src/mocks/SimpleOneStepProofEntry.sol/SimpleOneStepProofEntry.dbg.json +4 -0
  186. package/build/contracts/src/mocks/SimpleOneStepProofEntry.sol/SimpleOneStepProofEntry.json +142 -0
  187. package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.dbg.json +1 -1
  188. package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.json +2 -2
  189. package/build/contracts/src/mocks/TestWETH9.sol/IWETH9.dbg.json +4 -0
  190. package/build/contracts/src/mocks/TestWETH9.sol/IWETH9.json +31 -0
  191. package/build/contracts/src/mocks/TestWETH9.sol/TestWETH9.dbg.json +4 -0
  192. package/build/contracts/src/mocks/TestWETH9.sol/TestWETH9.json +317 -0
  193. package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.dbg.json +1 -1
  194. package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.json +15 -2
  195. package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.dbg.json +1 -1
  196. package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.dbg.json +1 -1
  197. package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.dbg.json +1 -1
  198. package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.json +2 -2
  199. package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.dbg.json +1 -1
  200. package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.json +33 -9
  201. package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.dbg.json +1 -1
  202. package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.json +2 -2
  203. package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.dbg.json +1 -1
  204. package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.json +5 -0
  205. package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.dbg.json +1 -1
  206. package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.json +35 -11
  207. package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.dbg.json +1 -1
  208. package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.json +7 -2
  209. package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.dbg.json +1 -1
  210. package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.json +7 -2
  211. package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.dbg.json +1 -1
  212. package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.json +7 -2
  213. package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.dbg.json +1 -1
  214. package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.json +7 -2
  215. package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.dbg.json +1 -1
  216. package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.dbg.json +1 -1
  217. package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.dbg.json +1 -1
  218. package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.dbg.json +1 -1
  219. package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.dbg.json +1 -1
  220. package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.dbg.json +1 -1
  221. package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.dbg.json +1 -1
  222. package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.dbg.json +1 -1
  223. package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.dbg.json +1 -1
  224. package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.dbg.json +1 -1
  225. package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.dbg.json +1 -1
  226. package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.dbg.json +1 -1
  227. package/build/contracts/src/precompiles/ArbWasm.sol/ArbWasm.dbg.json +1 -1
  228. package/build/contracts/src/precompiles/ArbWasmCache.sol/ArbWasmCache.dbg.json +1 -1
  229. package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.dbg.json +1 -1
  230. package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.dbg.json +1 -1
  231. package/build/contracts/src/rollup/AbsRollupEventInbox.sol/AbsRollupEventInbox.dbg.json +1 -1
  232. package/build/contracts/src/rollup/Assertion.sol/AssertionNodeLib.dbg.json +4 -0
  233. package/build/contracts/src/rollup/{Node.sol/NodeLib.json → Assertion.sol/AssertionNodeLib.json} +4 -4
  234. package/build/contracts/src/rollup/AssertionState.sol/AssertionStateLib.dbg.json +4 -0
  235. package/build/contracts/src/{challenge/ChallengeLib.sol/ChallengeLib.json → rollup/AssertionState.sol/AssertionStateLib.json} +4 -4
  236. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/BOLDUpgradeAction.dbg.json +4 -0
  237. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/BOLDUpgradeAction.json +807 -0
  238. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/ConstantArrayStorage.dbg.json +4 -0
  239. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/ConstantArrayStorage.json +35 -0
  240. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/IOldRollup.dbg.json +4 -0
  241. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/IOldRollup.json +361 -0
  242. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/IOldRollupAdmin.dbg.json +4 -0
  243. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/IOldRollupAdmin.json +38 -0
  244. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/ISeqInboxPostUpgradeInit.dbg.json +4 -0
  245. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/ISeqInboxPostUpgradeInit.json +41 -0
  246. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/RollupReader.dbg.json +4 -0
  247. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/RollupReader.json +385 -0
  248. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/StateHashPreImageLookup.dbg.json +4 -0
  249. package/build/contracts/src/rollup/BOLDUpgradeAction.sol/StateHashPreImageLookup.json +203 -0
  250. package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.dbg.json +1 -1
  251. package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.json +62 -10
  252. package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.dbg.json +1 -1
  253. package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.json +2 -2
  254. package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.dbg.json +1 -1
  255. package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.json +2 -2
  256. package/build/contracts/src/rollup/FactoryDeployerHelper.sol/FactoryDeployerHelper.dbg.json +1 -1
  257. package/build/contracts/src/rollup/FactoryDeployerHelper.sol/FactoryDeployerHelper.json +2 -2
  258. package/build/contracts/src/rollup/FactoryDeployerHelper.sol/IDeployHelper.dbg.json +1 -1
  259. package/build/contracts/src/rollup/FactoryDeployerHelper.sol/IERC20.dbg.json +1 -1
  260. package/build/contracts/src/rollup/FactoryDeployerHelper.sol/IERC20Bridge.dbg.json +1 -1
  261. package/build/contracts/src/rollup/FactoryDeployerHelper.sol/IInboxBase.dbg.json +1 -1
  262. package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.dbg.json +1 -1
  263. package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.json +473 -99
  264. package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.dbg.json +1 -1
  265. package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.json +315 -221
  266. package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.dbg.json +1 -1
  267. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.dbg.json +1 -1
  268. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.json +678 -494
  269. package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.dbg.json +1 -1
  270. package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.json +806 -435
  271. package/build/contracts/src/rollup/RollupCore.sol/RollupCore.dbg.json +1 -1
  272. package/build/contracts/src/rollup/RollupCore.sol/RollupCore.json +323 -235
  273. package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.dbg.json +1 -1
  274. package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.json +98 -36
  275. package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.dbg.json +1 -1
  276. package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.json +2 -2
  277. package/build/contracts/src/rollup/RollupLib.sol/RollupLib.dbg.json +1 -1
  278. package/build/contracts/src/rollup/RollupLib.sol/RollupLib.json +2 -2
  279. package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.dbg.json +1 -1
  280. package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.json +97 -16
  281. package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.dbg.json +1 -1
  282. package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.json +924 -530
  283. package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.dbg.json +1 -1
  284. package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.json +15 -43
  285. package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.dbg.json +1 -1
  286. package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.json +2 -2
  287. package/build/contracts/src/state/Deserialize.sol/Deserialize.dbg.json +1 -1
  288. package/build/contracts/src/state/Deserialize.sol/Deserialize.json +2 -2
  289. package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.dbg.json +1 -1
  290. package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.json +2 -2
  291. package/build/contracts/src/state/Instructions.sol/Instructions.dbg.json +1 -1
  292. package/build/contracts/src/state/Instructions.sol/Instructions.json +2 -2
  293. package/build/contracts/src/state/Machine.sol/MachineLib.dbg.json +1 -1
  294. package/build/contracts/src/state/Machine.sol/MachineLib.json +2 -2
  295. package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.dbg.json +1 -1
  296. package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.json +2 -2
  297. package/build/contracts/src/state/Module.sol/ModuleLib.dbg.json +1 -1
  298. package/build/contracts/src/state/Module.sol/ModuleLib.json +2 -2
  299. package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.dbg.json +1 -1
  300. package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.json +2 -2
  301. package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.dbg.json +1 -1
  302. package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.json +2 -2
  303. package/build/contracts/src/state/MultiStack.sol/MultiStackLib.dbg.json +1 -1
  304. package/build/contracts/src/state/MultiStack.sol/MultiStackLib.json +2 -2
  305. package/build/contracts/src/state/PcArray.sol/PcArrayLib.dbg.json +1 -1
  306. package/build/contracts/src/state/PcArray.sol/PcArrayLib.json +2 -2
  307. package/build/contracts/src/state/StackFrame.sol/StackFrameLib.dbg.json +1 -1
  308. package/build/contracts/src/state/StackFrame.sol/StackFrameLib.json +2 -2
  309. package/build/contracts/src/state/Value.sol/ValueLib.dbg.json +1 -1
  310. package/build/contracts/src/state/Value.sol/ValueLib.json +2 -2
  311. package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.dbg.json +1 -1
  312. package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.json +2 -2
  313. package/build/contracts/src/state/ValueStack.sol/ValueStackLib.dbg.json +1 -1
  314. package/build/contracts/src/state/ValueStack.sol/ValueStackLib.json +2 -2
  315. package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.dbg.json +1 -1
  316. package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.json +15 -2
  317. package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.dbg.json +1 -1
  318. package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.json +2 -2
  319. package/build/contracts/src/test-helpers/EthVault.sol/EthVault.dbg.json +1 -1
  320. package/build/contracts/src/test-helpers/EthVault.sol/EthVault.json +2 -2
  321. package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.dbg.json +1 -1
  322. package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.json +2 -2
  323. package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.dbg.json +1 -1
  324. package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.json +2 -2
  325. package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.dbg.json +1 -1
  326. package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.json +2 -15
  327. package/build/contracts/src/test-helpers/TestToken.sol/TestToken.dbg.json +1 -1
  328. package/build/contracts/src/test-helpers/TestToken.sol/TestToken.json +2 -2
  329. package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.dbg.json +1 -1
  330. package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.json +2 -2
  331. package/out/yul/Reader4844.yul/Reader4844.json +1 -1
  332. package/package.json +16 -6
  333. package/src/assertionStakingPool/AbsBoldStakingPool.sol +66 -0
  334. package/src/assertionStakingPool/AssertionStakingPool.sol +70 -0
  335. package/src/assertionStakingPool/AssertionStakingPoolCreator.sol +35 -0
  336. package/src/assertionStakingPool/EdgeStakingPool.sol +57 -0
  337. package/src/assertionStakingPool/EdgeStakingPoolCreator.sol +34 -0
  338. package/src/assertionStakingPool/StakingPoolCreatorUtils.sol +25 -0
  339. package/src/assertionStakingPool/interfaces/IAbsBoldStakingPool.sol +41 -0
  340. package/src/assertionStakingPool/interfaces/IAssertionStakingPool.sol +36 -0
  341. package/src/assertionStakingPool/interfaces/IAssertionStakingPoolCreator.sol +31 -0
  342. package/src/assertionStakingPool/interfaces/IEdgeStakingPool.sol +27 -0
  343. package/src/assertionStakingPool/interfaces/IEdgeStakingPoolCreator.sol +28 -0
  344. package/src/bridge/AbsBridge.sol +38 -48
  345. package/src/bridge/AbsInbox.sol +88 -97
  346. package/src/bridge/AbsOutbox.sol +23 -37
  347. package/src/bridge/Bridge.sol +6 -4
  348. package/src/bridge/DelayBuffer.sol +123 -0
  349. package/src/bridge/DelayBufferTypes.sol +38 -0
  350. package/src/bridge/ERC20Bridge.sol +8 -4
  351. package/src/bridge/ERC20Inbox.sol +46 -53
  352. package/src/bridge/ERC20Outbox.sol +7 -3
  353. package/src/bridge/GasRefunder.sol +38 -24
  354. package/src/bridge/IBridge.sol +30 -21
  355. package/src/bridge/IERC20Bridge.sol +1 -1
  356. package/src/bridge/IERC20Inbox.sol +4 -2
  357. package/src/bridge/IEthBridge.sol +4 -2
  358. package/src/bridge/IInbox.sol +4 -2
  359. package/src/bridge/IInboxBase.sol +17 -13
  360. package/src/bridge/IOutbox.sol +13 -8
  361. package/src/bridge/ISequencerInbox.sol +118 -13
  362. package/src/bridge/Inbox.sol +131 -151
  363. package/src/bridge/Messages.sol +48 -18
  364. package/src/bridge/Outbox.sol +6 -2
  365. package/src/bridge/SequencerInbox.sol +339 -274
  366. package/src/chain/CacheManager.sol +49 -18
  367. package/src/challengeV2/EdgeChallengeManager.sol +783 -0
  368. package/src/challengeV2/IAssertionChain.sol +39 -0
  369. package/src/challengeV2/libraries/ArrayUtilsLib.sol +61 -0
  370. package/src/challengeV2/libraries/ChallengeEdgeLib.sol +333 -0
  371. package/src/challengeV2/libraries/ChallengeErrors.sol +108 -0
  372. package/src/challengeV2/libraries/EdgeChallengeManagerLib.sol +930 -0
  373. package/src/challengeV2/libraries/Enums.sol +26 -0
  374. package/src/challengeV2/libraries/MerkleTreeAccumulatorLib.sol +390 -0
  375. package/src/challengeV2/libraries/UintUtilsLib.sol +74 -0
  376. package/src/libraries/AddressAliasHelper.sol +6 -2
  377. package/src/libraries/AdminFallbackProxy.sol +8 -4
  378. package/src/libraries/ArbitrumChecker.sol +3 -4
  379. package/src/libraries/CryptographyPrimitives.sol +39 -46
  380. package/src/libraries/DecimalsConverterHelper.sol +2 -4
  381. package/src/libraries/DoubleLogicUUPSUpgradeable.sol +10 -7
  382. package/src/libraries/Error.sol +18 -12
  383. package/src/libraries/GasRefundEnabled.sol +3 -4
  384. package/src/libraries/MerkleLib.sol +6 -5
  385. package/src/libraries/UUPSNotUpgradeable.sol +2 -4
  386. package/src/mocks/BridgeStub.sol +50 -48
  387. package/src/mocks/BridgeUnproxied.sol +2 -0
  388. package/src/mocks/InboxStub.sol +22 -17
  389. package/src/mocks/MerkleTreeAccess.sol +72 -0
  390. package/src/mocks/MockRollupEventInbox.sol +59 -0
  391. package/src/mocks/MultiCallTest.sol +3 -1
  392. package/src/mocks/PendingBlkTimeAndNrAdvanceCheck.sol +3 -1
  393. package/src/mocks/Program.sol +9 -7
  394. package/src/mocks/SequencerInboxBlobMock.sol +38 -0
  395. package/src/mocks/SequencerInboxStub.sol +9 -12
  396. package/src/mocks/Simple.sol +13 -25
  397. package/src/mocks/SimpleCacheManager.sol +10 -3
  398. package/src/mocks/SimpleOneStepProofEntry.sol +60 -0
  399. package/src/mocks/SimpleProxy.sol +3 -1
  400. package/src/mocks/TestWETH9.sol +30 -0
  401. package/src/mocks/UpgradeExecutorMock.sol +10 -17
  402. package/src/node-interface/NodeInterface.sol +23 -22
  403. package/src/node-interface/NodeInterfaceDebug.sol +5 -3
  404. package/src/osp/HashProofHelper.sol +9 -10
  405. package/src/osp/IOneStepProofEntry.sol +14 -9
  406. package/src/osp/IOneStepProver.sol +1 -0
  407. package/src/osp/OneStepProofEntry.sol +63 -54
  408. package/src/osp/OneStepProver0.sol +14 -27
  409. package/src/osp/OneStepProverHostIo.sol +31 -58
  410. package/src/osp/OneStepProverMath.sol +15 -23
  411. package/src/osp/OneStepProverMemory.sol +9 -23
  412. package/src/precompiles/ArbAddressTable.sol +19 -9
  413. package/src/precompiles/ArbAggregator.sol +12 -4
  414. package/src/precompiles/ArbBLS.sol +1 -3
  415. package/src/precompiles/ArbDebug.sol +5 -11
  416. package/src/precompiles/ArbFunctionTable.sol +7 -10
  417. package/src/precompiles/ArbGasInfo.sol +9 -43
  418. package/src/precompiles/ArbInfo.sol +6 -2
  419. package/src/precompiles/ArbOwner.sol +101 -34
  420. package/src/precompiles/ArbOwnerPublic.sol +6 -2
  421. package/src/precompiles/ArbRetryableTx.sol +15 -5
  422. package/src/precompiles/ArbStatistics.sol +1 -8
  423. package/src/precompiles/ArbSys.sol +16 -18
  424. package/src/precompiles/ArbWasm.sol +24 -14
  425. package/src/precompiles/ArbWasmCache.sol +15 -5
  426. package/src/precompiles/ArbosTest.sol +3 -1
  427. package/src/rollup/AbsRollupEventInbox.sol +15 -16
  428. package/src/rollup/Assertion.sol +100 -0
  429. package/src/rollup/AssertionState.sol +29 -0
  430. package/src/rollup/BOLDUpgradeAction.sol +631 -0
  431. package/src/rollup/BridgeCreator.sol +42 -15
  432. package/src/rollup/Config.sol +15 -7
  433. package/src/rollup/DeployHelper.sol +12 -31
  434. package/src/rollup/ERC20RollupEventInbox.sol +8 -9
  435. package/src/rollup/FactoryDeployerHelper.sol +8 -10
  436. package/src/rollup/IRollupAdmin.sol +127 -45
  437. package/src/rollup/IRollupCore.sol +64 -84
  438. package/src/rollup/IRollupEventInbox.sol +3 -1
  439. package/src/rollup/IRollupLogic.sol +36 -69
  440. package/src/rollup/RollupAdminLogic.sol +224 -203
  441. package/src/rollup/RollupCore.sol +407 -428
  442. package/src/rollup/RollupCreator.sol +88 -75
  443. package/src/rollup/RollupEventInbox.sol +7 -7
  444. package/src/rollup/RollupLib.sol +50 -86
  445. package/src/rollup/RollupProxy.sol +8 -12
  446. package/src/rollup/RollupUserLogic.sol +279 -642
  447. package/src/rollup/ValidatorUtils.sol +0 -242
  448. package/src/rollup/ValidatorWallet.sol +22 -38
  449. package/src/rollup/ValidatorWalletCreator.sol +8 -8
  450. package/src/state/Deserialize.sol +74 -96
  451. package/src/state/GlobalState.sol +74 -20
  452. package/src/state/Instructions.sol +4 -3
  453. package/src/state/Machine.sol +18 -19
  454. package/src/state/Module.sol +14 -13
  455. package/src/state/ModuleMemory.sol +6 -25
  456. package/src/state/ModuleMemoryCompact.sol +3 -1
  457. package/src/state/MultiStack.sol +16 -20
  458. package/src/state/PcArray.sol +7 -7
  459. package/src/state/StackFrame.sol +21 -14
  460. package/src/state/Value.sol +18 -6
  461. package/src/state/ValueArray.sol +7 -7
  462. package/src/state/ValueStack.sol +9 -3
  463. package/src/test-helpers/BridgeTester.sol +32 -42
  464. package/src/test-helpers/CryptographyPrimitivesTester.sol +12 -13
  465. package/src/test-helpers/EthVault.sol +4 -2
  466. package/src/test-helpers/InterfaceCompatibilityTester.sol +1 -1
  467. package/src/test-helpers/MessageTester.sol +3 -10
  468. package/src/test-helpers/OutboxWithoutOptTester.sol +12 -19
  469. package/src/test-helpers/RollupMock.sol +3 -7
  470. package/src/test-helpers/TestToken.sol +4 -2
  471. package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +0 -4
  472. package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.dbg.json +0 -4
  473. package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.dbg.json +0 -4
  474. package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.json +0 -746
  475. package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.dbg.json +0 -4
  476. package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.json +0 -441
  477. package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.dbg.json +0 -4
  478. package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.json +0 -34
  479. package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.dbg.json +0 -4
  480. package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.json +0 -188
  481. package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.dbg.json +0 -4
  482. package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.json +0 -797
  483. package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.dbg.json +0 -4
  484. package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.json +0 -746
  485. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.dbg.json +0 -4
  486. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.json +0 -1327
  487. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.dbg.json +0 -4
  488. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.json +0 -1461
  489. package/build/contracts/src/rollup/Node.sol/NodeLib.dbg.json +0 -4
  490. package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.dbg.json +0 -4
  491. package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.json +0 -1609
  492. package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.dbg.json +0 -4
  493. package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.json +0 -1743
  494. package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.dbg.json +0 -4
  495. package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.json +0 -379
  496. package/src/challenge/ChallengeLib.sol +0 -88
  497. package/src/challenge/ChallengeManager.sol +0 -375
  498. package/src/challenge/IChallengeManager.sol +0 -86
  499. package/src/challenge/IChallengeResultReceiver.sol +0 -13
  500. package/src/mocks/MockResultReceiver.sol +0 -59
  501. package/src/mocks/SingleExecutionChallenge.sol +0 -41
  502. package/src/mocks/TimedOutChallengeManager.sol +0 -13
  503. package/src/rollup/Node.sol +0 -113
@@ -8,9 +8,9 @@
8
8
  "inputs": [
9
9
  {
10
10
  "indexed": true,
11
- "internalType": "uint64",
12
- "name": "nodeNum",
13
- "type": "uint64"
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": "NodeConfirmed",
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": "parentNodeHash",
37
+ "name": "assertionHash",
44
38
  "type": "bytes32"
45
39
  },
46
40
  {
47
41
  "indexed": true,
48
42
  "internalType": "bytes32",
49
- "name": "nodeHash",
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 ExecutionState",
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 ExecutionState",
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 Assertion",
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": "inboxMaxCount",
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": true,
196
+ "indexed": false,
197
+ "internalType": "address",
198
+ "name": "challengeManager",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "indexed": false,
156
203
  "internalType": "uint64",
157
- "name": "nodeNum",
204
+ "name": "confirmPeriodBlocks",
158
205
  "type": "uint64"
159
206
  }
160
207
  ],
161
- "name": "NodeRejected",
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": "challengedNode",
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": "payable",
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 IChallengeManager",
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": "blockHash",
415
+ "name": "assertionHash",
353
416
  "type": "bytes32"
354
417
  },
355
418
  {
356
419
  "internalType": "bytes32",
357
- "name": "sendRoot",
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": "confirmNextNode",
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": "uint256",
523
+ "internalType": "bytes32",
391
524
  "name": "",
392
- "type": "uint256"
525
+ "type": "bytes32"
393
526
  }
394
527
  ],
395
- "stateMutability": "view",
528
+ "stateMutability": "pure",
396
529
  "type": "function"
397
530
  },
398
531
  {
399
532
  "inputs": [
400
533
  {
401
- "internalType": "uint64",
402
- "name": "nodeNum",
403
- "type": "uint64"
534
+ "internalType": "bytes32",
535
+ "name": "assertionHash",
536
+ "type": "bytes32"
404
537
  }
405
538
  ],
406
- "name": "countZombiesStakedOnChildren",
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": "bytes32[2]",
438
- "name": "bytes32Vals",
439
- "type": "bytes32[2]"
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": "uint64[2]",
443
- "name": "u64Vals",
444
- "type": "uint64[2]"
569
+ "internalType": "bytes32",
570
+ "name": "configHash",
571
+ "type": "bytes32"
445
572
  }
446
573
  ],
447
- "internalType": "struct GlobalState[2]",
448
- "name": "globalStates",
449
- "type": "tuple[2]"
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
- "name": "createChallenge",
473
- "outputs": [],
474
- "stateMutability": "nonpayable",
579
+ "stateMutability": "view",
475
580
  "type": "function"
476
581
  },
477
582
  {
478
583
  "inputs": [
479
584
  {
480
- "internalType": "address",
481
- "name": "staker",
482
- "type": "address"
585
+ "internalType": "bytes32",
586
+ "name": "assertionHash",
587
+ "type": "bytes32"
483
588
  }
484
589
  ],
485
- "name": "currentChallenge",
590
+ "name": "getAssertionCreationBlockForLogLookup",
486
591
  "outputs": [
487
592
  {
488
- "internalType": "uint64",
593
+ "internalType": "uint256",
489
594
  "name": "",
490
- "type": "uint64"
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": "uint256",
502
- "name": "",
503
- "type": "uint256"
604
+ "internalType": "bytes32",
605
+ "name": "assertionHash",
606
+ "type": "bytes32"
504
607
  }
505
608
  ],
506
- "stateMutability": "view",
507
- "type": "function"
508
- },
509
- {
510
- "inputs": [],
511
- "name": "extraChallengeTimeBlocks",
609
+ "name": "getFirstChildCreationBlock",
512
610
  "outputs": [
513
611
  {
514
612
  "internalType": "uint64",
@@ -523,23 +621,11 @@
523
621
  "inputs": [
524
622
  {
525
623
  "internalType": "bytes32",
526
- "name": "blockHash",
527
- "type": "bytes32"
528
- },
529
- {
530
- "internalType": "bytes32",
531
- "name": "sendRoot",
624
+ "name": "assertionHash",
532
625
  "type": "bytes32"
533
626
  }
534
627
  ],
535
- "name": "fastConfirmNextNode",
536
- "outputs": [],
537
- "stateMutability": "nonpayable",
538
- "type": "function"
539
- },
540
- {
541
- "inputs": [],
542
- "name": "firstUnresolvedNode",
628
+ "name": "getSecondChildCreationBlock",
543
629
  "outputs": [
544
630
  {
545
631
  "internalType": "uint64",
@@ -553,77 +639,42 @@
553
639
  {
554
640
  "inputs": [
555
641
  {
556
- "internalType": "uint64",
557
- "name": "nodeNum",
558
- "type": "uint64"
642
+ "internalType": "address",
643
+ "name": "staker",
644
+ "type": "address"
559
645
  }
560
646
  ],
561
- "name": "getNode",
647
+ "name": "getStaker",
562
648
  "outputs": [
563
649
  {
564
650
  "components": [
565
651
  {
566
- "internalType": "bytes32",
567
- "name": "stateHash",
568
- "type": "bytes32"
569
- },
570
- {
571
- "internalType": "bytes32",
572
- "name": "challengeHash",
573
- "type": "bytes32"
652
+ "internalType": "uint256",
653
+ "name": "amountStaked",
654
+ "type": "uint256"
574
655
  },
575
656
  {
576
657
  "internalType": "bytes32",
577
- "name": "confirmData",
658
+ "name": "latestStakedAssertion",
578
659
  "type": "bytes32"
579
660
  },
580
661
  {
581
662
  "internalType": "uint64",
582
- "name": "prevNum",
663
+ "name": "index",
583
664
  "type": "uint64"
584
665
  },
585
666
  {
586
- "internalType": "uint64",
587
- "name": "deadlineBlock",
588
- "type": "uint64"
589
- },
590
- {
591
- "internalType": "uint64",
592
- "name": "noChildConfirmedBeforeBlock",
593
- "type": "uint64"
594
- },
595
- {
596
- "internalType": "uint64",
597
- "name": "stakerCount",
598
- "type": "uint64"
599
- },
600
- {
601
- "internalType": "uint64",
602
- "name": "childStakerCount",
603
- "type": "uint64"
604
- },
605
- {
606
- "internalType": "uint64",
607
- "name": "firstChildBlock",
608
- "type": "uint64"
609
- },
610
- {
611
- "internalType": "uint64",
612
- "name": "latestChildNumber",
613
- "type": "uint64"
614
- },
615
- {
616
- "internalType": "uint64",
617
- "name": "createdAtBlock",
618
- "type": "uint64"
667
+ "internalType": "bool",
668
+ "name": "isStaked",
669
+ "type": "bool"
619
670
  },
620
671
  {
621
- "internalType": "bytes32",
622
- "name": "nodeHash",
623
- "type": "bytes32"
672
+ "internalType": "address",
673
+ "name": "withdrawalAddress",
674
+ "type": "address"
624
675
  }
625
676
  ],
626
- "internalType": "struct Node",
677
+ "internalType": "struct IRollupCore.Staker",
627
678
  "name": "",
628
679
  "type": "tuple"
629
680
  }
@@ -635,81 +686,29 @@
635
686
  "inputs": [
636
687
  {
637
688
  "internalType": "uint64",
638
- "name": "nodeNum",
689
+ "name": "stakerNum",
639
690
  "type": "uint64"
640
691
  }
641
692
  ],
642
- "name": "getNodeCreationBlockForLogLookup",
693
+ "name": "getStakerAddress",
643
694
  "outputs": [
644
- {
645
- "internalType": "uint256",
646
- "name": "",
647
- "type": "uint256"
648
- }
649
- ],
650
- "stateMutability": "view",
651
- "type": "function"
652
- },
653
- {
654
- "inputs": [
655
695
  {
656
696
  "internalType": "address",
657
- "name": "staker",
658
- "type": "address"
659
- }
660
- ],
661
- "name": "getStaker",
662
- "outputs": [
663
- {
664
- "components": [
665
- {
666
- "internalType": "uint256",
667
- "name": "amountStaked",
668
- "type": "uint256"
669
- },
670
- {
671
- "internalType": "uint64",
672
- "name": "index",
673
- "type": "uint64"
674
- },
675
- {
676
- "internalType": "uint64",
677
- "name": "latestStakedNode",
678
- "type": "uint64"
679
- },
680
- {
681
- "internalType": "uint64",
682
- "name": "currentChallenge",
683
- "type": "uint64"
684
- },
685
- {
686
- "internalType": "bool",
687
- "name": "isStaked",
688
- "type": "bool"
689
- }
690
- ],
691
- "internalType": "struct IRollupCore.Staker",
692
697
  "name": "",
693
- "type": "tuple"
698
+ "type": "address"
694
699
  }
695
700
  ],
696
701
  "stateMutability": "view",
697
702
  "type": "function"
698
703
  },
699
704
  {
700
- "inputs": [
701
- {
702
- "internalType": "uint64",
703
- "name": "stakerNum",
704
- "type": "uint64"
705
- }
706
- ],
707
- "name": "getStakerAddress",
705
+ "inputs": [],
706
+ "name": "getValidators",
708
707
  "outputs": [
709
708
  {
710
- "internalType": "address",
709
+ "internalType": "address[]",
711
710
  "name": "",
712
- "type": "address"
711
+ "type": "address[]"
713
712
  }
714
713
  ],
715
714
  "stateMutability": "view",
@@ -728,28 +727,15 @@
728
727
  "stateMutability": "view",
729
728
  "type": "function"
730
729
  },
731
- {
732
- "inputs": [],
733
- "name": "isERC20Enabled",
734
- "outputs": [
735
- {
736
- "internalType": "bool",
737
- "name": "",
738
- "type": "bool"
739
- }
740
- ],
741
- "stateMutability": "view",
742
- "type": "function"
743
- },
744
730
  {
745
731
  "inputs": [
746
732
  {
747
- "internalType": "address",
748
- "name": "staker",
749
- "type": "address"
733
+ "internalType": "bytes32",
734
+ "name": "assertionHash",
735
+ "type": "bytes32"
750
736
  }
751
737
  ],
752
- "name": "isStaked",
738
+ "name": "isFirstChild",
753
739
  "outputs": [
754
740
  {
755
741
  "internalType": "bool",
@@ -763,12 +749,12 @@
763
749
  {
764
750
  "inputs": [
765
751
  {
766
- "internalType": "address",
767
- "name": "",
768
- "type": "address"
752
+ "internalType": "bytes32",
753
+ "name": "assertionHash",
754
+ "type": "bytes32"
769
755
  }
770
756
  ],
771
- "name": "isValidator",
757
+ "name": "isPending",
772
758
  "outputs": [
773
759
  {
774
760
  "internalType": "bool",
@@ -787,7 +773,7 @@
787
773
  "type": "address"
788
774
  }
789
775
  ],
790
- "name": "isZombie",
776
+ "name": "isStaked",
791
777
  "outputs": [
792
778
  {
793
779
  "internalType": "bool",
@@ -799,26 +785,19 @@
799
785
  "type": "function"
800
786
  },
801
787
  {
802
- "inputs": [],
803
- "name": "lastStakeBlock",
804
- "outputs": [
788
+ "inputs": [
805
789
  {
806
- "internalType": "uint64",
790
+ "internalType": "address",
807
791
  "name": "",
808
- "type": "uint64"
792
+ "type": "address"
809
793
  }
810
794
  ],
811
- "stateMutability": "view",
812
- "type": "function"
813
- },
814
- {
815
- "inputs": [],
816
- "name": "latestConfirmed",
795
+ "name": "isValidator",
817
796
  "outputs": [
818
797
  {
819
- "internalType": "uint64",
798
+ "internalType": "bool",
820
799
  "name": "",
821
- "type": "uint64"
800
+ "type": "bool"
822
801
  }
823
802
  ],
824
803
  "stateMutability": "view",
@@ -826,12 +805,12 @@
826
805
  },
827
806
  {
828
807
  "inputs": [],
829
- "name": "latestNodeCreated",
808
+ "name": "latestConfirmed",
830
809
  "outputs": [
831
810
  {
832
- "internalType": "uint64",
811
+ "internalType": "bytes32",
833
812
  "name": "",
834
- "type": "uint64"
813
+ "type": "bytes32"
835
814
  }
836
815
  ],
837
816
  "stateMutability": "view",
@@ -845,12 +824,12 @@
845
824
  "type": "address"
846
825
  }
847
826
  ],
848
- "name": "latestStakedNode",
827
+ "name": "latestStakedAssertion",
849
828
  "outputs": [
850
829
  {
851
- "internalType": "uint64",
830
+ "internalType": "bytes32",
852
831
  "name": "",
853
- "type": "uint64"
832
+ "type": "bytes32"
854
833
  }
855
834
  ],
856
835
  "stateMutability": "view",
@@ -885,25 +864,79 @@
885
864
  {
886
865
  "inputs": [
887
866
  {
888
- "internalType": "uint64",
889
- "name": "nodeNum",
890
- "type": "uint64"
867
+ "internalType": "uint256",
868
+ "name": "tokenAmount",
869
+ "type": "uint256"
891
870
  },
892
871
  {
893
- "internalType": "bytes32",
894
- "name": "nodeHash",
895
- "type": "bytes32"
872
+ "internalType": "address",
873
+ "name": "withdrawalAddress",
874
+ "type": "address"
896
875
  }
897
876
  ],
898
- "name": "newStakeOnExistingNode",
877
+ "name": "newStake",
899
878
  "outputs": [],
900
- "stateMutability": "payable",
879
+ "stateMutability": "nonpayable",
901
880
  "type": "function"
902
881
  },
903
882
  {
904
883
  "inputs": [
884
+ {
885
+ "internalType": "uint256",
886
+ "name": "tokenAmount",
887
+ "type": "uint256"
888
+ },
905
889
  {
906
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
+ },
907
940
  {
908
941
  "components": [
909
942
  {
@@ -927,9 +960,14 @@
927
960
  "internalType": "enum MachineStatus",
928
961
  "name": "machineStatus",
929
962
  "type": "uint8"
963
+ },
964
+ {
965
+ "internalType": "bytes32",
966
+ "name": "endHistoryRoot",
967
+ "type": "bytes32"
930
968
  }
931
969
  ],
932
- "internalType": "struct ExecutionState",
970
+ "internalType": "struct AssertionState",
933
971
  "name": "beforeState",
934
972
  "type": "tuple"
935
973
  },
@@ -956,60 +994,178 @@
956
994
  "internalType": "enum MachineStatus",
957
995
  "name": "machineStatus",
958
996
  "type": "uint8"
997
+ },
998
+ {
999
+ "internalType": "bytes32",
1000
+ "name": "endHistoryRoot",
1001
+ "type": "bytes32"
959
1002
  }
960
1003
  ],
961
- "internalType": "struct ExecutionState",
1004
+ "internalType": "struct AssertionState",
962
1005
  "name": "afterState",
963
1006
  "type": "tuple"
964
- },
965
- {
966
- "internalType": "uint64",
967
- "name": "numBlocks",
968
- "type": "uint64"
969
1007
  }
970
1008
  ],
971
- "internalType": "struct Assertion",
1009
+ "internalType": "struct AssertionInputs",
972
1010
  "name": "assertion",
973
1011
  "type": "tuple"
974
1012
  },
975
1013
  {
976
1014
  "internalType": "bytes32",
977
- "name": "expectedNodeHash",
1015
+ "name": "expectedAssertionHash",
978
1016
  "type": "bytes32"
979
1017
  },
980
1018
  {
981
- "internalType": "uint256",
982
- "name": "prevNodeInboxMaxCount",
983
- "type": "uint256"
1019
+ "internalType": "address",
1020
+ "name": "withdrawalAddress",
1021
+ "type": "address"
984
1022
  }
985
1023
  ],
986
- "name": "newStakeOnNewNode",
1024
+ "name": "newStakeOnNewAssertion",
987
1025
  "outputs": [],
988
- "stateMutability": "payable",
1026
+ "stateMutability": "nonpayable",
989
1027
  "type": "function"
990
1028
  },
991
1029
  {
992
1030
  "inputs": [
993
1031
  {
994
- "internalType": "uint64",
995
- "name": "nodeNum",
996
- "type": "uint64"
1032
+ "internalType": "uint256",
1033
+ "name": "tokenAmount",
1034
+ "type": "uint256"
997
1035
  },
998
1036
  {
999
- "internalType": "address",
1000
- "name": "staker",
1001
- "type": "address"
1002
- }
1003
- ],
1004
- "name": "nodeHasStaker",
1005
- "outputs": [
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
+ },
1006
1160
  {
1007
- "internalType": "bool",
1008
- "name": "",
1009
- "type": "bool"
1161
+ "internalType": "bytes32",
1162
+ "name": "expectedAssertionHash",
1163
+ "type": "bytes32"
1010
1164
  }
1011
1165
  ],
1012
- "stateMutability": "view",
1166
+ "name": "newStakeOnNewAssertion",
1167
+ "outputs": [],
1168
+ "stateMutability": "nonpayable",
1013
1169
  "type": "function"
1014
1170
  },
1015
1171
  {
@@ -1051,32 +1207,6 @@
1051
1207
  "stateMutability": "nonpayable",
1052
1208
  "type": "function"
1053
1209
  },
1054
- {
1055
- "inputs": [
1056
- {
1057
- "internalType": "address",
1058
- "name": "stakerAddress",
1059
- "type": "address"
1060
- }
1061
- ],
1062
- "name": "rejectNextNode",
1063
- "outputs": [],
1064
- "stateMutability": "nonpayable",
1065
- "type": "function"
1066
- },
1067
- {
1068
- "inputs": [
1069
- {
1070
- "internalType": "uint256",
1071
- "name": "startIndex",
1072
- "type": "uint256"
1073
- }
1074
- ],
1075
- "name": "removeOldZombies",
1076
- "outputs": [],
1077
- "stateMutability": "nonpayable",
1078
- "type": "function"
1079
- },
1080
1210
  {
1081
1211
  "inputs": [],
1082
1212
  "name": "removeWhitelistAfterFork",
@@ -1091,71 +1221,11 @@
1091
1221
  "stateMutability": "nonpayable",
1092
1222
  "type": "function"
1093
1223
  },
1094
- {
1095
- "inputs": [
1096
- {
1097
- "internalType": "uint256",
1098
- "name": "zombieNum",
1099
- "type": "uint256"
1100
- },
1101
- {
1102
- "internalType": "uint256",
1103
- "name": "maxNodes",
1104
- "type": "uint256"
1105
- }
1106
- ],
1107
- "name": "removeZombie",
1108
- "outputs": [],
1109
- "stateMutability": "nonpayable",
1110
- "type": "function"
1111
- },
1112
- {
1113
- "inputs": [
1114
- {
1115
- "internalType": "uint256",
1116
- "name": "nodeNum",
1117
- "type": "uint256"
1118
- }
1119
- ],
1120
- "name": "requireUnresolved",
1121
- "outputs": [],
1122
- "stateMutability": "view",
1123
- "type": "function"
1124
- },
1125
1224
  {
1126
1225
  "inputs": [],
1127
- "name": "requireUnresolvedExists",
1226
+ "name": "returnOldDeposit",
1128
1227
  "outputs": [],
1129
- "stateMutability": "view",
1130
- "type": "function"
1131
- },
1132
- {
1133
- "inputs": [
1134
- {
1135
- "internalType": "uint256",
1136
- "name": "blockNumber",
1137
- "type": "uint256"
1138
- },
1139
- {
1140
- "internalType": "uint64",
1141
- "name": "firstUnresolvedNodeNum",
1142
- "type": "uint64"
1143
- },
1144
- {
1145
- "internalType": "uint64",
1146
- "name": "latestCreatedNode",
1147
- "type": "uint64"
1148
- }
1149
- ],
1150
- "name": "requiredStake",
1151
- "outputs": [
1152
- {
1153
- "internalType": "uint256",
1154
- "name": "",
1155
- "type": "uint256"
1156
- }
1157
- ],
1158
- "stateMutability": "view",
1228
+ "stateMutability": "nonpayable",
1159
1229
  "type": "function"
1160
1230
  },
1161
1231
  {
@@ -1166,7 +1236,7 @@
1166
1236
  "type": "address"
1167
1237
  }
1168
1238
  ],
1169
- "name": "returnOldDeposit",
1239
+ "name": "returnOldDepositFor",
1170
1240
  "outputs": [],
1171
1241
  "stateMutability": "nonpayable",
1172
1242
  "type": "function"
@@ -1197,28 +1267,59 @@
1197
1267
  "stateMutability": "view",
1198
1268
  "type": "function"
1199
1269
  },
1200
- {
1201
- "inputs": [
1202
- {
1203
- "internalType": "uint64",
1204
- "name": "nodeNum",
1205
- "type": "uint64"
1206
- },
1207
- {
1208
- "internalType": "bytes32",
1209
- "name": "nodeHash",
1210
- "type": "bytes32"
1211
- }
1212
- ],
1213
- "name": "stakeOnExistingNode",
1214
- "outputs": [],
1215
- "stateMutability": "nonpayable",
1216
- "type": "function"
1217
- },
1218
1270
  {
1219
1271
  "inputs": [
1220
1272
  {
1221
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
+ },
1222
1323
  {
1223
1324
  "components": [
1224
1325
  {
@@ -1242,9 +1343,14 @@
1242
1343
  "internalType": "enum MachineStatus",
1243
1344
  "name": "machineStatus",
1244
1345
  "type": "uint8"
1346
+ },
1347
+ {
1348
+ "internalType": "bytes32",
1349
+ "name": "endHistoryRoot",
1350
+ "type": "bytes32"
1245
1351
  }
1246
1352
  ],
1247
- "internalType": "struct ExecutionState",
1353
+ "internalType": "struct AssertionState",
1248
1354
  "name": "beforeState",
1249
1355
  "type": "tuple"
1250
1356
  },
@@ -1271,34 +1377,29 @@
1271
1377
  "internalType": "enum MachineStatus",
1272
1378
  "name": "machineStatus",
1273
1379
  "type": "uint8"
1380
+ },
1381
+ {
1382
+ "internalType": "bytes32",
1383
+ "name": "endHistoryRoot",
1384
+ "type": "bytes32"
1274
1385
  }
1275
1386
  ],
1276
- "internalType": "struct ExecutionState",
1387
+ "internalType": "struct AssertionState",
1277
1388
  "name": "afterState",
1278
1389
  "type": "tuple"
1279
- },
1280
- {
1281
- "internalType": "uint64",
1282
- "name": "numBlocks",
1283
- "type": "uint64"
1284
1390
  }
1285
1391
  ],
1286
- "internalType": "struct Assertion",
1392
+ "internalType": "struct AssertionInputs",
1287
1393
  "name": "assertion",
1288
1394
  "type": "tuple"
1289
1395
  },
1290
1396
  {
1291
1397
  "internalType": "bytes32",
1292
- "name": "expectedNodeHash",
1398
+ "name": "expectedAssertionHash",
1293
1399
  "type": "bytes32"
1294
- },
1295
- {
1296
- "internalType": "uint256",
1297
- "name": "prevNodeInboxMaxCount",
1298
- "type": "uint256"
1299
1400
  }
1300
1401
  ],
1301
- "name": "stakeOnNewNode",
1402
+ "name": "stakeOnNewAssertion",
1302
1403
  "outputs": [],
1303
1404
  "stateMutability": "nonpayable",
1304
1405
  "type": "function"
@@ -1329,6 +1430,121 @@
1329
1430
  "stateMutability": "view",
1330
1431
  "type": "function"
1331
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
+ },
1332
1548
  {
1333
1549
  "inputs": [],
1334
1550
  "name": "validatorWhitelistDisabled",
@@ -1389,50 +1605,18 @@
1389
1605
  },
1390
1606
  {
1391
1607
  "inputs": [
1392
- {
1393
- "internalType": "uint256",
1394
- "name": "zombieNum",
1395
- "type": "uint256"
1396
- }
1397
- ],
1398
- "name": "zombieAddress",
1399
- "outputs": [
1400
1608
  {
1401
1609
  "internalType": "address",
1402
- "name": "",
1610
+ "name": "staker",
1403
1611
  "type": "address"
1404
1612
  }
1405
1613
  ],
1406
- "stateMutability": "view",
1407
- "type": "function"
1408
- },
1409
- {
1410
- "inputs": [],
1411
- "name": "zombieCount",
1412
- "outputs": [
1413
- {
1414
- "internalType": "uint256",
1415
- "name": "",
1416
- "type": "uint256"
1417
- }
1418
- ],
1419
- "stateMutability": "view",
1420
- "type": "function"
1421
- },
1422
- {
1423
- "inputs": [
1424
- {
1425
- "internalType": "uint256",
1426
- "name": "zombieNum",
1427
- "type": "uint256"
1428
- }
1429
- ],
1430
- "name": "zombieLatestStakedNode",
1614
+ "name": "withdrawalAddress",
1431
1615
  "outputs": [
1432
1616
  {
1433
- "internalType": "uint64",
1617
+ "internalType": "address",
1434
1618
  "name": "",
1435
- "type": "uint64"
1619
+ "type": "address"
1436
1620
  }
1437
1621
  ],
1438
1622
  "stateMutability": "view",