@hyperlane-xyz/sdk 35.2.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/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +24 -5
- 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/HyperlaneCoreDeployer.d.ts.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.js +26 -8
- package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
- package/dist/core/types.d.ts +608 -552
- package/dist/core/types.d.ts.map +1 -1
- 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/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.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.js +10 -8
- package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
- package/dist/gas/types.d.ts +9 -1
- package/dist/gas/types.d.ts.map +1 -1
- package/dist/gas/types.js +1 -0
- package/dist/gas/types.js.map +1 -1
- package/dist/hook/EvmHookModule.d.ts.map +1 -1
- package/dist/hook/EvmHookModule.js +13 -4
- 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 +50 -9
- package/dist/hook/EvmHookReader.js.map +1 -1
- package/dist/hook/EvmHookReader.test.js +106 -1
- package/dist/hook/EvmHookReader.test.js.map +1 -1
- package/dist/hook/types.d.ts +23 -306
- package/dist/hook/types.d.ts.map +1 -1
- package/dist/hook/types.js +2 -2
- package/dist/hook/types.js.map +1 -1
- package/dist/hook/types.test.js +169 -22
- package/dist/hook/types.test.js.map +1 -1
- package/dist/ica/types.d.ts +280 -194
- package/dist/ica/types.d.ts.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- 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.js +144 -2
- package/dist/ism/EvmIsmModule.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 -7
- 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 +221 -4
- package/dist/metadata/agentConfig.d.ts.map +1 -1
- package/dist/metadata/agentConfig.js +19 -0
- package/dist/metadata/agentConfig.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/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/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/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 +331 -245
- 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/token/EvmWarpModule.d.ts +1 -0
- 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 +27 -1
- 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/types.d.ts +991 -642
- 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 +4 -0
- package/dist/utils/contract.d.ts.map +1 -1
- package/dist/utils/contract.js +4 -0
- package/dist/utils/contract.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/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 +10 -10
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<{
|
|
@@ -143,38 +143,14 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
143
143
|
tokenExchangeRate: z.ZodString;
|
|
144
144
|
} & {
|
|
145
145
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
146
|
-
} & {
|
|
147
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
148
|
-
handleGasAmount: z.ZodNumber;
|
|
149
|
-
totalGasAmount: z.ZodNumber;
|
|
150
|
-
totalUsdCost: z.ZodNumber;
|
|
151
|
-
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
handleGasAmount: number;
|
|
153
|
-
totalGasAmount: number;
|
|
154
|
-
totalUsdCost: number;
|
|
155
|
-
}, {
|
|
156
|
-
handleGasAmount: number;
|
|
157
|
-
totalGasAmount: number;
|
|
158
|
-
totalUsdCost: number;
|
|
159
|
-
}>>;
|
|
160
146
|
}, "strip", z.ZodTypeAny, {
|
|
161
147
|
gasPrice: string;
|
|
162
148
|
tokenExchangeRate: string;
|
|
163
149
|
tokenDecimals?: number | undefined;
|
|
164
|
-
typicalCost?: {
|
|
165
|
-
handleGasAmount: number;
|
|
166
|
-
totalGasAmount: number;
|
|
167
|
-
totalUsdCost: number;
|
|
168
|
-
} | undefined;
|
|
169
150
|
}, {
|
|
170
151
|
gasPrice: string;
|
|
171
152
|
tokenExchangeRate: string;
|
|
172
153
|
tokenDecimals?: number | undefined;
|
|
173
|
-
typicalCost?: {
|
|
174
|
-
handleGasAmount: number;
|
|
175
|
-
totalGasAmount: number;
|
|
176
|
-
totalUsdCost: number;
|
|
177
|
-
} | undefined;
|
|
178
154
|
}>>>>;
|
|
179
155
|
}, "strip", z.ZodTypeAny, {
|
|
180
156
|
type: "interchainGasPaymaster";
|
|
@@ -200,11 +176,6 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
200
176
|
gasPrice: string;
|
|
201
177
|
tokenExchangeRate: string;
|
|
202
178
|
tokenDecimals?: number | undefined;
|
|
203
|
-
typicalCost?: {
|
|
204
|
-
handleGasAmount: number;
|
|
205
|
-
totalGasAmount: number;
|
|
206
|
-
totalUsdCost: number;
|
|
207
|
-
} | undefined;
|
|
208
179
|
}>> | undefined;
|
|
209
180
|
}, {
|
|
210
181
|
type: "interchainGasPaymaster";
|
|
@@ -230,11 +201,6 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
230
201
|
gasPrice: string;
|
|
231
202
|
tokenExchangeRate: string;
|
|
232
203
|
tokenDecimals?: number | undefined;
|
|
233
|
-
typicalCost?: {
|
|
234
|
-
handleGasAmount: number;
|
|
235
|
-
totalGasAmount: number;
|
|
236
|
-
totalUsdCost: number;
|
|
237
|
-
} | undefined;
|
|
238
204
|
}>> | undefined;
|
|
239
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<{
|
|
240
206
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -330,7 +296,32 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
330
296
|
type: "opStackIsm";
|
|
331
297
|
origin: string;
|
|
332
298
|
nativeBridge: string;
|
|
333
|
-
}>, 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<{
|
|
334
325
|
owner: z.ZodString;
|
|
335
326
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
336
327
|
} & {
|
|
@@ -521,192 +512,226 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
521
512
|
}>>;
|
|
522
513
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
523
514
|
owner: z.ZodString;
|
|
515
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
524
516
|
} & {
|
|
525
517
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
526
518
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
527
|
-
type: z.ZodLiteral<
|
|
519
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
528
520
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
529
521
|
}, "strip", z.ZodTypeAny, {
|
|
530
|
-
type:
|
|
522
|
+
type: "LinearFee";
|
|
531
523
|
owner: string;
|
|
524
|
+
beneficiary?: string | undefined;
|
|
532
525
|
maxFee?: bigint | undefined;
|
|
533
526
|
halfAmount?: bigint | undefined;
|
|
534
527
|
bps?: number | undefined;
|
|
535
528
|
}, {
|
|
536
|
-
type:
|
|
529
|
+
type: "LinearFee";
|
|
537
530
|
owner: string;
|
|
531
|
+
beneficiary?: string | undefined;
|
|
538
532
|
maxFee?: string | number | bigint | undefined;
|
|
539
533
|
halfAmount?: string | number | bigint | undefined;
|
|
540
534
|
bps?: string | number | undefined;
|
|
541
535
|
}>, {
|
|
542
|
-
type:
|
|
536
|
+
type: "LinearFee";
|
|
543
537
|
owner: string;
|
|
538
|
+
beneficiary?: string | undefined;
|
|
544
539
|
maxFee?: bigint | undefined;
|
|
545
540
|
halfAmount?: bigint | undefined;
|
|
546
541
|
bps?: number | undefined;
|
|
547
542
|
}, {
|
|
548
|
-
type:
|
|
543
|
+
type: "LinearFee";
|
|
549
544
|
owner: string;
|
|
545
|
+
beneficiary?: string | undefined;
|
|
550
546
|
maxFee?: string | number | bigint | undefined;
|
|
551
547
|
halfAmount?: string | number | bigint | undefined;
|
|
552
548
|
bps?: string | number | undefined;
|
|
553
549
|
}>, {
|
|
554
550
|
bps: number;
|
|
555
|
-
type:
|
|
551
|
+
type: "LinearFee";
|
|
556
552
|
owner: string;
|
|
553
|
+
beneficiary?: string | undefined;
|
|
557
554
|
maxFee?: bigint | undefined;
|
|
558
555
|
halfAmount?: bigint | undefined;
|
|
559
556
|
}, {
|
|
560
|
-
type:
|
|
557
|
+
type: "LinearFee";
|
|
561
558
|
owner: string;
|
|
559
|
+
beneficiary?: string | undefined;
|
|
562
560
|
maxFee?: string | number | bigint | undefined;
|
|
563
561
|
halfAmount?: string | number | bigint | undefined;
|
|
564
562
|
bps?: string | number | undefined;
|
|
565
563
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
566
564
|
owner: z.ZodString;
|
|
565
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
567
566
|
} & {
|
|
568
567
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
569
568
|
} & {
|
|
570
569
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
571
570
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
572
|
-
type: z.ZodLiteral<
|
|
571
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
573
572
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
574
573
|
}, "strip", z.ZodTypeAny, {
|
|
575
|
-
type:
|
|
574
|
+
type: "OffchainQuotedLinearFee";
|
|
576
575
|
owner: string;
|
|
576
|
+
beneficiary?: string | undefined;
|
|
577
577
|
maxFee?: bigint | undefined;
|
|
578
578
|
halfAmount?: bigint | undefined;
|
|
579
579
|
bps?: number | undefined;
|
|
580
580
|
quoteSigners?: string[] | undefined;
|
|
581
581
|
}, {
|
|
582
|
-
type:
|
|
582
|
+
type: "OffchainQuotedLinearFee";
|
|
583
583
|
owner: string;
|
|
584
|
+
beneficiary?: string | undefined;
|
|
584
585
|
maxFee?: string | number | bigint | undefined;
|
|
585
586
|
halfAmount?: string | number | bigint | undefined;
|
|
586
587
|
bps?: string | number | undefined;
|
|
587
588
|
quoteSigners?: string[] | undefined;
|
|
588
589
|
}>, {
|
|
589
|
-
type:
|
|
590
|
+
type: "OffchainQuotedLinearFee";
|
|
590
591
|
owner: string;
|
|
592
|
+
beneficiary?: string | undefined;
|
|
591
593
|
maxFee?: bigint | undefined;
|
|
592
594
|
halfAmount?: bigint | undefined;
|
|
593
595
|
bps?: number | undefined;
|
|
594
596
|
quoteSigners?: string[] | undefined;
|
|
595
597
|
}, {
|
|
596
|
-
type:
|
|
598
|
+
type: "OffchainQuotedLinearFee";
|
|
597
599
|
owner: string;
|
|
600
|
+
beneficiary?: string | undefined;
|
|
598
601
|
maxFee?: string | number | bigint | undefined;
|
|
599
602
|
halfAmount?: string | number | bigint | undefined;
|
|
600
603
|
bps?: string | number | undefined;
|
|
601
604
|
quoteSigners?: string[] | undefined;
|
|
602
605
|
}>, {
|
|
603
606
|
bps: number;
|
|
604
|
-
type:
|
|
607
|
+
type: "OffchainQuotedLinearFee";
|
|
605
608
|
owner: string;
|
|
609
|
+
beneficiary?: string | undefined;
|
|
606
610
|
maxFee?: bigint | undefined;
|
|
607
611
|
halfAmount?: bigint | undefined;
|
|
608
612
|
quoteSigners?: string[] | undefined;
|
|
609
613
|
}, {
|
|
610
|
-
type:
|
|
614
|
+
type: "OffchainQuotedLinearFee";
|
|
611
615
|
owner: string;
|
|
616
|
+
beneficiary?: string | undefined;
|
|
612
617
|
maxFee?: string | number | bigint | undefined;
|
|
613
618
|
halfAmount?: string | number | bigint | undefined;
|
|
614
619
|
bps?: string | number | undefined;
|
|
615
620
|
quoteSigners?: string[] | undefined;
|
|
616
621
|
}>, z.ZodEffects<z.ZodObject<{
|
|
617
622
|
owner: z.ZodString;
|
|
623
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
618
624
|
} & {
|
|
619
|
-
type: z.ZodLiteral<
|
|
625
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
620
626
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
621
627
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
622
628
|
}, "strip", z.ZodTypeAny, {
|
|
623
|
-
type:
|
|
629
|
+
type: "ProgressiveFee";
|
|
624
630
|
owner: string;
|
|
625
631
|
maxFee: bigint;
|
|
626
632
|
halfAmount: bigint;
|
|
633
|
+
beneficiary?: string | undefined;
|
|
627
634
|
}, {
|
|
628
|
-
type:
|
|
635
|
+
type: "ProgressiveFee";
|
|
629
636
|
owner: string;
|
|
630
637
|
maxFee: string | number | bigint;
|
|
631
638
|
halfAmount: string | number | bigint;
|
|
639
|
+
beneficiary?: string | undefined;
|
|
632
640
|
}>, {
|
|
633
|
-
type:
|
|
641
|
+
type: "ProgressiveFee";
|
|
634
642
|
owner: string;
|
|
635
643
|
maxFee: bigint;
|
|
636
644
|
halfAmount: bigint;
|
|
645
|
+
beneficiary?: string | undefined;
|
|
637
646
|
}, {
|
|
638
|
-
type:
|
|
647
|
+
type: "ProgressiveFee";
|
|
639
648
|
owner: string;
|
|
640
649
|
maxFee: string | number | bigint;
|
|
641
650
|
halfAmount: string | number | bigint;
|
|
651
|
+
beneficiary?: string | undefined;
|
|
642
652
|
}>, z.ZodEffects<z.ZodObject<{
|
|
643
653
|
owner: z.ZodString;
|
|
654
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
644
655
|
} & {
|
|
645
|
-
type: z.ZodLiteral<
|
|
656
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
646
657
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
647
658
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
648
659
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
type:
|
|
660
|
+
type: "RegressiveFee";
|
|
650
661
|
owner: string;
|
|
651
662
|
maxFee: bigint;
|
|
652
663
|
halfAmount: bigint;
|
|
664
|
+
beneficiary?: string | undefined;
|
|
653
665
|
}, {
|
|
654
|
-
type:
|
|
666
|
+
type: "RegressiveFee";
|
|
655
667
|
owner: string;
|
|
656
668
|
maxFee: string | number | bigint;
|
|
657
669
|
halfAmount: string | number | bigint;
|
|
670
|
+
beneficiary?: string | undefined;
|
|
658
671
|
}>, {
|
|
659
|
-
type:
|
|
672
|
+
type: "RegressiveFee";
|
|
660
673
|
owner: string;
|
|
661
674
|
maxFee: bigint;
|
|
662
675
|
halfAmount: bigint;
|
|
676
|
+
beneficiary?: string | undefined;
|
|
663
677
|
}, {
|
|
664
|
-
type:
|
|
678
|
+
type: "RegressiveFee";
|
|
665
679
|
owner: string;
|
|
666
680
|
maxFee: string | number | bigint;
|
|
667
681
|
halfAmount: string | number | bigint;
|
|
682
|
+
beneficiary?: string | undefined;
|
|
668
683
|
}>, z.ZodEffects<z.ZodObject<{
|
|
669
684
|
owner: z.ZodString;
|
|
685
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
670
686
|
} & {
|
|
671
|
-
type: z.ZodLiteral<
|
|
687
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
672
688
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
673
689
|
}, "strip", z.ZodTypeAny, {
|
|
674
|
-
type:
|
|
690
|
+
type: "RoutingFee";
|
|
675
691
|
owner: string;
|
|
676
692
|
feeContracts: Record<string, any>;
|
|
693
|
+
beneficiary?: string | undefined;
|
|
677
694
|
}, {
|
|
678
|
-
type:
|
|
695
|
+
type: "RoutingFee";
|
|
679
696
|
owner: string;
|
|
680
697
|
feeContracts: Record<string, any>;
|
|
698
|
+
beneficiary?: string | undefined;
|
|
681
699
|
}>, {
|
|
682
|
-
type:
|
|
700
|
+
type: "RoutingFee";
|
|
683
701
|
owner: string;
|
|
684
702
|
feeContracts: Record<string, any>;
|
|
703
|
+
beneficiary?: string | undefined;
|
|
685
704
|
}, {
|
|
686
|
-
type:
|
|
705
|
+
type: "RoutingFee";
|
|
687
706
|
owner: string;
|
|
688
707
|
feeContracts: Record<string, any>;
|
|
708
|
+
beneficiary?: string | undefined;
|
|
689
709
|
}>, z.ZodEffects<z.ZodObject<{
|
|
690
710
|
owner: z.ZodString;
|
|
711
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
691
712
|
} & {
|
|
692
|
-
type: z.ZodLiteral<
|
|
713
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
693
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>>>;
|
|
694
715
|
}, "strip", z.ZodTypeAny, {
|
|
695
|
-
type:
|
|
716
|
+
type: "CrossCollateralRoutingFee";
|
|
696
717
|
owner: string;
|
|
697
718
|
feeContracts: Record<string, Record<string, any>>;
|
|
719
|
+
beneficiary?: string | undefined;
|
|
698
720
|
}, {
|
|
699
|
-
type:
|
|
721
|
+
type: "CrossCollateralRoutingFee";
|
|
700
722
|
owner: string;
|
|
701
723
|
feeContracts: Record<string, Record<string, any>>;
|
|
724
|
+
beneficiary?: string | undefined;
|
|
702
725
|
}>, {
|
|
703
|
-
type:
|
|
726
|
+
type: "CrossCollateralRoutingFee";
|
|
704
727
|
owner: string;
|
|
705
728
|
feeContracts: Record<string, Record<string, any>>;
|
|
729
|
+
beneficiary?: string | undefined;
|
|
706
730
|
}, {
|
|
707
|
-
type:
|
|
731
|
+
type: "CrossCollateralRoutingFee";
|
|
708
732
|
owner: string;
|
|
709
733
|
feeContracts: Record<string, Record<string, any>>;
|
|
734
|
+
beneficiary?: string | undefined;
|
|
710
735
|
}>]>>;
|
|
711
736
|
} & {
|
|
712
737
|
/** Router variant. 'regular' (default) deploys full InterchainAccountRouter with commit-reveal;
|
|
@@ -782,17 +807,12 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
782
807
|
gasPrice: string;
|
|
783
808
|
tokenExchangeRate: string;
|
|
784
809
|
tokenDecimals?: number | undefined;
|
|
785
|
-
typicalCost?: {
|
|
786
|
-
handleGasAmount: number;
|
|
787
|
-
totalGasAmount: number;
|
|
788
|
-
totalUsdCost: number;
|
|
789
|
-
} | undefined;
|
|
790
810
|
}>> | undefined;
|
|
791
811
|
} | {
|
|
792
812
|
type: "protocolFee";
|
|
793
813
|
owner: string;
|
|
794
|
-
protocolFee: string;
|
|
795
814
|
beneficiary: string;
|
|
815
|
+
protocolFee: string;
|
|
796
816
|
maxProtocolFee: string;
|
|
797
817
|
ownerOverrides?: Record<string, string> | undefined;
|
|
798
818
|
} | {
|
|
@@ -869,7 +889,15 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
869
889
|
owner: string;
|
|
870
890
|
urls: string[];
|
|
871
891
|
ownerOverrides?: Record<string, string> | undefined;
|
|
872
|
-
} |
|
|
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<{
|
|
873
901
|
type: z.ZodLiteral<"unknownIsm">;
|
|
874
902
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
875
903
|
foreignDeployment?: string | undefined;
|
|
@@ -878,35 +906,41 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
878
906
|
}> | undefined;
|
|
879
907
|
tokenFee?: {
|
|
880
908
|
bps: number;
|
|
881
|
-
type:
|
|
909
|
+
type: "LinearFee";
|
|
882
910
|
owner: string;
|
|
911
|
+
beneficiary?: string | undefined;
|
|
883
912
|
maxFee?: bigint | undefined;
|
|
884
913
|
halfAmount?: bigint | undefined;
|
|
885
914
|
} | {
|
|
886
915
|
bps: number;
|
|
887
|
-
type:
|
|
916
|
+
type: "OffchainQuotedLinearFee";
|
|
888
917
|
owner: string;
|
|
918
|
+
beneficiary?: string | undefined;
|
|
889
919
|
maxFee?: bigint | undefined;
|
|
890
920
|
halfAmount?: bigint | undefined;
|
|
891
921
|
quoteSigners?: string[] | undefined;
|
|
892
922
|
} | {
|
|
893
|
-
type:
|
|
923
|
+
type: "ProgressiveFee";
|
|
894
924
|
owner: string;
|
|
895
925
|
maxFee: bigint;
|
|
896
926
|
halfAmount: bigint;
|
|
927
|
+
beneficiary?: string | undefined;
|
|
897
928
|
} | {
|
|
898
|
-
type:
|
|
929
|
+
type: "RegressiveFee";
|
|
899
930
|
owner: string;
|
|
900
931
|
maxFee: bigint;
|
|
901
932
|
halfAmount: bigint;
|
|
933
|
+
beneficiary?: string | undefined;
|
|
902
934
|
} | {
|
|
903
|
-
type:
|
|
935
|
+
type: "RoutingFee";
|
|
904
936
|
owner: string;
|
|
905
937
|
feeContracts: Record<string, any>;
|
|
938
|
+
beneficiary?: string | undefined;
|
|
906
939
|
} | {
|
|
907
|
-
type:
|
|
940
|
+
type: "CrossCollateralRoutingFee";
|
|
908
941
|
owner: string;
|
|
909
942
|
feeContracts: Record<string, Record<string, any>>;
|
|
943
|
+
beneficiary?: string | undefined;
|
|
910
944
|
} | undefined;
|
|
911
945
|
routerType?: IcaRouterType | undefined;
|
|
912
946
|
commitmentIsm?: {
|
|
@@ -954,17 +988,12 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
954
988
|
gasPrice: string;
|
|
955
989
|
tokenExchangeRate: string;
|
|
956
990
|
tokenDecimals?: number | undefined;
|
|
957
|
-
typicalCost?: {
|
|
958
|
-
handleGasAmount: number;
|
|
959
|
-
totalGasAmount: number;
|
|
960
|
-
totalUsdCost: number;
|
|
961
|
-
} | undefined;
|
|
962
991
|
}>> | undefined;
|
|
963
992
|
} | {
|
|
964
993
|
type: "protocolFee";
|
|
965
994
|
owner: string;
|
|
966
|
-
protocolFee: string;
|
|
967
995
|
beneficiary: string;
|
|
996
|
+
protocolFee: string;
|
|
968
997
|
maxProtocolFee: string;
|
|
969
998
|
ownerOverrides?: Record<string, string> | undefined;
|
|
970
999
|
} | {
|
|
@@ -1041,7 +1070,15 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
1041
1070
|
owner: string;
|
|
1042
1071
|
urls: string[];
|
|
1043
1072
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1044
|
-
} | {
|
|
1073
|
+
} | ({
|
|
1074
|
+
owner: string;
|
|
1075
|
+
paused: boolean;
|
|
1076
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1077
|
+
} & {
|
|
1078
|
+
type: "pausableIsm";
|
|
1079
|
+
} & {
|
|
1080
|
+
address: string;
|
|
1081
|
+
}) | {
|
|
1045
1082
|
type: "interchainAccountRouting";
|
|
1046
1083
|
owner: string;
|
|
1047
1084
|
isms: Record<string, string>;
|
|
@@ -1054,36 +1091,42 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
1054
1091
|
address: string;
|
|
1055
1092
|
}> | undefined;
|
|
1056
1093
|
tokenFee?: {
|
|
1057
|
-
type:
|
|
1094
|
+
type: "LinearFee";
|
|
1058
1095
|
owner: string;
|
|
1096
|
+
beneficiary?: string | undefined;
|
|
1059
1097
|
maxFee?: string | number | bigint | undefined;
|
|
1060
1098
|
halfAmount?: string | number | bigint | undefined;
|
|
1061
1099
|
bps?: string | number | undefined;
|
|
1062
1100
|
} | {
|
|
1063
|
-
type:
|
|
1101
|
+
type: "OffchainQuotedLinearFee";
|
|
1064
1102
|
owner: string;
|
|
1103
|
+
beneficiary?: string | undefined;
|
|
1065
1104
|
maxFee?: string | number | bigint | undefined;
|
|
1066
1105
|
halfAmount?: string | number | bigint | undefined;
|
|
1067
1106
|
bps?: string | number | undefined;
|
|
1068
1107
|
quoteSigners?: string[] | undefined;
|
|
1069
1108
|
} | {
|
|
1070
|
-
type:
|
|
1109
|
+
type: "ProgressiveFee";
|
|
1071
1110
|
owner: string;
|
|
1072
1111
|
maxFee: string | number | bigint;
|
|
1073
1112
|
halfAmount: string | number | bigint;
|
|
1113
|
+
beneficiary?: string | undefined;
|
|
1074
1114
|
} | {
|
|
1075
|
-
type:
|
|
1115
|
+
type: "RegressiveFee";
|
|
1076
1116
|
owner: string;
|
|
1077
1117
|
maxFee: string | number | bigint;
|
|
1078
1118
|
halfAmount: string | number | bigint;
|
|
1119
|
+
beneficiary?: string | undefined;
|
|
1079
1120
|
} | {
|
|
1080
|
-
type:
|
|
1121
|
+
type: "RoutingFee";
|
|
1081
1122
|
owner: string;
|
|
1082
1123
|
feeContracts: Record<string, any>;
|
|
1124
|
+
beneficiary?: string | undefined;
|
|
1083
1125
|
} | {
|
|
1084
|
-
type:
|
|
1126
|
+
type: "CrossCollateralRoutingFee";
|
|
1085
1127
|
owner: string;
|
|
1086
1128
|
feeContracts: Record<string, Record<string, any>>;
|
|
1129
|
+
beneficiary?: string | undefined;
|
|
1087
1130
|
} | undefined;
|
|
1088
1131
|
routerType?: IcaRouterType | undefined;
|
|
1089
1132
|
commitmentIsm?: {
|
|
@@ -1114,15 +1157,15 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1114
1157
|
}, "strip", z.ZodTypeAny, {
|
|
1115
1158
|
type: "protocolFee";
|
|
1116
1159
|
owner: string;
|
|
1117
|
-
protocolFee: string;
|
|
1118
1160
|
beneficiary: string;
|
|
1161
|
+
protocolFee: string;
|
|
1119
1162
|
maxProtocolFee: string;
|
|
1120
1163
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1121
1164
|
}, {
|
|
1122
1165
|
type: "protocolFee";
|
|
1123
1166
|
owner: string;
|
|
1124
|
-
protocolFee: string;
|
|
1125
1167
|
beneficiary: string;
|
|
1168
|
+
protocolFee: string;
|
|
1126
1169
|
maxProtocolFee: string;
|
|
1127
1170
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1128
1171
|
}>, z.ZodObject<{
|
|
@@ -1221,38 +1264,14 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1221
1264
|
tokenExchangeRate: z.ZodString;
|
|
1222
1265
|
} & {
|
|
1223
1266
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
1224
|
-
} & {
|
|
1225
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
1226
|
-
handleGasAmount: z.ZodNumber;
|
|
1227
|
-
totalGasAmount: z.ZodNumber;
|
|
1228
|
-
totalUsdCost: z.ZodNumber;
|
|
1229
|
-
}, "strip", z.ZodTypeAny, {
|
|
1230
|
-
handleGasAmount: number;
|
|
1231
|
-
totalGasAmount: number;
|
|
1232
|
-
totalUsdCost: number;
|
|
1233
|
-
}, {
|
|
1234
|
-
handleGasAmount: number;
|
|
1235
|
-
totalGasAmount: number;
|
|
1236
|
-
totalUsdCost: number;
|
|
1237
|
-
}>>;
|
|
1238
1267
|
}, "strip", z.ZodTypeAny, {
|
|
1239
1268
|
gasPrice: string;
|
|
1240
1269
|
tokenExchangeRate: string;
|
|
1241
1270
|
tokenDecimals?: number | undefined;
|
|
1242
|
-
typicalCost?: {
|
|
1243
|
-
handleGasAmount: number;
|
|
1244
|
-
totalGasAmount: number;
|
|
1245
|
-
totalUsdCost: number;
|
|
1246
|
-
} | undefined;
|
|
1247
1271
|
}, {
|
|
1248
1272
|
gasPrice: string;
|
|
1249
1273
|
tokenExchangeRate: string;
|
|
1250
1274
|
tokenDecimals?: number | undefined;
|
|
1251
|
-
typicalCost?: {
|
|
1252
|
-
handleGasAmount: number;
|
|
1253
|
-
totalGasAmount: number;
|
|
1254
|
-
totalUsdCost: number;
|
|
1255
|
-
} | undefined;
|
|
1256
1275
|
}>>>>;
|
|
1257
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1258
1277
|
type: "interchainGasPaymaster";
|
|
@@ -1278,11 +1297,6 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1278
1297
|
gasPrice: string;
|
|
1279
1298
|
tokenExchangeRate: string;
|
|
1280
1299
|
tokenDecimals?: number | undefined;
|
|
1281
|
-
typicalCost?: {
|
|
1282
|
-
handleGasAmount: number;
|
|
1283
|
-
totalGasAmount: number;
|
|
1284
|
-
totalUsdCost: number;
|
|
1285
|
-
} | undefined;
|
|
1286
1300
|
}>> | undefined;
|
|
1287
1301
|
}, {
|
|
1288
1302
|
type: "interchainGasPaymaster";
|
|
@@ -1308,11 +1322,6 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1308
1322
|
gasPrice: string;
|
|
1309
1323
|
tokenExchangeRate: string;
|
|
1310
1324
|
tokenDecimals?: number | undefined;
|
|
1311
|
-
typicalCost?: {
|
|
1312
|
-
handleGasAmount: number;
|
|
1313
|
-
totalGasAmount: number;
|
|
1314
|
-
totalUsdCost: number;
|
|
1315
|
-
} | undefined;
|
|
1316
1325
|
}>> | undefined;
|
|
1317
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<{
|
|
1318
1327
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -1408,7 +1417,32 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1408
1417
|
type: "opStackIsm";
|
|
1409
1418
|
origin: string;
|
|
1410
1419
|
nativeBridge: string;
|
|
1411
|
-
}>, 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<{
|
|
1412
1446
|
owner: z.ZodString;
|
|
1413
1447
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1414
1448
|
} & {
|
|
@@ -1599,192 +1633,226 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1599
1633
|
}>>;
|
|
1600
1634
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1601
1635
|
owner: z.ZodString;
|
|
1636
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1602
1637
|
} & {
|
|
1603
1638
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1604
1639
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1605
|
-
type: z.ZodLiteral<
|
|
1640
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
1606
1641
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1607
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1608
|
-
type:
|
|
1643
|
+
type: "LinearFee";
|
|
1609
1644
|
owner: string;
|
|
1645
|
+
beneficiary?: string | undefined;
|
|
1610
1646
|
maxFee?: bigint | undefined;
|
|
1611
1647
|
halfAmount?: bigint | undefined;
|
|
1612
1648
|
bps?: number | undefined;
|
|
1613
1649
|
}, {
|
|
1614
|
-
type:
|
|
1650
|
+
type: "LinearFee";
|
|
1615
1651
|
owner: string;
|
|
1652
|
+
beneficiary?: string | undefined;
|
|
1616
1653
|
maxFee?: string | number | bigint | undefined;
|
|
1617
1654
|
halfAmount?: string | number | bigint | undefined;
|
|
1618
1655
|
bps?: string | number | undefined;
|
|
1619
1656
|
}>, {
|
|
1620
|
-
type:
|
|
1657
|
+
type: "LinearFee";
|
|
1621
1658
|
owner: string;
|
|
1659
|
+
beneficiary?: string | undefined;
|
|
1622
1660
|
maxFee?: bigint | undefined;
|
|
1623
1661
|
halfAmount?: bigint | undefined;
|
|
1624
1662
|
bps?: number | undefined;
|
|
1625
1663
|
}, {
|
|
1626
|
-
type:
|
|
1664
|
+
type: "LinearFee";
|
|
1627
1665
|
owner: string;
|
|
1666
|
+
beneficiary?: string | undefined;
|
|
1628
1667
|
maxFee?: string | number | bigint | undefined;
|
|
1629
1668
|
halfAmount?: string | number | bigint | undefined;
|
|
1630
1669
|
bps?: string | number | undefined;
|
|
1631
1670
|
}>, {
|
|
1632
1671
|
bps: number;
|
|
1633
|
-
type:
|
|
1672
|
+
type: "LinearFee";
|
|
1634
1673
|
owner: string;
|
|
1674
|
+
beneficiary?: string | undefined;
|
|
1635
1675
|
maxFee?: bigint | undefined;
|
|
1636
1676
|
halfAmount?: bigint | undefined;
|
|
1637
1677
|
}, {
|
|
1638
|
-
type:
|
|
1678
|
+
type: "LinearFee";
|
|
1639
1679
|
owner: string;
|
|
1680
|
+
beneficiary?: string | undefined;
|
|
1640
1681
|
maxFee?: string | number | bigint | undefined;
|
|
1641
1682
|
halfAmount?: string | number | bigint | undefined;
|
|
1642
1683
|
bps?: string | number | undefined;
|
|
1643
1684
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1644
1685
|
owner: z.ZodString;
|
|
1686
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1645
1687
|
} & {
|
|
1646
1688
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1647
1689
|
} & {
|
|
1648
1690
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1649
1691
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1650
|
-
type: z.ZodLiteral<
|
|
1692
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
1651
1693
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1652
1694
|
}, "strip", z.ZodTypeAny, {
|
|
1653
|
-
type:
|
|
1695
|
+
type: "OffchainQuotedLinearFee";
|
|
1654
1696
|
owner: string;
|
|
1697
|
+
beneficiary?: string | undefined;
|
|
1655
1698
|
maxFee?: bigint | undefined;
|
|
1656
1699
|
halfAmount?: bigint | undefined;
|
|
1657
1700
|
bps?: number | undefined;
|
|
1658
1701
|
quoteSigners?: string[] | undefined;
|
|
1659
1702
|
}, {
|
|
1660
|
-
type:
|
|
1703
|
+
type: "OffchainQuotedLinearFee";
|
|
1661
1704
|
owner: string;
|
|
1705
|
+
beneficiary?: string | undefined;
|
|
1662
1706
|
maxFee?: string | number | bigint | undefined;
|
|
1663
1707
|
halfAmount?: string | number | bigint | undefined;
|
|
1664
1708
|
bps?: string | number | undefined;
|
|
1665
1709
|
quoteSigners?: string[] | undefined;
|
|
1666
1710
|
}>, {
|
|
1667
|
-
type:
|
|
1711
|
+
type: "OffchainQuotedLinearFee";
|
|
1668
1712
|
owner: string;
|
|
1713
|
+
beneficiary?: string | undefined;
|
|
1669
1714
|
maxFee?: bigint | undefined;
|
|
1670
1715
|
halfAmount?: bigint | undefined;
|
|
1671
1716
|
bps?: number | undefined;
|
|
1672
1717
|
quoteSigners?: string[] | undefined;
|
|
1673
1718
|
}, {
|
|
1674
|
-
type:
|
|
1719
|
+
type: "OffchainQuotedLinearFee";
|
|
1675
1720
|
owner: string;
|
|
1721
|
+
beneficiary?: string | undefined;
|
|
1676
1722
|
maxFee?: string | number | bigint | undefined;
|
|
1677
1723
|
halfAmount?: string | number | bigint | undefined;
|
|
1678
1724
|
bps?: string | number | undefined;
|
|
1679
1725
|
quoteSigners?: string[] | undefined;
|
|
1680
1726
|
}>, {
|
|
1681
1727
|
bps: number;
|
|
1682
|
-
type:
|
|
1728
|
+
type: "OffchainQuotedLinearFee";
|
|
1683
1729
|
owner: string;
|
|
1730
|
+
beneficiary?: string | undefined;
|
|
1684
1731
|
maxFee?: bigint | undefined;
|
|
1685
1732
|
halfAmount?: bigint | undefined;
|
|
1686
1733
|
quoteSigners?: string[] | undefined;
|
|
1687
1734
|
}, {
|
|
1688
|
-
type:
|
|
1735
|
+
type: "OffchainQuotedLinearFee";
|
|
1689
1736
|
owner: string;
|
|
1737
|
+
beneficiary?: string | undefined;
|
|
1690
1738
|
maxFee?: string | number | bigint | undefined;
|
|
1691
1739
|
halfAmount?: string | number | bigint | undefined;
|
|
1692
1740
|
bps?: string | number | undefined;
|
|
1693
1741
|
quoteSigners?: string[] | undefined;
|
|
1694
1742
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1695
1743
|
owner: z.ZodString;
|
|
1744
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1696
1745
|
} & {
|
|
1697
|
-
type: z.ZodLiteral<
|
|
1746
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
1698
1747
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1699
1748
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1700
1749
|
}, "strip", z.ZodTypeAny, {
|
|
1701
|
-
type:
|
|
1750
|
+
type: "ProgressiveFee";
|
|
1702
1751
|
owner: string;
|
|
1703
1752
|
maxFee: bigint;
|
|
1704
1753
|
halfAmount: bigint;
|
|
1754
|
+
beneficiary?: string | undefined;
|
|
1705
1755
|
}, {
|
|
1706
|
-
type:
|
|
1756
|
+
type: "ProgressiveFee";
|
|
1707
1757
|
owner: string;
|
|
1708
1758
|
maxFee: string | number | bigint;
|
|
1709
1759
|
halfAmount: string | number | bigint;
|
|
1760
|
+
beneficiary?: string | undefined;
|
|
1710
1761
|
}>, {
|
|
1711
|
-
type:
|
|
1762
|
+
type: "ProgressiveFee";
|
|
1712
1763
|
owner: string;
|
|
1713
1764
|
maxFee: bigint;
|
|
1714
1765
|
halfAmount: bigint;
|
|
1766
|
+
beneficiary?: string | undefined;
|
|
1715
1767
|
}, {
|
|
1716
|
-
type:
|
|
1768
|
+
type: "ProgressiveFee";
|
|
1717
1769
|
owner: string;
|
|
1718
1770
|
maxFee: string | number | bigint;
|
|
1719
1771
|
halfAmount: string | number | bigint;
|
|
1772
|
+
beneficiary?: string | undefined;
|
|
1720
1773
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1721
1774
|
owner: z.ZodString;
|
|
1775
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1722
1776
|
} & {
|
|
1723
|
-
type: z.ZodLiteral<
|
|
1777
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
1724
1778
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1725
1779
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1726
1780
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
type:
|
|
1781
|
+
type: "RegressiveFee";
|
|
1728
1782
|
owner: string;
|
|
1729
1783
|
maxFee: bigint;
|
|
1730
1784
|
halfAmount: bigint;
|
|
1785
|
+
beneficiary?: string | undefined;
|
|
1731
1786
|
}, {
|
|
1732
|
-
type:
|
|
1787
|
+
type: "RegressiveFee";
|
|
1733
1788
|
owner: string;
|
|
1734
1789
|
maxFee: string | number | bigint;
|
|
1735
1790
|
halfAmount: string | number | bigint;
|
|
1791
|
+
beneficiary?: string | undefined;
|
|
1736
1792
|
}>, {
|
|
1737
|
-
type:
|
|
1793
|
+
type: "RegressiveFee";
|
|
1738
1794
|
owner: string;
|
|
1739
1795
|
maxFee: bigint;
|
|
1740
1796
|
halfAmount: bigint;
|
|
1797
|
+
beneficiary?: string | undefined;
|
|
1741
1798
|
}, {
|
|
1742
|
-
type:
|
|
1799
|
+
type: "RegressiveFee";
|
|
1743
1800
|
owner: string;
|
|
1744
1801
|
maxFee: string | number | bigint;
|
|
1745
1802
|
halfAmount: string | number | bigint;
|
|
1803
|
+
beneficiary?: string | undefined;
|
|
1746
1804
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1747
1805
|
owner: z.ZodString;
|
|
1806
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1748
1807
|
} & {
|
|
1749
|
-
type: z.ZodLiteral<
|
|
1808
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
1750
1809
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
1751
1810
|
}, "strip", z.ZodTypeAny, {
|
|
1752
|
-
type:
|
|
1811
|
+
type: "RoutingFee";
|
|
1753
1812
|
owner: string;
|
|
1754
1813
|
feeContracts: Record<string, any>;
|
|
1814
|
+
beneficiary?: string | undefined;
|
|
1755
1815
|
}, {
|
|
1756
|
-
type:
|
|
1816
|
+
type: "RoutingFee";
|
|
1757
1817
|
owner: string;
|
|
1758
1818
|
feeContracts: Record<string, any>;
|
|
1819
|
+
beneficiary?: string | undefined;
|
|
1759
1820
|
}>, {
|
|
1760
|
-
type:
|
|
1821
|
+
type: "RoutingFee";
|
|
1761
1822
|
owner: string;
|
|
1762
1823
|
feeContracts: Record<string, any>;
|
|
1824
|
+
beneficiary?: string | undefined;
|
|
1763
1825
|
}, {
|
|
1764
|
-
type:
|
|
1826
|
+
type: "RoutingFee";
|
|
1765
1827
|
owner: string;
|
|
1766
1828
|
feeContracts: Record<string, any>;
|
|
1829
|
+
beneficiary?: string | undefined;
|
|
1767
1830
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1768
1831
|
owner: z.ZodString;
|
|
1832
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1769
1833
|
} & {
|
|
1770
|
-
type: z.ZodLiteral<
|
|
1834
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
1771
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>>>;
|
|
1772
1836
|
}, "strip", z.ZodTypeAny, {
|
|
1773
|
-
type:
|
|
1837
|
+
type: "CrossCollateralRoutingFee";
|
|
1774
1838
|
owner: string;
|
|
1775
1839
|
feeContracts: Record<string, Record<string, any>>;
|
|
1840
|
+
beneficiary?: string | undefined;
|
|
1776
1841
|
}, {
|
|
1777
|
-
type:
|
|
1842
|
+
type: "CrossCollateralRoutingFee";
|
|
1778
1843
|
owner: string;
|
|
1779
1844
|
feeContracts: Record<string, Record<string, any>>;
|
|
1845
|
+
beneficiary?: string | undefined;
|
|
1780
1846
|
}>, {
|
|
1781
|
-
type:
|
|
1847
|
+
type: "CrossCollateralRoutingFee";
|
|
1782
1848
|
owner: string;
|
|
1783
1849
|
feeContracts: Record<string, Record<string, any>>;
|
|
1850
|
+
beneficiary?: string | undefined;
|
|
1784
1851
|
}, {
|
|
1785
|
-
type:
|
|
1852
|
+
type: "CrossCollateralRoutingFee";
|
|
1786
1853
|
owner: string;
|
|
1787
1854
|
feeContracts: Record<string, Record<string, any>>;
|
|
1855
|
+
beneficiary?: string | undefined;
|
|
1788
1856
|
}>]>>;
|
|
1789
1857
|
} & {
|
|
1790
1858
|
/** Router variant. 'regular' (default) deploys full InterchainAccountRouter with commit-reveal;
|
|
@@ -1863,17 +1931,12 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1863
1931
|
gasPrice: string;
|
|
1864
1932
|
tokenExchangeRate: string;
|
|
1865
1933
|
tokenDecimals?: number | undefined;
|
|
1866
|
-
typicalCost?: {
|
|
1867
|
-
handleGasAmount: number;
|
|
1868
|
-
totalGasAmount: number;
|
|
1869
|
-
totalUsdCost: number;
|
|
1870
|
-
} | undefined;
|
|
1871
1934
|
}>> | undefined;
|
|
1872
1935
|
} | {
|
|
1873
1936
|
type: "protocolFee";
|
|
1874
1937
|
owner: string;
|
|
1875
|
-
protocolFee: string;
|
|
1876
1938
|
beneficiary: string;
|
|
1939
|
+
protocolFee: string;
|
|
1877
1940
|
maxProtocolFee: string;
|
|
1878
1941
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1879
1942
|
} | {
|
|
@@ -1950,7 +2013,15 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1950
2013
|
owner: string;
|
|
1951
2014
|
urls: string[];
|
|
1952
2015
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1953
|
-
} |
|
|
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<{
|
|
1954
2025
|
type: z.ZodLiteral<"unknownIsm">;
|
|
1955
2026
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1956
2027
|
foreignDeployment?: string | undefined;
|
|
@@ -1959,35 +2030,41 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1959
2030
|
}> | undefined;
|
|
1960
2031
|
tokenFee?: {
|
|
1961
2032
|
bps: number;
|
|
1962
|
-
type:
|
|
2033
|
+
type: "LinearFee";
|
|
1963
2034
|
owner: string;
|
|
2035
|
+
beneficiary?: string | undefined;
|
|
1964
2036
|
maxFee?: bigint | undefined;
|
|
1965
2037
|
halfAmount?: bigint | undefined;
|
|
1966
2038
|
} | {
|
|
1967
2039
|
bps: number;
|
|
1968
|
-
type:
|
|
2040
|
+
type: "OffchainQuotedLinearFee";
|
|
1969
2041
|
owner: string;
|
|
2042
|
+
beneficiary?: string | undefined;
|
|
1970
2043
|
maxFee?: bigint | undefined;
|
|
1971
2044
|
halfAmount?: bigint | undefined;
|
|
1972
2045
|
quoteSigners?: string[] | undefined;
|
|
1973
2046
|
} | {
|
|
1974
|
-
type:
|
|
2047
|
+
type: "ProgressiveFee";
|
|
1975
2048
|
owner: string;
|
|
1976
2049
|
maxFee: bigint;
|
|
1977
2050
|
halfAmount: bigint;
|
|
2051
|
+
beneficiary?: string | undefined;
|
|
1978
2052
|
} | {
|
|
1979
|
-
type:
|
|
2053
|
+
type: "RegressiveFee";
|
|
1980
2054
|
owner: string;
|
|
1981
2055
|
maxFee: bigint;
|
|
1982
2056
|
halfAmount: bigint;
|
|
2057
|
+
beneficiary?: string | undefined;
|
|
1983
2058
|
} | {
|
|
1984
|
-
type:
|
|
2059
|
+
type: "RoutingFee";
|
|
1985
2060
|
owner: string;
|
|
1986
2061
|
feeContracts: Record<string, any>;
|
|
2062
|
+
beneficiary?: string | undefined;
|
|
1987
2063
|
} | {
|
|
1988
|
-
type:
|
|
2064
|
+
type: "CrossCollateralRoutingFee";
|
|
1989
2065
|
owner: string;
|
|
1990
2066
|
feeContracts: Record<string, Record<string, any>>;
|
|
2067
|
+
beneficiary?: string | undefined;
|
|
1991
2068
|
} | undefined;
|
|
1992
2069
|
routerType?: IcaRouterType | undefined;
|
|
1993
2070
|
commitmentIsm?: {
|
|
@@ -2036,17 +2113,12 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
2036
2113
|
gasPrice: string;
|
|
2037
2114
|
tokenExchangeRate: string;
|
|
2038
2115
|
tokenDecimals?: number | undefined;
|
|
2039
|
-
typicalCost?: {
|
|
2040
|
-
handleGasAmount: number;
|
|
2041
|
-
totalGasAmount: number;
|
|
2042
|
-
totalUsdCost: number;
|
|
2043
|
-
} | undefined;
|
|
2044
2116
|
}>> | undefined;
|
|
2045
2117
|
} | {
|
|
2046
2118
|
type: "protocolFee";
|
|
2047
2119
|
owner: string;
|
|
2048
|
-
protocolFee: string;
|
|
2049
2120
|
beneficiary: string;
|
|
2121
|
+
protocolFee: string;
|
|
2050
2122
|
maxProtocolFee: string;
|
|
2051
2123
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2052
2124
|
} | {
|
|
@@ -2123,7 +2195,15 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
2123
2195
|
owner: string;
|
|
2124
2196
|
urls: string[];
|
|
2125
2197
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2126
|
-
} | {
|
|
2198
|
+
} | ({
|
|
2199
|
+
owner: string;
|
|
2200
|
+
paused: boolean;
|
|
2201
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2202
|
+
} & {
|
|
2203
|
+
type: "pausableIsm";
|
|
2204
|
+
} & {
|
|
2205
|
+
address: string;
|
|
2206
|
+
}) | {
|
|
2127
2207
|
type: "interchainAccountRouting";
|
|
2128
2208
|
owner: string;
|
|
2129
2209
|
isms: Record<string, string>;
|
|
@@ -2136,36 +2216,42 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
2136
2216
|
address: string;
|
|
2137
2217
|
}> | undefined;
|
|
2138
2218
|
tokenFee?: {
|
|
2139
|
-
type:
|
|
2219
|
+
type: "LinearFee";
|
|
2140
2220
|
owner: string;
|
|
2221
|
+
beneficiary?: string | undefined;
|
|
2141
2222
|
maxFee?: string | number | bigint | undefined;
|
|
2142
2223
|
halfAmount?: string | number | bigint | undefined;
|
|
2143
2224
|
bps?: string | number | undefined;
|
|
2144
2225
|
} | {
|
|
2145
|
-
type:
|
|
2226
|
+
type: "OffchainQuotedLinearFee";
|
|
2146
2227
|
owner: string;
|
|
2228
|
+
beneficiary?: string | undefined;
|
|
2147
2229
|
maxFee?: string | number | bigint | undefined;
|
|
2148
2230
|
halfAmount?: string | number | bigint | undefined;
|
|
2149
2231
|
bps?: string | number | undefined;
|
|
2150
2232
|
quoteSigners?: string[] | undefined;
|
|
2151
2233
|
} | {
|
|
2152
|
-
type:
|
|
2234
|
+
type: "ProgressiveFee";
|
|
2153
2235
|
owner: string;
|
|
2154
2236
|
maxFee: string | number | bigint;
|
|
2155
2237
|
halfAmount: string | number | bigint;
|
|
2238
|
+
beneficiary?: string | undefined;
|
|
2156
2239
|
} | {
|
|
2157
|
-
type:
|
|
2240
|
+
type: "RegressiveFee";
|
|
2158
2241
|
owner: string;
|
|
2159
2242
|
maxFee: string | number | bigint;
|
|
2160
2243
|
halfAmount: string | number | bigint;
|
|
2244
|
+
beneficiary?: string | undefined;
|
|
2161
2245
|
} | {
|
|
2162
|
-
type:
|
|
2246
|
+
type: "RoutingFee";
|
|
2163
2247
|
owner: string;
|
|
2164
2248
|
feeContracts: Record<string, any>;
|
|
2249
|
+
beneficiary?: string | undefined;
|
|
2165
2250
|
} | {
|
|
2166
|
-
type:
|
|
2251
|
+
type: "CrossCollateralRoutingFee";
|
|
2167
2252
|
owner: string;
|
|
2168
2253
|
feeContracts: Record<string, Record<string, any>>;
|
|
2254
|
+
beneficiary?: string | undefined;
|
|
2169
2255
|
} | undefined;
|
|
2170
2256
|
routerType?: IcaRouterType | undefined;
|
|
2171
2257
|
commitmentIsm?: {
|