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