@across-protocol/contracts 0.1.0 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (387) hide show
  1. package/artifacts/@eth-optimism/contracts/L2/messaging/IL2ERC20Bridge.sol/IL2ERC20Bridge.dbg.json +1 -1
  2. package/artifacts/@eth-optimism/contracts/libraries/bridge/CrossDomainEnabled.sol/CrossDomainEnabled.dbg.json +1 -1
  3. package/artifacts/@eth-optimism/contracts/libraries/bridge/ICrossDomainMessenger.sol/ICrossDomainMessenger.dbg.json +1 -1
  4. package/artifacts/@eth-optimism/contracts/libraries/constants/Lib_PredeployAddresses.sol/Lib_PredeployAddresses.dbg.json +1 -1
  5. package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +1 -1
  6. package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/IAccessControl.dbg.json +1 -1
  7. package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
  8. package/artifacts/@openzeppelin/contracts/security/Pausable.sol/Pausable.dbg.json +1 -1
  9. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  10. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  11. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  12. package/artifacts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
  13. package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
  14. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  15. package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +1 -1
  16. package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +1 -1
  17. package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +1 -1
  18. package/artifacts/@openzeppelin/contracts/utils/math/SafeMath.sol/SafeMath.dbg.json +1 -1
  19. package/artifacts/@openzeppelin/contracts/utils/math/SignedSafeMath.sol/SignedSafeMath.dbg.json +1 -1
  20. package/artifacts/@uma/core/contracts/common/implementation/Lockable.sol/Lockable.dbg.json +1 -1
  21. package/artifacts/@uma/core/contracts/cross-chain-oracle/chain-adapters/Arbitrum_ParentMessenger.sol/Arbitrum_ParentMessenger.dbg.json +1 -1
  22. package/artifacts/@uma/core/contracts/cross-chain-oracle/chain-adapters/ParentMessengerBase.sol/ParentMessengerBase.dbg.json +1 -1
  23. package/artifacts/@uma/core/contracts/cross-chain-oracle/interfaces/ParentMessengerConsumerInterface.sol/ParentMessengerConsumerInterface.dbg.json +1 -1
  24. package/artifacts/@uma/core/contracts/cross-chain-oracle/interfaces/ParentMessengerInterface.sol/ParentMessengerInterface.dbg.json +1 -1
  25. package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/IBridge.dbg.json +1 -1
  26. package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/iArbitrum_Inbox.dbg.json +1 -1
  27. package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Outbox.sol/iArbitrum_Outbox.dbg.json +1 -1
  28. package/artifacts/@uma/core/contracts/insured-bridge/avm/Arbitrum_CrossDomainEnabled.sol/Arbitrum_CrossDomainEnabled.dbg.json +1 -1
  29. package/artifacts/build-info/{8e408b49e0ff2873bc28d45221a7ff71.json → f2b62dec2c0d8560303f22503f4c08c4.json} +34080 -27473
  30. package/artifacts/contracts/common/implementation/AncillaryData.sol/AncillaryData.dbg.json +1 -1
  31. package/artifacts/contracts/common/implementation/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  32. package/artifacts/contracts/common/implementation/Lockable.sol/Lockable.dbg.json +1 -1
  33. package/artifacts/contracts/common/implementation/MultiCaller.sol/MultiCaller.dbg.json +1 -1
  34. package/artifacts/contracts/common/implementation/Testable.sol/Testable.dbg.json +1 -1
  35. package/artifacts/contracts/common/implementation/Timer.sol/Timer.dbg.json +1 -1
  36. package/artifacts/contracts/common/interfaces/AddressWhitelistInterface.sol/AddressWhitelistInterface.dbg.json +1 -1
  37. package/artifacts/contracts/external/avm/AVM_CrossDomainEnabled.sol/AVM_CrossDomainEnabled.dbg.json +1 -1
  38. package/artifacts/contracts/external/avm/interfaces/ArbSys.sol/ArbSys.dbg.json +1 -1
  39. package/artifacts/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/IBridge.dbg.json +1 -1
  40. package/artifacts/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/iArbitrum_Inbox.dbg.json +1 -1
  41. package/artifacts/contracts/external/avm/interfaces/iArbitrum_Outbox.sol/iArbitrum_Outbox.dbg.json +1 -1
  42. package/artifacts/contracts/external/chainbridge/Bridge.sol/Bridge.dbg.json +1 -1
  43. package/artifacts/contracts/external/chainbridge/handlers/GenericHandler.sol/GenericHandler.dbg.json +1 -1
  44. package/artifacts/contracts/external/chainbridge/interfaces/IBridge.sol/IBridge.dbg.json +1 -1
  45. package/artifacts/contracts/external/chainbridge/interfaces/IDepositExecute.sol/IDepositExecute.dbg.json +1 -1
  46. package/artifacts/contracts/external/chainbridge/interfaces/IERCHandler.sol/IERCHandler.dbg.json +1 -1
  47. package/artifacts/contracts/external/chainbridge/interfaces/IGenericHandler.sol/IGenericHandler.dbg.json +1 -1
  48. package/artifacts/contracts/insured-bridge/BridgeAdmin.sol/BridgeAdmin.dbg.json +1 -1
  49. package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/BridgeDepositBox.dbg.json +1 -1
  50. package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/TokenLike.dbg.json +1 -1
  51. package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/WETH9Like.dbg.json +1 -1
  52. package/artifacts/contracts/insured-bridge/RateModelStore.sol/RateModelStore.dbg.json +4 -0
  53. package/artifacts/contracts/insured-bridge/RateModelStore.sol/RateModelStore.json +138 -0
  54. package/artifacts/contracts/insured-bridge/avm/AVM_BridgeDepositBox.sol/AVM_BridgeDepositBox.dbg.json +1 -1
  55. package/artifacts/contracts/insured-bridge/avm/AVM_BridgeDepositBox.sol/StandardBridgeLike.dbg.json +1 -1
  56. package/artifacts/contracts/insured-bridge/avm/Arbitrum_CrossDomainEnabled.sol/Arbitrum_CrossDomainEnabled.dbg.json +1 -1
  57. package/artifacts/contracts/insured-bridge/avm/Arbitrum_Messenger.sol/Arbitrum_Messenger.dbg.json +1 -1
  58. package/artifacts/contracts/insured-bridge/interfaces/BridgeAdminInterface.sol/BridgeAdminInterface.dbg.json +1 -1
  59. package/artifacts/contracts/insured-bridge/interfaces/BridgePoolInterface.sol/BridgePoolInterface.dbg.json +1 -1
  60. package/artifacts/contracts/insured-bridge/interfaces/MessengerInterface.sol/MessengerInterface.dbg.json +1 -1
  61. package/artifacts/contracts/insured-bridge/ovm/OVM_BridgeDepositBox.sol/OVM_BridgeDepositBox.dbg.json +1 -1
  62. package/artifacts/contracts/insured-bridge/ovm/OVM_OETH_BridgeDepositBox.sol/OVM_OETH_BridgeDepositBox.dbg.json +1 -1
  63. package/artifacts/contracts/insured-bridge/ovm/Optimism_Messenger.sol/Optimism_Messenger.dbg.json +1 -1
  64. package/artifacts/contracts/insured-bridge/ovm/Optimism_Wrapper.sol/Optimism_Wrapper.dbg.json +1 -1
  65. package/artifacts/contracts/insured-bridge/ovm/Optimism_Wrapper.sol/WETH9Like.dbg.json +1 -1
  66. package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_BridgeMock.dbg.json +1 -1
  67. package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_InboxMock.dbg.json +1 -1
  68. package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_OutboxMock.dbg.json +1 -1
  69. package/artifacts/contracts/insured-bridge/test/BridgeDepositBoxMock.sol/BridgeDepositBoxMock.dbg.json +1 -1
  70. package/artifacts/contracts/insured-bridge/test/MessengerMock.sol/MessengerMock.dbg.json +1 -1
  71. package/artifacts/contracts/insured-bridge/test/OVM_L1CrossDomainMessengerMock.sol/OVM_L1CrossDomainMessengerMock.dbg.json +1 -1
  72. package/artifacts/contracts/oracle/implementation/Constants.sol/OptimisticOracleConstraints.dbg.json +1 -1
  73. package/artifacts/contracts/oracle/implementation/Constants.sol/OracleInterfaces.dbg.json +1 -1
  74. package/artifacts/contracts/oracle/interfaces/FinderInterface.sol/FinderInterface.dbg.json +1 -1
  75. package/artifacts/contracts/oracle/interfaces/IdentifierWhitelistInterface.sol/IdentifierWhitelistInterface.dbg.json +1 -1
  76. package/artifacts/contracts/oracle/interfaces/OptimisticOracleInterface.sol/OptimisticOracleInterface.dbg.json +1 -1
  77. package/artifacts/contracts/oracle/interfaces/SkinnyOptimisticOracleInterface.sol/SkinnyOptimisticOracleInterface.dbg.json +1 -1
  78. package/artifacts/contracts/oracle/interfaces/StoreInterface.sol/StoreInterface.dbg.json +1 -1
  79. package/build/artfacts.json +342 -0
  80. package/build/artifacts.json +346 -0
  81. package/contract-types/ethers/AVMBridgeDepositBox.d.ts +728 -0
  82. package/contract-types/ethers/AVMCrossDomainEnabled.d.ts +92 -0
  83. package/contract-types/ethers/AccessControl.d.ts +345 -0
  84. package/contract-types/ethers/AddressWhitelistInterface.d.ts +204 -0
  85. package/contract-types/ethers/ArbSys.d.ts +348 -0
  86. package/contract-types/ethers/ArbitrumBridgeMock.d.ts +179 -0
  87. package/contract-types/ethers/ArbitrumCrossDomainEnabled.d.ts +95 -0
  88. package/contract-types/ethers/ArbitrumInboxMock.d.ts +174 -0
  89. package/contract-types/ethers/ArbitrumMessenger.d.ts +292 -0
  90. package/contract-types/ethers/ArbitrumOutboxMock.d.ts +101 -0
  91. package/contract-types/ethers/ArbitrumParentMessenger.d.ts +933 -0
  92. package/contract-types/ethers/Bridge.d.ts +1477 -0
  93. package/contract-types/ethers/BridgeAdmin.d.ts +934 -0
  94. package/contract-types/ethers/BridgeAdminInterface.d.ts +342 -0
  95. package/contract-types/ethers/BridgeDepositBox.d.ts +521 -0
  96. package/contract-types/ethers/BridgeDepositBoxMock.d.ts +697 -0
  97. package/contract-types/ethers/BridgePool.d.ts +2259 -0
  98. package/contract-types/ethers/BridgePoolInterface.d.ts +192 -0
  99. package/contract-types/ethers/BridgePoolProd.d.ts +2259 -0
  100. package/contract-types/ethers/CrossDomainEnabled.d.ts +95 -0
  101. package/contract-types/ethers/ERC165.d.ts +116 -0
  102. package/contract-types/ethers/ERC20.d.ts +411 -0
  103. package/contract-types/ethers/FinderInterface.d.ts +156 -0
  104. package/contract-types/ethers/FxBaseChildTunnel.d.ts +201 -0
  105. package/contract-types/ethers/FxBaseRootTunnel.d.ts +254 -0
  106. package/contract-types/ethers/FxChildMock.d.ts +192 -0
  107. package/contract-types/ethers/FxRootMock.d.ts +179 -0
  108. package/contract-types/ethers/GenericHandler.d.ts +530 -0
  109. package/contract-types/ethers/IAccessControl.d.ts +255 -0
  110. package/contract-types/ethers/IArbitrumInbox.d.ts +174 -0
  111. package/contract-types/ethers/IArbitrumOutbox.d.ts +101 -0
  112. package/contract-types/ethers/IBridge.d.ts +145 -0
  113. package/contract-types/ethers/ICheckpointManager.d.ts +140 -0
  114. package/contract-types/ethers/ICrossDomainMessenger.d.ts +181 -0
  115. package/contract-types/ethers/IDepositExecute.d.ts +173 -0
  116. package/contract-types/ethers/IERC165.d.ts +116 -0
  117. package/contract-types/ethers/IERC20.d.ts +294 -0
  118. package/contract-types/ethers/IERC20Metadata.d.ts +333 -0
  119. package/contract-types/ethers/IERCHandler.d.ts +194 -0
  120. package/contract-types/ethers/IFxMessageProcessor.d.ts +127 -0
  121. package/contract-types/ethers/IFxStateSender.d.ts +122 -0
  122. package/contract-types/ethers/IGenericHandler.d.ts +132 -0
  123. package/contract-types/ethers/IL2ERC20Bridge.d.ts +331 -0
  124. package/contract-types/ethers/IOVMCrossDomainMessenger.d.ts +168 -0
  125. package/contract-types/ethers/IStateReceiver.d.ts +122 -0
  126. package/contract-types/ethers/IStateSender.d.ts +119 -0
  127. package/contract-types/ethers/IdentifierWhitelistInterface.d.ts +185 -0
  128. package/contract-types/ethers/Lockable.d.ts +78 -0
  129. package/contract-types/ethers/MessengerInterface.d.ts +155 -0
  130. package/contract-types/ethers/MessengerMock.d.ts +174 -0
  131. package/contract-types/ethers/MultiCaller.d.ts +111 -0
  132. package/contract-types/ethers/OVMBridgeDepositBox.d.ts +710 -0
  133. package/contract-types/ethers/OVMCrossDomainEnabled.d.ts +95 -0
  134. package/contract-types/ethers/OVML1CrossDomainMessengerMock.d.ts +182 -0
  135. package/contract-types/ethers/OVMOETHBridgeDepositBox.d.ts +742 -0
  136. package/contract-types/ethers/OptimismMessenger.d.ts +255 -0
  137. package/contract-types/ethers/OptimismWrapper.d.ts +266 -0
  138. package/contract-types/ethers/OptimisticOracleConstraints.d.ts +103 -0
  139. package/contract-types/ethers/OptimisticOracleInterface.d.ts +866 -0
  140. package/contract-types/ethers/OracleInterfaces.d.ts +256 -0
  141. package/contract-types/ethers/Ownable.d.ts +169 -0
  142. package/contract-types/ethers/ParentMessengerBase.d.ts +530 -0
  143. package/contract-types/ethers/ParentMessengerConsumerInterface.d.ts +123 -0
  144. package/contract-types/ethers/ParentMessengerInterface.d.ts +136 -0
  145. package/contract-types/ethers/Pausable.d.ts +105 -0
  146. package/contract-types/ethers/RateModelStore.d.ts +275 -0
  147. package/contract-types/ethers/SkinnyOptimisticOracleInterface.d.ts +1241 -0
  148. package/contract-types/ethers/StandardBridgeLike.d.ts +132 -0
  149. package/contract-types/ethers/StateSyncMock.d.ts +132 -0
  150. package/contract-types/ethers/StoreInterface.d.ts +252 -0
  151. package/contract-types/ethers/Testable.d.ts +155 -0
  152. package/contract-types/ethers/Timer.d.ts +136 -0
  153. package/contract-types/ethers/TokenLike.d.ts +108 -0
  154. package/contract-types/ethers/WETH9Like.d.ts +157 -0
  155. package/contract-types/ethers/commons.ts +36 -0
  156. package/contract-types/ethers/factories/AVMBridgeDepositBox__factory.ts +638 -0
  157. package/contract-types/ethers/factories/AVMCrossDomainEnabled__factory.ts +61 -0
  158. package/contract-types/ethers/factories/AccessControl__factory.ts +227 -0
  159. package/contract-types/ethers/factories/AddressWhitelistInterface__factory.ts +88 -0
  160. package/contract-types/ethers/factories/ArbSys__factory.ts +244 -0
  161. package/contract-types/ethers/factories/ArbitrumBridgeMock__factory.ts +107 -0
  162. package/contract-types/ethers/factories/ArbitrumCrossDomainEnabled__factory.ts +43 -0
  163. package/contract-types/ethers/factories/ArbitrumInboxMock__factory.ts +117 -0
  164. package/contract-types/ethers/factories/ArbitrumMessenger__factory.ts +232 -0
  165. package/contract-types/ethers/factories/ArbitrumOutboxMock__factory.ts +63 -0
  166. package/contract-types/ethers/factories/ArbitrumParentMessenger__factory.ts +669 -0
  167. package/contract-types/ethers/factories/BridgeAdminInterface__factory.ts +338 -0
  168. package/contract-types/ethers/factories/BridgeAdmin__factory.ts +726 -0
  169. package/contract-types/ethers/factories/BridgeDepositBoxMock__factory.ts +580 -0
  170. package/contract-types/ethers/factories/BridgeDepositBox__factory.ts +406 -0
  171. package/contract-types/ethers/factories/BridgePoolInterface__factory.ts +78 -0
  172. package/contract-types/ethers/factories/BridgePoolProd__factory.ts +1787 -0
  173. package/contract-types/ethers/factories/BridgePool__factory.ts +1784 -0
  174. package/contract-types/ethers/factories/Bridge__factory.ts +1083 -0
  175. package/contract-types/ethers/factories/CrossDomainEnabled__factory.ts +79 -0
  176. package/contract-types/ethers/factories/ERC165__factory.ts +39 -0
  177. package/contract-types/ethers/factories/ERC20__factory.ts +334 -0
  178. package/contract-types/ethers/factories/FinderInterface__factory.ts +63 -0
  179. package/contract-types/ethers/factories/FxBaseChildTunnel__factory.ts +101 -0
  180. package/contract-types/ethers/factories/FxBaseRootTunnel__factory.ts +123 -0
  181. package/contract-types/ethers/factories/FxChildMock__factory.ts +142 -0
  182. package/contract-types/ethers/factories/FxRootMock__factory.ts +117 -0
  183. package/contract-types/ethers/factories/GenericHandler__factory.ts +384 -0
  184. package/contract-types/ethers/factories/IAccessControl__factory.ts +123 -0
  185. package/contract-types/ethers/factories/IArbitrumInbox__factory.ts +93 -0
  186. package/contract-types/ethers/factories/IArbitrumOutbox__factory.ts +39 -0
  187. package/contract-types/ethers/factories/IBridge__factory.ts +59 -0
  188. package/contract-types/ethers/factories/ICheckpointManager__factory.ts +89 -0
  189. package/contract-types/ethers/factories/ICrossDomainMessenger__factory.ts +129 -0
  190. package/contract-types/ethers/factories/IDepositExecute__factory.ts +77 -0
  191. package/contract-types/ethers/factories/IERC165__factory.ts +42 -0
  192. package/contract-types/ethers/factories/IERC20Metadata__factory.ts +248 -0
  193. package/contract-types/ethers/factories/IERC20__factory.ts +203 -0
  194. package/contract-types/ethers/factories/IERCHandler__factory.ts +77 -0
  195. package/contract-types/ethers/factories/IFxMessageProcessor__factory.ts +49 -0
  196. package/contract-types/ethers/factories/IFxStateSender__factory.ts +44 -0
  197. package/contract-types/ethers/factories/IGenericHandler__factory.ts +54 -0
  198. package/contract-types/ethers/factories/IL2ERC20Bridge__factory.ts +267 -0
  199. package/contract-types/ethers/factories/IOVMCrossDomainMessenger__factory.ts +105 -0
  200. package/contract-types/ethers/factories/IStateReceiver__factory.ts +44 -0
  201. package/contract-types/ethers/factories/IStateSender__factory.ts +41 -0
  202. package/contract-types/ethers/factories/IdentifierWhitelistInterface__factory.ts +75 -0
  203. package/contract-types/ethers/factories/Lockable__factory.ts +52 -0
  204. package/contract-types/ethers/factories/MessengerInterface__factory.ts +69 -0
  205. package/contract-types/ethers/factories/MessengerMock__factory.ts +121 -0
  206. package/contract-types/ethers/factories/MultiCaller__factory.ts +66 -0
  207. package/contract-types/ethers/factories/OVMBridgeDepositBox__factory.ts +598 -0
  208. package/contract-types/ethers/factories/OVMCrossDomainEnabled__factory.ts +83 -0
  209. package/contract-types/ethers/factories/OVML1CrossDomainMessengerMock__factory.ts +155 -0
  210. package/contract-types/ethers/factories/OVMOETHBridgeDepositBox__factory.ts +654 -0
  211. package/contract-types/ethers/factories/OptimismMessenger__factory.ts +174 -0
  212. package/contract-types/ethers/factories/OptimismWrapper__factory.ts +189 -0
  213. package/contract-types/ethers/factories/OptimisticOracleConstraints__factory.ts +69 -0
  214. package/contract-types/ethers/factories/OptimisticOracleInterface__factory.ts +574 -0
  215. package/contract-types/ethers/factories/OracleInterfaces__factory.ts +180 -0
  216. package/contract-types/ethers/factories/Ownable__factory.ts +75 -0
  217. package/contract-types/ethers/factories/ParentMessengerBase__factory.ts +312 -0
  218. package/contract-types/ethers/factories/ParentMessengerConsumerInterface__factory.ts +50 -0
  219. package/contract-types/ethers/factories/ParentMessengerInterface__factory.ts +56 -0
  220. package/contract-types/ethers/factories/Pausable__factory.ts +62 -0
  221. package/contract-types/ethers/factories/RateModelStore__factory.ts +177 -0
  222. package/contract-types/ethers/factories/SkinnyOptimisticOracleInterface__factory.ts +874 -0
  223. package/contract-types/ethers/factories/StandardBridgeLike__factory.ts +60 -0
  224. package/contract-types/ethers/factories/StateSyncMock__factory.ts +90 -0
  225. package/contract-types/ethers/factories/StoreInterface__factory.ts +139 -0
  226. package/contract-types/ethers/factories/Testable__factory.ts +62 -0
  227. package/contract-types/ethers/factories/Timer__factory.ts +75 -0
  228. package/contract-types/ethers/factories/TokenLike__factory.ts +42 -0
  229. package/contract-types/ethers/factories/WETH9Like__factory.ts +67 -0
  230. package/contract-types/ethers/hardhat.d.ts +371 -0
  231. package/contract-types/ethers/index.ts +152 -0
  232. package/contract-types/web3/AVM_BridgeDepositBox.d.ts +269 -0
  233. package/contract-types/web3/AVM_BridgeDepositBox.ts +269 -0
  234. package/contract-types/web3/AVM_CrossDomainEnabled.d.ts +62 -0
  235. package/contract-types/web3/AVM_CrossDomainEnabled.ts +62 -0
  236. package/contract-types/web3/AccessControl.d.ts +127 -0
  237. package/contract-types/web3/AccessControl.ts +127 -0
  238. package/contract-types/web3/AddressWhitelistInterface.d.ts +43 -0
  239. package/contract-types/web3/AddressWhitelistInterface.ts +43 -0
  240. package/contract-types/web3/ArbSys.d.ts +112 -0
  241. package/contract-types/web3/ArbSys.ts +112 -0
  242. package/contract-types/web3/Arbitrum_BridgeMock.d.ts +46 -0
  243. package/contract-types/web3/Arbitrum_BridgeMock.ts +46 -0
  244. package/contract-types/web3/Arbitrum_CrossDomainEnabled.d.ts +37 -0
  245. package/contract-types/web3/Arbitrum_CrossDomainEnabled.ts +37 -0
  246. package/contract-types/web3/Arbitrum_InboxMock.d.ts +48 -0
  247. package/contract-types/web3/Arbitrum_InboxMock.ts +48 -0
  248. package/contract-types/web3/Arbitrum_Messenger.d.ts +106 -0
  249. package/contract-types/web3/Arbitrum_Messenger.ts +106 -0
  250. package/contract-types/web3/Arbitrum_OutboxMock.d.ts +37 -0
  251. package/contract-types/web3/Arbitrum_OutboxMock.ts +37 -0
  252. package/contract-types/web3/Arbitrum_ParentMessenger.d.ts +348 -0
  253. package/contract-types/web3/Arbitrum_ParentMessenger.ts +348 -0
  254. package/contract-types/web3/Bridge.d.ts +401 -0
  255. package/contract-types/web3/Bridge.ts +401 -0
  256. package/contract-types/web3/BridgeAdmin.d.ts +357 -0
  257. package/contract-types/web3/BridgeAdmin.ts +357 -0
  258. package/contract-types/web3/BridgeAdminInterface.d.ts +265 -0
  259. package/contract-types/web3/BridgeAdminInterface.ts +265 -0
  260. package/contract-types/web3/BridgeDepositBox.d.ts +203 -0
  261. package/contract-types/web3/BridgeDepositBox.ts +203 -0
  262. package/contract-types/web3/BridgeDepositBoxMock.d.ts +241 -0
  263. package/contract-types/web3/BridgeDepositBoxMock.ts +241 -0
  264. package/contract-types/web3/BridgePool.d.ts +520 -0
  265. package/contract-types/web3/BridgePool.ts +520 -0
  266. package/contract-types/web3/BridgePoolInterface.d.ts +47 -0
  267. package/contract-types/web3/BridgePoolInterface.ts +47 -0
  268. package/contract-types/web3/BridgePoolProd.d.ts +520 -0
  269. package/contract-types/web3/BridgePoolProd.ts +520 -0
  270. package/contract-types/web3/CrossDomainEnabled.d.ts +37 -0
  271. package/contract-types/web3/CrossDomainEnabled.ts +37 -0
  272. package/contract-types/web3/ERC165.d.ts +39 -0
  273. package/contract-types/web3/ERC165.ts +39 -0
  274. package/contract-types/web3/ERC20.d.ts +105 -0
  275. package/contract-types/web3/ERC20.ts +105 -0
  276. package/contract-types/web3/FinderInterface.d.ts +44 -0
  277. package/contract-types/web3/FinderInterface.ts +44 -0
  278. package/contract-types/web3/FxBaseChildTunnel.d.ts +65 -0
  279. package/contract-types/web3/FxBaseChildTunnel.ts +65 -0
  280. package/contract-types/web3/FxBaseRootTunnel.d.ts +53 -0
  281. package/contract-types/web3/FxBaseRootTunnel.ts +53 -0
  282. package/contract-types/web3/FxChildMock.d.ts +68 -0
  283. package/contract-types/web3/FxChildMock.ts +68 -0
  284. package/contract-types/web3/FxRootMock.d.ts +46 -0
  285. package/contract-types/web3/FxRootMock.ts +46 -0
  286. package/contract-types/web3/GenericHandler.d.ts +94 -0
  287. package/contract-types/web3/GenericHandler.ts +94 -0
  288. package/contract-types/web3/IAccessControl.d.ts +57 -0
  289. package/contract-types/web3/IAccessControl.ts +57 -0
  290. package/contract-types/web3/IBridge.d.ts +43 -0
  291. package/contract-types/web3/IBridge.ts +43 -0
  292. package/contract-types/web3/ICheckpointManager.d.ts +48 -0
  293. package/contract-types/web3/ICheckpointManager.ts +48 -0
  294. package/contract-types/web3/ICrossDomainMessenger.d.ts +103 -0
  295. package/contract-types/web3/ICrossDomainMessenger.ts +103 -0
  296. package/contract-types/web3/IDepositExecute.d.ts +48 -0
  297. package/contract-types/web3/IDepositExecute.ts +48 -0
  298. package/contract-types/web3/IERC165.d.ts +39 -0
  299. package/contract-types/web3/IERC165.ts +39 -0
  300. package/contract-types/web3/IERC20.d.ts +89 -0
  301. package/contract-types/web3/IERC20.ts +89 -0
  302. package/contract-types/web3/IERC20Metadata.d.ts +95 -0
  303. package/contract-types/web3/IERC20Metadata.ts +95 -0
  304. package/contract-types/web3/IERCHandler.d.ts +48 -0
  305. package/contract-types/web3/IERCHandler.ts +48 -0
  306. package/contract-types/web3/IFxMessageProcessor.d.ts +41 -0
  307. package/contract-types/web3/IFxMessageProcessor.ts +41 -0
  308. package/contract-types/web3/IFxStateSender.d.ts +40 -0
  309. package/contract-types/web3/IFxStateSender.ts +40 -0
  310. package/contract-types/web3/IGenericHandler.d.ts +42 -0
  311. package/contract-types/web3/IGenericHandler.ts +42 -0
  312. package/contract-types/web3/IL2ERC20Bridge.d.ts +143 -0
  313. package/contract-types/web3/IL2ERC20Bridge.ts +143 -0
  314. package/contract-types/web3/IStateReceiver.d.ts +40 -0
  315. package/contract-types/web3/IStateReceiver.ts +40 -0
  316. package/contract-types/web3/IStateSender.d.ts +40 -0
  317. package/contract-types/web3/IStateSender.ts +40 -0
  318. package/contract-types/web3/IdentifierWhitelistInterface.d.ts +47 -0
  319. package/contract-types/web3/IdentifierWhitelistInterface.ts +47 -0
  320. package/contract-types/web3/Lockable.d.ts +35 -0
  321. package/contract-types/web3/Lockable.ts +35 -0
  322. package/contract-types/web3/MessengerInterface.d.ts +45 -0
  323. package/contract-types/web3/MessengerInterface.ts +45 -0
  324. package/contract-types/web3/MessengerMock.d.ts +69 -0
  325. package/contract-types/web3/MessengerMock.ts +69 -0
  326. package/contract-types/web3/MultiCaller.d.ts +37 -0
  327. package/contract-types/web3/MultiCaller.ts +37 -0
  328. package/contract-types/web3/OVM_BridgeDepositBox.d.ts +243 -0
  329. package/contract-types/web3/OVM_BridgeDepositBox.ts +243 -0
  330. package/contract-types/web3/OVM_CrossDomainEnabled.d.ts +37 -0
  331. package/contract-types/web3/OVM_CrossDomainEnabled.ts +37 -0
  332. package/contract-types/web3/OVM_L1CrossDomainMessengerMock.d.ts +103 -0
  333. package/contract-types/web3/OVM_L1CrossDomainMessengerMock.ts +103 -0
  334. package/contract-types/web3/OVM_OETH_BridgeDepositBox.d.ts +247 -0
  335. package/contract-types/web3/OVM_OETH_BridgeDepositBox.ts +247 -0
  336. package/contract-types/web3/Optimism_Messenger.d.ts +73 -0
  337. package/contract-types/web3/Optimism_Messenger.ts +73 -0
  338. package/contract-types/web3/Optimism_Wrapper.d.ts +86 -0
  339. package/contract-types/web3/Optimism_Wrapper.ts +86 -0
  340. package/contract-types/web3/OptimisticOracleConstraints.d.ts +37 -0
  341. package/contract-types/web3/OptimisticOracleConstraints.ts +37 -0
  342. package/contract-types/web3/OptimisticOracleInterface.d.ts +151 -0
  343. package/contract-types/web3/OptimisticOracleInterface.ts +151 -0
  344. package/contract-types/web3/OracleInterfaces.d.ts +55 -0
  345. package/contract-types/web3/OracleInterfaces.ts +55 -0
  346. package/contract-types/web3/Ownable.d.ts +61 -0
  347. package/contract-types/web3/Ownable.ts +61 -0
  348. package/contract-types/web3/ParentMessengerBase.d.ts +178 -0
  349. package/contract-types/web3/ParentMessengerBase.ts +178 -0
  350. package/contract-types/web3/ParentMessengerConsumerInterface.d.ts +40 -0
  351. package/contract-types/web3/ParentMessengerConsumerInterface.ts +40 -0
  352. package/contract-types/web3/ParentMessengerInterface.d.ts +41 -0
  353. package/contract-types/web3/ParentMessengerInterface.ts +41 -0
  354. package/contract-types/web3/Pausable.d.ts +58 -0
  355. package/contract-types/web3/Pausable.ts +58 -0
  356. package/contract-types/web3/RateModelStore.d.ts +89 -0
  357. package/contract-types/web3/RateModelStore.ts +89 -0
  358. package/contract-types/web3/SkinnyOptimisticOracleInterface.d.ts +213 -0
  359. package/contract-types/web3/SkinnyOptimisticOracleInterface.ts +213 -0
  360. package/contract-types/web3/StandardBridgeLike.d.ts +42 -0
  361. package/contract-types/web3/StandardBridgeLike.ts +42 -0
  362. package/contract-types/web3/StateSyncMock.d.ts +62 -0
  363. package/contract-types/web3/StateSyncMock.ts +62 -0
  364. package/contract-types/web3/StoreInterface.d.ts +55 -0
  365. package/contract-types/web3/StoreInterface.ts +55 -0
  366. package/contract-types/web3/Testable.d.ts +43 -0
  367. package/contract-types/web3/Testable.ts +43 -0
  368. package/contract-types/web3/Timer.d.ts +41 -0
  369. package/contract-types/web3/Timer.ts +41 -0
  370. package/contract-types/web3/TokenLike.d.ts +37 -0
  371. package/contract-types/web3/TokenLike.ts +37 -0
  372. package/contract-types/web3/WETH9Like.d.ts +44 -0
  373. package/contract-types/web3/WETH9Like.ts +44 -0
  374. package/contract-types/web3/iArbitrum_Inbox.d.ts +48 -0
  375. package/contract-types/web3/iArbitrum_Inbox.ts +48 -0
  376. package/contract-types/web3/iArbitrum_Outbox.d.ts +37 -0
  377. package/contract-types/web3/iArbitrum_Outbox.ts +37 -0
  378. package/contract-types/web3/iOVM_CrossDomainMessenger.d.ts +95 -0
  379. package/contract-types/web3/iOVM_CrossDomainMessenger.ts +95 -0
  380. package/contract-types/web3/types.d.ts +71 -0
  381. package/contract-types/web3/types.ts +73 -0
  382. package/contracts/insured-bridge/RateModelStore.sol +29 -0
  383. package/networks/1.json +47 -0
  384. package/networks/10.json +6 -0
  385. package/networks/288.json +6 -0
  386. package/networks/42161.json +6 -0
  387. package/package.json +12 -5
