@arbitrum/nitro-contracts 1.1.0-alpha.1 → 1.1.0-alpha.3

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