@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/core/types.d.ts
CHANGED
|
@@ -28,7 +28,32 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
28
28
|
type: "opStackIsm";
|
|
29
29
|
origin: string;
|
|
30
30
|
nativeBridge: string;
|
|
31
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
31
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
32
|
+
owner: z.ZodString;
|
|
33
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
34
|
+
} & {
|
|
35
|
+
paused: z.ZodBoolean;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
owner: string;
|
|
38
|
+
paused: boolean;
|
|
39
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
owner: string;
|
|
42
|
+
paused: boolean;
|
|
43
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
44
|
+
}>, z.ZodObject<{
|
|
45
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
type: "pausableIsm";
|
|
48
|
+
}, {
|
|
49
|
+
type: "pausableIsm";
|
|
50
|
+
}>>, z.ZodObject<{
|
|
51
|
+
address: z.ZodString;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
address: string;
|
|
54
|
+
}, {
|
|
55
|
+
address: string;
|
|
56
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
32
57
|
owner: z.ZodString;
|
|
33
58
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
34
59
|
} & {
|
|
@@ -204,15 +229,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
204
229
|
}, "strip", z.ZodTypeAny, {
|
|
205
230
|
type: "protocolFee";
|
|
206
231
|
owner: string;
|
|
207
|
-
protocolFee: string;
|
|
208
232
|
beneficiary: string;
|
|
233
|
+
protocolFee: string;
|
|
209
234
|
maxProtocolFee: string;
|
|
210
235
|
ownerOverrides?: Record<string, string> | undefined;
|
|
211
236
|
}, {
|
|
212
237
|
type: "protocolFee";
|
|
213
238
|
owner: string;
|
|
214
|
-
protocolFee: string;
|
|
215
239
|
beneficiary: string;
|
|
240
|
+
protocolFee: string;
|
|
216
241
|
maxProtocolFee: string;
|
|
217
242
|
ownerOverrides?: Record<string, string> | undefined;
|
|
218
243
|
}>, z.ZodObject<{
|
|
@@ -311,38 +336,14 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
311
336
|
tokenExchangeRate: z.ZodString;
|
|
312
337
|
} & {
|
|
313
338
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
314
|
-
} & {
|
|
315
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
316
|
-
handleGasAmount: z.ZodNumber;
|
|
317
|
-
totalGasAmount: z.ZodNumber;
|
|
318
|
-
totalUsdCost: z.ZodNumber;
|
|
319
|
-
}, "strip", z.ZodTypeAny, {
|
|
320
|
-
handleGasAmount: number;
|
|
321
|
-
totalGasAmount: number;
|
|
322
|
-
totalUsdCost: number;
|
|
323
|
-
}, {
|
|
324
|
-
handleGasAmount: number;
|
|
325
|
-
totalGasAmount: number;
|
|
326
|
-
totalUsdCost: number;
|
|
327
|
-
}>>;
|
|
328
339
|
}, "strip", z.ZodTypeAny, {
|
|
329
340
|
gasPrice: string;
|
|
330
341
|
tokenExchangeRate: string;
|
|
331
342
|
tokenDecimals?: number | undefined;
|
|
332
|
-
typicalCost?: {
|
|
333
|
-
handleGasAmount: number;
|
|
334
|
-
totalGasAmount: number;
|
|
335
|
-
totalUsdCost: number;
|
|
336
|
-
} | undefined;
|
|
337
343
|
}, {
|
|
338
344
|
gasPrice: string;
|
|
339
345
|
tokenExchangeRate: string;
|
|
340
346
|
tokenDecimals?: number | undefined;
|
|
341
|
-
typicalCost?: {
|
|
342
|
-
handleGasAmount: number;
|
|
343
|
-
totalGasAmount: number;
|
|
344
|
-
totalUsdCost: number;
|
|
345
|
-
} | undefined;
|
|
346
347
|
}>>>>;
|
|
347
348
|
}, "strip", z.ZodTypeAny, {
|
|
348
349
|
type: "interchainGasPaymaster";
|
|
@@ -368,11 +369,6 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
368
369
|
gasPrice: string;
|
|
369
370
|
tokenExchangeRate: string;
|
|
370
371
|
tokenDecimals?: number | undefined;
|
|
371
|
-
typicalCost?: {
|
|
372
|
-
handleGasAmount: number;
|
|
373
|
-
totalGasAmount: number;
|
|
374
|
-
totalUsdCost: number;
|
|
375
|
-
} | undefined;
|
|
376
372
|
}>> | undefined;
|
|
377
373
|
}, {
|
|
378
374
|
type: "interchainGasPaymaster";
|
|
@@ -398,11 +394,6 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
398
394
|
gasPrice: string;
|
|
399
395
|
tokenExchangeRate: string;
|
|
400
396
|
tokenDecimals?: number | undefined;
|
|
401
|
-
typicalCost?: {
|
|
402
|
-
handleGasAmount: number;
|
|
403
|
-
totalGasAmount: number;
|
|
404
|
-
totalUsdCost: number;
|
|
405
|
-
} | undefined;
|
|
406
397
|
}>> | undefined;
|
|
407
398
|
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
408
399
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -491,15 +482,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
491
482
|
}, "strip", z.ZodTypeAny, {
|
|
492
483
|
type: "protocolFee";
|
|
493
484
|
owner: string;
|
|
494
|
-
protocolFee: string;
|
|
495
485
|
beneficiary: string;
|
|
486
|
+
protocolFee: string;
|
|
496
487
|
maxProtocolFee: string;
|
|
497
488
|
ownerOverrides?: Record<string, string> | undefined;
|
|
498
489
|
}, {
|
|
499
490
|
type: "protocolFee";
|
|
500
491
|
owner: string;
|
|
501
|
-
protocolFee: string;
|
|
502
492
|
beneficiary: string;
|
|
493
|
+
protocolFee: string;
|
|
503
494
|
maxProtocolFee: string;
|
|
504
495
|
ownerOverrides?: Record<string, string> | undefined;
|
|
505
496
|
}>, z.ZodObject<{
|
|
@@ -598,38 +589,14 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
598
589
|
tokenExchangeRate: z.ZodString;
|
|
599
590
|
} & {
|
|
600
591
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
601
|
-
} & {
|
|
602
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
603
|
-
handleGasAmount: z.ZodNumber;
|
|
604
|
-
totalGasAmount: z.ZodNumber;
|
|
605
|
-
totalUsdCost: z.ZodNumber;
|
|
606
|
-
}, "strip", z.ZodTypeAny, {
|
|
607
|
-
handleGasAmount: number;
|
|
608
|
-
totalGasAmount: number;
|
|
609
|
-
totalUsdCost: number;
|
|
610
|
-
}, {
|
|
611
|
-
handleGasAmount: number;
|
|
612
|
-
totalGasAmount: number;
|
|
613
|
-
totalUsdCost: number;
|
|
614
|
-
}>>;
|
|
615
592
|
}, "strip", z.ZodTypeAny, {
|
|
616
593
|
gasPrice: string;
|
|
617
594
|
tokenExchangeRate: string;
|
|
618
595
|
tokenDecimals?: number | undefined;
|
|
619
|
-
typicalCost?: {
|
|
620
|
-
handleGasAmount: number;
|
|
621
|
-
totalGasAmount: number;
|
|
622
|
-
totalUsdCost: number;
|
|
623
|
-
} | undefined;
|
|
624
596
|
}, {
|
|
625
597
|
gasPrice: string;
|
|
626
598
|
tokenExchangeRate: string;
|
|
627
599
|
tokenDecimals?: number | undefined;
|
|
628
|
-
typicalCost?: {
|
|
629
|
-
handleGasAmount: number;
|
|
630
|
-
totalGasAmount: number;
|
|
631
|
-
totalUsdCost: number;
|
|
632
|
-
} | undefined;
|
|
633
600
|
}>>>>;
|
|
634
601
|
}, "strip", z.ZodTypeAny, {
|
|
635
602
|
type: "interchainGasPaymaster";
|
|
@@ -655,11 +622,6 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
655
622
|
gasPrice: string;
|
|
656
623
|
tokenExchangeRate: string;
|
|
657
624
|
tokenDecimals?: number | undefined;
|
|
658
|
-
typicalCost?: {
|
|
659
|
-
handleGasAmount: number;
|
|
660
|
-
totalGasAmount: number;
|
|
661
|
-
totalUsdCost: number;
|
|
662
|
-
} | undefined;
|
|
663
625
|
}>> | undefined;
|
|
664
626
|
}, {
|
|
665
627
|
type: "interchainGasPaymaster";
|
|
@@ -685,11 +647,6 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
685
647
|
gasPrice: string;
|
|
686
648
|
tokenExchangeRate: string;
|
|
687
649
|
tokenDecimals?: number | undefined;
|
|
688
|
-
typicalCost?: {
|
|
689
|
-
handleGasAmount: number;
|
|
690
|
-
totalGasAmount: number;
|
|
691
|
-
totalUsdCost: number;
|
|
692
|
-
} | undefined;
|
|
693
650
|
}>> | undefined;
|
|
694
651
|
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
695
652
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -797,15 +754,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
797
754
|
}, "strip", z.ZodTypeAny, {
|
|
798
755
|
type: "protocolFee";
|
|
799
756
|
owner: string;
|
|
800
|
-
protocolFee: string;
|
|
801
757
|
beneficiary: string;
|
|
758
|
+
protocolFee: string;
|
|
802
759
|
maxProtocolFee: string;
|
|
803
760
|
ownerOverrides?: Record<string, string> | undefined;
|
|
804
761
|
}, {
|
|
805
762
|
type: "protocolFee";
|
|
806
763
|
owner: string;
|
|
807
|
-
protocolFee: string;
|
|
808
764
|
beneficiary: string;
|
|
765
|
+
protocolFee: string;
|
|
809
766
|
maxProtocolFee: string;
|
|
810
767
|
ownerOverrides?: Record<string, string> | undefined;
|
|
811
768
|
}>, z.ZodObject<{
|
|
@@ -904,38 +861,14 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
904
861
|
tokenExchangeRate: z.ZodString;
|
|
905
862
|
} & {
|
|
906
863
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
907
|
-
} & {
|
|
908
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
909
|
-
handleGasAmount: z.ZodNumber;
|
|
910
|
-
totalGasAmount: z.ZodNumber;
|
|
911
|
-
totalUsdCost: z.ZodNumber;
|
|
912
|
-
}, "strip", z.ZodTypeAny, {
|
|
913
|
-
handleGasAmount: number;
|
|
914
|
-
totalGasAmount: number;
|
|
915
|
-
totalUsdCost: number;
|
|
916
|
-
}, {
|
|
917
|
-
handleGasAmount: number;
|
|
918
|
-
totalGasAmount: number;
|
|
919
|
-
totalUsdCost: number;
|
|
920
|
-
}>>;
|
|
921
864
|
}, "strip", z.ZodTypeAny, {
|
|
922
865
|
gasPrice: string;
|
|
923
866
|
tokenExchangeRate: string;
|
|
924
867
|
tokenDecimals?: number | undefined;
|
|
925
|
-
typicalCost?: {
|
|
926
|
-
handleGasAmount: number;
|
|
927
|
-
totalGasAmount: number;
|
|
928
|
-
totalUsdCost: number;
|
|
929
|
-
} | undefined;
|
|
930
868
|
}, {
|
|
931
869
|
gasPrice: string;
|
|
932
870
|
tokenExchangeRate: string;
|
|
933
871
|
tokenDecimals?: number | undefined;
|
|
934
|
-
typicalCost?: {
|
|
935
|
-
handleGasAmount: number;
|
|
936
|
-
totalGasAmount: number;
|
|
937
|
-
totalUsdCost: number;
|
|
938
|
-
} | undefined;
|
|
939
872
|
}>>>>;
|
|
940
873
|
}, "strip", z.ZodTypeAny, {
|
|
941
874
|
type: "interchainGasPaymaster";
|
|
@@ -961,11 +894,6 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
961
894
|
gasPrice: string;
|
|
962
895
|
tokenExchangeRate: string;
|
|
963
896
|
tokenDecimals?: number | undefined;
|
|
964
|
-
typicalCost?: {
|
|
965
|
-
handleGasAmount: number;
|
|
966
|
-
totalGasAmount: number;
|
|
967
|
-
totalUsdCost: number;
|
|
968
|
-
} | undefined;
|
|
969
897
|
}>> | undefined;
|
|
970
898
|
}, {
|
|
971
899
|
type: "interchainGasPaymaster";
|
|
@@ -991,11 +919,6 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
991
919
|
gasPrice: string;
|
|
992
920
|
tokenExchangeRate: string;
|
|
993
921
|
tokenDecimals?: number | undefined;
|
|
994
|
-
typicalCost?: {
|
|
995
|
-
handleGasAmount: number;
|
|
996
|
-
totalGasAmount: number;
|
|
997
|
-
totalUsdCost: number;
|
|
998
|
-
} | undefined;
|
|
999
922
|
}>> | undefined;
|
|
1000
923
|
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
1001
924
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -1091,7 +1014,32 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1091
1014
|
type: "opStackIsm";
|
|
1092
1015
|
origin: string;
|
|
1093
1016
|
nativeBridge: string;
|
|
1094
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
1017
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
1018
|
+
owner: z.ZodString;
|
|
1019
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1020
|
+
} & {
|
|
1021
|
+
paused: z.ZodBoolean;
|
|
1022
|
+
}, "strip", z.ZodTypeAny, {
|
|
1023
|
+
owner: string;
|
|
1024
|
+
paused: boolean;
|
|
1025
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1026
|
+
}, {
|
|
1027
|
+
owner: string;
|
|
1028
|
+
paused: boolean;
|
|
1029
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1030
|
+
}>, z.ZodObject<{
|
|
1031
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
1032
|
+
}, "strip", z.ZodTypeAny, {
|
|
1033
|
+
type: "pausableIsm";
|
|
1034
|
+
}, {
|
|
1035
|
+
type: "pausableIsm";
|
|
1036
|
+
}>>, z.ZodObject<{
|
|
1037
|
+
address: z.ZodString;
|
|
1038
|
+
}, "strip", z.ZodTypeAny, {
|
|
1039
|
+
address: string;
|
|
1040
|
+
}, {
|
|
1041
|
+
address: string;
|
|
1042
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1095
1043
|
owner: z.ZodString;
|
|
1096
1044
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1097
1045
|
} & {
|
|
@@ -1282,192 +1230,226 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1282
1230
|
}>>;
|
|
1283
1231
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1284
1232
|
owner: z.ZodString;
|
|
1233
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1285
1234
|
} & {
|
|
1286
1235
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1287
1236
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1288
|
-
type: z.ZodLiteral<
|
|
1237
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
1289
1238
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1290
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1291
|
-
type:
|
|
1240
|
+
type: "LinearFee";
|
|
1292
1241
|
owner: string;
|
|
1242
|
+
beneficiary?: string | undefined;
|
|
1293
1243
|
maxFee?: bigint | undefined;
|
|
1294
1244
|
halfAmount?: bigint | undefined;
|
|
1295
1245
|
bps?: number | undefined;
|
|
1296
1246
|
}, {
|
|
1297
|
-
type:
|
|
1247
|
+
type: "LinearFee";
|
|
1298
1248
|
owner: string;
|
|
1249
|
+
beneficiary?: string | undefined;
|
|
1299
1250
|
maxFee?: string | number | bigint | undefined;
|
|
1300
1251
|
halfAmount?: string | number | bigint | undefined;
|
|
1301
1252
|
bps?: string | number | undefined;
|
|
1302
1253
|
}>, {
|
|
1303
|
-
type:
|
|
1254
|
+
type: "LinearFee";
|
|
1304
1255
|
owner: string;
|
|
1256
|
+
beneficiary?: string | undefined;
|
|
1305
1257
|
maxFee?: bigint | undefined;
|
|
1306
1258
|
halfAmount?: bigint | undefined;
|
|
1307
1259
|
bps?: number | undefined;
|
|
1308
1260
|
}, {
|
|
1309
|
-
type:
|
|
1261
|
+
type: "LinearFee";
|
|
1310
1262
|
owner: string;
|
|
1263
|
+
beneficiary?: string | undefined;
|
|
1311
1264
|
maxFee?: string | number | bigint | undefined;
|
|
1312
1265
|
halfAmount?: string | number | bigint | undefined;
|
|
1313
1266
|
bps?: string | number | undefined;
|
|
1314
1267
|
}>, {
|
|
1315
1268
|
bps: number;
|
|
1316
|
-
type:
|
|
1269
|
+
type: "LinearFee";
|
|
1317
1270
|
owner: string;
|
|
1271
|
+
beneficiary?: string | undefined;
|
|
1318
1272
|
maxFee?: bigint | undefined;
|
|
1319
1273
|
halfAmount?: bigint | undefined;
|
|
1320
1274
|
}, {
|
|
1321
|
-
type:
|
|
1275
|
+
type: "LinearFee";
|
|
1322
1276
|
owner: string;
|
|
1277
|
+
beneficiary?: string | undefined;
|
|
1323
1278
|
maxFee?: string | number | bigint | undefined;
|
|
1324
1279
|
halfAmount?: string | number | bigint | undefined;
|
|
1325
1280
|
bps?: string | number | undefined;
|
|
1326
1281
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1327
1282
|
owner: z.ZodString;
|
|
1283
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1328
1284
|
} & {
|
|
1329
1285
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1330
1286
|
} & {
|
|
1331
1287
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1332
1288
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1333
|
-
type: z.ZodLiteral<
|
|
1289
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
1334
1290
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
1335
1291
|
}, "strip", z.ZodTypeAny, {
|
|
1336
|
-
type:
|
|
1292
|
+
type: "OffchainQuotedLinearFee";
|
|
1337
1293
|
owner: string;
|
|
1294
|
+
beneficiary?: string | undefined;
|
|
1338
1295
|
maxFee?: bigint | undefined;
|
|
1339
1296
|
halfAmount?: bigint | undefined;
|
|
1340
1297
|
bps?: number | undefined;
|
|
1341
1298
|
quoteSigners?: string[] | undefined;
|
|
1342
1299
|
}, {
|
|
1343
|
-
type:
|
|
1300
|
+
type: "OffchainQuotedLinearFee";
|
|
1344
1301
|
owner: string;
|
|
1302
|
+
beneficiary?: string | undefined;
|
|
1345
1303
|
maxFee?: string | number | bigint | undefined;
|
|
1346
1304
|
halfAmount?: string | number | bigint | undefined;
|
|
1347
1305
|
bps?: string | number | undefined;
|
|
1348
1306
|
quoteSigners?: string[] | undefined;
|
|
1349
1307
|
}>, {
|
|
1350
|
-
type:
|
|
1308
|
+
type: "OffchainQuotedLinearFee";
|
|
1351
1309
|
owner: string;
|
|
1310
|
+
beneficiary?: string | undefined;
|
|
1352
1311
|
maxFee?: bigint | undefined;
|
|
1353
1312
|
halfAmount?: bigint | undefined;
|
|
1354
1313
|
bps?: number | undefined;
|
|
1355
1314
|
quoteSigners?: string[] | undefined;
|
|
1356
1315
|
}, {
|
|
1357
|
-
type:
|
|
1316
|
+
type: "OffchainQuotedLinearFee";
|
|
1358
1317
|
owner: string;
|
|
1318
|
+
beneficiary?: string | undefined;
|
|
1359
1319
|
maxFee?: string | number | bigint | undefined;
|
|
1360
1320
|
halfAmount?: string | number | bigint | undefined;
|
|
1361
1321
|
bps?: string | number | undefined;
|
|
1362
1322
|
quoteSigners?: string[] | undefined;
|
|
1363
1323
|
}>, {
|
|
1364
1324
|
bps: number;
|
|
1365
|
-
type:
|
|
1325
|
+
type: "OffchainQuotedLinearFee";
|
|
1366
1326
|
owner: string;
|
|
1327
|
+
beneficiary?: string | undefined;
|
|
1367
1328
|
maxFee?: bigint | undefined;
|
|
1368
1329
|
halfAmount?: bigint | undefined;
|
|
1369
1330
|
quoteSigners?: string[] | undefined;
|
|
1370
1331
|
}, {
|
|
1371
|
-
type:
|
|
1332
|
+
type: "OffchainQuotedLinearFee";
|
|
1372
1333
|
owner: string;
|
|
1334
|
+
beneficiary?: string | undefined;
|
|
1373
1335
|
maxFee?: string | number | bigint | undefined;
|
|
1374
1336
|
halfAmount?: string | number | bigint | undefined;
|
|
1375
1337
|
bps?: string | number | undefined;
|
|
1376
1338
|
quoteSigners?: string[] | undefined;
|
|
1377
1339
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1378
1340
|
owner: z.ZodString;
|
|
1341
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1379
1342
|
} & {
|
|
1380
|
-
type: z.ZodLiteral<
|
|
1343
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
1381
1344
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1382
1345
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1383
1346
|
}, "strip", z.ZodTypeAny, {
|
|
1384
|
-
type:
|
|
1347
|
+
type: "ProgressiveFee";
|
|
1385
1348
|
owner: string;
|
|
1386
1349
|
maxFee: bigint;
|
|
1387
1350
|
halfAmount: bigint;
|
|
1351
|
+
beneficiary?: string | undefined;
|
|
1388
1352
|
}, {
|
|
1389
|
-
type:
|
|
1353
|
+
type: "ProgressiveFee";
|
|
1390
1354
|
owner: string;
|
|
1391
1355
|
maxFee: string | number | bigint;
|
|
1392
1356
|
halfAmount: string | number | bigint;
|
|
1357
|
+
beneficiary?: string | undefined;
|
|
1393
1358
|
}>, {
|
|
1394
|
-
type:
|
|
1359
|
+
type: "ProgressiveFee";
|
|
1395
1360
|
owner: string;
|
|
1396
1361
|
maxFee: bigint;
|
|
1397
1362
|
halfAmount: bigint;
|
|
1363
|
+
beneficiary?: string | undefined;
|
|
1398
1364
|
}, {
|
|
1399
|
-
type:
|
|
1365
|
+
type: "ProgressiveFee";
|
|
1400
1366
|
owner: string;
|
|
1401
1367
|
maxFee: string | number | bigint;
|
|
1402
1368
|
halfAmount: string | number | bigint;
|
|
1369
|
+
beneficiary?: string | undefined;
|
|
1403
1370
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1404
1371
|
owner: z.ZodString;
|
|
1372
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1405
1373
|
} & {
|
|
1406
|
-
type: z.ZodLiteral<
|
|
1374
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
1407
1375
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1408
1376
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
1409
1377
|
}, "strip", z.ZodTypeAny, {
|
|
1410
|
-
type:
|
|
1378
|
+
type: "RegressiveFee";
|
|
1411
1379
|
owner: string;
|
|
1412
1380
|
maxFee: bigint;
|
|
1413
1381
|
halfAmount: bigint;
|
|
1382
|
+
beneficiary?: string | undefined;
|
|
1414
1383
|
}, {
|
|
1415
|
-
type:
|
|
1384
|
+
type: "RegressiveFee";
|
|
1416
1385
|
owner: string;
|
|
1417
1386
|
maxFee: string | number | bigint;
|
|
1418
1387
|
halfAmount: string | number | bigint;
|
|
1388
|
+
beneficiary?: string | undefined;
|
|
1419
1389
|
}>, {
|
|
1420
|
-
type:
|
|
1390
|
+
type: "RegressiveFee";
|
|
1421
1391
|
owner: string;
|
|
1422
1392
|
maxFee: bigint;
|
|
1423
1393
|
halfAmount: bigint;
|
|
1394
|
+
beneficiary?: string | undefined;
|
|
1424
1395
|
}, {
|
|
1425
|
-
type:
|
|
1396
|
+
type: "RegressiveFee";
|
|
1426
1397
|
owner: string;
|
|
1427
1398
|
maxFee: string | number | bigint;
|
|
1428
1399
|
halfAmount: string | number | bigint;
|
|
1400
|
+
beneficiary?: string | undefined;
|
|
1429
1401
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1430
1402
|
owner: z.ZodString;
|
|
1403
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1431
1404
|
} & {
|
|
1432
|
-
type: z.ZodLiteral<
|
|
1405
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
1433
1406
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
1434
1407
|
}, "strip", z.ZodTypeAny, {
|
|
1435
|
-
type:
|
|
1408
|
+
type: "RoutingFee";
|
|
1436
1409
|
owner: string;
|
|
1437
1410
|
feeContracts: Record<string, any>;
|
|
1411
|
+
beneficiary?: string | undefined;
|
|
1438
1412
|
}, {
|
|
1439
|
-
type:
|
|
1413
|
+
type: "RoutingFee";
|
|
1440
1414
|
owner: string;
|
|
1441
1415
|
feeContracts: Record<string, any>;
|
|
1416
|
+
beneficiary?: string | undefined;
|
|
1442
1417
|
}>, {
|
|
1443
|
-
type:
|
|
1418
|
+
type: "RoutingFee";
|
|
1444
1419
|
owner: string;
|
|
1445
1420
|
feeContracts: Record<string, any>;
|
|
1421
|
+
beneficiary?: string | undefined;
|
|
1446
1422
|
}, {
|
|
1447
|
-
type:
|
|
1423
|
+
type: "RoutingFee";
|
|
1448
1424
|
owner: string;
|
|
1449
1425
|
feeContracts: Record<string, any>;
|
|
1426
|
+
beneficiary?: string | undefined;
|
|
1450
1427
|
}>, z.ZodEffects<z.ZodObject<{
|
|
1451
1428
|
owner: z.ZodString;
|
|
1429
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
1452
1430
|
} & {
|
|
1453
|
-
type: z.ZodLiteral<
|
|
1431
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
1454
1432
|
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>>>;
|
|
1455
1433
|
}, "strip", z.ZodTypeAny, {
|
|
1456
|
-
type:
|
|
1434
|
+
type: "CrossCollateralRoutingFee";
|
|
1457
1435
|
owner: string;
|
|
1458
1436
|
feeContracts: Record<string, Record<string, any>>;
|
|
1437
|
+
beneficiary?: string | undefined;
|
|
1459
1438
|
}, {
|
|
1460
|
-
type:
|
|
1439
|
+
type: "CrossCollateralRoutingFee";
|
|
1461
1440
|
owner: string;
|
|
1462
1441
|
feeContracts: Record<string, Record<string, any>>;
|
|
1442
|
+
beneficiary?: string | undefined;
|
|
1463
1443
|
}>, {
|
|
1464
|
-
type:
|
|
1444
|
+
type: "CrossCollateralRoutingFee";
|
|
1465
1445
|
owner: string;
|
|
1466
1446
|
feeContracts: Record<string, Record<string, any>>;
|
|
1447
|
+
beneficiary?: string | undefined;
|
|
1467
1448
|
}, {
|
|
1468
|
-
type:
|
|
1449
|
+
type: "CrossCollateralRoutingFee";
|
|
1469
1450
|
owner: string;
|
|
1470
1451
|
feeContracts: Record<string, Record<string, any>>;
|
|
1452
|
+
beneficiary?: string | undefined;
|
|
1471
1453
|
}>]>>;
|
|
1472
1454
|
} & {
|
|
1473
1455
|
routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
|
|
@@ -1533,17 +1515,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1533
1515
|
gasPrice: string;
|
|
1534
1516
|
tokenExchangeRate: string;
|
|
1535
1517
|
tokenDecimals?: number | undefined;
|
|
1536
|
-
typicalCost?: {
|
|
1537
|
-
handleGasAmount: number;
|
|
1538
|
-
totalGasAmount: number;
|
|
1539
|
-
totalUsdCost: number;
|
|
1540
|
-
} | undefined;
|
|
1541
1518
|
}>> | undefined;
|
|
1542
1519
|
} | {
|
|
1543
1520
|
type: "protocolFee";
|
|
1544
1521
|
owner: string;
|
|
1545
|
-
protocolFee: string;
|
|
1546
1522
|
beneficiary: string;
|
|
1523
|
+
protocolFee: string;
|
|
1547
1524
|
maxProtocolFee: string;
|
|
1548
1525
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1549
1526
|
} | {
|
|
@@ -1620,7 +1597,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1620
1597
|
owner: string;
|
|
1621
1598
|
urls: string[];
|
|
1622
1599
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1623
|
-
} |
|
|
1600
|
+
} | ({
|
|
1601
|
+
owner: string;
|
|
1602
|
+
paused: boolean;
|
|
1603
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1604
|
+
} & {
|
|
1605
|
+
type: "pausableIsm";
|
|
1606
|
+
} & {
|
|
1607
|
+
address: string;
|
|
1608
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
1624
1609
|
type: z.ZodLiteral<"unknownIsm">;
|
|
1625
1610
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1626
1611
|
foreignDeployment?: string | undefined;
|
|
@@ -1629,35 +1614,41 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1629
1614
|
}> | undefined;
|
|
1630
1615
|
tokenFee?: {
|
|
1631
1616
|
bps: number;
|
|
1632
|
-
type:
|
|
1617
|
+
type: "LinearFee";
|
|
1633
1618
|
owner: string;
|
|
1619
|
+
beneficiary?: string | undefined;
|
|
1634
1620
|
maxFee?: bigint | undefined;
|
|
1635
1621
|
halfAmount?: bigint | undefined;
|
|
1636
1622
|
} | {
|
|
1637
1623
|
bps: number;
|
|
1638
|
-
type:
|
|
1624
|
+
type: "OffchainQuotedLinearFee";
|
|
1639
1625
|
owner: string;
|
|
1626
|
+
beneficiary?: string | undefined;
|
|
1640
1627
|
maxFee?: bigint | undefined;
|
|
1641
1628
|
halfAmount?: bigint | undefined;
|
|
1642
1629
|
quoteSigners?: string[] | undefined;
|
|
1643
1630
|
} | {
|
|
1644
|
-
type:
|
|
1631
|
+
type: "ProgressiveFee";
|
|
1645
1632
|
owner: string;
|
|
1646
1633
|
maxFee: bigint;
|
|
1647
1634
|
halfAmount: bigint;
|
|
1635
|
+
beneficiary?: string | undefined;
|
|
1648
1636
|
} | {
|
|
1649
|
-
type:
|
|
1637
|
+
type: "RegressiveFee";
|
|
1650
1638
|
owner: string;
|
|
1651
1639
|
maxFee: bigint;
|
|
1652
1640
|
halfAmount: bigint;
|
|
1641
|
+
beneficiary?: string | undefined;
|
|
1653
1642
|
} | {
|
|
1654
|
-
type:
|
|
1643
|
+
type: "RoutingFee";
|
|
1655
1644
|
owner: string;
|
|
1656
1645
|
feeContracts: Record<string, any>;
|
|
1646
|
+
beneficiary?: string | undefined;
|
|
1657
1647
|
} | {
|
|
1658
|
-
type:
|
|
1648
|
+
type: "CrossCollateralRoutingFee";
|
|
1659
1649
|
owner: string;
|
|
1660
1650
|
feeContracts: Record<string, Record<string, any>>;
|
|
1651
|
+
beneficiary?: string | undefined;
|
|
1661
1652
|
} | undefined;
|
|
1662
1653
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
1663
1654
|
commitmentIsm?: {
|
|
@@ -1705,17 +1696,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1705
1696
|
gasPrice: string;
|
|
1706
1697
|
tokenExchangeRate: string;
|
|
1707
1698
|
tokenDecimals?: number | undefined;
|
|
1708
|
-
typicalCost?: {
|
|
1709
|
-
handleGasAmount: number;
|
|
1710
|
-
totalGasAmount: number;
|
|
1711
|
-
totalUsdCost: number;
|
|
1712
|
-
} | undefined;
|
|
1713
1699
|
}>> | undefined;
|
|
1714
1700
|
} | {
|
|
1715
1701
|
type: "protocolFee";
|
|
1716
1702
|
owner: string;
|
|
1717
|
-
protocolFee: string;
|
|
1718
1703
|
beneficiary: string;
|
|
1704
|
+
protocolFee: string;
|
|
1719
1705
|
maxProtocolFee: string;
|
|
1720
1706
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1721
1707
|
} | {
|
|
@@ -1792,7 +1778,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1792
1778
|
owner: string;
|
|
1793
1779
|
urls: string[];
|
|
1794
1780
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1795
|
-
} | {
|
|
1781
|
+
} | ({
|
|
1782
|
+
owner: string;
|
|
1783
|
+
paused: boolean;
|
|
1784
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1785
|
+
} & {
|
|
1786
|
+
type: "pausableIsm";
|
|
1787
|
+
} & {
|
|
1788
|
+
address: string;
|
|
1789
|
+
}) | {
|
|
1796
1790
|
type: "interchainAccountRouting";
|
|
1797
1791
|
owner: string;
|
|
1798
1792
|
isms: Record<string, string>;
|
|
@@ -1805,36 +1799,42 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1805
1799
|
address: string;
|
|
1806
1800
|
}> | undefined;
|
|
1807
1801
|
tokenFee?: {
|
|
1808
|
-
type:
|
|
1802
|
+
type: "LinearFee";
|
|
1809
1803
|
owner: string;
|
|
1804
|
+
beneficiary?: string | undefined;
|
|
1810
1805
|
maxFee?: string | number | bigint | undefined;
|
|
1811
1806
|
halfAmount?: string | number | bigint | undefined;
|
|
1812
1807
|
bps?: string | number | undefined;
|
|
1813
1808
|
} | {
|
|
1814
|
-
type:
|
|
1809
|
+
type: "OffchainQuotedLinearFee";
|
|
1815
1810
|
owner: string;
|
|
1811
|
+
beneficiary?: string | undefined;
|
|
1816
1812
|
maxFee?: string | number | bigint | undefined;
|
|
1817
1813
|
halfAmount?: string | number | bigint | undefined;
|
|
1818
1814
|
bps?: string | number | undefined;
|
|
1819
1815
|
quoteSigners?: string[] | undefined;
|
|
1820
1816
|
} | {
|
|
1821
|
-
type:
|
|
1817
|
+
type: "ProgressiveFee";
|
|
1822
1818
|
owner: string;
|
|
1823
1819
|
maxFee: string | number | bigint;
|
|
1824
1820
|
halfAmount: string | number | bigint;
|
|
1821
|
+
beneficiary?: string | undefined;
|
|
1825
1822
|
} | {
|
|
1826
|
-
type:
|
|
1823
|
+
type: "RegressiveFee";
|
|
1827
1824
|
owner: string;
|
|
1828
1825
|
maxFee: string | number | bigint;
|
|
1829
1826
|
halfAmount: string | number | bigint;
|
|
1827
|
+
beneficiary?: string | undefined;
|
|
1830
1828
|
} | {
|
|
1831
|
-
type:
|
|
1829
|
+
type: "RoutingFee";
|
|
1832
1830
|
owner: string;
|
|
1833
1831
|
feeContracts: Record<string, any>;
|
|
1832
|
+
beneficiary?: string | undefined;
|
|
1834
1833
|
} | {
|
|
1835
|
-
type:
|
|
1834
|
+
type: "CrossCollateralRoutingFee";
|
|
1836
1835
|
owner: string;
|
|
1837
1836
|
feeContracts: Record<string, Record<string, any>>;
|
|
1837
|
+
beneficiary?: string | undefined;
|
|
1838
1838
|
} | undefined;
|
|
1839
1839
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
1840
1840
|
commitmentIsm?: {
|
|
@@ -1878,17 +1878,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1878
1878
|
gasPrice: string;
|
|
1879
1879
|
tokenExchangeRate: string;
|
|
1880
1880
|
tokenDecimals?: number | undefined;
|
|
1881
|
-
typicalCost?: {
|
|
1882
|
-
handleGasAmount: number;
|
|
1883
|
-
totalGasAmount: number;
|
|
1884
|
-
totalUsdCost: number;
|
|
1885
|
-
} | undefined;
|
|
1886
1881
|
}>> | undefined;
|
|
1887
1882
|
} | {
|
|
1888
1883
|
type: "protocolFee";
|
|
1889
1884
|
owner: string;
|
|
1890
|
-
protocolFee: string;
|
|
1891
1885
|
beneficiary: string;
|
|
1886
|
+
protocolFee: string;
|
|
1892
1887
|
maxProtocolFee: string;
|
|
1893
1888
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1894
1889
|
} | {
|
|
@@ -1965,7 +1960,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1965
1960
|
owner: string;
|
|
1966
1961
|
urls: string[];
|
|
1967
1962
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1968
|
-
} |
|
|
1963
|
+
} | ({
|
|
1964
|
+
owner: string;
|
|
1965
|
+
paused: boolean;
|
|
1966
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1967
|
+
} & {
|
|
1968
|
+
type: "pausableIsm";
|
|
1969
|
+
} & {
|
|
1970
|
+
address: string;
|
|
1971
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
1969
1972
|
type: z.ZodLiteral<"unknownIsm">;
|
|
1970
1973
|
}, z.ZodTypeAny, "passthrough">;
|
|
1971
1974
|
requiredHook: string | {
|
|
@@ -1994,17 +1997,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1994
1997
|
gasPrice: string;
|
|
1995
1998
|
tokenExchangeRate: string;
|
|
1996
1999
|
tokenDecimals?: number | undefined;
|
|
1997
|
-
typicalCost?: {
|
|
1998
|
-
handleGasAmount: number;
|
|
1999
|
-
totalGasAmount: number;
|
|
2000
|
-
totalUsdCost: number;
|
|
2001
|
-
} | undefined;
|
|
2002
2000
|
}>> | undefined;
|
|
2003
2001
|
} | {
|
|
2004
2002
|
type: "protocolFee";
|
|
2005
2003
|
owner: string;
|
|
2006
|
-
protocolFee: string;
|
|
2007
2004
|
beneficiary: string;
|
|
2005
|
+
protocolFee: string;
|
|
2008
2006
|
maxProtocolFee: string;
|
|
2009
2007
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2010
2008
|
} | {
|
|
@@ -2079,17 +2077,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2079
2077
|
gasPrice: string;
|
|
2080
2078
|
tokenExchangeRate: string;
|
|
2081
2079
|
tokenDecimals?: number | undefined;
|
|
2082
|
-
typicalCost?: {
|
|
2083
|
-
handleGasAmount: number;
|
|
2084
|
-
totalGasAmount: number;
|
|
2085
|
-
totalUsdCost: number;
|
|
2086
|
-
} | undefined;
|
|
2087
2080
|
}>> | undefined;
|
|
2088
2081
|
} | {
|
|
2089
2082
|
type: "protocolFee";
|
|
2090
2083
|
owner: string;
|
|
2091
|
-
protocolFee: string;
|
|
2092
2084
|
beneficiary: string;
|
|
2085
|
+
protocolFee: string;
|
|
2093
2086
|
maxProtocolFee: string;
|
|
2094
2087
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2095
2088
|
} | {
|
|
@@ -2166,7 +2159,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2166
2159
|
owner: string;
|
|
2167
2160
|
urls: string[];
|
|
2168
2161
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2169
|
-
} |
|
|
2162
|
+
} | ({
|
|
2163
|
+
owner: string;
|
|
2164
|
+
paused: boolean;
|
|
2165
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2166
|
+
} & {
|
|
2167
|
+
type: "pausableIsm";
|
|
2168
|
+
} & {
|
|
2169
|
+
address: string;
|
|
2170
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
2170
2171
|
type: z.ZodLiteral<"unknownIsm">;
|
|
2171
2172
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2172
2173
|
foreignDeployment?: string | undefined;
|
|
@@ -2175,35 +2176,41 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2175
2176
|
}> | undefined;
|
|
2176
2177
|
tokenFee?: {
|
|
2177
2178
|
bps: number;
|
|
2178
|
-
type:
|
|
2179
|
+
type: "LinearFee";
|
|
2179
2180
|
owner: string;
|
|
2181
|
+
beneficiary?: string | undefined;
|
|
2180
2182
|
maxFee?: bigint | undefined;
|
|
2181
2183
|
halfAmount?: bigint | undefined;
|
|
2182
2184
|
} | {
|
|
2183
2185
|
bps: number;
|
|
2184
|
-
type:
|
|
2186
|
+
type: "OffchainQuotedLinearFee";
|
|
2185
2187
|
owner: string;
|
|
2188
|
+
beneficiary?: string | undefined;
|
|
2186
2189
|
maxFee?: bigint | undefined;
|
|
2187
2190
|
halfAmount?: bigint | undefined;
|
|
2188
2191
|
quoteSigners?: string[] | undefined;
|
|
2189
2192
|
} | {
|
|
2190
|
-
type:
|
|
2193
|
+
type: "ProgressiveFee";
|
|
2191
2194
|
owner: string;
|
|
2192
2195
|
maxFee: bigint;
|
|
2193
2196
|
halfAmount: bigint;
|
|
2197
|
+
beneficiary?: string | undefined;
|
|
2194
2198
|
} | {
|
|
2195
|
-
type:
|
|
2199
|
+
type: "RegressiveFee";
|
|
2196
2200
|
owner: string;
|
|
2197
2201
|
maxFee: bigint;
|
|
2198
2202
|
halfAmount: bigint;
|
|
2203
|
+
beneficiary?: string | undefined;
|
|
2199
2204
|
} | {
|
|
2200
|
-
type:
|
|
2205
|
+
type: "RoutingFee";
|
|
2201
2206
|
owner: string;
|
|
2202
2207
|
feeContracts: Record<string, any>;
|
|
2208
|
+
beneficiary?: string | undefined;
|
|
2203
2209
|
} | {
|
|
2204
|
-
type:
|
|
2210
|
+
type: "CrossCollateralRoutingFee";
|
|
2205
2211
|
owner: string;
|
|
2206
2212
|
feeContracts: Record<string, Record<string, any>>;
|
|
2213
|
+
beneficiary?: string | undefined;
|
|
2207
2214
|
} | undefined;
|
|
2208
2215
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
2209
2216
|
commitmentIsm?: {
|
|
@@ -2246,17 +2253,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2246
2253
|
gasPrice: string;
|
|
2247
2254
|
tokenExchangeRate: string;
|
|
2248
2255
|
tokenDecimals?: number | undefined;
|
|
2249
|
-
typicalCost?: {
|
|
2250
|
-
handleGasAmount: number;
|
|
2251
|
-
totalGasAmount: number;
|
|
2252
|
-
totalUsdCost: number;
|
|
2253
|
-
} | undefined;
|
|
2254
2256
|
}>> | undefined;
|
|
2255
2257
|
} | {
|
|
2256
2258
|
type: "protocolFee";
|
|
2257
2259
|
owner: string;
|
|
2258
|
-
protocolFee: string;
|
|
2259
2260
|
beneficiary: string;
|
|
2261
|
+
protocolFee: string;
|
|
2260
2262
|
maxProtocolFee: string;
|
|
2261
2263
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2262
2264
|
} | {
|
|
@@ -2333,7 +2335,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2333
2335
|
owner: string;
|
|
2334
2336
|
urls: string[];
|
|
2335
2337
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2336
|
-
} | {
|
|
2338
|
+
} | ({
|
|
2339
|
+
owner: string;
|
|
2340
|
+
paused: boolean;
|
|
2341
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2342
|
+
} & {
|
|
2343
|
+
type: "pausableIsm";
|
|
2344
|
+
} & {
|
|
2345
|
+
address: string;
|
|
2346
|
+
}) | {
|
|
2337
2347
|
type: "interchainAccountRouting";
|
|
2338
2348
|
owner: string;
|
|
2339
2349
|
isms: Record<string, string>;
|
|
@@ -2367,17 +2377,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2367
2377
|
gasPrice: string;
|
|
2368
2378
|
tokenExchangeRate: string;
|
|
2369
2379
|
tokenDecimals?: number | undefined;
|
|
2370
|
-
typicalCost?: {
|
|
2371
|
-
handleGasAmount: number;
|
|
2372
|
-
totalGasAmount: number;
|
|
2373
|
-
totalUsdCost: number;
|
|
2374
|
-
} | undefined;
|
|
2375
2380
|
}>> | undefined;
|
|
2376
2381
|
} | {
|
|
2377
2382
|
type: "protocolFee";
|
|
2378
2383
|
owner: string;
|
|
2379
|
-
protocolFee: string;
|
|
2380
2384
|
beneficiary: string;
|
|
2385
|
+
protocolFee: string;
|
|
2381
2386
|
maxProtocolFee: string;
|
|
2382
2387
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2383
2388
|
} | {
|
|
@@ -2452,17 +2457,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2452
2457
|
gasPrice: string;
|
|
2453
2458
|
tokenExchangeRate: string;
|
|
2454
2459
|
tokenDecimals?: number | undefined;
|
|
2455
|
-
typicalCost?: {
|
|
2456
|
-
handleGasAmount: number;
|
|
2457
|
-
totalGasAmount: number;
|
|
2458
|
-
totalUsdCost: number;
|
|
2459
|
-
} | undefined;
|
|
2460
2460
|
}>> | undefined;
|
|
2461
2461
|
} | {
|
|
2462
2462
|
type: "protocolFee";
|
|
2463
2463
|
owner: string;
|
|
2464
|
-
protocolFee: string;
|
|
2465
2464
|
beneficiary: string;
|
|
2465
|
+
protocolFee: string;
|
|
2466
2466
|
maxProtocolFee: string;
|
|
2467
2467
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2468
2468
|
} | {
|
|
@@ -2539,7 +2539,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2539
2539
|
owner: string;
|
|
2540
2540
|
urls: string[];
|
|
2541
2541
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2542
|
-
} | {
|
|
2542
|
+
} | ({
|
|
2543
|
+
owner: string;
|
|
2544
|
+
paused: boolean;
|
|
2545
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2546
|
+
} & {
|
|
2547
|
+
type: "pausableIsm";
|
|
2548
|
+
} & {
|
|
2549
|
+
address: string;
|
|
2550
|
+
}) | {
|
|
2543
2551
|
type: "interchainAccountRouting";
|
|
2544
2552
|
owner: string;
|
|
2545
2553
|
isms: Record<string, string>;
|
|
@@ -2552,36 +2560,42 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2552
2560
|
address: string;
|
|
2553
2561
|
}> | undefined;
|
|
2554
2562
|
tokenFee?: {
|
|
2555
|
-
type:
|
|
2563
|
+
type: "LinearFee";
|
|
2556
2564
|
owner: string;
|
|
2565
|
+
beneficiary?: string | undefined;
|
|
2557
2566
|
maxFee?: string | number | bigint | undefined;
|
|
2558
2567
|
halfAmount?: string | number | bigint | undefined;
|
|
2559
2568
|
bps?: string | number | undefined;
|
|
2560
2569
|
} | {
|
|
2561
|
-
type:
|
|
2570
|
+
type: "OffchainQuotedLinearFee";
|
|
2562
2571
|
owner: string;
|
|
2572
|
+
beneficiary?: string | undefined;
|
|
2563
2573
|
maxFee?: string | number | bigint | undefined;
|
|
2564
2574
|
halfAmount?: string | number | bigint | undefined;
|
|
2565
2575
|
bps?: string | number | undefined;
|
|
2566
2576
|
quoteSigners?: string[] | undefined;
|
|
2567
2577
|
} | {
|
|
2568
|
-
type:
|
|
2578
|
+
type: "ProgressiveFee";
|
|
2569
2579
|
owner: string;
|
|
2570
2580
|
maxFee: string | number | bigint;
|
|
2571
2581
|
halfAmount: string | number | bigint;
|
|
2582
|
+
beneficiary?: string | undefined;
|
|
2572
2583
|
} | {
|
|
2573
|
-
type:
|
|
2584
|
+
type: "RegressiveFee";
|
|
2574
2585
|
owner: string;
|
|
2575
2586
|
maxFee: string | number | bigint;
|
|
2576
2587
|
halfAmount: string | number | bigint;
|
|
2588
|
+
beneficiary?: string | undefined;
|
|
2577
2589
|
} | {
|
|
2578
|
-
type:
|
|
2590
|
+
type: "RoutingFee";
|
|
2579
2591
|
owner: string;
|
|
2580
2592
|
feeContracts: Record<string, any>;
|
|
2593
|
+
beneficiary?: string | undefined;
|
|
2581
2594
|
} | {
|
|
2582
|
-
type:
|
|
2595
|
+
type: "CrossCollateralRoutingFee";
|
|
2583
2596
|
owner: string;
|
|
2584
2597
|
feeContracts: Record<string, Record<string, any>>;
|
|
2598
|
+
beneficiary?: string | undefined;
|
|
2585
2599
|
} | undefined;
|
|
2586
2600
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
2587
2601
|
commitmentIsm?: {
|
|
@@ -2624,17 +2638,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2624
2638
|
gasPrice: string;
|
|
2625
2639
|
tokenExchangeRate: string;
|
|
2626
2640
|
tokenDecimals?: number | undefined;
|
|
2627
|
-
typicalCost?: {
|
|
2628
|
-
handleGasAmount: number;
|
|
2629
|
-
totalGasAmount: number;
|
|
2630
|
-
totalUsdCost: number;
|
|
2631
|
-
} | undefined;
|
|
2632
2641
|
}>> | undefined;
|
|
2633
2642
|
} | {
|
|
2634
2643
|
type: "protocolFee";
|
|
2635
2644
|
owner: string;
|
|
2636
|
-
protocolFee: string;
|
|
2637
2645
|
beneficiary: string;
|
|
2646
|
+
protocolFee: string;
|
|
2638
2647
|
maxProtocolFee: string;
|
|
2639
2648
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2640
2649
|
} | {
|
|
@@ -2711,7 +2720,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2711
2720
|
owner: string;
|
|
2712
2721
|
urls: string[];
|
|
2713
2722
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2714
|
-
} |
|
|
2723
|
+
} | ({
|
|
2724
|
+
owner: string;
|
|
2725
|
+
paused: boolean;
|
|
2726
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2727
|
+
} & {
|
|
2728
|
+
type: "pausableIsm";
|
|
2729
|
+
} & {
|
|
2730
|
+
address: string;
|
|
2731
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
2715
2732
|
type: z.ZodLiteral<"unknownIsm">;
|
|
2716
2733
|
}, z.ZodTypeAny, "passthrough">;
|
|
2717
2734
|
requiredHook: string | {
|
|
@@ -2740,17 +2757,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2740
2757
|
gasPrice: string;
|
|
2741
2758
|
tokenExchangeRate: string;
|
|
2742
2759
|
tokenDecimals?: number | undefined;
|
|
2743
|
-
typicalCost?: {
|
|
2744
|
-
handleGasAmount: number;
|
|
2745
|
-
totalGasAmount: number;
|
|
2746
|
-
totalUsdCost: number;
|
|
2747
|
-
} | undefined;
|
|
2748
2760
|
}>> | undefined;
|
|
2749
2761
|
} | {
|
|
2750
2762
|
type: "protocolFee";
|
|
2751
2763
|
owner: string;
|
|
2752
|
-
protocolFee: string;
|
|
2753
2764
|
beneficiary: string;
|
|
2765
|
+
protocolFee: string;
|
|
2754
2766
|
maxProtocolFee: string;
|
|
2755
2767
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2756
2768
|
} | {
|
|
@@ -2825,17 +2837,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2825
2837
|
gasPrice: string;
|
|
2826
2838
|
tokenExchangeRate: string;
|
|
2827
2839
|
tokenDecimals?: number | undefined;
|
|
2828
|
-
typicalCost?: {
|
|
2829
|
-
handleGasAmount: number;
|
|
2830
|
-
totalGasAmount: number;
|
|
2831
|
-
totalUsdCost: number;
|
|
2832
|
-
} | undefined;
|
|
2833
2840
|
}>> | undefined;
|
|
2834
2841
|
} | {
|
|
2835
2842
|
type: "protocolFee";
|
|
2836
2843
|
owner: string;
|
|
2837
|
-
protocolFee: string;
|
|
2838
2844
|
beneficiary: string;
|
|
2845
|
+
protocolFee: string;
|
|
2839
2846
|
maxProtocolFee: string;
|
|
2840
2847
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2841
2848
|
} | {
|
|
@@ -2912,7 +2919,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2912
2919
|
owner: string;
|
|
2913
2920
|
urls: string[];
|
|
2914
2921
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2915
|
-
} |
|
|
2922
|
+
} | ({
|
|
2923
|
+
owner: string;
|
|
2924
|
+
paused: boolean;
|
|
2925
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2926
|
+
} & {
|
|
2927
|
+
type: "pausableIsm";
|
|
2928
|
+
} & {
|
|
2929
|
+
address: string;
|
|
2930
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
2916
2931
|
type: z.ZodLiteral<"unknownIsm">;
|
|
2917
2932
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2918
2933
|
foreignDeployment?: string | undefined;
|
|
@@ -2921,35 +2936,41 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2921
2936
|
}> | undefined;
|
|
2922
2937
|
tokenFee?: {
|
|
2923
2938
|
bps: number;
|
|
2924
|
-
type:
|
|
2939
|
+
type: "LinearFee";
|
|
2925
2940
|
owner: string;
|
|
2941
|
+
beneficiary?: string | undefined;
|
|
2926
2942
|
maxFee?: bigint | undefined;
|
|
2927
2943
|
halfAmount?: bigint | undefined;
|
|
2928
2944
|
} | {
|
|
2929
2945
|
bps: number;
|
|
2930
|
-
type:
|
|
2946
|
+
type: "OffchainQuotedLinearFee";
|
|
2931
2947
|
owner: string;
|
|
2948
|
+
beneficiary?: string | undefined;
|
|
2932
2949
|
maxFee?: bigint | undefined;
|
|
2933
2950
|
halfAmount?: bigint | undefined;
|
|
2934
2951
|
quoteSigners?: string[] | undefined;
|
|
2935
2952
|
} | {
|
|
2936
|
-
type:
|
|
2953
|
+
type: "ProgressiveFee";
|
|
2937
2954
|
owner: string;
|
|
2938
2955
|
maxFee: bigint;
|
|
2939
2956
|
halfAmount: bigint;
|
|
2957
|
+
beneficiary?: string | undefined;
|
|
2940
2958
|
} | {
|
|
2941
|
-
type:
|
|
2959
|
+
type: "RegressiveFee";
|
|
2942
2960
|
owner: string;
|
|
2943
2961
|
maxFee: bigint;
|
|
2944
2962
|
halfAmount: bigint;
|
|
2963
|
+
beneficiary?: string | undefined;
|
|
2945
2964
|
} | {
|
|
2946
|
-
type:
|
|
2965
|
+
type: "RoutingFee";
|
|
2947
2966
|
owner: string;
|
|
2948
2967
|
feeContracts: Record<string, any>;
|
|
2968
|
+
beneficiary?: string | undefined;
|
|
2949
2969
|
} | {
|
|
2950
|
-
type:
|
|
2970
|
+
type: "CrossCollateralRoutingFee";
|
|
2951
2971
|
owner: string;
|
|
2952
2972
|
feeContracts: Record<string, Record<string, any>>;
|
|
2973
|
+
beneficiary?: string | undefined;
|
|
2953
2974
|
} | undefined;
|
|
2954
2975
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
2955
2976
|
commitmentIsm?: {
|
|
@@ -2992,17 +3013,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2992
3013
|
gasPrice: string;
|
|
2993
3014
|
tokenExchangeRate: string;
|
|
2994
3015
|
tokenDecimals?: number | undefined;
|
|
2995
|
-
typicalCost?: {
|
|
2996
|
-
handleGasAmount: number;
|
|
2997
|
-
totalGasAmount: number;
|
|
2998
|
-
totalUsdCost: number;
|
|
2999
|
-
} | undefined;
|
|
3000
3016
|
}>> | undefined;
|
|
3001
3017
|
} | {
|
|
3002
3018
|
type: "protocolFee";
|
|
3003
3019
|
owner: string;
|
|
3004
|
-
protocolFee: string;
|
|
3005
3020
|
beneficiary: string;
|
|
3021
|
+
protocolFee: string;
|
|
3006
3022
|
maxProtocolFee: string;
|
|
3007
3023
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3008
3024
|
} | {
|
|
@@ -3079,7 +3095,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3079
3095
|
owner: string;
|
|
3080
3096
|
urls: string[];
|
|
3081
3097
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3082
|
-
} | {
|
|
3098
|
+
} | ({
|
|
3099
|
+
owner: string;
|
|
3100
|
+
paused: boolean;
|
|
3101
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3102
|
+
} & {
|
|
3103
|
+
type: "pausableIsm";
|
|
3104
|
+
} & {
|
|
3105
|
+
address: string;
|
|
3106
|
+
}) | {
|
|
3083
3107
|
type: "interchainAccountRouting";
|
|
3084
3108
|
owner: string;
|
|
3085
3109
|
isms: Record<string, string>;
|
|
@@ -3113,17 +3137,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3113
3137
|
gasPrice: string;
|
|
3114
3138
|
tokenExchangeRate: string;
|
|
3115
3139
|
tokenDecimals?: number | undefined;
|
|
3116
|
-
typicalCost?: {
|
|
3117
|
-
handleGasAmount: number;
|
|
3118
|
-
totalGasAmount: number;
|
|
3119
|
-
totalUsdCost: number;
|
|
3120
|
-
} | undefined;
|
|
3121
3140
|
}>> | undefined;
|
|
3122
3141
|
} | {
|
|
3123
3142
|
type: "protocolFee";
|
|
3124
3143
|
owner: string;
|
|
3125
|
-
protocolFee: string;
|
|
3126
3144
|
beneficiary: string;
|
|
3145
|
+
protocolFee: string;
|
|
3127
3146
|
maxProtocolFee: string;
|
|
3128
3147
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3129
3148
|
} | {
|
|
@@ -3198,17 +3217,12 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3198
3217
|
gasPrice: string;
|
|
3199
3218
|
tokenExchangeRate: string;
|
|
3200
3219
|
tokenDecimals?: number | undefined;
|
|
3201
|
-
typicalCost?: {
|
|
3202
|
-
handleGasAmount: number;
|
|
3203
|
-
totalGasAmount: number;
|
|
3204
|
-
totalUsdCost: number;
|
|
3205
|
-
} | undefined;
|
|
3206
3220
|
}>> | undefined;
|
|
3207
3221
|
} | {
|
|
3208
3222
|
type: "protocolFee";
|
|
3209
3223
|
owner: string;
|
|
3210
|
-
protocolFee: string;
|
|
3211
3224
|
beneficiary: string;
|
|
3225
|
+
protocolFee: string;
|
|
3212
3226
|
maxProtocolFee: string;
|
|
3213
3227
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3214
3228
|
} | {
|
|
@@ -3285,7 +3299,15 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3285
3299
|
owner: string;
|
|
3286
3300
|
urls: string[];
|
|
3287
3301
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3288
|
-
} | {
|
|
3302
|
+
} | ({
|
|
3303
|
+
owner: string;
|
|
3304
|
+
paused: boolean;
|
|
3305
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3306
|
+
} & {
|
|
3307
|
+
type: "pausableIsm";
|
|
3308
|
+
} & {
|
|
3309
|
+
address: string;
|
|
3310
|
+
}) | {
|
|
3289
3311
|
type: "interchainAccountRouting";
|
|
3290
3312
|
owner: string;
|
|
3291
3313
|
isms: Record<string, string>;
|
|
@@ -3298,36 +3320,42 @@ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3298
3320
|
address: string;
|
|
3299
3321
|
}> | undefined;
|
|
3300
3322
|
tokenFee?: {
|
|
3301
|
-
type:
|
|
3323
|
+
type: "LinearFee";
|
|
3302
3324
|
owner: string;
|
|
3325
|
+
beneficiary?: string | undefined;
|
|
3303
3326
|
maxFee?: string | number | bigint | undefined;
|
|
3304
3327
|
halfAmount?: string | number | bigint | undefined;
|
|
3305
3328
|
bps?: string | number | undefined;
|
|
3306
3329
|
} | {
|
|
3307
|
-
type:
|
|
3330
|
+
type: "OffchainQuotedLinearFee";
|
|
3308
3331
|
owner: string;
|
|
3332
|
+
beneficiary?: string | undefined;
|
|
3309
3333
|
maxFee?: string | number | bigint | undefined;
|
|
3310
3334
|
halfAmount?: string | number | bigint | undefined;
|
|
3311
3335
|
bps?: string | number | undefined;
|
|
3312
3336
|
quoteSigners?: string[] | undefined;
|
|
3313
3337
|
} | {
|
|
3314
|
-
type:
|
|
3338
|
+
type: "ProgressiveFee";
|
|
3315
3339
|
owner: string;
|
|
3316
3340
|
maxFee: string | number | bigint;
|
|
3317
3341
|
halfAmount: string | number | bigint;
|
|
3342
|
+
beneficiary?: string | undefined;
|
|
3318
3343
|
} | {
|
|
3319
|
-
type:
|
|
3344
|
+
type: "RegressiveFee";
|
|
3320
3345
|
owner: string;
|
|
3321
3346
|
maxFee: string | number | bigint;
|
|
3322
3347
|
halfAmount: string | number | bigint;
|
|
3348
|
+
beneficiary?: string | undefined;
|
|
3323
3349
|
} | {
|
|
3324
|
-
type:
|
|
3350
|
+
type: "RoutingFee";
|
|
3325
3351
|
owner: string;
|
|
3326
3352
|
feeContracts: Record<string, any>;
|
|
3353
|
+
beneficiary?: string | undefined;
|
|
3327
3354
|
} | {
|
|
3328
|
-
type:
|
|
3355
|
+
type: "CrossCollateralRoutingFee";
|
|
3329
3356
|
owner: string;
|
|
3330
3357
|
feeContracts: Record<string, Record<string, any>>;
|
|
3358
|
+
beneficiary?: string | undefined;
|
|
3331
3359
|
} | undefined;
|
|
3332
3360
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
3333
3361
|
commitmentIsm?: {
|
|
@@ -3364,7 +3392,32 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3364
3392
|
type: "opStackIsm";
|
|
3365
3393
|
origin: string;
|
|
3366
3394
|
nativeBridge: string;
|
|
3367
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
3395
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
3396
|
+
owner: z.ZodString;
|
|
3397
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3398
|
+
} & {
|
|
3399
|
+
paused: z.ZodBoolean;
|
|
3400
|
+
}, "strip", z.ZodTypeAny, {
|
|
3401
|
+
owner: string;
|
|
3402
|
+
paused: boolean;
|
|
3403
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3404
|
+
}, {
|
|
3405
|
+
owner: string;
|
|
3406
|
+
paused: boolean;
|
|
3407
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3408
|
+
}>, z.ZodObject<{
|
|
3409
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
3410
|
+
}, "strip", z.ZodTypeAny, {
|
|
3411
|
+
type: "pausableIsm";
|
|
3412
|
+
}, {
|
|
3413
|
+
type: "pausableIsm";
|
|
3414
|
+
}>>, z.ZodObject<{
|
|
3415
|
+
address: z.ZodString;
|
|
3416
|
+
}, "strip", z.ZodTypeAny, {
|
|
3417
|
+
address: string;
|
|
3418
|
+
}, {
|
|
3419
|
+
address: string;
|
|
3420
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
3368
3421
|
owner: z.ZodString;
|
|
3369
3422
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3370
3423
|
} & {
|
|
@@ -3540,15 +3593,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3540
3593
|
}, "strip", z.ZodTypeAny, {
|
|
3541
3594
|
type: "protocolFee";
|
|
3542
3595
|
owner: string;
|
|
3543
|
-
protocolFee: string;
|
|
3544
3596
|
beneficiary: string;
|
|
3597
|
+
protocolFee: string;
|
|
3545
3598
|
maxProtocolFee: string;
|
|
3546
3599
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3547
3600
|
}, {
|
|
3548
3601
|
type: "protocolFee";
|
|
3549
3602
|
owner: string;
|
|
3550
|
-
protocolFee: string;
|
|
3551
3603
|
beneficiary: string;
|
|
3604
|
+
protocolFee: string;
|
|
3552
3605
|
maxProtocolFee: string;
|
|
3553
3606
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3554
3607
|
}>, z.ZodObject<{
|
|
@@ -3647,38 +3700,14 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3647
3700
|
tokenExchangeRate: z.ZodString;
|
|
3648
3701
|
} & {
|
|
3649
3702
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
3650
|
-
} & {
|
|
3651
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
3652
|
-
handleGasAmount: z.ZodNumber;
|
|
3653
|
-
totalGasAmount: z.ZodNumber;
|
|
3654
|
-
totalUsdCost: z.ZodNumber;
|
|
3655
|
-
}, "strip", z.ZodTypeAny, {
|
|
3656
|
-
handleGasAmount: number;
|
|
3657
|
-
totalGasAmount: number;
|
|
3658
|
-
totalUsdCost: number;
|
|
3659
|
-
}, {
|
|
3660
|
-
handleGasAmount: number;
|
|
3661
|
-
totalGasAmount: number;
|
|
3662
|
-
totalUsdCost: number;
|
|
3663
|
-
}>>;
|
|
3664
3703
|
}, "strip", z.ZodTypeAny, {
|
|
3665
3704
|
gasPrice: string;
|
|
3666
3705
|
tokenExchangeRate: string;
|
|
3667
3706
|
tokenDecimals?: number | undefined;
|
|
3668
|
-
typicalCost?: {
|
|
3669
|
-
handleGasAmount: number;
|
|
3670
|
-
totalGasAmount: number;
|
|
3671
|
-
totalUsdCost: number;
|
|
3672
|
-
} | undefined;
|
|
3673
3707
|
}, {
|
|
3674
3708
|
gasPrice: string;
|
|
3675
3709
|
tokenExchangeRate: string;
|
|
3676
3710
|
tokenDecimals?: number | undefined;
|
|
3677
|
-
typicalCost?: {
|
|
3678
|
-
handleGasAmount: number;
|
|
3679
|
-
totalGasAmount: number;
|
|
3680
|
-
totalUsdCost: number;
|
|
3681
|
-
} | undefined;
|
|
3682
3711
|
}>>>>;
|
|
3683
3712
|
}, "strip", z.ZodTypeAny, {
|
|
3684
3713
|
type: "interchainGasPaymaster";
|
|
@@ -3704,11 +3733,6 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3704
3733
|
gasPrice: string;
|
|
3705
3734
|
tokenExchangeRate: string;
|
|
3706
3735
|
tokenDecimals?: number | undefined;
|
|
3707
|
-
typicalCost?: {
|
|
3708
|
-
handleGasAmount: number;
|
|
3709
|
-
totalGasAmount: number;
|
|
3710
|
-
totalUsdCost: number;
|
|
3711
|
-
} | undefined;
|
|
3712
3736
|
}>> | undefined;
|
|
3713
3737
|
}, {
|
|
3714
3738
|
type: "interchainGasPaymaster";
|
|
@@ -3734,11 +3758,6 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3734
3758
|
gasPrice: string;
|
|
3735
3759
|
tokenExchangeRate: string;
|
|
3736
3760
|
tokenDecimals?: number | undefined;
|
|
3737
|
-
typicalCost?: {
|
|
3738
|
-
handleGasAmount: number;
|
|
3739
|
-
totalGasAmount: number;
|
|
3740
|
-
totalUsdCost: number;
|
|
3741
|
-
} | undefined;
|
|
3742
3761
|
}>> | undefined;
|
|
3743
3762
|
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
3744
3763
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -3827,15 +3846,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3827
3846
|
}, "strip", z.ZodTypeAny, {
|
|
3828
3847
|
type: "protocolFee";
|
|
3829
3848
|
owner: string;
|
|
3830
|
-
protocolFee: string;
|
|
3831
3849
|
beneficiary: string;
|
|
3850
|
+
protocolFee: string;
|
|
3832
3851
|
maxProtocolFee: string;
|
|
3833
3852
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3834
3853
|
}, {
|
|
3835
3854
|
type: "protocolFee";
|
|
3836
3855
|
owner: string;
|
|
3837
|
-
protocolFee: string;
|
|
3838
3856
|
beneficiary: string;
|
|
3857
|
+
protocolFee: string;
|
|
3839
3858
|
maxProtocolFee: string;
|
|
3840
3859
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3841
3860
|
}>, z.ZodObject<{
|
|
@@ -3934,38 +3953,14 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3934
3953
|
tokenExchangeRate: z.ZodString;
|
|
3935
3954
|
} & {
|
|
3936
3955
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
3937
|
-
} & {
|
|
3938
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
3939
|
-
handleGasAmount: z.ZodNumber;
|
|
3940
|
-
totalGasAmount: z.ZodNumber;
|
|
3941
|
-
totalUsdCost: z.ZodNumber;
|
|
3942
|
-
}, "strip", z.ZodTypeAny, {
|
|
3943
|
-
handleGasAmount: number;
|
|
3944
|
-
totalGasAmount: number;
|
|
3945
|
-
totalUsdCost: number;
|
|
3946
|
-
}, {
|
|
3947
|
-
handleGasAmount: number;
|
|
3948
|
-
totalGasAmount: number;
|
|
3949
|
-
totalUsdCost: number;
|
|
3950
|
-
}>>;
|
|
3951
3956
|
}, "strip", z.ZodTypeAny, {
|
|
3952
3957
|
gasPrice: string;
|
|
3953
3958
|
tokenExchangeRate: string;
|
|
3954
3959
|
tokenDecimals?: number | undefined;
|
|
3955
|
-
typicalCost?: {
|
|
3956
|
-
handleGasAmount: number;
|
|
3957
|
-
totalGasAmount: number;
|
|
3958
|
-
totalUsdCost: number;
|
|
3959
|
-
} | undefined;
|
|
3960
3960
|
}, {
|
|
3961
3961
|
gasPrice: string;
|
|
3962
3962
|
tokenExchangeRate: string;
|
|
3963
3963
|
tokenDecimals?: number | undefined;
|
|
3964
|
-
typicalCost?: {
|
|
3965
|
-
handleGasAmount: number;
|
|
3966
|
-
totalGasAmount: number;
|
|
3967
|
-
totalUsdCost: number;
|
|
3968
|
-
} | undefined;
|
|
3969
3964
|
}>>>>;
|
|
3970
3965
|
}, "strip", z.ZodTypeAny, {
|
|
3971
3966
|
type: "interchainGasPaymaster";
|
|
@@ -3991,11 +3986,6 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3991
3986
|
gasPrice: string;
|
|
3992
3987
|
tokenExchangeRate: string;
|
|
3993
3988
|
tokenDecimals?: number | undefined;
|
|
3994
|
-
typicalCost?: {
|
|
3995
|
-
handleGasAmount: number;
|
|
3996
|
-
totalGasAmount: number;
|
|
3997
|
-
totalUsdCost: number;
|
|
3998
|
-
} | undefined;
|
|
3999
3989
|
}>> | undefined;
|
|
4000
3990
|
}, {
|
|
4001
3991
|
type: "interchainGasPaymaster";
|
|
@@ -4017,15 +4007,10 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4017
4007
|
quoteSigners?: string[] | undefined;
|
|
4018
4008
|
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
4019
4009
|
contractVersion?: string | undefined;
|
|
4020
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
4021
|
-
gasPrice: string;
|
|
4022
|
-
tokenExchangeRate: string;
|
|
4023
|
-
tokenDecimals?: number | undefined;
|
|
4024
|
-
typicalCost?: {
|
|
4025
|
-
handleGasAmount: number;
|
|
4026
|
-
totalGasAmount: number;
|
|
4027
|
-
totalUsdCost: number;
|
|
4028
|
-
} | undefined;
|
|
4010
|
+
tokenOracleConfig?: Record<string, Record<string, {
|
|
4011
|
+
gasPrice: string;
|
|
4012
|
+
tokenExchangeRate: string;
|
|
4013
|
+
tokenDecimals?: number | undefined;
|
|
4029
4014
|
}>> | undefined;
|
|
4030
4015
|
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
4031
4016
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -4136,15 +4121,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4136
4121
|
}, "strip", z.ZodTypeAny, {
|
|
4137
4122
|
type: "protocolFee";
|
|
4138
4123
|
owner: string;
|
|
4139
|
-
protocolFee: string;
|
|
4140
4124
|
beneficiary: string;
|
|
4125
|
+
protocolFee: string;
|
|
4141
4126
|
maxProtocolFee: string;
|
|
4142
4127
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4143
4128
|
}, {
|
|
4144
4129
|
type: "protocolFee";
|
|
4145
4130
|
owner: string;
|
|
4146
|
-
protocolFee: string;
|
|
4147
4131
|
beneficiary: string;
|
|
4132
|
+
protocolFee: string;
|
|
4148
4133
|
maxProtocolFee: string;
|
|
4149
4134
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4150
4135
|
}>, z.ZodObject<{
|
|
@@ -4243,38 +4228,14 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4243
4228
|
tokenExchangeRate: z.ZodString;
|
|
4244
4229
|
} & {
|
|
4245
4230
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
4246
|
-
} & {
|
|
4247
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
4248
|
-
handleGasAmount: z.ZodNumber;
|
|
4249
|
-
totalGasAmount: z.ZodNumber;
|
|
4250
|
-
totalUsdCost: z.ZodNumber;
|
|
4251
|
-
}, "strip", z.ZodTypeAny, {
|
|
4252
|
-
handleGasAmount: number;
|
|
4253
|
-
totalGasAmount: number;
|
|
4254
|
-
totalUsdCost: number;
|
|
4255
|
-
}, {
|
|
4256
|
-
handleGasAmount: number;
|
|
4257
|
-
totalGasAmount: number;
|
|
4258
|
-
totalUsdCost: number;
|
|
4259
|
-
}>>;
|
|
4260
4231
|
}, "strip", z.ZodTypeAny, {
|
|
4261
4232
|
gasPrice: string;
|
|
4262
4233
|
tokenExchangeRate: string;
|
|
4263
4234
|
tokenDecimals?: number | undefined;
|
|
4264
|
-
typicalCost?: {
|
|
4265
|
-
handleGasAmount: number;
|
|
4266
|
-
totalGasAmount: number;
|
|
4267
|
-
totalUsdCost: number;
|
|
4268
|
-
} | undefined;
|
|
4269
4235
|
}, {
|
|
4270
4236
|
gasPrice: string;
|
|
4271
4237
|
tokenExchangeRate: string;
|
|
4272
4238
|
tokenDecimals?: number | undefined;
|
|
4273
|
-
typicalCost?: {
|
|
4274
|
-
handleGasAmount: number;
|
|
4275
|
-
totalGasAmount: number;
|
|
4276
|
-
totalUsdCost: number;
|
|
4277
|
-
} | undefined;
|
|
4278
4239
|
}>>>>;
|
|
4279
4240
|
}, "strip", z.ZodTypeAny, {
|
|
4280
4241
|
type: "interchainGasPaymaster";
|
|
@@ -4300,11 +4261,6 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4300
4261
|
gasPrice: string;
|
|
4301
4262
|
tokenExchangeRate: string;
|
|
4302
4263
|
tokenDecimals?: number | undefined;
|
|
4303
|
-
typicalCost?: {
|
|
4304
|
-
handleGasAmount: number;
|
|
4305
|
-
totalGasAmount: number;
|
|
4306
|
-
totalUsdCost: number;
|
|
4307
|
-
} | undefined;
|
|
4308
4264
|
}>> | undefined;
|
|
4309
4265
|
}, {
|
|
4310
4266
|
type: "interchainGasPaymaster";
|
|
@@ -4330,11 +4286,6 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4330
4286
|
gasPrice: string;
|
|
4331
4287
|
tokenExchangeRate: string;
|
|
4332
4288
|
tokenDecimals?: number | undefined;
|
|
4333
|
-
typicalCost?: {
|
|
4334
|
-
handleGasAmount: number;
|
|
4335
|
-
totalGasAmount: number;
|
|
4336
|
-
totalUsdCost: number;
|
|
4337
|
-
} | undefined;
|
|
4338
4289
|
}>> | undefined;
|
|
4339
4290
|
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, import("../hook/types.js").ArbL2ToL1HookConfig>, z.ZodObject<{
|
|
4340
4291
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -4430,7 +4381,32 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4430
4381
|
type: "opStackIsm";
|
|
4431
4382
|
origin: string;
|
|
4432
4383
|
nativeBridge: string;
|
|
4433
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
4384
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
4385
|
+
owner: z.ZodString;
|
|
4386
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4387
|
+
} & {
|
|
4388
|
+
paused: z.ZodBoolean;
|
|
4389
|
+
}, "strip", z.ZodTypeAny, {
|
|
4390
|
+
owner: string;
|
|
4391
|
+
paused: boolean;
|
|
4392
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4393
|
+
}, {
|
|
4394
|
+
owner: string;
|
|
4395
|
+
paused: boolean;
|
|
4396
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4397
|
+
}>, z.ZodObject<{
|
|
4398
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
4399
|
+
}, "strip", z.ZodTypeAny, {
|
|
4400
|
+
type: "pausableIsm";
|
|
4401
|
+
}, {
|
|
4402
|
+
type: "pausableIsm";
|
|
4403
|
+
}>>, z.ZodObject<{
|
|
4404
|
+
address: z.ZodString;
|
|
4405
|
+
}, "strip", z.ZodTypeAny, {
|
|
4406
|
+
address: string;
|
|
4407
|
+
}, {
|
|
4408
|
+
address: string;
|
|
4409
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
4434
4410
|
owner: z.ZodString;
|
|
4435
4411
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4436
4412
|
} & {
|
|
@@ -4621,192 +4597,226 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4621
4597
|
}>>;
|
|
4622
4598
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
4623
4599
|
owner: z.ZodString;
|
|
4600
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4624
4601
|
} & {
|
|
4625
4602
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
4626
4603
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
4627
|
-
type: z.ZodLiteral<
|
|
4604
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
4628
4605
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
4629
4606
|
}, "strip", z.ZodTypeAny, {
|
|
4630
|
-
type:
|
|
4607
|
+
type: "LinearFee";
|
|
4631
4608
|
owner: string;
|
|
4609
|
+
beneficiary?: string | undefined;
|
|
4632
4610
|
maxFee?: bigint | undefined;
|
|
4633
4611
|
halfAmount?: bigint | undefined;
|
|
4634
4612
|
bps?: number | undefined;
|
|
4635
4613
|
}, {
|
|
4636
|
-
type:
|
|
4614
|
+
type: "LinearFee";
|
|
4637
4615
|
owner: string;
|
|
4616
|
+
beneficiary?: string | undefined;
|
|
4638
4617
|
maxFee?: string | number | bigint | undefined;
|
|
4639
4618
|
halfAmount?: string | number | bigint | undefined;
|
|
4640
4619
|
bps?: string | number | undefined;
|
|
4641
4620
|
}>, {
|
|
4642
|
-
type:
|
|
4621
|
+
type: "LinearFee";
|
|
4643
4622
|
owner: string;
|
|
4623
|
+
beneficiary?: string | undefined;
|
|
4644
4624
|
maxFee?: bigint | undefined;
|
|
4645
4625
|
halfAmount?: bigint | undefined;
|
|
4646
4626
|
bps?: number | undefined;
|
|
4647
4627
|
}, {
|
|
4648
|
-
type:
|
|
4628
|
+
type: "LinearFee";
|
|
4649
4629
|
owner: string;
|
|
4630
|
+
beneficiary?: string | undefined;
|
|
4650
4631
|
maxFee?: string | number | bigint | undefined;
|
|
4651
4632
|
halfAmount?: string | number | bigint | undefined;
|
|
4652
4633
|
bps?: string | number | undefined;
|
|
4653
4634
|
}>, {
|
|
4654
4635
|
bps: number;
|
|
4655
|
-
type:
|
|
4636
|
+
type: "LinearFee";
|
|
4656
4637
|
owner: string;
|
|
4638
|
+
beneficiary?: string | undefined;
|
|
4657
4639
|
maxFee?: bigint | undefined;
|
|
4658
4640
|
halfAmount?: bigint | undefined;
|
|
4659
4641
|
}, {
|
|
4660
|
-
type:
|
|
4642
|
+
type: "LinearFee";
|
|
4661
4643
|
owner: string;
|
|
4644
|
+
beneficiary?: string | undefined;
|
|
4662
4645
|
maxFee?: string | number | bigint | undefined;
|
|
4663
4646
|
halfAmount?: string | number | bigint | undefined;
|
|
4664
4647
|
bps?: string | number | undefined;
|
|
4665
4648
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
4666
4649
|
owner: z.ZodString;
|
|
4650
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4667
4651
|
} & {
|
|
4668
4652
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4669
4653
|
} & {
|
|
4670
4654
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
4671
4655
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
4672
|
-
type: z.ZodLiteral<
|
|
4656
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
4673
4657
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
4674
4658
|
}, "strip", z.ZodTypeAny, {
|
|
4675
|
-
type:
|
|
4659
|
+
type: "OffchainQuotedLinearFee";
|
|
4676
4660
|
owner: string;
|
|
4661
|
+
beneficiary?: string | undefined;
|
|
4677
4662
|
maxFee?: bigint | undefined;
|
|
4678
4663
|
halfAmount?: bigint | undefined;
|
|
4679
4664
|
bps?: number | undefined;
|
|
4680
4665
|
quoteSigners?: string[] | undefined;
|
|
4681
4666
|
}, {
|
|
4682
|
-
type:
|
|
4667
|
+
type: "OffchainQuotedLinearFee";
|
|
4683
4668
|
owner: string;
|
|
4669
|
+
beneficiary?: string | undefined;
|
|
4684
4670
|
maxFee?: string | number | bigint | undefined;
|
|
4685
4671
|
halfAmount?: string | number | bigint | undefined;
|
|
4686
4672
|
bps?: string | number | undefined;
|
|
4687
4673
|
quoteSigners?: string[] | undefined;
|
|
4688
4674
|
}>, {
|
|
4689
|
-
type:
|
|
4675
|
+
type: "OffchainQuotedLinearFee";
|
|
4690
4676
|
owner: string;
|
|
4677
|
+
beneficiary?: string | undefined;
|
|
4691
4678
|
maxFee?: bigint | undefined;
|
|
4692
4679
|
halfAmount?: bigint | undefined;
|
|
4693
4680
|
bps?: number | undefined;
|
|
4694
4681
|
quoteSigners?: string[] | undefined;
|
|
4695
4682
|
}, {
|
|
4696
|
-
type:
|
|
4683
|
+
type: "OffchainQuotedLinearFee";
|
|
4697
4684
|
owner: string;
|
|
4685
|
+
beneficiary?: string | undefined;
|
|
4698
4686
|
maxFee?: string | number | bigint | undefined;
|
|
4699
4687
|
halfAmount?: string | number | bigint | undefined;
|
|
4700
4688
|
bps?: string | number | undefined;
|
|
4701
4689
|
quoteSigners?: string[] | undefined;
|
|
4702
4690
|
}>, {
|
|
4703
4691
|
bps: number;
|
|
4704
|
-
type:
|
|
4692
|
+
type: "OffchainQuotedLinearFee";
|
|
4705
4693
|
owner: string;
|
|
4694
|
+
beneficiary?: string | undefined;
|
|
4706
4695
|
maxFee?: bigint | undefined;
|
|
4707
4696
|
halfAmount?: bigint | undefined;
|
|
4708
4697
|
quoteSigners?: string[] | undefined;
|
|
4709
4698
|
}, {
|
|
4710
|
-
type:
|
|
4699
|
+
type: "OffchainQuotedLinearFee";
|
|
4711
4700
|
owner: string;
|
|
4701
|
+
beneficiary?: string | undefined;
|
|
4712
4702
|
maxFee?: string | number | bigint | undefined;
|
|
4713
4703
|
halfAmount?: string | number | bigint | undefined;
|
|
4714
4704
|
bps?: string | number | undefined;
|
|
4715
4705
|
quoteSigners?: string[] | undefined;
|
|
4716
4706
|
}>, z.ZodEffects<z.ZodObject<{
|
|
4717
4707
|
owner: z.ZodString;
|
|
4708
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4718
4709
|
} & {
|
|
4719
|
-
type: z.ZodLiteral<
|
|
4710
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
4720
4711
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
4721
4712
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
4722
4713
|
}, "strip", z.ZodTypeAny, {
|
|
4723
|
-
type:
|
|
4714
|
+
type: "ProgressiveFee";
|
|
4724
4715
|
owner: string;
|
|
4725
4716
|
maxFee: bigint;
|
|
4726
4717
|
halfAmount: bigint;
|
|
4718
|
+
beneficiary?: string | undefined;
|
|
4727
4719
|
}, {
|
|
4728
|
-
type:
|
|
4720
|
+
type: "ProgressiveFee";
|
|
4729
4721
|
owner: string;
|
|
4730
4722
|
maxFee: string | number | bigint;
|
|
4731
4723
|
halfAmount: string | number | bigint;
|
|
4724
|
+
beneficiary?: string | undefined;
|
|
4732
4725
|
}>, {
|
|
4733
|
-
type:
|
|
4726
|
+
type: "ProgressiveFee";
|
|
4734
4727
|
owner: string;
|
|
4735
4728
|
maxFee: bigint;
|
|
4736
4729
|
halfAmount: bigint;
|
|
4730
|
+
beneficiary?: string | undefined;
|
|
4737
4731
|
}, {
|
|
4738
|
-
type:
|
|
4732
|
+
type: "ProgressiveFee";
|
|
4739
4733
|
owner: string;
|
|
4740
4734
|
maxFee: string | number | bigint;
|
|
4741
4735
|
halfAmount: string | number | bigint;
|
|
4736
|
+
beneficiary?: string | undefined;
|
|
4742
4737
|
}>, z.ZodEffects<z.ZodObject<{
|
|
4743
4738
|
owner: z.ZodString;
|
|
4739
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4744
4740
|
} & {
|
|
4745
|
-
type: z.ZodLiteral<
|
|
4741
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
4746
4742
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
4747
4743
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
4748
4744
|
}, "strip", z.ZodTypeAny, {
|
|
4749
|
-
type:
|
|
4745
|
+
type: "RegressiveFee";
|
|
4750
4746
|
owner: string;
|
|
4751
4747
|
maxFee: bigint;
|
|
4752
4748
|
halfAmount: bigint;
|
|
4749
|
+
beneficiary?: string | undefined;
|
|
4753
4750
|
}, {
|
|
4754
|
-
type:
|
|
4751
|
+
type: "RegressiveFee";
|
|
4755
4752
|
owner: string;
|
|
4756
4753
|
maxFee: string | number | bigint;
|
|
4757
4754
|
halfAmount: string | number | bigint;
|
|
4755
|
+
beneficiary?: string | undefined;
|
|
4758
4756
|
}>, {
|
|
4759
|
-
type:
|
|
4757
|
+
type: "RegressiveFee";
|
|
4760
4758
|
owner: string;
|
|
4761
4759
|
maxFee: bigint;
|
|
4762
4760
|
halfAmount: bigint;
|
|
4761
|
+
beneficiary?: string | undefined;
|
|
4763
4762
|
}, {
|
|
4764
|
-
type:
|
|
4763
|
+
type: "RegressiveFee";
|
|
4765
4764
|
owner: string;
|
|
4766
4765
|
maxFee: string | number | bigint;
|
|
4767
4766
|
halfAmount: string | number | bigint;
|
|
4767
|
+
beneficiary?: string | undefined;
|
|
4768
4768
|
}>, z.ZodEffects<z.ZodObject<{
|
|
4769
4769
|
owner: z.ZodString;
|
|
4770
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4770
4771
|
} & {
|
|
4771
|
-
type: z.ZodLiteral<
|
|
4772
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
4772
4773
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
4773
4774
|
}, "strip", z.ZodTypeAny, {
|
|
4774
|
-
type:
|
|
4775
|
+
type: "RoutingFee";
|
|
4775
4776
|
owner: string;
|
|
4776
4777
|
feeContracts: Record<string, any>;
|
|
4778
|
+
beneficiary?: string | undefined;
|
|
4777
4779
|
}, {
|
|
4778
|
-
type:
|
|
4780
|
+
type: "RoutingFee";
|
|
4779
4781
|
owner: string;
|
|
4780
4782
|
feeContracts: Record<string, any>;
|
|
4783
|
+
beneficiary?: string | undefined;
|
|
4781
4784
|
}>, {
|
|
4782
|
-
type:
|
|
4785
|
+
type: "RoutingFee";
|
|
4783
4786
|
owner: string;
|
|
4784
4787
|
feeContracts: Record<string, any>;
|
|
4788
|
+
beneficiary?: string | undefined;
|
|
4785
4789
|
}, {
|
|
4786
|
-
type:
|
|
4790
|
+
type: "RoutingFee";
|
|
4787
4791
|
owner: string;
|
|
4788
4792
|
feeContracts: Record<string, any>;
|
|
4793
|
+
beneficiary?: string | undefined;
|
|
4789
4794
|
}>, z.ZodEffects<z.ZodObject<{
|
|
4790
4795
|
owner: z.ZodString;
|
|
4796
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
4791
4797
|
} & {
|
|
4792
|
-
type: z.ZodLiteral<
|
|
4798
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
4793
4799
|
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>>>;
|
|
4794
4800
|
}, "strip", z.ZodTypeAny, {
|
|
4795
|
-
type:
|
|
4801
|
+
type: "CrossCollateralRoutingFee";
|
|
4796
4802
|
owner: string;
|
|
4797
4803
|
feeContracts: Record<string, Record<string, any>>;
|
|
4804
|
+
beneficiary?: string | undefined;
|
|
4798
4805
|
}, {
|
|
4799
|
-
type:
|
|
4806
|
+
type: "CrossCollateralRoutingFee";
|
|
4800
4807
|
owner: string;
|
|
4801
4808
|
feeContracts: Record<string, Record<string, any>>;
|
|
4809
|
+
beneficiary?: string | undefined;
|
|
4802
4810
|
}>, {
|
|
4803
|
-
type:
|
|
4811
|
+
type: "CrossCollateralRoutingFee";
|
|
4804
4812
|
owner: string;
|
|
4805
4813
|
feeContracts: Record<string, Record<string, any>>;
|
|
4814
|
+
beneficiary?: string | undefined;
|
|
4806
4815
|
}, {
|
|
4807
|
-
type:
|
|
4816
|
+
type: "CrossCollateralRoutingFee";
|
|
4808
4817
|
owner: string;
|
|
4809
4818
|
feeContracts: Record<string, Record<string, any>>;
|
|
4819
|
+
beneficiary?: string | undefined;
|
|
4810
4820
|
}>]>>;
|
|
4811
4821
|
} & {
|
|
4812
4822
|
routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
|
|
@@ -4875,17 +4885,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4875
4885
|
gasPrice: string;
|
|
4876
4886
|
tokenExchangeRate: string;
|
|
4877
4887
|
tokenDecimals?: number | undefined;
|
|
4878
|
-
typicalCost?: {
|
|
4879
|
-
handleGasAmount: number;
|
|
4880
|
-
totalGasAmount: number;
|
|
4881
|
-
totalUsdCost: number;
|
|
4882
|
-
} | undefined;
|
|
4883
4888
|
}>> | undefined;
|
|
4884
4889
|
} | {
|
|
4885
4890
|
type: "protocolFee";
|
|
4886
4891
|
owner: string;
|
|
4887
|
-
protocolFee: string;
|
|
4888
4892
|
beneficiary: string;
|
|
4893
|
+
protocolFee: string;
|
|
4889
4894
|
maxProtocolFee: string;
|
|
4890
4895
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4891
4896
|
} | {
|
|
@@ -4962,7 +4967,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4962
4967
|
owner: string;
|
|
4963
4968
|
urls: string[];
|
|
4964
4969
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4965
|
-
} |
|
|
4970
|
+
} | ({
|
|
4971
|
+
owner: string;
|
|
4972
|
+
paused: boolean;
|
|
4973
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4974
|
+
} & {
|
|
4975
|
+
type: "pausableIsm";
|
|
4976
|
+
} & {
|
|
4977
|
+
address: string;
|
|
4978
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
4966
4979
|
type: z.ZodLiteral<"unknownIsm">;
|
|
4967
4980
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4968
4981
|
foreignDeployment?: string | undefined;
|
|
@@ -4971,35 +4984,41 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4971
4984
|
}> | undefined;
|
|
4972
4985
|
tokenFee?: {
|
|
4973
4986
|
bps: number;
|
|
4974
|
-
type:
|
|
4987
|
+
type: "LinearFee";
|
|
4975
4988
|
owner: string;
|
|
4989
|
+
beneficiary?: string | undefined;
|
|
4976
4990
|
maxFee?: bigint | undefined;
|
|
4977
4991
|
halfAmount?: bigint | undefined;
|
|
4978
4992
|
} | {
|
|
4979
4993
|
bps: number;
|
|
4980
|
-
type:
|
|
4994
|
+
type: "OffchainQuotedLinearFee";
|
|
4981
4995
|
owner: string;
|
|
4996
|
+
beneficiary?: string | undefined;
|
|
4982
4997
|
maxFee?: bigint | undefined;
|
|
4983
4998
|
halfAmount?: bigint | undefined;
|
|
4984
4999
|
quoteSigners?: string[] | undefined;
|
|
4985
5000
|
} | {
|
|
4986
|
-
type:
|
|
5001
|
+
type: "ProgressiveFee";
|
|
4987
5002
|
owner: string;
|
|
4988
5003
|
maxFee: bigint;
|
|
4989
5004
|
halfAmount: bigint;
|
|
5005
|
+
beneficiary?: string | undefined;
|
|
4990
5006
|
} | {
|
|
4991
|
-
type:
|
|
5007
|
+
type: "RegressiveFee";
|
|
4992
5008
|
owner: string;
|
|
4993
5009
|
maxFee: bigint;
|
|
4994
5010
|
halfAmount: bigint;
|
|
5011
|
+
beneficiary?: string | undefined;
|
|
4995
5012
|
} | {
|
|
4996
|
-
type:
|
|
5013
|
+
type: "RoutingFee";
|
|
4997
5014
|
owner: string;
|
|
4998
5015
|
feeContracts: Record<string, any>;
|
|
5016
|
+
beneficiary?: string | undefined;
|
|
4999
5017
|
} | {
|
|
5000
|
-
type:
|
|
5018
|
+
type: "CrossCollateralRoutingFee";
|
|
5001
5019
|
owner: string;
|
|
5002
5020
|
feeContracts: Record<string, Record<string, any>>;
|
|
5021
|
+
beneficiary?: string | undefined;
|
|
5003
5022
|
} | undefined;
|
|
5004
5023
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
5005
5024
|
commitmentIsm?: {
|
|
@@ -5048,17 +5067,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5048
5067
|
gasPrice: string;
|
|
5049
5068
|
tokenExchangeRate: string;
|
|
5050
5069
|
tokenDecimals?: number | undefined;
|
|
5051
|
-
typicalCost?: {
|
|
5052
|
-
handleGasAmount: number;
|
|
5053
|
-
totalGasAmount: number;
|
|
5054
|
-
totalUsdCost: number;
|
|
5055
|
-
} | undefined;
|
|
5056
5070
|
}>> | undefined;
|
|
5057
5071
|
} | {
|
|
5058
5072
|
type: "protocolFee";
|
|
5059
5073
|
owner: string;
|
|
5060
|
-
protocolFee: string;
|
|
5061
5074
|
beneficiary: string;
|
|
5075
|
+
protocolFee: string;
|
|
5062
5076
|
maxProtocolFee: string;
|
|
5063
5077
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5064
5078
|
} | {
|
|
@@ -5135,7 +5149,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5135
5149
|
owner: string;
|
|
5136
5150
|
urls: string[];
|
|
5137
5151
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5138
|
-
} | {
|
|
5152
|
+
} | ({
|
|
5153
|
+
owner: string;
|
|
5154
|
+
paused: boolean;
|
|
5155
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5156
|
+
} & {
|
|
5157
|
+
type: "pausableIsm";
|
|
5158
|
+
} & {
|
|
5159
|
+
address: string;
|
|
5160
|
+
}) | {
|
|
5139
5161
|
type: "interchainAccountRouting";
|
|
5140
5162
|
owner: string;
|
|
5141
5163
|
isms: Record<string, string>;
|
|
@@ -5148,36 +5170,42 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5148
5170
|
address: string;
|
|
5149
5171
|
}> | undefined;
|
|
5150
5172
|
tokenFee?: {
|
|
5151
|
-
type:
|
|
5173
|
+
type: "LinearFee";
|
|
5152
5174
|
owner: string;
|
|
5175
|
+
beneficiary?: string | undefined;
|
|
5153
5176
|
maxFee?: string | number | bigint | undefined;
|
|
5154
5177
|
halfAmount?: string | number | bigint | undefined;
|
|
5155
5178
|
bps?: string | number | undefined;
|
|
5156
5179
|
} | {
|
|
5157
|
-
type:
|
|
5180
|
+
type: "OffchainQuotedLinearFee";
|
|
5158
5181
|
owner: string;
|
|
5182
|
+
beneficiary?: string | undefined;
|
|
5159
5183
|
maxFee?: string | number | bigint | undefined;
|
|
5160
5184
|
halfAmount?: string | number | bigint | undefined;
|
|
5161
5185
|
bps?: string | number | undefined;
|
|
5162
5186
|
quoteSigners?: string[] | undefined;
|
|
5163
5187
|
} | {
|
|
5164
|
-
type:
|
|
5188
|
+
type: "ProgressiveFee";
|
|
5165
5189
|
owner: string;
|
|
5166
5190
|
maxFee: string | number | bigint;
|
|
5167
5191
|
halfAmount: string | number | bigint;
|
|
5192
|
+
beneficiary?: string | undefined;
|
|
5168
5193
|
} | {
|
|
5169
|
-
type:
|
|
5194
|
+
type: "RegressiveFee";
|
|
5170
5195
|
owner: string;
|
|
5171
5196
|
maxFee: string | number | bigint;
|
|
5172
5197
|
halfAmount: string | number | bigint;
|
|
5198
|
+
beneficiary?: string | undefined;
|
|
5173
5199
|
} | {
|
|
5174
|
-
type:
|
|
5200
|
+
type: "RoutingFee";
|
|
5175
5201
|
owner: string;
|
|
5176
5202
|
feeContracts: Record<string, any>;
|
|
5203
|
+
beneficiary?: string | undefined;
|
|
5177
5204
|
} | {
|
|
5178
|
-
type:
|
|
5205
|
+
type: "CrossCollateralRoutingFee";
|
|
5179
5206
|
owner: string;
|
|
5180
5207
|
feeContracts: Record<string, Record<string, any>>;
|
|
5208
|
+
beneficiary?: string | undefined;
|
|
5181
5209
|
} | undefined;
|
|
5182
5210
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
5183
5211
|
commitmentIsm?: {
|
|
@@ -5219,17 +5247,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5219
5247
|
gasPrice: string;
|
|
5220
5248
|
tokenExchangeRate: string;
|
|
5221
5249
|
tokenDecimals?: number | undefined;
|
|
5222
|
-
typicalCost?: {
|
|
5223
|
-
handleGasAmount: number;
|
|
5224
|
-
totalGasAmount: number;
|
|
5225
|
-
totalUsdCost: number;
|
|
5226
|
-
} | undefined;
|
|
5227
5250
|
}>> | undefined;
|
|
5228
5251
|
} | {
|
|
5229
5252
|
type: "protocolFee";
|
|
5230
5253
|
owner: string;
|
|
5231
|
-
protocolFee: string;
|
|
5232
5254
|
beneficiary: string;
|
|
5255
|
+
protocolFee: string;
|
|
5233
5256
|
maxProtocolFee: string;
|
|
5234
5257
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5235
5258
|
} | {
|
|
@@ -5306,7 +5329,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5306
5329
|
owner: string;
|
|
5307
5330
|
urls: string[];
|
|
5308
5331
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5309
|
-
} |
|
|
5332
|
+
} | ({
|
|
5333
|
+
owner: string;
|
|
5334
|
+
paused: boolean;
|
|
5335
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5336
|
+
} & {
|
|
5337
|
+
type: "pausableIsm";
|
|
5338
|
+
} & {
|
|
5339
|
+
address: string;
|
|
5340
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
5310
5341
|
type: z.ZodLiteral<"unknownIsm">;
|
|
5311
5342
|
}, z.ZodTypeAny, "passthrough">;
|
|
5312
5343
|
requiredHook: string | {
|
|
@@ -5335,17 +5366,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5335
5366
|
gasPrice: string;
|
|
5336
5367
|
tokenExchangeRate: string;
|
|
5337
5368
|
tokenDecimals?: number | undefined;
|
|
5338
|
-
typicalCost?: {
|
|
5339
|
-
handleGasAmount: number;
|
|
5340
|
-
totalGasAmount: number;
|
|
5341
|
-
totalUsdCost: number;
|
|
5342
|
-
} | undefined;
|
|
5343
5369
|
}>> | undefined;
|
|
5344
5370
|
} | {
|
|
5345
5371
|
type: "protocolFee";
|
|
5346
5372
|
owner: string;
|
|
5347
|
-
protocolFee: string;
|
|
5348
5373
|
beneficiary: string;
|
|
5374
|
+
protocolFee: string;
|
|
5349
5375
|
maxProtocolFee: string;
|
|
5350
5376
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5351
5377
|
} | {
|
|
@@ -5421,17 +5447,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5421
5447
|
gasPrice: string;
|
|
5422
5448
|
tokenExchangeRate: string;
|
|
5423
5449
|
tokenDecimals?: number | undefined;
|
|
5424
|
-
typicalCost?: {
|
|
5425
|
-
handleGasAmount: number;
|
|
5426
|
-
totalGasAmount: number;
|
|
5427
|
-
totalUsdCost: number;
|
|
5428
|
-
} | undefined;
|
|
5429
5450
|
}>> | undefined;
|
|
5430
5451
|
} | {
|
|
5431
5452
|
type: "protocolFee";
|
|
5432
5453
|
owner: string;
|
|
5433
|
-
protocolFee: string;
|
|
5434
5454
|
beneficiary: string;
|
|
5455
|
+
protocolFee: string;
|
|
5435
5456
|
maxProtocolFee: string;
|
|
5436
5457
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5437
5458
|
} | {
|
|
@@ -5508,7 +5529,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5508
5529
|
owner: string;
|
|
5509
5530
|
urls: string[];
|
|
5510
5531
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5511
|
-
} |
|
|
5532
|
+
} | ({
|
|
5533
|
+
owner: string;
|
|
5534
|
+
paused: boolean;
|
|
5535
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5536
|
+
} & {
|
|
5537
|
+
type: "pausableIsm";
|
|
5538
|
+
} & {
|
|
5539
|
+
address: string;
|
|
5540
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
5512
5541
|
type: z.ZodLiteral<"unknownIsm">;
|
|
5513
5542
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
5514
5543
|
foreignDeployment?: string | undefined;
|
|
@@ -5517,35 +5546,41 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5517
5546
|
}> | undefined;
|
|
5518
5547
|
tokenFee?: {
|
|
5519
5548
|
bps: number;
|
|
5520
|
-
type:
|
|
5549
|
+
type: "LinearFee";
|
|
5521
5550
|
owner: string;
|
|
5551
|
+
beneficiary?: string | undefined;
|
|
5522
5552
|
maxFee?: bigint | undefined;
|
|
5523
5553
|
halfAmount?: bigint | undefined;
|
|
5524
5554
|
} | {
|
|
5525
5555
|
bps: number;
|
|
5526
|
-
type:
|
|
5556
|
+
type: "OffchainQuotedLinearFee";
|
|
5527
5557
|
owner: string;
|
|
5558
|
+
beneficiary?: string | undefined;
|
|
5528
5559
|
maxFee?: bigint | undefined;
|
|
5529
5560
|
halfAmount?: bigint | undefined;
|
|
5530
5561
|
quoteSigners?: string[] | undefined;
|
|
5531
5562
|
} | {
|
|
5532
|
-
type:
|
|
5563
|
+
type: "ProgressiveFee";
|
|
5533
5564
|
owner: string;
|
|
5534
5565
|
maxFee: bigint;
|
|
5535
5566
|
halfAmount: bigint;
|
|
5567
|
+
beneficiary?: string | undefined;
|
|
5536
5568
|
} | {
|
|
5537
|
-
type:
|
|
5569
|
+
type: "RegressiveFee";
|
|
5538
5570
|
owner: string;
|
|
5539
5571
|
maxFee: bigint;
|
|
5540
5572
|
halfAmount: bigint;
|
|
5573
|
+
beneficiary?: string | undefined;
|
|
5541
5574
|
} | {
|
|
5542
|
-
type:
|
|
5575
|
+
type: "RoutingFee";
|
|
5543
5576
|
owner: string;
|
|
5544
5577
|
feeContracts: Record<string, any>;
|
|
5578
|
+
beneficiary?: string | undefined;
|
|
5545
5579
|
} | {
|
|
5546
|
-
type:
|
|
5580
|
+
type: "CrossCollateralRoutingFee";
|
|
5547
5581
|
owner: string;
|
|
5548
5582
|
feeContracts: Record<string, Record<string, any>>;
|
|
5583
|
+
beneficiary?: string | undefined;
|
|
5549
5584
|
} | undefined;
|
|
5550
5585
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
5551
5586
|
commitmentIsm?: {
|
|
@@ -5588,17 +5623,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5588
5623
|
gasPrice: string;
|
|
5589
5624
|
tokenExchangeRate: string;
|
|
5590
5625
|
tokenDecimals?: number | undefined;
|
|
5591
|
-
typicalCost?: {
|
|
5592
|
-
handleGasAmount: number;
|
|
5593
|
-
totalGasAmount: number;
|
|
5594
|
-
totalUsdCost: number;
|
|
5595
|
-
} | undefined;
|
|
5596
5626
|
}>> | undefined;
|
|
5597
5627
|
} | {
|
|
5598
5628
|
type: "protocolFee";
|
|
5599
5629
|
owner: string;
|
|
5600
|
-
protocolFee: string;
|
|
5601
5630
|
beneficiary: string;
|
|
5631
|
+
protocolFee: string;
|
|
5602
5632
|
maxProtocolFee: string;
|
|
5603
5633
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5604
5634
|
} | {
|
|
@@ -5675,7 +5705,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5675
5705
|
owner: string;
|
|
5676
5706
|
urls: string[];
|
|
5677
5707
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5678
|
-
} | {
|
|
5708
|
+
} | ({
|
|
5709
|
+
owner: string;
|
|
5710
|
+
paused: boolean;
|
|
5711
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5712
|
+
} & {
|
|
5713
|
+
type: "pausableIsm";
|
|
5714
|
+
} & {
|
|
5715
|
+
address: string;
|
|
5716
|
+
}) | {
|
|
5679
5717
|
type: "interchainAccountRouting";
|
|
5680
5718
|
owner: string;
|
|
5681
5719
|
isms: Record<string, string>;
|
|
@@ -5709,17 +5747,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5709
5747
|
gasPrice: string;
|
|
5710
5748
|
tokenExchangeRate: string;
|
|
5711
5749
|
tokenDecimals?: number | undefined;
|
|
5712
|
-
typicalCost?: {
|
|
5713
|
-
handleGasAmount: number;
|
|
5714
|
-
totalGasAmount: number;
|
|
5715
|
-
totalUsdCost: number;
|
|
5716
|
-
} | undefined;
|
|
5717
5750
|
}>> | undefined;
|
|
5718
5751
|
} | {
|
|
5719
5752
|
type: "protocolFee";
|
|
5720
5753
|
owner: string;
|
|
5721
|
-
protocolFee: string;
|
|
5722
5754
|
beneficiary: string;
|
|
5755
|
+
protocolFee: string;
|
|
5723
5756
|
maxProtocolFee: string;
|
|
5724
5757
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5725
5758
|
} | {
|
|
@@ -5795,17 +5828,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5795
5828
|
gasPrice: string;
|
|
5796
5829
|
tokenExchangeRate: string;
|
|
5797
5830
|
tokenDecimals?: number | undefined;
|
|
5798
|
-
typicalCost?: {
|
|
5799
|
-
handleGasAmount: number;
|
|
5800
|
-
totalGasAmount: number;
|
|
5801
|
-
totalUsdCost: number;
|
|
5802
|
-
} | undefined;
|
|
5803
5831
|
}>> | undefined;
|
|
5804
5832
|
} | {
|
|
5805
5833
|
type: "protocolFee";
|
|
5806
5834
|
owner: string;
|
|
5807
|
-
protocolFee: string;
|
|
5808
5835
|
beneficiary: string;
|
|
5836
|
+
protocolFee: string;
|
|
5809
5837
|
maxProtocolFee: string;
|
|
5810
5838
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5811
5839
|
} | {
|
|
@@ -5882,7 +5910,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5882
5910
|
owner: string;
|
|
5883
5911
|
urls: string[];
|
|
5884
5912
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5885
|
-
} | {
|
|
5913
|
+
} | ({
|
|
5914
|
+
owner: string;
|
|
5915
|
+
paused: boolean;
|
|
5916
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5917
|
+
} & {
|
|
5918
|
+
type: "pausableIsm";
|
|
5919
|
+
} & {
|
|
5920
|
+
address: string;
|
|
5921
|
+
}) | {
|
|
5886
5922
|
type: "interchainAccountRouting";
|
|
5887
5923
|
owner: string;
|
|
5888
5924
|
isms: Record<string, string>;
|
|
@@ -5895,36 +5931,42 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5895
5931
|
address: string;
|
|
5896
5932
|
}> | undefined;
|
|
5897
5933
|
tokenFee?: {
|
|
5898
|
-
type:
|
|
5934
|
+
type: "LinearFee";
|
|
5899
5935
|
owner: string;
|
|
5936
|
+
beneficiary?: string | undefined;
|
|
5900
5937
|
maxFee?: string | number | bigint | undefined;
|
|
5901
5938
|
halfAmount?: string | number | bigint | undefined;
|
|
5902
5939
|
bps?: string | number | undefined;
|
|
5903
5940
|
} | {
|
|
5904
|
-
type:
|
|
5941
|
+
type: "OffchainQuotedLinearFee";
|
|
5905
5942
|
owner: string;
|
|
5943
|
+
beneficiary?: string | undefined;
|
|
5906
5944
|
maxFee?: string | number | bigint | undefined;
|
|
5907
5945
|
halfAmount?: string | number | bigint | undefined;
|
|
5908
5946
|
bps?: string | number | undefined;
|
|
5909
5947
|
quoteSigners?: string[] | undefined;
|
|
5910
5948
|
} | {
|
|
5911
|
-
type:
|
|
5949
|
+
type: "ProgressiveFee";
|
|
5912
5950
|
owner: string;
|
|
5913
5951
|
maxFee: string | number | bigint;
|
|
5914
5952
|
halfAmount: string | number | bigint;
|
|
5953
|
+
beneficiary?: string | undefined;
|
|
5915
5954
|
} | {
|
|
5916
|
-
type:
|
|
5955
|
+
type: "RegressiveFee";
|
|
5917
5956
|
owner: string;
|
|
5918
5957
|
maxFee: string | number | bigint;
|
|
5919
5958
|
halfAmount: string | number | bigint;
|
|
5959
|
+
beneficiary?: string | undefined;
|
|
5920
5960
|
} | {
|
|
5921
|
-
type:
|
|
5961
|
+
type: "RoutingFee";
|
|
5922
5962
|
owner: string;
|
|
5923
5963
|
feeContracts: Record<string, any>;
|
|
5964
|
+
beneficiary?: string | undefined;
|
|
5924
5965
|
} | {
|
|
5925
|
-
type:
|
|
5966
|
+
type: "CrossCollateralRoutingFee";
|
|
5926
5967
|
owner: string;
|
|
5927
5968
|
feeContracts: Record<string, Record<string, any>>;
|
|
5969
|
+
beneficiary?: string | undefined;
|
|
5928
5970
|
} | undefined;
|
|
5929
5971
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
5930
5972
|
commitmentIsm?: {
|
|
@@ -5967,17 +6009,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5967
6009
|
gasPrice: string;
|
|
5968
6010
|
tokenExchangeRate: string;
|
|
5969
6011
|
tokenDecimals?: number | undefined;
|
|
5970
|
-
typicalCost?: {
|
|
5971
|
-
handleGasAmount: number;
|
|
5972
|
-
totalGasAmount: number;
|
|
5973
|
-
totalUsdCost: number;
|
|
5974
|
-
} | undefined;
|
|
5975
6012
|
}>> | undefined;
|
|
5976
6013
|
} | {
|
|
5977
6014
|
type: "protocolFee";
|
|
5978
6015
|
owner: string;
|
|
5979
|
-
protocolFee: string;
|
|
5980
6016
|
beneficiary: string;
|
|
6017
|
+
protocolFee: string;
|
|
5981
6018
|
maxProtocolFee: string;
|
|
5982
6019
|
ownerOverrides?: Record<string, string> | undefined;
|
|
5983
6020
|
} | {
|
|
@@ -6054,7 +6091,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6054
6091
|
owner: string;
|
|
6055
6092
|
urls: string[];
|
|
6056
6093
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6057
|
-
} |
|
|
6094
|
+
} | ({
|
|
6095
|
+
owner: string;
|
|
6096
|
+
paused: boolean;
|
|
6097
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
6098
|
+
} & {
|
|
6099
|
+
type: "pausableIsm";
|
|
6100
|
+
} & {
|
|
6101
|
+
address: string;
|
|
6102
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
6058
6103
|
type: z.ZodLiteral<"unknownIsm">;
|
|
6059
6104
|
}, z.ZodTypeAny, "passthrough">;
|
|
6060
6105
|
requiredHook: string | {
|
|
@@ -6083,17 +6128,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6083
6128
|
gasPrice: string;
|
|
6084
6129
|
tokenExchangeRate: string;
|
|
6085
6130
|
tokenDecimals?: number | undefined;
|
|
6086
|
-
typicalCost?: {
|
|
6087
|
-
handleGasAmount: number;
|
|
6088
|
-
totalGasAmount: number;
|
|
6089
|
-
totalUsdCost: number;
|
|
6090
|
-
} | undefined;
|
|
6091
6131
|
}>> | undefined;
|
|
6092
6132
|
} | {
|
|
6093
6133
|
type: "protocolFee";
|
|
6094
6134
|
owner: string;
|
|
6095
|
-
protocolFee: string;
|
|
6096
6135
|
beneficiary: string;
|
|
6136
|
+
protocolFee: string;
|
|
6097
6137
|
maxProtocolFee: string;
|
|
6098
6138
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6099
6139
|
} | {
|
|
@@ -6169,17 +6209,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6169
6209
|
gasPrice: string;
|
|
6170
6210
|
tokenExchangeRate: string;
|
|
6171
6211
|
tokenDecimals?: number | undefined;
|
|
6172
|
-
typicalCost?: {
|
|
6173
|
-
handleGasAmount: number;
|
|
6174
|
-
totalGasAmount: number;
|
|
6175
|
-
totalUsdCost: number;
|
|
6176
|
-
} | undefined;
|
|
6177
6212
|
}>> | undefined;
|
|
6178
6213
|
} | {
|
|
6179
6214
|
type: "protocolFee";
|
|
6180
6215
|
owner: string;
|
|
6181
|
-
protocolFee: string;
|
|
6182
6216
|
beneficiary: string;
|
|
6217
|
+
protocolFee: string;
|
|
6183
6218
|
maxProtocolFee: string;
|
|
6184
6219
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6185
6220
|
} | {
|
|
@@ -6256,7 +6291,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6256
6291
|
owner: string;
|
|
6257
6292
|
urls: string[];
|
|
6258
6293
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6259
|
-
} |
|
|
6294
|
+
} | ({
|
|
6295
|
+
owner: string;
|
|
6296
|
+
paused: boolean;
|
|
6297
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
6298
|
+
} & {
|
|
6299
|
+
type: "pausableIsm";
|
|
6300
|
+
} & {
|
|
6301
|
+
address: string;
|
|
6302
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
6260
6303
|
type: z.ZodLiteral<"unknownIsm">;
|
|
6261
6304
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
6262
6305
|
foreignDeployment?: string | undefined;
|
|
@@ -6265,35 +6308,41 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6265
6308
|
}> | undefined;
|
|
6266
6309
|
tokenFee?: {
|
|
6267
6310
|
bps: number;
|
|
6268
|
-
type:
|
|
6311
|
+
type: "LinearFee";
|
|
6269
6312
|
owner: string;
|
|
6313
|
+
beneficiary?: string | undefined;
|
|
6270
6314
|
maxFee?: bigint | undefined;
|
|
6271
6315
|
halfAmount?: bigint | undefined;
|
|
6272
6316
|
} | {
|
|
6273
6317
|
bps: number;
|
|
6274
|
-
type:
|
|
6318
|
+
type: "OffchainQuotedLinearFee";
|
|
6275
6319
|
owner: string;
|
|
6320
|
+
beneficiary?: string | undefined;
|
|
6276
6321
|
maxFee?: bigint | undefined;
|
|
6277
6322
|
halfAmount?: bigint | undefined;
|
|
6278
6323
|
quoteSigners?: string[] | undefined;
|
|
6279
6324
|
} | {
|
|
6280
|
-
type:
|
|
6325
|
+
type: "ProgressiveFee";
|
|
6281
6326
|
owner: string;
|
|
6282
6327
|
maxFee: bigint;
|
|
6283
6328
|
halfAmount: bigint;
|
|
6329
|
+
beneficiary?: string | undefined;
|
|
6284
6330
|
} | {
|
|
6285
|
-
type:
|
|
6331
|
+
type: "RegressiveFee";
|
|
6286
6332
|
owner: string;
|
|
6287
6333
|
maxFee: bigint;
|
|
6288
6334
|
halfAmount: bigint;
|
|
6335
|
+
beneficiary?: string | undefined;
|
|
6289
6336
|
} | {
|
|
6290
|
-
type:
|
|
6337
|
+
type: "RoutingFee";
|
|
6291
6338
|
owner: string;
|
|
6292
6339
|
feeContracts: Record<string, any>;
|
|
6340
|
+
beneficiary?: string | undefined;
|
|
6293
6341
|
} | {
|
|
6294
|
-
type:
|
|
6342
|
+
type: "CrossCollateralRoutingFee";
|
|
6295
6343
|
owner: string;
|
|
6296
6344
|
feeContracts: Record<string, Record<string, any>>;
|
|
6345
|
+
beneficiary?: string | undefined;
|
|
6297
6346
|
} | undefined;
|
|
6298
6347
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
6299
6348
|
commitmentIsm?: {
|
|
@@ -6336,17 +6385,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6336
6385
|
gasPrice: string;
|
|
6337
6386
|
tokenExchangeRate: string;
|
|
6338
6387
|
tokenDecimals?: number | undefined;
|
|
6339
|
-
typicalCost?: {
|
|
6340
|
-
handleGasAmount: number;
|
|
6341
|
-
totalGasAmount: number;
|
|
6342
|
-
totalUsdCost: number;
|
|
6343
|
-
} | undefined;
|
|
6344
6388
|
}>> | undefined;
|
|
6345
6389
|
} | {
|
|
6346
6390
|
type: "protocolFee";
|
|
6347
6391
|
owner: string;
|
|
6348
|
-
protocolFee: string;
|
|
6349
6392
|
beneficiary: string;
|
|
6393
|
+
protocolFee: string;
|
|
6350
6394
|
maxProtocolFee: string;
|
|
6351
6395
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6352
6396
|
} | {
|
|
@@ -6423,7 +6467,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6423
6467
|
owner: string;
|
|
6424
6468
|
urls: string[];
|
|
6425
6469
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6426
|
-
} | {
|
|
6470
|
+
} | ({
|
|
6471
|
+
owner: string;
|
|
6472
|
+
paused: boolean;
|
|
6473
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
6474
|
+
} & {
|
|
6475
|
+
type: "pausableIsm";
|
|
6476
|
+
} & {
|
|
6477
|
+
address: string;
|
|
6478
|
+
}) | {
|
|
6427
6479
|
type: "interchainAccountRouting";
|
|
6428
6480
|
owner: string;
|
|
6429
6481
|
isms: Record<string, string>;
|
|
@@ -6457,17 +6509,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6457
6509
|
gasPrice: string;
|
|
6458
6510
|
tokenExchangeRate: string;
|
|
6459
6511
|
tokenDecimals?: number | undefined;
|
|
6460
|
-
typicalCost?: {
|
|
6461
|
-
handleGasAmount: number;
|
|
6462
|
-
totalGasAmount: number;
|
|
6463
|
-
totalUsdCost: number;
|
|
6464
|
-
} | undefined;
|
|
6465
6512
|
}>> | undefined;
|
|
6466
6513
|
} | {
|
|
6467
6514
|
type: "protocolFee";
|
|
6468
6515
|
owner: string;
|
|
6469
|
-
protocolFee: string;
|
|
6470
6516
|
beneficiary: string;
|
|
6517
|
+
protocolFee: string;
|
|
6471
6518
|
maxProtocolFee: string;
|
|
6472
6519
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6473
6520
|
} | {
|
|
@@ -6543,17 +6590,12 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6543
6590
|
gasPrice: string;
|
|
6544
6591
|
tokenExchangeRate: string;
|
|
6545
6592
|
tokenDecimals?: number | undefined;
|
|
6546
|
-
typicalCost?: {
|
|
6547
|
-
handleGasAmount: number;
|
|
6548
|
-
totalGasAmount: number;
|
|
6549
|
-
totalUsdCost: number;
|
|
6550
|
-
} | undefined;
|
|
6551
6593
|
}>> | undefined;
|
|
6552
6594
|
} | {
|
|
6553
6595
|
type: "protocolFee";
|
|
6554
6596
|
owner: string;
|
|
6555
|
-
protocolFee: string;
|
|
6556
6597
|
beneficiary: string;
|
|
6598
|
+
protocolFee: string;
|
|
6557
6599
|
maxProtocolFee: string;
|
|
6558
6600
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6559
6601
|
} | {
|
|
@@ -6630,7 +6672,15 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6630
6672
|
owner: string;
|
|
6631
6673
|
urls: string[];
|
|
6632
6674
|
ownerOverrides?: Record<string, string> | undefined;
|
|
6633
|
-
} | {
|
|
6675
|
+
} | ({
|
|
6676
|
+
owner: string;
|
|
6677
|
+
paused: boolean;
|
|
6678
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
6679
|
+
} & {
|
|
6680
|
+
type: "pausableIsm";
|
|
6681
|
+
} & {
|
|
6682
|
+
address: string;
|
|
6683
|
+
}) | {
|
|
6634
6684
|
type: "interchainAccountRouting";
|
|
6635
6685
|
owner: string;
|
|
6636
6686
|
isms: Record<string, string>;
|
|
@@ -6643,36 +6693,42 @@ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
6643
6693
|
address: string;
|
|
6644
6694
|
}> | undefined;
|
|
6645
6695
|
tokenFee?: {
|
|
6646
|
-
type:
|
|
6696
|
+
type: "LinearFee";
|
|
6647
6697
|
owner: string;
|
|
6698
|
+
beneficiary?: string | undefined;
|
|
6648
6699
|
maxFee?: string | number | bigint | undefined;
|
|
6649
6700
|
halfAmount?: string | number | bigint | undefined;
|
|
6650
6701
|
bps?: string | number | undefined;
|
|
6651
6702
|
} | {
|
|
6652
|
-
type:
|
|
6703
|
+
type: "OffchainQuotedLinearFee";
|
|
6653
6704
|
owner: string;
|
|
6705
|
+
beneficiary?: string | undefined;
|
|
6654
6706
|
maxFee?: string | number | bigint | undefined;
|
|
6655
6707
|
halfAmount?: string | number | bigint | undefined;
|
|
6656
6708
|
bps?: string | number | undefined;
|
|
6657
6709
|
quoteSigners?: string[] | undefined;
|
|
6658
6710
|
} | {
|
|
6659
|
-
type:
|
|
6711
|
+
type: "ProgressiveFee";
|
|
6660
6712
|
owner: string;
|
|
6661
6713
|
maxFee: string | number | bigint;
|
|
6662
6714
|
halfAmount: string | number | bigint;
|
|
6715
|
+
beneficiary?: string | undefined;
|
|
6663
6716
|
} | {
|
|
6664
|
-
type:
|
|
6717
|
+
type: "RegressiveFee";
|
|
6665
6718
|
owner: string;
|
|
6666
6719
|
maxFee: string | number | bigint;
|
|
6667
6720
|
halfAmount: string | number | bigint;
|
|
6721
|
+
beneficiary?: string | undefined;
|
|
6668
6722
|
} | {
|
|
6669
|
-
type:
|
|
6723
|
+
type: "RoutingFee";
|
|
6670
6724
|
owner: string;
|
|
6671
6725
|
feeContracts: Record<string, any>;
|
|
6726
|
+
beneficiary?: string | undefined;
|
|
6672
6727
|
} | {
|
|
6673
|
-
type:
|
|
6728
|
+
type: "CrossCollateralRoutingFee";
|
|
6674
6729
|
owner: string;
|
|
6675
6730
|
feeContracts: Record<string, Record<string, any>>;
|
|
6731
|
+
beneficiary?: string | undefined;
|
|
6676
6732
|
} | undefined;
|
|
6677
6733
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
6678
6734
|
commitmentIsm?: {
|