@arbitrum/nitro-contracts 1.1.0-alpha.7 → 1.1.0-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (540) hide show
  1. package/build/contracts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
  2. package/build/contracts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
  3. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
  4. package/build/contracts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
  5. package/build/contracts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +1 -1
  6. package/build/contracts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
  7. package/build/contracts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +1 -1
  8. package/build/contracts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
  9. package/build/contracts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
  10. package/build/contracts/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol/UUPSUpgradeable.dbg.json +1 -1
  11. package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.dbg.json +4 -0
  12. package/build/contracts/@openzeppelin/contracts/security/ReentrancyGuard.sol/ReentrancyGuard.json +10 -0
  13. package/build/contracts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  14. package/build/contracts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  15. package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  16. package/build/contracts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
  17. package/build/contracts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
  18. package/build/contracts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  19. package/build/contracts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
  20. package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.dbg.json +4 -0
  21. package/build/contracts/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol/AccessControlUpgradeable.json +215 -0
  22. package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.dbg.json +4 -0
  23. package/build/contracts/@openzeppelin/contracts-upgradeable/access/IAccessControlUpgradeable.sol/IAccessControlUpgradeable.json +183 -0
  24. package/build/contracts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  25. package/build/contracts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  26. package/build/contracts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
  27. package/build/contracts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
  28. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  29. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  30. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.dbg.json +4 -0
  31. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol/StorageSlotUpgradeable.json +10 -0
  32. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.dbg.json +4 -0
  33. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol/StringsUpgradeable.json +10 -0
  34. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.dbg.json +4 -0
  35. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol/ERC165Upgradeable.json +30 -0
  36. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.dbg.json +4 -0
  37. package/build/contracts/@openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol/IERC165Upgradeable.json +30 -0
  38. package/build/contracts/src/bridge/AbsBridge.sol/AbsBridge.dbg.json +1 -1
  39. package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.dbg.json +1 -1
  40. package/build/contracts/src/bridge/AbsInbox.sol/AbsInbox.json +26 -0
  41. package/build/contracts/src/bridge/AbsOutbox.sol/AbsOutbox.dbg.json +1 -1
  42. package/build/contracts/src/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  43. package/build/contracts/src/bridge/Bridge.sol/Bridge.json +2 -2
  44. package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.dbg.json +1 -1
  45. package/build/contracts/src/bridge/ERC20Bridge.sol/ERC20Bridge.json +7 -2
  46. package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.dbg.json +1 -1
  47. package/build/contracts/src/bridge/ERC20Inbox.sol/ERC20Inbox.json +39 -2
  48. package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.dbg.json +1 -1
  49. package/build/contracts/src/bridge/ERC20Outbox.sol/ERC20Outbox.json +2 -2
  50. package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.dbg.json +4 -0
  51. package/build/contracts/src/bridge/GasRefunder.sol/GasRefunder.json +539 -0
  52. package/build/contracts/src/bridge/IBridge.sol/IBridge.dbg.json +1 -1
  53. package/build/contracts/src/bridge/IDelayedMessageProvider.sol/IDelayedMessageProvider.dbg.json +1 -1
  54. package/build/contracts/src/bridge/IERC20Bridge.sol/IERC20Bridge.dbg.json +1 -1
  55. package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.dbg.json +1 -1
  56. package/build/contracts/src/bridge/IERC20Inbox.sol/IERC20Inbox.json +26 -0
  57. package/build/contracts/src/bridge/IEthBridge.sol/IEthBridge.dbg.json +1 -1
  58. package/build/contracts/src/bridge/IInbox.sol/IInbox.dbg.json +1 -1
  59. package/build/contracts/src/bridge/IInbox.sol/IInbox.json +26 -0
  60. package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.dbg.json +1 -1
  61. package/build/contracts/src/bridge/IInboxBase.sol/IInboxBase.json +26 -0
  62. package/build/contracts/src/bridge/IOutbox.sol/IOutbox.dbg.json +1 -1
  63. package/build/contracts/src/bridge/IOutbox.sol/IOutbox.json +13 -0
  64. package/build/contracts/src/bridge/IOwnable.sol/IOwnable.dbg.json +1 -1
  65. package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.dbg.json +1 -1
  66. package/build/contracts/src/bridge/ISequencerInbox.sol/ISequencerInbox.json +13 -0
  67. package/build/contracts/src/bridge/Inbox.sol/Inbox.dbg.json +1 -1
  68. package/build/contracts/src/bridge/Inbox.sol/Inbox.json +39 -2
  69. package/build/contracts/src/bridge/Messages.sol/Messages.dbg.json +1 -1
  70. package/build/contracts/src/bridge/Outbox.sol/Outbox.dbg.json +1 -1
  71. package/build/contracts/src/bridge/Outbox.sol/Outbox.json +2 -2
  72. package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.dbg.json +1 -1
  73. package/build/contracts/src/bridge/SequencerInbox.sol/SequencerInbox.json +26 -2
  74. package/build/contracts/src/challenge/ChallengeLib.sol/ChallengeLib.dbg.json +1 -1
  75. package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.dbg.json +1 -1
  76. package/build/contracts/src/challenge/ChallengeManager.sol/ChallengeManager.json +2 -2
  77. package/build/contracts/src/challenge/IChallengeManager.sol/IChallengeManager.dbg.json +1 -1
  78. package/build/contracts/src/challenge/IChallengeResultReceiver.sol/IChallengeResultReceiver.dbg.json +1 -1
  79. package/build/contracts/src/libraries/AddressAliasHelper.sol/AddressAliasHelper.dbg.json +1 -1
  80. package/build/contracts/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.dbg.json +1 -1
  81. package/build/contracts/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.dbg.json +1 -1
  82. package/build/contracts/src/libraries/ArbitrumChecker.sol/ArbitrumChecker.dbg.json +1 -1
  83. package/build/contracts/src/libraries/CryptographyPrimitives.sol/CryptographyPrimitives.dbg.json +1 -1
  84. package/build/contracts/src/libraries/DelegateCallAware.sol/DelegateCallAware.dbg.json +1 -1
  85. package/build/contracts/src/libraries/DoubleLogicUUPSUpgradeable.sol/DoubleLogicUUPSUpgradeable.dbg.json +1 -1
  86. package/build/contracts/src/libraries/IGasRefunder.sol/GasRefundEnabled.dbg.json +1 -1
  87. package/build/contracts/src/libraries/IGasRefunder.sol/IGasRefunder.dbg.json +1 -1
  88. package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.dbg.json +1 -1
  89. package/build/contracts/src/libraries/MerkleLib.sol/MerkleLib.json +2 -2
  90. package/build/contracts/src/libraries/UUPSNotUpgradeable.sol/UUPSNotUpgradeable.dbg.json +1 -1
  91. package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.dbg.json +1 -1
  92. package/build/contracts/src/mocks/BridgeStub.sol/BridgeStub.json +2 -2
  93. package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.dbg.json +1 -1
  94. package/build/contracts/src/mocks/BridgeUnproxied.sol/BridgeUnproxied.json +2 -2
  95. package/build/contracts/src/mocks/InboxStub.sol/InboxStub.dbg.json +1 -1
  96. package/build/contracts/src/mocks/InboxStub.sol/InboxStub.json +33 -2
  97. package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.dbg.json +1 -1
  98. package/build/contracts/src/mocks/MockResultReceiver.sol/MockResultReceiver.json +2 -2
  99. package/build/contracts/src/mocks/ProxyAdminForBinding.sol/ProxyAdminForBinding.dbg.json +1 -1
  100. package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.dbg.json +1 -1
  101. package/build/contracts/src/mocks/SequencerInboxStub.sol/SequencerInboxStub.json +20 -2
  102. package/build/contracts/src/mocks/Simple.sol/Simple.dbg.json +1 -1
  103. package/build/contracts/src/mocks/Simple.sol/Simple.json +2 -2
  104. package/build/contracts/src/mocks/SimpleProxy.sol/SimpleProxy.dbg.json +1 -1
  105. package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.dbg.json +1 -1
  106. package/build/contracts/src/mocks/SingleExecutionChallenge.sol/SingleExecutionChallenge.json +2 -2
  107. package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.dbg.json +1 -1
  108. package/build/contracts/src/mocks/TimedOutChallengeManager.sol/TimedOutChallengeManager.json +2 -2
  109. package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.dbg.json +4 -0
  110. package/build/contracts/src/mocks/UpgradeExecutorMock.sol/UpgradeExecutorMock.json +350 -0
  111. package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.dbg.json +1 -1
  112. package/build/contracts/src/node-interface/NodeInterface.sol/NodeInterface.json +43 -0
  113. package/build/contracts/src/node-interface/NodeInterfaceDebug.sol/NodeInterfaceDebug.dbg.json +1 -1
  114. package/build/contracts/src/osp/HashProofHelper.sol/HashProofHelper.dbg.json +1 -1
  115. package/build/contracts/src/osp/IOneStepProofEntry.sol/IOneStepProofEntry.dbg.json +1 -1
  116. package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.dbg.json +1 -1
  117. package/build/contracts/src/osp/IOneStepProofEntry.sol/OneStepProofEntryLib.json +2 -2
  118. package/build/contracts/src/osp/IOneStepProver.sol/IOneStepProver.dbg.json +1 -1
  119. package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.dbg.json +1 -1
  120. package/build/contracts/src/osp/OneStepProofEntry.sol/OneStepProofEntry.json +2 -2
  121. package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.dbg.json +1 -1
  122. package/build/contracts/src/osp/OneStepProver0.sol/OneStepProver0.json +2 -2
  123. package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.dbg.json +1 -1
  124. package/build/contracts/src/osp/OneStepProverHostIo.sol/OneStepProverHostIo.json +2 -2
  125. package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.dbg.json +1 -1
  126. package/build/contracts/src/osp/OneStepProverMath.sol/OneStepProverMath.json +2 -2
  127. package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.dbg.json +1 -1
  128. package/build/contracts/src/osp/OneStepProverMemory.sol/OneStepProverMemory.json +2 -2
  129. package/build/contracts/src/precompiles/ArbAddressTable.sol/ArbAddressTable.dbg.json +1 -1
  130. package/build/contracts/src/precompiles/ArbAggregator.sol/ArbAggregator.dbg.json +1 -1
  131. package/build/contracts/src/precompiles/ArbBLS.sol/ArbBLS.dbg.json +1 -1
  132. package/build/contracts/src/precompiles/ArbDebug.sol/ArbDebug.dbg.json +1 -1
  133. package/build/contracts/src/precompiles/ArbFunctionTable.sol/ArbFunctionTable.dbg.json +1 -1
  134. package/build/contracts/src/precompiles/ArbGasInfo.sol/ArbGasInfo.dbg.json +1 -1
  135. package/build/contracts/src/precompiles/ArbInfo.sol/ArbInfo.dbg.json +1 -1
  136. package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.dbg.json +1 -1
  137. package/build/contracts/src/precompiles/ArbOwner.sol/ArbOwner.json +13 -0
  138. package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.dbg.json +1 -1
  139. package/build/contracts/src/precompiles/ArbOwnerPublic.sol/ArbOwnerPublic.json +39 -0
  140. package/build/contracts/src/precompiles/ArbRetryableTx.sol/ArbRetryableTx.dbg.json +1 -1
  141. package/build/contracts/src/precompiles/ArbStatistics.sol/ArbStatistics.dbg.json +1 -1
  142. package/build/contracts/src/precompiles/ArbSys.sol/ArbSys.dbg.json +1 -1
  143. package/build/contracts/src/precompiles/ArbosActs.sol/ArbosActs.dbg.json +1 -1
  144. package/build/contracts/src/precompiles/ArbosTest.sol/ArbosTest.dbg.json +1 -1
  145. package/build/contracts/src/rollup/AbsRollupEventInbox.sol/AbsRollupEventInbox.dbg.json +1 -1
  146. package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.dbg.json +1 -1
  147. package/build/contracts/src/rollup/BridgeCreator.sol/BridgeCreator.json +214 -83
  148. package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.dbg.json +4 -0
  149. package/build/contracts/src/rollup/DeployHelper.sol/DeployHelper.json +214 -0
  150. package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.dbg.json +1 -1
  151. package/build/contracts/src/rollup/ERC20RollupEventInbox.sol/ERC20RollupEventInbox.json +2 -2
  152. package/build/contracts/src/rollup/IRollupAdmin.sol/IRollupAdmin.dbg.json +1 -1
  153. package/build/contracts/src/rollup/IRollupCore.sol/IRollupCore.dbg.json +1 -1
  154. package/build/contracts/src/rollup/IRollupEventInbox.sol/IRollupEventInbox.dbg.json +1 -1
  155. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUser.dbg.json +1 -1
  156. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserAbs.dbg.json +1 -1
  157. package/build/contracts/src/rollup/IRollupLogic.sol/IRollupUserERC20.dbg.json +1 -1
  158. package/build/contracts/src/rollup/Node.sol/NodeLib.dbg.json +1 -1
  159. package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.dbg.json +1 -1
  160. package/build/contracts/src/rollup/RollupAdminLogic.sol/RollupAdminLogic.json +2 -2
  161. package/build/contracts/src/rollup/RollupCore.sol/RollupCore.dbg.json +1 -1
  162. package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.dbg.json +1 -1
  163. package/build/contracts/src/rollup/RollupCreator.sol/RollupCreator.json +67 -24
  164. package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.dbg.json +1 -1
  165. package/build/contracts/src/rollup/RollupEventInbox.sol/RollupEventInbox.json +2 -2
  166. package/build/contracts/src/rollup/RollupLib.sol/RollupLib.dbg.json +1 -1
  167. package/build/contracts/src/rollup/RollupLib.sol/RollupLib.json +2 -2
  168. package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.dbg.json +1 -1
  169. package/build/contracts/src/rollup/RollupProxy.sol/RollupProxy.json +2 -2
  170. package/build/contracts/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.dbg.json +1 -1
  171. package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.dbg.json +1 -1
  172. package/build/contracts/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.json +2 -2
  173. package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.dbg.json +1 -1
  174. package/build/contracts/src/rollup/RollupUserLogic.sol/RollupUserLogic.json +2 -2
  175. package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.dbg.json +1 -1
  176. package/build/contracts/src/rollup/ValidatorUtils.sol/ValidatorUtils.json +2 -2
  177. package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.dbg.json +1 -1
  178. package/build/contracts/src/rollup/ValidatorWallet.sol/ValidatorWallet.json +2 -2
  179. package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.dbg.json +1 -1
  180. package/build/contracts/src/rollup/ValidatorWalletCreator.sol/ValidatorWalletCreator.json +2 -2
  181. package/build/contracts/src/state/Deserialize.sol/Deserialize.dbg.json +1 -1
  182. package/build/contracts/src/state/GlobalState.sol/GlobalStateLib.dbg.json +1 -1
  183. package/build/contracts/src/state/Instructions.sol/Instructions.dbg.json +1 -1
  184. package/build/contracts/src/state/Machine.sol/MachineLib.dbg.json +1 -1
  185. package/build/contracts/src/state/MerkleProof.sol/MerkleProofLib.dbg.json +1 -1
  186. package/build/contracts/src/state/Module.sol/ModuleLib.dbg.json +1 -1
  187. package/build/contracts/src/state/ModuleMemory.sol/ModuleMemoryLib.dbg.json +1 -1
  188. package/build/contracts/src/state/ModuleMemoryCompact.sol/ModuleMemoryCompactLib.dbg.json +1 -1
  189. package/build/contracts/src/state/PcArray.sol/PcArrayLib.dbg.json +1 -1
  190. package/build/contracts/src/state/StackFrame.sol/StackFrameLib.dbg.json +1 -1
  191. package/build/contracts/src/state/Value.sol/ValueLib.dbg.json +1 -1
  192. package/build/contracts/src/state/ValueArray.sol/ValueArrayLib.dbg.json +1 -1
  193. package/build/contracts/src/state/ValueStack.sol/ValueStackLib.dbg.json +1 -1
  194. package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.dbg.json +1 -1
  195. package/build/contracts/src/test-helpers/BridgeTester.sol/BridgeTester.json +2 -2
  196. package/build/contracts/src/test-helpers/CryptographyPrimitivesTester.sol/CryptographyPrimitivesTester.dbg.json +1 -1
  197. package/build/contracts/src/test-helpers/EthVault.sol/EthVault.dbg.json +1 -1
  198. package/build/contracts/src/test-helpers/MessageTester.sol/MessageTester.dbg.json +1 -1
  199. package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.dbg.json +1 -1
  200. package/build/contracts/src/test-helpers/OutboxWithoutOptTester.sol/OutboxWithoutOptTester.json +2 -2
  201. package/build/contracts/src/test-helpers/RollupMock.sol/RollupMock.dbg.json +1 -1
  202. package/build/contracts/src/test-helpers/TestToken.sol/TestToken.dbg.json +4 -0
  203. package/build/contracts/src/test-helpers/TestToken.sol/TestToken.json +292 -0
  204. package/build/contracts/src/test-helpers/ValueArrayTester.sol/ValueArrayTester.dbg.json +1 -1
  205. package/package.json +9 -8
  206. package/src/bridge/AbsBridge.sol +1 -1
  207. package/src/bridge/AbsInbox.sol +27 -6
  208. package/src/bridge/AbsOutbox.sol +7 -0
  209. package/src/bridge/ERC20Bridge.sol +22 -5
  210. package/src/bridge/ERC20Inbox.sol +4 -1
  211. package/src/bridge/ERC20Outbox.sol +3 -0
  212. package/src/bridge/GasRefunder.sol +255 -0
  213. package/src/bridge/IERC20Bridge.sol +5 -3
  214. package/src/bridge/IInboxBase.sol +5 -0
  215. package/src/bridge/IOutbox.sol +2 -0
  216. package/src/bridge/ISequencerInbox.sol +2 -0
  217. package/src/bridge/Inbox.sol +2 -1
  218. package/src/bridge/Outbox.sol +4 -0
  219. package/src/bridge/SequencerInbox.sol +8 -4
  220. package/src/libraries/Constants.sol +0 -3
  221. package/src/libraries/Error.sol +3 -0
  222. package/src/mocks/InboxStub.sol +9 -0
  223. package/src/mocks/SequencerInboxStub.sol +3 -2
  224. package/src/mocks/Simple.sol +2 -1
  225. package/src/mocks/UpgradeExecutorMock.sol +82 -0
  226. package/src/node-interface/NodeInterface.sol +16 -0
  227. package/src/precompiles/ArbOwner.sol +6 -0
  228. package/src/precompiles/ArbOwnerPublic.sol +12 -0
  229. package/src/rollup/BridgeCreator.sol +90 -28
  230. package/src/rollup/DeployHelper.sol +149 -0
  231. package/src/rollup/RollupCreator.sol +124 -55
  232. package/src/test-helpers/TestToken.sol +16 -0
  233. package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.dbg.json +0 -4
  234. package/build/contracts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +0 -312
  235. package/build/contracts/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol/ERC20PresetFixedSupply.dbg.json +0 -4
  236. package/build/contracts/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol/ERC20PresetFixedSupply.json +0 -338
  237. package/build/contracts/src/rollup/AbsBridgeCreator.sol/AbsBridgeCreator.dbg.json +0 -4
  238. package/build/contracts/src/rollup/AbsBridgeCreator.sol/AbsBridgeCreator.json +0 -167
  239. package/build/contracts/src/rollup/ERC20BridgeCreator.sol/ERC20BridgeCreator.dbg.json +0 -4
  240. package/build/contracts/src/rollup/ERC20BridgeCreator.sol/ERC20BridgeCreator.json +0 -248
  241. package/build/contracts/src/rollup/IBridgeCreator.sol/IBridgeCreator.dbg.json +0 -4
  242. package/build/contracts/src/rollup/IBridgeCreator.sol/IBridgeCreator.json +0 -109
  243. package/build/contracts/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.dbg.json +0 -4
  244. package/build/contracts/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.json +0 -185
  245. package/build/contracts/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.dbg.json +0 -4
  246. package/build/contracts/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.json +0 -180
  247. package/build/types/@openzeppelin/contracts/access/Ownable.ts +0 -175
  248. package/build/types/@openzeppelin/contracts/access/index.ts +0 -4
  249. package/build/types/@openzeppelin/contracts/index.ts +0 -11
  250. package/build/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +0 -87
  251. package/build/types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +0 -4
  252. package/build/types/@openzeppelin/contracts/interfaces/index.ts +0 -5
  253. package/build/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +0 -108
  254. package/build/types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.ts +0 -108
  255. package/build/types/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -5
  256. package/build/types/@openzeppelin/contracts/proxy/Proxy.ts +0 -55
  257. package/build/types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +0 -87
  258. package/build/types/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.ts +0 -239
  259. package/build/types/@openzeppelin/contracts/proxy/beacon/index.ts +0 -5
  260. package/build/types/@openzeppelin/contracts/proxy/index.ts +0 -12
  261. package/build/types/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.ts +0 -359
  262. package/build/types/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.ts +0 -278
  263. package/build/types/@openzeppelin/contracts/proxy/transparent/index.ts +0 -5
  264. package/build/types/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.ts +0 -216
  265. package/build/types/@openzeppelin/contracts/proxy/utils/index.ts +0 -4
  266. package/build/types/@openzeppelin/contracts/token/ERC20/ERC20.ts +0 -444
  267. package/build/types/@openzeppelin/contracts/token/ERC20/IERC20.ts +0 -322
  268. package/build/types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.ts +0 -507
  269. package/build/types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +0 -364
  270. package/build/types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -5
  271. package/build/types/@openzeppelin/contracts/token/ERC20/index.ts +0 -9
  272. package/build/types/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.ts +0 -507
  273. package/build/types/@openzeppelin/contracts/token/ERC20/presets/index.ts +0 -4
  274. package/build/types/@openzeppelin/contracts/token/index.ts +0 -5
  275. package/build/types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +0 -175
  276. package/build/types/@openzeppelin/contracts-upgradeable/access/index.ts +0 -4
  277. package/build/types/@openzeppelin/contracts-upgradeable/index.ts +0 -9
  278. package/build/types/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.ts +0 -111
  279. package/build/types/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
  280. package/build/types/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.ts +0 -322
  281. package/build/types/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -4
  282. package/build/types/@openzeppelin/contracts-upgradeable/token/index.ts +0 -5
  283. package/build/types/@openzeppelin/index.ts +0 -7
  284. package/build/types/common.ts +0 -44
  285. package/build/types/factories/@openzeppelin/contracts/access/Ownable__factory.ts +0 -78
  286. package/build/types/factories/@openzeppelin/contracts/access/index.ts +0 -4
  287. package/build/types/factories/@openzeppelin/contracts/index.ts +0 -7
  288. package/build/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +0 -39
  289. package/build/types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +0 -4
  290. package/build/types/factories/@openzeppelin/contracts/interfaces/index.ts +0 -4
  291. package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +0 -146
  292. package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.ts +0 -71
  293. package/build/types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +0 -5
  294. package/build/types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +0 -31
  295. package/build/types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +0 -39
  296. package/build/types/factories/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon__factory.ts +0 -169
  297. package/build/types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +0 -5
  298. package/build/types/factories/@openzeppelin/contracts/proxy/index.ts +0 -8
  299. package/build/types/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.ts +0 -211
  300. package/build/types/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.ts +0 -228
  301. package/build/types/factories/@openzeppelin/contracts/proxy/transparent/index.ts +0 -5
  302. package/build/types/factories/@openzeppelin/contracts/proxy/utils/UUPSUpgradeable__factory.ts +0 -115
  303. package/build/types/factories/@openzeppelin/contracts/proxy/utils/index.ts +0 -4
  304. package/build/types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +0 -349
  305. package/build/types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +0 -206
  306. package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable__factory.ts +0 -327
  307. package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +0 -248
  308. package/build/types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -5
  309. package/build/types/factories/@openzeppelin/contracts/token/ERC20/index.ts +0 -7
  310. package/build/types/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply__factory.ts +0 -420
  311. package/build/types/factories/@openzeppelin/contracts/token/ERC20/presets/index.ts +0 -4
  312. package/build/types/factories/@openzeppelin/contracts/token/index.ts +0 -4
  313. package/build/types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +0 -78
  314. package/build/types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +0 -4
  315. package/build/types/factories/@openzeppelin/contracts-upgradeable/index.ts +0 -6
  316. package/build/types/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.ts +0 -65
  317. package/build/types/factories/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
  318. package/build/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable__factory.ts +0 -209
  319. package/build/types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -4
  320. package/build/types/factories/@openzeppelin/contracts-upgradeable/token/index.ts +0 -4
  321. package/build/types/factories/@openzeppelin/index.ts +0 -5
  322. package/build/types/factories/index.ts +0 -5
  323. package/build/types/factories/src/bridge/AbsBridge__factory.ts +0 -612
  324. package/build/types/factories/src/bridge/AbsInbox__factory.ts +0 -455
  325. package/build/types/factories/src/bridge/AbsOutbox__factory.ts +0 -561
  326. package/build/types/factories/src/bridge/Bridge__factory.ts +0 -695
  327. package/build/types/factories/src/bridge/ERC20Bridge__factory.ts +0 -746
  328. package/build/types/factories/src/bridge/ERC20Inbox__factory.ts +0 -719
  329. package/build/types/factories/src/bridge/ERC20Outbox__factory.ts +0 -610
  330. package/build/types/factories/src/bridge/IBridge__factory.ts +0 -508
  331. package/build/types/factories/src/bridge/IDelayedMessageProvider__factory.ts +0 -62
  332. package/build/types/factories/src/bridge/IERC20Bridge__factory.ts +0 -576
  333. package/build/types/factories/src/bridge/IERC20Inbox__factory.ts +0 -461
  334. package/build/types/factories/src/bridge/IEthBridge__factory.ts +0 -553
  335. package/build/types/factories/src/bridge/IInboxBase__factory.ts +0 -324
  336. package/build/types/factories/src/bridge/IInbox__factory.ts +0 -647
  337. package/build/types/factories/src/bridge/IOutbox__factory.ts +0 -431
  338. package/build/types/factories/src/bridge/IOwnable__factory.ts +0 -36
  339. package/build/types/factories/src/bridge/ISequencerInbox__factory.ts +0 -666
  340. package/build/types/factories/src/bridge/Inbox__factory.ts +0 -999
  341. package/build/types/factories/src/bridge/Outbox__factory.ts +0 -591
  342. package/build/types/factories/src/bridge/SequencerInbox__factory.ts +0 -865
  343. package/build/types/factories/src/bridge/index.ts +0 -23
  344. package/build/types/factories/src/challenge/ChallengeManager__factory.ts +0 -720
  345. package/build/types/factories/src/challenge/IChallengeManager__factory.ts +0 -401
  346. package/build/types/factories/src/challenge/IChallengeResultReceiver__factory.ts +0 -53
  347. package/build/types/factories/src/challenge/index.ts +0 -6
  348. package/build/types/factories/src/index.ts +0 -12
  349. package/build/types/factories/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy__factory.ts +0 -128
  350. package/build/types/factories/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade__factory.ts +0 -88
  351. package/build/types/factories/src/libraries/AdminFallbackProxy.sol/index.ts +0 -5
  352. package/build/types/factories/src/libraries/DoubleLogicUUPSUpgradeable__factory.ts +0 -163
  353. package/build/types/factories/src/libraries/IGasRefunder__factory.ts +0 -55
  354. package/build/types/factories/src/libraries/UUPSNotUpgradeable__factory.ts +0 -97
  355. package/build/types/factories/src/libraries/index.ts +0 -7
  356. package/build/types/factories/src/mocks/BridgeStub__factory.ts +0 -612
  357. package/build/types/factories/src/mocks/BridgeUnproxied__factory.ts +0 -706
  358. package/build/types/factories/src/mocks/InboxStub__factory.ts +0 -702
  359. package/build/types/factories/src/mocks/MockResultReceiver__factory.ts +0 -244
  360. package/build/types/factories/src/mocks/ProxyAdminForBinding__factory.ts +0 -215
  361. package/build/types/factories/src/mocks/SequencerInboxStub__factory.ts +0 -938
  362. package/build/types/factories/src/mocks/SimpleProxy__factory.ts +0 -83
  363. package/build/types/factories/src/mocks/Simple__factory.ts +0 -287
  364. package/build/types/factories/src/mocks/SingleExecutionChallenge__factory.ts +0 -823
  365. package/build/types/factories/src/mocks/TimedOutChallengeManager__factory.ts +0 -724
  366. package/build/types/factories/src/mocks/index.ts +0 -13
  367. package/build/types/factories/src/node-interface/NodeInterfaceDebug__factory.ts +0 -82
  368. package/build/types/factories/src/node-interface/NodeInterface__factory.ts +0 -301
  369. package/build/types/factories/src/node-interface/index.ts +0 -5
  370. package/build/types/factories/src/osp/HashProofHelper__factory.ts +0 -216
  371. package/build/types/factories/src/osp/IOneStepProofEntry__factory.ts +0 -72
  372. package/build/types/factories/src/osp/IOneStepProver__factory.ts +0 -492
  373. package/build/types/factories/src/osp/OneStepProofEntry__factory.ts +0 -206
  374. package/build/types/factories/src/osp/OneStepProver0__factory.ts +0 -528
  375. package/build/types/factories/src/osp/OneStepProverHostIo__factory.ts +0 -528
  376. package/build/types/factories/src/osp/OneStepProverMath__factory.ts +0 -528
  377. package/build/types/factories/src/osp/OneStepProverMemory__factory.ts +0 -528
  378. package/build/types/factories/src/osp/index.ts +0 -11
  379. package/build/types/factories/src/precompiles/ArbAddressTable__factory.ts +0 -163
  380. package/build/types/factories/src/precompiles/ArbAggregator__factory.ts +0 -163
  381. package/build/types/factories/src/precompiles/ArbDebug__factory.ts +0 -208
  382. package/build/types/factories/src/precompiles/ArbFunctionTable__factory.ts +0 -92
  383. package/build/types/factories/src/precompiles/ArbGasInfo__factory.ts +0 -365
  384. package/build/types/factories/src/precompiles/ArbInfo__factory.ts +0 -64
  385. package/build/types/factories/src/precompiles/ArbOwnerPublic__factory.ts +0 -84
  386. package/build/types/factories/src/precompiles/ArbOwner__factory.ts +0 -393
  387. package/build/types/factories/src/precompiles/ArbRetryableTx__factory.ts +0 -321
  388. package/build/types/factories/src/precompiles/ArbStatistics__factory.ts +0 -64
  389. package/build/types/factories/src/precompiles/ArbSys__factory.ts +0 -389
  390. package/build/types/factories/src/precompiles/ArbosActs__factory.ts +0 -92
  391. package/build/types/factories/src/precompiles/ArbosTest__factory.ts +0 -39
  392. package/build/types/factories/src/precompiles/index.ts +0 -16
  393. package/build/types/factories/src/rollup/AbsBridgeCreator__factory.ts +0 -182
  394. package/build/types/factories/src/rollup/AbsRollupEventInbox__factory.ts +0 -125
  395. package/build/types/factories/src/rollup/BridgeCreator__factory.ts +0 -294
  396. package/build/types/factories/src/rollup/ERC20BridgeCreator__factory.ts +0 -299
  397. package/build/types/factories/src/rollup/ERC20RollupEventInbox__factory.ts +0 -170
  398. package/build/types/factories/src/rollup/IBridgeCreator.sol/IBridgeCreator__factory.ts +0 -124
  399. package/build/types/factories/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator__factory.ts +0 -200
  400. package/build/types/factories/src/rollup/IBridgeCreator.sol/IEthBridgeCreator__factory.ts +0 -195
  401. package/build/types/factories/src/rollup/IBridgeCreator.sol/index.ts +0 -6
  402. package/build/types/factories/src/rollup/IRollupAdmin__factory.ts +0 -559
  403. package/build/types/factories/src/rollup/IRollupCore__factory.ts +0 -904
  404. package/build/types/factories/src/rollup/IRollupEventInbox__factory.ts +0 -83
  405. package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUserAbs__factory.ts +0 -1324
  406. package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUserERC20__factory.ts +0 -1458
  407. package/build/types/factories/src/rollup/IRollupLogic.sol/IRollupUser__factory.ts +0 -1443
  408. package/build/types/factories/src/rollup/IRollupLogic.sol/index.ts +0 -6
  409. package/build/types/factories/src/rollup/RollupAdminLogic__factory.ts +0 -1859
  410. package/build/types/factories/src/rollup/RollupCore__factory.ts +0 -1066
  411. package/build/types/factories/src/rollup/RollupCreator__factory.ts +0 -463
  412. package/build/types/factories/src/rollup/RollupEventInbox__factory.ts +0 -166
  413. package/build/types/factories/src/rollup/RollupProxy__factory.ts +0 -277
  414. package/build/types/factories/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic__factory.ts +0 -1593
  415. package/build/types/factories/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic__factory.ts +0 -1767
  416. package/build/types/factories/src/rollup/RollupUserLogic.sol/RollupUserLogic__factory.ts +0 -1748
  417. package/build/types/factories/src/rollup/RollupUserLogic.sol/index.ts +0 -6
  418. package/build/types/factories/src/rollup/ValidatorUtils__factory.ts +0 -430
  419. package/build/types/factories/src/rollup/ValidatorWalletCreator__factory.ts +0 -205
  420. package/build/types/factories/src/rollup/ValidatorWallet__factory.ts +0 -486
  421. package/build/types/factories/src/rollup/index.ts +0 -22
  422. package/build/types/factories/src/test-helpers/BridgeTester__factory.ts +0 -654
  423. package/build/types/factories/src/test-helpers/CryptographyPrimitivesTester__factory.ts +0 -111
  424. package/build/types/factories/src/test-helpers/EthVault__factory.ts +0 -95
  425. package/build/types/factories/src/test-helpers/MessageTester__factory.ts +0 -135
  426. package/build/types/factories/src/test-helpers/OutboxWithoutOptTester__factory.ts +0 -575
  427. package/build/types/factories/src/test-helpers/RollupMock__factory.ts +0 -100
  428. package/build/types/factories/src/test-helpers/ValueArrayTester__factory.ts +0 -69
  429. package/build/types/factories/src/test-helpers/index.ts +0 -10
  430. package/build/types/index.ts +0 -230
  431. package/build/types/src/bridge/AbsBridge.ts +0 -863
  432. package/build/types/src/bridge/AbsInbox.ts +0 -664
  433. package/build/types/src/bridge/AbsOutbox.ts +0 -700
  434. package/build/types/src/bridge/Bridge.ts +0 -934
  435. package/build/types/src/bridge/ERC20Bridge.ts +0 -970
  436. package/build/types/src/bridge/ERC20Inbox.ts +0 -869
  437. package/build/types/src/bridge/ERC20Outbox.ts +0 -722
  438. package/build/types/src/bridge/IBridge.ts +0 -799
  439. package/build/types/src/bridge/IDelayedMessageProvider.ts +0 -108
  440. package/build/types/src/bridge/IERC20Bridge.ts +0 -906
  441. package/build/types/src/bridge/IERC20Inbox.ts +0 -788
  442. package/build/types/src/bridge/IEthBridge.ts +0 -871
  443. package/build/types/src/bridge/IInbox.ts +0 -1081
  444. package/build/types/src/bridge/IInboxBase.ts +0 -583
  445. package/build/types/src/bridge/IOutbox.ts +0 -654
  446. package/build/types/src/bridge/IOwnable.ts +0 -81
  447. package/build/types/src/bridge/ISequencerInbox.ts +0 -1038
  448. package/build/types/src/bridge/Inbox.ts +0 -1279
  449. package/build/types/src/bridge/Outbox.ts +0 -700
  450. package/build/types/src/bridge/SequencerInbox.ts +0 -1138
  451. package/build/types/src/bridge/index.ts +0 -23
  452. package/build/types/src/challenge/ChallengeManager.ts +0 -889
  453. package/build/types/src/challenge/IChallengeManager.ts +0 -543
  454. package/build/types/src/challenge/IChallengeResultReceiver.ts +0 -115
  455. package/build/types/src/challenge/index.ts +0 -6
  456. package/build/types/src/index.ts +0 -21
  457. package/build/types/src/libraries/AdminFallbackProxy.sol/AdminFallbackProxy.ts +0 -128
  458. package/build/types/src/libraries/AdminFallbackProxy.sol/DoubleLogicERC1967Upgrade.ts +0 -128
  459. package/build/types/src/libraries/AdminFallbackProxy.sol/index.ts +0 -5
  460. package/build/types/src/libraries/DoubleLogicUUPSUpgradeable.ts +0 -314
  461. package/build/types/src/libraries/IGasRefunder.ts +0 -112
  462. package/build/types/src/libraries/UUPSNotUpgradeable.ts +0 -164
  463. package/build/types/src/libraries/index.ts +0 -8
  464. package/build/types/src/mocks/BridgeStub.ts +0 -887
  465. package/build/types/src/mocks/BridgeUnproxied.ts +0 -934
  466. package/build/types/src/mocks/InboxStub.ts +0 -1076
  467. package/build/types/src/mocks/MockResultReceiver.ts +0 -301
  468. package/build/types/src/mocks/ProxyAdminForBinding.ts +0 -359
  469. package/build/types/src/mocks/SequencerInboxStub.ts +0 -1173
  470. package/build/types/src/mocks/Simple.ts +0 -514
  471. package/build/types/src/mocks/SimpleProxy.ts +0 -55
  472. package/build/types/src/mocks/SingleExecutionChallenge.ts +0 -889
  473. package/build/types/src/mocks/TimedOutChallengeManager.ts +0 -883
  474. package/build/types/src/mocks/index.ts +0 -13
  475. package/build/types/src/node-interface/NodeInterface.ts +0 -502
  476. package/build/types/src/node-interface/NodeInterfaceDebug.ts +0 -137
  477. package/build/types/src/node-interface/index.ts +0 -5
  478. package/build/types/src/osp/HashProofHelper.ts +0 -308
  479. package/build/types/src/osp/IOneStepProofEntry.ts +0 -128
  480. package/build/types/src/osp/IOneStepProver.ts +0 -284
  481. package/build/types/src/osp/OneStepProofEntry.ts +0 -196
  482. package/build/types/src/osp/OneStepProver0.ts +0 -284
  483. package/build/types/src/osp/OneStepProverHostIo.ts +0 -284
  484. package/build/types/src/osp/OneStepProverMath.ts +0 -284
  485. package/build/types/src/osp/OneStepProverMemory.ts +0 -284
  486. package/build/types/src/osp/index.ts +0 -11
  487. package/build/types/src/precompiles/ArbAddressTable.ts +0 -248
  488. package/build/types/src/precompiles/ArbAggregator.ts +0 -335
  489. package/build/types/src/precompiles/ArbDebug.ts +0 -292
  490. package/build/types/src/precompiles/ArbFunctionTable.ts +0 -150
  491. package/build/types/src/precompiles/ArbGasInfo.ts +0 -536
  492. package/build/types/src/precompiles/ArbInfo.ts +0 -105
  493. package/build/types/src/precompiles/ArbOwner.ts +0 -928
  494. package/build/types/src/precompiles/ArbOwnerPublic.ts +0 -157
  495. package/build/types/src/precompiles/ArbRetryableTx.ts +0 -467
  496. package/build/types/src/precompiles/ArbStatistics.ts +0 -93
  497. package/build/types/src/precompiles/ArbSys.ts +0 -553
  498. package/build/types/src/precompiles/ArbosActs.ts +0 -173
  499. package/build/types/src/precompiles/ArbosTest.ts +0 -97
  500. package/build/types/src/precompiles/index.ts +0 -16
  501. package/build/types/src/rollup/AbsBridgeCreator.ts +0 -348
  502. package/build/types/src/rollup/AbsRollupEventInbox.ts +0 -218
  503. package/build/types/src/rollup/BridgeCreator.ts +0 -415
  504. package/build/types/src/rollup/ERC20BridgeCreator.ts +0 -420
  505. package/build/types/src/rollup/ERC20RollupEventInbox.ts +0 -218
  506. package/build/types/src/rollup/IBridgeCreator.sol/IBridgeCreator.ts +0 -231
  507. package/build/types/src/rollup/IBridgeCreator.sol/IERC20BridgeCreator.ts +0 -303
  508. package/build/types/src/rollup/IBridgeCreator.sol/IEthBridgeCreator.ts +0 -298
  509. package/build/types/src/rollup/IBridgeCreator.sol/index.ts +0 -6
  510. package/build/types/src/rollup/IRollupAdmin.ts +0 -1003
  511. package/build/types/src/rollup/IRollupCore.ts +0 -1183
  512. package/build/types/src/rollup/IRollupEventInbox.ts +0 -167
  513. package/build/types/src/rollup/IRollupLogic.sol/IRollupUser.ts +0 -2022
  514. package/build/types/src/rollup/IRollupLogic.sol/IRollupUserAbs.ts +0 -1901
  515. package/build/types/src/rollup/IRollupLogic.sol/IRollupUserERC20.ts +0 -2036
  516. package/build/types/src/rollup/IRollupLogic.sol/index.ts +0 -6
  517. package/build/types/src/rollup/RollupAdminLogic.ts +0 -2593
  518. package/build/types/src/rollup/RollupCore.ts +0 -1406
  519. package/build/types/src/rollup/RollupCreator.ts +0 -592
  520. package/build/types/src/rollup/RollupEventInbox.ts +0 -218
  521. package/build/types/src/rollup/RollupProxy.ts +0 -285
  522. package/build/types/src/rollup/RollupUserLogic.sol/AbsRollupUserLogic.ts +0 -2282
  523. package/build/types/src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic.ts +0 -2417
  524. package/build/types/src/rollup/RollupUserLogic.sol/RollupUserLogic.ts +0 -2403
  525. package/build/types/src/rollup/RollupUserLogic.sol/index.ts +0 -6
  526. package/build/types/src/rollup/ValidatorUtils.ts +0 -561
  527. package/build/types/src/rollup/ValidatorWallet.ts +0 -751
  528. package/build/types/src/rollup/ValidatorWalletCreator.ts +0 -294
  529. package/build/types/src/rollup/index.ts +0 -25
  530. package/build/types/src/test-helpers/BridgeTester.ts +0 -899
  531. package/build/types/src/test-helpers/CryptographyPrimitivesTester.ts +0 -141
  532. package/build/types/src/test-helpers/EthVault.ts +0 -141
  533. package/build/types/src/test-helpers/MessageTester.ts +0 -182
  534. package/build/types/src/test-helpers/OutboxWithoutOptTester.ts +0 -700
  535. package/build/types/src/test-helpers/RollupMock.ts +0 -164
  536. package/build/types/src/test-helpers/ValueArrayTester.ts +0 -81
  537. package/build/types/src/test-helpers/index.ts +0 -10
  538. package/src/rollup/AbsBridgeCreator.sol +0 -117
  539. package/src/rollup/ERC20BridgeCreator.sol +0 -48
  540. package/src/rollup/IBridgeCreator.sol +0 -64
@@ -1,1593 +0,0 @@
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 IInboxBase",
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
- }