@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,79 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
CrossDomainEnabled,
|
|
9
|
+
CrossDomainEnabledInterface,
|
|
10
|
+
} from "../CrossDomainEnabled";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "address",
|
|
17
|
+
name: "_messenger",
|
|
18
|
+
type: "address",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
stateMutability: "nonpayable",
|
|
22
|
+
type: "constructor",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
inputs: [],
|
|
26
|
+
name: "messenger",
|
|
27
|
+
outputs: [
|
|
28
|
+
{
|
|
29
|
+
internalType: "address",
|
|
30
|
+
name: "",
|
|
31
|
+
type: "address",
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
stateMutability: "view",
|
|
35
|
+
type: "function",
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
|
|
39
|
+
const _bytecode =
|
|
40
|
+
"0x608060405234801561001057600080fd5b5060405161013d38038061013d83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b60ab806100926000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80633cb747bf14602d575b600080fd5b600054604c9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f3fea26469706673582212203eef930358eb6ee95a39e3cdca250534bfc7777bfa4509c03907565c864ba2f764736f6c63430008090033";
|
|
41
|
+
|
|
42
|
+
export class CrossDomainEnabled__factory extends ContractFactory {
|
|
43
|
+
constructor(signer?: Signer) {
|
|
44
|
+
super(_abi, _bytecode, signer);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
deploy(
|
|
48
|
+
_messenger: string,
|
|
49
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
50
|
+
): Promise<CrossDomainEnabled> {
|
|
51
|
+
return super.deploy(
|
|
52
|
+
_messenger,
|
|
53
|
+
overrides || {}
|
|
54
|
+
) as Promise<CrossDomainEnabled>;
|
|
55
|
+
}
|
|
56
|
+
getDeployTransaction(
|
|
57
|
+
_messenger: string,
|
|
58
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
59
|
+
): TransactionRequest {
|
|
60
|
+
return super.getDeployTransaction(_messenger, overrides || {});
|
|
61
|
+
}
|
|
62
|
+
attach(address: string): CrossDomainEnabled {
|
|
63
|
+
return super.attach(address) as CrossDomainEnabled;
|
|
64
|
+
}
|
|
65
|
+
connect(signer: Signer): CrossDomainEnabled__factory {
|
|
66
|
+
return super.connect(signer) as CrossDomainEnabled__factory;
|
|
67
|
+
}
|
|
68
|
+
static readonly bytecode = _bytecode;
|
|
69
|
+
static readonly abi = _abi;
|
|
70
|
+
static createInterface(): CrossDomainEnabledInterface {
|
|
71
|
+
return new utils.Interface(_abi) as CrossDomainEnabledInterface;
|
|
72
|
+
}
|
|
73
|
+
static connect(
|
|
74
|
+
address: string,
|
|
75
|
+
signerOrProvider: Signer | Provider
|
|
76
|
+
): CrossDomainEnabled {
|
|
77
|
+
return new Contract(address, _abi, signerOrProvider) as CrossDomainEnabled;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { ERC165, ERC165Interface } from "../ERC165";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: "bytes4",
|
|
14
|
+
name: "interfaceId",
|
|
15
|
+
type: "bytes4",
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
name: "supportsInterface",
|
|
19
|
+
outputs: [
|
|
20
|
+
{
|
|
21
|
+
internalType: "bool",
|
|
22
|
+
name: "",
|
|
23
|
+
type: "bool",
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
stateMutability: "view",
|
|
27
|
+
type: "function",
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
export class ERC165__factory {
|
|
32
|
+
static readonly abi = _abi;
|
|
33
|
+
static createInterface(): ERC165Interface {
|
|
34
|
+
return new utils.Interface(_abi) as ERC165Interface;
|
|
35
|
+
}
|
|
36
|
+
static connect(address: string, signerOrProvider: Signer | Provider): ERC165 {
|
|
37
|
+
return new Contract(address, _abi, signerOrProvider) as ERC165;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
7
|
+
import type { ERC20, ERC20Interface } from "../ERC20";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: "string",
|
|
14
|
+
name: "name_",
|
|
15
|
+
type: "string",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
internalType: "string",
|
|
19
|
+
name: "symbol_",
|
|
20
|
+
type: "string",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
stateMutability: "nonpayable",
|
|
24
|
+
type: "constructor",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
anonymous: false,
|
|
28
|
+
inputs: [
|
|
29
|
+
{
|
|
30
|
+
indexed: true,
|
|
31
|
+
internalType: "address",
|
|
32
|
+
name: "owner",
|
|
33
|
+
type: "address",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
indexed: true,
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "spender",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
indexed: false,
|
|
43
|
+
internalType: "uint256",
|
|
44
|
+
name: "value",
|
|
45
|
+
type: "uint256",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
name: "Approval",
|
|
49
|
+
type: "event",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
anonymous: false,
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
indexed: true,
|
|
56
|
+
internalType: "address",
|
|
57
|
+
name: "from",
|
|
58
|
+
type: "address",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
indexed: true,
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "to",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
indexed: false,
|
|
68
|
+
internalType: "uint256",
|
|
69
|
+
name: "value",
|
|
70
|
+
type: "uint256",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "Transfer",
|
|
74
|
+
type: "event",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [
|
|
78
|
+
{
|
|
79
|
+
internalType: "address",
|
|
80
|
+
name: "owner",
|
|
81
|
+
type: "address",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
internalType: "address",
|
|
85
|
+
name: "spender",
|
|
86
|
+
type: "address",
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
name: "allowance",
|
|
90
|
+
outputs: [
|
|
91
|
+
{
|
|
92
|
+
internalType: "uint256",
|
|
93
|
+
name: "",
|
|
94
|
+
type: "uint256",
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
stateMutability: "view",
|
|
98
|
+
type: "function",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
inputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "spender",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
internalType: "uint256",
|
|
109
|
+
name: "amount",
|
|
110
|
+
type: "uint256",
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
name: "approve",
|
|
114
|
+
outputs: [
|
|
115
|
+
{
|
|
116
|
+
internalType: "bool",
|
|
117
|
+
name: "",
|
|
118
|
+
type: "bool",
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
stateMutability: "nonpayable",
|
|
122
|
+
type: "function",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
inputs: [
|
|
126
|
+
{
|
|
127
|
+
internalType: "address",
|
|
128
|
+
name: "account",
|
|
129
|
+
type: "address",
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
name: "balanceOf",
|
|
133
|
+
outputs: [
|
|
134
|
+
{
|
|
135
|
+
internalType: "uint256",
|
|
136
|
+
name: "",
|
|
137
|
+
type: "uint256",
|
|
138
|
+
},
|
|
139
|
+
],
|
|
140
|
+
stateMutability: "view",
|
|
141
|
+
type: "function",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
inputs: [],
|
|
145
|
+
name: "decimals",
|
|
146
|
+
outputs: [
|
|
147
|
+
{
|
|
148
|
+
internalType: "uint8",
|
|
149
|
+
name: "",
|
|
150
|
+
type: "uint8",
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
stateMutability: "view",
|
|
154
|
+
type: "function",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
inputs: [
|
|
158
|
+
{
|
|
159
|
+
internalType: "address",
|
|
160
|
+
name: "spender",
|
|
161
|
+
type: "address",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
internalType: "uint256",
|
|
165
|
+
name: "subtractedValue",
|
|
166
|
+
type: "uint256",
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
name: "decreaseAllowance",
|
|
170
|
+
outputs: [
|
|
171
|
+
{
|
|
172
|
+
internalType: "bool",
|
|
173
|
+
name: "",
|
|
174
|
+
type: "bool",
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
stateMutability: "nonpayable",
|
|
178
|
+
type: "function",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
inputs: [
|
|
182
|
+
{
|
|
183
|
+
internalType: "address",
|
|
184
|
+
name: "spender",
|
|
185
|
+
type: "address",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
internalType: "uint256",
|
|
189
|
+
name: "addedValue",
|
|
190
|
+
type: "uint256",
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
name: "increaseAllowance",
|
|
194
|
+
outputs: [
|
|
195
|
+
{
|
|
196
|
+
internalType: "bool",
|
|
197
|
+
name: "",
|
|
198
|
+
type: "bool",
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
stateMutability: "nonpayable",
|
|
202
|
+
type: "function",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
inputs: [],
|
|
206
|
+
name: "name",
|
|
207
|
+
outputs: [
|
|
208
|
+
{
|
|
209
|
+
internalType: "string",
|
|
210
|
+
name: "",
|
|
211
|
+
type: "string",
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
stateMutability: "view",
|
|
215
|
+
type: "function",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
inputs: [],
|
|
219
|
+
name: "symbol",
|
|
220
|
+
outputs: [
|
|
221
|
+
{
|
|
222
|
+
internalType: "string",
|
|
223
|
+
name: "",
|
|
224
|
+
type: "string",
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
stateMutability: "view",
|
|
228
|
+
type: "function",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
inputs: [],
|
|
232
|
+
name: "totalSupply",
|
|
233
|
+
outputs: [
|
|
234
|
+
{
|
|
235
|
+
internalType: "uint256",
|
|
236
|
+
name: "",
|
|
237
|
+
type: "uint256",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
stateMutability: "view",
|
|
241
|
+
type: "function",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
inputs: [
|
|
245
|
+
{
|
|
246
|
+
internalType: "address",
|
|
247
|
+
name: "recipient",
|
|
248
|
+
type: "address",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
internalType: "uint256",
|
|
252
|
+
name: "amount",
|
|
253
|
+
type: "uint256",
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
name: "transfer",
|
|
257
|
+
outputs: [
|
|
258
|
+
{
|
|
259
|
+
internalType: "bool",
|
|
260
|
+
name: "",
|
|
261
|
+
type: "bool",
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
stateMutability: "nonpayable",
|
|
265
|
+
type: "function",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
inputs: [
|
|
269
|
+
{
|
|
270
|
+
internalType: "address",
|
|
271
|
+
name: "sender",
|
|
272
|
+
type: "address",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
internalType: "address",
|
|
276
|
+
name: "recipient",
|
|
277
|
+
type: "address",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
internalType: "uint256",
|
|
281
|
+
name: "amount",
|
|
282
|
+
type: "uint256",
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
name: "transferFrom",
|
|
286
|
+
outputs: [
|
|
287
|
+
{
|
|
288
|
+
internalType: "bool",
|
|
289
|
+
name: "",
|
|
290
|
+
type: "bool",
|
|
291
|
+
},
|
|
292
|
+
],
|
|
293
|
+
stateMutability: "nonpayable",
|
|
294
|
+
type: "function",
|
|
295
|
+
},
|
|
296
|
+
];
|
|
297
|
+
|
|
298
|
+
const _bytecode =
|
|
299
|
+
"0x60806040523480156200001157600080fd5b5060405162000e1538038062000e158339810160408190526200003491620001db565b81516200004990600390602085019062000068565b5080516200005f90600490602084019062000068565b50505062000282565b828054620000769062000245565b90600052602060002090601f0160209004810192826200009a5760008555620000e5565b82601f10620000b557805160ff1916838001178555620000e5565b82800160010185558215620000e5579182015b82811115620000e5578251825591602001919060010190620000c8565b50620000f3929150620000f7565b5090565b5b80821115620000f35760008155600101620000f8565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200013657600080fd5b81516001600160401b03808211156200015357620001536200010e565b604051601f8301601f19908116603f011681019082821181831017156200017e576200017e6200010e565b816040528381526020925086838588010111156200019b57600080fd5b600091505b83821015620001bf5785820183015181830184015290820190620001a0565b83821115620001d15760008385830101525b9695505050505050565b60008060408385031215620001ef57600080fd5b82516001600160401b03808211156200020757600080fd5b620002158683870162000124565b935060208501519150808211156200022c57600080fd5b506200023b8582860162000124565b9150509250929050565b600181811c908216806200025a57607f821691505b602082108114156200027c57634e487b7160e01b600052602260045260246000fd5b50919050565b610b8380620002926000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610944565b60405180910390f35b6100ff6100fa3660046109e0565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f366004610a0a565b6102a8565b604051601281526020016100e3565b6100ff6101513660046109e0565b61039a565b610113610164366004610a46565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d66103de565b6100ff6101a23660046109e0565b6103ed565b6100ff6101b53660046109e0565b6104c7565b6101136101c8366004610a68565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610a9b565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a9b565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b600061029f3384846104d4565b50600192915050565b60006102b5848484610687565b73ffffffffffffffffffffffffffffffffffffffff841660009081526001602090815260408083203384529091529020548281101561037b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61038f853361038a8685610b1e565b6104d4565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909161029f91859061038a908690610b35565b60606004805461020f90610a9b565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156104ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610372565b6104bd338561038a8685610b1e565b5060019392505050565b600061029f338484610687565b73ffffffffffffffffffffffffffffffffffffffff8316610576576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff8216610619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff831661072a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff82166107cd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610372565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610372565b61088d8282610b1e565b73ffffffffffffffffffffffffffffffffffffffff80861660009081526020819052604080822093909355908516815290812080548492906108d0908490610b35565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161093691815260200190565b60405180910390a350505050565b600060208083528351808285015260005b8181101561097157858101830151858201604001528201610955565b81811115610983576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146109db57600080fd5b919050565b600080604083850312156109f357600080fd5b6109fc836109b7565b946020939093013593505050565b600080600060608486031215610a1f57600080fd5b610a28846109b7565b9250610a36602085016109b7565b9150604084013590509250925092565b600060208284031215610a5857600080fd5b610a61826109b7565b9392505050565b60008060408385031215610a7b57600080fd5b610a84836109b7565b9150610a92602084016109b7565b90509250929050565b600181811c90821680610aaf57607f821691505b60208210811415610ae9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015610b3057610b30610aef565b500390565b60008219821115610b4857610b48610aef565b50019056fea264697066735822122008c831d69a5a22072e9fad287bdabcf9d5d61cf4e90bfa44ad13e69fe78f8cb064736f6c63430008090033";
|
|
300
|
+
|
|
301
|
+
export class ERC20__factory extends ContractFactory {
|
|
302
|
+
constructor(signer?: Signer) {
|
|
303
|
+
super(_abi, _bytecode, signer);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
deploy(
|
|
307
|
+
name_: string,
|
|
308
|
+
symbol_: string,
|
|
309
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
310
|
+
): Promise<ERC20> {
|
|
311
|
+
return super.deploy(name_, symbol_, overrides || {}) as Promise<ERC20>;
|
|
312
|
+
}
|
|
313
|
+
getDeployTransaction(
|
|
314
|
+
name_: string,
|
|
315
|
+
symbol_: string,
|
|
316
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
317
|
+
): TransactionRequest {
|
|
318
|
+
return super.getDeployTransaction(name_, symbol_, overrides || {});
|
|
319
|
+
}
|
|
320
|
+
attach(address: string): ERC20 {
|
|
321
|
+
return super.attach(address) as ERC20;
|
|
322
|
+
}
|
|
323
|
+
connect(signer: Signer): ERC20__factory {
|
|
324
|
+
return super.connect(signer) as ERC20__factory;
|
|
325
|
+
}
|
|
326
|
+
static readonly bytecode = _bytecode;
|
|
327
|
+
static readonly abi = _abi;
|
|
328
|
+
static createInterface(): ERC20Interface {
|
|
329
|
+
return new utils.Interface(_abi) as ERC20Interface;
|
|
330
|
+
}
|
|
331
|
+
static connect(address: string, signerOrProvider: Signer | Provider): ERC20 {
|
|
332
|
+
return new Contract(address, _abi, signerOrProvider) as ERC20;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
FinderInterface,
|
|
9
|
+
FinderInterfaceInterface,
|
|
10
|
+
} from "../FinderInterface";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "bytes32",
|
|
17
|
+
name: "interfaceName",
|
|
18
|
+
type: "bytes32",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "implementationAddress",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
name: "changeImplementationAddress",
|
|
27
|
+
outputs: [],
|
|
28
|
+
stateMutability: "nonpayable",
|
|
29
|
+
type: "function",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
inputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: "bytes32",
|
|
35
|
+
name: "interfaceName",
|
|
36
|
+
type: "bytes32",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
name: "getImplementationAddress",
|
|
40
|
+
outputs: [
|
|
41
|
+
{
|
|
42
|
+
internalType: "address",
|
|
43
|
+
name: "",
|
|
44
|
+
type: "address",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
stateMutability: "view",
|
|
48
|
+
type: "function",
|
|
49
|
+
},
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
export class FinderInterface__factory {
|
|
53
|
+
static readonly abi = _abi;
|
|
54
|
+
static createInterface(): FinderInterfaceInterface {
|
|
55
|
+
return new utils.Interface(_abi) as FinderInterfaceInterface;
|
|
56
|
+
}
|
|
57
|
+
static connect(
|
|
58
|
+
address: string,
|
|
59
|
+
signerOrProvider: Signer | Provider
|
|
60
|
+
): FinderInterface {
|
|
61
|
+
return new Contract(address, _abi, signerOrProvider) as FinderInterface;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
FxBaseChildTunnel,
|
|
9
|
+
FxBaseChildTunnelInterface,
|
|
10
|
+
} from "../FxBaseChildTunnel";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: false,
|
|
18
|
+
internalType: "bytes",
|
|
19
|
+
name: "message",
|
|
20
|
+
type: "bytes",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
name: "MessageSent",
|
|
24
|
+
type: "event",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
inputs: [],
|
|
28
|
+
name: "fxChild",
|
|
29
|
+
outputs: [
|
|
30
|
+
{
|
|
31
|
+
internalType: "address",
|
|
32
|
+
name: "",
|
|
33
|
+
type: "address",
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
stateMutability: "view",
|
|
37
|
+
type: "function",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
inputs: [],
|
|
41
|
+
name: "fxRootTunnel",
|
|
42
|
+
outputs: [
|
|
43
|
+
{
|
|
44
|
+
internalType: "address",
|
|
45
|
+
name: "",
|
|
46
|
+
type: "address",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
stateMutability: "view",
|
|
50
|
+
type: "function",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "uint256",
|
|
56
|
+
name: "stateId",
|
|
57
|
+
type: "uint256",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
internalType: "address",
|
|
61
|
+
name: "rootMessageSender",
|
|
62
|
+
type: "address",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
internalType: "bytes",
|
|
66
|
+
name: "data",
|
|
67
|
+
type: "bytes",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
name: "processMessageFromRoot",
|
|
71
|
+
outputs: [],
|
|
72
|
+
stateMutability: "nonpayable",
|
|
73
|
+
type: "function",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [
|
|
77
|
+
{
|
|
78
|
+
internalType: "address",
|
|
79
|
+
name: "_fxRootTunnel",
|
|
80
|
+
type: "address",
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
name: "setFxRootTunnel",
|
|
84
|
+
outputs: [],
|
|
85
|
+
stateMutability: "nonpayable",
|
|
86
|
+
type: "function",
|
|
87
|
+
},
|
|
88
|
+
];
|
|
89
|
+
|
|
90
|
+
export class FxBaseChildTunnel__factory {
|
|
91
|
+
static readonly abi = _abi;
|
|
92
|
+
static createInterface(): FxBaseChildTunnelInterface {
|
|
93
|
+
return new utils.Interface(_abi) as FxBaseChildTunnelInterface;
|
|
94
|
+
}
|
|
95
|
+
static connect(
|
|
96
|
+
address: string,
|
|
97
|
+
signerOrProvider: Signer | Provider
|
|
98
|
+
): FxBaseChildTunnel {
|
|
99
|
+
return new Contract(address, _abi, signerOrProvider) as FxBaseChildTunnel;
|
|
100
|
+
}
|
|
101
|
+
}
|