@arbitrum/nitro-contracts 1.0.3-beta.0 → 1.0.3-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +4 -0
  2. package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +63 -0
  3. package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +4 -0
  4. package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.json +24 -0
  5. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +4 -0
  6. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +80 -0
  7. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +4 -0
  8. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.json +56 -0
  9. package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +4 -0
  10. package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.json +19 -0
  11. package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +4 -0
  12. package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.json +24 -0
  13. package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +4 -0
  14. package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.json +113 -0
  15. package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +4 -0
  16. package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +160 -0
  17. package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +4 -0
  18. package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +155 -0
  19. package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.dbg.json +4 -0
  20. package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.json +100 -0
  21. package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +4 -0
  22. package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.json +10 -0
  23. package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +4 -0
  24. package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.json +10 -0
  25. package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +4 -0
  26. package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +10 -0
  27. package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +4 -0
  28. package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.json +63 -0
  29. package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +4 -0
  30. package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.json +10 -0
  31. package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +4 -0
  32. package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.json +50 -0
  33. package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +4 -0
  34. package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.json +194 -0
  35. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +4 -0
  36. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +10 -0
  37. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +4 -0
  38. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.json +10 -0
  39. package/build/contracts/src/bridge/Bridge.sol/Bridge.dbg.json +4 -0
  40. package/build/contracts/src/bridge/Bridge.sol/Bridge.json +650 -0
  41. package/build/contracts/src/bridge/IBridge.sol/IBridge.dbg.json +4 -0
  42. package/build/contracts/src/bridge/IBridge.sol/IBridge.json +538 -0
  43. package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.dbg.json +4 -0
  44. package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.json +43 -0
  45. package/build/contracts/src/bridge/IInbox.sol/IInbox.dbg.json +4 -0
  46. package/build/contracts/src/bridge/IInbox.sol/IInbox.json +575 -0
  47. package/build/contracts/src/bridge/IOutbox.sol/IOutbox.dbg.json +4 -0
  48. package/build/contracts/src/bridge/IOutbox.sol/IOutbox.json +419 -0
  49. package/build/contracts/src/bridge/IOwnable.sol/IOwnable.dbg.json +4 -0
  50. package/build/contracts/src/bridge/IOwnable.sol/IOwnable.json +24 -0
  51. package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.dbg.json +4 -0
  52. package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.json +651 -0
  53. package/build/contracts/src/bridge/Inbox.sol/Inbox.dbg.json +4 -0
  54. package/build/contracts/src/bridge/Inbox.sol/Inbox.json +954 -0
  55. package/build/contracts/src/bridge/Messages.sol/Messages.dbg.json +4 -0
  56. package/build/contracts/src/bridge/Messages.sol/Messages.json +10 -0
  57. package/build/contracts/src/bridge/Outbox.sol/Outbox.dbg.json +4 -0
  58. package/build/contracts/src/bridge/Outbox.sol/Outbox.json +546 -0
  59. package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.dbg.json +4 -0
  60. package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.json +814 -0
  61. package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.dbg.json +4 -0
  62. package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.json +10 -0
  63. package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.dbg.json +4 -0
  64. package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.json +669 -0
  65. package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.dbg.json +4 -0
  66. package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.json +386 -0
  67. package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.dbg.json +4 -0
  68. package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.json +34 -0
  69. package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.dbg.json +4 -0
  70. package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.json +10 -0
  71. package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.dbg.json +4 -0
  72. package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.json +77 -0
  73. package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.dbg.json +4 -0
  74. package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.json +69 -0
  75. package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.dbg.json +4 -0
  76. package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.json +10 -0
  77. package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.dbg.json +4 -0
  78. package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.json +10 -0
  79. package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.dbg.json +4 -0
  80. package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.json +10 -0
  81. package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.dbg.json +4 -0
  82. package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.json +144 -0
  83. package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.dbg.json +4 -0
  84. package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.json +10 -0
  85. package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.dbg.json +4 -0
  86. package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.json +40 -0
  87. package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.dbg.json +4 -0
  88. package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.json +10 -0
  89. package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.dbg.json +4 -0
  90. package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.json +82 -0
  91. package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.dbg.json +4 -0
  92. package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.json +561 -0
  93. package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.dbg.json +4 -0
  94. package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.json +655 -0
  95. package/build/contracts/src/mocks/InboxStub.sol/InboxStub.dbg.json +4 -0
  96. package/build/contracts/src/mocks/InboxStub.sol/InboxStub.json +588 -0
  97. package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.dbg.json +4 -0
  98. package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.json +188 -0
  99. package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.dbg.json +4 -0
  100. package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.json +160 -0
  101. package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.dbg.json +4 -0
  102. package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.json +870 -0
  103. package/build/contracts/src/mocks/Simple.sol/Simple.dbg.json +4 -0
  104. package/build/contracts/src/mocks/Simple.sol/Simple.json +242 -0
  105. package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.dbg.json +4 -0
  106. package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.json +30 -0
  107. package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.dbg.json +4 -0
  108. package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.json +720 -0
  109. package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.dbg.json +4 -0
  110. package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.json +669 -0
  111. package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.dbg.json +4 -0
  112. package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.json +286 -0
  113. package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.dbg.json +4 -0
  114. package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.json +67 -0
  115. package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.dbg.json +4 -0
  116. package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.json +165 -0
  117. package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.dbg.json +4 -0
  118. package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.json +57 -0
  119. package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.dbg.json +4 -0
  120. package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.json +10 -0
  121. package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.dbg.json +4 -0
  122. package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.json +477 -0
  123. package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.dbg.json +4 -0
  124. package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.json +135 -0
  125. package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.dbg.json +4 -0
  126. package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.json +477 -0
  127. package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.dbg.json +4 -0
  128. package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.json +477 -0
  129. package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.dbg.json +4 -0
  130. package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.json +477 -0
  131. package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.dbg.json +4 -0
  132. package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.json +477 -0
  133. package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.dbg.json +4 -0
  134. package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.json +148 -0
  135. package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.dbg.json +4 -0
  136. package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.json +148 -0
  137. package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.dbg.json +4 -0
  138. package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.json +10 -0
  139. package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.dbg.json +4 -0
  140. package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.json +193 -0
  141. package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.dbg.json +4 -0
  142. package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.json +77 -0
  143. package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.dbg.json +4 -0
  144. package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.json +350 -0
  145. package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.dbg.json +4 -0
  146. package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.json +49 -0
  147. package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.dbg.json +4 -0
  148. package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.json +378 -0
  149. package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.dbg.json +4 -0
  150. package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.json +95 -0
  151. package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.dbg.json +4 -0
  152. package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.json +306 -0
  153. package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.dbg.json +4 -0
  154. package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.json +49 -0
  155. package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.dbg.json +4 -0
  156. package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.json +380 -0
  157. package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.dbg.json +4 -0
  158. package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.json +77 -0
  159. package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.dbg.json +4 -0
  160. package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.json +24 -0
  161. package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.dbg.json +4 -0
  162. package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.json +243 -0
  163. package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.dbg.json +4 -0
  164. package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.json +128 -0
  165. package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.dbg.json +4 -0
  166. package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.json +544 -0
  167. package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.dbg.json +4 -0
  168. package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.json +889 -0
  169. package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.dbg.json +4 -0
  170. package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.json +68 -0
  171. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.dbg.json +4 -0
  172. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.json +1428 -0
  173. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.dbg.json +4 -0
  174. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.json +1309 -0
  175. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.dbg.json +4 -0
  176. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.json +1443 -0
  177. package/build/contracts/src/rollup/Node.sol/NodeLib.dbg.json +4 -0
  178. package/build/contracts/src/rollup/Node.sol/NodeLib.json +10 -0
  179. package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.dbg.json +4 -0
  180. package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.json +1808 -0
  181. package/build/contracts/src/rollup/RollupCore.sol/RollupCore.dbg.json +4 -0
  182. package/build/contracts/src/rollup/RollupCore.sol/RollupCore.json +1051 -0
  183. package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.dbg.json +4 -0
  184. package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.json +383 -0
  185. package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.dbg.json +4 -0
  186. package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.json +110 -0
  187. package/build/contracts/src/rollup/RollupLib.sol/RollupLib.dbg.json +4 -0
  188. package/build/contracts/src/rollup/RollupLib.sol/RollupLib.json +10 -0
  189. package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.dbg.json +4 -0
  190. package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.json +226 -0
  191. package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.dbg.json +4 -0
  192. package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.json +1578 -0
  193. package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.dbg.json +4 -0
  194. package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.json +1712 -0
  195. package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.dbg.json +4 -0
  196. package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.json +1697 -0
  197. package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.dbg.json +4 -0
  198. package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.json +379 -0
  199. package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.dbg.json +4 -0
  200. package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.json +435 -0
  201. package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.dbg.json +4 -0
  202. package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.json +150 -0
  203. package/build/contracts/src/state/Deserialize.sol/Deserialize.dbg.json +4 -0
  204. package/build/contracts/src/state/Deserialize.sol/Deserialize.json +10 -0
  205. package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.dbg.json +4 -0
  206. package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.json +10 -0
  207. package/build/contracts/src/state/Instructions.sol/Instructions.dbg.json +4 -0
  208. package/build/contracts/src/state/Instructions.sol/Instructions.json +10 -0
  209. package/build/contracts/src/state/Machine.sol/MachineLib.dbg.json +4 -0
  210. package/build/contracts/src/state/Machine.sol/MachineLib.json +10 -0
  211. package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.dbg.json +4 -0
  212. package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.json +10 -0
  213. package/build/contracts/src/state/Module.sol/ModuleLib.dbg.json +4 -0
  214. package/build/contracts/src/state/Module.sol/ModuleLib.json +10 -0
  215. package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.dbg.json +4 -0
  216. package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.json +10 -0
  217. package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.dbg.json +4 -0
  218. package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.json +10 -0
  219. package/build/contracts/src/state/PcArray.sol/PcArrayLib.dbg.json +4 -0
  220. package/build/contracts/src/state/PcArray.sol/PcArrayLib.json +10 -0
  221. package/build/contracts/src/state/StackFrame.sol/StackFrameLib.dbg.json +4 -0
  222. package/build/contracts/src/state/StackFrame.sol/StackFrameLib.json +10 -0
  223. package/build/contracts/src/state/Value.sol/ValueLib.dbg.json +4 -0
  224. package/build/contracts/src/state/Value.sol/ValueLib.json +10 -0
  225. package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.dbg.json +4 -0
  226. package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.json +10 -0
  227. package/build/contracts/src/state/ValueStack.sol/ValueStackLib.dbg.json +4 -0
  228. package/build/contracts/src/state/ValueStack.sol/ValueStackLib.json +10 -0
  229. package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.dbg.json +4 -0
  230. package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.json +603 -0
  231. package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.dbg.json +4 -0
  232. package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.json +54 -0
  233. package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.dbg.json +4 -0
  234. package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.json +84 -0
  235. package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.dbg.json +4 -0
  236. package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.json +520 -0
  237. package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.dbg.json +4 -0
  238. package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.json +49 -0
  239. package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.dbg.json +4 -0
  240. package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.json +18 -0
  241. package/package.json +4 -2
