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

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 +148 -98
  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 +149 -71
  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,702 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import type { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type {
7
- InboxStub,
8
- InboxStubInterface,
9
- } from "../../../src/mocks/InboxStub";
10
-
11
- const _abi = [
12
- {
13
- anonymous: false,
14
- inputs: [
15
- {
16
- indexed: true,
17
- internalType: "uint256",
18
- name: "messageNum",
19
- type: "uint256",
20
- },
21
- {
22
- indexed: false,
23
- internalType: "bytes",
24
- name: "data",
25
- type: "bytes",
26
- },
27
- ],
28
- name: "InboxMessageDelivered",
29
- type: "event",
30
- },
31
- {
32
- anonymous: false,
33
- inputs: [
34
- {
35
- indexed: true,
36
- internalType: "uint256",
37
- name: "messageNum",
38
- type: "uint256",
39
- },
40
- ],
41
- name: "InboxMessageDeliveredFromOrigin",
42
- type: "event",
43
- },
44
- {
45
- inputs: [],
46
- name: "allowListEnabled",
47
- outputs: [
48
- {
49
- internalType: "bool",
50
- name: "",
51
- type: "bool",
52
- },
53
- ],
54
- stateMutability: "pure",
55
- type: "function",
56
- },
57
- {
58
- inputs: [],
59
- name: "bridge",
60
- outputs: [
61
- {
62
- internalType: "contract IBridge",
63
- name: "",
64
- type: "address",
65
- },
66
- ],
67
- stateMutability: "view",
68
- type: "function",
69
- },
70
- {
71
- inputs: [
72
- {
73
- internalType: "uint256",
74
- name: "",
75
- type: "uint256",
76
- },
77
- {
78
- internalType: "uint256",
79
- name: "",
80
- type: "uint256",
81
- },
82
- ],
83
- name: "calculateRetryableSubmissionFee",
84
- outputs: [
85
- {
86
- internalType: "uint256",
87
- name: "",
88
- type: "uint256",
89
- },
90
- ],
91
- stateMutability: "pure",
92
- type: "function",
93
- },
94
- {
95
- inputs: [
96
- {
97
- internalType: "address",
98
- name: "",
99
- type: "address",
100
- },
101
- {
102
- internalType: "uint256",
103
- name: "",
104
- type: "uint256",
105
- },
106
- {
107
- internalType: "uint256",
108
- name: "",
109
- type: "uint256",
110
- },
111
- {
112
- internalType: "address",
113
- name: "",
114
- type: "address",
115
- },
116
- {
117
- internalType: "address",
118
- name: "",
119
- type: "address",
120
- },
121
- {
122
- internalType: "uint256",
123
- name: "",
124
- type: "uint256",
125
- },
126
- {
127
- internalType: "uint256",
128
- name: "",
129
- type: "uint256",
130
- },
131
- {
132
- internalType: "bytes",
133
- name: "",
134
- type: "bytes",
135
- },
136
- ],
137
- name: "createRetryableTicket",
138
- outputs: [
139
- {
140
- internalType: "uint256",
141
- name: "",
142
- type: "uint256",
143
- },
144
- ],
145
- stateMutability: "payable",
146
- type: "function",
147
- },
148
- {
149
- inputs: [],
150
- name: "depositEth",
151
- outputs: [
152
- {
153
- internalType: "uint256",
154
- name: "",
155
- type: "uint256",
156
- },
157
- ],
158
- stateMutability: "payable",
159
- type: "function",
160
- },
161
- {
162
- inputs: [
163
- {
164
- internalType: "contract IBridge",
165
- name: "_bridge",
166
- type: "address",
167
- },
168
- {
169
- internalType: "contract ISequencerInbox",
170
- name: "",
171
- type: "address",
172
- },
173
- ],
174
- name: "initialize",
175
- outputs: [],
176
- stateMutability: "nonpayable",
177
- type: "function",
178
- },
179
- {
180
- inputs: [
181
- {
182
- internalType: "address",
183
- name: "",
184
- type: "address",
185
- },
186
- ],
187
- name: "isAllowed",
188
- outputs: [
189
- {
190
- internalType: "bool",
191
- name: "",
192
- type: "bool",
193
- },
194
- ],
195
- stateMutability: "pure",
196
- type: "function",
197
- },
198
- {
199
- inputs: [],
200
- name: "pause",
201
- outputs: [],
202
- stateMutability: "pure",
203
- type: "function",
204
- },
205
- {
206
- inputs: [],
207
- name: "paused",
208
- outputs: [
209
- {
210
- internalType: "bool",
211
- name: "",
212
- type: "bool",
213
- },
214
- ],
215
- stateMutability: "view",
216
- type: "function",
217
- },
218
- {
219
- inputs: [
220
- {
221
- internalType: "contract IBridge",
222
- name: "_bridge",
223
- type: "address",
224
- },
225
- ],
226
- name: "postUpgradeInit",
227
- outputs: [],
228
- stateMutability: "nonpayable",
229
- type: "function",
230
- },
231
- {
232
- inputs: [
233
- {
234
- internalType: "uint256",
235
- name: "",
236
- type: "uint256",
237
- },
238
- {
239
- internalType: "uint256",
240
- name: "",
241
- type: "uint256",
242
- },
243
- {
244
- internalType: "address",
245
- name: "",
246
- type: "address",
247
- },
248
- {
249
- internalType: "uint256",
250
- name: "",
251
- type: "uint256",
252
- },
253
- {
254
- internalType: "bytes",
255
- name: "",
256
- type: "bytes",
257
- },
258
- ],
259
- name: "sendContractTransaction",
260
- outputs: [
261
- {
262
- internalType: "uint256",
263
- name: "",
264
- type: "uint256",
265
- },
266
- ],
267
- stateMutability: "pure",
268
- type: "function",
269
- },
270
- {
271
- inputs: [
272
- {
273
- internalType: "uint256",
274
- name: "",
275
- type: "uint256",
276
- },
277
- {
278
- internalType: "uint256",
279
- name: "",
280
- type: "uint256",
281
- },
282
- {
283
- internalType: "address",
284
- name: "",
285
- type: "address",
286
- },
287
- {
288
- internalType: "bytes",
289
- name: "",
290
- type: "bytes",
291
- },
292
- ],
293
- name: "sendL1FundedContractTransaction",
294
- outputs: [
295
- {
296
- internalType: "uint256",
297
- name: "",
298
- type: "uint256",
299
- },
300
- ],
301
- stateMutability: "payable",
302
- type: "function",
303
- },
304
- {
305
- inputs: [
306
- {
307
- internalType: "uint256",
308
- name: "",
309
- type: "uint256",
310
- },
311
- {
312
- internalType: "uint256",
313
- name: "",
314
- type: "uint256",
315
- },
316
- {
317
- internalType: "uint256",
318
- name: "",
319
- type: "uint256",
320
- },
321
- {
322
- internalType: "address",
323
- name: "",
324
- type: "address",
325
- },
326
- {
327
- internalType: "bytes",
328
- name: "",
329
- type: "bytes",
330
- },
331
- ],
332
- name: "sendL1FundedUnsignedTransaction",
333
- outputs: [
334
- {
335
- internalType: "uint256",
336
- name: "",
337
- type: "uint256",
338
- },
339
- ],
340
- stateMutability: "payable",
341
- type: "function",
342
- },
343
- {
344
- inputs: [
345
- {
346
- internalType: "uint256",
347
- name: "",
348
- type: "uint256",
349
- },
350
- {
351
- internalType: "uint256",
352
- name: "",
353
- type: "uint256",
354
- },
355
- {
356
- internalType: "uint256",
357
- name: "",
358
- type: "uint256",
359
- },
360
- {
361
- internalType: "address",
362
- name: "",
363
- type: "address",
364
- },
365
- {
366
- internalType: "bytes",
367
- name: "",
368
- type: "bytes",
369
- },
370
- ],
371
- name: "sendL1FundedUnsignedTransactionToFork",
372
- outputs: [
373
- {
374
- internalType: "uint256",
375
- name: "",
376
- type: "uint256",
377
- },
378
- ],
379
- stateMutability: "payable",
380
- type: "function",
381
- },
382
- {
383
- inputs: [
384
- {
385
- internalType: "bytes",
386
- name: "messageData",
387
- type: "bytes",
388
- },
389
- ],
390
- name: "sendL2Message",
391
- outputs: [
392
- {
393
- internalType: "uint256",
394
- name: "",
395
- type: "uint256",
396
- },
397
- ],
398
- stateMutability: "nonpayable",
399
- type: "function",
400
- },
401
- {
402
- inputs: [
403
- {
404
- internalType: "bytes",
405
- name: "messageData",
406
- type: "bytes",
407
- },
408
- ],
409
- name: "sendL2MessageFromOrigin",
410
- outputs: [
411
- {
412
- internalType: "uint256",
413
- name: "",
414
- type: "uint256",
415
- },
416
- ],
417
- stateMutability: "nonpayable",
418
- type: "function",
419
- },
420
- {
421
- inputs: [
422
- {
423
- internalType: "uint256",
424
- name: "",
425
- type: "uint256",
426
- },
427
- {
428
- internalType: "uint256",
429
- name: "",
430
- type: "uint256",
431
- },
432
- {
433
- internalType: "uint256",
434
- name: "",
435
- type: "uint256",
436
- },
437
- {
438
- internalType: "address",
439
- name: "",
440
- type: "address",
441
- },
442
- {
443
- internalType: "uint256",
444
- name: "",
445
- type: "uint256",
446
- },
447
- {
448
- internalType: "bytes",
449
- name: "",
450
- type: "bytes",
451
- },
452
- ],
453
- name: "sendUnsignedTransaction",
454
- outputs: [
455
- {
456
- internalType: "uint256",
457
- name: "",
458
- type: "uint256",
459
- },
460
- ],
461
- stateMutability: "pure",
462
- type: "function",
463
- },
464
- {
465
- inputs: [
466
- {
467
- internalType: "uint256",
468
- name: "",
469
- type: "uint256",
470
- },
471
- {
472
- internalType: "uint256",
473
- name: "",
474
- type: "uint256",
475
- },
476
- {
477
- internalType: "uint256",
478
- name: "",
479
- type: "uint256",
480
- },
481
- {
482
- internalType: "address",
483
- name: "",
484
- type: "address",
485
- },
486
- {
487
- internalType: "uint256",
488
- name: "",
489
- type: "uint256",
490
- },
491
- {
492
- internalType: "bytes",
493
- name: "",
494
- type: "bytes",
495
- },
496
- ],
497
- name: "sendUnsignedTransactionToFork",
498
- outputs: [
499
- {
500
- internalType: "uint256",
501
- name: "",
502
- type: "uint256",
503
- },
504
- ],
505
- stateMutability: "nonpayable",
506
- type: "function",
507
- },
508
- {
509
- inputs: [
510
- {
511
- internalType: "uint256",
512
- name: "",
513
- type: "uint256",
514
- },
515
- {
516
- internalType: "uint256",
517
- name: "",
518
- type: "uint256",
519
- },
520
- {
521
- internalType: "uint256",
522
- name: "",
523
- type: "uint256",
524
- },
525
- {
526
- internalType: "uint256",
527
- name: "",
528
- type: "uint256",
529
- },
530
- {
531
- internalType: "address",
532
- name: "",
533
- type: "address",
534
- },
535
- ],
536
- name: "sendWithdrawEthToFork",
537
- outputs: [
538
- {
539
- internalType: "uint256",
540
- name: "",
541
- type: "uint256",
542
- },
543
- ],
544
- stateMutability: "nonpayable",
545
- type: "function",
546
- },
547
- {
548
- inputs: [],
549
- name: "sequencerInbox",
550
- outputs: [
551
- {
552
- internalType: "contract ISequencerInbox",
553
- name: "",
554
- type: "address",
555
- },
556
- ],
557
- stateMutability: "view",
558
- type: "function",
559
- },
560
- {
561
- inputs: [
562
- {
563
- internalType: "address[]",
564
- name: "",
565
- type: "address[]",
566
- },
567
- {
568
- internalType: "bool[]",
569
- name: "",
570
- type: "bool[]",
571
- },
572
- ],
573
- name: "setAllowList",
574
- outputs: [],
575
- stateMutability: "pure",
576
- type: "function",
577
- },
578
- {
579
- inputs: [
580
- {
581
- internalType: "bool",
582
- name: "",
583
- type: "bool",
584
- },
585
- ],
586
- name: "setAllowListEnabled",
587
- outputs: [],
588
- stateMutability: "pure",
589
- type: "function",
590
- },
591
- {
592
- inputs: [],
593
- name: "unpause",
594
- outputs: [],
595
- stateMutability: "pure",
596
- type: "function",
597
- },
598
- {
599
- inputs: [
600
- {
601
- internalType: "address",
602
- name: "",
603
- type: "address",
604
- },
605
- {
606
- internalType: "uint256",
607
- name: "",
608
- type: "uint256",
609
- },
610
- {
611
- internalType: "uint256",
612
- name: "",
613
- type: "uint256",
614
- },
615
- {
616
- internalType: "address",
617
- name: "",
618
- type: "address",
619
- },
620
- {
621
- internalType: "address",
622
- name: "",
623
- type: "address",
624
- },
625
- {
626
- internalType: "uint256",
627
- name: "",
628
- type: "uint256",
629
- },
630
- {
631
- internalType: "uint256",
632
- name: "",
633
- type: "uint256",
634
- },
635
- {
636
- internalType: "bytes",
637
- name: "",
638
- type: "bytes",
639
- },
640
- ],
641
- name: "unsafeCreateRetryableTicket",
642
- outputs: [
643
- {
644
- internalType: "uint256",
645
- name: "",
646
- type: "uint256",
647
- },
648
- ],
649
- stateMutability: "payable",
650
- type: "function",
651
- },
652
- ];
653
-
654
- const _bytecode =
655
- "0x608060405234801561001057600080fd5b50610c39806100206000396000f3fe60806040526004361061014a5760003560e01c806370665f14116100b6578063c474d2c51161006f578063c474d2c5146102dd578063e3de72a5146102fb578063e6bd12cf14610243578063e78cea921461031b578063ee35f32714610353578063efeadb6d1461037357600080fd5b806370665f14146102515780638456cb59146101c75780638a631aa61461026c578063a66b327d14610287578063b75436bb146102a2578063babcc539146102c257600080fd5b80635075788b116101085780635075788b1461014f5780635c975abb146102065780635e91675814610227578063679b6ded1461023557806367ef3ab8146102435780636e6e8a6a1461023557600080fd5b8062f723821461014f5780631fe927cf1461018257806322bd5c1c146101a25780633f4ba83a146101c7578063439370b1146101de578063485cc955146101e6575b600080fd5b34801561015b57600080fd5b5061016f61016a36600461065a565b61038e565b6040519081526020015b60405180910390f35b34801561018e57600080fd5b5061016f61019d3660046106d6565b6103b1565b3480156101ae57600080fd5b506101b761038e565b6040519015158152602001610179565b3480156101d357600080fd5b506101dc61044a565b005b61016f61038e565b3480156101f257600080fd5b506101dc610201366004610717565b610484565b34801561021257600080fd5b506001546101b790600160a01b900460ff1681565b61016f61016a366004610750565b61016f61016a3660046107b9565b61016f61016a36600461085d565b34801561025d57600080fd5b5061016f61016a3660046108cf565b34801561027857600080fd5b5061016f61016a36600461091c565b34801561029357600080fd5b5061016f61016a366004610970565b3480156102ae57600080fd5b5061016f6102bd3660046106d6565b6104ef565b3480156102ce57600080fd5b506101b761016a366004610992565b3480156102e957600080fd5b506101dc6102f8366004610992565b50565b34801561030757600080fd5b506101dc610316366004610aa6565b61054b565b34801561032757600080fd5b5060005461033b906001600160a01b031681565b6040516001600160a01b039091168152602001610179565b34801561035f57600080fd5b5060015461033b906001600160a01b031681565b34801561037f57600080fd5b506101dc610316366004610b67565b600060405162461bcd60e51b81526004016103a890610b82565b60405180910390fd5b60003332146103f05760405162461bcd60e51b815260206004820152600b60248201526a6f726967696e206f6e6c7960a81b60448201526064016103a8565b60006104156003338686604051610408929190610bab565b6040518091039020610563565b60405190915081907fab532385be8f1005a4b6ba8fa20a2245facb346134ac739fe9a5198dc1580b9c90600090a29392505050565b60405162461bcd60e51b815260206004820152600f60248201526e1393d5081253541311535153951151608a1b60448201526064016103a8565b6000546001600160a01b0316156104cc5760405162461bcd60e51b815260206004820152600c60248201526b1053149150511657d253925560a21b60448201526064016103a8565b50600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000806105086003338686604051610408929190610bab565b9050807fff64905f73a67fb594e0f940a8075a860db489ad991e032f48c81123eb52d60b858560405161053c929190610bbb565b60405180910390a29392505050565b60405162461bcd60e51b81526004016103a890610b82565b60008054604051638db5993b60e01b815260ff861660048201526001600160a01b0385811660248301526044820185905290911690638db5993b9034906064016020604051808303818588803b1580156105bc57600080fd5b505af11580156105d0573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906105f59190610bea565b949350505050565b6001600160a01b03811681146102f857600080fd5b60008083601f84011261062457600080fd5b5081356001600160401b0381111561063b57600080fd5b60208301915083602082850101111561065357600080fd5b9250929050565b600080600080600080600060c0888a03121561067557600080fd5b8735965060208801359550604088013594506060880135610695816105fd565b93506080880135925060a08801356001600160401b038111156106b757600080fd5b6106c38a828b01610612565b989b979a50959850939692959293505050565b600080602083850312156106e957600080fd5b82356001600160401b038111156106ff57600080fd5b61070b85828601610612565b90969095509350505050565b6000806040838503121561072a57600080fd5b8235610735816105fd565b91506020830135610745816105fd565b809150509250929050565b60008060008060006080868803121561076857600080fd5b85359450602086013593506040860135610781816105fd565b925060608601356001600160401b0381111561079c57600080fd5b6107a888828901610612565b969995985093965092949392505050565b60008060008060008060008060006101008a8c0312156107d857600080fd5b89356107e3816105fd565b985060208a0135975060408a0135965060608a0135610801816105fd565b955060808a0135610811816105fd565b945060a08a0135935060c08a0135925060e08a01356001600160401b0381111561083a57600080fd5b6108468c828d01610612565b915080935050809150509295985092959850929598565b60008060008060008060a0878903121561087657600080fd5b8635955060208701359450604087013593506060870135610896816105fd565b925060808701356001600160401b038111156108b157600080fd5b6108bd89828a01610612565b979a9699509497509295939492505050565b600080600080600060a086880312156108e757600080fd5b85359450602086013593506040860135925060608601359150608086013561090e816105fd565b809150509295509295909350565b60008060008060008060a0878903121561093557600080fd5b8635955060208701359450604087013561094e816105fd565b93506060870135925060808701356001600160401b038111156108b157600080fd5b6000806040838503121561098357600080fd5b50508035926020909101359150565b6000602082840312156109a457600080fd5b81356109af816105fd565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156109f4576109f46109b6565b604052919050565b60006001600160401b03821115610a1557610a156109b6565b5060051b60200190565b80358015158114610a2f57600080fd5b919050565b600082601f830112610a4557600080fd5b81356020610a5a610a55836109fc565b6109cc565b82815260059290921b84018101918181019086841115610a7957600080fd5b8286015b84811015610a9b57610a8e81610a1f565b8352918301918301610a7d565b509695505050505050565b60008060408385031215610ab957600080fd5b82356001600160401b0380821115610ad057600080fd5b818501915085601f830112610ae457600080fd5b81356020610af4610a55836109fc565b82815260059290921b84018101918181019089841115610b1357600080fd5b948201945b83861015610b3a578535610b2b816105fd565b82529482019490820190610b18565b96505086013592505080821115610b5057600080fd5b50610b5d85828601610a34565b9150509250929050565b600060208284031215610b7957600080fd5b6109af82610a1f565b6020808252600f908201526e1393d517d253541311535153951151608a1b604082015260600190565b8183823760009101908152919050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215610bfc57600080fd5b505191905056fea2646970667358221220258bab17e2f9011a6ce4185d4058cd4878eedf968fa417431531604740a35ec564736f6c63430008090033";
656
-
657
- type InboxStubConstructorParams =
658
- | [signer?: Signer]
659
- | ConstructorParameters<typeof ContractFactory>;
660
-
661
- const isSuperArgs = (
662
- xs: InboxStubConstructorParams
663
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
664
-
665
- export class InboxStub__factory extends ContractFactory {
666
- constructor(...args: InboxStubConstructorParams) {
667
- if (isSuperArgs(args)) {
668
- super(...args);
669
- } else {
670
- super(_abi, _bytecode, args[0]);
671
- }
672
- }
673
-
674
- override deploy(
675
- overrides?: Overrides & { from?: string | Promise<string> }
676
- ): Promise<InboxStub> {
677
- return super.deploy(overrides || {}) as Promise<InboxStub>;
678
- }
679
- override getDeployTransaction(
680
- overrides?: Overrides & { from?: string | Promise<string> }
681
- ): TransactionRequest {
682
- return super.getDeployTransaction(overrides || {});
683
- }
684
- override attach(address: string): InboxStub {
685
- return super.attach(address) as InboxStub;
686
- }
687
- override connect(signer: Signer): InboxStub__factory {
688
- return super.connect(signer) as InboxStub__factory;
689
- }
690
-
691
- static readonly bytecode = _bytecode;
692
- static readonly abi = _abi;
693
- static createInterface(): InboxStubInterface {
694
- return new utils.Interface(_abi) as InboxStubInterface;
695
- }
696
- static connect(
697
- address: string,
698
- signerOrProvider: Signer | Provider
699
- ): InboxStub {
700
- return new Contract(address, _abi, signerOrProvider) as InboxStub;
701
- }
702
- }