@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,726 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
Signer,
|
|
7
|
+
utils,
|
|
8
|
+
BytesLike,
|
|
9
|
+
BigNumberish,
|
|
10
|
+
Contract,
|
|
11
|
+
ContractFactory,
|
|
12
|
+
Overrides,
|
|
13
|
+
} from "ethers";
|
|
14
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
15
|
+
import type { BridgeAdmin, BridgeAdminInterface } from "../BridgeAdmin";
|
|
16
|
+
|
|
17
|
+
const _abi = [
|
|
18
|
+
{
|
|
19
|
+
inputs: [
|
|
20
|
+
{
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "_finder",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "uint32",
|
|
27
|
+
name: "_optimisticOracleLiveness",
|
|
28
|
+
type: "uint32",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
internalType: "uint64",
|
|
32
|
+
name: "_proposerBondPct",
|
|
33
|
+
type: "uint64",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
internalType: "bytes32",
|
|
37
|
+
name: "_identifier",
|
|
38
|
+
type: "bytes32",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
stateMutability: "nonpayable",
|
|
42
|
+
type: "constructor",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
anonymous: false,
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
indexed: false,
|
|
49
|
+
internalType: "address[]",
|
|
50
|
+
name: "bridgePools",
|
|
51
|
+
type: "address[]",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
indexed: true,
|
|
55
|
+
internalType: "address",
|
|
56
|
+
name: "newAdmin",
|
|
57
|
+
type: "address",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "BridgePoolsAdminTransferred",
|
|
61
|
+
type: "event",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
anonymous: false,
|
|
65
|
+
inputs: [
|
|
66
|
+
{
|
|
67
|
+
indexed: true,
|
|
68
|
+
internalType: "uint256",
|
|
69
|
+
name: "chainId",
|
|
70
|
+
type: "uint256",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
indexed: true,
|
|
74
|
+
internalType: "address",
|
|
75
|
+
name: "l2Token",
|
|
76
|
+
type: "address",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
indexed: false,
|
|
80
|
+
internalType: "bool",
|
|
81
|
+
name: "depositsEnabled",
|
|
82
|
+
type: "bool",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
name: "DepositsEnabled",
|
|
86
|
+
type: "event",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
anonymous: false,
|
|
90
|
+
inputs: [
|
|
91
|
+
{
|
|
92
|
+
indexed: true,
|
|
93
|
+
internalType: "address",
|
|
94
|
+
name: "previousOwner",
|
|
95
|
+
type: "address",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
indexed: true,
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "newOwner",
|
|
101
|
+
type: "address",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
name: "OwnershipTransferred",
|
|
105
|
+
type: "event",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
anonymous: false,
|
|
109
|
+
inputs: [
|
|
110
|
+
{
|
|
111
|
+
indexed: true,
|
|
112
|
+
internalType: "uint256",
|
|
113
|
+
name: "chainId",
|
|
114
|
+
type: "uint256",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
indexed: true,
|
|
118
|
+
internalType: "address",
|
|
119
|
+
name: "newAdmin",
|
|
120
|
+
type: "address",
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
name: "SetCrossDomainAdmin",
|
|
124
|
+
type: "event",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
anonymous: false,
|
|
128
|
+
inputs: [
|
|
129
|
+
{
|
|
130
|
+
indexed: true,
|
|
131
|
+
internalType: "uint256",
|
|
132
|
+
name: "chainId",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
indexed: true,
|
|
137
|
+
internalType: "address",
|
|
138
|
+
name: "l2DepositContract",
|
|
139
|
+
type: "address",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
indexed: true,
|
|
143
|
+
internalType: "address",
|
|
144
|
+
name: "l2MessengerContract",
|
|
145
|
+
type: "address",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
name: "SetDepositContracts",
|
|
149
|
+
type: "event",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
anonymous: false,
|
|
153
|
+
inputs: [
|
|
154
|
+
{
|
|
155
|
+
indexed: true,
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "bridgePool",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
indexed: false,
|
|
162
|
+
internalType: "uint64",
|
|
163
|
+
name: "newLpFeeRatePerSecond",
|
|
164
|
+
type: "uint64",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
name: "SetLpFeeRate",
|
|
168
|
+
type: "event",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
anonymous: false,
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
indexed: true,
|
|
175
|
+
internalType: "uint256",
|
|
176
|
+
name: "chainId",
|
|
177
|
+
type: "uint256",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
indexed: false,
|
|
181
|
+
internalType: "uint64",
|
|
182
|
+
name: "newMinimumBridgingDelay",
|
|
183
|
+
type: "uint64",
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
name: "SetMinimumBridgingDelay",
|
|
187
|
+
type: "event",
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
anonymous: false,
|
|
191
|
+
inputs: [
|
|
192
|
+
{
|
|
193
|
+
indexed: true,
|
|
194
|
+
internalType: "uint32",
|
|
195
|
+
name: "liveness",
|
|
196
|
+
type: "uint32",
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
name: "SetOptimisticOracleLiveness",
|
|
200
|
+
type: "event",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
anonymous: false,
|
|
204
|
+
inputs: [
|
|
205
|
+
{
|
|
206
|
+
indexed: true,
|
|
207
|
+
internalType: "uint64",
|
|
208
|
+
name: "proposerBondPct",
|
|
209
|
+
type: "uint64",
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
name: "SetProposerBondPct",
|
|
213
|
+
type: "event",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
anonymous: false,
|
|
217
|
+
inputs: [
|
|
218
|
+
{
|
|
219
|
+
indexed: true,
|
|
220
|
+
internalType: "bytes32",
|
|
221
|
+
name: "identifier",
|
|
222
|
+
type: "bytes32",
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
name: "SetRelayIdentifier",
|
|
226
|
+
type: "event",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
anonymous: false,
|
|
230
|
+
inputs: [
|
|
231
|
+
{
|
|
232
|
+
indexed: false,
|
|
233
|
+
internalType: "uint256",
|
|
234
|
+
name: "chainId",
|
|
235
|
+
type: "uint256",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
indexed: true,
|
|
239
|
+
internalType: "address",
|
|
240
|
+
name: "l1Token",
|
|
241
|
+
type: "address",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
indexed: true,
|
|
245
|
+
internalType: "address",
|
|
246
|
+
name: "l2Token",
|
|
247
|
+
type: "address",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
indexed: true,
|
|
251
|
+
internalType: "address",
|
|
252
|
+
name: "bridgePool",
|
|
253
|
+
type: "address",
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
name: "WhitelistToken",
|
|
257
|
+
type: "event",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
inputs: [
|
|
261
|
+
{
|
|
262
|
+
internalType: "uint256",
|
|
263
|
+
name: "chainId",
|
|
264
|
+
type: "uint256",
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
name: "depositContracts",
|
|
268
|
+
outputs: [
|
|
269
|
+
{
|
|
270
|
+
components: [
|
|
271
|
+
{
|
|
272
|
+
internalType: "address",
|
|
273
|
+
name: "depositContract",
|
|
274
|
+
type: "address",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
internalType: "address",
|
|
278
|
+
name: "messengerContract",
|
|
279
|
+
type: "address",
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
internalType: "struct BridgeAdminInterface.DepositUtilityContracts",
|
|
283
|
+
name: "",
|
|
284
|
+
type: "tuple",
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
stateMutability: "view",
|
|
288
|
+
type: "function",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
inputs: [],
|
|
292
|
+
name: "finder",
|
|
293
|
+
outputs: [
|
|
294
|
+
{
|
|
295
|
+
internalType: "address",
|
|
296
|
+
name: "",
|
|
297
|
+
type: "address",
|
|
298
|
+
},
|
|
299
|
+
],
|
|
300
|
+
stateMutability: "view",
|
|
301
|
+
type: "function",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
inputs: [],
|
|
305
|
+
name: "identifier",
|
|
306
|
+
outputs: [
|
|
307
|
+
{
|
|
308
|
+
internalType: "bytes32",
|
|
309
|
+
name: "",
|
|
310
|
+
type: "bytes32",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
stateMutability: "view",
|
|
314
|
+
type: "function",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
inputs: [],
|
|
318
|
+
name: "optimisticOracleLiveness",
|
|
319
|
+
outputs: [
|
|
320
|
+
{
|
|
321
|
+
internalType: "uint32",
|
|
322
|
+
name: "",
|
|
323
|
+
type: "uint32",
|
|
324
|
+
},
|
|
325
|
+
],
|
|
326
|
+
stateMutability: "view",
|
|
327
|
+
type: "function",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
inputs: [],
|
|
331
|
+
name: "owner",
|
|
332
|
+
outputs: [
|
|
333
|
+
{
|
|
334
|
+
internalType: "address",
|
|
335
|
+
name: "",
|
|
336
|
+
type: "address",
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
stateMutability: "view",
|
|
340
|
+
type: "function",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
inputs: [],
|
|
344
|
+
name: "proposerBondPct",
|
|
345
|
+
outputs: [
|
|
346
|
+
{
|
|
347
|
+
internalType: "uint64",
|
|
348
|
+
name: "",
|
|
349
|
+
type: "uint64",
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
stateMutability: "view",
|
|
353
|
+
type: "function",
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
inputs: [],
|
|
357
|
+
name: "renounceOwnership",
|
|
358
|
+
outputs: [],
|
|
359
|
+
stateMutability: "nonpayable",
|
|
360
|
+
type: "function",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
inputs: [
|
|
364
|
+
{
|
|
365
|
+
internalType: "uint256",
|
|
366
|
+
name: "chainId",
|
|
367
|
+
type: "uint256",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
internalType: "address",
|
|
371
|
+
name: "admin",
|
|
372
|
+
type: "address",
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
internalType: "uint256",
|
|
376
|
+
name: "l1CallValue",
|
|
377
|
+
type: "uint256",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
internalType: "uint256",
|
|
381
|
+
name: "l2Gas",
|
|
382
|
+
type: "uint256",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
internalType: "uint256",
|
|
386
|
+
name: "l2GasPrice",
|
|
387
|
+
type: "uint256",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
internalType: "uint256",
|
|
391
|
+
name: "maxSubmissionCost",
|
|
392
|
+
type: "uint256",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
name: "setCrossDomainAdmin",
|
|
396
|
+
outputs: [],
|
|
397
|
+
stateMutability: "payable",
|
|
398
|
+
type: "function",
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
inputs: [
|
|
402
|
+
{
|
|
403
|
+
internalType: "uint256",
|
|
404
|
+
name: "chainId",
|
|
405
|
+
type: "uint256",
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
internalType: "address",
|
|
409
|
+
name: "depositContract",
|
|
410
|
+
type: "address",
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
internalType: "address",
|
|
414
|
+
name: "messengerContract",
|
|
415
|
+
type: "address",
|
|
416
|
+
},
|
|
417
|
+
],
|
|
418
|
+
name: "setDepositContract",
|
|
419
|
+
outputs: [],
|
|
420
|
+
stateMutability: "nonpayable",
|
|
421
|
+
type: "function",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
inputs: [
|
|
425
|
+
{
|
|
426
|
+
internalType: "uint256",
|
|
427
|
+
name: "chainId",
|
|
428
|
+
type: "uint256",
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
internalType: "address",
|
|
432
|
+
name: "l1Token",
|
|
433
|
+
type: "address",
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
internalType: "bool",
|
|
437
|
+
name: "depositsEnabled",
|
|
438
|
+
type: "bool",
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
internalType: "uint256",
|
|
442
|
+
name: "l1CallValue",
|
|
443
|
+
type: "uint256",
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
internalType: "uint256",
|
|
447
|
+
name: "l2Gas",
|
|
448
|
+
type: "uint256",
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
internalType: "uint256",
|
|
452
|
+
name: "l2GasPrice",
|
|
453
|
+
type: "uint256",
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
internalType: "uint256",
|
|
457
|
+
name: "maxSubmissionCost",
|
|
458
|
+
type: "uint256",
|
|
459
|
+
},
|
|
460
|
+
],
|
|
461
|
+
name: "setEnableDepositsAndRelays",
|
|
462
|
+
outputs: [],
|
|
463
|
+
stateMutability: "payable",
|
|
464
|
+
type: "function",
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
inputs: [
|
|
468
|
+
{
|
|
469
|
+
internalType: "bytes32",
|
|
470
|
+
name: "_identifier",
|
|
471
|
+
type: "bytes32",
|
|
472
|
+
},
|
|
473
|
+
],
|
|
474
|
+
name: "setIdentifier",
|
|
475
|
+
outputs: [],
|
|
476
|
+
stateMutability: "nonpayable",
|
|
477
|
+
type: "function",
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
inputs: [
|
|
481
|
+
{
|
|
482
|
+
internalType: "address",
|
|
483
|
+
name: "bridgePool",
|
|
484
|
+
type: "address",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
internalType: "uint64",
|
|
488
|
+
name: "newLpFeeRate",
|
|
489
|
+
type: "uint64",
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
name: "setLpFeeRatePerSecond",
|
|
493
|
+
outputs: [],
|
|
494
|
+
stateMutability: "nonpayable",
|
|
495
|
+
type: "function",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
inputs: [
|
|
499
|
+
{
|
|
500
|
+
internalType: "uint256",
|
|
501
|
+
name: "chainId",
|
|
502
|
+
type: "uint256",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
internalType: "uint64",
|
|
506
|
+
name: "minimumBridgingDelay",
|
|
507
|
+
type: "uint64",
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
internalType: "uint256",
|
|
511
|
+
name: "l1CallValue",
|
|
512
|
+
type: "uint256",
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
internalType: "uint256",
|
|
516
|
+
name: "l2Gas",
|
|
517
|
+
type: "uint256",
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
internalType: "uint256",
|
|
521
|
+
name: "l2GasPrice",
|
|
522
|
+
type: "uint256",
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
internalType: "uint256",
|
|
526
|
+
name: "maxSubmissionCost",
|
|
527
|
+
type: "uint256",
|
|
528
|
+
},
|
|
529
|
+
],
|
|
530
|
+
name: "setMinimumBridgingDelay",
|
|
531
|
+
outputs: [],
|
|
532
|
+
stateMutability: "payable",
|
|
533
|
+
type: "function",
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
inputs: [
|
|
537
|
+
{
|
|
538
|
+
internalType: "uint32",
|
|
539
|
+
name: "liveness",
|
|
540
|
+
type: "uint32",
|
|
541
|
+
},
|
|
542
|
+
],
|
|
543
|
+
name: "setOptimisticOracleLiveness",
|
|
544
|
+
outputs: [],
|
|
545
|
+
stateMutability: "nonpayable",
|
|
546
|
+
type: "function",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
inputs: [
|
|
550
|
+
{
|
|
551
|
+
internalType: "uint64",
|
|
552
|
+
name: "_proposerBondPct",
|
|
553
|
+
type: "uint64",
|
|
554
|
+
},
|
|
555
|
+
],
|
|
556
|
+
name: "setProposerBondPct",
|
|
557
|
+
outputs: [],
|
|
558
|
+
stateMutability: "nonpayable",
|
|
559
|
+
type: "function",
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
inputs: [
|
|
563
|
+
{
|
|
564
|
+
internalType: "address[]",
|
|
565
|
+
name: "bridgePools",
|
|
566
|
+
type: "address[]",
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
internalType: "address",
|
|
570
|
+
name: "newAdmin",
|
|
571
|
+
type: "address",
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
name: "transferBridgePoolAdmin",
|
|
575
|
+
outputs: [],
|
|
576
|
+
stateMutability: "nonpayable",
|
|
577
|
+
type: "function",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
inputs: [
|
|
581
|
+
{
|
|
582
|
+
internalType: "address",
|
|
583
|
+
name: "newOwner",
|
|
584
|
+
type: "address",
|
|
585
|
+
},
|
|
586
|
+
],
|
|
587
|
+
name: "transferOwnership",
|
|
588
|
+
outputs: [],
|
|
589
|
+
stateMutability: "nonpayable",
|
|
590
|
+
type: "function",
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
inputs: [
|
|
594
|
+
{
|
|
595
|
+
internalType: "uint256",
|
|
596
|
+
name: "chainId",
|
|
597
|
+
type: "uint256",
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
internalType: "address",
|
|
601
|
+
name: "l1Token",
|
|
602
|
+
type: "address",
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
internalType: "address",
|
|
606
|
+
name: "l2Token",
|
|
607
|
+
type: "address",
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
internalType: "address",
|
|
611
|
+
name: "bridgePool",
|
|
612
|
+
type: "address",
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
internalType: "uint256",
|
|
616
|
+
name: "l1CallValue",
|
|
617
|
+
type: "uint256",
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
internalType: "uint256",
|
|
621
|
+
name: "l2Gas",
|
|
622
|
+
type: "uint256",
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
internalType: "uint256",
|
|
626
|
+
name: "l2GasPrice",
|
|
627
|
+
type: "uint256",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
internalType: "uint256",
|
|
631
|
+
name: "maxSubmissionCost",
|
|
632
|
+
type: "uint256",
|
|
633
|
+
},
|
|
634
|
+
],
|
|
635
|
+
name: "whitelistToken",
|
|
636
|
+
outputs: [],
|
|
637
|
+
stateMutability: "payable",
|
|
638
|
+
type: "function",
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
inputs: [
|
|
642
|
+
{
|
|
643
|
+
internalType: "address",
|
|
644
|
+
name: "l1Token",
|
|
645
|
+
type: "address",
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
internalType: "uint256",
|
|
649
|
+
name: "chainId",
|
|
650
|
+
type: "uint256",
|
|
651
|
+
},
|
|
652
|
+
],
|
|
653
|
+
name: "whitelistedTokens",
|
|
654
|
+
outputs: [
|
|
655
|
+
{
|
|
656
|
+
internalType: "address",
|
|
657
|
+
name: "l2Token",
|
|
658
|
+
type: "address",
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
internalType: "address",
|
|
662
|
+
name: "bridgePool",
|
|
663
|
+
type: "address",
|
|
664
|
+
},
|
|
665
|
+
],
|
|
666
|
+
stateMutability: "view",
|
|
667
|
+
type: "function",
|
|
668
|
+
},
|
|
669
|
+
];
|
|
670
|
+
|
|
671
|
+
const _bytecode =
|
|
672
|
+
"0x60806040523480156200001157600080fd5b5060405162002f6138038062002f61833981016040819052620000349162000492565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b1916600160a01b178155600180546001600160a01b0387166001600160a01b0319909116179055620000af62000128565b6001600160a01b03161415620000fd5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b2103334b73232b960911b60448201526064015b60405180910390fd5b6200010883620001ce565b6200011382620002ba565b6200011e8162000316565b5050505062000545565b6001546040516302abf57960e61b81527f436f6c6c61746572616c57686974656c6973740000000000000000000000000060048201526000916001600160a01b03169063aafd5e40906024015b60206040518083038186803b1580156200018e57600080fd5b505afa158015620001a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c99190620004fc565b905090565b63bb7448008163ffffffff16106200021e5760405162461bcd60e51b81526020600482015260126024820152714c6976656e65737320746f6f206c6172676560701b6044820152606401620000f4565b60008163ffffffff1611620002765760405162461bcd60e51b815260206004820152601460248201527f4c6976656e6573732063616e6e6f7420626520300000000000000000000000006044820152606401620000f4565b6004805463ffffffff191663ffffffff83169081179091556040517f18c2dabb108f62fad5fa139a7313bd221f388dc0b09727624af21ddfcf76cbaa90600090a250565b60048054600160201b600160601b0319166401000000006001600160401b0384811682029290921792839055604051920416907facfe7e537e15ef4781402154351bc868c74852d83f3cc95d570a290b2c5a4f9990600090a250565b6200032062000423565b6001600160a01b03166390978d1b826040518263ffffffff1660e01b81526004016200034e91815260200190565b60206040518083038186803b1580156200036757600080fd5b505afa1580156200037c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a2919062000521565b620003f05760405162461bcd60e51b815260206004820152601960248201527f4964656e746966696572206e6f742072656769737465726564000000000000006044820152606401620000f4565b600581905560405181907f4b924bf6f3485cd9c93a9734e5916e32005eb2f8af99b1f14b2cc1d2ee04dac990600090a250565b6001546040516302abf57960e61b81527f4964656e74696669657257686974656c6973740000000000000000000000000060048201526000916001600160a01b03169063aafd5e409060240162000175565b80516001600160a01b03811681146200048d57600080fd5b919050565b60008060008060808587031215620004a957600080fd5b620004b48562000475565b9350602085015163ffffffff81168114620004ce57600080fd5b60408601519093506001600160401b0381168114620004ec57600080fd5b6060959095015193969295505050565b6000602082840312156200050f57600080fd5b6200051a8262000475565b9392505050565b6000602082840312156200053457600080fd5b815180151581146200051a57600080fd5b612a0c80620005556000396000f3fe6080604052600436106101435760003560e01c80638da5cb5b116100c0578063b9a3c84c11610074578063bfdb388211610059578063bfdb388214610463578063c73a32c314610476578063f2fde38b146104b857600080fd5b8063b9a3c84c146103a7578063bf06c19a146103d457600080fd5b806394bdf812116100a557806394bdf81214610347578063aae3863e14610367578063b09158501461038757600080fd5b80638da5cb5b146102e8578063934441271461033457600080fd5b806363e463f4116101175780637998a1c4116100fc5780637998a1c4146102095780637d726c751461022d5780637eb4fa731461024057600080fd5b806363e463f4146101d4578063715018a6146101f457600080fd5b8062c99206146101485780630a69da281461016a578063173684c51461017d57806350a7c20e146101b4575b600080fd5b34801561015457600080fd5b5061016861016336600461241e565b6104d8565b005b610168610178366004612469565b6105e3565b34801561018957600080fd5b5060045461019a9063ffffffff1681565b60405163ffffffff90911681526020015b60405180910390f35b3480156101c057600080fd5b506101686101cf3660046124e8565b6108aa565b3480156101e057600080fd5b506101686101ef3660046125dd565b610abb565b34801561020057600080fd5b50610168610b7a565b34801561021557600080fd5b5061021f60055481565b6040519081526020016101ab565b61016861023b366004612622565b610c6a565b34801561024c57600080fd5b506102b461025b36600461241e565b6040805180820190915260008082526020820152506000908152600260209081526040918290208251808401909352805473ffffffffffffffffffffffffffffffffffffffff9081168452600190910154169082015290565b60408051825173ffffffffffffffffffffffffffffffffffffffff90811682526020938401511692810192909252016101ab565b3480156102f457600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101ab565b61016861034236600461264b565b610eaf565b34801561035357600080fd5b506101686103623660046126c2565b611502565b34801561037357600080fd5b506101686103823660046126f7565b611693565b34801561039357600080fd5b506101686103a2366004612739565b61182b565b3480156103b357600080fd5b5060015461030f9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103e057600080fd5b506104366103ef366004612754565b73ffffffffffffffffffffffffffffffffffffffff918216600081815260036020818152604080842095845285825283205493909252905260019091015490821692911690565b6040805173ffffffffffffffffffffffffffffffffffffffff9384168152929091166020830152016101ab565b61016861047136600461278e565b6118ea565b34801561048257600080fd5b5060045461049f90640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016101ab565b3480156104c457600080fd5b506101686104d33660046127f3565b611bfe565b60005473ffffffffffffffffffffffffffffffffffffffff16331461055e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610566611daf565b610593600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b61059c81611e35565b6105e0600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b60008681526002602052604090208054600190910154879161069f9173ffffffffffffffffffffffffffffffffffffffff9182169116611f60565b6106a7611daf565b6106d4600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b73ffffffffffffffffffffffffffffffffffffffff8616610751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f41646d696e2063616e6e6f74206265207a65726f2061646472657373000000006044820152606401610555565b6000878152600260205260409081902060018101549054915173ffffffffffffffffffffffffffffffffffffffff898116602483015261081a939281169289929116903390899089908990604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fde7eba7800000000000000000000000000000000000000000000000000000000179052612026565b60405173ffffffffffffffffffffffffffffffffffffffff87169088907fedd8c3ef4433a93a0049a93cb3e6003b2909b8c337b716e016f73d9264d0575f90600090a36108a1600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b50505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461092b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b610933611daf565b610960600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b60005b82518160ff161015610a2457828160ff168151811061098457610984612810565b60209081029190910101516040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015290911690638f28397090602401600060405180830381600087803b1580156109f957600080fd5b505af1158015610a0d573d6000803e3d6000fd5b505050508080610a1c9061283f565b915050610963565b508073ffffffffffffffffffffffffffffffffffffffff167fb602b0c040b1aa5c1117626e1f378f960b43fa9dddccaffdc88591092acc9cf483604051610a6b9190612886565b60405180910390a2610ab7600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b610b44611daf565b610b71600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b61059c8161212b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b600086815260026020526040902080546001909101548791610d269173ffffffffffffffffffffffffffffffffffffffff9182169116611f60565b610d2e611daf565b610d5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6000878152600260205260409081902060018101549054915167ffffffffffffffff89166024820152610e2c9273ffffffffffffffffffffffffffffffffffffffff9283169289929116903390899089908990604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f2ec35b3100000000000000000000000000000000000000000000000000000000179052612026565b60405167ffffffffffffffff8716815287907f9c10783ffe02b4c29472a26771187a113643b69290dab9b0c7f00ad0aff416f19060200160405180910390a26108a1600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b600088815260026020526040902080546001909101548991610f6b9173ffffffffffffffffffffffffffffffffffffffff9182169116611f60565b610f73611daf565b610fa0600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b73ffffffffffffffffffffffffffffffffffffffff8616611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f427269646765506f6f6c2063616e6e6f74206265207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b73ffffffffffffffffffffffffffffffffffffffff87166110c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c3220746f6b656e2063616e6e6f74206265207a65726f2061646472657373006044820152606401610555565b6110c861226d565b6040517f3a3ab67200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a811660048301529190911690633a3ab6729060240160206040518083038186803b15801561113157600080fd5b505afa158015611145573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116991906128e0565b6111cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4c31546f6b656e20746f6b656e206e6f742077686974656c69737465640000006044820152606401610555565b8773ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b815260040160206040518083038186803b15801561122c57600080fd5b505afa158015611240573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126491906128fd565b73ffffffffffffffffffffffffffffffffffffffff1614611307576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f42726964676520706f6f6c2068617320646966666572656e74204c3120746f6b60448201527f656e0000000000000000000000000000000000000000000000000000000000006064820152608401610555565b73ffffffffffffffffffffffffffffffffffffffff80891660008181526003602090815260408083208e845280835281842080548e88167fffffffffffffffffffffffff00000000000000000000000000000000000000009182168117909255600192830180548f8a1692168217905560029094529382902090810154905491516024810195909552604485019390935260648401919091526114359391821692899291909116903390899089908990608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f4dedca2800000000000000000000000000000000000000000000000000000000179052612026565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f4d34491ed5d9114c52a094ed7004a670e7bcd518f930c86d9a72d9811dc986838c6040516114ab91815260200190565b60405180910390a46114f7600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b61158b611daf565b6115b8600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6040517f27f224ca00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff8216600482015273ffffffffffffffffffffffffffffffffffffffff8316906327f224ca90602401600060405180830381600087803b15801561162957600080fd5b505af115801561163d573d6000803e3d6000fd5b505060405167ffffffffffffffff8416815273ffffffffffffffffffffffffffffffffffffffff851692507f2379a780c43dc12faf76871501e88b35e33155b1918b7e8787e8173938a68e6c9150602001610a6b565b60005473ffffffffffffffffffffffffffffffffffffffff163314611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b61171c611daf565b611749600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6117538282611f60565b600083815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316811784556001909301805491871691909216811790915591519192909186917fa701872361de9bbd7f10a5f5c82ccfe3bf4a8d585403ab897afa655244534f3691a4611826600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146118ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b6118b4611daf565b6118e1600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b61059c81612335565b60005473ffffffffffffffffffffffffffffffffffffffff16331461196b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b6000878152600260205260409020805460019091015488916119a69173ffffffffffffffffffffffffffffffffffffffff9182169116611f60565b6119ae611daf565b6119db600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b73ffffffffffffffffffffffffffffffffffffffff878116600090815260036020526040908190206001015490517f08ed5b1400000000000000000000000000000000000000000000000000000000815288151560048201529116906308ed5b1490602401600060405180830381600087803b158015611a5a57600080fd5b505af1158015611a6e573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff80891660009081526003602090815260408083208d8452825280832054600290925291829020600181015490549251918416602483018190528b151560448401529450611b5c93908116928a9291169033908a908a908a90606401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f563c7f6000000000000000000000000000000000000000000000000000000000179052612026565b8073ffffffffffffffffffffffffffffffffffffffff16897f4cd6451d8996d5cf60acf25b65a82bddaaf576a2d664855bbe7bedf3e82a58b189604051611ba7911515815260200190565b60405180910390a350611bf4600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b5050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611c7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b73ffffffffffffffffffffffffffffffffffffffff8116611d22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610555565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005474010000000000000000000000000000000000000000900460ff16611e33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610555565b565b611e3d6123a7565b73ffffffffffffffffffffffffffffffffffffffff166390978d1b826040518263ffffffff1660e01b8152600401611e7791815260200190565b60206040518083038186803b158015611e8f57600080fd5b505afa158015611ea3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec791906128e0565b611f2d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4964656e746966696572206e6f742072656769737465726564000000000000006044820152606401610555565b600581905560405181907f4b924bf6f3485cd9c93a9734e5916e32005eb2f8af99b1f14b2cc1d2ee04dac990600090a250565b73ffffffffffffffffffffffffffffffffffffffff821615801590611f9a575073ffffffffffffffffffffffffffffffffffffffff811615155b610ab7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f496e76616c6964206465706f736974206f72206d657373656e67657220636f6e60448201527f74726163740000000000000000000000000000000000000000000000000000006064820152608401610555565b34871461208f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f57726f6e67206e756d626572206f66204554482073656e7400000000000000006044820152606401610555565b6040517f9e353c7000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff891690639e353c709089906120ef908a908a9084908b908b908b908b9060040161291a565b6000604051808303818588803b15801561210857600080fd5b505af115801561211c573d6000803e3d6000fd5b50505050505050505050505050565b63bb7448008163ffffffff161061219e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4c6976656e65737320746f6f206c6172676500000000000000000000000000006044820152606401610555565b60008163ffffffff161161220e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4c6976656e6573732063616e6e6f7420626520300000000000000000000000006044820152606401610555565b600480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff83169081179091556040517f18c2dabb108f62fad5fa139a7313bd221f388dc0b09727624af21ddfcf76cbaa90600090a250565b6001546040517faafd5e400000000000000000000000000000000000000000000000000000000081527f436f6c6c61746572616c57686974656c69737400000000000000000000000000600482015260009173ffffffffffffffffffffffffffffffffffffffff169063aafd5e40906024015b60206040518083038186803b1580156122f857600080fd5b505afa15801561230c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233091906128fd565b905090565b600480547fffffffffffffffffffffffffffffffffffffffff0000000000000000ffffffff1664010000000067ffffffffffffffff84811682029290921792839055604051920416907facfe7e537e15ef4781402154351bc868c74852d83f3cc95d570a290b2c5a4f9990600090a250565b6001546040517faafd5e400000000000000000000000000000000000000000000000000000000081527f4964656e74696669657257686974656c69737400000000000000000000000000600482015260009173ffffffffffffffffffffffffffffffffffffffff169063aafd5e40906024016122e0565b60006020828403121561243057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff811681146105e057600080fd5b803561246481612437565b919050565b60008060008060008060c0878903121561248257600080fd5b86359550602087013561249481612437565b95989597505050506040840135936060810135936080820135935060a0909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156124fb57600080fd5b823567ffffffffffffffff8082111561251357600080fd5b818501915085601f83011261252757600080fd5b813560208282111561253b5761253b6124b9565b8160051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110868211171561257e5761257e6124b9565b60405292835281830193508481018201928984111561259c57600080fd5b948201945b838610156125c1576125b286612459565b855294820194938201936125a1565b96506125d09050878201612459565b9450505050509250929050565b6000602082840312156125ef57600080fd5b813563ffffffff8116811461260357600080fd5b9392505050565b803567ffffffffffffffff8116811461246457600080fd5b60008060008060008060c0878903121561263b57600080fd5b863595506124946020880161260a565b600080600080600080600080610100898b03121561266857600080fd5b88359750602089013561267a81612437565b9650604089013561268a81612437565b9550606089013561269a81612437565b979a969950949760808101359660a0820135965060c0820135955060e0909101359350915050565b600080604083850312156126d557600080fd5b82356126e081612437565b91506126ee6020840161260a565b90509250929050565b60008060006060848603121561270c57600080fd5b83359250602084013561271e81612437565b9150604084013561272e81612437565b809150509250925092565b60006020828403121561274b57600080fd5b6126038261260a565b6000806040838503121561276757600080fd5b823561277281612437565b946020939093013593505050565b80151581146105e057600080fd5b600080600080600080600060e0888a0312156127a957600080fd5b8735965060208801356127bb81612437565b955060408801356127cb81612780565b969995985095966060810135965060808101359560a0820135955060c0909101359350915050565b60006020828403121561280557600080fd5b813561260381612437565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff821660ff81141561287d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60010192915050565b6020808252825182820181905260009190848201906040850190845b818110156128d457835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016128a2565b50909695505050505050565b6000602082840312156128f257600080fd5b815161260381612780565b60006020828403121561290f57600080fd5b815161260381612437565b600073ffffffffffffffffffffffffffffffffffffffff808a1683526020818a16818501528860408501528760608501528660808501528560a085015260e060c0850152845191508160e085015260005b82811015612988578581018201518582016101000152810161296b565b8281111561299b57600061010084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01691909101610100019897505050505050505056fea2646970667358221220bf43b3df2c076bc2dfd2e8bc07869817d88fc623cb74d6ef0e1e69abd273aecf64736f6c63430008090033";
|
|
673
|
+
|
|
674
|
+
export class BridgeAdmin__factory extends ContractFactory {
|
|
675
|
+
constructor(signer?: Signer) {
|
|
676
|
+
super(_abi, _bytecode, signer);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
deploy(
|
|
680
|
+
_finder: string,
|
|
681
|
+
_optimisticOracleLiveness: BigNumberish,
|
|
682
|
+
_proposerBondPct: BigNumberish,
|
|
683
|
+
_identifier: BytesLike,
|
|
684
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
685
|
+
): Promise<BridgeAdmin> {
|
|
686
|
+
return super.deploy(
|
|
687
|
+
_finder,
|
|
688
|
+
_optimisticOracleLiveness,
|
|
689
|
+
_proposerBondPct,
|
|
690
|
+
_identifier,
|
|
691
|
+
overrides || {}
|
|
692
|
+
) as Promise<BridgeAdmin>;
|
|
693
|
+
}
|
|
694
|
+
getDeployTransaction(
|
|
695
|
+
_finder: string,
|
|
696
|
+
_optimisticOracleLiveness: BigNumberish,
|
|
697
|
+
_proposerBondPct: BigNumberish,
|
|
698
|
+
_identifier: BytesLike,
|
|
699
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
700
|
+
): TransactionRequest {
|
|
701
|
+
return super.getDeployTransaction(
|
|
702
|
+
_finder,
|
|
703
|
+
_optimisticOracleLiveness,
|
|
704
|
+
_proposerBondPct,
|
|
705
|
+
_identifier,
|
|
706
|
+
overrides || {}
|
|
707
|
+
);
|
|
708
|
+
}
|
|
709
|
+
attach(address: string): BridgeAdmin {
|
|
710
|
+
return super.attach(address) as BridgeAdmin;
|
|
711
|
+
}
|
|
712
|
+
connect(signer: Signer): BridgeAdmin__factory {
|
|
713
|
+
return super.connect(signer) as BridgeAdmin__factory;
|
|
714
|
+
}
|
|
715
|
+
static readonly bytecode = _bytecode;
|
|
716
|
+
static readonly abi = _abi;
|
|
717
|
+
static createInterface(): BridgeAdminInterface {
|
|
718
|
+
return new utils.Interface(_abi) as BridgeAdminInterface;
|
|
719
|
+
}
|
|
720
|
+
static connect(
|
|
721
|
+
address: string,
|
|
722
|
+
signerOrProvider: Signer | Provider
|
|
723
|
+
): BridgeAdmin {
|
|
724
|
+
return new Contract(address, _abi, signerOrProvider) as BridgeAdmin;
|
|
725
|
+
}
|
|
726
|
+
}
|