@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,1443 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IRollupUserERC20",
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
+ "internalType": "uint256",
273
+ "name": "tokenAmount",
274
+ "type": "uint256"
275
+ }
276
+ ],
277
+ "name": "addToDeposit",
278
+ "outputs": [],
279
+ "stateMutability": "nonpayable",
280
+ "type": "function"
281
+ },
282
+ {
283
+ "inputs": [
284
+ {
285
+ "internalType": "address",
286
+ "name": "staker",
287
+ "type": "address"
288
+ }
289
+ ],
290
+ "name": "amountStaked",
291
+ "outputs": [
292
+ {
293
+ "internalType": "uint256",
294
+ "name": "",
295
+ "type": "uint256"
296
+ }
297
+ ],
298
+ "stateMutability": "view",
299
+ "type": "function"
300
+ },
301
+ {
302
+ "inputs": [],
303
+ "name": "baseStake",
304
+ "outputs": [
305
+ {
306
+ "internalType": "uint256",
307
+ "name": "",
308
+ "type": "uint256"
309
+ }
310
+ ],
311
+ "stateMutability": "view",
312
+ "type": "function"
313
+ },
314
+ {
315
+ "inputs": [],
316
+ "name": "bridge",
317
+ "outputs": [
318
+ {
319
+ "internalType": "contract IBridge",
320
+ "name": "",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "stateMutability": "view",
325
+ "type": "function"
326
+ },
327
+ {
328
+ "inputs": [],
329
+ "name": "chainId",
330
+ "outputs": [
331
+ {
332
+ "internalType": "uint256",
333
+ "name": "",
334
+ "type": "uint256"
335
+ }
336
+ ],
337
+ "stateMutability": "view",
338
+ "type": "function"
339
+ },
340
+ {
341
+ "inputs": [],
342
+ "name": "challengeManager",
343
+ "outputs": [
344
+ {
345
+ "internalType": "contract IChallengeManager",
346
+ "name": "",
347
+ "type": "address"
348
+ }
349
+ ],
350
+ "stateMutability": "view",
351
+ "type": "function"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "bytes32",
357
+ "name": "blockHash",
358
+ "type": "bytes32"
359
+ },
360
+ {
361
+ "internalType": "bytes32",
362
+ "name": "sendRoot",
363
+ "type": "bytes32"
364
+ }
365
+ ],
366
+ "name": "confirmNextNode",
367
+ "outputs": [],
368
+ "stateMutability": "nonpayable",
369
+ "type": "function"
370
+ },
371
+ {
372
+ "inputs": [],
373
+ "name": "confirmPeriodBlocks",
374
+ "outputs": [
375
+ {
376
+ "internalType": "uint64",
377
+ "name": "",
378
+ "type": "uint64"
379
+ }
380
+ ],
381
+ "stateMutability": "view",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [
386
+ {
387
+ "internalType": "uint64",
388
+ "name": "nodeNum",
389
+ "type": "uint64"
390
+ }
391
+ ],
392
+ "name": "countStakedZombies",
393
+ "outputs": [
394
+ {
395
+ "internalType": "uint256",
396
+ "name": "",
397
+ "type": "uint256"
398
+ }
399
+ ],
400
+ "stateMutability": "view",
401
+ "type": "function"
402
+ },
403
+ {
404
+ "inputs": [
405
+ {
406
+ "internalType": "uint64",
407
+ "name": "nodeNum",
408
+ "type": "uint64"
409
+ }
410
+ ],
411
+ "name": "countZombiesStakedOnChildren",
412
+ "outputs": [
413
+ {
414
+ "internalType": "uint256",
415
+ "name": "",
416
+ "type": "uint256"
417
+ }
418
+ ],
419
+ "stateMutability": "view",
420
+ "type": "function"
421
+ },
422
+ {
423
+ "inputs": [
424
+ {
425
+ "internalType": "address[2]",
426
+ "name": "stakers",
427
+ "type": "address[2]"
428
+ },
429
+ {
430
+ "internalType": "uint64[2]",
431
+ "name": "nodeNums",
432
+ "type": "uint64[2]"
433
+ },
434
+ {
435
+ "internalType": "enum MachineStatus[2]",
436
+ "name": "machineStatuses",
437
+ "type": "uint8[2]"
438
+ },
439
+ {
440
+ "components": [
441
+ {
442
+ "internalType": "bytes32[2]",
443
+ "name": "bytes32Vals",
444
+ "type": "bytes32[2]"
445
+ },
446
+ {
447
+ "internalType": "uint64[2]",
448
+ "name": "u64Vals",
449
+ "type": "uint64[2]"
450
+ }
451
+ ],
452
+ "internalType": "struct GlobalState[2]",
453
+ "name": "globalStates",
454
+ "type": "tuple[2]"
455
+ },
456
+ {
457
+ "internalType": "uint64",
458
+ "name": "numBlocks",
459
+ "type": "uint64"
460
+ },
461
+ {
462
+ "internalType": "bytes32",
463
+ "name": "secondExecutionHash",
464
+ "type": "bytes32"
465
+ },
466
+ {
467
+ "internalType": "uint256[2]",
468
+ "name": "proposedTimes",
469
+ "type": "uint256[2]"
470
+ },
471
+ {
472
+ "internalType": "bytes32[2]",
473
+ "name": "wasmModuleRoots",
474
+ "type": "bytes32[2]"
475
+ }
476
+ ],
477
+ "name": "createChallenge",
478
+ "outputs": [],
479
+ "stateMutability": "nonpayable",
480
+ "type": "function"
481
+ },
482
+ {
483
+ "inputs": [
484
+ {
485
+ "internalType": "address",
486
+ "name": "staker",
487
+ "type": "address"
488
+ }
489
+ ],
490
+ "name": "currentChallenge",
491
+ "outputs": [
492
+ {
493
+ "internalType": "uint64",
494
+ "name": "",
495
+ "type": "uint64"
496
+ }
497
+ ],
498
+ "stateMutability": "view",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [],
503
+ "name": "currentRequiredStake",
504
+ "outputs": [
505
+ {
506
+ "internalType": "uint256",
507
+ "name": "",
508
+ "type": "uint256"
509
+ }
510
+ ],
511
+ "stateMutability": "view",
512
+ "type": "function"
513
+ },
514
+ {
515
+ "inputs": [],
516
+ "name": "extraChallengeTimeBlocks",
517
+ "outputs": [
518
+ {
519
+ "internalType": "uint64",
520
+ "name": "",
521
+ "type": "uint64"
522
+ }
523
+ ],
524
+ "stateMutability": "view",
525
+ "type": "function"
526
+ },
527
+ {
528
+ "inputs": [],
529
+ "name": "firstUnresolvedNode",
530
+ "outputs": [
531
+ {
532
+ "internalType": "uint64",
533
+ "name": "",
534
+ "type": "uint64"
535
+ }
536
+ ],
537
+ "stateMutability": "view",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [
542
+ {
543
+ "internalType": "uint64",
544
+ "name": "nodeNum",
545
+ "type": "uint64"
546
+ }
547
+ ],
548
+ "name": "getNode",
549
+ "outputs": [
550
+ {
551
+ "components": [
552
+ {
553
+ "internalType": "bytes32",
554
+ "name": "stateHash",
555
+ "type": "bytes32"
556
+ },
557
+ {
558
+ "internalType": "bytes32",
559
+ "name": "challengeHash",
560
+ "type": "bytes32"
561
+ },
562
+ {
563
+ "internalType": "bytes32",
564
+ "name": "confirmData",
565
+ "type": "bytes32"
566
+ },
567
+ {
568
+ "internalType": "uint64",
569
+ "name": "prevNum",
570
+ "type": "uint64"
571
+ },
572
+ {
573
+ "internalType": "uint64",
574
+ "name": "deadlineBlock",
575
+ "type": "uint64"
576
+ },
577
+ {
578
+ "internalType": "uint64",
579
+ "name": "noChildConfirmedBeforeBlock",
580
+ "type": "uint64"
581
+ },
582
+ {
583
+ "internalType": "uint64",
584
+ "name": "stakerCount",
585
+ "type": "uint64"
586
+ },
587
+ {
588
+ "internalType": "uint64",
589
+ "name": "childStakerCount",
590
+ "type": "uint64"
591
+ },
592
+ {
593
+ "internalType": "uint64",
594
+ "name": "firstChildBlock",
595
+ "type": "uint64"
596
+ },
597
+ {
598
+ "internalType": "uint64",
599
+ "name": "latestChildNumber",
600
+ "type": "uint64"
601
+ },
602
+ {
603
+ "internalType": "uint64",
604
+ "name": "createdAtBlock",
605
+ "type": "uint64"
606
+ },
607
+ {
608
+ "internalType": "bytes32",
609
+ "name": "nodeHash",
610
+ "type": "bytes32"
611
+ }
612
+ ],
613
+ "internalType": "struct Node",
614
+ "name": "",
615
+ "type": "tuple"
616
+ }
617
+ ],
618
+ "stateMutability": "view",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [
623
+ {
624
+ "internalType": "uint64",
625
+ "name": "nodeNum",
626
+ "type": "uint64"
627
+ }
628
+ ],
629
+ "name": "getNodeCreationBlockForLogLookup",
630
+ "outputs": [
631
+ {
632
+ "internalType": "uint256",
633
+ "name": "",
634
+ "type": "uint256"
635
+ }
636
+ ],
637
+ "stateMutability": "view",
638
+ "type": "function"
639
+ },
640
+ {
641
+ "inputs": [
642
+ {
643
+ "internalType": "address",
644
+ "name": "staker",
645
+ "type": "address"
646
+ }
647
+ ],
648
+ "name": "getStaker",
649
+ "outputs": [
650
+ {
651
+ "components": [
652
+ {
653
+ "internalType": "uint256",
654
+ "name": "amountStaked",
655
+ "type": "uint256"
656
+ },
657
+ {
658
+ "internalType": "uint64",
659
+ "name": "index",
660
+ "type": "uint64"
661
+ },
662
+ {
663
+ "internalType": "uint64",
664
+ "name": "latestStakedNode",
665
+ "type": "uint64"
666
+ },
667
+ {
668
+ "internalType": "uint64",
669
+ "name": "currentChallenge",
670
+ "type": "uint64"
671
+ },
672
+ {
673
+ "internalType": "bool",
674
+ "name": "isStaked",
675
+ "type": "bool"
676
+ }
677
+ ],
678
+ "internalType": "struct IRollupCore.Staker",
679
+ "name": "",
680
+ "type": "tuple"
681
+ }
682
+ ],
683
+ "stateMutability": "view",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "inputs": [
688
+ {
689
+ "internalType": "uint64",
690
+ "name": "stakerNum",
691
+ "type": "uint64"
692
+ }
693
+ ],
694
+ "name": "getStakerAddress",
695
+ "outputs": [
696
+ {
697
+ "internalType": "address",
698
+ "name": "",
699
+ "type": "address"
700
+ }
701
+ ],
702
+ "stateMutability": "view",
703
+ "type": "function"
704
+ },
705
+ {
706
+ "inputs": [
707
+ {
708
+ "internalType": "address",
709
+ "name": "stakeToken",
710
+ "type": "address"
711
+ }
712
+ ],
713
+ "name": "initialize",
714
+ "outputs": [],
715
+ "stateMutability": "view",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [],
720
+ "name": "isERC20Enabled",
721
+ "outputs": [
722
+ {
723
+ "internalType": "bool",
724
+ "name": "",
725
+ "type": "bool"
726
+ }
727
+ ],
728
+ "stateMutability": "view",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "inputs": [
733
+ {
734
+ "internalType": "address",
735
+ "name": "staker",
736
+ "type": "address"
737
+ }
738
+ ],
739
+ "name": "isStaked",
740
+ "outputs": [
741
+ {
742
+ "internalType": "bool",
743
+ "name": "",
744
+ "type": "bool"
745
+ }
746
+ ],
747
+ "stateMutability": "view",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [
752
+ {
753
+ "internalType": "address",
754
+ "name": "",
755
+ "type": "address"
756
+ }
757
+ ],
758
+ "name": "isValidator",
759
+ "outputs": [
760
+ {
761
+ "internalType": "bool",
762
+ "name": "",
763
+ "type": "bool"
764
+ }
765
+ ],
766
+ "stateMutability": "view",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [
771
+ {
772
+ "internalType": "address",
773
+ "name": "staker",
774
+ "type": "address"
775
+ }
776
+ ],
777
+ "name": "isZombie",
778
+ "outputs": [
779
+ {
780
+ "internalType": "bool",
781
+ "name": "",
782
+ "type": "bool"
783
+ }
784
+ ],
785
+ "stateMutability": "view",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [],
790
+ "name": "lastStakeBlock",
791
+ "outputs": [
792
+ {
793
+ "internalType": "uint64",
794
+ "name": "",
795
+ "type": "uint64"
796
+ }
797
+ ],
798
+ "stateMutability": "view",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [],
803
+ "name": "latestConfirmed",
804
+ "outputs": [
805
+ {
806
+ "internalType": "uint64",
807
+ "name": "",
808
+ "type": "uint64"
809
+ }
810
+ ],
811
+ "stateMutability": "view",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "inputs": [],
816
+ "name": "latestNodeCreated",
817
+ "outputs": [
818
+ {
819
+ "internalType": "uint64",
820
+ "name": "",
821
+ "type": "uint64"
822
+ }
823
+ ],
824
+ "stateMutability": "view",
825
+ "type": "function"
826
+ },
827
+ {
828
+ "inputs": [
829
+ {
830
+ "internalType": "address",
831
+ "name": "staker",
832
+ "type": "address"
833
+ }
834
+ ],
835
+ "name": "latestStakedNode",
836
+ "outputs": [
837
+ {
838
+ "internalType": "uint64",
839
+ "name": "",
840
+ "type": "uint64"
841
+ }
842
+ ],
843
+ "stateMutability": "view",
844
+ "type": "function"
845
+ },
846
+ {
847
+ "inputs": [],
848
+ "name": "loserStakeEscrow",
849
+ "outputs": [
850
+ {
851
+ "internalType": "address",
852
+ "name": "",
853
+ "type": "address"
854
+ }
855
+ ],
856
+ "stateMutability": "view",
857
+ "type": "function"
858
+ },
859
+ {
860
+ "inputs": [],
861
+ "name": "minimumAssertionPeriod",
862
+ "outputs": [
863
+ {
864
+ "internalType": "uint256",
865
+ "name": "",
866
+ "type": "uint256"
867
+ }
868
+ ],
869
+ "stateMutability": "view",
870
+ "type": "function"
871
+ },
872
+ {
873
+ "inputs": [
874
+ {
875
+ "internalType": "uint256",
876
+ "name": "tokenAmount",
877
+ "type": "uint256"
878
+ },
879
+ {
880
+ "internalType": "uint64",
881
+ "name": "nodeNum",
882
+ "type": "uint64"
883
+ },
884
+ {
885
+ "internalType": "bytes32",
886
+ "name": "nodeHash",
887
+ "type": "bytes32"
888
+ }
889
+ ],
890
+ "name": "newStakeOnExistingNode",
891
+ "outputs": [],
892
+ "stateMutability": "nonpayable",
893
+ "type": "function"
894
+ },
895
+ {
896
+ "inputs": [
897
+ {
898
+ "internalType": "uint256",
899
+ "name": "tokenAmount",
900
+ "type": "uint256"
901
+ },
902
+ {
903
+ "components": [
904
+ {
905
+ "components": [
906
+ {
907
+ "components": [
908
+ {
909
+ "internalType": "bytes32[2]",
910
+ "name": "bytes32Vals",
911
+ "type": "bytes32[2]"
912
+ },
913
+ {
914
+ "internalType": "uint64[2]",
915
+ "name": "u64Vals",
916
+ "type": "uint64[2]"
917
+ }
918
+ ],
919
+ "internalType": "struct GlobalState",
920
+ "name": "globalState",
921
+ "type": "tuple"
922
+ },
923
+ {
924
+ "internalType": "enum MachineStatus",
925
+ "name": "machineStatus",
926
+ "type": "uint8"
927
+ }
928
+ ],
929
+ "internalType": "struct ExecutionState",
930
+ "name": "beforeState",
931
+ "type": "tuple"
932
+ },
933
+ {
934
+ "components": [
935
+ {
936
+ "components": [
937
+ {
938
+ "internalType": "bytes32[2]",
939
+ "name": "bytes32Vals",
940
+ "type": "bytes32[2]"
941
+ },
942
+ {
943
+ "internalType": "uint64[2]",
944
+ "name": "u64Vals",
945
+ "type": "uint64[2]"
946
+ }
947
+ ],
948
+ "internalType": "struct GlobalState",
949
+ "name": "globalState",
950
+ "type": "tuple"
951
+ },
952
+ {
953
+ "internalType": "enum MachineStatus",
954
+ "name": "machineStatus",
955
+ "type": "uint8"
956
+ }
957
+ ],
958
+ "internalType": "struct ExecutionState",
959
+ "name": "afterState",
960
+ "type": "tuple"
961
+ },
962
+ {
963
+ "internalType": "uint64",
964
+ "name": "numBlocks",
965
+ "type": "uint64"
966
+ }
967
+ ],
968
+ "internalType": "struct Assertion",
969
+ "name": "assertion",
970
+ "type": "tuple"
971
+ },
972
+ {
973
+ "internalType": "bytes32",
974
+ "name": "expectedNodeHash",
975
+ "type": "bytes32"
976
+ },
977
+ {
978
+ "internalType": "uint256",
979
+ "name": "prevNodeInboxMaxCount",
980
+ "type": "uint256"
981
+ }
982
+ ],
983
+ "name": "newStakeOnNewNode",
984
+ "outputs": [],
985
+ "stateMutability": "nonpayable",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [
990
+ {
991
+ "internalType": "uint64",
992
+ "name": "nodeNum",
993
+ "type": "uint64"
994
+ },
995
+ {
996
+ "internalType": "address",
997
+ "name": "staker",
998
+ "type": "address"
999
+ }
1000
+ ],
1001
+ "name": "nodeHasStaker",
1002
+ "outputs": [
1003
+ {
1004
+ "internalType": "bool",
1005
+ "name": "",
1006
+ "type": "bool"
1007
+ }
1008
+ ],
1009
+ "stateMutability": "view",
1010
+ "type": "function"
1011
+ },
1012
+ {
1013
+ "inputs": [],
1014
+ "name": "outbox",
1015
+ "outputs": [
1016
+ {
1017
+ "internalType": "contract IOutbox",
1018
+ "name": "",
1019
+ "type": "address"
1020
+ }
1021
+ ],
1022
+ "stateMutability": "view",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [],
1027
+ "name": "owner",
1028
+ "outputs": [
1029
+ {
1030
+ "internalType": "address",
1031
+ "name": "",
1032
+ "type": "address"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "uint256",
1042
+ "name": "target",
1043
+ "type": "uint256"
1044
+ }
1045
+ ],
1046
+ "name": "reduceDeposit",
1047
+ "outputs": [],
1048
+ "stateMutability": "nonpayable",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "inputs": [
1053
+ {
1054
+ "internalType": "address",
1055
+ "name": "stakerAddress",
1056
+ "type": "address"
1057
+ }
1058
+ ],
1059
+ "name": "rejectNextNode",
1060
+ "outputs": [],
1061
+ "stateMutability": "nonpayable",
1062
+ "type": "function"
1063
+ },
1064
+ {
1065
+ "inputs": [
1066
+ {
1067
+ "internalType": "uint256",
1068
+ "name": "startIndex",
1069
+ "type": "uint256"
1070
+ }
1071
+ ],
1072
+ "name": "removeOldZombies",
1073
+ "outputs": [],
1074
+ "stateMutability": "nonpayable",
1075
+ "type": "function"
1076
+ },
1077
+ {
1078
+ "inputs": [],
1079
+ "name": "removeWhitelistAfterFork",
1080
+ "outputs": [],
1081
+ "stateMutability": "nonpayable",
1082
+ "type": "function"
1083
+ },
1084
+ {
1085
+ "inputs": [],
1086
+ "name": "removeWhitelistAfterValidatorAfk",
1087
+ "outputs": [],
1088
+ "stateMutability": "nonpayable",
1089
+ "type": "function"
1090
+ },
1091
+ {
1092
+ "inputs": [
1093
+ {
1094
+ "internalType": "uint256",
1095
+ "name": "zombieNum",
1096
+ "type": "uint256"
1097
+ },
1098
+ {
1099
+ "internalType": "uint256",
1100
+ "name": "maxNodes",
1101
+ "type": "uint256"
1102
+ }
1103
+ ],
1104
+ "name": "removeZombie",
1105
+ "outputs": [],
1106
+ "stateMutability": "nonpayable",
1107
+ "type": "function"
1108
+ },
1109
+ {
1110
+ "inputs": [
1111
+ {
1112
+ "internalType": "uint256",
1113
+ "name": "nodeNum",
1114
+ "type": "uint256"
1115
+ }
1116
+ ],
1117
+ "name": "requireUnresolved",
1118
+ "outputs": [],
1119
+ "stateMutability": "view",
1120
+ "type": "function"
1121
+ },
1122
+ {
1123
+ "inputs": [],
1124
+ "name": "requireUnresolvedExists",
1125
+ "outputs": [],
1126
+ "stateMutability": "view",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [
1131
+ {
1132
+ "internalType": "uint256",
1133
+ "name": "blockNumber",
1134
+ "type": "uint256"
1135
+ },
1136
+ {
1137
+ "internalType": "uint64",
1138
+ "name": "firstUnresolvedNodeNum",
1139
+ "type": "uint64"
1140
+ },
1141
+ {
1142
+ "internalType": "uint64",
1143
+ "name": "latestCreatedNode",
1144
+ "type": "uint64"
1145
+ }
1146
+ ],
1147
+ "name": "requiredStake",
1148
+ "outputs": [
1149
+ {
1150
+ "internalType": "uint256",
1151
+ "name": "",
1152
+ "type": "uint256"
1153
+ }
1154
+ ],
1155
+ "stateMutability": "view",
1156
+ "type": "function"
1157
+ },
1158
+ {
1159
+ "inputs": [
1160
+ {
1161
+ "internalType": "address",
1162
+ "name": "stakerAddress",
1163
+ "type": "address"
1164
+ }
1165
+ ],
1166
+ "name": "returnOldDeposit",
1167
+ "outputs": [],
1168
+ "stateMutability": "nonpayable",
1169
+ "type": "function"
1170
+ },
1171
+ {
1172
+ "inputs": [],
1173
+ "name": "rollupEventInbox",
1174
+ "outputs": [
1175
+ {
1176
+ "internalType": "contract IRollupEventInbox",
1177
+ "name": "",
1178
+ "type": "address"
1179
+ }
1180
+ ],
1181
+ "stateMutability": "view",
1182
+ "type": "function"
1183
+ },
1184
+ {
1185
+ "inputs": [],
1186
+ "name": "sequencerInbox",
1187
+ "outputs": [
1188
+ {
1189
+ "internalType": "contract ISequencerInbox",
1190
+ "name": "",
1191
+ "type": "address"
1192
+ }
1193
+ ],
1194
+ "stateMutability": "view",
1195
+ "type": "function"
1196
+ },
1197
+ {
1198
+ "inputs": [
1199
+ {
1200
+ "internalType": "uint64",
1201
+ "name": "nodeNum",
1202
+ "type": "uint64"
1203
+ },
1204
+ {
1205
+ "internalType": "bytes32",
1206
+ "name": "nodeHash",
1207
+ "type": "bytes32"
1208
+ }
1209
+ ],
1210
+ "name": "stakeOnExistingNode",
1211
+ "outputs": [],
1212
+ "stateMutability": "nonpayable",
1213
+ "type": "function"
1214
+ },
1215
+ {
1216
+ "inputs": [
1217
+ {
1218
+ "components": [
1219
+ {
1220
+ "components": [
1221
+ {
1222
+ "components": [
1223
+ {
1224
+ "internalType": "bytes32[2]",
1225
+ "name": "bytes32Vals",
1226
+ "type": "bytes32[2]"
1227
+ },
1228
+ {
1229
+ "internalType": "uint64[2]",
1230
+ "name": "u64Vals",
1231
+ "type": "uint64[2]"
1232
+ }
1233
+ ],
1234
+ "internalType": "struct GlobalState",
1235
+ "name": "globalState",
1236
+ "type": "tuple"
1237
+ },
1238
+ {
1239
+ "internalType": "enum MachineStatus",
1240
+ "name": "machineStatus",
1241
+ "type": "uint8"
1242
+ }
1243
+ ],
1244
+ "internalType": "struct ExecutionState",
1245
+ "name": "beforeState",
1246
+ "type": "tuple"
1247
+ },
1248
+ {
1249
+ "components": [
1250
+ {
1251
+ "components": [
1252
+ {
1253
+ "internalType": "bytes32[2]",
1254
+ "name": "bytes32Vals",
1255
+ "type": "bytes32[2]"
1256
+ },
1257
+ {
1258
+ "internalType": "uint64[2]",
1259
+ "name": "u64Vals",
1260
+ "type": "uint64[2]"
1261
+ }
1262
+ ],
1263
+ "internalType": "struct GlobalState",
1264
+ "name": "globalState",
1265
+ "type": "tuple"
1266
+ },
1267
+ {
1268
+ "internalType": "enum MachineStatus",
1269
+ "name": "machineStatus",
1270
+ "type": "uint8"
1271
+ }
1272
+ ],
1273
+ "internalType": "struct ExecutionState",
1274
+ "name": "afterState",
1275
+ "type": "tuple"
1276
+ },
1277
+ {
1278
+ "internalType": "uint64",
1279
+ "name": "numBlocks",
1280
+ "type": "uint64"
1281
+ }
1282
+ ],
1283
+ "internalType": "struct Assertion",
1284
+ "name": "assertion",
1285
+ "type": "tuple"
1286
+ },
1287
+ {
1288
+ "internalType": "bytes32",
1289
+ "name": "expectedNodeHash",
1290
+ "type": "bytes32"
1291
+ },
1292
+ {
1293
+ "internalType": "uint256",
1294
+ "name": "prevNodeInboxMaxCount",
1295
+ "type": "uint256"
1296
+ }
1297
+ ],
1298
+ "name": "stakeOnNewNode",
1299
+ "outputs": [],
1300
+ "stateMutability": "nonpayable",
1301
+ "type": "function"
1302
+ },
1303
+ {
1304
+ "inputs": [],
1305
+ "name": "stakeToken",
1306
+ "outputs": [
1307
+ {
1308
+ "internalType": "address",
1309
+ "name": "",
1310
+ "type": "address"
1311
+ }
1312
+ ],
1313
+ "stateMutability": "view",
1314
+ "type": "function"
1315
+ },
1316
+ {
1317
+ "inputs": [],
1318
+ "name": "stakerCount",
1319
+ "outputs": [
1320
+ {
1321
+ "internalType": "uint64",
1322
+ "name": "",
1323
+ "type": "uint64"
1324
+ }
1325
+ ],
1326
+ "stateMutability": "view",
1327
+ "type": "function"
1328
+ },
1329
+ {
1330
+ "inputs": [],
1331
+ "name": "validatorWhitelistDisabled",
1332
+ "outputs": [
1333
+ {
1334
+ "internalType": "bool",
1335
+ "name": "",
1336
+ "type": "bool"
1337
+ }
1338
+ ],
1339
+ "stateMutability": "view",
1340
+ "type": "function"
1341
+ },
1342
+ {
1343
+ "inputs": [],
1344
+ "name": "wasmModuleRoot",
1345
+ "outputs": [
1346
+ {
1347
+ "internalType": "bytes32",
1348
+ "name": "",
1349
+ "type": "bytes32"
1350
+ }
1351
+ ],
1352
+ "stateMutability": "view",
1353
+ "type": "function"
1354
+ },
1355
+ {
1356
+ "inputs": [],
1357
+ "name": "withdrawStakerFunds",
1358
+ "outputs": [
1359
+ {
1360
+ "internalType": "uint256",
1361
+ "name": "",
1362
+ "type": "uint256"
1363
+ }
1364
+ ],
1365
+ "stateMutability": "nonpayable",
1366
+ "type": "function"
1367
+ },
1368
+ {
1369
+ "inputs": [
1370
+ {
1371
+ "internalType": "address",
1372
+ "name": "owner",
1373
+ "type": "address"
1374
+ }
1375
+ ],
1376
+ "name": "withdrawableFunds",
1377
+ "outputs": [
1378
+ {
1379
+ "internalType": "uint256",
1380
+ "name": "",
1381
+ "type": "uint256"
1382
+ }
1383
+ ],
1384
+ "stateMutability": "view",
1385
+ "type": "function"
1386
+ },
1387
+ {
1388
+ "inputs": [
1389
+ {
1390
+ "internalType": "uint256",
1391
+ "name": "zombieNum",
1392
+ "type": "uint256"
1393
+ }
1394
+ ],
1395
+ "name": "zombieAddress",
1396
+ "outputs": [
1397
+ {
1398
+ "internalType": "address",
1399
+ "name": "",
1400
+ "type": "address"
1401
+ }
1402
+ ],
1403
+ "stateMutability": "view",
1404
+ "type": "function"
1405
+ },
1406
+ {
1407
+ "inputs": [],
1408
+ "name": "zombieCount",
1409
+ "outputs": [
1410
+ {
1411
+ "internalType": "uint256",
1412
+ "name": "",
1413
+ "type": "uint256"
1414
+ }
1415
+ ],
1416
+ "stateMutability": "view",
1417
+ "type": "function"
1418
+ },
1419
+ {
1420
+ "inputs": [
1421
+ {
1422
+ "internalType": "uint256",
1423
+ "name": "zombieNum",
1424
+ "type": "uint256"
1425
+ }
1426
+ ],
1427
+ "name": "zombieLatestStakedNode",
1428
+ "outputs": [
1429
+ {
1430
+ "internalType": "uint64",
1431
+ "name": "",
1432
+ "type": "uint64"
1433
+ }
1434
+ ],
1435
+ "stateMutability": "view",
1436
+ "type": "function"
1437
+ }
1438
+ ],
1439
+ "bytecode": "0x",
1440
+ "deployedBytecode": "0x",
1441
+ "linkReferences": {},
1442
+ "deployedLinkReferences": {}
1443
+ }