@@ -0,0 +1,1428 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IRollupUser",
4
+ "sourceName": "src/rollup/IRollupLogic.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "uint64",
12
+ "name": "nodeNum",
13
+ "type": "uint64"
14
+ },
15
+ {
16
+ "indexed": false,
17
+ "internalType": "bytes32",
18
+ "name": "blockHash",
19
+ "type": "bytes32"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "bytes32",
24
+ "name": "sendRoot",
25
+ "type": "bytes32"
26
+ }
27
+ ],
28
+ "name": "NodeConfirmed",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [
34
+ {
35
+ "indexed": true,
36
+ "internalType": "uint64",
37
+ "name": "nodeNum",
38
+ "type": "uint64"
39
+ },
40
+ {
41
+ "indexed": true,
42
+ "internalType": "bytes32",
43
+ "name": "parentNodeHash",
44
+ "type": "bytes32"
45
+ },
46
+ {
47
+ "indexed": true,
48
+ "internalType": "bytes32",
49
+ "name": "nodeHash",
50
+ "type": "bytes32"
51
+ },
52
+ {
53
+ "indexed": false,
54
+ "internalType": "bytes32",
55
+ "name": "executionHash",
56
+ "type": "bytes32"
57
+ },
58
+ {
59
+ "components": [
60
+ {
61
+ "components": [
62
+ {
63
+ "components": [
64
+ {
65
+ "internalType": "bytes32[2]",
66
+ "name": "bytes32Vals",
67
+ "type": "bytes32[2]"
68
+ },
69
+ {
70
+ "internalType": "uint64[2]",
71
+ "name": "u64Vals",
72
+ "type": "uint64[2]"
73
+ }
74
+ ],
75
+ "internalType": "struct GlobalState",
76
+ "name": "globalState",
77
+ "type": "tuple"
78
+ },
79
+ {
80
+ "internalType": "enum MachineStatus",
81
+ "name": "machineStatus",
82
+ "type": "uint8"
83
+ }
84
+ ],
85
+ "internalType": "struct ExecutionState",
86
+ "name": "beforeState",
87
+ "type": "tuple"
88
+ },
89
+ {
90
+ "components": [
91
+ {
92
+ "components": [
93
+ {
94
+ "internalType": "bytes32[2]",
95
+ "name": "bytes32Vals",
96
+ "type": "bytes32[2]"
97
+ },
98
+ {
99
+ "internalType": "uint64[2]",
100
+ "name": "u64Vals",
101
+ "type": "uint64[2]"
102
+ }
103
+ ],
104
+ "internalType": "struct GlobalState",
105
+ "name": "globalState",
106
+ "type": "tuple"
107
+ },
108
+ {
109
+ "internalType": "enum MachineStatus",
110
+ "name": "machineStatus",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "internalType": "struct ExecutionState",
115
+ "name": "afterState",
116
+ "type": "tuple"
117
+ },
118
+ {
119
+ "internalType": "uint64",
120
+ "name": "numBlocks",
121
+ "type": "uint64"
122
+ }
123
+ ],
124
+ "indexed": false,
125
+ "internalType": "struct Assertion",
126
+ "name": "assertion",
127
+ "type": "tuple"
128
+ },
129
+ {
130
+ "indexed": false,
131
+ "internalType": "bytes32",
132
+ "name": "afterInboxBatchAcc",
133
+ "type": "bytes32"
134
+ },
135
+ {
136
+ "indexed": false,
137
+ "internalType": "bytes32",
138
+ "name": "wasmModuleRoot",
139
+ "type": "bytes32"
140
+ },
141
+ {
142
+ "indexed": false,
143
+ "internalType": "uint256",
144
+ "name": "inboxMaxCount",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "name": "NodeCreated",
149
+ "type": "event"
150
+ },
151
+ {
152
+ "anonymous": false,
153
+ "inputs": [
154
+ {
155
+ "indexed": true,
156
+ "internalType": "uint64",
157
+ "name": "nodeNum",
158
+ "type": "uint64"
159
+ }
160
+ ],
161
+ "name": "NodeRejected",
162
+ "type": "event"
163
+ },
164
+ {
165
+ "anonymous": false,
166
+ "inputs": [
167
+ {
168
+ "indexed": true,
169
+ "internalType": "uint64",
170
+ "name": "challengeIndex",
171
+ "type": "uint64"
172
+ },
173
+ {
174
+ "indexed": false,
175
+ "internalType": "address",
176
+ "name": "asserter",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "indexed": false,
181
+ "internalType": "address",
182
+ "name": "challenger",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "indexed": false,
187
+ "internalType": "uint64",
188
+ "name": "challengedNode",
189
+ "type": "uint64"
190
+ }
191
+ ],
192
+ "name": "RollupChallengeStarted",
193
+ "type": "event"
194
+ },
195
+ {
196
+ "anonymous": false,
197
+ "inputs": [
198
+ {
199
+ "indexed": false,
200
+ "internalType": "bytes32",
201
+ "name": "machineHash",
202
+ "type": "bytes32"
203
+ },
204
+ {
205
+ "indexed": false,
206
+ "internalType": "uint256",
207
+ "name": "chainId",
208
+ "type": "uint256"
209
+ }
210
+ ],
211
+ "name": "RollupInitialized",
212
+ "type": "event"
213
+ },
214
+ {
215
+ "anonymous": false,
216
+ "inputs": [
217
+ {
218
+ "indexed": true,
219
+ "internalType": "address",
220
+ "name": "user",
221
+ "type": "address"
222
+ },
223
+ {
224
+ "indexed": false,
225
+ "internalType": "uint256",
226
+ "name": "initialBalance",
227
+ "type": "uint256"
228
+ },
229
+ {
230
+ "indexed": false,
231
+ "internalType": "uint256",
232
+ "name": "finalBalance",
233
+ "type": "uint256"
234
+ }
235
+ ],
236
+ "name": "UserStakeUpdated",
237
+ "type": "event"
238
+ },
239
+ {
240
+ "anonymous": false,
241
+ "inputs": [
242
+ {
243
+ "indexed": true,
244
+ "internalType": "address",
245
+ "name": "user",
246
+ "type": "address"
247
+ },
248
+ {
249
+ "indexed": false,
250
+ "internalType": "uint256",
251
+ "name": "initialBalance",
252
+ "type": "uint256"
253
+ },
254
+ {
255
+ "indexed": false,
256
+ "internalType": "uint256",
257
+ "name": "finalBalance",
258
+ "type": "uint256"
259
+ }
260
+ ],
261
+ "name": "UserWithdrawableFundsUpdated",
262
+ "type": "event"
263
+ },
264
+ {
265
+ "inputs": [
266
+ {
267
+ "internalType": "address",
268
+ "name": "stakerAddress",
269
+ "type": "address"
270
+ }
271
+ ],
272
+ "name": "addToDeposit",
273
+ "outputs": [],
274
+ "stateMutability": "payable",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "address",
281
+ "name": "staker",
282
+ "type": "address"
283
+ }
284
+ ],
285
+ "name": "amountStaked",
286
+ "outputs": [
287
+ {
288
+ "internalType": "uint256",
289
+ "name": "",
290
+ "type": "uint256"
291
+ }
292
+ ],
293
+ "stateMutability": "view",
294
+ "type": "function"
295
+ },
296
+ {
297
+ "inputs": [],
298
+ "name": "baseStake",
299
+ "outputs": [
300
+ {
301
+ "internalType": "uint256",
302
+ "name": "",
303
+ "type": "uint256"
304
+ }
305
+ ],
306
+ "stateMutability": "view",
307
+ "type": "function"
308
+ },
309
+ {
310
+ "inputs": [],
311
+ "name": "bridge",
312
+ "outputs": [
313
+ {
314
+ "internalType": "contract IBridge",
315
+ "name": "",
316
+ "type": "address"
317
+ }
318
+ ],
319
+ "stateMutability": "view",
320
+ "type": "function"
321
+ },
322
+ {
323
+ "inputs": [],
324
+ "name": "chainId",
325
+ "outputs": [
326
+ {
327
+ "internalType": "uint256",
328
+ "name": "",
329
+ "type": "uint256"
330
+ }
331
+ ],
332
+ "stateMutability": "view",
333
+ "type": "function"
334
+ },
335
+ {
336
+ "inputs": [],
337
+ "name": "challengeManager",
338
+ "outputs": [
339
+ {
340
+ "internalType": "contract IChallengeManager",
341
+ "name": "",
342
+ "type": "address"
343
+ }
344
+ ],
345
+ "stateMutability": "view",
346
+ "type": "function"
347
+ },
348
+ {
349
+ "inputs": [
350
+ {
351
+ "internalType": "bytes32",
352
+ "name": "blockHash",
353
+ "type": "bytes32"
354
+ },
355
+ {
356
+ "internalType": "bytes32",
357
+ "name": "sendRoot",
358
+ "type": "bytes32"
359
+ }
360
+ ],
361
+ "name": "confirmNextNode",
362
+ "outputs": [],
363
+ "stateMutability": "nonpayable",
364
+ "type": "function"
365
+ },
366
+ {
367
+ "inputs": [],
368
+ "name": "confirmPeriodBlocks",
369
+ "outputs": [
370
+ {
371
+ "internalType": "uint64",
372
+ "name": "",
373
+ "type": "uint64"
374
+ }
375
+ ],
376
+ "stateMutability": "view",
377
+ "type": "function"
378
+ },
379
+ {
380
+ "inputs": [
381
+ {
382
+ "internalType": "uint64",
383
+ "name": "nodeNum",
384
+ "type": "uint64"
385
+ }
386
+ ],
387
+ "name": "countStakedZombies",
388
+ "outputs": [
389
+ {
390
+ "internalType": "uint256",
391
+ "name": "",
392
+ "type": "uint256"
393
+ }
394
+ ],
395
+ "stateMutability": "view",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "inputs": [
400
+ {
401
+ "internalType": "uint64",
402
+ "name": "nodeNum",
403
+ "type": "uint64"
404
+ }
405
+ ],
406
+ "name": "countZombiesStakedOnChildren",
407
+ "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
+ {
435
+ "components": [
436
+ {
437
+ "internalType": "bytes32[2]",
438
+ "name": "bytes32Vals",
439
+ "type": "bytes32[2]"
440
+ },
441
+ {
442
+ "internalType": "uint64[2]",
443
+ "name": "u64Vals",
444
+ "type": "uint64[2]"
445
+ }
446
+ ],
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]"
470
+ }
471
+ ],
472
+ "name": "createChallenge",
473
+ "outputs": [],
474
+ "stateMutability": "nonpayable",
475
+ "type": "function"
476
+ },
477
+ {
478
+ "inputs": [
479
+ {
480
+ "internalType": "address",
481
+ "name": "staker",
482
+ "type": "address"
483
+ }
484
+ ],
485
+ "name": "currentChallenge",
486
+ "outputs": [
487
+ {
488
+ "internalType": "uint64",
489
+ "name": "",
490
+ "type": "uint64"
491
+ }
492
+ ],
493
+ "stateMutability": "view",
494
+ "type": "function"
495
+ },
496
+ {
497
+ "inputs": [],
498
+ "name": "currentRequiredStake",
499
+ "outputs": [
500
+ {
501
+ "internalType": "uint256",
502
+ "name": "",
503
+ "type": "uint256"
504
+ }
505
+ ],
506
+ "stateMutability": "view",
507
+ "type": "function"
508
+ },
509
+ {
510
+ "inputs": [],
511
+ "name": "extraChallengeTimeBlocks",
512
+ "outputs": [
513
+ {
514
+ "internalType": "uint64",
515
+ "name": "",
516
+ "type": "uint64"
517
+ }
518
+ ],
519
+ "stateMutability": "view",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "inputs": [],
524
+ "name": "firstUnresolvedNode",
525
+ "outputs": [
526
+ {
527
+ "internalType": "uint64",
528
+ "name": "",
529
+ "type": "uint64"
530
+ }
531
+ ],
532
+ "stateMutability": "view",
533
+ "type": "function"
534
+ },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "uint64",
539
+ "name": "nodeNum",
540
+ "type": "uint64"
541
+ }
542
+ ],
543
+ "name": "getNode",
544
+ "outputs": [
545
+ {
546
+ "components": [
547
+ {
548
+ "internalType": "bytes32",
549
+ "name": "stateHash",
550
+ "type": "bytes32"
551
+ },
552
+ {
553
+ "internalType": "bytes32",
554
+ "name": "challengeHash",
555
+ "type": "bytes32"
556
+ },
557
+ {
558
+ "internalType": "bytes32",
559
+ "name": "confirmData",
560
+ "type": "bytes32"
561
+ },
562
+ {
563
+ "internalType": "uint64",
564
+ "name": "prevNum",
565
+ "type": "uint64"
566
+ },
567
+ {
568
+ "internalType": "uint64",
569
+ "name": "deadlineBlock",
570
+ "type": "uint64"
571
+ },
572
+ {
573
+ "internalType": "uint64",
574
+ "name": "noChildConfirmedBeforeBlock",
575
+ "type": "uint64"
576
+ },
577
+ {
578
+ "internalType": "uint64",
579
+ "name": "stakerCount",
580
+ "type": "uint64"
581
+ },
582
+ {
583
+ "internalType": "uint64",
584
+ "name": "childStakerCount",
585
+ "type": "uint64"
586
+ },
587
+ {
588
+ "internalType": "uint64",
589
+ "name": "firstChildBlock",
590
+ "type": "uint64"
591
+ },
592
+ {
593
+ "internalType": "uint64",
594
+ "name": "latestChildNumber",
595
+ "type": "uint64"
596
+ },
597
+ {
598
+ "internalType": "uint64",
599
+ "name": "createdAtBlock",
600
+ "type": "uint64"
601
+ },
602
+ {
603
+ "internalType": "bytes32",
604
+ "name": "nodeHash",
605
+ "type": "bytes32"
606
+ }
607
+ ],
608
+ "internalType": "struct Node",
609
+ "name": "",
610
+ "type": "tuple"
611
+ }
612
+ ],
613
+ "stateMutability": "view",
614
+ "type": "function"
615
+ },
616
+ {
617
+ "inputs": [
618
+ {
619
+ "internalType": "uint64",
620
+ "name": "nodeNum",
621
+ "type": "uint64"
622
+ }
623
+ ],
624
+ "name": "getNodeCreationBlockForLogLookup",
625
+ "outputs": [
626
+ {
627
+ "internalType": "uint256",
628
+ "name": "",
629
+ "type": "uint256"
630
+ }
631
+ ],
632
+ "stateMutability": "view",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [
637
+ {
638
+ "internalType": "address",
639
+ "name": "staker",
640
+ "type": "address"
641
+ }
642
+ ],
643
+ "name": "getStaker",
644
+ "outputs": [
645
+ {
646
+ "components": [
647
+ {
648
+ "internalType": "uint256",
649
+ "name": "amountStaked",
650
+ "type": "uint256"
651
+ },
652
+ {
653
+ "internalType": "uint64",
654
+ "name": "index",
655
+ "type": "uint64"
656
+ },
657
+ {
658
+ "internalType": "uint64",
659
+ "name": "latestStakedNode",
660
+ "type": "uint64"
661
+ },
662
+ {
663
+ "internalType": "uint64",
664
+ "name": "currentChallenge",
665
+ "type": "uint64"
666
+ },
667
+ {
668
+ "internalType": "bool",
669
+ "name": "isStaked",
670
+ "type": "bool"
671
+ }
672
+ ],
673
+ "internalType": "struct IRollupCore.Staker",
674
+ "name": "",
675
+ "type": "tuple"
676
+ }
677
+ ],
678
+ "stateMutability": "view",
679
+ "type": "function"
680
+ },
681
+ {
682
+ "inputs": [
683
+ {
684
+ "internalType": "uint64",
685
+ "name": "stakerNum",
686
+ "type": "uint64"
687
+ }
688
+ ],
689
+ "name": "getStakerAddress",
690
+ "outputs": [
691
+ {
692
+ "internalType": "address",
693
+ "name": "",
694
+ "type": "address"
695
+ }
696
+ ],
697
+ "stateMutability": "view",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "inputs": [
702
+ {
703
+ "internalType": "address",
704
+ "name": "stakeToken",
705
+ "type": "address"
706
+ }
707
+ ],
708
+ "name": "initialize",
709
+ "outputs": [],
710
+ "stateMutability": "view",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [],
715
+ "name": "isERC20Enabled",
716
+ "outputs": [
717
+ {
718
+ "internalType": "bool",
719
+ "name": "",
720
+ "type": "bool"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [
728
+ {
729
+ "internalType": "address",
730
+ "name": "staker",
731
+ "type": "address"
732
+ }
733
+ ],
734
+ "name": "isStaked",
735
+ "outputs": [
736
+ {
737
+ "internalType": "bool",
738
+ "name": "",
739
+ "type": "bool"
740
+ }
741
+ ],
742
+ "stateMutability": "view",
743
+ "type": "function"
744
+ },
745
+ {
746
+ "inputs": [
747
+ {
748
+ "internalType": "address",
749
+ "name": "",
750
+ "type": "address"
751
+ }
752
+ ],
753
+ "name": "isValidator",
754
+ "outputs": [
755
+ {
756
+ "internalType": "bool",
757
+ "name": "",
758
+ "type": "bool"
759
+ }
760
+ ],
761
+ "stateMutability": "view",
762
+ "type": "function"
763
+ },
764
+ {
765
+ "inputs": [
766
+ {
767
+ "internalType": "address",
768
+ "name": "staker",
769
+ "type": "address"
770
+ }
771
+ ],
772
+ "name": "isZombie",
773
+ "outputs": [
774
+ {
775
+ "internalType": "bool",
776
+ "name": "",
777
+ "type": "bool"
778
+ }
779
+ ],
780
+ "stateMutability": "view",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [],
785
+ "name": "lastStakeBlock",
786
+ "outputs": [
787
+ {
788
+ "internalType": "uint64",
789
+ "name": "",
790
+ "type": "uint64"
791
+ }
792
+ ],
793
+ "stateMutability": "view",
794
+ "type": "function"
795
+ },
796
+ {
797
+ "inputs": [],
798
+ "name": "latestConfirmed",
799
+ "outputs": [
800
+ {
801
+ "internalType": "uint64",
802
+ "name": "",
803
+ "type": "uint64"
804
+ }
805
+ ],
806
+ "stateMutability": "view",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [],
811
+ "name": "latestNodeCreated",
812
+ "outputs": [
813
+ {
814
+ "internalType": "uint64",
815
+ "name": "",
816
+ "type": "uint64"
817
+ }
818
+ ],
819
+ "stateMutability": "view",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [
824
+ {
825
+ "internalType": "address",
826
+ "name": "staker",
827
+ "type": "address"
828
+ }
829
+ ],
830
+ "name": "latestStakedNode",
831
+ "outputs": [
832
+ {
833
+ "internalType": "uint64",
834
+ "name": "",
835
+ "type": "uint64"
836
+ }
837
+ ],
838
+ "stateMutability": "view",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [],
843
+ "name": "loserStakeEscrow",
844
+ "outputs": [
845
+ {
846
+ "internalType": "address",
847
+ "name": "",
848
+ "type": "address"
849
+ }
850
+ ],
851
+ "stateMutability": "view",
852
+ "type": "function"
853
+ },
854
+ {
855
+ "inputs": [],
856
+ "name": "minimumAssertionPeriod",
857
+ "outputs": [
858
+ {
859
+ "internalType": "uint256",
860
+ "name": "",
861
+ "type": "uint256"
862
+ }
863
+ ],
864
+ "stateMutability": "view",
865
+ "type": "function"
866
+ },
867
+ {
868
+ "inputs": [
869
+ {
870
+ "internalType": "uint64",
871
+ "name": "nodeNum",
872
+ "type": "uint64"
873
+ },
874
+ {
875
+ "internalType": "bytes32",
876
+ "name": "nodeHash",
877
+ "type": "bytes32"
878
+ }
879
+ ],
880
+ "name": "newStakeOnExistingNode",
881
+ "outputs": [],
882
+ "stateMutability": "payable",
883
+ "type": "function"
884
+ },
885
+ {
886
+ "inputs": [
887
+ {
888
+ "components": [
889
+ {
890
+ "components": [
891
+ {
892
+ "components": [
893
+ {
894
+ "internalType": "bytes32[2]",
895
+ "name": "bytes32Vals",
896
+ "type": "bytes32[2]"
897
+ },
898
+ {
899
+ "internalType": "uint64[2]",
900
+ "name": "u64Vals",
901
+ "type": "uint64[2]"
902
+ }
903
+ ],
904
+ "internalType": "struct GlobalState",
905
+ "name": "globalState",
906
+ "type": "tuple"
907
+ },
908
+ {
909
+ "internalType": "enum MachineStatus",
910
+ "name": "machineStatus",
911
+ "type": "uint8"
912
+ }
913
+ ],
914
+ "internalType": "struct ExecutionState",
915
+ "name": "beforeState",
916
+ "type": "tuple"
917
+ },
918
+ {
919
+ "components": [
920
+ {
921
+ "components": [
922
+ {
923
+ "internalType": "bytes32[2]",
924
+ "name": "bytes32Vals",
925
+ "type": "bytes32[2]"
926
+ },
927
+ {
928
+ "internalType": "uint64[2]",
929
+ "name": "u64Vals",
930
+ "type": "uint64[2]"
931
+ }
932
+ ],
933
+ "internalType": "struct GlobalState",
934
+ "name": "globalState",
935
+ "type": "tuple"
936
+ },
937
+ {
938
+ "internalType": "enum MachineStatus",
939
+ "name": "machineStatus",
940
+ "type": "uint8"
941
+ }
942
+ ],
943
+ "internalType": "struct ExecutionState",
944
+ "name": "afterState",
945
+ "type": "tuple"
946
+ },
947
+ {
948
+ "internalType": "uint64",
949
+ "name": "numBlocks",
950
+ "type": "uint64"
951
+ }
952
+ ],
953
+ "internalType": "struct Assertion",
954
+ "name": "assertion",
955
+ "type": "tuple"
956
+ },
957
+ {
958
+ "internalType": "bytes32",
959
+ "name": "expectedNodeHash",
960
+ "type": "bytes32"
961
+ },
962
+ {
963
+ "internalType": "uint256",
964
+ "name": "prevNodeInboxMaxCount",
965
+ "type": "uint256"
966
+ }
967
+ ],
968
+ "name": "newStakeOnNewNode",
969
+ "outputs": [],
970
+ "stateMutability": "payable",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [
975
+ {
976
+ "internalType": "uint64",
977
+ "name": "nodeNum",
978
+ "type": "uint64"
979
+ },
980
+ {
981
+ "internalType": "address",
982
+ "name": "staker",
983
+ "type": "address"
984
+ }
985
+ ],
986
+ "name": "nodeHasStaker",
987
+ "outputs": [
988
+ {
989
+ "internalType": "bool",
990
+ "name": "",
991
+ "type": "bool"
992
+ }
993
+ ],
994
+ "stateMutability": "view",
995
+ "type": "function"
996
+ },
997
+ {
998
+ "inputs": [],
999
+ "name": "outbox",
1000
+ "outputs": [
1001
+ {
1002
+ "internalType": "contract IOutbox",
1003
+ "name": "",
1004
+ "type": "address"
1005
+ }
1006
+ ],
1007
+ "stateMutability": "view",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [],
1012
+ "name": "owner",
1013
+ "outputs": [
1014
+ {
1015
+ "internalType": "address",
1016
+ "name": "",
1017
+ "type": "address"
1018
+ }
1019
+ ],
1020
+ "stateMutability": "view",
1021
+ "type": "function"
1022
+ },
1023
+ {
1024
+ "inputs": [
1025
+ {
1026
+ "internalType": "uint256",
1027
+ "name": "target",
1028
+ "type": "uint256"
1029
+ }
1030
+ ],
1031
+ "name": "reduceDeposit",
1032
+ "outputs": [],
1033
+ "stateMutability": "nonpayable",
1034
+ "type": "function"
1035
+ },
1036
+ {
1037
+ "inputs": [
1038
+ {
1039
+ "internalType": "address",
1040
+ "name": "stakerAddress",
1041
+ "type": "address"
1042
+ }
1043
+ ],
1044
+ "name": "rejectNextNode",
1045
+ "outputs": [],
1046
+ "stateMutability": "nonpayable",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "uint256",
1053
+ "name": "startIndex",
1054
+ "type": "uint256"
1055
+ }
1056
+ ],
1057
+ "name": "removeOldZombies",
1058
+ "outputs": [],
1059
+ "stateMutability": "nonpayable",
1060
+ "type": "function"
1061
+ },
1062
+ {
1063
+ "inputs": [],
1064
+ "name": "removeWhitelistAfterFork",
1065
+ "outputs": [],
1066
+ "stateMutability": "nonpayable",
1067
+ "type": "function"
1068
+ },
1069
+ {
1070
+ "inputs": [],
1071
+ "name": "removeWhitelistAfterValidatorAfk",
1072
+ "outputs": [],
1073
+ "stateMutability": "nonpayable",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "internalType": "uint256",
1080
+ "name": "zombieNum",
1081
+ "type": "uint256"
1082
+ },
1083
+ {
1084
+ "internalType": "uint256",
1085
+ "name": "maxNodes",
1086
+ "type": "uint256"
1087
+ }
1088
+ ],
1089
+ "name": "removeZombie",
1090
+ "outputs": [],
1091
+ "stateMutability": "nonpayable",
1092
+ "type": "function"
1093
+ },
1094
+ {
1095
+ "inputs": [
1096
+ {
1097
+ "internalType": "uint256",
1098
+ "name": "nodeNum",
1099
+ "type": "uint256"
1100
+ }
1101
+ ],
1102
+ "name": "requireUnresolved",
1103
+ "outputs": [],
1104
+ "stateMutability": "view",
1105
+ "type": "function"
1106
+ },
1107
+ {
1108
+ "inputs": [],
1109
+ "name": "requireUnresolvedExists",
1110
+ "outputs": [],
1111
+ "stateMutability": "view",
1112
+ "type": "function"
1113
+ },
1114
+ {
1115
+ "inputs": [
1116
+ {
1117
+ "internalType": "uint256",
1118
+ "name": "blockNumber",
1119
+ "type": "uint256"
1120
+ },
1121
+ {
1122
+ "internalType": "uint64",
1123
+ "name": "firstUnresolvedNodeNum",
1124
+ "type": "uint64"
1125
+ },
1126
+ {
1127
+ "internalType": "uint64",
1128
+ "name": "latestCreatedNode",
1129
+ "type": "uint64"
1130
+ }
1131
+ ],
1132
+ "name": "requiredStake",
1133
+ "outputs": [
1134
+ {
1135
+ "internalType": "uint256",
1136
+ "name": "",
1137
+ "type": "uint256"
1138
+ }
1139
+ ],
1140
+ "stateMutability": "view",
1141
+ "type": "function"
1142
+ },
1143
+ {
1144
+ "inputs": [
1145
+ {
1146
+ "internalType": "address",
1147
+ "name": "stakerAddress",
1148
+ "type": "address"
1149
+ }
1150
+ ],
1151
+ "name": "returnOldDeposit",
1152
+ "outputs": [],
1153
+ "stateMutability": "nonpayable",
1154
+ "type": "function"
1155
+ },
1156
+ {
1157
+ "inputs": [],
1158
+ "name": "rollupEventInbox",
1159
+ "outputs": [
1160
+ {
1161
+ "internalType": "contract IRollupEventInbox",
1162
+ "name": "",
1163
+ "type": "address"
1164
+ }
1165
+ ],
1166
+ "stateMutability": "view",
1167
+ "type": "function"
1168
+ },
1169
+ {
1170
+ "inputs": [],
1171
+ "name": "sequencerInbox",
1172
+ "outputs": [
1173
+ {
1174
+ "internalType": "contract ISequencerInbox",
1175
+ "name": "",
1176
+ "type": "address"
1177
+ }
1178
+ ],
1179
+ "stateMutability": "view",
1180
+ "type": "function"
1181
+ },
1182
+ {
1183
+ "inputs": [
1184
+ {
1185
+ "internalType": "uint64",
1186
+ "name": "nodeNum",
1187
+ "type": "uint64"
1188
+ },
1189
+ {
1190
+ "internalType": "bytes32",
1191
+ "name": "nodeHash",
1192
+ "type": "bytes32"
1193
+ }
1194
+ ],
1195
+ "name": "stakeOnExistingNode",
1196
+ "outputs": [],
1197
+ "stateMutability": "nonpayable",
1198
+ "type": "function"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "components": [
1204
+ {
1205
+ "components": [
1206
+ {
1207
+ "components": [
1208
+ {
1209
+ "internalType": "bytes32[2]",
1210
+ "name": "bytes32Vals",
1211
+ "type": "bytes32[2]"
1212
+ },
1213
+ {
1214
+ "internalType": "uint64[2]",
1215
+ "name": "u64Vals",
1216
+ "type": "uint64[2]"
1217
+ }
1218
+ ],
1219
+ "internalType": "struct GlobalState",
1220
+ "name": "globalState",
1221
+ "type": "tuple"
1222
+ },
1223
+ {
1224
+ "internalType": "enum MachineStatus",
1225
+ "name": "machineStatus",
1226
+ "type": "uint8"
1227
+ }
1228
+ ],
1229
+ "internalType": "struct ExecutionState",
1230
+ "name": "beforeState",
1231
+ "type": "tuple"
1232
+ },
1233
+ {
1234
+ "components": [
1235
+ {
1236
+ "components": [
1237
+ {
1238
+ "internalType": "bytes32[2]",
1239
+ "name": "bytes32Vals",
1240
+ "type": "bytes32[2]"
1241
+ },
1242
+ {
1243
+ "internalType": "uint64[2]",
1244
+ "name": "u64Vals",
1245
+ "type": "uint64[2]"
1246
+ }
1247
+ ],
1248
+ "internalType": "struct GlobalState",
1249
+ "name": "globalState",
1250
+ "type": "tuple"
1251
+ },
1252
+ {
1253
+ "internalType": "enum MachineStatus",
1254
+ "name": "machineStatus",
1255
+ "type": "uint8"
1256
+ }
1257
+ ],
1258
+ "internalType": "struct ExecutionState",
1259
+ "name": "afterState",
1260
+ "type": "tuple"
1261
+ },
1262
+ {
1263
+ "internalType": "uint64",
1264
+ "name": "numBlocks",
1265
+ "type": "uint64"
1266
+ }
1267
+ ],
1268
+ "internalType": "struct Assertion",
1269
+ "name": "assertion",
1270
+ "type": "tuple"
1271
+ },
1272
+ {
1273
+ "internalType": "bytes32",
1274
+ "name": "expectedNodeHash",
1275
+ "type": "bytes32"
1276
+ },
1277
+ {
1278
+ "internalType": "uint256",
1279
+ "name": "prevNodeInboxMaxCount",
1280
+ "type": "uint256"
1281
+ }
1282
+ ],
1283
+ "name": "stakeOnNewNode",
1284
+ "outputs": [],
1285
+ "stateMutability": "nonpayable",
1286
+ "type": "function"
1287
+ },
1288
+ {
1289
+ "inputs": [],
1290
+ "name": "stakeToken",
1291
+ "outputs": [
1292
+ {
1293
+ "internalType": "address",
1294
+ "name": "",
1295
+ "type": "address"
1296
+ }
1297
+ ],
1298
+ "stateMutability": "view",
1299
+ "type": "function"
1300
+ },
1301
+ {
1302
+ "inputs": [],
1303
+ "name": "stakerCount",
1304
+ "outputs": [
1305
+ {
1306
+ "internalType": "uint64",
1307
+ "name": "",
1308
+ "type": "uint64"
1309
+ }
1310
+ ],
1311
+ "stateMutability": "view",
1312
+ "type": "function"
1313
+ },
1314
+ {
1315
+ "inputs": [],
1316
+ "name": "validatorWhitelistDisabled",
1317
+ "outputs": [
1318
+ {
1319
+ "internalType": "bool",
1320
+ "name": "",
1321
+ "type": "bool"
1322
+ }
1323
+ ],
1324
+ "stateMutability": "view",
1325
+ "type": "function"
1326
+ },
1327
+ {
1328
+ "inputs": [],
1329
+ "name": "wasmModuleRoot",
1330
+ "outputs": [
1331
+ {
1332
+ "internalType": "bytes32",
1333
+ "name": "",
1334
+ "type": "bytes32"
1335
+ }
1336
+ ],
1337
+ "stateMutability": "view",
1338
+ "type": "function"
1339
+ },
1340
+ {
1341
+ "inputs": [],
1342
+ "name": "withdrawStakerFunds",
1343
+ "outputs": [
1344
+ {
1345
+ "internalType": "uint256",
1346
+ "name": "",
1347
+ "type": "uint256"
1348
+ }
1349
+ ],
1350
+ "stateMutability": "nonpayable",
1351
+ "type": "function"
1352
+ },
1353
+ {
1354
+ "inputs": [
1355
+ {
1356
+ "internalType": "address",
1357
+ "name": "owner",
1358
+ "type": "address"
1359
+ }
1360
+ ],
1361
+ "name": "withdrawableFunds",
1362
+ "outputs": [
1363
+ {
1364
+ "internalType": "uint256",
1365
+ "name": "",
1366
+ "type": "uint256"
1367
+ }
1368
+ ],
1369
+ "stateMutability": "view",
1370
+ "type": "function"
1371
+ },
1372
+ {
1373
+ "inputs": [
1374
+ {
1375
+ "internalType": "uint256",
1376
+ "name": "zombieNum",
1377
+ "type": "uint256"
1378
+ }
1379
+ ],
1380
+ "name": "zombieAddress",
1381
+ "outputs": [
1382
+ {
1383
+ "internalType": "address",
1384
+ "name": "",
1385
+ "type": "address"
1386
+ }
1387
+ ],
1388
+ "stateMutability": "view",
1389
+ "type": "function"
1390
+ },
1391
+ {
1392
+ "inputs": [],
1393
+ "name": "zombieCount",
1394
+ "outputs": [
1395
+ {
1396
+ "internalType": "uint256",
1397
+ "name": "",
1398
+ "type": "uint256"
1399
+ }
1400
+ ],
1401
+ "stateMutability": "view",
1402
+ "type": "function"
1403
+ },
1404
+ {
1405
+ "inputs": [
1406
+ {
1407
+ "internalType": "uint256",
1408
+ "name": "zombieNum",
1409
+ "type": "uint256"
1410
+ }
1411
+ ],
1412
+ "name": "zombieLatestStakedNode",
1413
+ "outputs": [
1414
+ {
1415
+ "internalType": "uint64",
1416
+ "name": "",
1417
+ "type": "uint64"
1418
+ }
1419
+ ],
1420
+ "stateMutability": "view",
1421
+ "type": "function"
1422
+ }
1423
+ ],
1424
+ "bytecode": "0x",
1425
+ "deployedBytecode": "0x",
1426
+ "linkReferences": {},
1427
+ "deployedLinkReferences": {}
1428
+ }