@@ -0,0 +1,61 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ AVMCrossDomainEnabled,
9
+ AVMCrossDomainEnabledInterface,
10
+ } from "../AVMCrossDomainEnabled";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "from",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "to",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "uint256",
31
+ name: "id",
32
+ type: "uint256",
33
+ },
34
+ {
35
+ indexed: false,
36
+ internalType: "bytes",
37
+ name: "data",
38
+ type: "bytes",
39
+ },
40
+ ],
41
+ name: "SentCrossDomainMessage",
42
+ type: "event",
43
+ },
44
+ ];
45
+
46
+ export class AVMCrossDomainEnabled__factory {
47
+ static readonly abi = _abi;
48
+ static createInterface(): AVMCrossDomainEnabledInterface {
49
+ return new utils.Interface(_abi) as AVMCrossDomainEnabledInterface;
50
+ }
51
+ static connect(
52
+ address: string,
53
+ signerOrProvider: Signer | Provider
54
+ ): AVMCrossDomainEnabled {
55
+ return new Contract(
56
+ address,
57
+ _abi,
58
+ signerOrProvider
59
+ ) as AVMCrossDomainEnabled;
60
+ }
61
+ }
@@ -0,0 +1,227 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { AccessControl, AccessControlInterface } from "../AccessControl";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "bytes32",
16
+ name: "role",
17
+ type: "bytes32",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "bytes32",
22
+ name: "previousAdminRole",
23
+ type: "bytes32",
24
+ },
25
+ {
26
+ indexed: true,
27
+ internalType: "bytes32",
28
+ name: "newAdminRole",
29
+ type: "bytes32",
30
+ },
31
+ ],
32
+ name: "RoleAdminChanged",
33
+ type: "event",
34
+ },
35
+ {
36
+ anonymous: false,
37
+ inputs: [
38
+ {
39
+ indexed: true,
40
+ internalType: "bytes32",
41
+ name: "role",
42
+ type: "bytes32",
43
+ },
44
+ {
45
+ indexed: true,
46
+ internalType: "address",
47
+ name: "account",
48
+ type: "address",
49
+ },
50
+ {
51
+ indexed: true,
52
+ internalType: "address",
53
+ name: "sender",
54
+ type: "address",
55
+ },
56
+ ],
57
+ name: "RoleGranted",
58
+ type: "event",
59
+ },
60
+ {
61
+ anonymous: false,
62
+ inputs: [
63
+ {
64
+ indexed: true,
65
+ internalType: "bytes32",
66
+ name: "role",
67
+ type: "bytes32",
68
+ },
69
+ {
70
+ indexed: true,
71
+ internalType: "address",
72
+ name: "account",
73
+ type: "address",
74
+ },
75
+ {
76
+ indexed: true,
77
+ internalType: "address",
78
+ name: "sender",
79
+ type: "address",
80
+ },
81
+ ],
82
+ name: "RoleRevoked",
83
+ type: "event",
84
+ },
85
+ {
86
+ inputs: [],
87
+ name: "DEFAULT_ADMIN_ROLE",
88
+ outputs: [
89
+ {
90
+ internalType: "bytes32",
91
+ name: "",
92
+ type: "bytes32",
93
+ },
94
+ ],
95
+ stateMutability: "view",
96
+ type: "function",
97
+ },
98
+ {
99
+ inputs: [
100
+ {
101
+ internalType: "bytes32",
102
+ name: "role",
103
+ type: "bytes32",
104
+ },
105
+ ],
106
+ name: "getRoleAdmin",
107
+ outputs: [
108
+ {
109
+ internalType: "bytes32",
110
+ name: "",
111
+ type: "bytes32",
112
+ },
113
+ ],
114
+ stateMutability: "view",
115
+ type: "function",
116
+ },
117
+ {
118
+ inputs: [
119
+ {
120
+ internalType: "bytes32",
121
+ name: "role",
122
+ type: "bytes32",
123
+ },
124
+ {
125
+ internalType: "address",
126
+ name: "account",
127
+ type: "address",
128
+ },
129
+ ],
130
+ name: "grantRole",
131
+ outputs: [],
132
+ stateMutability: "nonpayable",
133
+ type: "function",
134
+ },
135
+ {
136
+ inputs: [
137
+ {
138
+ internalType: "bytes32",
139
+ name: "role",
140
+ type: "bytes32",
141
+ },
142
+ {
143
+ internalType: "address",
144
+ name: "account",
145
+ type: "address",
146
+ },
147
+ ],
148
+ name: "hasRole",
149
+ outputs: [
150
+ {
151
+ internalType: "bool",
152
+ name: "",
153
+ type: "bool",
154
+ },
155
+ ],
156
+ stateMutability: "view",
157
+ type: "function",
158
+ },
159
+ {
160
+ inputs: [
161
+ {
162
+ internalType: "bytes32",
163
+ name: "role",
164
+ type: "bytes32",
165
+ },
166
+ {
167
+ internalType: "address",
168
+ name: "account",
169
+ type: "address",
170
+ },
171
+ ],
172
+ name: "renounceRole",
173
+ outputs: [],
174
+ stateMutability: "nonpayable",
175
+ type: "function",
176
+ },
177
+ {
178
+ inputs: [
179
+ {
180
+ internalType: "bytes32",
181
+ name: "role",
182
+ type: "bytes32",
183
+ },
184
+ {
185
+ internalType: "address",
186
+ name: "account",
187
+ type: "address",
188
+ },
189
+ ],
190
+ name: "revokeRole",
191
+ outputs: [],
192
+ stateMutability: "nonpayable",
193
+ type: "function",
194
+ },
195
+ {
196
+ inputs: [
197
+ {
198
+ internalType: "bytes4",
199
+ name: "interfaceId",
200
+ type: "bytes4",
201
+ },
202
+ ],
203
+ name: "supportsInterface",
204
+ outputs: [
205
+ {
206
+ internalType: "bool",
207
+ name: "",
208
+ type: "bool",
209
+ },
210
+ ],
211
+ stateMutability: "view",
212
+ type: "function",
213
+ },
214
+ ];
215
+
216
+ export class AccessControl__factory {
217
+ static readonly abi = _abi;
218
+ static createInterface(): AccessControlInterface {
219
+ return new utils.Interface(_abi) as AccessControlInterface;
220
+ }
221
+ static connect(
222
+ address: string,
223
+ signerOrProvider: Signer | Provider
224
+ ): AccessControl {
225
+ return new Contract(address, _abi, signerOrProvider) as AccessControl;
226
+ }
227
+ }
@@ -0,0 +1,88 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ AddressWhitelistInterface,
9
+ AddressWhitelistInterfaceInterface,
10
+ } from "../AddressWhitelistInterface";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "newElement",
18
+ type: "address",
19
+ },
20
+ ],
21
+ name: "addToWhitelist",
22
+ outputs: [],
23
+ stateMutability: "nonpayable",
24
+ type: "function",
25
+ },
26
+ {
27
+ inputs: [],
28
+ name: "getWhitelist",
29
+ outputs: [
30
+ {
31
+ internalType: "address[]",
32
+ name: "",
33
+ type: "address[]",
34
+ },
35
+ ],
36
+ stateMutability: "view",
37
+ type: "function",
38
+ },
39
+ {
40
+ inputs: [
41
+ {
42
+ internalType: "address",
43
+ name: "newElement",
44
+ type: "address",
45
+ },
46
+ ],
47
+ name: "isOnWhitelist",
48
+ outputs: [
49
+ {
50
+ internalType: "bool",
51
+ name: "",
52
+ type: "bool",
53
+ },
54
+ ],
55
+ stateMutability: "view",
56
+ type: "function",
57
+ },
58
+ {
59
+ inputs: [
60
+ {
61
+ internalType: "address",
62
+ name: "newElement",
63
+ type: "address",
64
+ },
65
+ ],
66
+ name: "removeFromWhitelist",
67
+ outputs: [],
68
+ stateMutability: "nonpayable",
69
+ type: "function",
70
+ },
71
+ ];
72
+
73
+ export class AddressWhitelistInterface__factory {
74
+ static readonly abi = _abi;
75
+ static createInterface(): AddressWhitelistInterfaceInterface {
76
+ return new utils.Interface(_abi) as AddressWhitelistInterfaceInterface;
77
+ }
78
+ static connect(
79
+ address: string,
80
+ signerOrProvider: Signer | Provider
81
+ ): AddressWhitelistInterface {
82
+ return new Contract(
83
+ address,
84
+ _abi,
85
+ signerOrProvider
86
+ ) as AddressWhitelistInterface;
87
+ }
88
+ }
@@ -0,0 +1,244 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { ArbSys, ArbSysInterface } from "../ArbSys";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "destAddr",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: false,
21
+ internalType: "uint256",
22
+ name: "amount",
23
+ type: "uint256",
24
+ },
25
+ ],
26
+ name: "EthWithdrawal",
27
+ type: "event",
28
+ },
29
+ {
30
+ anonymous: false,
31
+ inputs: [
32
+ {
33
+ indexed: false,
34
+ internalType: "address",
35
+ name: "caller",
36
+ type: "address",
37
+ },
38
+ {
39
+ indexed: true,
40
+ internalType: "address",
41
+ name: "destination",
42
+ type: "address",
43
+ },
44
+ {
45
+ indexed: true,
46
+ internalType: "uint256",
47
+ name: "uniqueId",
48
+ type: "uint256",
49
+ },
50
+ {
51
+ indexed: true,
52
+ internalType: "uint256",
53
+ name: "batchNumber",
54
+ type: "uint256",
55
+ },
56
+ {
57
+ indexed: false,
58
+ internalType: "uint256",
59
+ name: "indexInBatch",
60
+ type: "uint256",
61
+ },
62
+ {
63
+ indexed: false,
64
+ internalType: "uint256",
65
+ name: "arbBlockNum",
66
+ type: "uint256",
67
+ },
68
+ {
69
+ indexed: false,
70
+ internalType: "uint256",
71
+ name: "ethBlockNum",
72
+ type: "uint256",
73
+ },
74
+ {
75
+ indexed: false,
76
+ internalType: "uint256",
77
+ name: "timestamp",
78
+ type: "uint256",
79
+ },
80
+ {
81
+ indexed: false,
82
+ internalType: "uint256",
83
+ name: "callvalue",
84
+ type: "uint256",
85
+ },
86
+ {
87
+ indexed: false,
88
+ internalType: "bytes",
89
+ name: "data",
90
+ type: "bytes",
91
+ },
92
+ ],
93
+ name: "L2ToL1Transaction",
94
+ type: "event",
95
+ },
96
+ {
97
+ inputs: [],
98
+ name: "arbBlockNumber",
99
+ outputs: [
100
+ {
101
+ internalType: "uint256",
102
+ name: "",
103
+ type: "uint256",
104
+ },
105
+ ],
106
+ stateMutability: "view",
107
+ type: "function",
108
+ },
109
+ {
110
+ inputs: [],
111
+ name: "arbChainID",
112
+ outputs: [
113
+ {
114
+ internalType: "uint256",
115
+ name: "",
116
+ type: "uint256",
117
+ },
118
+ ],
119
+ stateMutability: "view",
120
+ type: "function",
121
+ },
122
+ {
123
+ inputs: [],
124
+ name: "arbOSVersion",
125
+ outputs: [
126
+ {
127
+ internalType: "uint256",
128
+ name: "",
129
+ type: "uint256",
130
+ },
131
+ ],
132
+ stateMutability: "pure",
133
+ type: "function",
134
+ },
135
+ {
136
+ inputs: [
137
+ {
138
+ internalType: "address",
139
+ name: "account",
140
+ type: "address",
141
+ },
142
+ {
143
+ internalType: "uint256",
144
+ name: "index",
145
+ type: "uint256",
146
+ },
147
+ ],
148
+ name: "getStorageAt",
149
+ outputs: [
150
+ {
151
+ internalType: "uint256",
152
+ name: "",
153
+ type: "uint256",
154
+ },
155
+ ],
156
+ stateMutability: "view",
157
+ type: "function",
158
+ },
159
+ {
160
+ inputs: [
161
+ {
162
+ internalType: "address",
163
+ name: "account",
164
+ type: "address",
165
+ },
166
+ ],
167
+ name: "getTransactionCount",
168
+ outputs: [
169
+ {
170
+ internalType: "uint256",
171
+ name: "",
172
+ type: "uint256",
173
+ },
174
+ ],
175
+ stateMutability: "view",
176
+ type: "function",
177
+ },
178
+ {
179
+ inputs: [],
180
+ name: "isTopLevelCall",
181
+ outputs: [
182
+ {
183
+ internalType: "bool",
184
+ name: "",
185
+ type: "bool",
186
+ },
187
+ ],
188
+ stateMutability: "view",
189
+ type: "function",
190
+ },
191
+ {
192
+ inputs: [
193
+ {
194
+ internalType: "address",
195
+ name: "destination",
196
+ type: "address",
197
+ },
198
+ {
199
+ internalType: "bytes",
200
+ name: "calldataForL1",
201
+ type: "bytes",
202
+ },
203
+ ],
204
+ name: "sendTxToL1",
205
+ outputs: [
206
+ {
207
+ internalType: "uint256",
208
+ name: "",
209
+ type: "uint256",
210
+ },
211
+ ],
212
+ stateMutability: "payable",
213
+ type: "function",
214
+ },
215
+ {
216
+ inputs: [
217
+ {
218
+ internalType: "address",
219
+ name: "destination",
220
+ type: "address",
221
+ },
222
+ ],
223
+ name: "withdrawEth",
224
+ outputs: [
225
+ {
226
+ internalType: "uint256",
227
+ name: "",
228
+ type: "uint256",
229
+ },
230
+ ],
231
+ stateMutability: "payable",
232
+ type: "function",
233
+ },
234
+ ];
235
+
236
+ export class ArbSys__factory {
237
+ static readonly abi = _abi;
238
+ static createInterface(): ArbSysInterface {
239
+ return new utils.Interface(_abi) as ArbSysInterface;
240
+ }
241
+ static connect(address: string, signerOrProvider: Signer | Provider): ArbSys {
242
+ return new Contract(address, _abi, signerOrProvider) as ArbSys;
243
+ }
244
+ }