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

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