@hyperlane-xyz/sdk 35.1.0 → 36.0.0
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/dist/block-explorer/utils.d.ts +8 -0
- package/dist/block-explorer/utils.d.ts.map +1 -1
- package/dist/block-explorer/utils.js +16 -3
- package/dist/block-explorer/utils.js.map +1 -1
- package/dist/ccip/consts.d.ts.map +1 -1
- package/dist/ccip/consts.js +0 -40
- package/dist/ccip/consts.js.map +1 -1
- package/dist/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +39 -241
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/contracts/contracts.d.ts.map +1 -1
- package/dist/contracts/contracts.js +6 -1
- package/dist/contracts/contracts.js.map +1 -1
- package/dist/core/CoreDeployer.hardhat-test.js +9 -0
- package/dist/core/CoreDeployer.hardhat-test.js.map +1 -1
- package/dist/core/EvmCoreModule.d.ts.map +1 -1
- package/dist/core/EvmCoreModule.hardhat-test.js +23 -0
- package/dist/core/EvmCoreModule.hardhat-test.js.map +1 -1
- package/dist/core/EvmCoreModule.js +8 -5
- package/dist/core/EvmCoreModule.js.map +1 -1
- package/dist/core/EvmCoreReader.d.ts.map +1 -1
- package/dist/core/EvmCoreReader.js +34 -15
- package/dist/core/EvmCoreReader.js.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.js +34 -13
- package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
- package/dist/core/TestCoreApp.d.ts +1 -1
- package/dist/core/contracts.d.ts +5 -2
- package/dist/core/contracts.d.ts.map +1 -1
- package/dist/core/contracts.js +4 -1
- package/dist/core/contracts.js.map +1 -1
- package/dist/core/types.d.ts +1092 -627
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +30 -2
- package/dist/core/types.js.map +1 -1
- package/dist/core/types.test.d.ts +2 -0
- package/dist/core/types.test.d.ts.map +1 -0
- package/dist/core/types.test.js +50 -0
- package/dist/core/types.test.js.map +1 -0
- package/dist/deploy/HyperlaneDeployer.d.ts +1 -0
- package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
- package/dist/deploy/HyperlaneDeployer.js +17 -8
- package/dist/deploy/HyperlaneDeployer.js.map +1 -1
- package/dist/deploy/proxy.d.ts.map +1 -1
- package/dist/deploy/proxy.js +9 -5
- package/dist/deploy/proxy.js.map +1 -1
- package/dist/deploy/warp.d.ts.map +1 -1
- package/dist/deploy/warp.js +5 -0
- package/dist/deploy/warp.js.map +1 -1
- package/dist/fee/EvmTokenFeeDeployer.d.ts +1 -0
- package/dist/fee/EvmTokenFeeDeployer.d.ts.map +1 -1
- package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js +40 -0
- package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js.map +1 -1
- package/dist/fee/EvmTokenFeeDeployer.js +8 -0
- package/dist/fee/EvmTokenFeeDeployer.js.map +1 -1
- package/dist/fee/EvmTokenFeeReader.d.ts.map +1 -1
- package/dist/fee/EvmTokenFeeReader.js +3 -13
- package/dist/fee/EvmTokenFeeReader.js.map +1 -1
- package/dist/fee/feeConfigMapping.d.ts +9 -0
- package/dist/fee/feeConfigMapping.d.ts.map +1 -0
- package/dist/fee/feeConfigMapping.js +86 -0
- package/dist/fee/feeConfigMapping.js.map +1 -0
- package/dist/fee/feeConfigMapping.test.d.ts +2 -0
- package/dist/fee/feeConfigMapping.test.d.ts.map +1 -0
- package/dist/fee/feeConfigMapping.test.js +204 -0
- package/dist/fee/feeConfigMapping.test.js.map +1 -0
- package/dist/fee/types.d.ts +185 -113
- package/dist/fee/types.d.ts.map +1 -1
- package/dist/fee/types.js +13 -11
- package/dist/fee/types.js.map +1 -1
- package/dist/fee/utils.d.ts +1 -32
- package/dist/fee/utils.d.ts.map +1 -1
- package/dist/fee/utils.js +1 -47
- package/dist/fee/utils.js.map +1 -1
- package/dist/gas/HyperlaneIgpChecker.d.ts +1 -0
- package/dist/gas/HyperlaneIgpChecker.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgpChecker.js +43 -1
- package/dist/gas/HyperlaneIgpChecker.js.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.d.ts +17 -0
- package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.js +124 -4
- package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
- package/dist/gas/oracle/configure-gas-oracles.hardhat-test.js +33 -2
- package/dist/gas/oracle/configure-gas-oracles.hardhat-test.js.map +1 -1
- package/dist/gas/types.d.ts +17 -3
- package/dist/gas/types.d.ts.map +1 -1
- package/dist/gas/types.js +19 -0
- package/dist/gas/types.js.map +1 -1
- package/dist/gas/utils.d.ts +5 -1
- package/dist/gas/utils.d.ts.map +1 -1
- package/dist/gas/utils.js +92 -31
- package/dist/gas/utils.js.map +1 -1
- package/dist/gas/utils.test.d.ts +2 -0
- package/dist/gas/utils.test.d.ts.map +1 -0
- package/dist/gas/utils.test.js +132 -0
- package/dist/gas/utils.test.js.map +1 -0
- package/dist/hook/EvmHookModule.d.ts +21 -1
- package/dist/hook/EvmHookModule.d.ts.map +1 -1
- package/dist/hook/EvmHookModule.hardhat-test.js +125 -2
- package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
- package/dist/hook/EvmHookModule.js +191 -17
- package/dist/hook/EvmHookModule.js.map +1 -1
- package/dist/hook/EvmHookReader.d.ts +4 -4
- package/dist/hook/EvmHookReader.d.ts.map +1 -1
- package/dist/hook/EvmHookReader.js +67 -16
- package/dist/hook/EvmHookReader.js.map +1 -1
- package/dist/hook/EvmHookReader.test.js +128 -2
- package/dist/hook/EvmHookReader.test.js.map +1 -1
- package/dist/hook/HyperlaneHookDeployer.d.ts +10 -5
- package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
- package/dist/hook/types.d.ts +338 -264
- package/dist/hook/types.d.ts.map +1 -1
- package/dist/hook/types.js +30 -6
- package/dist/hook/types.js.map +1 -1
- package/dist/hook/types.test.d.ts +2 -0
- package/dist/hook/types.test.d.ts.map +1 -0
- package/dist/hook/types.test.js +184 -0
- package/dist/hook/types.test.js.map +1 -0
- package/dist/hook/utils.d.ts +1 -0
- package/dist/hook/utils.d.ts.map +1 -1
- package/dist/hook/utils.js +16 -10
- package/dist/hook/utils.js.map +1 -1
- package/dist/ica/types.d.ts +380 -188
- package/dist/ica/types.d.ts.map +1 -1
- package/dist/index.d.ts +8 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/ism/EvmIsmModule.d.ts +7 -1
- package/dist/ism/EvmIsmModule.d.ts.map +1 -1
- package/dist/ism/EvmIsmModule.hardhat-test.js +4 -0
- package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
- package/dist/ism/EvmIsmModule.js +152 -4
- package/dist/ism/EvmIsmModule.js.map +1 -1
- package/dist/ism/EvmIsmReader.d.ts.map +1 -1
- package/dist/ism/EvmIsmReader.js +1 -2
- package/dist/ism/EvmIsmReader.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +17 -0
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.js +35 -9
- package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
- package/dist/ism/types.d.ts +88 -3
- package/dist/ism/types.d.ts.map +1 -1
- package/dist/ism/types.js +4 -0
- package/dist/ism/types.js.map +1 -1
- package/dist/metadata/ChainMetadataManager.d.ts.map +1 -1
- package/dist/metadata/ChainMetadataManager.js +2 -2
- package/dist/metadata/ChainMetadataManager.js.map +1 -1
- package/dist/metadata/ChainMetadataManager.test.js +71 -0
- package/dist/metadata/ChainMetadataManager.test.js.map +1 -1
- package/dist/metadata/agentConfig.d.ts +937 -168
- package/dist/metadata/agentConfig.d.ts.map +1 -1
- package/dist/metadata/agentConfig.js +68 -1
- package/dist/metadata/agentConfig.js.map +1 -1
- package/dist/metadata/agentConfig.test.js +67 -1
- package/dist/metadata/agentConfig.test.js.map +1 -1
- package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
- package/dist/middleware/account/InterchainAccount.js +10 -0
- package/dist/middleware/account/InterchainAccount.js.map +1 -1
- package/dist/middleware/account/InterchainAccount.test.js +26 -0
- package/dist/middleware/account/InterchainAccount.test.js.map +1 -1
- package/dist/providers/MultiProvider.d.ts +6 -0
- package/dist/providers/MultiProvider.d.ts.map +1 -1
- package/dist/providers/MultiProvider.js +28 -2
- package/dist/providers/MultiProvider.js.map +1 -1
- package/dist/providers/SeismicSigner.d.ts +54 -0
- package/dist/providers/SeismicSigner.d.ts.map +1 -0
- package/dist/providers/SeismicSigner.js +89 -0
- package/dist/providers/SeismicSigner.js.map +1 -0
- package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.d.ts.map +1 -1
- package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.js +8 -0
- package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.js.map +1 -1
- package/dist/providers/SmartProvider/SmartProvider.d.ts.map +1 -1
- package/dist/providers/SmartProvider/SmartProvider.js +69 -23
- package/dist/providers/SmartProvider/SmartProvider.js.map +1 -1
- package/dist/providers/SmartProvider/SmartProvider.test.js +34 -5
- package/dist/providers/SmartProvider/SmartProvider.test.js.map +1 -1
- package/dist/providers/builders/starknet.d.ts.map +1 -1
- package/dist/providers/builders/starknet.js +6 -1
- package/dist/providers/builders/starknet.js.map +1 -1
- package/dist/providers/transactions/submitter/IcaTxSubmitter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/IcaTxSubmitter.js +23 -8
- package/dist/providers/transactions/submitter/IcaTxSubmitter.js.map +1 -1
- package/dist/providers/transactions/submitter/IcaTxSubmitter.test.js +45 -0
- package/dist/providers/transactions/submitter/IcaTxSubmitter.test.js.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxBuilder.d.ts +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxBuilder.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/types.d.ts +6 -0
- package/dist/providers/transactions/submitter/ethersV5/types.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/types.js +26 -5
- package/dist/providers/transactions/submitter/ethersV5/types.js.map +1 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.js +11 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.js.map +1 -1
- package/dist/providers/transactions/submitter/submitterBuilderGetter.test.d.ts +2 -0
- package/dist/providers/transactions/submitter/submitterBuilderGetter.test.d.ts.map +1 -0
- package/dist/providers/transactions/submitter/submitterBuilderGetter.test.js +38 -0
- package/dist/providers/transactions/submitter/submitterBuilderGetter.test.js.map +1 -0
- package/dist/router/types.d.ts +481 -236
- package/dist/router/types.d.ts.map +1 -1
- package/dist/router/types.js +1 -0
- package/dist/router/types.js.map +1 -1
- package/dist/router/types.test.d.ts +2 -0
- package/dist/router/types.test.d.ts.map +1 -0
- package/dist/router/types.test.js +32 -0
- package/dist/router/types.test.js.map +1 -0
- package/dist/test/testUtils.d.ts.map +1 -1
- package/dist/test/testUtils.js +3 -0
- package/dist/test/testUtils.js.map +1 -1
- package/dist/token/EvmWarpModule.d.ts +18 -1
- package/dist/token/EvmWarpModule.d.ts.map +1 -1
- package/dist/token/EvmWarpModule.hardhat-test.js +30 -0
- package/dist/token/EvmWarpModule.hardhat-test.js.map +1 -1
- package/dist/token/EvmWarpModule.js +67 -5
- package/dist/token/EvmWarpModule.js.map +1 -1
- package/dist/token/EvmWarpModule.test.d.ts +2 -0
- package/dist/token/EvmWarpModule.test.d.ts.map +1 -0
- package/dist/token/EvmWarpModule.test.js +77 -0
- package/dist/token/EvmWarpModule.test.js.map +1 -0
- package/dist/token/EvmWarpRouteReader.d.ts +1 -0
- package/dist/token/EvmWarpRouteReader.d.ts.map +1 -1
- package/dist/token/EvmWarpRouteReader.js +17 -0
- package/dist/token/EvmWarpRouteReader.js.map +1 -1
- package/dist/token/EvmXERC20Module.d.ts +31 -26
- package/dist/token/EvmXERC20Module.d.ts.map +1 -1
- package/dist/token/EvmXERC20Module.js +46 -3
- package/dist/token/EvmXERC20Module.js.map +1 -1
- package/dist/token/EvmXERC20Module.test.js +162 -1
- package/dist/token/EvmXERC20Module.test.js.map +1 -1
- package/dist/token/EvmXERC20Reader.d.ts +17 -0
- package/dist/token/EvmXERC20Reader.d.ts.map +1 -1
- package/dist/token/EvmXERC20Reader.js +37 -1
- package/dist/token/EvmXERC20Reader.js.map +1 -1
- package/dist/token/adapters/EvmHypSyntheticAdapter.test.d.ts +2 -0
- package/dist/token/adapters/EvmHypSyntheticAdapter.test.d.ts.map +1 -0
- package/dist/token/adapters/EvmHypSyntheticAdapter.test.js +96 -0
- package/dist/token/adapters/EvmHypSyntheticAdapter.test.js.map +1 -0
- package/dist/token/adapters/EvmTokenAdapter.d.ts.map +1 -1
- package/dist/token/adapters/EvmTokenAdapter.js +25 -12
- package/dist/token/adapters/EvmTokenAdapter.js.map +1 -1
- package/dist/token/configUtils.test.js.map +1 -1
- package/dist/token/deploy.d.ts +1 -0
- package/dist/token/deploy.d.ts.map +1 -1
- package/dist/token/deploy.js +13 -0
- package/dist/token/deploy.js.map +1 -1
- package/dist/token/tokenMetadataUtils.d.ts.map +1 -1
- package/dist/token/tokenMetadataUtils.js +1 -0
- package/dist/token/tokenMetadataUtils.js.map +1 -1
- package/dist/token/types.d.ts +1373 -699
- package/dist/token/types.d.ts.map +1 -1
- package/dist/token/types.test.js +11 -0
- package/dist/token/types.test.js.map +1 -1
- package/dist/token/xerc20.d.ts.map +1 -1
- package/dist/token/xerc20.js +10 -2
- package/dist/token/xerc20.js.map +1 -1
- package/dist/token/xerc20.test.d.ts +2 -0
- package/dist/token/xerc20.test.d.ts.map +1 -0
- package/dist/token/xerc20.test.js +143 -0
- package/dist/token/xerc20.test.js.map +1 -0
- package/dist/utils/contract.d.ts +6 -0
- package/dist/utils/contract.d.ts.map +1 -1
- package/dist/utils/contract.js +11 -0
- package/dist/utils/contract.js.map +1 -1
- package/dist/utils/contract.test.js +2 -1
- package/dist/utils/contract.test.js.map +1 -1
- package/dist/utils/gas.d.ts +1 -0
- package/dist/utils/gas.d.ts.map +1 -1
- package/dist/utils/gas.js +1 -0
- package/dist/utils/gas.js.map +1 -1
- package/dist/utils/gnosisSafe.d.ts +4 -1
- package/dist/utils/gnosisSafe.d.ts.map +1 -1
- package/dist/utils/gnosisSafe.js +20 -7
- package/dist/utils/gnosisSafe.js.map +1 -1
- package/dist/utils/gnosisSafe.test.js +44 -1
- package/dist/utils/gnosisSafe.test.js.map +1 -1
- package/dist/utils/ism.d.ts.map +1 -1
- package/dist/utils/ism.js +4 -2
- package/dist/utils/ism.js.map +1 -1
- package/dist/warp/WarpCore.d.ts.map +1 -1
- package/dist/warp/WarpCore.js +4 -3
- package/dist/warp/WarpCore.js.map +1 -1
- package/package.json +14 -14
package/dist/ica/types.d.ts
CHANGED
|
@@ -36,15 +36,15 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
type: "protocolFee";
|
|
38
38
|
owner: string;
|
|
39
|
-
protocolFee: string;
|
|
40
39
|
beneficiary: string;
|
|
40
|
+
protocolFee: string;
|
|
41
41
|
maxProtocolFee: string;
|
|
42
42
|
ownerOverrides?: Record<string, string> | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
type: "protocolFee";
|
|
45
45
|
owner: string;
|
|
46
|
-
protocolFee: string;
|
|
47
46
|
beneficiary: string;
|
|
47
|
+
protocolFee: string;
|
|
48
48
|
maxProtocolFee: string;
|
|
49
49
|
ownerOverrides?: Record<string, string> | undefined;
|
|
50
50
|
}>, z.ZodObject<{
|
|
@@ -135,8 +135,23 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
135
135
|
totalUsdCost: number;
|
|
136
136
|
} | undefined;
|
|
137
137
|
}>>;
|
|
138
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../index.js").IgpVersion>>;
|
|
138
139
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
139
140
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
141
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
142
|
+
gasPrice: z.ZodString;
|
|
143
|
+
tokenExchangeRate: z.ZodString;
|
|
144
|
+
} & {
|
|
145
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
gasPrice: string;
|
|
148
|
+
tokenExchangeRate: string;
|
|
149
|
+
tokenDecimals?: number | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
gasPrice: string;
|
|
152
|
+
tokenExchangeRate: string;
|
|
153
|
+
tokenDecimals?: number | undefined;
|
|
154
|
+
}>>>>;
|
|
140
155
|
}, "strip", z.ZodTypeAny, {
|
|
141
156
|
type: "interchainGasPaymaster";
|
|
142
157
|
owner: string;
|
|
@@ -155,7 +170,13 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
155
170
|
}>;
|
|
156
171
|
ownerOverrides?: Record<string, string> | undefined;
|
|
157
172
|
quoteSigners?: string[] | undefined;
|
|
173
|
+
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
158
174
|
contractVersion?: string | undefined;
|
|
175
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
176
|
+
gasPrice: string;
|
|
177
|
+
tokenExchangeRate: string;
|
|
178
|
+
tokenDecimals?: number | undefined;
|
|
179
|
+
}>> | undefined;
|
|
159
180
|
}, {
|
|
160
181
|
type: "interchainGasPaymaster";
|
|
161
182
|
owner: string;
|
|
@@ -174,26 +195,14 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
174
195
|
}>;
|
|
175
196
|
ownerOverrides?: Record<string, string> | undefined;
|
|
176
197
|
quoteSigners?: string[] | undefined;
|
|
198
|
+
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
177
199
|
contractVersion?: string | undefined;
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
}, "strip", z.ZodTypeAny, {
|
|
185
|
-
type: "arbL2ToL1Hook";
|
|
186
|
-
destinationChain: string;
|
|
187
|
-
arbSys: string;
|
|
188
|
-
bridge?: string | undefined;
|
|
189
|
-
childHook?: any;
|
|
190
|
-
}, {
|
|
191
|
-
type: "arbL2ToL1Hook";
|
|
192
|
-
destinationChain: string;
|
|
193
|
-
arbSys: string;
|
|
194
|
-
bridge?: string | undefined;
|
|
195
|
-
childHook?: any;
|
|
196
|
-
}>, z.ZodObject<{
|
|
200
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
201
|
+
gasPrice: string;
|
|
202
|
+
tokenExchangeRate: string;
|
|
203
|
+
tokenDecimals?: number | undefined;
|
|
204
|
+
}>> | undefined;
|
|
205
|
+
}>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>, z.ZodType<import("../index.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../index.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
197
206
|
type: z.ZodLiteral<"defaultHook">;
|
|
198
207
|
}, "strip", z.ZodTypeAny, {
|
|
199
208
|
type: "defaultHook";
|
|
@@ -287,7 +296,32 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
287
296
|
type: "opStackIsm";
|
|
288
297
|
origin: string;
|
|
289
298
|
nativeBridge: string;
|
|
290
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
299
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
300
|
+
owner: z.ZodString;
|
|
301
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
302
|
+
} & {
|
|
303
|
+
paused: z.ZodBoolean;
|
|
304
|
+
}, "strip", z.ZodTypeAny, {
|
|
305
|
+
owner: string;
|
|
306
|
+
paused: boolean;
|
|
307
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
308
|
+
}, {
|
|
309
|
+
owner: string;
|
|
310
|
+
paused: boolean;
|
|
311
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
312
|
+
}>, z.ZodObject<{
|
|
313
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
315
|
+
type: "pausableIsm";
|
|
316
|
+
}, {
|
|
317
|
+
type: "pausableIsm";
|
|
318
|
+
}>>, z.ZodObject<{
|
|
319
|
+
address: z.ZodString;
|
|
320
|
+
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
address: string;
|
|
322
|
+
}, {
|
|
323
|
+
address: string;
|
|
324
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
291
325
|
owner: z.ZodString;
|
|
292
326
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
293
327
|
} & {
|
|
@@ -478,192 +512,226 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
478
512
|
}>>;
|
|
479
513
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
480
514
|
owner: z.ZodString;
|
|
515
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
481
516
|
} & {
|
|
482
517
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
483
518
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
484
|
-
type: z.ZodLiteral<
|
|
519
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
485
520
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
486
521
|
}, "strip", z.ZodTypeAny, {
|
|
487
|
-
type:
|
|
522
|
+
type: "LinearFee";
|
|
488
523
|
owner: string;
|
|
524
|
+
beneficiary?: string | undefined;
|
|
489
525
|
maxFee?: bigint | undefined;
|
|
490
526
|
halfAmount?: bigint | undefined;
|
|
491
527
|
bps?: number | undefined;
|
|
492
528
|
}, {
|
|
493
|
-
type:
|
|
529
|
+
type: "LinearFee";
|
|
494
530
|
owner: string;
|
|
531
|
+
beneficiary?: string | undefined;
|
|
495
532
|
maxFee?: string | number | bigint | undefined;
|
|
496
533
|
halfAmount?: string | number | bigint | undefined;
|
|
497
534
|
bps?: string | number | undefined;
|
|
498
535
|
}>, {
|
|
499
|
-
type:
|
|
536
|
+
type: "LinearFee";
|
|
500
537
|
owner: string;
|
|
538
|
+
beneficiary?: string | undefined;
|
|
501
539
|
maxFee?: bigint | undefined;
|
|
502
540
|
halfAmount?: bigint | undefined;
|
|
503
541
|
bps?: number | undefined;
|
|
504
542
|
}, {
|
|
505
|
-
type:
|
|
543
|
+
type: "LinearFee";
|
|
506
544
|
owner: string;
|
|
545
|
+
beneficiary?: string | undefined;
|
|
507
546
|
maxFee?: string | number | bigint | undefined;
|
|
508
547
|
halfAmount?: string | number | bigint | undefined;
|
|
509
548
|
bps?: string | number | undefined;
|
|
510
549
|
}>, {
|
|
511
550
|
bps: number;
|
|
512
|
-
type:
|
|
551
|
+
type: "LinearFee";
|
|
513
552
|
owner: string;
|
|
553
|
+
beneficiary?: string | undefined;
|
|
514
554
|
maxFee?: bigint | undefined;
|
|
515
555
|
halfAmount?: bigint | undefined;
|
|
516
556
|
}, {
|
|
517
|
-
type:
|
|
557
|
+
type: "LinearFee";
|
|
518
558
|
owner: string;
|
|
559
|
+
beneficiary?: string | undefined;
|
|
519
560
|
maxFee?: string | number | bigint | undefined;
|
|
520
561
|
halfAmount?: string | number | bigint | undefined;
|
|
521
562
|
bps?: string | number | undefined;
|
|
522
563
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
523
564
|
owner: z.ZodString;
|
|
565
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
524
566
|
} & {
|
|
525
567
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
526
568
|
} & {
|
|
527
569
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
528
570
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
529
|
-
type: z.ZodLiteral<
|
|
571
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
530
572
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
531
573
|
}, "strip", z.ZodTypeAny, {
|
|
532
|
-
type:
|
|
574
|
+
type: "OffchainQuotedLinearFee";
|
|
533
575
|
owner: string;
|
|
576
|
+
beneficiary?: string | undefined;
|
|
534
577
|
maxFee?: bigint | undefined;
|
|
535
578
|
halfAmount?: bigint | undefined;
|
|
536
579
|
bps?: number | undefined;
|
|
537
580
|
quoteSigners?: string[] | undefined;
|
|
538
581
|
}, {
|
|
539
|
-
type:
|
|
582
|
+
type: "OffchainQuotedLinearFee";
|
|
540
583
|
owner: string;
|
|
584
|
+
beneficiary?: string | undefined;
|
|
541
585
|
maxFee?: string | number | bigint | undefined;
|
|
542
586
|
halfAmount?: string | number | bigint | undefined;
|
|
543
587
|
bps?: string | number | undefined;
|
|
544
588
|
quoteSigners?: string[] | undefined;
|
|
545
589
|
}>, {
|
|
546
|
-
type:
|
|
590
|
+
type: "OffchainQuotedLinearFee";
|
|
547
591
|
owner: string;
|
|
592
|
+
beneficiary?: string | undefined;
|
|
548
593
|
maxFee?: bigint | undefined;
|
|
549
594
|
halfAmount?: bigint | undefined;
|
|
550
595
|
bps?: number | undefined;
|
|
551
596
|
quoteSigners?: string[] | undefined;
|
|
552
597
|
}, {
|
|
553
|
-
type:
|
|
598
|
+
type: "OffchainQuotedLinearFee";
|
|
554
599
|
owner: string;
|
|
600
|
+
beneficiary?: string | undefined;
|
|
555
601
|
maxFee?: string | number | bigint | undefined;
|
|
556
602
|
halfAmount?: string | number | bigint | undefined;
|
|
557
603
|
bps?: string | number | undefined;
|
|
558
604
|
quoteSigners?: string[] | undefined;
|
|
559
605
|
}>, {
|
|
560
606
|
bps: number;
|
|
561
|
-
type:
|
|
607
|
+
type: "OffchainQuotedLinearFee";
|
|
562
608
|
owner: string;
|
|
609
|
+
beneficiary?: string | undefined;
|
|
563
610
|
maxFee?: bigint | undefined;
|
|
564
611
|
halfAmount?: bigint | undefined;
|
|
565
612
|
quoteSigners?: string[] | undefined;
|
|
566
613
|
}, {
|
|
567
|
-
type:
|
|
614
|
+
type: "OffchainQuotedLinearFee";
|
|
568
615
|
owner: string;
|
|
616
|
+
beneficiary?: string | undefined;
|
|
569
617
|
maxFee?: string | number | bigint | undefined;
|
|
570
618
|
halfAmount?: string | number | bigint | undefined;
|
|
571
619
|
bps?: string | number | undefined;
|
|
572
620
|
quoteSigners?: string[] | undefined;
|
|
573
621
|
}>, z.ZodEffects<z.ZodObject<{
|
|
574
622
|
owner: z.ZodString;
|
|
623
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
575
624
|
} & {
|
|
576
|
-
type: z.ZodLiteral<
|
|
625
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
577
626
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
578
627
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
579
628
|
}, "strip", z.ZodTypeAny, {
|
|
580
|
-
type:
|
|
629
|
+
type: "ProgressiveFee";
|
|
581
630
|
owner: string;
|
|
582
631
|
maxFee: bigint;
|
|
583
632
|
halfAmount: bigint;
|
|
633
|
+
beneficiary?: string | undefined;
|
|
584
634
|
}, {
|
|
585
|
-
type:
|
|
635
|
+
type: "ProgressiveFee";
|
|
586
636
|
owner: string;
|
|
587
637
|
maxFee: string | number | bigint;
|
|
588
638
|
halfAmount: string | number | bigint;
|
|
639
|
+
beneficiary?: string | undefined;
|
|
589
640
|
}>, {
|
|
590
|
-
type:
|
|
641
|
+
type: "ProgressiveFee";
|
|
591
642
|
owner: string;
|
|
592
643
|
maxFee: bigint;
|
|
593
644
|
halfAmount: bigint;
|
|
645
|
+
beneficiary?: string | undefined;
|
|
594
646
|
}, {
|
|
595
|
-
type:
|
|
647
|
+
type: "ProgressiveFee";
|
|
596
648
|
owner: string;
|
|
597
649
|
maxFee: string | number | bigint;
|
|
598
650
|
halfAmount: string | number | bigint;
|
|
651
|
+
beneficiary?: string | undefined;
|
|
599
652
|
}>, z.ZodEffects<z.ZodObject<{
|
|
600
653
|
owner: z.ZodString;
|
|
654
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
601
655
|
} & {
|
|
602
|
-
type: z.ZodLiteral<
|
|
656
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
603
657
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
604
658
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
605
659
|
}, "strip", z.ZodTypeAny, {
|
|
606
|
-
type:
|
|
660
|
+
type: "RegressiveFee";
|
|
607
661
|
owner: string;
|
|
608
662
|
maxFee: bigint;
|
|
609
663
|
halfAmount: bigint;
|
|
664
|
+
beneficiary?: string | undefined;
|
|
610
665
|
}, {
|
|
611
|
-
type:
|
|
666
|
+
type: "RegressiveFee";
|
|
612
667
|
owner: string;
|
|
613
668
|
maxFee: string | number | bigint;
|
|
614
669
|
halfAmount: string | number | bigint;
|
|
670
|
+
beneficiary?: string | undefined;
|
|
615
671
|
}>, {
|
|
616
|
-
type:
|
|
672
|
+
type: "RegressiveFee";
|
|
617
673
|
owner: string;
|
|
618
674
|
maxFee: bigint;
|
|
619
675
|
halfAmount: bigint;
|
|
676
|
+
beneficiary?: string | undefined;
|
|
620
677
|
}, {
|
|
621
|
-
type:
|
|
678
|
+
type: "RegressiveFee";
|
|
622
679
|
owner: string;
|
|
623
680
|
maxFee: string | number | bigint;
|
|
624
681
|
halfAmount: string | number | bigint;
|
|
682
|
+
beneficiary?: string | undefined;
|
|
625
683
|
}>, z.ZodEffects<z.ZodObject<{
|
|
626
684
|
owner: z.ZodString;
|
|
685
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
627
686
|
} & {
|
|
628
|
-
type: z.ZodLiteral<
|
|
687
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
629
688
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
630
689
|
}, "strip", z.ZodTypeAny, {
|
|
631
|
-
type:
|
|
690
|
+
type: "RoutingFee";
|
|
632
691
|
owner: string;
|
|
633
692
|
feeContracts: Record<string, any>;
|
|
693
|
+
beneficiary?: string | undefined;
|
|
634
694
|
}, {
|
|
635
|
-
type:
|
|
695
|
+
type: "RoutingFee";
|
|
636
696
|
owner: string;
|
|
637
697
|
feeContracts: Record<string, any>;
|
|
698
|
+
beneficiary?: string | undefined;
|
|
638
699
|
}>, {
|
|
639
|
-
type:
|
|
700
|
+
type: "RoutingFee";
|
|
640
701
|
owner: string;
|
|
641
702
|
feeContracts: Record<string, any>;
|
|
703
|
+
beneficiary?: string | undefined;
|
|
642
704
|
}, {
|
|
643
|
-
type:
|
|
705
|
+
type: "RoutingFee";
|
|
644
706
|
owner: string;
|
|
645
707
|
feeContracts: Record<string, any>;
|
|
708
|
+
beneficiary?: string | undefined;
|
|
646
709
|
}>, z.ZodEffects<z.ZodObject<{
|
|
647
710
|
owner: z.ZodString;
|
|
711
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
648
712
|
} & {
|
|
649
|
-
type: z.ZodLiteral<
|
|
713
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
650
714
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, any>, Record<string, any>>>;
|
|
651
715
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
-
type:
|
|
716
|
+
type: "CrossCollateralRoutingFee";
|
|
653
717
|
owner: string;
|
|
654
718
|
feeContracts: Record<string, Record<string, any>>;
|
|
719
|
+
beneficiary?: string | undefined;
|
|
655
720
|
}, {
|
|
656
|
-
type:
|
|
721
|
+
type: "CrossCollateralRoutingFee";
|
|
657
722
|
owner: string;
|
|
658
723
|
feeContracts: Record<string, Record<string, any>>;
|
|
724
|
+
beneficiary?: string | undefined;
|
|
659
725
|
}>, {
|
|
660
|
-
type:
|
|
726
|
+
type: "CrossCollateralRoutingFee";
|
|
661
727
|
owner: string;
|
|
662
728
|
feeContracts: Record<string, Record<string, any>>;
|
|
729
|
+
beneficiary?: string | undefined;
|
|
663
730
|
}, {
|
|
664
|
-
type:
|
|
731
|
+
type: "CrossCollateralRoutingFee";
|
|
665
732
|
owner: string;
|
|
666
733
|
feeContracts: Record<string, Record<string, any>>;
|
|
734
|
+
beneficiary?: string | undefined;
|
|
667
735
|
}>]>>;
|
|
668
736
|
} & {
|
|
669
737
|
/** Router variant. 'regular' (default) deploys full InterchainAccountRouter with commit-reveal;
|
|
@@ -733,12 +801,18 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
733
801
|
}>;
|
|
734
802
|
ownerOverrides?: Record<string, string> | undefined;
|
|
735
803
|
quoteSigners?: string[] | undefined;
|
|
804
|
+
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
736
805
|
contractVersion?: string | undefined;
|
|
806
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
807
|
+
gasPrice: string;
|
|
808
|
+
tokenExchangeRate: string;
|
|
809
|
+
tokenDecimals?: number | undefined;
|
|
810
|
+
}>> | undefined;
|
|
737
811
|
} | {
|
|
738
812
|
type: "protocolFee";
|
|
739
813
|
owner: string;
|
|
740
|
-
protocolFee: string;
|
|
741
814
|
beneficiary: string;
|
|
815
|
+
protocolFee: string;
|
|
742
816
|
maxProtocolFee: string;
|
|
743
817
|
ownerOverrides?: Record<string, string> | undefined;
|
|
744
818
|
} | {
|
|
@@ -752,25 +826,19 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
752
826
|
nativeBridge: string;
|
|
753
827
|
destinationChain: string;
|
|
754
828
|
ownerOverrides?: Record<string, string> | undefined;
|
|
829
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | import("../index.js").ArbL2ToL1HookConfig | {
|
|
830
|
+
type: "defaultHook";
|
|
755
831
|
} | {
|
|
756
|
-
type: "
|
|
832
|
+
type: "ccipHook";
|
|
757
833
|
destinationChain: string;
|
|
758
|
-
arbSys: string;
|
|
759
|
-
bridge?: string | undefined;
|
|
760
|
-
childHook?: any;
|
|
761
834
|
} | {
|
|
762
|
-
type: "
|
|
835
|
+
type: "cctpHook";
|
|
836
|
+
address: string;
|
|
763
837
|
} | {
|
|
764
838
|
type: "rateLimitedHook";
|
|
765
839
|
owner: string;
|
|
766
840
|
maxCapacity: string;
|
|
767
841
|
ownerOverrides?: Record<string, string> | undefined;
|
|
768
|
-
} | {
|
|
769
|
-
type: "ccipHook";
|
|
770
|
-
destinationChain: string;
|
|
771
|
-
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | {
|
|
772
|
-
type: "cctpHook";
|
|
773
|
-
address: string;
|
|
774
842
|
} | z.objectOutputType<{
|
|
775
843
|
type: z.ZodLiteral<"unknownHook">;
|
|
776
844
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -821,7 +889,15 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
821
889
|
owner: string;
|
|
822
890
|
urls: string[];
|
|
823
891
|
ownerOverrides?: Record<string, string> | undefined;
|
|
824
|
-
} |
|
|
892
|
+
} | ({
|
|
893
|
+
owner: string;
|
|
894
|
+
paused: boolean;
|
|
895
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
896
|
+
} & {
|
|
897
|
+
type: "pausableIsm";
|
|
898
|
+
} & {
|
|
899
|
+
address: string;
|
|
900
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
825
901
|
type: z.ZodLiteral<"unknownIsm">;
|
|
826
902
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
827
903
|
foreignDeployment?: string | undefined;
|
|
@@ -830,35 +906,41 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
830
906
|
}> | undefined;
|
|
831
907
|
tokenFee?: {
|
|
832
908
|
bps: number;
|
|
833
|
-
type:
|
|
909
|
+
type: "LinearFee";
|
|
834
910
|
owner: string;
|
|
911
|
+
beneficiary?: string | undefined;
|
|
835
912
|
maxFee?: bigint | undefined;
|
|
836
913
|
halfAmount?: bigint | undefined;
|
|
837
914
|
} | {
|
|
838
915
|
bps: number;
|
|
839
|
-
type:
|
|
916
|
+
type: "OffchainQuotedLinearFee";
|
|
840
917
|
owner: string;
|
|
918
|
+
beneficiary?: string | undefined;
|
|
841
919
|
maxFee?: bigint | undefined;
|
|
842
920
|
halfAmount?: bigint | undefined;
|
|
843
921
|
quoteSigners?: string[] | undefined;
|
|
844
922
|
} | {
|
|
845
|
-
type:
|
|
923
|
+
type: "ProgressiveFee";
|
|
846
924
|
owner: string;
|
|
847
925
|
maxFee: bigint;
|
|
848
926
|
halfAmount: bigint;
|
|
927
|
+
beneficiary?: string | undefined;
|
|
849
928
|
} | {
|
|
850
|
-
type:
|
|
929
|
+
type: "RegressiveFee";
|
|
851
930
|
owner: string;
|
|
852
931
|
maxFee: bigint;
|
|
853
932
|
halfAmount: bigint;
|
|
933
|
+
beneficiary?: string | undefined;
|
|
854
934
|
} | {
|
|
855
|
-
type:
|
|
935
|
+
type: "RoutingFee";
|
|
856
936
|
owner: string;
|
|
857
937
|
feeContracts: Record<string, any>;
|
|
938
|
+
beneficiary?: string | undefined;
|
|
858
939
|
} | {
|
|
859
|
-
type:
|
|
940
|
+
type: "CrossCollateralRoutingFee";
|
|
860
941
|
owner: string;
|
|
861
942
|
feeContracts: Record<string, Record<string, any>>;
|
|
943
|
+
beneficiary?: string | undefined;
|
|
862
944
|
} | undefined;
|
|
863
945
|
routerType?: IcaRouterType | undefined;
|
|
864
946
|
commitmentIsm?: {
|
|
@@ -900,12 +982,18 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
900
982
|
}>;
|
|
901
983
|
ownerOverrides?: Record<string, string> | undefined;
|
|
902
984
|
quoteSigners?: string[] | undefined;
|
|
985
|
+
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
903
986
|
contractVersion?: string | undefined;
|
|
987
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
988
|
+
gasPrice: string;
|
|
989
|
+
tokenExchangeRate: string;
|
|
990
|
+
tokenDecimals?: number | undefined;
|
|
991
|
+
}>> | undefined;
|
|
904
992
|
} | {
|
|
905
993
|
type: "protocolFee";
|
|
906
994
|
owner: string;
|
|
907
|
-
protocolFee: string;
|
|
908
995
|
beneficiary: string;
|
|
996
|
+
protocolFee: string;
|
|
909
997
|
maxProtocolFee: string;
|
|
910
998
|
ownerOverrides?: Record<string, string> | undefined;
|
|
911
999
|
} | {
|
|
@@ -919,25 +1007,19 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
919
1007
|
nativeBridge: string;
|
|
920
1008
|
destinationChain: string;
|
|
921
1009
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1010
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | import("../index.js").ArbL2ToL1HookConfig | {
|
|
1011
|
+
type: "defaultHook";
|
|
922
1012
|
} | {
|
|
923
|
-
type: "
|
|
1013
|
+
type: "ccipHook";
|
|
924
1014
|
destinationChain: string;
|
|
925
|
-
arbSys: string;
|
|
926
|
-
bridge?: string | undefined;
|
|
927
|
-
childHook?: any;
|
|
928
1015
|
} | {
|
|
929
|
-
type: "
|
|
1016
|
+
type: "cctpHook";
|
|
1017
|
+
address: string;
|
|
930
1018
|
} | {
|
|
931
1019
|
type: "rateLimitedHook";
|
|
932
1020
|
owner: string;
|
|
933
1021
|
maxCapacity: string;
|
|
934
1022
|
ownerOverrides?: Record<string, string> | undefined;
|
|
935
|
-
} | {
|
|
936
|
-
type: "ccipHook";
|
|
937
|
-
destinationChain: string;
|
|
938
|
-
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | {
|
|
939
|
-
type: "cctpHook";
|
|
940
|
-
address: string;
|
|
941
1023
|
} | z.objectInputType<{
|
|
942
1024
|
type: z.ZodLiteral<"unknownHook">;
|
|
943
1025
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -988,7 +1070,15 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
988
1070
|
owner: string;
|
|
989
1071
|
urls: string[];
|
|
990
1072
|
ownerOverrides?: Record<string, string> | undefined;
|
|
991
|
-
} | {
|
|
1073
|
+
} | ({
|
|
1074
|
+
owner: string;
|
|
1075
|
+
paused: boolean;
|
|
1076
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1077
|
+
} & {
|
|
1078
|
+
type: "pausableIsm";
|
|
1079
|
+
} & {
|
|
1080
|
+
address: string;
|
|
1081
|
+
}) | {
|
|
992
1082
|
type: "interchainAccountRouting";
|
|
993
1083
|
owner: string;
|
|
994
1084
|
isms: Record<string, string>;
|
|
@@ -1001,36 +1091,42 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
1001
1091
|
address: string;
|
|
1002
1092
|
}> | undefined;
|
|
1003
1093
|
tokenFee?: {
|
|
1004
|
-
type:
|
|
1094
|
+
type: "LinearFee";
|
|
1005
1095
|
owner: string;
|
|
1096
|
+
beneficiary?: string | undefined;
|
|
1006
1097
|
maxFee?: string | number | bigint | undefined;
|
|
1007
1098
|
halfAmount?: string | number | bigint | undefined;
|
|
1008
1099
|
bps?: string | number | undefined;
|
|
1009
1100
|
} | {
|
|
1010
|
-
type:
|
|
1101
|
+
type: "OffchainQuotedLinearFee";
|
|
1011
1102
|
owner: string;
|
|
1103
|
+
beneficiary?: string | undefined;
|
|
1012
1104
|
maxFee?: string | number | bigint | undefined;
|
|
1013
1105
|
halfAmount?: string | number | bigint | undefined;
|
|
1014
1106
|
bps?: string | number | undefined;
|
|
1015
1107
|
quoteSigners?: string[] | undefined;
|
|
1016
1108
|
} | {
|
|
1017
|
-
type:
|
|
1109
|
+
type: "ProgressiveFee";
|
|
1018
1110
|
owner: string;
|
|
1019
1111
|
maxFee: string | number | bigint;
|
|
1020
1112
|
halfAmount: string | number | bigint;
|
|
1113
|
+
beneficiary?: string | undefined;
|
|
1021
1114
|
} | {
|
|
1022
|
-
type:
|
|
1115
|
+
type: "RegressiveFee";
|
|
1023
1116
|
owner: string;
|
|
1024
1117
|
maxFee: string | number | bigint;
|
|
1025
1118
|
halfAmount: string | number | bigint;
|
|
1119
|
+
beneficiary?: string | undefined;
|
|
1026
1120
|
} | {
|
|
1027
|
-
type:
|
|
1121
|
+
type: "RoutingFee";
|
|
1028
1122
|
owner: string;
|
|
1029
1123
|
feeContracts: Record<string, any>;
|
|
1124
|
+
beneficiary?: string | undefined;
|
|
1030
1125
|
} | {
|
|
1031
|
-
type:
|
|
1126
|
+
type: "CrossCollateralRoutingFee";
|
|
1032
1127
|
owner: string;
|
|
1033
1128
|
feeContracts: Record<string, Record<string, any>>;
|
|
1129
|
+
beneficiary?: string | undefined;
|
|
1034
1130
|
} | undefined;
|
|
1035
1131
|
routerType?: IcaRouterType | undefined;
|
|
1036
1132
|
commitmentIsm?: {
|
|
@@ -1061,15 +1157,15 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1061
1157
|
}, "strip", z.ZodTypeAny, {
|
|
1062
1158
|
type: "protocolFee";
|
|
1063
1159
|
owner: string;
|
|
1064
|
-
protocolFee: string;
|
|
1065
1160
|
beneficiary: string;
|
|
1161
|
+
protocolFee: string;
|
|
1066
1162
|
maxProtocolFee: string;
|
|
1067
1163
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1068
1164
|
}, {
|
|
1069
1165
|
type: "protocolFee";
|
|
1070
1166
|
owner: string;
|
|
1071
|
-
protocolFee: string;
|
|
1072
1167
|
beneficiary: string;
|
|
1168
|
+
protocolFee: string;
|
|
1073
1169
|
maxProtocolFee: string;
|
|
1074
1170
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1075
1171
|
}>, z.ZodObject<{
|
|
@@ -1160,8 +1256,23 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1160
1256
|
totalUsdCost: number;
|
|
1161
1257
|
} | undefined;
|
|
1162
1258
|
}>>;
|
|
1259
|
+
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../index.js").IgpVersion>>;
|
|
1163
1260
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1164
1261
|
contractVersion: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1263
|
+
gasPrice: z.ZodString;
|
|
1264
|
+
tokenExchangeRate: z.ZodString;
|
|
1265
|
+
} & {
|
|
1266
|
+
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
1267
|
+
}, "strip", z.ZodTypeAny, {
|
|
1268
|
+
gasPrice: string;
|
|
1269
|
+
tokenExchangeRate: string;
|
|
1270
|
+
tokenDecimals?: number | undefined;
|
|
1271
|
+
}, {
|
|
1272
|
+
gasPrice: string;
|
|
1273
|
+
tokenExchangeRate: string;
|
|
1274
|
+
tokenDecimals?: number | undefined;
|
|
1275
|
+
}>>>>;
|
|
1165
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1166
1277
|
type: "interchainGasPaymaster";
|
|
1167
1278
|
owner: string;
|
|
@@ -1180,7 +1291,13 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1180
1291
|
}>;
|
|
1181
1292
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1182
1293
|
quoteSigners?: string[] | undefined;
|
|
1294
|
+
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
1183
1295
|
contractVersion?: string | undefined;
|
|
1296
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
1297
|
+
gasPrice: string;
|
|
1298
|
+
tokenExchangeRate: string;
|
|
1299
|
+
tokenDecimals?: number | undefined;
|
|
1300
|
+
}>> | undefined;
|
|
1184
1301
|
}, {
|
|
1185
1302
|
type: "interchainGasPaymaster";
|
|
1186
1303
|
owner: string;
|
|
@@ -1199,26 +1316,14 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1199
1316
|
}>;
|
|
1200
1317
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1201
1318
|
quoteSigners?: string[] | undefined;
|
|
1319
|
+
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
1202
1320
|
contractVersion?: string | undefined;
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
}, "strip", z.ZodTypeAny, {
|
|
1210
|
-
type: "arbL2ToL1Hook";
|
|
1211
|
-
destinationChain: string;
|
|
1212
|
-
arbSys: string;
|
|
1213
|
-
bridge?: string | undefined;
|
|
1214
|
-
childHook?: any;
|
|
1215
|
-
}, {
|
|
1216
|
-
type: "arbL2ToL1Hook";
|
|
1217
|
-
destinationChain: string;
|
|
1218
|
-
arbSys: string;
|
|
1219
|
-
bridge?: string | undefined;
|
|
1220
|
-
childHook?: any;
|
|
1221
|
-
}>, z.ZodObject<{
|
|
1321
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
1322
|
+
gasPrice: string;
|
|
1323
|
+
tokenExchangeRate: string;
|
|
1324
|
+
tokenDecimals?: number | undefined;
|
|
1325
|
+
}>> | undefined;
|
|
1326
|
+
}>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>, z.ZodType<import("../index.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../index.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
1222
1327
|
type: z.ZodLiteral<"defaultHook">;
|
|
1223
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1224
1329
|
type: "defaultHook";
|
|
@@ -1312,7 +1417,32 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1312
1417
|
type: "opStackIsm";
|
|
1313
1418
|
origin: string;
|
|
1314
1419
|
nativeBridge: string;
|
|
1315
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
1420
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1421
|
+
owner: z.ZodString;
|
|
1422
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1423
|
+
} & {
|
|
1424
|
+
paused: z.ZodBoolean;
|
|
1425
|
+
}, "strip", z.ZodTypeAny, {
|
|
1426
|
+
owner: string;
|
|
1427
|
+
paused: boolean;
|
|
1428
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1429
|
+
}, {
|
|
1430
|
+
owner: string;
|
|
1431
|
+
paused: boolean;
|
|
1432
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1433
|
+
}>, z.ZodObject<{
|
|
1434
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
1435
|
+
}, "strip", z.ZodTypeAny, {
|
|
1436
|
+
type: "pausableIsm";
|
|
1437
|
+
}, {
|
|
1438
|
+
type: "pausableIsm";
|
|
1439
|
+
}>>, z.ZodObject<{
|
|
1440
|
+
address: z.ZodString;
|
|
1441
|
+
}, "strip", z.ZodTypeAny, {
|
|
1442
|
+
address: string;
|
|
1443
|
+
}, {
|
|
1444
|
+
address: string;
|
|
1445
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1316
1446
|
owner: z.ZodString;
|
|
1317
1447
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1318
1448
|
} & {
|
|
@@ -1503,192 +1633,226 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1503
1633
|
}>>;
|
|
1504
1634
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1505
1635
|
owner: z.ZodString;
|
|
1636
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1506
1637
|
} & {
|
|
1507
1638
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1508
1639
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1509
|
-
type: z.ZodLiteral<
|
|
1640
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
1510
1641
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1511
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1512
|
-
type:
|
|
1643
|
+
type: "LinearFee";
|
|
1513
1644
|
owner: string;
|
|
1645
|
+
beneficiary?: string | undefined;
|
|
1514
1646
|
maxFee?: bigint | undefined;
|
|
1515
1647
|
halfAmount?: bigint | undefined;
|
|
1516
1648
|
bps?: number | undefined;
|
|
1517
1649
|
}, {
|
|
1518
|
-
type:
|
|
1650
|
+
type: "LinearFee";
|
|
1519
1651
|
owner: string;
|
|
1652
|
+
beneficiary?: string | undefined;
|
|
1520
1653
|
maxFee?: string | number | bigint | undefined;
|
|
1521
1654
|
halfAmount?: string | number | bigint | undefined;
|
|
1522
1655
|
bps?: string | number | undefined;
|
|
1523
1656
|
}>, {
|
|
1524
|
-
type:
|
|
1657
|
+
type: "LinearFee";
|
|
1525
1658
|
owner: string;
|
|
1659
|
+
beneficiary?: string | undefined;
|
|
1526
1660
|
maxFee?: bigint | undefined;
|
|
1527
1661
|
halfAmount?: bigint | undefined;
|
|
1528
1662
|
bps?: number | undefined;
|
|
1529
1663
|
}, {
|
|
1530
|
-
type:
|
|
1664
|
+
type: "LinearFee";
|
|
1531
1665
|
owner: string;
|
|
1666
|
+
beneficiary?: string | undefined;
|
|
1532
1667
|
maxFee?: string | number | bigint | undefined;
|
|
1533
1668
|
halfAmount?: string | number | bigint | undefined;
|
|
1534
1669
|
bps?: string | number | undefined;
|
|
1535
1670
|
}>, {
|
|
1536
1671
|
bps: number;
|
|
1537
|
-
type:
|
|
1672
|
+
type: "LinearFee";
|
|
1538
1673
|
owner: string;
|
|
1674
|
+
beneficiary?: string | undefined;
|
|
1539
1675
|
maxFee?: bigint | undefined;
|
|
1540
1676
|
halfAmount?: bigint | undefined;
|
|
1541
1677
|
}, {
|
|
1542
|
-
type:
|
|
1678
|
+
type: "LinearFee";
|
|
1543
1679
|
owner: string;
|
|
1680
|
+
beneficiary?: string | undefined;
|
|
1544
1681
|
maxFee?: string | number | bigint | undefined;
|
|
1545
1682
|
halfAmount?: string | number | bigint | undefined;
|
|
1546
1683
|
bps?: string | number | undefined;
|
|
1547
1684
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1548
1685
|
owner: z.ZodString;
|
|
1686
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1549
1687
|
} & {
|
|
1550
1688
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1551
1689
|
} & {
|
|
1552
1690
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1553
1691
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1554
|
-
type: z.ZodLiteral<
|
|
1692
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
1555
1693
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1556
1694
|
}, "strip", z.ZodTypeAny, {
|
|
1557
|
-
type:
|
|
1695
|
+
type: "OffchainQuotedLinearFee";
|
|
1558
1696
|
owner: string;
|
|
1697
|
+
beneficiary?: string | undefined;
|
|
1559
1698
|
maxFee?: bigint | undefined;
|
|
1560
1699
|
halfAmount?: bigint | undefined;
|
|
1561
1700
|
bps?: number | undefined;
|
|
1562
1701
|
quoteSigners?: string[] | undefined;
|
|
1563
1702
|
}, {
|
|
1564
|
-
type:
|
|
1703
|
+
type: "OffchainQuotedLinearFee";
|
|
1565
1704
|
owner: string;
|
|
1705
|
+
beneficiary?: string | undefined;
|
|
1566
1706
|
maxFee?: string | number | bigint | undefined;
|
|
1567
1707
|
halfAmount?: string | number | bigint | undefined;
|
|
1568
1708
|
bps?: string | number | undefined;
|
|
1569
1709
|
quoteSigners?: string[] | undefined;
|
|
1570
1710
|
}>, {
|
|
1571
|
-
type:
|
|
1711
|
+
type: "OffchainQuotedLinearFee";
|
|
1572
1712
|
owner: string;
|
|
1713
|
+
beneficiary?: string | undefined;
|
|
1573
1714
|
maxFee?: bigint | undefined;
|
|
1574
1715
|
halfAmount?: bigint | undefined;
|
|
1575
1716
|
bps?: number | undefined;
|
|
1576
1717
|
quoteSigners?: string[] | undefined;
|
|
1577
1718
|
}, {
|
|
1578
|
-
type:
|
|
1719
|
+
type: "OffchainQuotedLinearFee";
|
|
1579
1720
|
owner: string;
|
|
1721
|
+
beneficiary?: string | undefined;
|
|
1580
1722
|
maxFee?: string | number | bigint | undefined;
|
|
1581
1723
|
halfAmount?: string | number | bigint | undefined;
|
|
1582
1724
|
bps?: string | number | undefined;
|
|
1583
1725
|
quoteSigners?: string[] | undefined;
|
|
1584
1726
|
}>, {
|
|
1585
1727
|
bps: number;
|
|
1586
|
-
type:
|
|
1728
|
+
type: "OffchainQuotedLinearFee";
|
|
1587
1729
|
owner: string;
|
|
1730
|
+
beneficiary?: string | undefined;
|
|
1588
1731
|
maxFee?: bigint | undefined;
|
|
1589
1732
|
halfAmount?: bigint | undefined;
|
|
1590
1733
|
quoteSigners?: string[] | undefined;
|
|
1591
1734
|
}, {
|
|
1592
|
-
type:
|
|
1735
|
+
type: "OffchainQuotedLinearFee";
|
|
1593
1736
|
owner: string;
|
|
1737
|
+
beneficiary?: string | undefined;
|
|
1594
1738
|
maxFee?: string | number | bigint | undefined;
|
|
1595
1739
|
halfAmount?: string | number | bigint | undefined;
|
|
1596
1740
|
bps?: string | number | undefined;
|
|
1597
1741
|
quoteSigners?: string[] | undefined;
|
|
1598
1742
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1599
1743
|
owner: z.ZodString;
|
|
1744
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1600
1745
|
} & {
|
|
1601
|
-
type: z.ZodLiteral<
|
|
1746
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
1602
1747
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1603
1748
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1604
1749
|
}, "strip", z.ZodTypeAny, {
|
|
1605
|
-
type:
|
|
1750
|
+
type: "ProgressiveFee";
|
|
1606
1751
|
owner: string;
|
|
1607
1752
|
maxFee: bigint;
|
|
1608
1753
|
halfAmount: bigint;
|
|
1754
|
+
beneficiary?: string | undefined;
|
|
1609
1755
|
}, {
|
|
1610
|
-
type:
|
|
1756
|
+
type: "ProgressiveFee";
|
|
1611
1757
|
owner: string;
|
|
1612
1758
|
maxFee: string | number | bigint;
|
|
1613
1759
|
halfAmount: string | number | bigint;
|
|
1760
|
+
beneficiary?: string | undefined;
|
|
1614
1761
|
}>, {
|
|
1615
|
-
type:
|
|
1762
|
+
type: "ProgressiveFee";
|
|
1616
1763
|
owner: string;
|
|
1617
1764
|
maxFee: bigint;
|
|
1618
1765
|
halfAmount: bigint;
|
|
1766
|
+
beneficiary?: string | undefined;
|
|
1619
1767
|
}, {
|
|
1620
|
-
type:
|
|
1768
|
+
type: "ProgressiveFee";
|
|
1621
1769
|
owner: string;
|
|
1622
1770
|
maxFee: string | number | bigint;
|
|
1623
1771
|
halfAmount: string | number | bigint;
|
|
1772
|
+
beneficiary?: string | undefined;
|
|
1624
1773
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1625
1774
|
owner: z.ZodString;
|
|
1775
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1626
1776
|
} & {
|
|
1627
|
-
type: z.ZodLiteral<
|
|
1777
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
1628
1778
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1629
1779
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1630
1780
|
}, "strip", z.ZodTypeAny, {
|
|
1631
|
-
type:
|
|
1781
|
+
type: "RegressiveFee";
|
|
1632
1782
|
owner: string;
|
|
1633
1783
|
maxFee: bigint;
|
|
1634
1784
|
halfAmount: bigint;
|
|
1785
|
+
beneficiary?: string | undefined;
|
|
1635
1786
|
}, {
|
|
1636
|
-
type:
|
|
1787
|
+
type: "RegressiveFee";
|
|
1637
1788
|
owner: string;
|
|
1638
1789
|
maxFee: string | number | bigint;
|
|
1639
1790
|
halfAmount: string | number | bigint;
|
|
1791
|
+
beneficiary?: string | undefined;
|
|
1640
1792
|
}>, {
|
|
1641
|
-
type:
|
|
1793
|
+
type: "RegressiveFee";
|
|
1642
1794
|
owner: string;
|
|
1643
1795
|
maxFee: bigint;
|
|
1644
1796
|
halfAmount: bigint;
|
|
1797
|
+
beneficiary?: string | undefined;
|
|
1645
1798
|
}, {
|
|
1646
|
-
type:
|
|
1799
|
+
type: "RegressiveFee";
|
|
1647
1800
|
owner: string;
|
|
1648
1801
|
maxFee: string | number | bigint;
|
|
1649
1802
|
halfAmount: string | number | bigint;
|
|
1803
|
+
beneficiary?: string | undefined;
|
|
1650
1804
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1651
1805
|
owner: z.ZodString;
|
|
1806
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1652
1807
|
} & {
|
|
1653
|
-
type: z.ZodLiteral<
|
|
1808
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
1654
1809
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
1655
1810
|
}, "strip", z.ZodTypeAny, {
|
|
1656
|
-
type:
|
|
1811
|
+
type: "RoutingFee";
|
|
1657
1812
|
owner: string;
|
|
1658
1813
|
feeContracts: Record<string, any>;
|
|
1814
|
+
beneficiary?: string | undefined;
|
|
1659
1815
|
}, {
|
|
1660
|
-
type:
|
|
1816
|
+
type: "RoutingFee";
|
|
1661
1817
|
owner: string;
|
|
1662
1818
|
feeContracts: Record<string, any>;
|
|
1819
|
+
beneficiary?: string | undefined;
|
|
1663
1820
|
}>, {
|
|
1664
|
-
type:
|
|
1821
|
+
type: "RoutingFee";
|
|
1665
1822
|
owner: string;
|
|
1666
1823
|
feeContracts: Record<string, any>;
|
|
1824
|
+
beneficiary?: string | undefined;
|
|
1667
1825
|
}, {
|
|
1668
|
-
type:
|
|
1826
|
+
type: "RoutingFee";
|
|
1669
1827
|
owner: string;
|
|
1670
1828
|
feeContracts: Record<string, any>;
|
|
1829
|
+
beneficiary?: string | undefined;
|
|
1671
1830
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1672
1831
|
owner: z.ZodString;
|
|
1832
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1673
1833
|
} & {
|
|
1674
|
-
type: z.ZodLiteral<
|
|
1834
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
1675
1835
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, any>, Record<string, any>>>;
|
|
1676
1836
|
}, "strip", z.ZodTypeAny, {
|
|
1677
|
-
type:
|
|
1837
|
+
type: "CrossCollateralRoutingFee";
|
|
1678
1838
|
owner: string;
|
|
1679
1839
|
feeContracts: Record<string, Record<string, any>>;
|
|
1840
|
+
beneficiary?: string | undefined;
|
|
1680
1841
|
}, {
|
|
1681
|
-
type:
|
|
1842
|
+
type: "CrossCollateralRoutingFee";
|
|
1682
1843
|
owner: string;
|
|
1683
1844
|
feeContracts: Record<string, Record<string, any>>;
|
|
1845
|
+
beneficiary?: string | undefined;
|
|
1684
1846
|
}>, {
|
|
1685
|
-
type:
|
|
1847
|
+
type: "CrossCollateralRoutingFee";
|
|
1686
1848
|
owner: string;
|
|
1687
1849
|
feeContracts: Record<string, Record<string, any>>;
|
|
1850
|
+
beneficiary?: string | undefined;
|
|
1688
1851
|
}, {
|
|
1689
|
-
type:
|
|
1852
|
+
type: "CrossCollateralRoutingFee";
|
|
1690
1853
|
owner: string;
|
|
1691
1854
|
feeContracts: Record<string, Record<string, any>>;
|
|
1855
|
+
beneficiary?: string | undefined;
|
|
1692
1856
|
}>]>>;
|
|
1693
1857
|
} & {
|
|
1694
1858
|
/** Router variant. 'regular' (default) deploys full InterchainAccountRouter with commit-reveal;
|
|
@@ -1761,12 +1925,18 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1761
1925
|
}>;
|
|
1762
1926
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1763
1927
|
quoteSigners?: string[] | undefined;
|
|
1928
|
+
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
1764
1929
|
contractVersion?: string | undefined;
|
|
1930
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
1931
|
+
gasPrice: string;
|
|
1932
|
+
tokenExchangeRate: string;
|
|
1933
|
+
tokenDecimals?: number | undefined;
|
|
1934
|
+
}>> | undefined;
|
|
1765
1935
|
} | {
|
|
1766
1936
|
type: "protocolFee";
|
|
1767
1937
|
owner: string;
|
|
1768
|
-
protocolFee: string;
|
|
1769
1938
|
beneficiary: string;
|
|
1939
|
+
protocolFee: string;
|
|
1770
1940
|
maxProtocolFee: string;
|
|
1771
1941
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1772
1942
|
} | {
|
|
@@ -1780,25 +1950,19 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1780
1950
|
nativeBridge: string;
|
|
1781
1951
|
destinationChain: string;
|
|
1782
1952
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1953
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | import("../index.js").ArbL2ToL1HookConfig | {
|
|
1954
|
+
type: "defaultHook";
|
|
1783
1955
|
} | {
|
|
1784
|
-
type: "
|
|
1956
|
+
type: "ccipHook";
|
|
1785
1957
|
destinationChain: string;
|
|
1786
|
-
arbSys: string;
|
|
1787
|
-
bridge?: string | undefined;
|
|
1788
|
-
childHook?: any;
|
|
1789
1958
|
} | {
|
|
1790
|
-
type: "
|
|
1959
|
+
type: "cctpHook";
|
|
1960
|
+
address: string;
|
|
1791
1961
|
} | {
|
|
1792
1962
|
type: "rateLimitedHook";
|
|
1793
1963
|
owner: string;
|
|
1794
1964
|
maxCapacity: string;
|
|
1795
1965
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1796
|
-
} | {
|
|
1797
|
-
type: "ccipHook";
|
|
1798
|
-
destinationChain: string;
|
|
1799
|
-
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | {
|
|
1800
|
-
type: "cctpHook";
|
|
1801
|
-
address: string;
|
|
1802
1966
|
} | z.objectOutputType<{
|
|
1803
1967
|
type: z.ZodLiteral<"unknownHook">;
|
|
1804
1968
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -1849,7 +2013,15 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1849
2013
|
owner: string;
|
|
1850
2014
|
urls: string[];
|
|
1851
2015
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1852
|
-
} |
|
|
2016
|
+
} | ({
|
|
2017
|
+
owner: string;
|
|
2018
|
+
paused: boolean;
|
|
2019
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2020
|
+
} & {
|
|
2021
|
+
type: "pausableIsm";
|
|
2022
|
+
} & {
|
|
2023
|
+
address: string;
|
|
2024
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
1853
2025
|
type: z.ZodLiteral<"unknownIsm">;
|
|
1854
2026
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1855
2027
|
foreignDeployment?: string | undefined;
|
|
@@ -1858,35 +2030,41 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1858
2030
|
}> | undefined;
|
|
1859
2031
|
tokenFee?: {
|
|
1860
2032
|
bps: number;
|
|
1861
|
-
type:
|
|
2033
|
+
type: "LinearFee";
|
|
1862
2034
|
owner: string;
|
|
2035
|
+
beneficiary?: string | undefined;
|
|
1863
2036
|
maxFee?: bigint | undefined;
|
|
1864
2037
|
halfAmount?: bigint | undefined;
|
|
1865
2038
|
} | {
|
|
1866
2039
|
bps: number;
|
|
1867
|
-
type:
|
|
2040
|
+
type: "OffchainQuotedLinearFee";
|
|
1868
2041
|
owner: string;
|
|
2042
|
+
beneficiary?: string | undefined;
|
|
1869
2043
|
maxFee?: bigint | undefined;
|
|
1870
2044
|
halfAmount?: bigint | undefined;
|
|
1871
2045
|
quoteSigners?: string[] | undefined;
|
|
1872
2046
|
} | {
|
|
1873
|
-
type:
|
|
2047
|
+
type: "ProgressiveFee";
|
|
1874
2048
|
owner: string;
|
|
1875
2049
|
maxFee: bigint;
|
|
1876
2050
|
halfAmount: bigint;
|
|
2051
|
+
beneficiary?: string | undefined;
|
|
1877
2052
|
} | {
|
|
1878
|
-
type:
|
|
2053
|
+
type: "RegressiveFee";
|
|
1879
2054
|
owner: string;
|
|
1880
2055
|
maxFee: bigint;
|
|
1881
2056
|
halfAmount: bigint;
|
|
2057
|
+
beneficiary?: string | undefined;
|
|
1882
2058
|
} | {
|
|
1883
|
-
type:
|
|
2059
|
+
type: "RoutingFee";
|
|
1884
2060
|
owner: string;
|
|
1885
2061
|
feeContracts: Record<string, any>;
|
|
2062
|
+
beneficiary?: string | undefined;
|
|
1886
2063
|
} | {
|
|
1887
|
-
type:
|
|
2064
|
+
type: "CrossCollateralRoutingFee";
|
|
1888
2065
|
owner: string;
|
|
1889
2066
|
feeContracts: Record<string, Record<string, any>>;
|
|
2067
|
+
beneficiary?: string | undefined;
|
|
1890
2068
|
} | undefined;
|
|
1891
2069
|
routerType?: IcaRouterType | undefined;
|
|
1892
2070
|
commitmentIsm?: {
|
|
@@ -1929,12 +2107,18 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1929
2107
|
}>;
|
|
1930
2108
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1931
2109
|
quoteSigners?: string[] | undefined;
|
|
2110
|
+
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
1932
2111
|
contractVersion?: string | undefined;
|
|
2112
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
2113
|
+
gasPrice: string;
|
|
2114
|
+
tokenExchangeRate: string;
|
|
2115
|
+
tokenDecimals?: number | undefined;
|
|
2116
|
+
}>> | undefined;
|
|
1933
2117
|
} | {
|
|
1934
2118
|
type: "protocolFee";
|
|
1935
2119
|
owner: string;
|
|
1936
|
-
protocolFee: string;
|
|
1937
2120
|
beneficiary: string;
|
|
2121
|
+
protocolFee: string;
|
|
1938
2122
|
maxProtocolFee: string;
|
|
1939
2123
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1940
2124
|
} | {
|
|
@@ -1948,25 +2132,19 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1948
2132
|
nativeBridge: string;
|
|
1949
2133
|
destinationChain: string;
|
|
1950
2134
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2135
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | import("../index.js").ArbL2ToL1HookConfig | {
|
|
2136
|
+
type: "defaultHook";
|
|
1951
2137
|
} | {
|
|
1952
|
-
type: "
|
|
2138
|
+
type: "ccipHook";
|
|
1953
2139
|
destinationChain: string;
|
|
1954
|
-
arbSys: string;
|
|
1955
|
-
bridge?: string | undefined;
|
|
1956
|
-
childHook?: any;
|
|
1957
2140
|
} | {
|
|
1958
|
-
type: "
|
|
2141
|
+
type: "cctpHook";
|
|
2142
|
+
address: string;
|
|
1959
2143
|
} | {
|
|
1960
2144
|
type: "rateLimitedHook";
|
|
1961
2145
|
owner: string;
|
|
1962
2146
|
maxCapacity: string;
|
|
1963
2147
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1964
|
-
} | {
|
|
1965
|
-
type: "ccipHook";
|
|
1966
|
-
destinationChain: string;
|
|
1967
|
-
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../index.js").AggregationHookConfig | {
|
|
1968
|
-
type: "cctpHook";
|
|
1969
|
-
address: string;
|
|
1970
2148
|
} | z.objectInputType<{
|
|
1971
2149
|
type: z.ZodLiteral<"unknownHook">;
|
|
1972
2150
|
}, z.ZodTypeAny, "passthrough"> | {
|
|
@@ -2017,7 +2195,15 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
2017
2195
|
owner: string;
|
|
2018
2196
|
urls: string[];
|
|
2019
2197
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2020
|
-
} | {
|
|
2198
|
+
} | ({
|
|
2199
|
+
owner: string;
|
|
2200
|
+
paused: boolean;
|
|
2201
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2202
|
+
} & {
|
|
2203
|
+
type: "pausableIsm";
|
|
2204
|
+
} & {
|
|
2205
|
+
address: string;
|
|
2206
|
+
}) | {
|
|
2021
2207
|
type: "interchainAccountRouting";
|
|
2022
2208
|
owner: string;
|
|
2023
2209
|
isms: Record<string, string>;
|
|
@@ -2030,36 +2216,42 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
2030
2216
|
address: string;
|
|
2031
2217
|
}> | undefined;
|
|
2032
2218
|
tokenFee?: {
|
|
2033
|
-
type:
|
|
2219
|
+
type: "LinearFee";
|
|
2034
2220
|
owner: string;
|
|
2221
|
+
beneficiary?: string | undefined;
|
|
2035
2222
|
maxFee?: string | number | bigint | undefined;
|
|
2036
2223
|
halfAmount?: string | number | bigint | undefined;
|
|
2037
2224
|
bps?: string | number | undefined;
|
|
2038
2225
|
} | {
|
|
2039
|
-
type:
|
|
2226
|
+
type: "OffchainQuotedLinearFee";
|
|
2040
2227
|
owner: string;
|
|
2228
|
+
beneficiary?: string | undefined;
|
|
2041
2229
|
maxFee?: string | number | bigint | undefined;
|
|
2042
2230
|
halfAmount?: string | number | bigint | undefined;
|
|
2043
2231
|
bps?: string | number | undefined;
|
|
2044
2232
|
quoteSigners?: string[] | undefined;
|
|
2045
2233
|
} | {
|
|
2046
|
-
type:
|
|
2234
|
+
type: "ProgressiveFee";
|
|
2047
2235
|
owner: string;
|
|
2048
2236
|
maxFee: string | number | bigint;
|
|
2049
2237
|
halfAmount: string | number | bigint;
|
|
2238
|
+
beneficiary?: string | undefined;
|
|
2050
2239
|
} | {
|
|
2051
|
-
type:
|
|
2240
|
+
type: "RegressiveFee";
|
|
2052
2241
|
owner: string;
|
|
2053
2242
|
maxFee: string | number | bigint;
|
|
2054
2243
|
halfAmount: string | number | bigint;
|
|
2244
|
+
beneficiary?: string | undefined;
|
|
2055
2245
|
} | {
|
|
2056
|
-
type:
|
|
2246
|
+
type: "RoutingFee";
|
|
2057
2247
|
owner: string;
|
|
2058
2248
|
feeContracts: Record<string, any>;
|
|
2249
|
+
beneficiary?: string | undefined;
|
|
2059
2250
|
} | {
|
|
2060
|
-
type:
|
|
2251
|
+
type: "CrossCollateralRoutingFee";
|
|
2061
2252
|
owner: string;
|
|
2062
2253
|
feeContracts: Record<string, Record<string, any>>;
|
|
2254
|
+
beneficiary?: string | undefined;
|
|
2063
2255
|
} | undefined;
|
|
2064
2256
|
routerType?: IcaRouterType | undefined;
|
|
2065
2257
|
commitmentIsm?: {
|