@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,1767 +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
- ERC20RollupUserLogic,
8
- ERC20RollupUserLogicInterface,
9
- } from "../../../../src/rollup/RollupUserLogic.sol/ERC20RollupUserLogic";
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
- internalType: "uint256",
415
- name: "tokenAmount",
416
- type: "uint256",
417
- },
418
- ],
419
- name: "addToDeposit",
420
- outputs: [],
421
- stateMutability: "nonpayable",
422
- type: "function",
423
- },
424
- {
425
- inputs: [
426
- {
427
- internalType: "address",
428
- name: "staker",
429
- type: "address",
430
- },
431
- ],
432
- name: "amountStaked",
433
- outputs: [
434
- {
435
- internalType: "uint256",
436
- name: "",
437
- type: "uint256",
438
- },
439
- ],
440
- stateMutability: "view",
441
- type: "function",
442
- },
443
- {
444
- inputs: [],
445
- name: "baseStake",
446
- outputs: [
447
- {
448
- internalType: "uint256",
449
- name: "",
450
- type: "uint256",
451
- },
452
- ],
453
- stateMutability: "view",
454
- type: "function",
455
- },
456
- {
457
- inputs: [],
458
- name: "bridge",
459
- outputs: [
460
- {
461
- internalType: "contract IBridge",
462
- name: "",
463
- type: "address",
464
- },
465
- ],
466
- stateMutability: "view",
467
- type: "function",
468
- },
469
- {
470
- inputs: [],
471
- name: "chainId",
472
- outputs: [
473
- {
474
- internalType: "uint256",
475
- name: "",
476
- type: "uint256",
477
- },
478
- ],
479
- stateMutability: "view",
480
- type: "function",
481
- },
482
- {
483
- inputs: [],
484
- name: "challengeManager",
485
- outputs: [
486
- {
487
- internalType: "contract IChallengeManager",
488
- name: "",
489
- type: "address",
490
- },
491
- ],
492
- stateMutability: "view",
493
- type: "function",
494
- },
495
- {
496
- inputs: [
497
- {
498
- internalType: "uint256",
499
- name: "challengeIndex",
500
- type: "uint256",
501
- },
502
- {
503
- internalType: "address",
504
- name: "winningStaker",
505
- type: "address",
506
- },
507
- {
508
- internalType: "address",
509
- name: "losingStaker",
510
- type: "address",
511
- },
512
- ],
513
- name: "completeChallenge",
514
- outputs: [],
515
- stateMutability: "nonpayable",
516
- type: "function",
517
- },
518
- {
519
- inputs: [
520
- {
521
- internalType: "bytes32",
522
- name: "blockHash",
523
- type: "bytes32",
524
- },
525
- {
526
- internalType: "bytes32",
527
- name: "sendRoot",
528
- type: "bytes32",
529
- },
530
- ],
531
- name: "confirmNextNode",
532
- outputs: [],
533
- stateMutability: "nonpayable",
534
- type: "function",
535
- },
536
- {
537
- inputs: [],
538
- name: "confirmPeriodBlocks",
539
- outputs: [
540
- {
541
- internalType: "uint64",
542
- name: "",
543
- type: "uint64",
544
- },
545
- ],
546
- stateMutability: "view",
547
- type: "function",
548
- },
549
- {
550
- inputs: [
551
- {
552
- internalType: "uint64",
553
- name: "nodeNum",
554
- type: "uint64",
555
- },
556
- ],
557
- name: "countStakedZombies",
558
- outputs: [
559
- {
560
- internalType: "uint256",
561
- name: "",
562
- type: "uint256",
563
- },
564
- ],
565
- stateMutability: "view",
566
- type: "function",
567
- },
568
- {
569
- inputs: [
570
- {
571
- internalType: "uint64",
572
- name: "nodeNum",
573
- type: "uint64",
574
- },
575
- ],
576
- name: "countZombiesStakedOnChildren",
577
- outputs: [
578
- {
579
- internalType: "uint256",
580
- name: "",
581
- type: "uint256",
582
- },
583
- ],
584
- stateMutability: "view",
585
- type: "function",
586
- },
587
- {
588
- inputs: [
589
- {
590
- internalType: "address[2]",
591
- name: "stakers",
592
- type: "address[2]",
593
- },
594
- {
595
- internalType: "uint64[2]",
596
- name: "nodeNums",
597
- type: "uint64[2]",
598
- },
599
- {
600
- internalType: "enum MachineStatus[2]",
601
- name: "machineStatuses",
602
- type: "uint8[2]",
603
- },
604
- {
605
- components: [
606
- {
607
- internalType: "bytes32[2]",
608
- name: "bytes32Vals",
609
- type: "bytes32[2]",
610
- },
611
- {
612
- internalType: "uint64[2]",
613
- name: "u64Vals",
614
- type: "uint64[2]",
615
- },
616
- ],
617
- internalType: "struct GlobalState[2]",
618
- name: "globalStates",
619
- type: "tuple[2]",
620
- },
621
- {
622
- internalType: "uint64",
623
- name: "numBlocks",
624
- type: "uint64",
625
- },
626
- {
627
- internalType: "bytes32",
628
- name: "secondExecutionHash",
629
- type: "bytes32",
630
- },
631
- {
632
- internalType: "uint256[2]",
633
- name: "proposedBlocks",
634
- type: "uint256[2]",
635
- },
636
- {
637
- internalType: "bytes32[2]",
638
- name: "wasmModuleRoots",
639
- type: "bytes32[2]",
640
- },
641
- ],
642
- name: "createChallenge",
643
- outputs: [],
644
- stateMutability: "nonpayable",
645
- type: "function",
646
- },
647
- {
648
- inputs: [
649
- {
650
- internalType: "address",
651
- name: "staker",
652
- type: "address",
653
- },
654
- ],
655
- name: "currentChallenge",
656
- outputs: [
657
- {
658
- internalType: "uint64",
659
- name: "",
660
- type: "uint64",
661
- },
662
- ],
663
- stateMutability: "view",
664
- type: "function",
665
- },
666
- {
667
- inputs: [],
668
- name: "currentRequiredStake",
669
- outputs: [
670
- {
671
- internalType: "uint256",
672
- name: "",
673
- type: "uint256",
674
- },
675
- ],
676
- stateMutability: "view",
677
- type: "function",
678
- },
679
- {
680
- inputs: [],
681
- name: "extraChallengeTimeBlocks",
682
- outputs: [
683
- {
684
- internalType: "uint64",
685
- name: "",
686
- type: "uint64",
687
- },
688
- ],
689
- stateMutability: "view",
690
- type: "function",
691
- },
692
- {
693
- inputs: [],
694
- name: "firstUnresolvedNode",
695
- outputs: [
696
- {
697
- internalType: "uint64",
698
- name: "",
699
- type: "uint64",
700
- },
701
- ],
702
- stateMutability: "view",
703
- type: "function",
704
- },
705
- {
706
- inputs: [
707
- {
708
- internalType: "uint64",
709
- name: "nodeNum",
710
- type: "uint64",
711
- },
712
- ],
713
- name: "getNode",
714
- outputs: [
715
- {
716
- components: [
717
- {
718
- internalType: "bytes32",
719
- name: "stateHash",
720
- type: "bytes32",
721
- },
722
- {
723
- internalType: "bytes32",
724
- name: "challengeHash",
725
- type: "bytes32",
726
- },
727
- {
728
- internalType: "bytes32",
729
- name: "confirmData",
730
- type: "bytes32",
731
- },
732
- {
733
- internalType: "uint64",
734
- name: "prevNum",
735
- type: "uint64",
736
- },
737
- {
738
- internalType: "uint64",
739
- name: "deadlineBlock",
740
- type: "uint64",
741
- },
742
- {
743
- internalType: "uint64",
744
- name: "noChildConfirmedBeforeBlock",
745
- type: "uint64",
746
- },
747
- {
748
- internalType: "uint64",
749
- name: "stakerCount",
750
- type: "uint64",
751
- },
752
- {
753
- internalType: "uint64",
754
- name: "childStakerCount",
755
- type: "uint64",
756
- },
757
- {
758
- internalType: "uint64",
759
- name: "firstChildBlock",
760
- type: "uint64",
761
- },
762
- {
763
- internalType: "uint64",
764
- name: "latestChildNumber",
765
- type: "uint64",
766
- },
767
- {
768
- internalType: "uint64",
769
- name: "createdAtBlock",
770
- type: "uint64",
771
- },
772
- {
773
- internalType: "bytes32",
774
- name: "nodeHash",
775
- type: "bytes32",
776
- },
777
- ],
778
- internalType: "struct Node",
779
- name: "",
780
- type: "tuple",
781
- },
782
- ],
783
- stateMutability: "view",
784
- type: "function",
785
- },
786
- {
787
- inputs: [
788
- {
789
- internalType: "uint64",
790
- name: "nodeNum",
791
- type: "uint64",
792
- },
793
- ],
794
- name: "getNodeCreationBlockForLogLookup",
795
- outputs: [
796
- {
797
- internalType: "uint256",
798
- name: "",
799
- type: "uint256",
800
- },
801
- ],
802
- stateMutability: "view",
803
- type: "function",
804
- },
805
- {
806
- inputs: [
807
- {
808
- internalType: "address",
809
- name: "staker",
810
- type: "address",
811
- },
812
- ],
813
- name: "getStaker",
814
- outputs: [
815
- {
816
- components: [
817
- {
818
- internalType: "uint256",
819
- name: "amountStaked",
820
- type: "uint256",
821
- },
822
- {
823
- internalType: "uint64",
824
- name: "index",
825
- type: "uint64",
826
- },
827
- {
828
- internalType: "uint64",
829
- name: "latestStakedNode",
830
- type: "uint64",
831
- },
832
- {
833
- internalType: "uint64",
834
- name: "currentChallenge",
835
- type: "uint64",
836
- },
837
- {
838
- internalType: "bool",
839
- name: "isStaked",
840
- type: "bool",
841
- },
842
- ],
843
- internalType: "struct IRollupCore.Staker",
844
- name: "",
845
- type: "tuple",
846
- },
847
- ],
848
- stateMutability: "view",
849
- type: "function",
850
- },
851
- {
852
- inputs: [
853
- {
854
- internalType: "uint64",
855
- name: "stakerNum",
856
- type: "uint64",
857
- },
858
- ],
859
- name: "getStakerAddress",
860
- outputs: [
861
- {
862
- internalType: "address",
863
- name: "",
864
- type: "address",
865
- },
866
- ],
867
- stateMutability: "view",
868
- type: "function",
869
- },
870
- {
871
- inputs: [],
872
- name: "inbox",
873
- outputs: [
874
- {
875
- internalType: "contract IInboxBase",
876
- name: "",
877
- type: "address",
878
- },
879
- ],
880
- stateMutability: "view",
881
- type: "function",
882
- },
883
- {
884
- inputs: [
885
- {
886
- internalType: "address",
887
- name: "_stakeToken",
888
- type: "address",
889
- },
890
- ],
891
- name: "initialize",
892
- outputs: [],
893
- stateMutability: "view",
894
- type: "function",
895
- },
896
- {
897
- inputs: [],
898
- name: "isERC20Enabled",
899
- outputs: [
900
- {
901
- internalType: "bool",
902
- name: "",
903
- type: "bool",
904
- },
905
- ],
906
- stateMutability: "view",
907
- type: "function",
908
- },
909
- {
910
- inputs: [
911
- {
912
- internalType: "address",
913
- name: "staker",
914
- type: "address",
915
- },
916
- ],
917
- name: "isStaked",
918
- outputs: [
919
- {
920
- internalType: "bool",
921
- name: "",
922
- type: "bool",
923
- },
924
- ],
925
- stateMutability: "view",
926
- type: "function",
927
- },
928
- {
929
- inputs: [
930
- {
931
- internalType: "address",
932
- name: "staker",
933
- type: "address",
934
- },
935
- ],
936
- name: "isStakedOnLatestConfirmed",
937
- outputs: [
938
- {
939
- internalType: "bool",
940
- name: "",
941
- type: "bool",
942
- },
943
- ],
944
- stateMutability: "view",
945
- type: "function",
946
- },
947
- {
948
- inputs: [
949
- {
950
- internalType: "address",
951
- name: "",
952
- type: "address",
953
- },
954
- ],
955
- name: "isValidator",
956
- outputs: [
957
- {
958
- internalType: "bool",
959
- name: "",
960
- type: "bool",
961
- },
962
- ],
963
- stateMutability: "view",
964
- type: "function",
965
- },
966
- {
967
- inputs: [
968
- {
969
- internalType: "address",
970
- name: "staker",
971
- type: "address",
972
- },
973
- ],
974
- name: "isZombie",
975
- outputs: [
976
- {
977
- internalType: "bool",
978
- name: "",
979
- type: "bool",
980
- },
981
- ],
982
- stateMutability: "view",
983
- type: "function",
984
- },
985
- {
986
- inputs: [],
987
- name: "lastStakeBlock",
988
- outputs: [
989
- {
990
- internalType: "uint64",
991
- name: "",
992
- type: "uint64",
993
- },
994
- ],
995
- stateMutability: "view",
996
- type: "function",
997
- },
998
- {
999
- inputs: [],
1000
- name: "latestConfirmed",
1001
- outputs: [
1002
- {
1003
- internalType: "uint64",
1004
- name: "",
1005
- type: "uint64",
1006
- },
1007
- ],
1008
- stateMutability: "view",
1009
- type: "function",
1010
- },
1011
- {
1012
- inputs: [],
1013
- name: "latestNodeCreated",
1014
- outputs: [
1015
- {
1016
- internalType: "uint64",
1017
- name: "",
1018
- type: "uint64",
1019
- },
1020
- ],
1021
- stateMutability: "view",
1022
- type: "function",
1023
- },
1024
- {
1025
- inputs: [
1026
- {
1027
- internalType: "address",
1028
- name: "staker",
1029
- type: "address",
1030
- },
1031
- ],
1032
- name: "latestStakedNode",
1033
- outputs: [
1034
- {
1035
- internalType: "uint64",
1036
- name: "",
1037
- type: "uint64",
1038
- },
1039
- ],
1040
- stateMutability: "view",
1041
- type: "function",
1042
- },
1043
- {
1044
- inputs: [],
1045
- name: "loserStakeEscrow",
1046
- outputs: [
1047
- {
1048
- internalType: "address",
1049
- name: "",
1050
- type: "address",
1051
- },
1052
- ],
1053
- stateMutability: "view",
1054
- type: "function",
1055
- },
1056
- {
1057
- inputs: [],
1058
- name: "minimumAssertionPeriod",
1059
- outputs: [
1060
- {
1061
- internalType: "uint256",
1062
- name: "",
1063
- type: "uint256",
1064
- },
1065
- ],
1066
- stateMutability: "view",
1067
- type: "function",
1068
- },
1069
- {
1070
- inputs: [
1071
- {
1072
- internalType: "uint256",
1073
- name: "tokenAmount",
1074
- type: "uint256",
1075
- },
1076
- {
1077
- internalType: "uint64",
1078
- name: "nodeNum",
1079
- type: "uint64",
1080
- },
1081
- {
1082
- internalType: "bytes32",
1083
- name: "nodeHash",
1084
- type: "bytes32",
1085
- },
1086
- ],
1087
- name: "newStakeOnExistingNode",
1088
- outputs: [],
1089
- stateMutability: "nonpayable",
1090
- type: "function",
1091
- },
1092
- {
1093
- inputs: [
1094
- {
1095
- internalType: "uint256",
1096
- name: "tokenAmount",
1097
- type: "uint256",
1098
- },
1099
- {
1100
- components: [
1101
- {
1102
- components: [
1103
- {
1104
- components: [
1105
- {
1106
- internalType: "bytes32[2]",
1107
- name: "bytes32Vals",
1108
- type: "bytes32[2]",
1109
- },
1110
- {
1111
- internalType: "uint64[2]",
1112
- name: "u64Vals",
1113
- type: "uint64[2]",
1114
- },
1115
- ],
1116
- internalType: "struct GlobalState",
1117
- name: "globalState",
1118
- type: "tuple",
1119
- },
1120
- {
1121
- internalType: "enum MachineStatus",
1122
- name: "machineStatus",
1123
- type: "uint8",
1124
- },
1125
- ],
1126
- internalType: "struct ExecutionState",
1127
- name: "beforeState",
1128
- type: "tuple",
1129
- },
1130
- {
1131
- components: [
1132
- {
1133
- components: [
1134
- {
1135
- internalType: "bytes32[2]",
1136
- name: "bytes32Vals",
1137
- type: "bytes32[2]",
1138
- },
1139
- {
1140
- internalType: "uint64[2]",
1141
- name: "u64Vals",
1142
- type: "uint64[2]",
1143
- },
1144
- ],
1145
- internalType: "struct GlobalState",
1146
- name: "globalState",
1147
- type: "tuple",
1148
- },
1149
- {
1150
- internalType: "enum MachineStatus",
1151
- name: "machineStatus",
1152
- type: "uint8",
1153
- },
1154
- ],
1155
- internalType: "struct ExecutionState",
1156
- name: "afterState",
1157
- type: "tuple",
1158
- },
1159
- {
1160
- internalType: "uint64",
1161
- name: "numBlocks",
1162
- type: "uint64",
1163
- },
1164
- ],
1165
- internalType: "struct Assertion",
1166
- name: "assertion",
1167
- type: "tuple",
1168
- },
1169
- {
1170
- internalType: "bytes32",
1171
- name: "expectedNodeHash",
1172
- type: "bytes32",
1173
- },
1174
- {
1175
- internalType: "uint256",
1176
- name: "prevNodeInboxMaxCount",
1177
- type: "uint256",
1178
- },
1179
- ],
1180
- name: "newStakeOnNewNode",
1181
- outputs: [],
1182
- stateMutability: "nonpayable",
1183
- type: "function",
1184
- },
1185
- {
1186
- inputs: [
1187
- {
1188
- internalType: "uint64",
1189
- name: "nodeNum",
1190
- type: "uint64",
1191
- },
1192
- {
1193
- internalType: "address",
1194
- name: "staker",
1195
- type: "address",
1196
- },
1197
- ],
1198
- name: "nodeHasStaker",
1199
- outputs: [
1200
- {
1201
- internalType: "bool",
1202
- name: "",
1203
- type: "bool",
1204
- },
1205
- ],
1206
- stateMutability: "view",
1207
- type: "function",
1208
- },
1209
- {
1210
- inputs: [],
1211
- name: "outbox",
1212
- outputs: [
1213
- {
1214
- internalType: "contract IOutbox",
1215
- name: "",
1216
- type: "address",
1217
- },
1218
- ],
1219
- stateMutability: "view",
1220
- type: "function",
1221
- },
1222
- {
1223
- inputs: [],
1224
- name: "owner",
1225
- outputs: [
1226
- {
1227
- internalType: "address",
1228
- name: "",
1229
- type: "address",
1230
- },
1231
- ],
1232
- stateMutability: "view",
1233
- type: "function",
1234
- },
1235
- {
1236
- inputs: [],
1237
- name: "paused",
1238
- outputs: [
1239
- {
1240
- internalType: "bool",
1241
- name: "",
1242
- type: "bool",
1243
- },
1244
- ],
1245
- stateMutability: "view",
1246
- type: "function",
1247
- },
1248
- {
1249
- inputs: [],
1250
- name: "proxiableUUID",
1251
- outputs: [
1252
- {
1253
- internalType: "bytes32",
1254
- name: "",
1255
- type: "bytes32",
1256
- },
1257
- ],
1258
- stateMutability: "view",
1259
- type: "function",
1260
- },
1261
- {
1262
- inputs: [
1263
- {
1264
- internalType: "uint256",
1265
- name: "target",
1266
- type: "uint256",
1267
- },
1268
- ],
1269
- name: "reduceDeposit",
1270
- outputs: [],
1271
- stateMutability: "nonpayable",
1272
- type: "function",
1273
- },
1274
- {
1275
- inputs: [
1276
- {
1277
- internalType: "address",
1278
- name: "stakerAddress",
1279
- type: "address",
1280
- },
1281
- ],
1282
- name: "rejectNextNode",
1283
- outputs: [],
1284
- stateMutability: "nonpayable",
1285
- type: "function",
1286
- },
1287
- {
1288
- inputs: [
1289
- {
1290
- internalType: "uint256",
1291
- name: "startIndex",
1292
- type: "uint256",
1293
- },
1294
- ],
1295
- name: "removeOldZombies",
1296
- outputs: [],
1297
- stateMutability: "nonpayable",
1298
- type: "function",
1299
- },
1300
- {
1301
- inputs: [],
1302
- name: "removeWhitelistAfterFork",
1303
- outputs: [],
1304
- stateMutability: "nonpayable",
1305
- type: "function",
1306
- },
1307
- {
1308
- inputs: [],
1309
- name: "removeWhitelistAfterValidatorAfk",
1310
- outputs: [],
1311
- stateMutability: "nonpayable",
1312
- type: "function",
1313
- },
1314
- {
1315
- inputs: [
1316
- {
1317
- internalType: "uint256",
1318
- name: "zombieNum",
1319
- type: "uint256",
1320
- },
1321
- {
1322
- internalType: "uint256",
1323
- name: "maxNodes",
1324
- type: "uint256",
1325
- },
1326
- ],
1327
- name: "removeZombie",
1328
- outputs: [],
1329
- stateMutability: "nonpayable",
1330
- type: "function",
1331
- },
1332
- {
1333
- inputs: [
1334
- {
1335
- internalType: "uint256",
1336
- name: "nodeNum",
1337
- type: "uint256",
1338
- },
1339
- ],
1340
- name: "requireUnresolved",
1341
- outputs: [],
1342
- stateMutability: "view",
1343
- type: "function",
1344
- },
1345
- {
1346
- inputs: [],
1347
- name: "requireUnresolvedExists",
1348
- outputs: [],
1349
- stateMutability: "view",
1350
- type: "function",
1351
- },
1352
- {
1353
- inputs: [
1354
- {
1355
- internalType: "uint256",
1356
- name: "blockNumber",
1357
- type: "uint256",
1358
- },
1359
- {
1360
- internalType: "uint64",
1361
- name: "firstUnresolvedNodeNum",
1362
- type: "uint64",
1363
- },
1364
- {
1365
- internalType: "uint64",
1366
- name: "latestCreatedNode",
1367
- type: "uint64",
1368
- },
1369
- ],
1370
- name: "requiredStake",
1371
- outputs: [
1372
- {
1373
- internalType: "uint256",
1374
- name: "",
1375
- type: "uint256",
1376
- },
1377
- ],
1378
- stateMutability: "view",
1379
- type: "function",
1380
- },
1381
- {
1382
- inputs: [
1383
- {
1384
- internalType: "address",
1385
- name: "stakerAddress",
1386
- type: "address",
1387
- },
1388
- ],
1389
- name: "returnOldDeposit",
1390
- outputs: [],
1391
- stateMutability: "nonpayable",
1392
- type: "function",
1393
- },
1394
- {
1395
- inputs: [],
1396
- name: "rollupDeploymentBlock",
1397
- outputs: [
1398
- {
1399
- internalType: "uint256",
1400
- name: "",
1401
- type: "uint256",
1402
- },
1403
- ],
1404
- stateMutability: "view",
1405
- type: "function",
1406
- },
1407
- {
1408
- inputs: [],
1409
- name: "rollupEventInbox",
1410
- outputs: [
1411
- {
1412
- internalType: "contract IRollupEventInbox",
1413
- name: "",
1414
- type: "address",
1415
- },
1416
- ],
1417
- stateMutability: "view",
1418
- type: "function",
1419
- },
1420
- {
1421
- inputs: [],
1422
- name: "sequencerInbox",
1423
- outputs: [
1424
- {
1425
- internalType: "contract ISequencerInbox",
1426
- name: "",
1427
- type: "address",
1428
- },
1429
- ],
1430
- stateMutability: "view",
1431
- type: "function",
1432
- },
1433
- {
1434
- inputs: [
1435
- {
1436
- internalType: "uint64",
1437
- name: "nodeNum",
1438
- type: "uint64",
1439
- },
1440
- {
1441
- internalType: "bytes32",
1442
- name: "nodeHash",
1443
- type: "bytes32",
1444
- },
1445
- ],
1446
- name: "stakeOnExistingNode",
1447
- outputs: [],
1448
- stateMutability: "nonpayable",
1449
- type: "function",
1450
- },
1451
- {
1452
- inputs: [
1453
- {
1454
- components: [
1455
- {
1456
- components: [
1457
- {
1458
- components: [
1459
- {
1460
- internalType: "bytes32[2]",
1461
- name: "bytes32Vals",
1462
- type: "bytes32[2]",
1463
- },
1464
- {
1465
- internalType: "uint64[2]",
1466
- name: "u64Vals",
1467
- type: "uint64[2]",
1468
- },
1469
- ],
1470
- internalType: "struct GlobalState",
1471
- name: "globalState",
1472
- type: "tuple",
1473
- },
1474
- {
1475
- internalType: "enum MachineStatus",
1476
- name: "machineStatus",
1477
- type: "uint8",
1478
- },
1479
- ],
1480
- internalType: "struct ExecutionState",
1481
- name: "beforeState",
1482
- type: "tuple",
1483
- },
1484
- {
1485
- components: [
1486
- {
1487
- components: [
1488
- {
1489
- internalType: "bytes32[2]",
1490
- name: "bytes32Vals",
1491
- type: "bytes32[2]",
1492
- },
1493
- {
1494
- internalType: "uint64[2]",
1495
- name: "u64Vals",
1496
- type: "uint64[2]",
1497
- },
1498
- ],
1499
- internalType: "struct GlobalState",
1500
- name: "globalState",
1501
- type: "tuple",
1502
- },
1503
- {
1504
- internalType: "enum MachineStatus",
1505
- name: "machineStatus",
1506
- type: "uint8",
1507
- },
1508
- ],
1509
- internalType: "struct ExecutionState",
1510
- name: "afterState",
1511
- type: "tuple",
1512
- },
1513
- {
1514
- internalType: "uint64",
1515
- name: "numBlocks",
1516
- type: "uint64",
1517
- },
1518
- ],
1519
- internalType: "struct Assertion",
1520
- name: "assertion",
1521
- type: "tuple",
1522
- },
1523
- {
1524
- internalType: "bytes32",
1525
- name: "expectedNodeHash",
1526
- type: "bytes32",
1527
- },
1528
- {
1529
- internalType: "uint256",
1530
- name: "prevNodeInboxMaxCount",
1531
- type: "uint256",
1532
- },
1533
- ],
1534
- name: "stakeOnNewNode",
1535
- outputs: [],
1536
- stateMutability: "nonpayable",
1537
- type: "function",
1538
- },
1539
- {
1540
- inputs: [],
1541
- name: "stakeToken",
1542
- outputs: [
1543
- {
1544
- internalType: "address",
1545
- name: "",
1546
- type: "address",
1547
- },
1548
- ],
1549
- stateMutability: "view",
1550
- type: "function",
1551
- },
1552
- {
1553
- inputs: [],
1554
- name: "stakerCount",
1555
- outputs: [
1556
- {
1557
- internalType: "uint64",
1558
- name: "",
1559
- type: "uint64",
1560
- },
1561
- ],
1562
- stateMutability: "view",
1563
- type: "function",
1564
- },
1565
- {
1566
- inputs: [],
1567
- name: "totalWithdrawableFunds",
1568
- outputs: [
1569
- {
1570
- internalType: "uint256",
1571
- name: "",
1572
- type: "uint256",
1573
- },
1574
- ],
1575
- stateMutability: "view",
1576
- type: "function",
1577
- },
1578
- {
1579
- inputs: [],
1580
- name: "validatorUtils",
1581
- outputs: [
1582
- {
1583
- internalType: "address",
1584
- name: "",
1585
- type: "address",
1586
- },
1587
- ],
1588
- stateMutability: "view",
1589
- type: "function",
1590
- },
1591
- {
1592
- inputs: [],
1593
- name: "validatorWalletCreator",
1594
- outputs: [
1595
- {
1596
- internalType: "address",
1597
- name: "",
1598
- type: "address",
1599
- },
1600
- ],
1601
- stateMutability: "view",
1602
- type: "function",
1603
- },
1604
- {
1605
- inputs: [],
1606
- name: "validatorWhitelistDisabled",
1607
- outputs: [
1608
- {
1609
- internalType: "bool",
1610
- name: "",
1611
- type: "bool",
1612
- },
1613
- ],
1614
- stateMutability: "view",
1615
- type: "function",
1616
- },
1617
- {
1618
- inputs: [],
1619
- name: "wasmModuleRoot",
1620
- outputs: [
1621
- {
1622
- internalType: "bytes32",
1623
- name: "",
1624
- type: "bytes32",
1625
- },
1626
- ],
1627
- stateMutability: "view",
1628
- type: "function",
1629
- },
1630
- {
1631
- inputs: [],
1632
- name: "withdrawStakerFunds",
1633
- outputs: [
1634
- {
1635
- internalType: "uint256",
1636
- name: "",
1637
- type: "uint256",
1638
- },
1639
- ],
1640
- stateMutability: "nonpayable",
1641
- type: "function",
1642
- },
1643
- {
1644
- inputs: [
1645
- {
1646
- internalType: "address",
1647
- name: "user",
1648
- type: "address",
1649
- },
1650
- ],
1651
- name: "withdrawableFunds",
1652
- outputs: [
1653
- {
1654
- internalType: "uint256",
1655
- name: "",
1656
- type: "uint256",
1657
- },
1658
- ],
1659
- stateMutability: "view",
1660
- type: "function",
1661
- },
1662
- {
1663
- inputs: [
1664
- {
1665
- internalType: "uint256",
1666
- name: "zombieNum",
1667
- type: "uint256",
1668
- },
1669
- ],
1670
- name: "zombieAddress",
1671
- outputs: [
1672
- {
1673
- internalType: "address",
1674
- name: "",
1675
- type: "address",
1676
- },
1677
- ],
1678
- stateMutability: "view",
1679
- type: "function",
1680
- },
1681
- {
1682
- inputs: [],
1683
- name: "zombieCount",
1684
- outputs: [
1685
- {
1686
- internalType: "uint256",
1687
- name: "",
1688
- type: "uint256",
1689
- },
1690
- ],
1691
- stateMutability: "view",
1692
- type: "function",
1693
- },
1694
- {
1695
- inputs: [
1696
- {
1697
- internalType: "uint256",
1698
- name: "zombieNum",
1699
- type: "uint256",
1700
- },
1701
- ],
1702
- name: "zombieLatestStakedNode",
1703
- outputs: [
1704
- {
1705
- internalType: "uint64",
1706
- name: "",
1707
- type: "uint64",
1708
- },
1709
- ],
1710
- stateMutability: "view",
1711
- type: "function",
1712
- },
1713
- ];
1714
-
1715
- const _bytecode =
1716
- "0x60e0604052620000196200003a60201b62002a5f1760201c565b15156080523060a0524660c0523480156200003357600080fd5b5062000115565b60408051600481526024810182526020810180516001600160e01b03166302881c7960e11b1790529051600091829182916064916200007a9190620000d7565b600060405180830381855afa9150503d8060008114620000b7576040519150601f19603f3d011682016040523d82523d6000602084013e620000bc565b606091505b5091509150818015620000d0575080516020145b9250505090565b6000825160005b81811015620000fa5760208186018101518583015201620000de565b818111156200010a576000828501525b509190910192915050565b60805160a05160c051615c2c6200015a6000396000612545015260008181610e78015281816125b401526126390152600081816129a701526148bc0152615c2c6000f3fe608060405234801561001057600080fd5b50600436106103875760003560e01c8063771b2f97116101e0578063cd205fda11610110578063edfd03ed116100a8578063edfd03ed14610919578063ee35f3271461092c578063ef40a6701461093f578063f065de3f14610952578063f33e1fac14610965578063f3f0a03e14610978578063f63a434a1461098b578063facd743b1461099e578063fb0e722b146109c157600080fd5b8063cd205fda1461080f578063ce11e6ab14610822578063d01e660214610835578063d29a4e2714610848578063d735e21d1461085b578063dcd030aa14610863578063dff6978714610876578063e78cea921461087e578063e8bd49221461089157600080fd5b806392c8134c1161018357806392c8134c1461067d5780639a8a05921461069d578063a23c44b1146106a6578063aa38a6e7146107a8578063aa65af48146107bb578063b0ebedc7146107ce578063bc45e0ae146107e1578063c2c2e68e146107f4578063c4d66de8146107fc57600080fd5b8063771b2f97146105f9578063773d984e146106135780637ba9534a146106265780637e2d21551461062e5780638640ce5f146106415780638da5cb5b146106595780638ee1a1261461066157806391c657e81461066a57600080fd5b806354ce8961116102bb57806367425daf1161025e57806367425daf1461056d57806369fd251c146105755780636b94c33b146105885780636d08d0a21461059b5780636ddd3744146105ae5780636f57644e146105c157806371ef232c146105d45780637427be51146105dd57806376e7e23b146105f057600080fd5b806354ce8961146104f55780635c617e94146105085780635c975abb1461051b5780635eb405d51461052657806361373919146105395780636177fd181461054157806363721d6b1461055457806365f7f80d1461055c57600080fd5b80632b2af0ab1161032e5780632b2af0ab146104465780632e7acfa6146104595780632f30cabd146104845780633e96576e146104ad57806345e38b64146104c05780634ceccfe5146104c95780634d26732d146104d257806351ed6a30146104da57806352d1902d146104ed57600080fd5b8063014cc92c1461038c578063023a96fe146103bc5780630357aa49146103cf57806312ab3d3b146103e457806318baaab9146104015780631aeb55a0146104095780631b1689e91461041c5780631e83d30f14610433575b600080fd5b606f5461039f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b606e5461039f906001600160a01b031681565b6103e26103dd366004614f96565b6109d4565b005b607e546103f19060ff1681565b60405190151581526020016103b3565b6103e2610aa7565b6103e2610417366004614fe7565b610b21565b610425607d5481565b6040519081526020016103b3565b6103e2610441366004615013565b610ce1565b6103e2610454366004615013565b610d6b565b60655461046c906001600160401b031681565b6040516001600160401b0390911681526020016103b3565b61042561049236600461502c565b6001600160a01b03166000908152607b602052604090205490565b61046c6104bb36600461502c565b610e0f565b61042560735481565b61042561b2fa81565b610425610e3d565b60725461039f906001600160a01b031681565b610425610e6b565b6103e2610503366004615060565b610f30565b610425610516366004615097565b611193565b60335460ff166103f1565b6103e26105343660046150b4565b6111e7565b61042561150a565b6103f161054f36600461502c565b61163c565b607a54610425565b6075546001600160401b031661046c565b6103e2611664565b61046c61058336600461502c565b6116ee565b6103e261059636600461502c565b61171c565b6104256105a9366004615097565b611a54565b61039f6105bc366004615097565b611ad7565b6103e26105cf3660046150e7565b611b10565b610425607c5481565b6103e26105eb36600461502c565b612142565b61042560675481565b60655461046c90600160401b90046001600160401b031681565b6103e2610621366004615187565b61220c565b61046c612228565b6103e261063c3660046150b4565b61223e565b607554600160c01b90046001600160401b031661046c565b61039f6123a2565b61042560685481565b6103f161067836600461502c565b6123ac565b61069061068b366004615097565b612410565b6040516103b391906151bf565b61042560665481565b6107536106b436600461502c565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160a01b0316600090815260796020908152604091829020825160a081018452815481526001909101546001600160401b0380821693830193909352600160401b8104831693820193909352600160801b83049091166060820152600160c01b90910460ff161515608082015290565b6040516103b39190600060a0820190508251825260208301516001600160401b038082166020850152806040860151166040850152806060860151166060850152505060808301511515608083015292915050565b606d5461039f906001600160a01b031681565b6103f16107c93660046152bb565b6124c8565b6104256107dc3660046152f0565b6124ff565b60705461039f906001600160a01b031681565b6103e261251f565b6103e261080a36600461502c565b6125a9565b6072546001600160a01b031615156103f1565b606b5461039f906001600160a01b031681565b61039f610843366004615013565b612767565b6103e2610856366004615332565b61277c565b61046c612799565b6103f161087136600461502c565b6127af565b60785461046c565b606a5461039f906001600160a01b031681565b6108e161089f36600461502c565b607960205260009081526040902080546001909101546001600160401b0380821691600160401b8104821691600160801b82041690600160c01b900460ff1685565b604080519586526001600160401b0394851660208701529284169285019290925290911660608301521515608082015260a0016103b3565b6103e2610927366004615013565b6127f2565b606c5461039f906001600160a01b031681565b61042561094d36600461502c565b6128db565b60715461039f906001600160a01b031681565b61046c610973366004615013565b6128f6565b6103e2610986366004615371565b61292d565b610425610999366004615097565b6129a3565b6103f16109ac36600461502c565b60746020526000908152604090205460ff1681565b60695461039f906001600160a01b031681565b60335460ff1615610a005760405162461bcd60e51b81526004016109f79061538d565b60405180910390fd5b606e546001600160a01b03163314610a495760405162461bcd60e51b815260206004820152600c60248201526b2ba927a723afa9a2a72222a960a11b60448201526064016109f7565b610a538282612af7565b6001600160401b03168314610a985760405162461bcd60e51b815260206004820152600b60248201526a1393d517d25397d0d2105360aa1b60448201526064016109f7565b610aa28282612bc5565b505050565b607e5460ff1615610aca5760405162461bcd60e51b81526004016109f7906153b7565b610ad2612c7b565b610b125760405162461bcd60e51b815260206004820152601160248201527056414c494441544f525f4e4f545f41464b60781b60448201526064016109f7565b607e805460ff19166001179055565b3360009081526074602052604090205460ff1680610b415750607e5460ff165b610b5d5760405162461bcd60e51b81526004016109f7906153e3565b60335460ff1615610b805760405162461bcd60e51b81526004016109f79061538d565b610b89336127af565b610ba55760405162461bcd60e51b81526004016109f79061540a565b610bad612799565b6001600160401b0316826001600160401b031610158015610be75750610bd1612228565b6001600160401b0316826001600160401b031611155b610c2b5760405162461bcd60e51b81526020600482015260156024820152744e4f44455f4e554d5f4f55545f4f465f52414e474560581b60448201526064016109f7565b6000610c3683612d85565b905081816005015414610c785760405162461bcd60e51b815260206004820152600a6024820152694e4f44455f52454f524760b01b60448201526064016109f7565b60038101546001600160401b0316610c8f33610e0f565b6001600160401b031614610cd75760405162461bcd60e51b815260206004820152600f60248201526e2727aa2fa9aa20a5a2a22fa82922ab60891b60448201526064016109f7565b610aa23384612d9f565b3360009081526074602052604090205460ff1680610d015750607e5460ff165b610d1d5760405162461bcd60e51b81526004016109f7906153e3565b60335460ff1615610d405760405162461bcd60e51b81526004016109f79061538d565b610d4933612df0565b6000610d53610e3d565b905080821015610d61578091505b610aa23383612e60565b610d73612799565b6001600160401b0316811015610dbd5760405162461bcd60e51b815260206004820152600f60248201526e1053149150511657d11150d2511151608a1b60448201526064016109f7565b610dc5612228565b6001600160401b0316811115610e0c5760405162461bcd60e51b815260206004820152600c60248201526b1113d154d39517d1561254d560a21b60448201526064016109f7565b50565b6001600160a01b0316600090815260796020526040902060010154600160401b90046001600160401b031690565b600080610e48612799565b9050610e654382610e57612228565b6001600160401b0316612f13565b91505090565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610f0b5760405162461bcd60e51b815260206004820152603b60248201527f555550534e6f745570677261646561626c653a206d757374206e6f742062652060448201527f63616c6c6564207468726f7567682064656c656761746563616c6c000000000060648201526084016109f7565b507f2b1dbce74324248c222f0ec2d5ed7bd323cfc425b336f0253c5ccfda7265546d90565b3360009081526074602052604090205460ff1680610f505750607e5460ff165b610f6c5760405162461bcd60e51b81526004016109f7906153e3565b60335460ff1615610f8f5760405162461bcd60e51b81526004016109f79061538d565b610f98336127af565b610fb45760405162461bcd60e51b81526004016109f79061540a565b6000610fbf33610e0f565b90506000610fcc82612410565b6101400151610fe4906001600160401b031643615444565b90506073548110156110255760405162461bcd60e51b815260206004820152600a60248201526954494d455f44454c544160b01b60448201526064016109f7565b600261103961014087016101208801615480565b600381111561104a5761104a61545b565b148061107857508261106c61106736889003880160a0890161559c565b61317b565b6001600160401b031610155b6110b05760405162461bcd60e51b81526020600482015260096024820152681513d3d7d4d350531360ba1b60448201526064016109f7565b60006110c461016087016101408801615097565b6001600160401b03161161110c5760405162461bcd60e51b815260206004820152600f60248201526e22a6a82a2cafa0a9a9a2a92a24a7a760891b60448201526064016109f7565b600161111e60a0870160808801615480565b600381111561112f5761112f61545b565b1461116e5760405162461bcd60e51b815260206004820152600f60248201526e4241445f505245565f53544154555360881b60448201526064016109f7565b5061117b84828486613190565b5061118d33611188612228565b612d9f565b50505050565b60008061119f607a5490565b90506000805b828110156111df576111ba856107c983612767565b156111cd57816111c9816155b8565b9250505b806111d7816155b8565b9150506111a5565b509392505050565b3360009081526074602052604090205460ff16806112075750607e5460ff165b6112235760405162461bcd60e51b81526004016109f7906153e3565b60335460ff16156112465760405162461bcd60e51b81526004016109f79061538d565b61124e611664565b6000611258612799565b9050600061126582612d85565b6040805161018081018252825481526001830154602082015260028301549181019190915260038201546001600160401b038082166060840152600160401b80830482166080850152600160801b808404831660a0860152600160c01b93849004831660c0860152600486015480841660e0870152918204831661010086015281048216610120850152919091041661014082015260058201546101608201529091506113119061377b565b60755460038201546001600160401b03908116911614611333576113336155d3565b600381015460009061134d906001600160401b0316612d85565b6040805161018081018252825481526001830154602082015260028301549181019190915260038201546001600160401b038082166060840152600160401b80830482166080850152600160801b808404831660a0860152600160c01b93849004831660c0860152600486015480841660e0870152918204831661010086015281048216610120850152919091041661014082015260058201546101608201529091506113f9906137ca565b61140360006127f2565b600061140e84611193565b6003840154909150600090829061142d906001600160401b0316611a54565b6114379190615444565b6003850154909150600160c01b90046001600160401b0316821061148a5760405162461bcd60e51b815260206004820152600a6024820152694e4f5f5354414b45525360b01b60448201526064016109f7565b60038401546114aa908290600160c01b90046001600160401b03166155e9565b60048401546001600160401b0316146114f65760405162461bcd60e51b815260206004820152600e60248201526d1393d517d0531317d4d51052d15160921b60448201526064016109f7565b61150185888861381a565b50505050505050565b3360009081526074602052604081205460ff168061152a5750607e5460ff165b6115465760405162461bcd60e51b81526004016109f7906153e3565b60335460ff16156115695760405162461bcd60e51b81526004016109f79061538d565b600061157433613969565b60725460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb90604401602060405180830381600087803b1580156115c157600080fd5b505af11580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190615601565b6116375760405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b60448201526064016109f7565b905090565b6001600160a01b0316600090815260796020526040902060010154600160c01b900460ff1690565b600061166e612799565b6001600160401b0316905061168b6075546001600160401b031690565b6001600160401b0316811180156116b257506116a5612228565b6001600160401b03168111155b610e0c5760405162461bcd60e51b815260206004820152600d60248201526c1393d7d553949154d3d3159151609a1b60448201526064016109f7565b6001600160a01b0316600090815260796020526040902060010154600160801b90046001600160401b031690565b3360009081526074602052604090205460ff168061173c5750607e5460ff165b6117585760405162461bcd60e51b81526004016109f7906153e3565b60335460ff161561177b5760405162461bcd60e51b81526004016109f79061538d565b611783611664565b60006117976075546001600160401b031690565b905060006117a3612799565b905060006117b082612d85565b60038101549091506001600160401b0384811691161415611a12576117d4846127af565b6117f05760405162461bcd60e51b81526004016109f79061540a565b61180a6117fc85610e0f565b6001600160401b0316610d6b565b61181482856124c8565b156118545760405162461bcd60e51b815260206004820152601060248201526f14d51052d15117d3d397d5105491d15560821b60448201526064016109f7565b6040805161018081018252825481526001830154602082015260028301549181019190915260038201546001600160401b038082166060840152600160401b80830482166080850152600160801b808404831660a0860152600160c01b93849004831660c0860152600486015480841660e0870152918204831661010086015281048216610120850152919091041661014082015260058201546101608201526118fd9061377b565b6119af61190984612d85565b6040805161018081018252825481526001830154602082015260028301549181019190915260038201546001600160401b038082166060840152600160401b80830482166080850152600160801b808404831660a0860152600160c01b93849004831660c0860152600486015480841660e087015291820483166101008601528104821661012085015291909104166101408201526005909101546101608201526137ca565b6119b960006127f2565b6119c282611193565b6003820154600160c01b90046001600160401b031614611a125760405162461bcd60e51b815260206004820152600b60248201526a4841535f5354414b45525360a81b60448201526064016109f7565b611a1a6139ea565b6040516001600160401b038316907feaffa3d968707ec919a2fc9f31d5ab2b86c905881ff561725d5a82fc95ad464090600090a250505050565b600080611a60607a5490565b90506000805b828110156111df576000611a7982613a31565b80549091506001600160401b03878116600160a01b9092041614801590611ab157508054611ab19087906001600160a01b03166124c8565b15611ac45782611ac0816155b8565b9350505b5080611acf816155b8565b915050611a66565b60006078826001600160401b031681548110611af557611af5615623565b6000918252602090912001546001600160a01b031692915050565b3360009081526074602052604090205460ff1680611b305750607e5460ff165b611b4c5760405162461bcd60e51b81526004016109f7906153e3565b60335460ff1615611b6f5760405162461bcd60e51b81526004016109f79061538d565b611b7f6040880160208901615097565b6001600160401b0316611b956020890189615097565b6001600160401b031610611bd95760405162461bcd60e51b815260206004820152600b60248201526a2ba927a723afa7a92222a960a91b60448201526064016109f7565b611be1612228565b6001600160401b0316611bfa6040890160208a01615097565b6001600160401b03161115611c405760405162461bcd60e51b815260206004820152600c60248201526b1393d517d41493d413d4d15160a21b60448201526064016109f7565b611c4d6020880188615097565b6001600160401b0316611c686075546001600160401b031690565b6001600160401b031610611cb25760405162461bcd60e51b81526020600482015260116024820152701053149150511657d0d3d3919254935151607a1b60448201526064016109f7565b6000611cd288825b602002016020810190611ccd9190615097565b612d85565b90506000611ce1896001611cba565b600380820154908401549192506001600160401b03918216911614611d345760405162461bcd60e51b81526020600482015260096024820152682224a3232fa82922ab60b91b60448201526064016109f7565b611d538a60005b602002016020810190611d4e919061502c565b612df0565b611d5e8a6001611d3b565b611d85611d6e60208b018b615097565b8b60005b6020020160208101906107c9919061502c565b611dc65760405162461bcd60e51b815260206004820152601260248201527114d51052d1548c57d393d517d4d51052d15160721b60448201526064016109f7565b611de1611dd960408b0160208c01615097565b8b6001611d72565b611e225760405162461bcd60e51b815260206004820152601260248201527114d51052d1548c97d393d517d4d51052d15160721b60448201526064016109f7565b604080518082018252611ea391611e9391908b90600290839083908082843760009201829052506040805180820190915292508c9150600290835b82821015611e8957611e7a6080830285013681900381019061559c565b81526020019060010190611e5d565b5050505089613a57565b85358560005b6020020135613b01565b826001015414611ee25760405162461bcd60e51b815260206004820152600a6024820152694348414c5f484153483160b01b60448201526064016109f7565b611ef3856020860135856001611e99565b816001015414611f325760405162461bcd60e51b815260206004820152600a60248201526921a420a62fa420a9a41960b11b60448201526064016109f7565b60655460038301546000916001600160401b03600160401b91829004811692611f6092893592910416615444565b6003850154611f77906001600160401b0316612d85565b60040154611f959190600160401b90046001600160401b03166155e9565b611f9f91906155e9565b90506020850135811015611fda57611fd2611fbd60208d018d61502c565b611fcd60408e0160208f0161502c565b612bc5565b505050612138565b600061201a8c8b8b8b89600c611ff18d358a615444565b611ffb9190615639565b600c61200b60208f01358b615444565b6120159190615639565b613b3f565b905061209d61202c60208e018e61502c565b8d6001602002016020810190612042919061502c565b6001600160a01b03918216600090815260796020526040808220600190810180546001600160401b038916600160801b0267ffffffffffffffff60801b19918216811790925594909516835291200180549091169091179055565b6001600160401b0381167f6db7dc2f507647d135035469b27aa79cea90582779d084a7821d6cd092cbd8736120d560208f018f61502c565b8e60016020020160208101906120eb919061502c565b8e60006020020160208101906121019190615097565b604080516001600160a01b0394851681529390921660208401526001600160401b03169082015260600160405180910390a2505050505b5050505050505050565b3360009081526074602052604090205460ff16806121625750607e5460ff165b61217e5760405162461bcd60e51b81526004016109f7906153e3565b60335460ff16156121a15760405162461bcd60e51b81526004016109f79061538d565b6075546001600160401b03166121b682610e0f565b6001600160401b031611156121fa5760405162461bcd60e51b815260206004820152600a6024820152691513d3d7d49150d1539560b21b60448201526064016109f7565b61220381612df0565b610e0c81613bfe565b61221583613cae565b61221f8282610b21565b610aa283613dd0565b607554600160801b90046001600160401b031690565b3360009081526074602052604090205460ff168061225e5750607e5460ff165b61227a5760405162461bcd60e51b81526004016109f7906153e3565b60335460ff161561229d5760405162461bcd60e51b81526004016109f79061538d565b607a5482106122df5760405162461bcd60e51b815260206004820152600e60248201526d4e4f5f535543485f5a4f4d42494560901b60448201526064016109f7565b60006122ea83612767565b905060006122f7846128f6565b905060008061230e6075546001600160401b031690565b6001600160401b031690505b80836001600160401b03161015801561233257508482105b1561237157600061234284612d85565b905061234e8486613e96565b60038101546001600160401b0316935082612368816155b8565b9350505061231a565b80836001600160401b031610156123905761238b86613fe0565b61239a565b61239a86846140a6565b505050505050565b60006116376140ef565b6000805b607a5481101561240757607a81815481106123cd576123cd615623565b6000918252602090912001546001600160a01b03848116911614156123f55750600192915050565b806123ff816155b8565b9150506123b0565b50600092915050565b612418614e5a565b61242182612d85565b6040805161018081018252825481526001830154602082015260028301549181019190915260038201546001600160401b038082166060840152600160401b80830482166080850152600160801b808404831660a0860152600160c01b93849004831660c0860152600486015480841660e0870152918204831661010086015281048216610120850152919091041661014082015260059091015461016082015292915050565b6001600160401b03821660009081526077602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b60006125158484846001600160401b0316612f13565b90505b9392505050565b607e5460ff16156125425760405162461bcd60e51b81526004016109f7906153b7565b467f00000000000000000000000000000000000000000000000000000000000000001415610b125760405162461bcd60e51b815260206004820152601460248201527310d210525397d25117d393d517d0d2105391d15160621b60448201526064016109f7565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156126375760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b60648201526084016109f7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316612669614122565b6001600160a01b0316146126d45760405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b6163746976652070726f787960a01b60648201526084016109f7565b6001600160a01b03811661271d5760405162461bcd60e51b815260206004820152601060248201526f2722a2a22fa9aa20a5a2afaa27a5a2a760811b60448201526064016109f7565b6072546001600160a01b0316610e0c5760405162461bcd60e51b815260206004820152600f60248201526e046414345545f4e4f545f455243323608c1b60448201526064016109f7565b6000607a8281548110611af557611af5615623565b61278584613cae565b612790838383610f30565b61118d84613dd0565b607554600160401b90046001600160401b031690565b6001600160a01b038116600090815260796020526040812060010154600160c01b900460ff1680156124f957506075546124f9906001600160401b0316836124c8565b3360009081526074602052604090205460ff16806128125750607e5460ff165b61282e5760405162461bcd60e51b81526004016109f7906153e3565b60335460ff16156128515760405162461bcd60e51b81526004016109f79061538d565b600061285c607a5490565b905060006128726075546001600160401b031690565b6001600160401b03169050825b8281101561118d575b81612892826128f6565b6001600160401b031610156128c9576128aa81613fe0565b826128b481615658565b9350508281106128c45750505050565b612888565b806128d3816155b8565b91505061287f565b6001600160a01b031660009081526079602052604090205490565b6000607a828154811061290b5761290b615623565b600091825260209091200154600160a01b90046001600160401b031692915050565b3360009081526074602052604090205460ff168061294d5750607e5460ff165b6129695760405162461bcd60e51b81526004016109f7906153e3565b60335460ff161561298c5760405162461bcd60e51b81526004016109f79061538d565b612996828261414a565b61299f81613dd0565b5050565b60007f000000000000000000000000000000000000000000000000000000000000000015612a01576001600160401b0382166000908152607f6020526040902054806124f95760405162461bcd60e51b81526004016109f79061566f565b6000612a0c83612d85565b6003810154909150600160401b90046001600160401b0316612a405760405162461bcd60e51b81526004016109f79061566f565b60040154600160c01b90046001600160401b031692915050565b919050565b60408051600481526024810182526020810180516001600160e01b03166302881c7960e11b179052905160009182918291606491612a9d9190615690565b600060405180830381855afa9150503d8060008114612ad8576040519150601f19603f3d011682016040523d82523d6000602084013e612add565b606091505b5091509150818015612af0575080516020145b9250505090565b6001600160a01b03828116600090815260796020526040808220928416825281206001830154919291600160801b90046001600160401b031680612b675760405162461bcd60e51b81526020600482015260076024820152661393d7d0d2105360ca1b60448201526064016109f7565b60018201546001600160401b03828116600160801b9092041614612bbc5760405162461bcd60e51b815260206004820152600c60248201526b1112519197d25397d0d2105360a21b60448201526064016109f7565b95945050505050565b6000612bd0826128db565b90506000612bdd846128db565b905080821115612bfe57612bf18382612e60565b612bfb9083615444565b91505b6000612c0b6002846156e1565b9050612c1785826141b8565b612c218184615444565b9250612c55856001600160a01b03166000908152607960205260409020600101805467ffffffffffffffff60801b19169055565b607154612c6b906001600160a01b03168461421d565b612c74846142b9565b5050505050565b600080612c89611ccd612228565b6040805161018081018252825481526001830154602082015260028301549181019190915260038201546001600160401b038082166060840152600160401b80830482166080850152600160801b808404831660a0860152600160c01b93849004831660c0860152600486015480841660e0870152918204831661010086015281048216610120850152919091041661014082018190526005909201546101608201529150612d3a57600091505090565b606554610140820151439161b2fa91612d5c916001600160401b0316906156f5565b6001600160401b0316612d6f91906155e9565b1015612d7d57600191505090565b600091505090565b6001600160401b0316600090815260766020526040902090565b6001600160a01b0382166000908152607960205260409020612dc1828461435f565b60010180546001600160401b03909216600160401b0267ffffffffffffffff60401b1990921691909117905550565b612df98161163c565b612e155760405162461bcd60e51b81526004016109f79061540a565b6000612e20826116ee565b6001600160401b031614610e0c5760405162461bcd60e51b8152602060048201526007602482015266125397d0d2105360ca1b60448201526064016109f7565b6001600160a01b0382166000908152607960205260408120805480841115612ebd5760405162461bcd60e51b815260206004820152601060248201526f544f4f5f4c4954544c455f5354414b4560801b60448201526064016109f7565b6000612ec98583615444565b8584559050612ed8868261421d565b60408051838152602081018790526001600160a01b03881691600080516020615bd7833981519152910160405180910390a295945050505050565b600081612f21600185615720565b6001600160401b03161415612f395750606754612518565b6000612f4484612d85565b60030154600160401b90046001600160401b0316905080851015612f6c575050606754612518565b6000604051806101400160405280600162ffffff1681526020016201e05b62ffffff1681526020016201f7d162ffffff1681526020016201389162ffffff168152602001620329e162ffffff1681526020016201be4362ffffff1681526020016204cb8c62ffffff1681526020016201fbc462ffffff16815260200162036d3262ffffff1681526020016202797362ffffff1681525090506000604051806101400160405280600162ffffff1681526020016201c03062ffffff1681526020016201b69962ffffff16815260200161fde262ffffff168152602001620265c662ffffff16815260200162013b8e62ffffff168152602001620329e162ffffff1681526020016201389162ffffff1681526020016201f7d162ffffff1681526020016201537562ffffff168152509050600083886130a99190615444565b6065549091506000906001600160401b03166130c683600a615639565b6130d091906156e1565b905060006130df600a836156e1565b6130ea90600261582c565b90506000856130fa600a85615838565b600a811061310a5761310a615623565b602002015161311e9062ffffff1683615639565b905060008561312e600a86615838565b600a811061313e5761313e615623565b60200201516131529062ffffff16836156e1565b90508061315d575060015b8060675461316b9190615639565b9c9b505050505050505050505050565b6020810151600090815b602002015192915050565b600060016131a661014087016101208801615480565b60038111156131b7576131b761545b565b14806131e5575060026131d261014087016101208801615480565b60038111156131e3576131e361545b565b145b6132245760405162461bcd60e51b815260206004820152601060248201526f4241445f41465445525f53544154555360801b60448201526064016109f7565b61322c614ebe565b61323585612410565b6060820152606a54604080516221048360e21b815290516001600160a01b03909216916284120c91600480820192602092909190829003018186803b15801561327d57600080fd5b505afa158015613291573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b5919061584c565b81526060810151516132c78786614525565b146133065760405162461bcd60e51b815260206004820152600f60248201526e0a0a48aacbea6a882a88abe9082a69608b1b60448201526064016109f7565b600061331d61106736899003890160a08a0161559c565b90506000613333611067368a90038a018a61559c565b9050806001600160401b0316826001600160401b031610156133895760405162461bcd60e51b815260206004820152600f60248201526e494e424f585f4241434b574152445360881b60448201526064016109f7565b806001600160401b0316826001600160401b0316141561342f576133ba6133b5368a90038a018a61559c565b61457f565b6001600160401b03166133d86133b5368b90038b0160a08c0161559c565b6001600160401b0316101561342f5760405162461bcd60e51b815260206004820152601a60248201527f494e424f585f504f535f494e5f4d53475f4241434b574152445300000000000060448201526064016109f7565b60026134436101408a016101208b01615480565b60038111156134545761345461545b565b148061347d575060006134726133b5368b90038b0160a08c0161559c565b6001600160401b0316115b15613490578161348c81615865565b9250505b82516001600160401b03831611156134db5760405162461bcd60e51b815260206004820152600e60248201526d12539093d617d41054d517d1539160921b60448201526064016109f7565b6001600160401b0382161561358357606a546001600160a01b03166316bf5579613506600185615720565b6040516001600160e01b031960e084901b1681526001600160401b03909116600482015260240160206040518083038186803b15801561354557600080fd5b505afa158015613559573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357d919061584c565b60e08401525b5061359d9050613598368890038801886158cb565b61458e565b60408201526065546135b8906001600160401b0316436156f5565b6001600160401b0390811660c0830152606082015161012001511615801560a08301526135ff576135f181606001516101200151612d85565b60050154608082015261360f565b6060810151610160015160808201525b61362e8160a00151826080015183604001518460e0015160685461462d565b91508282148061363c575082155b61367f5760405162461bcd60e51b81526020600482015260146024820152730aa9c8ab0a08a86a88a88be9c9e888abe9082a6960631b60448201526064016109f7565b6136c76136938760a0018360000151614525565b6136a4836040015143606854613b01565b6136bb6136b6368b90038b018b6158cb565b61469a565b888560c00151876146c4565b602082015260006136d6612228565b6136e19060016156f5565b905060006136ee87612d85565b90506136fa8183614718565b6137078360200151614789565b5050818160600151610160015161371c612228565b6001600160401b03167f4f4caa9e67fb994e349dd35d1ad0ce23053d4323f83ce11dc817b5435031d09684604001518a8660e00151606854886000015160405161376a9594939291906159c6565b60405180910390a450949350505050565b80608001516001600160401b0316431015610e0c5760405162461bcd60e51b815260206004820152600f60248201526e4245464f52455f444541444c494e4560881b60448201526064016109f7565b8060a001516001600160401b0316431015610e0c5760405162461bcd60e51b815260206004820152601060248201526f10d212531117d513d3d7d49150d1539560821b60448201526064016109f7565b600061382584612d85565b90506138318383614977565b8160020154146138725760405162461bcd60e51b815260206004820152600c60248201526b434f4e4649524d5f4441544160a01b60448201526064016109f7565b606b54604051630502677360e51b815260048101849052602481018590526001600160a01b039091169063a04cee6090604401600060405180830381600087803b1580156138bf57600080fd5b505af11580156138d3573d6000803e3d6000fd5b50506075805467ffffffffffffffff19166001600160401b038816179055506138ff90508460016156f5565b6075805467ffffffffffffffff60401b1916600160401b6001600160401b03938416021790556040805185815260208101859052918616917f22ef0479a7ff660660d1c2fe35f1b632cf31675c2d9378db8cec95b00d8ffa3c91015b60405180910390a250505050565b6001600160a01b0381166000908152607b60205260408120805490829055607c8054829190849061399b908490615444565b909155505060408051828152600060208201526001600160a01b038516917fa740af14c56e4e04a617b1de1eb20de73270decbaaead14f142aabf3038e5ae2910160405180910390a292915050565b60758054600160401b90046001600160401b0316906008613a0a83615865565b91906101000a8154816001600160401b0302191690836001600160401b0316021790555050565b6000607a8281548110613a4657613a46615623565b906000526020600020019050919050565b60408051600280825260608201835260009283929190602083019080368337019050508551909150613a9990613a948660005b6020020151614993565b614a07565b81600081518110613aac57613aac615623565b6020908102919091010152613acd8560016020020151613a94866001613a8a565b81600181518110613ae057613ae0615623565b602002602001018181525050612bbc6000846001600160401b031683614b2b565b6040805160208101859052908101839052606081018290526000906080015b6040516020818303038152906040528051906020012090509392505050565b606e546000906001600160a01b03166314eab5e78535898989613b6560208f018f61502c565b8e6001602002016020810190613b7b919061502c565b8a8a6040518963ffffffff1660e01b8152600401613ba0989796959493929190615a28565b602060405180830381600087803b158015613bba57600080fd5b505af1158015613bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bf29190615ad8565b98975050505050505050565b6001600160a01b038116600090815260796020526040812090613c296075546001600160401b031690565b9050613c3581846124c8565b15613c6a5760018201546001600160401b03828116600160401b9092041614613c6057613c606155d3565b613c6a8184613e96565b8154613c76848261421d565b613c7f84614b42565b60408051828152600060208201526001600160a01b03861691600080516020615bd7833981519152910161395b565b3360009081526074602052604090205460ff1680613cce5750607e5460ff165b613cea5760405162461bcd60e51b81526004016109f7906153e3565b60335460ff1615613d0d5760405162461bcd60e51b81526004016109f79061538d565b613d163361163c565b15613d335760405162461bcd60e51b81526004016109f790615af5565b613d3c336123ac565b15613d7c5760405162461bcd60e51b815260206004820152601060248201526f5354414b45525f49535f5a4f4d42494560801b60448201526064016109f7565b613d84610e3d565b811015613dc65760405162461bcd60e51b815260206004820152601060248201526f4e4f545f454e4f5547485f5354414b4560801b60448201526064016109f7565b610e0c3382614ce8565b6072546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd90606401602060405180830381600087803b158015613e2257600080fd5b505af1158015613e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e5a9190615601565b610e0c5760405162461bcd60e51b815260206004820152600d60248201526c1514905394d1915497d1905253609a1b60448201526064016109f7565b6001600160401b03821660009081526077602090815260408083206001600160a01b038516845290915290205460ff16613ee25760405162461bcd60e51b81526004016109f79061540a565b6001600160401b03821660009081526077602090815260408083206001600160a01b03851684529091528120805460ff19169055613f1f83612d85565b600381018054919250600160c01b9091046001600160401b0316906018613f4583615b1d565b91906101000a8154816001600160401b0302191690836001600160401b031602179055505060006001600160401b0316836001600160401b03161115610aa2576003810154613f9c906001600160401b0316612d85565b60040180546001600160401b0316906000613fb683615b1d565b91906101000a8154816001600160401b0302191690836001600160401b0316021790555050505050565b607a8054613ff090600190615444565b8154811061400057614000615623565b90600052602060002001607a828154811061401d5761401d615623565b600091825260209091208254910180546001600160a01b039092166001600160a01b031983168117825592546001600160e01b0319909216909217600160a01b918290046001600160401b0316909102179055607a80548061408157614081615b40565b600082815260209020810160001990810180546001600160e01b031916905501905550565b80607a83815481106140ba576140ba615623565b9060005260206000200160000160146101000a8154816001600160401b0302191690836001600160401b031602179055505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b60007f2b1dbce74324248c222f0ec2d5ed7bd323cfc425b336f0253c5ccfda7265546d614113565b3360009081526074602052604090205460ff168061416a5750607e5460ff165b6141865760405162461bcd60e51b81526004016109f7906153e3565b60335460ff16156141a95760405162461bcd60e51b81526004016109f79061538d565b6141b282612df0565b61299f82825b6001600160a01b0382166000908152607960205260408120805490916141de84836155e9565b80845560408051848152602081018390529192506001600160a01b03871691600080516020615bd7833981519152910160405180910390a25050505050565b6001600160a01b0382166000908152607b60205260408120549061424183836155e9565b6001600160a01b0385166000908152607b60205260408120829055607c805492935085929091906142739084906155e9565b909155505060408051838152602081018390526001600160a01b038616917fa740af14c56e4e04a617b1de1eb20de73270decbaaead14f142aabf3038e5ae2910161395b565b6001600160a01b03808216600081815260796020908152604080832081518083019092529381526001808501546001600160401b03600160401b9091048116938301938452607a8054928301815590945290517ff0440771a29e57e18c66727944770b82cc77924aef333c927ce6bdd2cdb3ae0390910180549251909316600160a01b026001600160e01b03199092169416939093179290921790915561299f82614b42565b6001600160401b03821660009081526077602090815260408083206001600160a01b038516845290915290205460ff16156143ac5760405162461bcd60e51b81526004016109f790615af5565b6001600160401b03821660009081526077602090815260408083206001600160a01b03851684529091528120805460ff191660011790556143ec83612d85565b6003810154909150600160401b90046001600160401b03166144205760405162461bcd60e51b81526004016109f79061566f565b6003810154600160c01b90046001600160401b03166144408160016156f5565b6003830180546001600160c01b0316600160c01b6001600160401b039384160217905584161561118d576003820154600090614484906001600160401b0316612d85565b6004810180549192506001600160401b039091169060006144a483615865565b91906101000a8154816001600160401b0302191690836001600160401b0316021790555050816001600160401b031660001415612c7457606554612c74906144f5906001600160401b0316436156f5565b60038301805467ffffffffffffffff60801b1916600160801b6001600160401b0390931692909202919091179055565b600061453e6145393685900385018561559c565b614993565b8261454f60a0860160808701615480565b60405160200161456193929190615b56565b60405160208183030381529060405280519060200120905092915050565b60208101516000906001613185565b6000614598614f0f565b825160200151819060038111156145b1576145b161545b565b908160038111156145c4576145c461545b565b9052506020838101518101519082019060038111156145e5576145e561545b565b908160038111156145f8576145f861545b565b905250614603614f2d565b8351518152602080850151519082015260408401516146259083908390613a57565b949350505050565b6000808661463c57600061463f565b60015b6040516001600160f81b031960f883901b1660208201526021810188905260418101879052606181018690526081810185905290915060a1016040516020818303038152906040528051906020012091505095945050505050565b60006124f96146b0836020015160000151614e43565b6020840151516146bf90614e4e565b614977565b6146cc614e5a565b6146d4614e5a565b96875250602086019490945260408501929092526001600160401b0390811660608501529081166080840181905260a0840152431661014083015261016082015290565b6004820154600160401b90046001600160401b03166147595760048201805467ffffffffffffffff60401b1916600160401b436001600160401b0316021790555b600490910180546001600160401b03909216600160801b0267ffffffffffffffff60801b19909216919091179055565b60758054600160801b90046001600160401b03169060106147a983615865565b825461010092830a6001600160401b03818102199092169282160291909117909255607554600160801b908190048316600090815260766020908152604091829020875181559087015160018201559086015160028201556060860151600382018054608089015160a08a015160c08b01519489166001600160801b031993841617600160401b928a168302176001600160801b03908116918a1688026001600160c01b0390811692909217600160c01b968b1687021790945560e08b0151600487018054998d01516101208e01516101408f0151938d169b9096169a909a17998b16909302989098179093169188169095029091161793909416909302919091179055610160830151600590910155507f000000000000000000000000000000000000000000000000000000000000000015610e0c5760646001600160a01b031663a3b1b31d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561491a57600080fd5b505afa15801561492e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614952919061584c565b607554600160801b90046001600160401b03166000908152607f602052604090205550565b6040805160208101849052908101829052600090606001614561565b8051805160209182015192820151805190830151604080516c23b637b130b61039ba30ba329d60991b81870152602d810194909452604d8401959095526001600160c01b031960c092831b8116606d850152911b1660758201528251808203605d018152607d909101909252815191012090565b60006001836003811115614a1d57614a1d61545b565b1415614a63576040516b213637b1b59039ba30ba329d60a11b6020820152602c8101839052604c015b6040516020818303038152906040528051906020012090506124f9565b6002836003811115614a7757614a7761545b565b1415614aad5760405174213637b1b59039ba30ba32961032b93937b932b21d60591b602082015260358101839052605501614a46565b6003836003811115614ac157614ac161545b565b1415614af05760405174213637b1b59039ba30ba3296103a37b7903330b91d60591b6020820152603501614a46565b60405162461bcd60e51b815260206004820152601060248201526f4241445f424c4f434b5f53544154555360801b60448201526064016109f7565b6000838383604051602001613b2093929190615b94565b6001600160a01b03811660009081526079602052604090206001810154600160c01b900460ff16614b855760405162461bcd60e51b81526004016109f79061540a565b600180820154607880546001600160401b03909216929091614ba79190615444565b81548110614bb757614bb7615623565b600091825260209091200154607880546001600160a01b03909216916001600160401b038416908110614bec57614bec615623565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080607960006078846001600160401b031681548110614c3b57614c3b615623565b6000918252602080832091909101546001600160a01b031683528201929092526040019020600101805467ffffffffffffffff19166001600160401b03929092169190911790556078805480614c9357614c93615b40565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b03949094168152607990935250506040812090815560010180546001600160c81b0319169055565b6078805460018082019092557f8dc6fb69531d98d70dc0420e638d2dfd04e09e1ec783ede9aac77da9c5a0dac4810180546001600160a01b0319166001600160a01b0386169081179091556040805160a0810182528581526001600160401b038085166020808401918252607580548416858701908152600060608701818152608088018c81528a835260798652898320985189559551978c0180549351915196519888166001600160801b031990941693909317600160401b918816919091021768ffffffffffffffffff60801b1916600160801b9587169590950260ff60c01b191694909417600160c01b9615158702179055805484168352607782528583208784528252858320805460ff191690991790985587546001600160c01b031643909316909302919091179095558151948552840185905291929091600080516020615bd7833981519152910160405180910390a2505050565b805160009081613185565b80516000906001613185565b6040805161018081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081018290526101208101829052610140810182905261016081019190915290565b60405180610100016040528060008152602001614ed9614e5a565b815260006020820152604001614eed614e5a565b8152600060208201819052604082018190526060820181905260809091015290565b60405180604001604052806002906020820280368337509192915050565b60405180604001604052806002905b614f44614f5a565b815260200190600190039081614f3c5790505090565b6040518060400160405280614f6d614f0f565b8152602001614f7a614f0f565b905290565b80356001600160a01b0381168114612a5a57600080fd5b600080600060608486031215614fab57600080fd5b83359250614fbb60208501614f7f565b9150614fc960408501614f7f565b90509250925092565b6001600160401b0381168114610e0c57600080fd5b60008060408385031215614ffa57600080fd5b823561500581614fd2565b946020939093013593505050565b60006020828403121561502557600080fd5b5035919050565b60006020828403121561503e57600080fd5b61251882614f7f565b6000610160828403121561505a57600080fd5b50919050565b60008060006101a0848603121561507657600080fd5b6150808585615047565b956101608501359550610180909401359392505050565b6000602082840312156150a957600080fd5b813561251881614fd2565b600080604083850312156150c757600080fd5b50508035926020909101359150565b80604081018310156124f957600080fd5b600080600080600080600080610280898b03121561510457600080fd5b61510e8a8a6150d6565b975061511d8a60408b016150d6565b965061512c8a60808b016150d6565b95506101c089018a81111561514057600080fd5b60c08a0195503561515081614fd2565b93506101e089013592506151688a6102008b016150d6565b91506151788a6102408b016150d6565b90509295985092959890939650565b60008060006060848603121561519c57600080fd5b8335925060208401356151ae81614fd2565b929592945050506040919091013590565b60006101808201905082518252602083015160208301526040830151604083015260608301516151fa60608401826001600160401b03169052565b50608083015161521560808401826001600160401b03169052565b5060a083015161523060a08401826001600160401b03169052565b5060c083015161524b60c08401826001600160401b03169052565b5060e083015161526660e08401826001600160401b03169052565b50610100838101516001600160401b038116848301525050610120838101516001600160401b038116848301525050610140838101516001600160401b03811684830152505061016092830151919092015290565b600080604083850312156152ce57600080fd5b82356152d981614fd2565b91506152e760208401614f7f565b90509250929050565b60008060006060848603121561530557600080fd5b83359250602084013561531781614fd2565b9150604084013561532781614fd2565b809150509250925092565b6000806000806101c0858703121561534957600080fd5b8435935061535a8660208701615047565b9396939550505050610180820135916101a0013590565b6000806040838503121561538457600080fd5b61500583614f7f565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526012908201527115d2125511531254d517d11254d05093115160721b604082015260600190565b6020808252600d908201526c2727aa2fab20a624a220aa27a960991b604082015260600190565b6020808252600a90820152691393d517d4d51052d15160b21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156154565761545661542e565b500390565b634e487b7160e01b600052602160045260246000fd5b803560048110612a5a57600080fd5b60006020828403121561549257600080fd5b61251882615471565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156154d3576154d361549b565b60405290565b6000608082840312156154eb57600080fd5b6154f36154b1565b905082601f83011261550457600080fd5b61550c6154b1565b80604084018581111561551e57600080fd5b845b81811015615538578035845260209384019301615520565b5081845285605f86011261554b57600080fd5b6155536154b1565b9250829150608085018681111561556957600080fd5b8082101561558e57813561557c81614fd2565b84526020938401939190910190615569565b505060208301525092915050565b6000608082840312156155ae57600080fd5b61251883836154d9565b60006000198214156155cc576155cc61542e565b5060010190565b634e487b7160e01b600052600160045260246000fd5b600082198211156155fc576155fc61542e565b500190565b60006020828403121561561357600080fd5b8151801515811461251857600080fd5b634e487b7160e01b600052603260045260246000fd5b60008160001904831182151516156156535761565361542e565b500290565b6000816156675761566761542e565b506000190190565b6020808252600790820152664e4f5f4e4f444560c81b604082015260600190565b6000825160005b818110156156b15760208186018101518583015201615697565b818111156156c0576000828501525b509190910192915050565b634e487b7160e01b600052601260045260246000fd5b6000826156f0576156f06156cb565b500490565b60006001600160401b038083168185168083038211156157175761571761542e565b01949350505050565b60006001600160401b03838116908316818110156157405761574061542e565b039392505050565b600181815b808511156157835781600019048211156157695761576961542e565b8085161561577657918102915b93841c939080029061574d565b509250929050565b60008261579a575060016124f9565b816157a7575060006124f9565b81600181146157bd57600281146157c7576157e3565b60019150506124f9565b60ff8411156157d8576157d861542e565b50506001821b6124f9565b5060208310610133831016604e8410600b8410161715615806575081810a6124f9565b6158108383615748565b80600019048211156158245761582461542e565b029392505050565b6000612518838361578b565b600082615847576158476156cb565b500690565b60006020828403121561585e57600080fd5b5051919050565b60006001600160401b03808316818114156158825761588261542e565b6001019392505050565b600060a0828403121561589e57600080fd5b6158a66154b1565b90506158b283836154d9565b81526158c060808301615471565b602082015292915050565b600061016082840312156158de57600080fd5b604051606081018181106001600160401b03821117156159005761590061549b565b60405261590d848461588c565b815261591c8460a0850161588c565b602082015261014083013561593081614fd2565b60408201529392505050565b604081833760006040838101828152908301915b6002811015612c7457823561596481614fd2565b6001600160401b0316825260209283019290910190600101615950565b6004811061599f57634e487b7160e01b600052602160045260246000fd5b9052565b6159ad828261593c565b6159b960808201615471565b610aa26080840182615981565b8581526101e081016159db60208301876159a3565b6159eb60c0830160a088016159a3565b6101408601356159fa81614fd2565b6001600160401b03166101608301526101808201949094526101a08101929092526101c09091015292915050565b888152610200810160208083018a60005b6002811015615a6457615a5483615a4f84615471565b615981565b9183019190830190600101615a39565b50505050606082018860005b6002811015615a9657615a83838361593c565b6080928301929190910190600101615a70565b5050506001600160401b03969096166101608201526001600160a01b03948516610180820152929093166101a08301526101c08201526101e001529392505050565b600060208284031215615aea57600080fd5b815161251881614fd2565b6020808252600e908201526d1053149150511657d4d51052d15160921b604082015260600190565b60006001600160401b03821680615b3657615b3661542e565b6000190192915050565b634e487b7160e01b600052603160045260246000fd5b838152826020820152600060048310615b7f57634e487b7160e01b600052602160045260246000fd5b5060f89190911b604082015260410192915050565b83815260006020848184015260408301845182860160005b82811015615bc857815184529284019290840190600101615bac565b50919897505050505050505056feebd093d389ab57f3566918d2c379a2b4d9539e8eb95efad9d5e465457833fde6a2646970667358221220820a935c59848a99141a02c7649a40d902a3022ba2e0068d81e8e58d81d8909b64736f6c63430008090033";
1717
-
1718
- type ERC20RollupUserLogicConstructorParams =
1719
- | [signer?: Signer]
1720
- | ConstructorParameters<typeof ContractFactory>;
1721
-
1722
- const isSuperArgs = (
1723
- xs: ERC20RollupUserLogicConstructorParams
1724
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1725
-
1726
- export class ERC20RollupUserLogic__factory extends ContractFactory {
1727
- constructor(...args: ERC20RollupUserLogicConstructorParams) {
1728
- if (isSuperArgs(args)) {
1729
- super(...args);
1730
- } else {
1731
- super(_abi, _bytecode, args[0]);
1732
- }
1733
- }
1734
-
1735
- override deploy(
1736
- overrides?: Overrides & { from?: string | Promise<string> }
1737
- ): Promise<ERC20RollupUserLogic> {
1738
- return super.deploy(overrides || {}) as Promise<ERC20RollupUserLogic>;
1739
- }
1740
- override getDeployTransaction(
1741
- overrides?: Overrides & { from?: string | Promise<string> }
1742
- ): TransactionRequest {
1743
- return super.getDeployTransaction(overrides || {});
1744
- }
1745
- override attach(address: string): ERC20RollupUserLogic {
1746
- return super.attach(address) as ERC20RollupUserLogic;
1747
- }
1748
- override connect(signer: Signer): ERC20RollupUserLogic__factory {
1749
- return super.connect(signer) as ERC20RollupUserLogic__factory;
1750
- }
1751
-
1752
- static readonly bytecode = _bytecode;
1753
- static readonly abi = _abi;
1754
- static createInterface(): ERC20RollupUserLogicInterface {
1755
- return new utils.Interface(_abi) as ERC20RollupUserLogicInterface;
1756
- }
1757
- static connect(
1758
- address: string,
1759
- signerOrProvider: Signer | Provider
1760
- ): ERC20RollupUserLogic {
1761
- return new Contract(
1762
- address,
1763
- _abi,
1764
- signerOrProvider
1765
- ) as ERC20RollupUserLogic;
1766
- }
1767
- }