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