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