@hyperlane-xyz/core 1.0.0-beta2 → 1.0.0-beta4
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/contracts/Mailbox.sol +26 -21
- package/contracts/Router.sol +44 -14
- package/contracts/isms/MultisigIsm.sol +23 -0
- package/contracts/libs/EnumerableMapExtended.sol +72 -0
- package/contracts/middleware/InterchainAccountRouter.sol +9 -1
- package/contracts/middleware/InterchainQueryRouter.sol +9 -1
- package/contracts/middleware/liquidity-layer/LiquidityLayerRouter.sol +9 -1
- package/contracts/middleware/liquidity-layer/adapters/CircleBridgeAdapter.sol +1 -1
- package/contracts/test/TestIsm.sol +1 -0
- package/contracts/test/TestRecipient.sol +10 -1
- package/dist/@openzeppelin/contracts/index.d.ts +0 -4
- package/dist/@openzeppelin/contracts/index.d.ts.map +1 -1
- package/dist/@openzeppelin/contracts-upgradeable/index.d.ts +2 -0
- package/dist/@openzeppelin/contracts-upgradeable/index.d.ts.map +1 -1
- package/dist/{contracts/PausableReentrancyGuard.sol/PausableReentrancyGuardUpgradeable.d.ts → @openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.d.ts} +5 -5
- package/dist/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.d.ts.map +1 -0
- package/dist/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.js +4 -0
- package/dist/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.js.map +1 -0
- package/dist/@openzeppelin/contracts-upgradeable/security/index.d.ts +2 -0
- package/dist/@openzeppelin/contracts-upgradeable/security/index.d.ts.map +1 -0
- package/dist/@openzeppelin/{contracts/interfaces/draft-IERC1822.sol → contracts-upgradeable/security}/index.js +0 -0
- package/dist/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -0
- package/dist/contracts/{HyperlaneConnectionClient.d.ts → AbacusConnectionClient.d.ts} +36 -69
- package/dist/contracts/AbacusConnectionClient.d.ts.map +1 -0
- package/dist/contracts/AbacusConnectionClient.js +4 -0
- package/dist/contracts/AbacusConnectionClient.js.map +1 -0
- package/dist/contracts/AbacusConnectionManager.d.ts +213 -0
- package/dist/contracts/AbacusConnectionManager.d.ts.map +1 -0
- package/dist/contracts/AbacusConnectionManager.js +4 -0
- package/dist/contracts/AbacusConnectionManager.js.map +1 -0
- package/dist/contracts/Inbox.d.ts +207 -0
- package/dist/contracts/Inbox.d.ts.map +1 -0
- package/dist/{@openzeppelin/contracts/interfaces/index.js → contracts/Inbox.js} +1 -1
- package/dist/contracts/Inbox.js.map +1 -0
- package/dist/contracts/InterchainGasPaymaster.d.ts +15 -15
- package/dist/contracts/InterchainGasPaymaster.d.ts.map +1 -1
- package/dist/contracts/Mailbox.d.ts +27 -237
- package/dist/contracts/Mailbox.d.ts.map +1 -1
- package/dist/contracts/MerkleTreeManager.d.ts +53 -0
- package/dist/contracts/MerkleTreeManager.d.ts.map +1 -0
- package/dist/{@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.js → contracts/MerkleTreeManager.js} +1 -1
- package/dist/contracts/MerkleTreeManager.js.map +1 -0
- package/dist/contracts/Outbox.d.ts +331 -0
- package/dist/contracts/Outbox.d.ts.map +1 -0
- package/dist/{@openzeppelin/contracts/proxy/Proxy.js → contracts/Outbox.js} +1 -1
- package/dist/contracts/Outbox.js.map +1 -0
- package/dist/contracts/OwnableMulticall.d.ts +1 -17
- package/dist/contracts/OwnableMulticall.d.ts.map +1 -1
- package/dist/contracts/Router.d.ts +32 -65
- package/dist/contracts/Router.d.ts.map +1 -1
- package/dist/contracts/index.d.ts +7 -5
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/middleware/InterchainAccountRouter.d.ts +39 -72
- package/dist/contracts/middleware/InterchainAccountRouter.d.ts.map +1 -1
- package/dist/contracts/middleware/InterchainQueryRouter.d.ts +42 -91
- package/dist/contracts/middleware/InterchainQueryRouter.d.ts.map +1 -1
- package/dist/contracts/middleware/V2CompatibilityRouter.d.ts +306 -0
- package/dist/contracts/middleware/V2CompatibilityRouter.d.ts.map +1 -0
- package/dist/contracts/middleware/V2CompatibilityRouter.js +4 -0
- package/dist/contracts/middleware/V2CompatibilityRouter.js.map +1 -0
- package/dist/contracts/middleware/index.d.ts +1 -0
- package/dist/contracts/middleware/index.d.ts.map +1 -1
- package/dist/contracts/middleware/liquidity-layer/LiquidityLayerRouter.d.ts +38 -71
- package/dist/contracts/middleware/liquidity-layer/LiquidityLayerRouter.d.ts.map +1 -1
- package/dist/contracts/middleware/liquidity-layer/adapters/CircleBridgeAdapter.d.ts +32 -65
- package/dist/contracts/middleware/liquidity-layer/adapters/CircleBridgeAdapter.d.ts.map +1 -1
- package/dist/contracts/middleware/liquidity-layer/adapters/PortalAdapter.d.ts +394 -0
- package/dist/contracts/middleware/liquidity-layer/adapters/PortalAdapter.d.ts.map +1 -0
- package/dist/{@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.js → contracts/middleware/liquidity-layer/adapters/PortalAdapter.js} +1 -1
- package/dist/contracts/middleware/liquidity-layer/adapters/PortalAdapter.js.map +1 -0
- package/dist/contracts/middleware/liquidity-layer/adapters/index.d.ts +1 -0
- package/dist/contracts/middleware/liquidity-layer/adapters/index.d.ts.map +1 -1
- package/dist/{interfaces → contracts/middleware/liquidity-layer/interfaces}/ILiquidityLayerMessageRecipient.d.ts +1 -1
- package/dist/contracts/middleware/liquidity-layer/interfaces/ILiquidityLayerMessageRecipient.d.ts.map +1 -0
- package/dist/{interfaces → contracts/middleware/liquidity-layer/interfaces}/ILiquidityLayerMessageRecipient.js +0 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/ILiquidityLayerMessageRecipient.js.map +1 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/circle/{ICircleBridge.d.ts → ITokenMessenger.d.ts} +4 -4
- package/dist/contracts/middleware/liquidity-layer/interfaces/circle/ITokenMessenger.d.ts.map +1 -0
- package/dist/{@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.js → contracts/middleware/liquidity-layer/interfaces/circle/ITokenMessenger.js} +1 -1
- package/dist/contracts/middleware/liquidity-layer/interfaces/circle/ITokenMessenger.js.map +1 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/circle/index.d.ts +1 -1
- package/dist/contracts/middleware/liquidity-layer/interfaces/circle/index.d.ts.map +1 -1
- package/dist/contracts/middleware/liquidity-layer/interfaces/index.d.ts +3 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/index.d.ts.map +1 -1
- package/dist/contracts/middleware/liquidity-layer/interfaces/portal/IPortalTokenBridge.d.ts +148 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/portal/IPortalTokenBridge.d.ts.map +1 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/portal/IPortalTokenBridge.js +4 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/portal/IPortalTokenBridge.js.map +1 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/portal/index.d.ts +2 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/portal/index.d.ts.map +1 -0
- package/dist/{@openzeppelin/contracts/proxy/ERC1967 → contracts/middleware/liquidity-layer/interfaces/portal}/index.js +0 -0
- package/dist/contracts/middleware/liquidity-layer/interfaces/portal/index.js.map +1 -0
- package/dist/contracts/mock/MockHyperlaneEnvironment.d.ts +33 -25
- package/dist/contracts/mock/MockHyperlaneEnvironment.d.ts.map +1 -1
- package/dist/contracts/mock/MockInbox.d.ts +67 -0
- package/dist/contracts/mock/MockInbox.d.ts.map +1 -0
- package/dist/contracts/mock/MockInbox.js +4 -0
- package/dist/contracts/mock/MockInbox.js.map +1 -0
- package/dist/contracts/mock/MockInterchainAccountRouter.d.ts +3 -253
- package/dist/contracts/mock/MockInterchainAccountRouter.d.ts.map +1 -1
- package/dist/{interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.d.ts → contracts/mock/MockOutbox.d.ts} +14 -14
- package/dist/contracts/mock/MockOutbox.d.ts.map +1 -0
- package/dist/contracts/mock/MockOutbox.js +4 -0
- package/dist/contracts/mock/MockOutbox.js.map +1 -0
- package/dist/contracts/mock/MockPortalBridge.d.ts +164 -0
- package/dist/contracts/mock/MockPortalBridge.d.ts.map +1 -0
- package/dist/contracts/mock/MockPortalBridge.js +4 -0
- package/dist/contracts/mock/MockPortalBridge.js.map +1 -0
- package/dist/contracts/mock/index.d.ts +3 -1
- package/dist/contracts/mock/index.d.ts.map +1 -1
- package/dist/contracts/test/MysteryMath.d.ts +77 -0
- package/dist/contracts/test/MysteryMath.d.ts.map +1 -0
- package/dist/contracts/test/MysteryMath.js +4 -0
- package/dist/contracts/test/MysteryMath.js.map +1 -0
- package/dist/contracts/test/MysteryMathV1.d.ts +85 -0
- package/dist/contracts/test/MysteryMathV1.d.ts.map +1 -0
- package/dist/contracts/test/MysteryMathV1.js +4 -0
- package/dist/contracts/test/MysteryMathV1.js.map +1 -0
- package/dist/contracts/test/MysteryMathV2.d.ts +85 -0
- package/dist/contracts/test/MysteryMathV2.d.ts.map +1 -0
- package/dist/contracts/test/MysteryMathV2.js +4 -0
- package/dist/contracts/test/MysteryMathV2.js.map +1 -0
- package/dist/contracts/test/{TestHyperlaneConnectionClient.d.ts → TestAbacusConnectionClient.d.ts} +57 -74
- package/dist/contracts/test/TestAbacusConnectionClient.d.ts.map +1 -0
- package/dist/contracts/test/TestAbacusConnectionClient.js +4 -0
- package/dist/contracts/test/TestAbacusConnectionClient.js.map +1 -0
- package/dist/contracts/test/TestInbox.d.ts +263 -0
- package/dist/contracts/test/TestInbox.d.ts.map +1 -0
- package/dist/contracts/test/TestInbox.js +4 -0
- package/dist/contracts/test/TestInbox.js.map +1 -0
- package/dist/contracts/test/TestMailbox.d.ts +32 -250
- package/dist/contracts/test/TestMailbox.d.ts.map +1 -1
- package/dist/contracts/test/TestMessage.d.ts +10 -30
- package/dist/contracts/test/TestMessage.d.ts.map +1 -1
- package/dist/contracts/test/TestMultisigValidatorManager.d.ts +247 -0
- package/dist/contracts/test/TestMultisigValidatorManager.d.ts.map +1 -0
- package/dist/contracts/test/TestMultisigValidatorManager.js +4 -0
- package/dist/contracts/test/TestMultisigValidatorManager.js.map +1 -0
- package/dist/contracts/test/TestOutbox.d.ts +371 -0
- package/dist/contracts/test/TestOutbox.d.ts.map +1 -0
- package/dist/contracts/test/TestOutbox.js +4 -0
- package/dist/contracts/test/TestOutbox.js.map +1 -0
- package/dist/contracts/test/TestRouter.d.ts +44 -77
- package/dist/contracts/test/TestRouter.d.ts.map +1 -1
- package/dist/contracts/test/TestSendReceiver.d.ts +6 -14
- package/dist/contracts/test/TestSendReceiver.d.ts.map +1 -1
- package/dist/contracts/test/TestValidatorManager.d.ts +58 -0
- package/dist/contracts/test/TestValidatorManager.d.ts.map +1 -0
- package/dist/contracts/test/TestValidatorManager.js +4 -0
- package/dist/contracts/test/TestValidatorManager.js.map +1 -0
- package/dist/contracts/test/index.d.ts +8 -3
- package/dist/contracts/test/index.d.ts.map +1 -1
- package/dist/contracts/upgrade/UpgradeBeacon.d.ts +40 -0
- package/dist/contracts/upgrade/UpgradeBeacon.d.ts.map +1 -0
- package/dist/contracts/upgrade/UpgradeBeacon.js +4 -0
- package/dist/contracts/upgrade/UpgradeBeacon.js.map +1 -0
- package/dist/{@openzeppelin/contracts/proxy/transparent/ProxyAdmin.d.ts → contracts/upgrade/UpgradeBeaconController.d.ts} +25 -60
- package/dist/contracts/upgrade/UpgradeBeaconController.d.ts.map +1 -0
- package/dist/contracts/upgrade/UpgradeBeaconController.js +4 -0
- package/dist/contracts/upgrade/UpgradeBeaconController.js.map +1 -0
- package/dist/{@openzeppelin/contracts/proxy/Proxy.d.ts → contracts/upgrade/UpgradeBeaconProxy.d.ts} +5 -5
- package/dist/contracts/upgrade/UpgradeBeaconProxy.d.ts.map +1 -0
- package/dist/contracts/upgrade/UpgradeBeaconProxy.js +4 -0
- package/dist/contracts/upgrade/UpgradeBeaconProxy.js.map +1 -0
- package/dist/contracts/upgrade/index.d.ts +3 -0
- package/dist/contracts/upgrade/index.d.ts.map +1 -1
- package/dist/contracts/validator-manager/InboxValidatorManager.d.ts +263 -0
- package/dist/contracts/validator-manager/InboxValidatorManager.d.ts.map +1 -0
- package/dist/contracts/validator-manager/InboxValidatorManager.js +4 -0
- package/dist/contracts/validator-manager/InboxValidatorManager.js.map +1 -0
- package/dist/contracts/validator-manager/MultisigValidatorManager.d.ts +239 -0
- package/dist/contracts/validator-manager/MultisigValidatorManager.d.ts.map +1 -0
- package/dist/contracts/validator-manager/MultisigValidatorManager.js +4 -0
- package/dist/contracts/validator-manager/MultisigValidatorManager.js.map +1 -0
- package/dist/contracts/validator-manager/OutboxValidatorManager.d.ts +335 -0
- package/dist/contracts/validator-manager/OutboxValidatorManager.d.ts.map +1 -0
- package/dist/contracts/validator-manager/OutboxValidatorManager.js +4 -0
- package/dist/contracts/validator-manager/OutboxValidatorManager.js.map +1 -0
- package/dist/contracts/validator-manager/index.d.ts +4 -0
- package/dist/contracts/validator-manager/index.d.ts.map +1 -0
- package/dist/{@openzeppelin/contracts/proxy/beacon → contracts/validator-manager}/index.js +0 -0
- package/dist/contracts/validator-manager/index.js.map +1 -0
- package/dist/factories/@openzeppelin/contracts/index.d.ts +0 -2
- package/dist/factories/@openzeppelin/contracts/index.d.ts.map +1 -1
- package/dist/factories/@openzeppelin/contracts/index.js +1 -3
- package/dist/factories/@openzeppelin/contracts/index.js.map +1 -1
- package/dist/factories/@openzeppelin/contracts-upgradeable/index.d.ts +1 -0
- package/dist/factories/@openzeppelin/contracts-upgradeable/index.d.ts.map +1 -1
- package/dist/factories/@openzeppelin/contracts-upgradeable/index.js +2 -1
- package/dist/factories/@openzeppelin/contracts-upgradeable/index.js.map +1 -1
- package/dist/factories/@openzeppelin/{contracts/proxy/ERC1967/ERC1967Upgrade__factory.d.ts → contracts-upgradeable/security/ReentrancyGuardUpgradeable__factory.d.ts} +5 -5
- package/dist/factories/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable__factory.d.ts.map +1 -0
- package/dist/factories/{contracts/PausableReentrancyGuard.sol/PausableReentrancyGuardUpgradeable__factory.js → @openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable__factory.js} +5 -5
- package/dist/factories/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable__factory.js.map +1 -0
- package/dist/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +2 -0
- package/dist/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts.map +1 -0
- package/dist/factories/@openzeppelin/contracts-upgradeable/security/index.js +9 -0
- package/dist/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -0
- package/dist/factories/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable__factory.d.ts +1 -1
- package/dist/factories/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable__factory.d.ts.map +1 -1
- package/dist/factories/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable__factory.js +1 -1
- package/dist/factories/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable__factory.js.map +1 -1
- package/dist/factories/contracts/{HyperlaneConnectionClient__factory.d.ts → AbacusConnectionClient__factory.d.ts} +5 -5
- package/dist/factories/contracts/AbacusConnectionClient__factory.d.ts.map +1 -0
- package/dist/factories/contracts/{HyperlaneConnectionClient__factory.js → AbacusConnectionClient__factory.js} +22 -61
- package/dist/factories/contracts/AbacusConnectionClient__factory.js.map +1 -0
- package/dist/factories/contracts/AbacusConnectionManager__factory.d.ts +55 -0
- package/dist/factories/contracts/AbacusConnectionManager__factory.d.ts.map +1 -0
- package/dist/factories/contracts/AbacusConnectionManager__factory.js +276 -0
- package/dist/factories/contracts/AbacusConnectionManager__factory.js.map +1 -0
- package/dist/factories/contracts/Create2Factory__factory.d.ts +1 -1
- package/dist/factories/contracts/Create2Factory__factory.js +1 -1
- package/dist/factories/contracts/Inbox__factory.d.ts +59 -0
- package/dist/factories/contracts/Inbox__factory.d.ts.map +1 -0
- package/dist/factories/contracts/Inbox__factory.js +278 -0
- package/dist/factories/contracts/Inbox__factory.js.map +1 -0
- package/dist/factories/contracts/InterchainGasPaymaster__factory.d.ts +1 -1
- package/dist/factories/contracts/InterchainGasPaymaster__factory.d.ts.map +1 -1
- package/dist/factories/contracts/InterchainGasPaymaster__factory.js +14 -19
- package/dist/factories/contracts/InterchainGasPaymaster__factory.js.map +1 -1
- package/dist/factories/contracts/Mailbox__factory.d.ts +13 -29
- package/dist/factories/contracts/Mailbox__factory.d.ts.map +1 -1
- package/dist/factories/contracts/Mailbox__factory.js +10 -327
- package/dist/factories/contracts/Mailbox__factory.js.map +1 -1
- package/dist/factories/contracts/MerkleTreeManager__factory.d.ts +31 -0
- package/dist/factories/contracts/MerkleTreeManager__factory.d.ts.map +1 -0
- package/dist/factories/contracts/MerkleTreeManager__factory.js +67 -0
- package/dist/factories/contracts/MerkleTreeManager__factory.js.map +1 -0
- package/dist/factories/contracts/Outbox__factory.d.ts +59 -0
- package/dist/factories/contracts/Outbox__factory.d.ts.map +1 -0
- package/dist/factories/contracts/Outbox__factory.js +415 -0
- package/dist/factories/contracts/Outbox__factory.js.map +1 -0
- package/dist/factories/contracts/OwnableMulticall__factory.d.ts +1 -1
- package/dist/factories/contracts/OwnableMulticall__factory.d.ts.map +1 -1
- package/dist/factories/contracts/OwnableMulticall__factory.js +1 -8
- package/dist/factories/contracts/OwnableMulticall__factory.js.map +1 -1
- package/dist/factories/contracts/Router__factory.d.ts.map +1 -1
- package/dist/factories/contracts/Router__factory.js +26 -65
- package/dist/factories/contracts/Router__factory.js.map +1 -1
- package/dist/factories/contracts/index.d.ts +6 -3
- package/dist/factories/contracts/index.d.ts.map +1 -1
- package/dist/factories/contracts/index.js +12 -5
- package/dist/factories/contracts/index.js.map +1 -1
- package/dist/factories/contracts/middleware/InterchainAccountRouter__factory.d.ts +2 -9
- package/dist/factories/contracts/middleware/InterchainAccountRouter__factory.d.ts.map +1 -1
- package/dist/factories/contracts/middleware/InterchainAccountRouter__factory.js +36 -80
- package/dist/factories/contracts/middleware/InterchainAccountRouter__factory.js.map +1 -1
- package/dist/factories/contracts/middleware/InterchainQueryRouter__factory.d.ts +1 -1
- package/dist/factories/contracts/middleware/InterchainQueryRouter__factory.d.ts.map +1 -1
- package/dist/factories/contracts/middleware/InterchainQueryRouter__factory.js +39 -85
- package/dist/factories/contracts/middleware/InterchainQueryRouter__factory.js.map +1 -1
- package/dist/factories/contracts/middleware/V2CompatibilityRouter__factory.d.ts +48 -0
- package/dist/factories/contracts/middleware/V2CompatibilityRouter__factory.d.ts.map +1 -0
- package/dist/factories/contracts/middleware/V2CompatibilityRouter__factory.js +389 -0
- package/dist/factories/contracts/middleware/V2CompatibilityRouter__factory.js.map +1 -0
- package/dist/factories/contracts/middleware/index.d.ts +1 -0
- package/dist/factories/contracts/middleware/index.d.ts.map +1 -1
- package/dist/factories/contracts/middleware/index.js +3 -1
- package/dist/factories/contracts/middleware/index.js.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/LiquidityLayerRouter__factory.d.ts +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/LiquidityLayerRouter__factory.d.ts.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/LiquidityLayerRouter__factory.js +34 -79
- package/dist/factories/contracts/middleware/liquidity-layer/LiquidityLayerRouter__factory.js.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/CircleBridgeAdapter__factory.d.ts +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/CircleBridgeAdapter__factory.d.ts.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/CircleBridgeAdapter__factory.js +32 -71
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/CircleBridgeAdapter__factory.js.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/PortalAdapter__factory.d.ts +48 -0
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/PortalAdapter__factory.d.ts.map +1 -0
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/PortalAdapter__factory.js +558 -0
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/PortalAdapter__factory.js.map +1 -0
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/index.d.ts +1 -0
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/index.d.ts.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/index.js +3 -1
- package/dist/factories/contracts/middleware/liquidity-layer/adapters/index.js.map +1 -1
- package/dist/factories/{interfaces → contracts/middleware/liquidity-layer/interfaces}/ILiquidityLayerMessageRecipient__factory.d.ts +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/ILiquidityLayerMessageRecipient__factory.d.ts.map +1 -0
- package/dist/factories/{interfaces → contracts/middleware/liquidity-layer/interfaces}/ILiquidityLayerMessageRecipient__factory.js +0 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/ILiquidityLayerMessageRecipient__factory.js.map +1 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/{ICircleBridge__factory.d.ts → ITokenMessenger__factory.d.ts} +5 -5
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/ITokenMessenger__factory.d.ts.map +1 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/{ICircleBridge__factory.js → ITokenMessenger__factory.js} +5 -5
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/ITokenMessenger__factory.js.map +1 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/index.d.ts +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/index.d.ts.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/index.js +3 -3
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/index.js.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/index.d.ts +2 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/index.d.ts.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/index.js +4 -1
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/index.js.map +1 -1
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/portal/IPortalTokenBridge__factory.d.ts +56 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/portal/IPortalTokenBridge__factory.d.ts.map +1 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/portal/IPortalTokenBridge__factory.js +204 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/portal/IPortalTokenBridge__factory.js.map +1 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/portal/index.d.ts +2 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/portal/index.d.ts.map +1 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/portal/index.js +9 -0
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/portal/index.js.map +1 -0
- package/dist/factories/contracts/mock/MockCircleBridge__factory.d.ts +1 -1
- package/dist/factories/contracts/mock/MockCircleBridge__factory.js +1 -1
- package/dist/factories/contracts/mock/MockCircleMessageTransmitter__factory.d.ts +1 -1
- package/dist/factories/contracts/mock/MockCircleMessageTransmitter__factory.js +1 -1
- package/dist/factories/contracts/mock/MockHyperlaneEnvironment__factory.d.ts +1 -1
- package/dist/factories/contracts/mock/MockHyperlaneEnvironment__factory.d.ts.map +1 -1
- package/dist/factories/contracts/mock/MockHyperlaneEnvironment__factory.js +26 -7
- package/dist/factories/contracts/mock/MockHyperlaneEnvironment__factory.js.map +1 -1
- package/dist/factories/contracts/mock/MockInbox__factory.d.ts +31 -0
- package/dist/factories/contracts/mock/MockInbox__factory.d.ts.map +1 -0
- package/dist/factories/contracts/mock/MockInbox__factory.js +76 -0
- package/dist/factories/contracts/mock/MockInbox__factory.js.map +1 -0
- package/dist/factories/contracts/mock/MockInterchainAccountRouter__factory.d.ts +1 -1
- package/dist/factories/contracts/mock/MockInterchainAccountRouter__factory.d.ts.map +1 -1
- package/dist/factories/contracts/mock/MockInterchainAccountRouter__factory.js +5 -307
- package/dist/factories/contracts/mock/MockInterchainAccountRouter__factory.js.map +1 -1
- package/dist/factories/contracts/mock/MockOutbox__factory.d.ts +45 -0
- package/dist/factories/contracts/mock/MockOutbox__factory.d.ts.map +1 -0
- package/dist/factories/contracts/mock/MockOutbox__factory.js +86 -0
- package/dist/factories/contracts/mock/MockOutbox__factory.js.map +1 -0
- package/dist/factories/contracts/mock/MockPortalBridge__factory.d.ts +79 -0
- package/dist/factories/contracts/mock/MockPortalBridge__factory.d.ts.map +1 -0
- package/dist/factories/contracts/mock/MockPortalBridge__factory.js +296 -0
- package/dist/factories/contracts/mock/MockPortalBridge__factory.js.map +1 -0
- package/dist/factories/contracts/mock/MockToken__factory.d.ts +1 -1
- package/dist/factories/contracts/mock/MockToken__factory.d.ts.map +1 -1
- package/dist/factories/contracts/mock/MockToken__factory.js +1 -1
- package/dist/factories/contracts/mock/MockToken__factory.js.map +1 -1
- package/dist/factories/contracts/mock/index.d.ts +3 -1
- package/dist/factories/contracts/mock/index.d.ts.map +1 -1
- package/dist/factories/contracts/mock/index.js +7 -3
- package/dist/factories/contracts/mock/index.js.map +1 -1
- package/dist/factories/contracts/test/MysteryMathV1__factory.d.ts +41 -0
- package/dist/factories/contracts/test/MysteryMathV1__factory.d.ts.map +1 -0
- package/dist/factories/contracts/test/MysteryMathV1__factory.js +122 -0
- package/dist/factories/contracts/test/MysteryMathV1__factory.js.map +1 -0
- package/dist/factories/contracts/test/MysteryMathV2__factory.d.ts +41 -0
- package/dist/factories/contracts/test/MysteryMathV2__factory.d.ts.map +1 -0
- package/dist/factories/contracts/test/MysteryMathV2__factory.js +122 -0
- package/dist/factories/contracts/test/MysteryMathV2__factory.js.map +1 -0
- package/dist/factories/{interfaces/IMultisigIsm__factory.d.ts → contracts/test/MysteryMath__factory.d.ts} +5 -5
- package/dist/factories/contracts/test/MysteryMath__factory.d.ts.map +1 -0
- package/dist/factories/contracts/test/MysteryMath__factory.js +81 -0
- package/dist/factories/contracts/test/MysteryMath__factory.js.map +1 -0
- package/dist/factories/contracts/test/TestAbacusConnectionClient__factory.d.ts +48 -0
- package/dist/factories/contracts/test/TestAbacusConnectionClient__factory.d.ts.map +1 -0
- package/dist/factories/contracts/test/TestAbacusConnectionClient__factory.js +242 -0
- package/dist/factories/contracts/test/TestAbacusConnectionClient__factory.js.map +1 -0
- package/dist/factories/contracts/test/TestInbox__factory.d.ts +59 -0
- package/dist/factories/contracts/test/TestInbox__factory.d.ts.map +1 -0
- package/dist/factories/contracts/test/TestInbox__factory.js +371 -0
- package/dist/factories/contracts/test/TestInbox__factory.js.map +1 -0
- package/dist/factories/contracts/test/TestLiquidityLayerMessageRecipient__factory.d.ts +1 -1
- package/dist/factories/contracts/test/TestLiquidityLayerMessageRecipient__factory.js +1 -1
- package/dist/factories/contracts/test/TestMailbox__factory.d.ts +8 -1
- package/dist/factories/contracts/test/TestMailbox__factory.d.ts.map +1 -1
- package/dist/factories/contracts/test/TestMailbox__factory.js +11 -322
- package/dist/factories/contracts/test/TestMailbox__factory.js.map +1 -1
- package/dist/factories/contracts/test/TestMerkle__factory.d.ts +1 -1
- package/dist/factories/contracts/test/TestMerkle__factory.js +1 -1
- package/dist/factories/contracts/test/TestMessage__factory.d.ts +1 -1
- package/dist/factories/contracts/test/TestMessage__factory.d.ts.map +1 -1
- package/dist/factories/contracts/test/TestMessage__factory.js +7 -40
- package/dist/factories/contracts/test/TestMessage__factory.js.map +1 -1
- package/dist/factories/contracts/test/TestMultisigValidatorManager__factory.d.ts +59 -0
- package/dist/factories/contracts/test/TestMultisigValidatorManager__factory.d.ts.map +1 -0
- package/dist/factories/contracts/test/TestMultisigValidatorManager__factory.js +349 -0
- package/dist/factories/contracts/test/TestMultisigValidatorManager__factory.js.map +1 -0
- package/dist/factories/contracts/test/TestOutbox__factory.d.ts +59 -0
- package/dist/factories/contracts/test/TestOutbox__factory.d.ts.map +1 -0
- package/dist/factories/contracts/test/TestOutbox__factory.js +483 -0
- package/dist/factories/contracts/test/TestOutbox__factory.js.map +1 -0
- package/dist/factories/contracts/test/TestQuerySender__factory.d.ts +1 -1
- package/dist/factories/contracts/test/TestQuerySender__factory.d.ts.map +1 -1
- package/dist/factories/contracts/test/TestQuerySender__factory.js +1 -1
- package/dist/factories/contracts/test/TestQuerySender__factory.js.map +1 -1
- package/dist/factories/contracts/test/TestQuery__factory.d.ts +1 -1
- package/dist/factories/contracts/test/TestQuery__factory.js +1 -1
- package/dist/factories/contracts/test/TestRecipient__factory.d.ts +1 -1
- package/dist/factories/contracts/test/TestRecipient__factory.js +1 -1
- package/dist/factories/contracts/test/TestRouter__factory.d.ts +1 -1
- package/dist/factories/contracts/test/TestRouter__factory.d.ts.map +1 -1
- package/dist/factories/contracts/test/TestRouter__factory.js +34 -83
- package/dist/factories/contracts/test/TestRouter__factory.js.map +1 -1
- package/dist/factories/contracts/test/TestSendReceiver__factory.d.ts +1 -12
- package/dist/factories/contracts/test/TestSendReceiver__factory.d.ts.map +1 -1
- package/dist/factories/contracts/test/TestSendReceiver__factory.js +3 -16
- package/dist/factories/contracts/test/TestSendReceiver__factory.js.map +1 -1
- package/dist/factories/contracts/test/TestTokenRecipient__factory.d.ts +1 -1
- package/dist/factories/contracts/test/TestTokenRecipient__factory.js +1 -1
- package/dist/factories/contracts/test/TestValidatorManager__factory.d.ts +31 -0
- package/dist/factories/contracts/test/TestValidatorManager__factory.d.ts.map +1 -0
- package/dist/factories/contracts/test/TestValidatorManager__factory.js +79 -0
- package/dist/factories/contracts/test/TestValidatorManager__factory.js.map +1 -0
- package/dist/factories/contracts/test/bad-recipient/BadRecipient1__factory.d.ts +1 -1
- package/dist/factories/contracts/test/bad-recipient/BadRecipient1__factory.js +1 -1
- package/dist/factories/contracts/test/bad-recipient/BadRecipient2__factory.d.ts +1 -1
- package/dist/factories/contracts/test/bad-recipient/BadRecipient2__factory.js +1 -1
- package/dist/factories/contracts/test/bad-recipient/BadRecipient3__factory.d.ts +1 -1
- package/dist/factories/contracts/test/bad-recipient/BadRecipient3__factory.js +1 -1
- package/dist/factories/contracts/test/bad-recipient/BadRecipient5__factory.d.ts +1 -1
- package/dist/factories/contracts/test/bad-recipient/BadRecipient5__factory.js +1 -1
- package/dist/factories/contracts/test/bad-recipient/BadRecipient6__factory.d.ts +1 -1
- package/dist/factories/contracts/test/bad-recipient/BadRecipient6__factory.js +1 -1
- package/dist/factories/contracts/test/index.d.ts +8 -3
- package/dist/factories/contracts/test/index.d.ts.map +1 -1
- package/dist/factories/contracts/test/index.js +17 -7
- package/dist/factories/contracts/test/index.js.map +1 -1
- package/dist/factories/contracts/upgrade/UpgradeBeaconController__factory.d.ts +55 -0
- package/dist/factories/contracts/upgrade/UpgradeBeaconController__factory.d.ts.map +1 -0
- package/dist/factories/contracts/upgrade/UpgradeBeaconController__factory.js +130 -0
- package/dist/factories/contracts/upgrade/UpgradeBeaconController__factory.js.map +1 -0
- package/dist/factories/contracts/upgrade/UpgradeBeaconProxy__factory.d.ts +33 -0
- package/dist/factories/contracts/upgrade/UpgradeBeaconProxy__factory.d.ts.map +1 -0
- package/dist/factories/contracts/upgrade/UpgradeBeaconProxy__factory.js +65 -0
- package/dist/factories/contracts/upgrade/UpgradeBeaconProxy__factory.js.map +1 -0
- package/dist/factories/contracts/upgrade/UpgradeBeacon__factory.d.ts +48 -0
- package/dist/factories/contracts/upgrade/UpgradeBeacon__factory.d.ts.map +1 -0
- package/dist/factories/contracts/upgrade/UpgradeBeacon__factory.js +74 -0
- package/dist/factories/contracts/upgrade/UpgradeBeacon__factory.js.map +1 -0
- package/dist/factories/contracts/upgrade/Versioned__factory.d.ts +1 -1
- package/dist/factories/contracts/upgrade/Versioned__factory.js +1 -1
- package/dist/factories/contracts/upgrade/index.d.ts +3 -0
- package/dist/factories/contracts/upgrade/index.d.ts.map +1 -1
- package/dist/factories/contracts/upgrade/index.js +7 -1
- package/dist/factories/contracts/upgrade/index.js.map +1 -1
- package/dist/factories/contracts/validator-manager/InboxValidatorManager__factory.d.ts +59 -0
- package/dist/factories/contracts/validator-manager/InboxValidatorManager__factory.d.ts.map +1 -0
- package/dist/factories/contracts/validator-manager/InboxValidatorManager__factory.js +373 -0
- package/dist/factories/contracts/validator-manager/InboxValidatorManager__factory.js.map +1 -0
- package/dist/factories/contracts/validator-manager/MultisigValidatorManager__factory.d.ts +36 -0
- package/dist/factories/contracts/validator-manager/MultisigValidatorManager__factory.d.ts.map +1 -0
- package/dist/factories/contracts/validator-manager/MultisigValidatorManager__factory.js +286 -0
- package/dist/factories/contracts/validator-manager/MultisigValidatorManager__factory.js.map +1 -0
- package/dist/factories/contracts/validator-manager/OutboxValidatorManager__factory.d.ts +59 -0
- package/dist/factories/contracts/validator-manager/OutboxValidatorManager__factory.d.ts.map +1 -0
- package/dist/factories/contracts/validator-manager/OutboxValidatorManager__factory.js +560 -0
- package/dist/factories/contracts/validator-manager/OutboxValidatorManager__factory.js.map +1 -0
- package/dist/factories/contracts/validator-manager/index.d.ts +4 -0
- package/dist/factories/contracts/validator-manager/index.d.ts.map +1 -0
- package/dist/factories/contracts/validator-manager/index.js +13 -0
- package/dist/factories/contracts/validator-manager/index.js.map +1 -0
- package/dist/factories/interfaces/{IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.d.ts → IAbacusConnectionManager__factory.d.ts} +5 -5
- package/dist/factories/interfaces/IAbacusConnectionManager__factory.d.ts.map +1 -0
- package/dist/factories/interfaces/IAbacusConnectionManager__factory.js +63 -0
- package/dist/factories/interfaces/IAbacusConnectionManager__factory.js.map +1 -0
- package/dist/factories/interfaces/IInbox__factory.d.ts +29 -0
- package/dist/factories/interfaces/IInbox__factory.d.ts.map +1 -0
- package/dist/factories/interfaces/{IMultisigIsm__factory.js → IInbox__factory.js} +43 -57
- package/dist/factories/interfaces/IInbox__factory.js.map +1 -0
- package/dist/factories/interfaces/IInterchainAccountRouter__factory.js +4 -4
- package/dist/factories/interfaces/IInterchainGasPaymaster__factory.d.ts.map +1 -1
- package/dist/factories/interfaces/IInterchainGasPaymaster__factory.js +8 -13
- package/dist/factories/interfaces/IInterchainGasPaymaster__factory.js.map +1 -1
- package/dist/factories/interfaces/IInterchainQueryRouter__factory.js +6 -6
- package/dist/factories/interfaces/IMailbox__factory.d.ts +1 -5
- package/dist/factories/interfaces/IMailbox__factory.d.ts.map +1 -1
- package/dist/factories/interfaces/IMailbox__factory.js +3 -81
- package/dist/factories/interfaces/IMailbox__factory.js.map +1 -1
- package/dist/factories/{@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.d.ts → interfaces/IMultisigValidatorManager__factory.d.ts} +5 -5
- package/dist/factories/interfaces/IMultisigValidatorManager__factory.d.ts.map +1 -0
- package/dist/factories/interfaces/IMultisigValidatorManager__factory.js +57 -0
- package/dist/factories/interfaces/IMultisigValidatorManager__factory.js.map +1 -0
- package/dist/factories/interfaces/{ILiquidityLayerRouter__factory.d.ts → IOutbox__factory.d.ts} +5 -5
- package/dist/factories/interfaces/IOutbox__factory.d.ts.map +1 -0
- package/dist/factories/interfaces/IOutbox__factory.js +155 -0
- package/dist/factories/interfaces/IOutbox__factory.js.map +1 -0
- package/dist/factories/interfaces/index.d.ts +4 -4
- package/dist/factories/interfaces/index.d.ts.map +1 -1
- package/dist/factories/interfaces/index.js +9 -31
- package/dist/factories/interfaces/index.js.map +1 -1
- package/dist/index.d.ts +64 -40
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +66 -42
- package/dist/index.js.map +1 -1
- package/dist/interfaces/IAbacusConnectionManager.d.ts +59 -0
- package/dist/interfaces/IAbacusConnectionManager.d.ts.map +1 -0
- package/dist/interfaces/IAbacusConnectionManager.js +4 -0
- package/dist/interfaces/IAbacusConnectionManager.js.map +1 -0
- package/dist/interfaces/IInbox.d.ts +83 -0
- package/dist/interfaces/IInbox.d.ts.map +1 -0
- package/dist/{@openzeppelin/contracts/proxy/index.js → interfaces/IInbox.js} +1 -1
- package/dist/interfaces/IInbox.js.map +1 -0
- package/dist/interfaces/IInterchainAccountRouter.d.ts +2 -2
- package/dist/interfaces/IInterchainAccountRouter.d.ts.map +1 -1
- package/dist/interfaces/IInterchainGasPaymaster.d.ts +9 -9
- package/dist/interfaces/IInterchainGasPaymaster.d.ts.map +1 -1
- package/dist/interfaces/IInterchainQueryRouter.d.ts +3 -3
- package/dist/interfaces/IInterchainQueryRouter.d.ts.map +1 -1
- package/dist/interfaces/IMailbox.d.ts +10 -58
- package/dist/interfaces/IMailbox.d.ts.map +1 -1
- package/dist/interfaces/IMultisigValidatorManager.d.ts +59 -0
- package/dist/interfaces/IMultisigValidatorManager.d.ts.map +1 -0
- package/dist/interfaces/IMultisigValidatorManager.js +4 -0
- package/dist/interfaces/IMultisigValidatorManager.js.map +1 -0
- package/dist/interfaces/IOutbox.d.ts +148 -0
- package/dist/interfaces/IOutbox.d.ts.map +1 -0
- package/dist/{@openzeppelin/contracts/proxy/beacon/IBeacon.js → interfaces/IOutbox.js} +1 -1
- package/dist/interfaces/IOutbox.js.map +1 -0
- package/dist/interfaces/index.d.ts +4 -5
- package/dist/interfaces/index.d.ts.map +1 -1
- package/dist/interfaces/index.js +0 -1
- package/dist/interfaces/index.js.map +1 -1
- package/interfaces/IInterchainSecurityModule.sol +15 -1
- package/interfaces/IMailbox.sol +7 -0
- package/interfaces/IMultisigIsm.sol +10 -9
- package/package.json +4 -3
- package/dist/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.d.ts +0 -43
- package/dist/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.js.map +0 -1
- package/dist/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts +0 -2
- package/dist/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js.map +0 -1
- package/dist/@openzeppelin/contracts/interfaces/index.d.ts +0 -3
- package/dist/@openzeppelin/contracts/interfaces/index.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/interfaces/index.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.d.ts +0 -64
- package/dist/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.d.ts +0 -64
- package/dist/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +0 -3
- package/dist/@openzeppelin/contracts/proxy/ERC1967/index.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/ERC1967/index.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/Proxy.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/Proxy.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/beacon/IBeacon.d.ts +0 -43
- package/dist/@openzeppelin/contracts/proxy/beacon/IBeacon.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/beacon/IBeacon.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/beacon/index.d.ts +0 -2
- package/dist/@openzeppelin/contracts/proxy/beacon/index.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/beacon/index.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/index.d.ts +0 -8
- package/dist/@openzeppelin/contracts/proxy/index.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/index.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.js +0 -4
- package/dist/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.d.ts +0 -150
- package/dist/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js +0 -4
- package/dist/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/transparent/index.d.ts +0 -3
- package/dist/@openzeppelin/contracts/proxy/transparent/index.d.ts.map +0 -1
- package/dist/@openzeppelin/contracts/proxy/transparent/index.js +0 -3
- package/dist/@openzeppelin/contracts/proxy/transparent/index.js.map +0 -1
- package/dist/contracts/HyperlaneConnectionClient.d.ts.map +0 -1
- package/dist/contracts/HyperlaneConnectionClient.js +0 -4
- package/dist/contracts/HyperlaneConnectionClient.js.map +0 -1
- package/dist/contracts/PausableReentrancyGuard.sol/PausableReentrancyGuardUpgradeable.d.ts.map +0 -1
- package/dist/contracts/PausableReentrancyGuard.sol/PausableReentrancyGuardUpgradeable.js +0 -4
- package/dist/contracts/PausableReentrancyGuard.sol/PausableReentrancyGuardUpgradeable.js.map +0 -1
- package/dist/contracts/PausableReentrancyGuard.sol/index.d.ts +0 -2
- package/dist/contracts/PausableReentrancyGuard.sol/index.d.ts.map +0 -1
- package/dist/contracts/PausableReentrancyGuard.sol/index.js +0 -3
- package/dist/contracts/PausableReentrancyGuard.sol/index.js.map +0 -1
- package/dist/contracts/isms/MultisigIsm.d.ts +0 -274
- package/dist/contracts/isms/MultisigIsm.d.ts.map +0 -1
- package/dist/contracts/isms/MultisigIsm.js +0 -4
- package/dist/contracts/isms/MultisigIsm.js.map +0 -1
- package/dist/contracts/isms/index.d.ts +0 -2
- package/dist/contracts/isms/index.d.ts.map +0 -1
- package/dist/contracts/isms/index.js +0 -3
- package/dist/contracts/isms/index.js.map +0 -1
- package/dist/contracts/middleware/liquidity-layer/interfaces/circle/ICircleBridge.d.ts.map +0 -1
- package/dist/contracts/middleware/liquidity-layer/interfaces/circle/ICircleBridge.js +0 -4
- package/dist/contracts/middleware/liquidity-layer/interfaces/circle/ICircleBridge.js.map +0 -1
- package/dist/contracts/mock/MockMailbox.d.ts +0 -185
- package/dist/contracts/mock/MockMailbox.d.ts.map +0 -1
- package/dist/contracts/mock/MockMailbox.js +0 -4
- package/dist/contracts/mock/MockMailbox.js.map +0 -1
- package/dist/contracts/test/TestHyperlaneConnectionClient.d.ts.map +0 -1
- package/dist/contracts/test/TestHyperlaneConnectionClient.js +0 -4
- package/dist/contracts/test/TestHyperlaneConnectionClient.js.map +0 -1
- package/dist/contracts/test/TestIsm.d.ts +0 -67
- package/dist/contracts/test/TestIsm.d.ts.map +0 -1
- package/dist/contracts/test/TestIsm.js +0 -4
- package/dist/contracts/test/TestIsm.js.map +0 -1
- package/dist/contracts/test/TestMultisigIsm.d.ts +0 -290
- package/dist/contracts/test/TestMultisigIsm.d.ts.map +0 -1
- package/dist/contracts/test/TestMultisigIsm.js +0 -4
- package/dist/contracts/test/TestMultisigIsm.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.js +0 -31
- package/dist/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts +0 -2
- package/dist/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js +0 -9
- package/dist/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -2
- package/dist/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/interfaces/index.js +0 -31
- package/dist/factories/@openzeppelin/contracts/interfaces/index.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +0 -48
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +0 -110
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.js +0 -63
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade__factory.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +0 -3
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/index.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/index.js +0 -11
- package/dist/factories/@openzeppelin/contracts/proxy/ERC1967/index.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/Proxy__factory.d.ts +0 -12
- package/dist/factories/@openzeppelin/contracts/proxy/Proxy__factory.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/Proxy__factory.js +0 -26
- package/dist/factories/@openzeppelin/contracts/proxy/Proxy__factory.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.d.ts +0 -19
- package/dist/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.js +0 -31
- package/dist/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +0 -2
- package/dist/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/beacon/index.js +0 -9
- package/dist/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/index.d.ts +0 -5
- package/dist/factories/@openzeppelin/contracts/proxy/index.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/index.js +0 -35
- package/dist/factories/@openzeppelin/contracts/proxy/index.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +0 -48
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +0 -190
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.d.ts +0 -73
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js +0 -185
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts +0 -3
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts.map +0 -1
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/index.js +0 -11
- package/dist/factories/@openzeppelin/contracts/proxy/transparent/index.js.map +0 -1
- package/dist/factories/contracts/HyperlaneConnectionClient__factory.d.ts.map +0 -1
- package/dist/factories/contracts/HyperlaneConnectionClient__factory.js.map +0 -1
- package/dist/factories/contracts/PausableReentrancyGuard.sol/PausableReentrancyGuardUpgradeable__factory.d.ts +0 -19
- package/dist/factories/contracts/PausableReentrancyGuard.sol/PausableReentrancyGuardUpgradeable__factory.d.ts.map +0 -1
- package/dist/factories/contracts/PausableReentrancyGuard.sol/PausableReentrancyGuardUpgradeable__factory.js.map +0 -1
- package/dist/factories/contracts/PausableReentrancyGuard.sol/index.d.ts +0 -2
- package/dist/factories/contracts/PausableReentrancyGuard.sol/index.d.ts.map +0 -1
- package/dist/factories/contracts/PausableReentrancyGuard.sol/index.js +0 -9
- package/dist/factories/contracts/PausableReentrancyGuard.sol/index.js.map +0 -1
- package/dist/factories/contracts/isms/MultisigIsm__factory.d.ts +0 -55
- package/dist/factories/contracts/isms/MultisigIsm__factory.d.ts.map +0 -1
- package/dist/factories/contracts/isms/MultisigIsm__factory.js +0 -400
- package/dist/factories/contracts/isms/MultisigIsm__factory.js.map +0 -1
- package/dist/factories/contracts/isms/index.d.ts +0 -2
- package/dist/factories/contracts/isms/index.d.ts.map +0 -1
- package/dist/factories/contracts/isms/index.js +0 -9
- package/dist/factories/contracts/isms/index.js.map +0 -1
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/ICircleBridge__factory.d.ts.map +0 -1
- package/dist/factories/contracts/middleware/liquidity-layer/interfaces/circle/ICircleBridge__factory.js.map +0 -1
- package/dist/factories/contracts/mock/MockMailbox__factory.d.ts +0 -45
- package/dist/factories/contracts/mock/MockMailbox__factory.d.ts.map +0 -1
- package/dist/factories/contracts/mock/MockMailbox__factory.js +0 -252
- package/dist/factories/contracts/mock/MockMailbox__factory.js.map +0 -1
- package/dist/factories/contracts/test/TestHyperlaneConnectionClient__factory.d.ts +0 -55
- package/dist/factories/contracts/test/TestHyperlaneConnectionClient__factory.d.ts.map +0 -1
- package/dist/factories/contracts/test/TestHyperlaneConnectionClient__factory.js +0 -249
- package/dist/factories/contracts/test/TestHyperlaneConnectionClient__factory.js.map +0 -1
- package/dist/factories/contracts/test/TestIsm__factory.d.ts +0 -35
- package/dist/factories/contracts/test/TestIsm__factory.d.ts.map +0 -1
- package/dist/factories/contracts/test/TestIsm__factory.js +0 -91
- package/dist/factories/contracts/test/TestIsm__factory.js.map +0 -1
- package/dist/factories/contracts/test/TestMultisigIsm__factory.d.ts +0 -48
- package/dist/factories/contracts/test/TestMultisigIsm__factory.d.ts.map +0 -1
- package/dist/factories/contracts/test/TestMultisigIsm__factory.js +0 -443
- package/dist/factories/contracts/test/TestMultisigIsm__factory.js.map +0 -1
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.d.ts.map +0 -1
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.js +0 -42
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule__factory.js.map +0 -1
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.d.ts +0 -19
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.d.ts.map +0 -1
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.js +0 -31
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule__factory.js.map +0 -1
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/index.d.ts +0 -3
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/index.d.ts.map +0 -1
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/index.js +0 -11
- package/dist/factories/interfaces/IInterchainSecurityModule.sol/index.js.map +0 -1
- package/dist/factories/interfaces/ILiquidityLayerMessageRecipient__factory.d.ts.map +0 -1
- package/dist/factories/interfaces/ILiquidityLayerMessageRecipient__factory.js.map +0 -1
- package/dist/factories/interfaces/ILiquidityLayerRouter__factory.d.ts.map +0 -1
- package/dist/factories/interfaces/ILiquidityLayerRouter__factory.js +0 -62
- package/dist/factories/interfaces/ILiquidityLayerRouter__factory.js.map +0 -1
- package/dist/factories/interfaces/IMultisigIsm__factory.d.ts.map +0 -1
- package/dist/factories/interfaces/IMultisigIsm__factory.js.map +0 -1
- package/dist/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.d.ts.map +0 -1
- package/dist/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.js +0 -4
- package/dist/interfaces/IInterchainSecurityModule.sol/IInterchainSecurityModule.js.map +0 -1
- package/dist/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.d.ts +0 -43
- package/dist/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.d.ts.map +0 -1
- package/dist/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.js +0 -4
- package/dist/interfaces/IInterchainSecurityModule.sol/ISpecifiesInterchainSecurityModule.js.map +0 -1
- package/dist/interfaces/IInterchainSecurityModule.sol/index.d.ts +0 -3
- package/dist/interfaces/IInterchainSecurityModule.sol/index.d.ts.map +0 -1
- package/dist/interfaces/IInterchainSecurityModule.sol/index.js +0 -3
- package/dist/interfaces/IInterchainSecurityModule.sol/index.js.map +0 -1
- package/dist/interfaces/ILiquidityLayerMessageRecipient.d.ts.map +0 -1
- package/dist/interfaces/ILiquidityLayerMessageRecipient.js.map +0 -1
- package/dist/interfaces/ILiquidityLayerRouter.d.ts +0 -51
- package/dist/interfaces/ILiquidityLayerRouter.d.ts.map +0 -1
- package/dist/interfaces/ILiquidityLayerRouter.js +0 -4
- package/dist/interfaces/ILiquidityLayerRouter.js.map +0 -1
- package/dist/interfaces/IMultisigIsm.d.ts +0 -75
- package/dist/interfaces/IMultisigIsm.d.ts.map +0 -1
- package/dist/interfaces/IMultisigIsm.js +0 -4
- package/dist/interfaces/IMultisigIsm.js.map +0 -1
package/contracts/Mailbox.sol
CHANGED
|
@@ -112,11 +112,15 @@ contract Mailbox is
|
|
|
112
112
|
localDomain = _localDomain;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
// ============
|
|
115
|
+
// ============ Initializers ============
|
|
116
116
|
|
|
117
|
-
function initialize(address _defaultIsm)
|
|
117
|
+
function initialize(address _owner, address _defaultIsm)
|
|
118
|
+
external
|
|
119
|
+
initializer
|
|
120
|
+
{
|
|
118
121
|
__PausableReentrancyGuard_init();
|
|
119
122
|
__Ownable_init();
|
|
123
|
+
transferOwnership(_owner);
|
|
120
124
|
_setDefaultIsm(_defaultIsm);
|
|
121
125
|
}
|
|
122
126
|
|
|
@@ -188,8 +192,8 @@ contract Mailbox is
|
|
|
188
192
|
delivered[_id] = true;
|
|
189
193
|
|
|
190
194
|
// Verify the message via the ISM.
|
|
191
|
-
IInterchainSecurityModule _ism =
|
|
192
|
-
|
|
195
|
+
IInterchainSecurityModule _ism = IInterchainSecurityModule(
|
|
196
|
+
recipientIsm(_message.recipientAddress())
|
|
193
197
|
);
|
|
194
198
|
require(_ism.verify(_metadata, _message), "!module");
|
|
195
199
|
|
|
@@ -253,26 +257,14 @@ contract Mailbox is
|
|
|
253
257
|
return _isPaused();
|
|
254
258
|
}
|
|
255
259
|
|
|
256
|
-
// ============ Internal Functions ============
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* @notice Sets the default ISM for the Mailbox.
|
|
260
|
-
* @param _module The new default ISM. Must be a contract.
|
|
261
|
-
*/
|
|
262
|
-
function _setDefaultIsm(address _module) internal {
|
|
263
|
-
require(Address.isContract(_module), "!contract");
|
|
264
|
-
defaultIsm = IInterchainSecurityModule(_module);
|
|
265
|
-
emit DefaultIsmSet(_module);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
260
|
/**
|
|
269
261
|
* @notice Returns the ISM to use for the recipient, defaulting to the
|
|
270
262
|
* default ISM if none is specified.
|
|
271
263
|
* @param _recipient The message recipient whose ISM should be returned.
|
|
272
264
|
* @return The ISM to use for `_recipient`.
|
|
273
265
|
*/
|
|
274
|
-
function
|
|
275
|
-
|
|
266
|
+
function recipientIsm(address _recipient)
|
|
267
|
+
public
|
|
276
268
|
view
|
|
277
269
|
returns (IInterchainSecurityModule)
|
|
278
270
|
{
|
|
@@ -280,9 +272,10 @@ contract Mailbox is
|
|
|
280
272
|
// recipient.
|
|
281
273
|
// This is useful for backwards compatibility and for convenience as
|
|
282
274
|
// recipients are not mandated to specify an ISM.
|
|
283
|
-
try
|
|
284
|
-
|
|
285
|
-
|
|
275
|
+
try
|
|
276
|
+
ISpecifiesInterchainSecurityModule(_recipient)
|
|
277
|
+
.interchainSecurityModule()
|
|
278
|
+
returns (IInterchainSecurityModule _val) {
|
|
286
279
|
// If the recipient specifies a zero address, use the default ISM.
|
|
287
280
|
if (address(_val) != address(0)) {
|
|
288
281
|
return _val;
|
|
@@ -290,4 +283,16 @@ contract Mailbox is
|
|
|
290
283
|
} catch {}
|
|
291
284
|
return defaultIsm;
|
|
292
285
|
}
|
|
286
|
+
|
|
287
|
+
// ============ Internal Functions ============
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @notice Sets the default ISM for the Mailbox.
|
|
291
|
+
* @param _module The new default ISM. Must be a contract.
|
|
292
|
+
*/
|
|
293
|
+
function _setDefaultIsm(address _module) internal {
|
|
294
|
+
require(Address.isContract(_module), "!contract");
|
|
295
|
+
defaultIsm = IInterchainSecurityModule(_module);
|
|
296
|
+
emit DefaultIsmSet(_module);
|
|
297
|
+
}
|
|
293
298
|
}
|
package/contracts/Router.sol
CHANGED
|
@@ -6,14 +6,16 @@ import {HyperlaneConnectionClient} from "./HyperlaneConnectionClient.sol";
|
|
|
6
6
|
import {IInterchainGasPaymaster} from "../interfaces/IInterchainGasPaymaster.sol";
|
|
7
7
|
import {IMessageRecipient} from "../interfaces/IMessageRecipient.sol";
|
|
8
8
|
import {IMailbox} from "../interfaces/IMailbox.sol";
|
|
9
|
+
import {EnumerableMapExtended} from "./libs/EnumerableMapExtended.sol";
|
|
9
10
|
|
|
10
11
|
abstract contract Router is HyperlaneConnectionClient, IMessageRecipient {
|
|
12
|
+
using EnumerableMapExtended for EnumerableMapExtended.UintToBytes32Map;
|
|
13
|
+
|
|
11
14
|
string constant NO_ROUTER_ENROLLED_REVERT_MESSAGE =
|
|
12
15
|
"No router enrolled for domain. Did you specify the right domain ID?";
|
|
13
16
|
|
|
14
17
|
// ============ Mutable Storage ============
|
|
15
|
-
|
|
16
|
-
mapping(uint32 => bytes32) public routers;
|
|
18
|
+
EnumerableMapExtended.UintToBytes32Map internal _routers;
|
|
17
19
|
uint256[49] private __GAP; // gap for upgrade safety
|
|
18
20
|
|
|
19
21
|
// ============ Events ============
|
|
@@ -54,7 +56,35 @@ abstract contract Router is HyperlaneConnectionClient, IMessageRecipient {
|
|
|
54
56
|
);
|
|
55
57
|
}
|
|
56
58
|
|
|
59
|
+
function __Router_initialize(
|
|
60
|
+
address _mailbox,
|
|
61
|
+
address _interchainGasPaymaster,
|
|
62
|
+
address _interchainSecurityModule
|
|
63
|
+
) internal onlyInitializing {
|
|
64
|
+
__HyperlaneConnectionClient_initialize(
|
|
65
|
+
_mailbox,
|
|
66
|
+
_interchainGasPaymaster,
|
|
67
|
+
_interchainSecurityModule
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
57
71
|
// ============ External functions ============
|
|
72
|
+
function domains() external view returns (uint32[] memory) {
|
|
73
|
+
bytes32[] storage rawKeys = _routers.keys();
|
|
74
|
+
uint32[] memory keys = new uint32[](rawKeys.length);
|
|
75
|
+
for (uint256 i = 0; i < rawKeys.length; i++) {
|
|
76
|
+
keys[i] = uint32(uint256(rawKeys[i]));
|
|
77
|
+
}
|
|
78
|
+
return keys;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function routers(uint32 _domain) public view returns (bytes32) {
|
|
82
|
+
if (_routers.contains(_domain)) {
|
|
83
|
+
return _routers.get(_domain);
|
|
84
|
+
} else {
|
|
85
|
+
return bytes32(0); // for backwards compatibility with storage mapping
|
|
86
|
+
}
|
|
87
|
+
}
|
|
58
88
|
|
|
59
89
|
/**
|
|
60
90
|
* @notice Register the address of a Router contract for the same Application on a remote chain
|
|
@@ -72,15 +102,15 @@ abstract contract Router is HyperlaneConnectionClient, IMessageRecipient {
|
|
|
72
102
|
/**
|
|
73
103
|
* @notice Batch version of `enrollRemoteRouter`
|
|
74
104
|
* @param _domains The domaisn of the remote Application Routers
|
|
75
|
-
* @param
|
|
105
|
+
* @param _addresses The addresses of the remote Application Routers
|
|
76
106
|
*/
|
|
77
107
|
function enrollRemoteRouters(
|
|
78
108
|
uint32[] calldata _domains,
|
|
79
|
-
bytes32[] calldata
|
|
109
|
+
bytes32[] calldata _addresses
|
|
80
110
|
) external virtual onlyOwner {
|
|
81
|
-
require(_domains.length ==
|
|
111
|
+
require(_domains.length == _addresses.length, "!length");
|
|
82
112
|
for (uint256 i = 0; i < _domains.length; i += 1) {
|
|
83
|
-
_enrollRemoteRouter(_domains[i],
|
|
113
|
+
_enrollRemoteRouter(_domains[i], _addresses[i]);
|
|
84
114
|
}
|
|
85
115
|
}
|
|
86
116
|
|
|
@@ -111,24 +141,24 @@ abstract contract Router is HyperlaneConnectionClient, IMessageRecipient {
|
|
|
111
141
|
/**
|
|
112
142
|
* @notice Set the router for a given domain
|
|
113
143
|
* @param _domain The domain
|
|
114
|
-
* @param
|
|
144
|
+
* @param _address The new router
|
|
115
145
|
*/
|
|
116
|
-
function _enrollRemoteRouter(uint32 _domain, bytes32
|
|
117
|
-
|
|
118
|
-
emit RemoteRouterEnrolled(_domain,
|
|
146
|
+
function _enrollRemoteRouter(uint32 _domain, bytes32 _address) internal {
|
|
147
|
+
_routers.set(_domain, _address);
|
|
148
|
+
emit RemoteRouterEnrolled(_domain, _address);
|
|
119
149
|
}
|
|
120
150
|
|
|
121
151
|
/**
|
|
122
152
|
* @notice Return true if the given domain / router is the address of a remote Application Router
|
|
123
153
|
* @param _domain The domain of the potential remote Application Router
|
|
124
|
-
* @param
|
|
154
|
+
* @param _address The address of the potential remote Application Router
|
|
125
155
|
*/
|
|
126
|
-
function _isRemoteRouter(uint32 _domain, bytes32
|
|
156
|
+
function _isRemoteRouter(uint32 _domain, bytes32 _address)
|
|
127
157
|
internal
|
|
128
158
|
view
|
|
129
159
|
returns (bool)
|
|
130
160
|
{
|
|
131
|
-
return routers
|
|
161
|
+
return routers(_domain) == _address;
|
|
132
162
|
}
|
|
133
163
|
|
|
134
164
|
/**
|
|
@@ -141,7 +171,7 @@ abstract contract Router is HyperlaneConnectionClient, IMessageRecipient {
|
|
|
141
171
|
view
|
|
142
172
|
returns (bytes32 _router)
|
|
143
173
|
{
|
|
144
|
-
_router = routers
|
|
174
|
+
_router = routers(_domain);
|
|
145
175
|
require(_router != bytes32(0), NO_ROUTER_ENROLLED_REVERT_MESSAGE);
|
|
146
176
|
}
|
|
147
177
|
|
|
@@ -25,6 +25,10 @@ contract MultisigIsm is IMultisigIsm, Ownable {
|
|
|
25
25
|
using MultisigIsmMetadata for bytes;
|
|
26
26
|
using MerkleLib for MerkleLib.Tree;
|
|
27
27
|
|
|
28
|
+
// ============ Constants ============
|
|
29
|
+
|
|
30
|
+
uint8 public constant moduleType = 3;
|
|
31
|
+
|
|
28
32
|
// ============ Mutable Storage ============
|
|
29
33
|
|
|
30
34
|
/// @notice The validator threshold for each remote domain.
|
|
@@ -219,6 +223,25 @@ contract MultisigIsm is IMultisigIsm, Ownable {
|
|
|
219
223
|
return _validators;
|
|
220
224
|
}
|
|
221
225
|
|
|
226
|
+
/**
|
|
227
|
+
* @notice Returns the set of validators responsible for verifying _message
|
|
228
|
+
* and the number of signatures required
|
|
229
|
+
* @dev Can change based on the content of _message
|
|
230
|
+
* @param _message Hyperlane formatted interchain message
|
|
231
|
+
* @return validators The array of validator addresses
|
|
232
|
+
* @return threshold The number of validator signatures needed
|
|
233
|
+
*/
|
|
234
|
+
function validatorsAndThreshold(bytes calldata _message)
|
|
235
|
+
external
|
|
236
|
+
view
|
|
237
|
+
returns (address[] memory, uint8)
|
|
238
|
+
{
|
|
239
|
+
uint32 _origin = _message.origin();
|
|
240
|
+
address[] memory _validators = validators(_origin);
|
|
241
|
+
uint8 _threshold = threshold[_origin];
|
|
242
|
+
return (_validators, _threshold);
|
|
243
|
+
}
|
|
244
|
+
|
|
222
245
|
/**
|
|
223
246
|
* @notice Returns the number of validators enrolled in the validator set.
|
|
224
247
|
* @param _domain The remote domain of the validator set.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT OR Apache-2.0
|
|
2
|
+
pragma solidity >=0.6.11;
|
|
3
|
+
|
|
4
|
+
// ============ External Imports ============
|
|
5
|
+
import "@openzeppelin/contracts/utils/structs/EnumerableMap.sol";
|
|
6
|
+
|
|
7
|
+
// extends EnumerableMap with uint256 => bytes32 type
|
|
8
|
+
// modelled after https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.0/contracts/utils/structs/EnumerableMap.sol
|
|
9
|
+
library EnumerableMapExtended {
|
|
10
|
+
using EnumerableMap for EnumerableMap.Bytes32ToBytes32Map;
|
|
11
|
+
|
|
12
|
+
struct UintToBytes32Map {
|
|
13
|
+
EnumerableMap.Bytes32ToBytes32Map _inner;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// ============ Library Functions ============
|
|
17
|
+
function keys(UintToBytes32Map storage map)
|
|
18
|
+
internal
|
|
19
|
+
view
|
|
20
|
+
returns (bytes32[] storage)
|
|
21
|
+
{
|
|
22
|
+
return map._inner._keys._inner._values;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function set(
|
|
26
|
+
UintToBytes32Map storage map,
|
|
27
|
+
uint256 key,
|
|
28
|
+
bytes32 value
|
|
29
|
+
) internal {
|
|
30
|
+
map._inner.set(bytes32(key), value);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function get(UintToBytes32Map storage map, uint256 key)
|
|
34
|
+
internal
|
|
35
|
+
view
|
|
36
|
+
returns (bytes32)
|
|
37
|
+
{
|
|
38
|
+
return map._inner.get(bytes32(key));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function remove(UintToBytes32Map storage map, uint256 key)
|
|
42
|
+
internal
|
|
43
|
+
returns (bool)
|
|
44
|
+
{
|
|
45
|
+
return map._inner.remove(bytes32(key));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function contains(UintToBytes32Map storage map, uint256 key)
|
|
49
|
+
internal
|
|
50
|
+
view
|
|
51
|
+
returns (bool)
|
|
52
|
+
{
|
|
53
|
+
return map._inner.contains(bytes32(key));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function length(UintToBytes32Map storage map)
|
|
57
|
+
internal
|
|
58
|
+
view
|
|
59
|
+
returns (uint256)
|
|
60
|
+
{
|
|
61
|
+
return map._inner.length();
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function at(UintToBytes32Map storage map, uint256 index)
|
|
65
|
+
internal
|
|
66
|
+
view
|
|
67
|
+
returns (uint256, bytes32)
|
|
68
|
+
{
|
|
69
|
+
(bytes32 key, bytes32 value) = map._inner.at(index);
|
|
70
|
+
return (uint256(key), value);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -39,13 +39,21 @@ contract InterchainAccountRouter is Router, IInterchainAccountRouter {
|
|
|
39
39
|
address _interchainSecurityModule
|
|
40
40
|
) public initializer {
|
|
41
41
|
// Transfer ownership of the contract to `msg.sender`
|
|
42
|
-
|
|
42
|
+
__Router_initialize(
|
|
43
43
|
_mailbox,
|
|
44
44
|
_interchainGasPaymaster,
|
|
45
45
|
_interchainSecurityModule
|
|
46
46
|
);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
function initialize(address _mailbox, address _interchainGasPaymaster)
|
|
50
|
+
public
|
|
51
|
+
initializer
|
|
52
|
+
{
|
|
53
|
+
// Transfer ownership of the contract to `msg.sender`
|
|
54
|
+
__Router_initialize(_mailbox, _interchainGasPaymaster);
|
|
55
|
+
}
|
|
56
|
+
|
|
49
57
|
function dispatch(uint32 _destinationDomain, Call[] calldata calls)
|
|
50
58
|
external
|
|
51
59
|
returns (bytes32)
|
|
@@ -37,13 +37,21 @@ contract InterchainQueryRouter is
|
|
|
37
37
|
address _interchainSecurityModule
|
|
38
38
|
) public initializer {
|
|
39
39
|
// Transfer ownership of the contract to `msg.sender`
|
|
40
|
-
|
|
40
|
+
__Router_initialize(
|
|
41
41
|
_mailbox,
|
|
42
42
|
_interchainGasPaymaster,
|
|
43
43
|
_interchainSecurityModule
|
|
44
44
|
);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
function initialize(address _mailbox, address _interchainGasPaymaster)
|
|
48
|
+
public
|
|
49
|
+
initializer
|
|
50
|
+
{
|
|
51
|
+
// Transfer ownership of the contract to `msg.sender`
|
|
52
|
+
__Router_initialize(_mailbox, _interchainGasPaymaster);
|
|
53
|
+
}
|
|
54
|
+
|
|
47
55
|
/**
|
|
48
56
|
* @param _destinationDomain Domain of destination chain
|
|
49
57
|
* @param target The address of the contract to query on destination chain.
|
|
@@ -25,13 +25,21 @@ contract LiquidityLayerRouter is Router, ILiquidityLayerRouter {
|
|
|
25
25
|
address _interchainSecurityModule
|
|
26
26
|
) public initializer {
|
|
27
27
|
// Transfer ownership of the contract to `msg.sender`
|
|
28
|
-
|
|
28
|
+
__Router_initialize(
|
|
29
29
|
_mailbox,
|
|
30
30
|
_interchainGasPaymaster,
|
|
31
31
|
_interchainSecurityModule
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
function initialize(address _mailbox, address _interchainGasPaymaster)
|
|
36
|
+
public
|
|
37
|
+
initializer
|
|
38
|
+
{
|
|
39
|
+
// Transfer ownership of the contract to `msg.sender`
|
|
40
|
+
__Router_initialize(_mailbox, _interchainGasPaymaster);
|
|
41
|
+
}
|
|
42
|
+
|
|
35
43
|
function dispatchWithTokens(
|
|
36
44
|
uint32 _destinationDomain,
|
|
37
45
|
bytes32 _recipientAddress,
|
|
@@ -96,7 +96,7 @@ contract CircleBridgeAdapter is ILiquidityLayerAdapter, Router {
|
|
|
96
96
|
uint32 _circleDomain = hyperlaneDomainToCircleDomain[
|
|
97
97
|
_destinationDomain
|
|
98
98
|
];
|
|
99
|
-
bytes32 _remoteRouter = routers
|
|
99
|
+
bytes32 _remoteRouter = routers(_destinationDomain);
|
|
100
100
|
require(
|
|
101
101
|
_remoteRouter != bytes32(0),
|
|
102
102
|
"CircleBridgeAdapter: No router for domain"
|
|
@@ -4,6 +4,7 @@ pragma solidity >=0.8.0;
|
|
|
4
4
|
import {IInterchainSecurityModule} from "../../interfaces/IInterchainSecurityModule.sol";
|
|
5
5
|
|
|
6
6
|
contract TestIsm is IInterchainSecurityModule {
|
|
7
|
+
uint8 public constant moduleType = 0;
|
|
7
8
|
bool public accept;
|
|
8
9
|
|
|
9
10
|
function setAccept(bool _val) external {
|
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
pragma solidity >=0.8.0;
|
|
3
3
|
|
|
4
4
|
import {IMessageRecipient} from "../../interfaces/IMessageRecipient.sol";
|
|
5
|
+
import {IInterchainSecurityModule, ISpecifiesInterchainSecurityModule} from "../../interfaces/IInterchainSecurityModule.sol";
|
|
5
6
|
|
|
6
|
-
contract TestRecipient is
|
|
7
|
+
contract TestRecipient is
|
|
8
|
+
IMessageRecipient,
|
|
9
|
+
ISpecifiesInterchainSecurityModule
|
|
10
|
+
{
|
|
11
|
+
IInterchainSecurityModule public interchainSecurityModule;
|
|
7
12
|
bytes32 public lastSender;
|
|
8
13
|
bytes public lastData;
|
|
9
14
|
|
|
@@ -18,6 +23,10 @@ contract TestRecipient is IMessageRecipient {
|
|
|
18
23
|
|
|
19
24
|
event ReceivedCall(address indexed caller, uint256 amount, string message);
|
|
20
25
|
|
|
26
|
+
function setInterchainSecurityModule(address _ism) external {
|
|
27
|
+
interchainSecurityModule = IInterchainSecurityModule(_ism);
|
|
28
|
+
}
|
|
29
|
+
|
|
21
30
|
function handle(
|
|
22
31
|
uint32 _origin,
|
|
23
32
|
bytes32 _sender,
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import type * as access from "./access";
|
|
2
|
-
import type * as interfaces from "./interfaces";
|
|
3
|
-
import type * as proxy from "./proxy";
|
|
4
2
|
import type * as token from "./token";
|
|
5
3
|
export type { access };
|
|
6
|
-
export type { interfaces };
|
|
7
|
-
export type { proxy };
|
|
8
4
|
export type { token };
|
|
9
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../types/@openzeppelin/contracts/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,OAAO,KAAK,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../types/@openzeppelin/contracts/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AAEtC,YAAY,EAAE,MAAM,EAAE,CAAC;AAEvB,YAAY,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type * as access from "./access";
|
|
2
2
|
import type * as proxy from "./proxy";
|
|
3
|
+
import type * as security from "./security";
|
|
3
4
|
import type * as token from "./token";
|
|
4
5
|
import type * as utils from "./utils";
|
|
5
6
|
export type { access };
|
|
6
7
|
export type { proxy };
|
|
8
|
+
export type { security };
|
|
7
9
|
export type { token };
|
|
8
10
|
export type { utils };
|
|
9
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../types/@openzeppelin/contracts-upgradeable/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AAEtC,YAAY,EAAE,MAAM,EAAE,CAAC;AAEvB,YAAY,EAAE,KAAK,EAAE,CAAC;AAEtB,YAAY,EAAE,KAAK,EAAE,CAAC;AAEtB,YAAY,EAAE,KAAK,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../types/@openzeppelin/contracts-upgradeable/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,KAAK,QAAQ,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AAEtC,YAAY,EAAE,MAAM,EAAE,CAAC;AAEvB,YAAY,EAAE,KAAK,EAAE,CAAC;AAEtB,YAAY,EAAE,QAAQ,EAAE,CAAC;AAEzB,YAAY,EAAE,KAAK,EAAE,CAAC;AAEtB,YAAY,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "
|
|
1
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../common";
|
|
2
2
|
import type { EventFragment } from "@ethersproject/abi";
|
|
3
3
|
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
4
|
import type { BaseContract, Signer, utils } from "ethers";
|
|
5
|
-
export interface
|
|
5
|
+
export interface ReentrancyGuardUpgradeableInterface extends utils.Interface {
|
|
6
6
|
functions: {};
|
|
7
7
|
events: {
|
|
8
8
|
"Initialized(uint8)": EventFragment;
|
|
@@ -14,11 +14,11 @@ export interface InitializedEventObject {
|
|
|
14
14
|
}
|
|
15
15
|
export declare type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
|
|
16
16
|
export declare type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
17
|
-
export interface
|
|
17
|
+
export interface ReentrancyGuardUpgradeable extends BaseContract {
|
|
18
18
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
19
19
|
attach(addressOrName: string): this;
|
|
20
20
|
deployed(): Promise<this>;
|
|
21
|
-
interface:
|
|
21
|
+
interface: ReentrancyGuardUpgradeableInterface;
|
|
22
22
|
queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
|
|
23
23
|
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
|
|
24
24
|
listeners(eventName?: string): Array<Listener>;
|
|
@@ -37,4 +37,4 @@ export interface PausableReentrancyGuardUpgradeable extends BaseContract {
|
|
|
37
37
|
estimateGas: {};
|
|
38
38
|
populateTransaction: {};
|
|
39
39
|
}
|
|
40
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=ReentrancyGuardUpgradeable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReentrancyGuardUpgradeable.d.ts","sourceRoot":"","sources":["../../../../types/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,OAAO,EACR,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE1D,MAAM,WAAW,mCAAoC,SAAQ,KAAK,CAAC,SAAS;IAC1E,SAAS,EAAE,EAAE,CAAC;IAEd,MAAM,EAAE;QACN,oBAAoB,EAAE,aAAa,CAAC;KACrC,CAAC;IAEF,QAAQ,CAAC,sBAAsB,EAAE,aAAa,GAAG,aAAa,CAAC;CAChE;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,oBAAY,gBAAgB,GAAG,UAAU,CAAC,CAAC,MAAM,CAAC,EAAE,sBAAsB,CAAC,CAAC;AAE5E,oBAAY,sBAAsB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;AAExE,MAAM,WAAW,0BAA2B,SAAQ,YAAY;IAC9D,OAAO,CAAC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,CAAC;IAC5D,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1B,SAAS,EAAE,mCAAmC,CAAC;IAE/C,WAAW,CAAC,MAAM,SAAS,UAAU,EACnC,KAAK,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAC/B,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAClD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAE1B,SAAS,CAAC,MAAM,SAAS,UAAU,EACjC,WAAW,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,GACrC,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;IAChC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC/C,kBAAkB,CAAC,MAAM,SAAS,UAAU,EAC1C,WAAW,EAAE,gBAAgB,CAAC,MAAM,CAAC,GACpC,IAAI,CAAC;IACR,kBAAkB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,GAAG,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B,SAAS,EAAE,EAAE,CAAC;IAEd,UAAU,EAAE,EAAE,CAAC;IAEf,OAAO,EAAE;QACP,oBAAoB,CAAC,OAAO,CAAC,EAAE,IAAI,GAAG,sBAAsB,CAAC;QAC7D,WAAW,CAAC,OAAO,CAAC,EAAE,IAAI,GAAG,sBAAsB,CAAC;KACrD,CAAC;IAEF,WAAW,EAAE,EAAE,CAAC;IAEhB,mBAAmB,EAAE,EAAE,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReentrancyGuardUpgradeable.js","sourceRoot":"","sources":["../../../../types/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.ts"],"names":[],"mappings":";AAAA,+CAA+C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../types/@openzeppelin/contracts-upgradeable/security/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/@openzeppelin/contracts-upgradeable/security/index.ts"],"names":[],"mappings":""}
|