@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.
- package/artifacts/@eth-optimism/contracts/L2/messaging/IL2ERC20Bridge.sol/IL2ERC20Bridge.dbg.json +1 -1
- package/artifacts/@eth-optimism/contracts/libraries/bridge/CrossDomainEnabled.sol/CrossDomainEnabled.dbg.json +1 -1
- package/artifacts/@eth-optimism/contracts/libraries/bridge/ICrossDomainMessenger.sol/ICrossDomainMessenger.dbg.json +1 -1
- package/artifacts/@eth-optimism/contracts/libraries/constants/Lib_PredeployAddresses.sol/Lib_PredeployAddresses.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/IAccessControl.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/security/Pausable.sol/Pausable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/SafeMath.sol/SafeMath.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/SignedSafeMath.sol/SignedSafeMath.dbg.json +1 -1
- package/artifacts/@uma/core/contracts/common/implementation/Lockable.sol/Lockable.dbg.json +1 -1
- package/artifacts/@uma/core/contracts/cross-chain-oracle/chain-adapters/Arbitrum_ParentMessenger.sol/Arbitrum_ParentMessenger.dbg.json +1 -1
- package/artifacts/@uma/core/contracts/cross-chain-oracle/chain-adapters/ParentMessengerBase.sol/ParentMessengerBase.dbg.json +1 -1
- package/artifacts/@uma/core/contracts/cross-chain-oracle/interfaces/ParentMessengerConsumerInterface.sol/ParentMessengerConsumerInterface.dbg.json +1 -1
- package/artifacts/@uma/core/contracts/cross-chain-oracle/interfaces/ParentMessengerInterface.sol/ParentMessengerInterface.dbg.json +1 -1
- package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/IBridge.dbg.json +1 -1
- package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/iArbitrum_Inbox.dbg.json +1 -1
- package/artifacts/@uma/core/contracts/external/avm/interfaces/iArbitrum_Outbox.sol/iArbitrum_Outbox.dbg.json +1 -1
- package/artifacts/@uma/core/contracts/insured-bridge/avm/Arbitrum_CrossDomainEnabled.sol/Arbitrum_CrossDomainEnabled.dbg.json +1 -1
- package/artifacts/build-info/{8e408b49e0ff2873bc28d45221a7ff71.json → f2b62dec2c0d8560303f22503f4c08c4.json} +34080 -27473
- package/artifacts/contracts/common/implementation/AncillaryData.sol/AncillaryData.dbg.json +1 -1
- package/artifacts/contracts/common/implementation/FixedPoint.sol/FixedPoint.dbg.json +1 -1
- package/artifacts/contracts/common/implementation/Lockable.sol/Lockable.dbg.json +1 -1
- package/artifacts/contracts/common/implementation/MultiCaller.sol/MultiCaller.dbg.json +1 -1
- package/artifacts/contracts/common/implementation/Testable.sol/Testable.dbg.json +1 -1
- package/artifacts/contracts/common/implementation/Timer.sol/Timer.dbg.json +1 -1
- package/artifacts/contracts/common/interfaces/AddressWhitelistInterface.sol/AddressWhitelistInterface.dbg.json +1 -1
- package/artifacts/contracts/external/avm/AVM_CrossDomainEnabled.sol/AVM_CrossDomainEnabled.dbg.json +1 -1
- package/artifacts/contracts/external/avm/interfaces/ArbSys.sol/ArbSys.dbg.json +1 -1
- package/artifacts/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/IBridge.dbg.json +1 -1
- package/artifacts/contracts/external/avm/interfaces/iArbitrum_Inbox.sol/iArbitrum_Inbox.dbg.json +1 -1
- package/artifacts/contracts/external/avm/interfaces/iArbitrum_Outbox.sol/iArbitrum_Outbox.dbg.json +1 -1
- package/artifacts/contracts/external/chainbridge/Bridge.sol/Bridge.dbg.json +1 -1
- package/artifacts/contracts/external/chainbridge/handlers/GenericHandler.sol/GenericHandler.dbg.json +1 -1
- package/artifacts/contracts/external/chainbridge/interfaces/IBridge.sol/IBridge.dbg.json +1 -1
- package/artifacts/contracts/external/chainbridge/interfaces/IDepositExecute.sol/IDepositExecute.dbg.json +1 -1
- package/artifacts/contracts/external/chainbridge/interfaces/IERCHandler.sol/IERCHandler.dbg.json +1 -1
- package/artifacts/contracts/external/chainbridge/interfaces/IGenericHandler.sol/IGenericHandler.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/BridgeAdmin.sol/BridgeAdmin.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/BridgeDepositBox.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/TokenLike.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/BridgeDepositBox.sol/WETH9Like.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/RateModelStore.sol/RateModelStore.dbg.json +4 -0
- package/artifacts/contracts/insured-bridge/RateModelStore.sol/RateModelStore.json +138 -0
- package/artifacts/contracts/insured-bridge/avm/AVM_BridgeDepositBox.sol/AVM_BridgeDepositBox.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/avm/AVM_BridgeDepositBox.sol/StandardBridgeLike.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/avm/Arbitrum_CrossDomainEnabled.sol/Arbitrum_CrossDomainEnabled.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/avm/Arbitrum_Messenger.sol/Arbitrum_Messenger.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/interfaces/BridgeAdminInterface.sol/BridgeAdminInterface.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/interfaces/BridgePoolInterface.sol/BridgePoolInterface.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/interfaces/MessengerInterface.sol/MessengerInterface.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/ovm/OVM_BridgeDepositBox.sol/OVM_BridgeDepositBox.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/ovm/OVM_OETH_BridgeDepositBox.sol/OVM_OETH_BridgeDepositBox.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/ovm/Optimism_Messenger.sol/Optimism_Messenger.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/ovm/Optimism_Wrapper.sol/Optimism_Wrapper.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/ovm/Optimism_Wrapper.sol/WETH9Like.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_BridgeMock.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_InboxMock.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/test/Arbitrum_InboxMock.sol/Arbitrum_OutboxMock.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/test/BridgeDepositBoxMock.sol/BridgeDepositBoxMock.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/test/MessengerMock.sol/MessengerMock.dbg.json +1 -1
- package/artifacts/contracts/insured-bridge/test/OVM_L1CrossDomainMessengerMock.sol/OVM_L1CrossDomainMessengerMock.dbg.json +1 -1
- package/artifacts/contracts/oracle/implementation/Constants.sol/OptimisticOracleConstraints.dbg.json +1 -1
- package/artifacts/contracts/oracle/implementation/Constants.sol/OracleInterfaces.dbg.json +1 -1
- package/artifacts/contracts/oracle/interfaces/FinderInterface.sol/FinderInterface.dbg.json +1 -1
- package/artifacts/contracts/oracle/interfaces/IdentifierWhitelistInterface.sol/IdentifierWhitelistInterface.dbg.json +1 -1
- package/artifacts/contracts/oracle/interfaces/OptimisticOracleInterface.sol/OptimisticOracleInterface.dbg.json +1 -1
- package/artifacts/contracts/oracle/interfaces/SkinnyOptimisticOracleInterface.sol/SkinnyOptimisticOracleInterface.dbg.json +1 -1
- package/artifacts/contracts/oracle/interfaces/StoreInterface.sol/StoreInterface.dbg.json +1 -1
- package/build/artfacts.json +342 -0
- package/build/artifacts.json +346 -0
- package/contract-types/ethers/AVMBridgeDepositBox.d.ts +728 -0
- package/contract-types/ethers/AVMCrossDomainEnabled.d.ts +92 -0
- package/contract-types/ethers/AccessControl.d.ts +345 -0
- package/contract-types/ethers/AddressWhitelistInterface.d.ts +204 -0
- package/contract-types/ethers/ArbSys.d.ts +348 -0
- package/contract-types/ethers/ArbitrumBridgeMock.d.ts +179 -0
- package/contract-types/ethers/ArbitrumCrossDomainEnabled.d.ts +95 -0
- package/contract-types/ethers/ArbitrumInboxMock.d.ts +174 -0
- package/contract-types/ethers/ArbitrumMessenger.d.ts +292 -0
- package/contract-types/ethers/ArbitrumOutboxMock.d.ts +101 -0
- package/contract-types/ethers/ArbitrumParentMessenger.d.ts +933 -0
- package/contract-types/ethers/Bridge.d.ts +1477 -0
- package/contract-types/ethers/BridgeAdmin.d.ts +934 -0
- package/contract-types/ethers/BridgeAdminInterface.d.ts +342 -0
- package/contract-types/ethers/BridgeDepositBox.d.ts +521 -0
- package/contract-types/ethers/BridgeDepositBoxMock.d.ts +697 -0
- package/contract-types/ethers/BridgePool.d.ts +2259 -0
- package/contract-types/ethers/BridgePoolInterface.d.ts +192 -0
- package/contract-types/ethers/BridgePoolProd.d.ts +2259 -0
- package/contract-types/ethers/CrossDomainEnabled.d.ts +95 -0
- package/contract-types/ethers/ERC165.d.ts +116 -0
- package/contract-types/ethers/ERC20.d.ts +411 -0
- package/contract-types/ethers/FinderInterface.d.ts +156 -0
- package/contract-types/ethers/FxBaseChildTunnel.d.ts +201 -0
- package/contract-types/ethers/FxBaseRootTunnel.d.ts +254 -0
- package/contract-types/ethers/FxChildMock.d.ts +192 -0
- package/contract-types/ethers/FxRootMock.d.ts +179 -0
- package/contract-types/ethers/GenericHandler.d.ts +530 -0
- package/contract-types/ethers/IAccessControl.d.ts +255 -0
- package/contract-types/ethers/IArbitrumInbox.d.ts +174 -0
- package/contract-types/ethers/IArbitrumOutbox.d.ts +101 -0
- package/contract-types/ethers/IBridge.d.ts +145 -0
- package/contract-types/ethers/ICheckpointManager.d.ts +140 -0
- package/contract-types/ethers/ICrossDomainMessenger.d.ts +181 -0
- package/contract-types/ethers/IDepositExecute.d.ts +173 -0
- package/contract-types/ethers/IERC165.d.ts +116 -0
- package/contract-types/ethers/IERC20.d.ts +294 -0
- package/contract-types/ethers/IERC20Metadata.d.ts +333 -0
- package/contract-types/ethers/IERCHandler.d.ts +194 -0
- package/contract-types/ethers/IFxMessageProcessor.d.ts +127 -0
- package/contract-types/ethers/IFxStateSender.d.ts +122 -0
- package/contract-types/ethers/IGenericHandler.d.ts +132 -0
- package/contract-types/ethers/IL2ERC20Bridge.d.ts +331 -0
- package/contract-types/ethers/IOVMCrossDomainMessenger.d.ts +168 -0
- package/contract-types/ethers/IStateReceiver.d.ts +122 -0
- package/contract-types/ethers/IStateSender.d.ts +119 -0
- package/contract-types/ethers/IdentifierWhitelistInterface.d.ts +185 -0
- package/contract-types/ethers/Lockable.d.ts +78 -0
- package/contract-types/ethers/MessengerInterface.d.ts +155 -0
- package/contract-types/ethers/MessengerMock.d.ts +174 -0
- package/contract-types/ethers/MultiCaller.d.ts +111 -0
- package/contract-types/ethers/OVMBridgeDepositBox.d.ts +710 -0
- package/contract-types/ethers/OVMCrossDomainEnabled.d.ts +95 -0
- package/contract-types/ethers/OVML1CrossDomainMessengerMock.d.ts +182 -0
- package/contract-types/ethers/OVMOETHBridgeDepositBox.d.ts +742 -0
- package/contract-types/ethers/OptimismMessenger.d.ts +255 -0
- package/contract-types/ethers/OptimismWrapper.d.ts +266 -0
- package/contract-types/ethers/OptimisticOracleConstraints.d.ts +103 -0
- package/contract-types/ethers/OptimisticOracleInterface.d.ts +866 -0
- package/contract-types/ethers/OracleInterfaces.d.ts +256 -0
- package/contract-types/ethers/Ownable.d.ts +169 -0
- package/contract-types/ethers/ParentMessengerBase.d.ts +530 -0
- package/contract-types/ethers/ParentMessengerConsumerInterface.d.ts +123 -0
- package/contract-types/ethers/ParentMessengerInterface.d.ts +136 -0
- package/contract-types/ethers/Pausable.d.ts +105 -0
- package/contract-types/ethers/RateModelStore.d.ts +275 -0
- package/contract-types/ethers/SkinnyOptimisticOracleInterface.d.ts +1241 -0
- package/contract-types/ethers/StandardBridgeLike.d.ts +132 -0
- package/contract-types/ethers/StateSyncMock.d.ts +132 -0
- package/contract-types/ethers/StoreInterface.d.ts +252 -0
- package/contract-types/ethers/Testable.d.ts +155 -0
- package/contract-types/ethers/Timer.d.ts +136 -0
- package/contract-types/ethers/TokenLike.d.ts +108 -0
- package/contract-types/ethers/WETH9Like.d.ts +157 -0
- package/contract-types/ethers/commons.ts +36 -0
- package/contract-types/ethers/factories/AVMBridgeDepositBox__factory.ts +638 -0
- package/contract-types/ethers/factories/AVMCrossDomainEnabled__factory.ts +61 -0
- package/contract-types/ethers/factories/AccessControl__factory.ts +227 -0
- package/contract-types/ethers/factories/AddressWhitelistInterface__factory.ts +88 -0
- package/contract-types/ethers/factories/ArbSys__factory.ts +244 -0
- package/contract-types/ethers/factories/ArbitrumBridgeMock__factory.ts +107 -0
- package/contract-types/ethers/factories/ArbitrumCrossDomainEnabled__factory.ts +43 -0
- package/contract-types/ethers/factories/ArbitrumInboxMock__factory.ts +117 -0
- package/contract-types/ethers/factories/ArbitrumMessenger__factory.ts +232 -0
- package/contract-types/ethers/factories/ArbitrumOutboxMock__factory.ts +63 -0
- package/contract-types/ethers/factories/ArbitrumParentMessenger__factory.ts +669 -0
- package/contract-types/ethers/factories/BridgeAdminInterface__factory.ts +338 -0
- package/contract-types/ethers/factories/BridgeAdmin__factory.ts +726 -0
- package/contract-types/ethers/factories/BridgeDepositBoxMock__factory.ts +580 -0
- package/contract-types/ethers/factories/BridgeDepositBox__factory.ts +406 -0
- package/contract-types/ethers/factories/BridgePoolInterface__factory.ts +78 -0
- package/contract-types/ethers/factories/BridgePoolProd__factory.ts +1787 -0
- package/contract-types/ethers/factories/BridgePool__factory.ts +1784 -0
- package/contract-types/ethers/factories/Bridge__factory.ts +1083 -0
- package/contract-types/ethers/factories/CrossDomainEnabled__factory.ts +79 -0
- package/contract-types/ethers/factories/ERC165__factory.ts +39 -0
- package/contract-types/ethers/factories/ERC20__factory.ts +334 -0
- package/contract-types/ethers/factories/FinderInterface__factory.ts +63 -0
- package/contract-types/ethers/factories/FxBaseChildTunnel__factory.ts +101 -0
- package/contract-types/ethers/factories/FxBaseRootTunnel__factory.ts +123 -0
- package/contract-types/ethers/factories/FxChildMock__factory.ts +142 -0
- package/contract-types/ethers/factories/FxRootMock__factory.ts +117 -0
- package/contract-types/ethers/factories/GenericHandler__factory.ts +384 -0
- package/contract-types/ethers/factories/IAccessControl__factory.ts +123 -0
- package/contract-types/ethers/factories/IArbitrumInbox__factory.ts +93 -0
- package/contract-types/ethers/factories/IArbitrumOutbox__factory.ts +39 -0
- package/contract-types/ethers/factories/IBridge__factory.ts +59 -0
- package/contract-types/ethers/factories/ICheckpointManager__factory.ts +89 -0
- package/contract-types/ethers/factories/ICrossDomainMessenger__factory.ts +129 -0
- package/contract-types/ethers/factories/IDepositExecute__factory.ts +77 -0
- package/contract-types/ethers/factories/IERC165__factory.ts +42 -0
- package/contract-types/ethers/factories/IERC20Metadata__factory.ts +248 -0
- package/contract-types/ethers/factories/IERC20__factory.ts +203 -0
- package/contract-types/ethers/factories/IERCHandler__factory.ts +77 -0
- package/contract-types/ethers/factories/IFxMessageProcessor__factory.ts +49 -0
- package/contract-types/ethers/factories/IFxStateSender__factory.ts +44 -0
- package/contract-types/ethers/factories/IGenericHandler__factory.ts +54 -0
- package/contract-types/ethers/factories/IL2ERC20Bridge__factory.ts +267 -0
- package/contract-types/ethers/factories/IOVMCrossDomainMessenger__factory.ts +105 -0
- package/contract-types/ethers/factories/IStateReceiver__factory.ts +44 -0
- package/contract-types/ethers/factories/IStateSender__factory.ts +41 -0
- package/contract-types/ethers/factories/IdentifierWhitelistInterface__factory.ts +75 -0
- package/contract-types/ethers/factories/Lockable__factory.ts +52 -0
- package/contract-types/ethers/factories/MessengerInterface__factory.ts +69 -0
- package/contract-types/ethers/factories/MessengerMock__factory.ts +121 -0
- package/contract-types/ethers/factories/MultiCaller__factory.ts +66 -0
- package/contract-types/ethers/factories/OVMBridgeDepositBox__factory.ts +598 -0
- package/contract-types/ethers/factories/OVMCrossDomainEnabled__factory.ts +83 -0
- package/contract-types/ethers/factories/OVML1CrossDomainMessengerMock__factory.ts +155 -0
- package/contract-types/ethers/factories/OVMOETHBridgeDepositBox__factory.ts +654 -0
- package/contract-types/ethers/factories/OptimismMessenger__factory.ts +174 -0
- package/contract-types/ethers/factories/OptimismWrapper__factory.ts +189 -0
- package/contract-types/ethers/factories/OptimisticOracleConstraints__factory.ts +69 -0
- package/contract-types/ethers/factories/OptimisticOracleInterface__factory.ts +574 -0
- package/contract-types/ethers/factories/OracleInterfaces__factory.ts +180 -0
- package/contract-types/ethers/factories/Ownable__factory.ts +75 -0
- package/contract-types/ethers/factories/ParentMessengerBase__factory.ts +312 -0
- package/contract-types/ethers/factories/ParentMessengerConsumerInterface__factory.ts +50 -0
- package/contract-types/ethers/factories/ParentMessengerInterface__factory.ts +56 -0
- package/contract-types/ethers/factories/Pausable__factory.ts +62 -0
- package/contract-types/ethers/factories/RateModelStore__factory.ts +177 -0
- package/contract-types/ethers/factories/SkinnyOptimisticOracleInterface__factory.ts +874 -0
- package/contract-types/ethers/factories/StandardBridgeLike__factory.ts +60 -0
- package/contract-types/ethers/factories/StateSyncMock__factory.ts +90 -0
- package/contract-types/ethers/factories/StoreInterface__factory.ts +139 -0
- package/contract-types/ethers/factories/Testable__factory.ts +62 -0
- package/contract-types/ethers/factories/Timer__factory.ts +75 -0
- package/contract-types/ethers/factories/TokenLike__factory.ts +42 -0
- package/contract-types/ethers/factories/WETH9Like__factory.ts +67 -0
- package/contract-types/ethers/hardhat.d.ts +371 -0
- package/contract-types/ethers/index.ts +152 -0
- package/contract-types/web3/AVM_BridgeDepositBox.d.ts +269 -0
- package/contract-types/web3/AVM_BridgeDepositBox.ts +269 -0
- package/contract-types/web3/AVM_CrossDomainEnabled.d.ts +62 -0
- package/contract-types/web3/AVM_CrossDomainEnabled.ts +62 -0
- package/contract-types/web3/AccessControl.d.ts +127 -0
- package/contract-types/web3/AccessControl.ts +127 -0
- package/contract-types/web3/AddressWhitelistInterface.d.ts +43 -0
- package/contract-types/web3/AddressWhitelistInterface.ts +43 -0
- package/contract-types/web3/ArbSys.d.ts +112 -0
- package/contract-types/web3/ArbSys.ts +112 -0
- package/contract-types/web3/Arbitrum_BridgeMock.d.ts +46 -0
- package/contract-types/web3/Arbitrum_BridgeMock.ts +46 -0
- package/contract-types/web3/Arbitrum_CrossDomainEnabled.d.ts +37 -0
- package/contract-types/web3/Arbitrum_CrossDomainEnabled.ts +37 -0
- package/contract-types/web3/Arbitrum_InboxMock.d.ts +48 -0
- package/contract-types/web3/Arbitrum_InboxMock.ts +48 -0
- package/contract-types/web3/Arbitrum_Messenger.d.ts +106 -0
- package/contract-types/web3/Arbitrum_Messenger.ts +106 -0
- package/contract-types/web3/Arbitrum_OutboxMock.d.ts +37 -0
- package/contract-types/web3/Arbitrum_OutboxMock.ts +37 -0
- package/contract-types/web3/Arbitrum_ParentMessenger.d.ts +348 -0
- package/contract-types/web3/Arbitrum_ParentMessenger.ts +348 -0
- package/contract-types/web3/Bridge.d.ts +401 -0
- package/contract-types/web3/Bridge.ts +401 -0
- package/contract-types/web3/BridgeAdmin.d.ts +357 -0
- package/contract-types/web3/BridgeAdmin.ts +357 -0
- package/contract-types/web3/BridgeAdminInterface.d.ts +265 -0
- package/contract-types/web3/BridgeAdminInterface.ts +265 -0
- package/contract-types/web3/BridgeDepositBox.d.ts +203 -0
- package/contract-types/web3/BridgeDepositBox.ts +203 -0
- package/contract-types/web3/BridgeDepositBoxMock.d.ts +241 -0
- package/contract-types/web3/BridgeDepositBoxMock.ts +241 -0
- package/contract-types/web3/BridgePool.d.ts +520 -0
- package/contract-types/web3/BridgePool.ts +520 -0
- package/contract-types/web3/BridgePoolInterface.d.ts +47 -0
- package/contract-types/web3/BridgePoolInterface.ts +47 -0
- package/contract-types/web3/BridgePoolProd.d.ts +520 -0
- package/contract-types/web3/BridgePoolProd.ts +520 -0
- package/contract-types/web3/CrossDomainEnabled.d.ts +37 -0
- package/contract-types/web3/CrossDomainEnabled.ts +37 -0
- package/contract-types/web3/ERC165.d.ts +39 -0
- package/contract-types/web3/ERC165.ts +39 -0
- package/contract-types/web3/ERC20.d.ts +105 -0
- package/contract-types/web3/ERC20.ts +105 -0
- package/contract-types/web3/FinderInterface.d.ts +44 -0
- package/contract-types/web3/FinderInterface.ts +44 -0
- package/contract-types/web3/FxBaseChildTunnel.d.ts +65 -0
- package/contract-types/web3/FxBaseChildTunnel.ts +65 -0
- package/contract-types/web3/FxBaseRootTunnel.d.ts +53 -0
- package/contract-types/web3/FxBaseRootTunnel.ts +53 -0
- package/contract-types/web3/FxChildMock.d.ts +68 -0
- package/contract-types/web3/FxChildMock.ts +68 -0
- package/contract-types/web3/FxRootMock.d.ts +46 -0
- package/contract-types/web3/FxRootMock.ts +46 -0
- package/contract-types/web3/GenericHandler.d.ts +94 -0
- package/contract-types/web3/GenericHandler.ts +94 -0
- package/contract-types/web3/IAccessControl.d.ts +57 -0
- package/contract-types/web3/IAccessControl.ts +57 -0
- package/contract-types/web3/IBridge.d.ts +43 -0
- package/contract-types/web3/IBridge.ts +43 -0
- package/contract-types/web3/ICheckpointManager.d.ts +48 -0
- package/contract-types/web3/ICheckpointManager.ts +48 -0
- package/contract-types/web3/ICrossDomainMessenger.d.ts +103 -0
- package/contract-types/web3/ICrossDomainMessenger.ts +103 -0
- package/contract-types/web3/IDepositExecute.d.ts +48 -0
- package/contract-types/web3/IDepositExecute.ts +48 -0
- package/contract-types/web3/IERC165.d.ts +39 -0
- package/contract-types/web3/IERC165.ts +39 -0
- package/contract-types/web3/IERC20.d.ts +89 -0
- package/contract-types/web3/IERC20.ts +89 -0
- package/contract-types/web3/IERC20Metadata.d.ts +95 -0
- package/contract-types/web3/IERC20Metadata.ts +95 -0
- package/contract-types/web3/IERCHandler.d.ts +48 -0
- package/contract-types/web3/IERCHandler.ts +48 -0
- package/contract-types/web3/IFxMessageProcessor.d.ts +41 -0
- package/contract-types/web3/IFxMessageProcessor.ts +41 -0
- package/contract-types/web3/IFxStateSender.d.ts +40 -0
- package/contract-types/web3/IFxStateSender.ts +40 -0
- package/contract-types/web3/IGenericHandler.d.ts +42 -0
- package/contract-types/web3/IGenericHandler.ts +42 -0
- package/contract-types/web3/IL2ERC20Bridge.d.ts +143 -0
- package/contract-types/web3/IL2ERC20Bridge.ts +143 -0
- package/contract-types/web3/IStateReceiver.d.ts +40 -0
- package/contract-types/web3/IStateReceiver.ts +40 -0
- package/contract-types/web3/IStateSender.d.ts +40 -0
- package/contract-types/web3/IStateSender.ts +40 -0
- package/contract-types/web3/IdentifierWhitelistInterface.d.ts +47 -0
- package/contract-types/web3/IdentifierWhitelistInterface.ts +47 -0
- package/contract-types/web3/Lockable.d.ts +35 -0
- package/contract-types/web3/Lockable.ts +35 -0
- package/contract-types/web3/MessengerInterface.d.ts +45 -0
- package/contract-types/web3/MessengerInterface.ts +45 -0
- package/contract-types/web3/MessengerMock.d.ts +69 -0
- package/contract-types/web3/MessengerMock.ts +69 -0
- package/contract-types/web3/MultiCaller.d.ts +37 -0
- package/contract-types/web3/MultiCaller.ts +37 -0
- package/contract-types/web3/OVM_BridgeDepositBox.d.ts +243 -0
- package/contract-types/web3/OVM_BridgeDepositBox.ts +243 -0
- package/contract-types/web3/OVM_CrossDomainEnabled.d.ts +37 -0
- package/contract-types/web3/OVM_CrossDomainEnabled.ts +37 -0
- package/contract-types/web3/OVM_L1CrossDomainMessengerMock.d.ts +103 -0
- package/contract-types/web3/OVM_L1CrossDomainMessengerMock.ts +103 -0
- package/contract-types/web3/OVM_OETH_BridgeDepositBox.d.ts +247 -0
- package/contract-types/web3/OVM_OETH_BridgeDepositBox.ts +247 -0
- package/contract-types/web3/Optimism_Messenger.d.ts +73 -0
- package/contract-types/web3/Optimism_Messenger.ts +73 -0
- package/contract-types/web3/Optimism_Wrapper.d.ts +86 -0
- package/contract-types/web3/Optimism_Wrapper.ts +86 -0
- package/contract-types/web3/OptimisticOracleConstraints.d.ts +37 -0
- package/contract-types/web3/OptimisticOracleConstraints.ts +37 -0
- package/contract-types/web3/OptimisticOracleInterface.d.ts +151 -0
- package/contract-types/web3/OptimisticOracleInterface.ts +151 -0
- package/contract-types/web3/OracleInterfaces.d.ts +55 -0
- package/contract-types/web3/OracleInterfaces.ts +55 -0
- package/contract-types/web3/Ownable.d.ts +61 -0
- package/contract-types/web3/Ownable.ts +61 -0
- package/contract-types/web3/ParentMessengerBase.d.ts +178 -0
- package/contract-types/web3/ParentMessengerBase.ts +178 -0
- package/contract-types/web3/ParentMessengerConsumerInterface.d.ts +40 -0
- package/contract-types/web3/ParentMessengerConsumerInterface.ts +40 -0
- package/contract-types/web3/ParentMessengerInterface.d.ts +41 -0
- package/contract-types/web3/ParentMessengerInterface.ts +41 -0
- package/contract-types/web3/Pausable.d.ts +58 -0
- package/contract-types/web3/Pausable.ts +58 -0
- package/contract-types/web3/RateModelStore.d.ts +89 -0
- package/contract-types/web3/RateModelStore.ts +89 -0
- package/contract-types/web3/SkinnyOptimisticOracleInterface.d.ts +213 -0
- package/contract-types/web3/SkinnyOptimisticOracleInterface.ts +213 -0
- package/contract-types/web3/StandardBridgeLike.d.ts +42 -0
- package/contract-types/web3/StandardBridgeLike.ts +42 -0
- package/contract-types/web3/StateSyncMock.d.ts +62 -0
- package/contract-types/web3/StateSyncMock.ts +62 -0
- package/contract-types/web3/StoreInterface.d.ts +55 -0
- package/contract-types/web3/StoreInterface.ts +55 -0
- package/contract-types/web3/Testable.d.ts +43 -0
- package/contract-types/web3/Testable.ts +43 -0
- package/contract-types/web3/Timer.d.ts +41 -0
- package/contract-types/web3/Timer.ts +41 -0
- package/contract-types/web3/TokenLike.d.ts +37 -0
- package/contract-types/web3/TokenLike.ts +37 -0
- package/contract-types/web3/WETH9Like.d.ts +44 -0
- package/contract-types/web3/WETH9Like.ts +44 -0
- package/contract-types/web3/iArbitrum_Inbox.d.ts +48 -0
- package/contract-types/web3/iArbitrum_Inbox.ts +48 -0
- package/contract-types/web3/iArbitrum_Outbox.d.ts +37 -0
- package/contract-types/web3/iArbitrum_Outbox.ts +37 -0
- package/contract-types/web3/iOVM_CrossDomainMessenger.d.ts +95 -0
- package/contract-types/web3/iOVM_CrossDomainMessenger.ts +95 -0
- package/contract-types/web3/types.d.ts +71 -0
- package/contract-types/web3/types.ts +73 -0
- package/contracts/insured-bridge/RateModelStore.sol +29 -0
- package/networks/1.json +47 -0
- package/networks/10.json +6 -0
- package/networks/288.json +6 -0
- package/networks/42161.json +6 -0
- package/package.json +12 -5
|
@@ -0,0 +1,654 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
Signer,
|
|
7
|
+
utils,
|
|
8
|
+
BigNumberish,
|
|
9
|
+
Contract,
|
|
10
|
+
ContractFactory,
|
|
11
|
+
Overrides,
|
|
12
|
+
} from "ethers";
|
|
13
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
14
|
+
import type {
|
|
15
|
+
OVMOETHBridgeDepositBox,
|
|
16
|
+
OVMOETHBridgeDepositBoxInterface,
|
|
17
|
+
} from "../OVMOETHBridgeDepositBox";
|
|
18
|
+
|
|
19
|
+
const _abi = [
|
|
20
|
+
{
|
|
21
|
+
inputs: [
|
|
22
|
+
{
|
|
23
|
+
internalType: "address",
|
|
24
|
+
name: "_crossDomainAdmin",
|
|
25
|
+
type: "address",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
internalType: "uint64",
|
|
29
|
+
name: "_minimumBridgingDelay",
|
|
30
|
+
type: "uint64",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
internalType: "uint256",
|
|
34
|
+
name: "_chainId",
|
|
35
|
+
type: "uint256",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
internalType: "address",
|
|
39
|
+
name: "_l1Weth",
|
|
40
|
+
type: "address",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
internalType: "address",
|
|
44
|
+
name: "_l2Eth",
|
|
45
|
+
type: "address",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
internalType: "address",
|
|
49
|
+
name: "_l1EthWrapper",
|
|
50
|
+
type: "address",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
internalType: "address",
|
|
54
|
+
name: "timerAddress",
|
|
55
|
+
type: "address",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
stateMutability: "nonpayable",
|
|
59
|
+
type: "constructor",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
anonymous: false,
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
indexed: false,
|
|
66
|
+
internalType: "address",
|
|
67
|
+
name: "l2Token",
|
|
68
|
+
type: "address",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
indexed: false,
|
|
72
|
+
internalType: "bool",
|
|
73
|
+
name: "depositsEnabled",
|
|
74
|
+
type: "bool",
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
name: "DepositsEnabled",
|
|
78
|
+
type: "event",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
anonymous: false,
|
|
82
|
+
inputs: [
|
|
83
|
+
{
|
|
84
|
+
indexed: false,
|
|
85
|
+
internalType: "uint256",
|
|
86
|
+
name: "chainId",
|
|
87
|
+
type: "uint256",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
indexed: false,
|
|
91
|
+
internalType: "uint256",
|
|
92
|
+
name: "depositId",
|
|
93
|
+
type: "uint256",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
indexed: false,
|
|
97
|
+
internalType: "address",
|
|
98
|
+
name: "l1Recipient",
|
|
99
|
+
type: "address",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
indexed: false,
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "l2Sender",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
indexed: false,
|
|
109
|
+
internalType: "address",
|
|
110
|
+
name: "l1Token",
|
|
111
|
+
type: "address",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
indexed: false,
|
|
115
|
+
internalType: "address",
|
|
116
|
+
name: "l2Token",
|
|
117
|
+
type: "address",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
indexed: false,
|
|
121
|
+
internalType: "uint256",
|
|
122
|
+
name: "amount",
|
|
123
|
+
type: "uint256",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
indexed: false,
|
|
127
|
+
internalType: "uint64",
|
|
128
|
+
name: "slowRelayFeePct",
|
|
129
|
+
type: "uint64",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
indexed: false,
|
|
133
|
+
internalType: "uint64",
|
|
134
|
+
name: "instantRelayFeePct",
|
|
135
|
+
type: "uint64",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
indexed: false,
|
|
139
|
+
internalType: "uint64",
|
|
140
|
+
name: "quoteTimestamp",
|
|
141
|
+
type: "uint64",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
name: "FundsDeposited",
|
|
145
|
+
type: "event",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
anonymous: false,
|
|
149
|
+
inputs: [
|
|
150
|
+
{
|
|
151
|
+
indexed: false,
|
|
152
|
+
internalType: "uint64",
|
|
153
|
+
name: "newMinimumBridgingDelay",
|
|
154
|
+
type: "uint64",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
name: "SetMinimumBridgingDelay",
|
|
158
|
+
type: "event",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
anonymous: false,
|
|
162
|
+
inputs: [
|
|
163
|
+
{
|
|
164
|
+
indexed: true,
|
|
165
|
+
internalType: "address",
|
|
166
|
+
name: "newAdmin",
|
|
167
|
+
type: "address",
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
name: "SetXDomainAdmin",
|
|
171
|
+
type: "event",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
anonymous: false,
|
|
175
|
+
inputs: [
|
|
176
|
+
{
|
|
177
|
+
indexed: true,
|
|
178
|
+
internalType: "address",
|
|
179
|
+
name: "l2Token",
|
|
180
|
+
type: "address",
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
indexed: false,
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "numberOfTokensBridged",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
indexed: false,
|
|
190
|
+
internalType: "uint256",
|
|
191
|
+
name: "l1Gas",
|
|
192
|
+
type: "uint256",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
indexed: true,
|
|
196
|
+
internalType: "address",
|
|
197
|
+
name: "caller",
|
|
198
|
+
type: "address",
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
name: "TokensBridged",
|
|
202
|
+
type: "event",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
anonymous: false,
|
|
206
|
+
inputs: [
|
|
207
|
+
{
|
|
208
|
+
indexed: false,
|
|
209
|
+
internalType: "address",
|
|
210
|
+
name: "l1Token",
|
|
211
|
+
type: "address",
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
indexed: false,
|
|
215
|
+
internalType: "address",
|
|
216
|
+
name: "l2Token",
|
|
217
|
+
type: "address",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
indexed: false,
|
|
221
|
+
internalType: "uint64",
|
|
222
|
+
name: "lastBridgeTime",
|
|
223
|
+
type: "uint64",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
indexed: false,
|
|
227
|
+
internalType: "address",
|
|
228
|
+
name: "bridgePool",
|
|
229
|
+
type: "address",
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
name: "WhitelistToken",
|
|
233
|
+
type: "event",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
stateMutability: "payable",
|
|
237
|
+
type: "fallback",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
inputs: [
|
|
241
|
+
{
|
|
242
|
+
internalType: "address",
|
|
243
|
+
name: "l2Token",
|
|
244
|
+
type: "address",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
internalType: "uint32",
|
|
248
|
+
name: "l1Gas",
|
|
249
|
+
type: "uint32",
|
|
250
|
+
},
|
|
251
|
+
],
|
|
252
|
+
name: "bridgeTokens",
|
|
253
|
+
outputs: [],
|
|
254
|
+
stateMutability: "nonpayable",
|
|
255
|
+
type: "function",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
inputs: [
|
|
259
|
+
{
|
|
260
|
+
internalType: "address",
|
|
261
|
+
name: "l2Token",
|
|
262
|
+
type: "address",
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
name: "canBridge",
|
|
266
|
+
outputs: [
|
|
267
|
+
{
|
|
268
|
+
internalType: "bool",
|
|
269
|
+
name: "",
|
|
270
|
+
type: "bool",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
stateMutability: "view",
|
|
274
|
+
type: "function",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
inputs: [],
|
|
278
|
+
name: "chainId",
|
|
279
|
+
outputs: [
|
|
280
|
+
{
|
|
281
|
+
internalType: "uint256",
|
|
282
|
+
name: "",
|
|
283
|
+
type: "uint256",
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
stateMutability: "view",
|
|
287
|
+
type: "function",
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
inputs: [],
|
|
291
|
+
name: "crossDomainAdmin",
|
|
292
|
+
outputs: [
|
|
293
|
+
{
|
|
294
|
+
internalType: "address",
|
|
295
|
+
name: "",
|
|
296
|
+
type: "address",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
stateMutability: "view",
|
|
300
|
+
type: "function",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
inputs: [
|
|
304
|
+
{
|
|
305
|
+
internalType: "address",
|
|
306
|
+
name: "l1Recipient",
|
|
307
|
+
type: "address",
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
internalType: "address",
|
|
311
|
+
name: "l2Token",
|
|
312
|
+
type: "address",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
internalType: "uint256",
|
|
316
|
+
name: "amount",
|
|
317
|
+
type: "uint256",
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
internalType: "uint64",
|
|
321
|
+
name: "slowRelayFeePct",
|
|
322
|
+
type: "uint64",
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
internalType: "uint64",
|
|
326
|
+
name: "instantRelayFeePct",
|
|
327
|
+
type: "uint64",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
internalType: "uint64",
|
|
331
|
+
name: "quoteTimestamp",
|
|
332
|
+
type: "uint64",
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
name: "deposit",
|
|
336
|
+
outputs: [],
|
|
337
|
+
stateMutability: "payable",
|
|
338
|
+
type: "function",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
inputs: [],
|
|
342
|
+
name: "getCurrentTime",
|
|
343
|
+
outputs: [
|
|
344
|
+
{
|
|
345
|
+
internalType: "uint256",
|
|
346
|
+
name: "",
|
|
347
|
+
type: "uint256",
|
|
348
|
+
},
|
|
349
|
+
],
|
|
350
|
+
stateMutability: "view",
|
|
351
|
+
type: "function",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
inputs: [
|
|
355
|
+
{
|
|
356
|
+
internalType: "address",
|
|
357
|
+
name: "l2Token",
|
|
358
|
+
type: "address",
|
|
359
|
+
},
|
|
360
|
+
],
|
|
361
|
+
name: "isWhitelistToken",
|
|
362
|
+
outputs: [
|
|
363
|
+
{
|
|
364
|
+
internalType: "bool",
|
|
365
|
+
name: "",
|
|
366
|
+
type: "bool",
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
stateMutability: "view",
|
|
370
|
+
type: "function",
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
inputs: [],
|
|
374
|
+
name: "l1EthWrapper",
|
|
375
|
+
outputs: [
|
|
376
|
+
{
|
|
377
|
+
internalType: "address",
|
|
378
|
+
name: "",
|
|
379
|
+
type: "address",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
stateMutability: "view",
|
|
383
|
+
type: "function",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
inputs: [],
|
|
387
|
+
name: "l1Weth",
|
|
388
|
+
outputs: [
|
|
389
|
+
{
|
|
390
|
+
internalType: "address",
|
|
391
|
+
name: "",
|
|
392
|
+
type: "address",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
stateMutability: "view",
|
|
396
|
+
type: "function",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
inputs: [],
|
|
400
|
+
name: "l2Eth",
|
|
401
|
+
outputs: [
|
|
402
|
+
{
|
|
403
|
+
internalType: "address",
|
|
404
|
+
name: "",
|
|
405
|
+
type: "address",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
stateMutability: "view",
|
|
409
|
+
type: "function",
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
inputs: [],
|
|
413
|
+
name: "messenger",
|
|
414
|
+
outputs: [
|
|
415
|
+
{
|
|
416
|
+
internalType: "address",
|
|
417
|
+
name: "",
|
|
418
|
+
type: "address",
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
stateMutability: "view",
|
|
422
|
+
type: "function",
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
inputs: [],
|
|
426
|
+
name: "minimumBridgingDelay",
|
|
427
|
+
outputs: [
|
|
428
|
+
{
|
|
429
|
+
internalType: "uint64",
|
|
430
|
+
name: "",
|
|
431
|
+
type: "uint64",
|
|
432
|
+
},
|
|
433
|
+
],
|
|
434
|
+
stateMutability: "view",
|
|
435
|
+
type: "function",
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
inputs: [],
|
|
439
|
+
name: "numberOfDeposits",
|
|
440
|
+
outputs: [
|
|
441
|
+
{
|
|
442
|
+
internalType: "uint256",
|
|
443
|
+
name: "",
|
|
444
|
+
type: "uint256",
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
stateMutability: "view",
|
|
448
|
+
type: "function",
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
inputs: [
|
|
452
|
+
{
|
|
453
|
+
internalType: "address",
|
|
454
|
+
name: "newCrossDomainAdmin",
|
|
455
|
+
type: "address",
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
name: "setCrossDomainAdmin",
|
|
459
|
+
outputs: [],
|
|
460
|
+
stateMutability: "nonpayable",
|
|
461
|
+
type: "function",
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
inputs: [
|
|
465
|
+
{
|
|
466
|
+
internalType: "uint256",
|
|
467
|
+
name: "time",
|
|
468
|
+
type: "uint256",
|
|
469
|
+
},
|
|
470
|
+
],
|
|
471
|
+
name: "setCurrentTime",
|
|
472
|
+
outputs: [],
|
|
473
|
+
stateMutability: "nonpayable",
|
|
474
|
+
type: "function",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
inputs: [
|
|
478
|
+
{
|
|
479
|
+
internalType: "address",
|
|
480
|
+
name: "l2Token",
|
|
481
|
+
type: "address",
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
internalType: "bool",
|
|
485
|
+
name: "depositsEnabled",
|
|
486
|
+
type: "bool",
|
|
487
|
+
},
|
|
488
|
+
],
|
|
489
|
+
name: "setEnableDeposits",
|
|
490
|
+
outputs: [],
|
|
491
|
+
stateMutability: "nonpayable",
|
|
492
|
+
type: "function",
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
inputs: [
|
|
496
|
+
{
|
|
497
|
+
internalType: "uint64",
|
|
498
|
+
name: "newMinimumBridgingDelay",
|
|
499
|
+
type: "uint64",
|
|
500
|
+
},
|
|
501
|
+
],
|
|
502
|
+
name: "setMinimumBridgingDelay",
|
|
503
|
+
outputs: [],
|
|
504
|
+
stateMutability: "nonpayable",
|
|
505
|
+
type: "function",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
inputs: [],
|
|
509
|
+
name: "timerAddress",
|
|
510
|
+
outputs: [
|
|
511
|
+
{
|
|
512
|
+
internalType: "address",
|
|
513
|
+
name: "",
|
|
514
|
+
type: "address",
|
|
515
|
+
},
|
|
516
|
+
],
|
|
517
|
+
stateMutability: "view",
|
|
518
|
+
type: "function",
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
inputs: [
|
|
522
|
+
{
|
|
523
|
+
internalType: "address",
|
|
524
|
+
name: "l1Token",
|
|
525
|
+
type: "address",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
internalType: "address",
|
|
529
|
+
name: "l2Token",
|
|
530
|
+
type: "address",
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
internalType: "address",
|
|
534
|
+
name: "l1BridgePool",
|
|
535
|
+
type: "address",
|
|
536
|
+
},
|
|
537
|
+
],
|
|
538
|
+
name: "whitelistToken",
|
|
539
|
+
outputs: [],
|
|
540
|
+
stateMutability: "nonpayable",
|
|
541
|
+
type: "function",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
inputs: [
|
|
545
|
+
{
|
|
546
|
+
internalType: "address",
|
|
547
|
+
name: "",
|
|
548
|
+
type: "address",
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
name: "whitelistedTokens",
|
|
552
|
+
outputs: [
|
|
553
|
+
{
|
|
554
|
+
internalType: "address",
|
|
555
|
+
name: "l1Token",
|
|
556
|
+
type: "address",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
internalType: "address",
|
|
560
|
+
name: "l1BridgePool",
|
|
561
|
+
type: "address",
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
internalType: "uint64",
|
|
565
|
+
name: "lastBridgeTime",
|
|
566
|
+
type: "uint64",
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
internalType: "bool",
|
|
570
|
+
name: "depositsEnabled",
|
|
571
|
+
type: "bool",
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
stateMutability: "view",
|
|
575
|
+
type: "function",
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
stateMutability: "payable",
|
|
579
|
+
type: "receive",
|
|
580
|
+
},
|
|
581
|
+
];
|
|
582
|
+
|
|
583
|
+
const _bytecode =
|
|
584
|
+
"0x60806040523480156200001157600080fd5b50604051620029843803806200298483398101604081905262000034916200022b565b600080546001600160a81b0319166001600160a01b03831617600160a01b1790558686868684734200000000000000000000000000000000000007848484846200007e8462000115565b50600191909155600280546001600160a01b0319166001600160a01b0392831617905560058054600160401b600160e01b0319166801000000000000000094909216939093021790915550620000d48562000169565b5050600780546001600160a01b039788166001600160a01b031991821617909155600880549690971695169490941790945550620002c69650505050505050565b600580546001600160401b0319166001600160401b0383169081179091556040519081527f3f27163d4f4fe7a27a9d79683adf471b236f49fe9e8808717b3cc3c05a27611f9060200160405180910390a150565b6001600160a01b038116620001c45760405162461bcd60e51b815260206004820152601960248201527f4261642062726964676520726f75746572206164647265737300000000000000604482015260640160405180910390fd5b600680546001600160a01b0319166001600160a01b0383169081179091556040517fa9e8c42c9e7fca7f62755189a16b2f5314d43d8fb24e91ba54e6d65f9314e84990600090a250565b80516001600160a01b03811681146200022657600080fd5b919050565b600080600080600080600060e0888a0312156200024757600080fd5b62000252886200020e565b60208901519097506001600160401b03811681146200027057600080fd5b6040890151909650945062000288606089016200020e565b935062000298608089016200020e565b9250620002a860a089016200020e565b9150620002b860c089016200020e565b905092959891949750929550565b6126ae80620002d66000396000f3fe60806040526004361061014b5760003560e01c806363635fd9116100b4578063c2d9dca91161006e578063de7eba7811610056578063de7eba78146104b6578063e3229211146104d6578063fbb9fcf71461050357005b8063c2d9dca9146103c4578063daf9c210146103d757005b80639bfd2cdc1161009c5780639bfd2cdc14610354578063a1244c6714610374578063b2d6f4d41461038a57005b806363635fd91461030e5780639a8a05921461033e57005b80633cb747bf116101055780635285e058116100ed5780635285e05814610294578063563c7f60146102c15780635facafbd146102e157005b80633cb747bf1461023b5780634dedca281461027457005b806322f8e5661161013357806322f8e566146101d857806329cb924d146101f85780632ec35b311461021b57005b8063146bf4b1146101545780631c39c38d146101ab57005b3661015257005b005b34801561016057600080fd5b506002546101819073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b3480156101b757600080fd5b506000546101819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156101e457600080fd5b506101526101f3366004612323565b61056d565b34801561020457600080fd5b5061020d610616565b6040519081526020016101a2565b34801561022757600080fd5b50610152610236366004612359565b6106dd565b34801561024757600080fd5b506005546101819068010000000000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561028057600080fd5b5061015261028f366004612399565b610937565b3480156102a057600080fd5b506006546101819073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102cd57600080fd5b506101526102dc3660046123f2565b610b90565b3480156102ed57600080fd5b506008546101819073ffffffffffffffffffffffffffffffffffffffff1681565b34801561031a57600080fd5b5061032e61032936600461242b565b610de7565b60405190151581526020016101a2565b34801561034a57600080fd5b5061020d60015481565b34801561036057600080fd5b5061015261036f366004612448565b610e4a565b34801561038057600080fd5b5061020d60035481565b34801561039657600080fd5b506005546103ab9067ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016101a2565b6101526103d236600461247f565b6112ba565b3480156103e357600080fd5b5061046d6103f236600461242b565b6004602052600090815260409020805460019091015473ffffffffffffffffffffffffffffffffffffffff9182169181169074010000000000000000000000000000000000000000810467ffffffffffffffff16907c0100000000000000000000000000000000000000000000000000000000900460ff1684565b6040805173ffffffffffffffffffffffffffffffffffffffff958616815294909316602085015267ffffffffffffffff90911691830191909152151560608201526080016101a2565b3480156104c257600080fd5b506101526104d136600461242b565b611864565b3480156104e257600080fd5b506007546101819073ffffffffffffffffffffffffffffffffffffffff1681565b34801561050f57600080fd5b5061032e61051e36600461242b565b73ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090206001015474010000000000000000000000000000000000000000900467ffffffffffffffff16151590565b60005473ffffffffffffffffffffffffffffffffffffffff1661058f57600080fd5b6000546040517f22f8e5660000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff909116906322f8e56690602401600060405180830381600087803b1580156105fb57600080fd5b505af115801561060f573d6000803e3d6000fd5b5050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff16156106d85760008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329cb924d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561069b57600080fd5b505afa1580156106af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d391906124f0565b905090565b504290565b60065473ffffffffffffffffffffffffffffffffffffffff1661072260055473ffffffffffffffffffffffffffffffffffffffff680100000000000000009091041690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084015b60405180910390fd5b60055473ffffffffffffffffffffffffffffffffffffffff808316916801000000000000000090041673ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b15801561084f57600080fd5b505afa158015610863573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108879190612509565b73ffffffffffffffffffffffffffffffffffffffff161461092a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d6573736167650000000000000000000000000000000060648201526084016107d8565b61093382611ab5565b5050565b60065473ffffffffffffffffffffffffffffffffffffffff1661097c60055473ffffffffffffffffffffffffffffffffffffffff680100000000000000009091041690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084016107d8565b60055473ffffffffffffffffffffffffffffffffffffffff808316916801000000000000000090041673ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa457600080fd5b505afa158015610ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adc9190612509565b73ffffffffffffffffffffffffffffffffffffffff1614610b7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d6573736167650000000000000000000000000000000060648201526084016107d8565b610b8a848484611b22565b50505050565b60065473ffffffffffffffffffffffffffffffffffffffff16610bd560055473ffffffffffffffffffffffffffffffffffffffff680100000000000000009091041690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084016107d8565b60055473ffffffffffffffffffffffffffffffffffffffff808316916801000000000000000090041673ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b158015610cfd57600080fd5b505afa158015610d11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d359190612509565b73ffffffffffffffffffffffffffffffffffffffff1614610dd8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d6573736167650000000000000000000000000000000060648201526084016107d8565b610de28383611cfa565b505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526004602052604081206001015474010000000000000000000000000000000000000000900467ffffffffffffffff1615158015610e445750610e4482611dad565b92915050565b610e52611e24565b610e7f600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381600087803b158015610ee957600080fd5b505af1158015610efd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2191906124f0565b905060008111610f8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f63616e277420627269646765207a65726f20746f6b656e73000000000000000060448201526064016107d8565b610f9683610de7565b611022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f6e6f6e2d77686974656c697374656420746f6b656e206f72206c61737420627260448201527f6964676520746f6f20726563656e74000000000000000000000000000000000060648201526084016107d8565b61102a610616565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260046020526040902060018101805467ffffffffffffffff9490941674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff8516811790915560025491549083169383169390931792821691161415611160576040517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff851690632e1a7d4d90602401600060405180830381600087803b15801561112457600080fd5b505af1158015611138573d6000803e3d6000fd5b505060075460085473ffffffffffffffffffffffffffffffffffffffff918216975016925050505b6040517fa3a7954800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8086166004830152821660248201526044810183905263ffffffff8416606482015260a06084820152600060a48201527342000000000000000000000000000000000000109063a3a795489060c401600060405180830381600087803b15801561120457600080fd5b505af1158015611218573d6000803e3d6000fd5b50506040805185815263ffffffff8716602082015233935073ffffffffffffffffffffffffffffffffffffffff881692507f95b5ec953bd38fbaa6f859725352bf73202c155a6809e5622c95ceef331eac6c910160405180910390a35050610933600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b73ffffffffffffffffffffffffffffffffffffffff851660009081526004602052604090206001015485907c0100000000000000000000000000000000000000000000000000000000900460ff1661136e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f436f6e74726163742069732064697361626c656400000000000000000000000060448201526064016107d8565b611376611e24565b6113a3600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b73ffffffffffffffffffffffffffffffffffffffff861660009081526004602052604090206001015474010000000000000000000000000000000000000000900467ffffffffffffffff16611454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f6465706f73697420746f6b656e206e6f742077686974656c697374656400000060448201526064016107d8565b6703782dace9d900008467ffffffffffffffff1611156114d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f736c6f7752656c6179466565506374206d757374206265203c3d20323525000060448201526064016107d8565b6703782dace9d900008367ffffffffffffffff161115611572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f696e7374616e7452656c6179466565506374206d757374206265203c3d20323560448201527f250000000000000000000000000000000000000000000000000000000000000060648201526084016107d8565b61157e61025883612555565b67ffffffffffffffff16611590610616565b101580156115ba57506115a58261025861257e565b67ffffffffffffffff166115b7610616565b11155b611620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f6465706f736974206d696e656420616674657220646561646c696e650000000060448201526064016107d8565b60025473ffffffffffffffffffffffffffffffffffffffff8781166000908152600460205260409020548116911614801561165b5750600034115b1561172f578434146116c9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f6d73672e76616c7565206d757374206d6174636820616d6f756e74000000000060448201526064016107d8565b8573ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561171157600080fd5b505af1158015611725573d6000803e3d6000fd5b5050505050611751565b61175173ffffffffffffffffffffffffffffffffffffffff8716333088611eaa565b60015460035473ffffffffffffffffffffffffffffffffffffffff888116600081815260046020908152604091829020548251968752908601949094528b8316908501523360608501529116608083015260a082015260c0810186905267ffffffffffffffff80861660e083015280851661010083015283166101208201527fab77617f2b9bdbb101fc328e585470fb3c845c92b25c4b080cb7b66f7163cf72906101400160405180910390a160016003600082825461181191906125aa565b9091555061185b9050600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b50505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff166118a960055473ffffffffffffffffffffffffffffffffffffffff680100000000000000009091041690565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4f564d5f58434841494e3a206d657373656e67657220636f6e7472616374207560448201527f6e61757468656e7469636174656400000000000000000000000000000000000060648201526084016107d8565b60055473ffffffffffffffffffffffffffffffffffffffff808316916801000000000000000090041673ffffffffffffffffffffffffffffffffffffffff16636e296e456040518163ffffffff1660e01b815260040160206040518083038186803b1580156119d157600080fd5b505afa1580156119e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a099190612509565b73ffffffffffffffffffffffffffffffffffffffff1614611aac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f4f564d5f58434841494e3a2077726f6e672073656e646572206f662063726f7360448201527f732d646f6d61696e206d6573736167650000000000000000000000000000000060648201526084016107d8565b61093382611f3f565b600580547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff83169081179091556040519081527f3f27163d4f4fe7a27a9d79683adf471b236f49fe9e8808717b3cc3c05a27611f9060200160405180910390a150565b60405180608001604052808473ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001611b6d610616565b67ffffffffffffffff90811682526001602092830181905273ffffffffffffffffffffffffffffffffffffffff868116600090815260048552604090819020865181547fffffffffffffffffffffffff0000000000000000000000000000000000000000169084161781559486015194909201805492860151606090960151949091167fffffffff0000000000000000000000000000000000000000000000000000000090921691909117740100000000000000000000000000000000000000009490921693909302177fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff167c0100000000000000000000000000000000000000000000000000000000911515919091021790557f93f23add56b90352ea2ef3bc2123262792af300dc6060c99f6ee06a7026863bd8383611cac610616565b6040805173ffffffffffffffffffffffffffffffffffffffff9485168152928416602084015267ffffffffffffffff90911690820152908316606082015260800160405180910390a1505050565b73ffffffffffffffffffffffffffffffffffffffff821660008181526004602090815260409182902060010180547fffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffff167c0100000000000000000000000000000000000000000000000000000000861515908102919091179091558251938452908301527ff84482204ff927822d3068d71e16e14b51cb1b2adafa7d6e11edc1b8dfd8c0db910160405180910390a15050565b60055473ffffffffffffffffffffffffffffffffffffffff82166000908152600460205260408120600101549091611e0b9167ffffffffffffffff91821691740100000000000000000000000000000000000000009091041661257e565b67ffffffffffffffff16611e1d610616565b1192915050565b60005474010000000000000000000000000000000000000000900460ff16611ea8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107d8565b565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610b8a90859061202b565b73ffffffffffffffffffffffffffffffffffffffff8116611fbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4261642062726964676520726f7574657220616464726573730000000000000060448201526064016107d8565b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517fa9e8c42c9e7fca7f62755189a16b2f5314d43d8fb24e91ba54e6d65f9314e84990600090a250565b600061208d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166121379092919063ffffffff16565b805190915015610de257808060200190518101906120ab91906125c2565b610de2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016107d8565b60606121468484600085612150565b90505b9392505050565b6060824710156121e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016107d8565b843b61224a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107d8565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612273919061260b565b60006040518083038185875af1925050503d80600081146122b0576040519150601f19603f3d011682016040523d82523d6000602084013e6122b5565b606091505b50915091506122c58282866122d0565b979650505050505050565b606083156122df575081612149565b8251156122ef5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d89190612627565b60006020828403121561233557600080fd5b5035919050565b803567ffffffffffffffff8116811461235457600080fd5b919050565b60006020828403121561236b57600080fd5b6121498261233c565b73ffffffffffffffffffffffffffffffffffffffff8116811461239657600080fd5b50565b6000806000606084860312156123ae57600080fd5b83356123b981612374565b925060208401356123c981612374565b915060408401356123d981612374565b809150509250925092565b801515811461239657600080fd5b6000806040838503121561240557600080fd5b823561241081612374565b91506020830135612420816123e4565b809150509250929050565b60006020828403121561243d57600080fd5b813561214981612374565b6000806040838503121561245b57600080fd5b823561246681612374565b9150602083013563ffffffff8116811461242057600080fd5b60008060008060008060c0878903121561249857600080fd5b86356124a381612374565b955060208701356124b381612374565b9450604087013593506124c86060880161233c565b92506124d66080880161233c565b91506124e460a0880161233c565b90509295509295509295565b60006020828403121561250257600080fd5b5051919050565b60006020828403121561251b57600080fd5b815161214981612374565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff8381169083168181101561257657612576612526565b039392505050565b600067ffffffffffffffff8083168185168083038211156125a1576125a1612526565b01949350505050565b600082198211156125bd576125bd612526565b500190565b6000602082840312156125d457600080fd5b8151612149816123e4565b60005b838110156125fa5781810151838201526020016125e2565b83811115610b8a5750506000910152565b6000825161261d8184602087016125df565b9190910192915050565b60208152600082518060208401526126468160408501602087016125df565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220bff8579e0703fae79661b0b44218007636bde40f2bd24c1c342936353367f5e064736f6c63430008090033";
|
|
585
|
+
|
|
586
|
+
export class OVMOETHBridgeDepositBox__factory extends ContractFactory {
|
|
587
|
+
constructor(signer?: Signer) {
|
|
588
|
+
super(_abi, _bytecode, signer);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
deploy(
|
|
592
|
+
_crossDomainAdmin: string,
|
|
593
|
+
_minimumBridgingDelay: BigNumberish,
|
|
594
|
+
_chainId: BigNumberish,
|
|
595
|
+
_l1Weth: string,
|
|
596
|
+
_l2Eth: string,
|
|
597
|
+
_l1EthWrapper: string,
|
|
598
|
+
timerAddress: string,
|
|
599
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
600
|
+
): Promise<OVMOETHBridgeDepositBox> {
|
|
601
|
+
return super.deploy(
|
|
602
|
+
_crossDomainAdmin,
|
|
603
|
+
_minimumBridgingDelay,
|
|
604
|
+
_chainId,
|
|
605
|
+
_l1Weth,
|
|
606
|
+
_l2Eth,
|
|
607
|
+
_l1EthWrapper,
|
|
608
|
+
timerAddress,
|
|
609
|
+
overrides || {}
|
|
610
|
+
) as Promise<OVMOETHBridgeDepositBox>;
|
|
611
|
+
}
|
|
612
|
+
getDeployTransaction(
|
|
613
|
+
_crossDomainAdmin: string,
|
|
614
|
+
_minimumBridgingDelay: BigNumberish,
|
|
615
|
+
_chainId: BigNumberish,
|
|
616
|
+
_l1Weth: string,
|
|
617
|
+
_l2Eth: string,
|
|
618
|
+
_l1EthWrapper: string,
|
|
619
|
+
timerAddress: string,
|
|
620
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
621
|
+
): TransactionRequest {
|
|
622
|
+
return super.getDeployTransaction(
|
|
623
|
+
_crossDomainAdmin,
|
|
624
|
+
_minimumBridgingDelay,
|
|
625
|
+
_chainId,
|
|
626
|
+
_l1Weth,
|
|
627
|
+
_l2Eth,
|
|
628
|
+
_l1EthWrapper,
|
|
629
|
+
timerAddress,
|
|
630
|
+
overrides || {}
|
|
631
|
+
);
|
|
632
|
+
}
|
|
633
|
+
attach(address: string): OVMOETHBridgeDepositBox {
|
|
634
|
+
return super.attach(address) as OVMOETHBridgeDepositBox;
|
|
635
|
+
}
|
|
636
|
+
connect(signer: Signer): OVMOETHBridgeDepositBox__factory {
|
|
637
|
+
return super.connect(signer) as OVMOETHBridgeDepositBox__factory;
|
|
638
|
+
}
|
|
639
|
+
static readonly bytecode = _bytecode;
|
|
640
|
+
static readonly abi = _abi;
|
|
641
|
+
static createInterface(): OVMOETHBridgeDepositBoxInterface {
|
|
642
|
+
return new utils.Interface(_abi) as OVMOETHBridgeDepositBoxInterface;
|
|
643
|
+
}
|
|
644
|
+
static connect(
|
|
645
|
+
address: string,
|
|
646
|
+
signerOrProvider: Signer | Provider
|
|
647
|
+
): OVMOETHBridgeDepositBox {
|
|
648
|
+
return new Contract(
|
|
649
|
+
address,
|
|
650
|
+
_abi,
|
|
651
|
+
signerOrProvider
|
|
652
|
+
) as OVMOETHBridgeDepositBox;
|
|
653
|
+
}
|
|
654
|
+
}
|