@hyperlane-xyz/sdk 30.0.0 → 30.1.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/core/EvmCoreModule.d.ts.map +1 -1
- package/dist/core/EvmCoreModule.hardhat-test.js +22 -3
- package/dist/core/EvmCoreModule.hardhat-test.js.map +1 -1
- package/dist/core/EvmCoreModule.js +11 -0
- package/dist/core/EvmCoreModule.js.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.d.ts +2 -1
- package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
- package/dist/core/HyperlaneCoreDeployer.js +13 -4
- package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
- package/dist/core/MultiProtocolCore.test.js +1 -0
- package/dist/core/MultiProtocolCore.test.js.map +1 -1
- package/dist/core/TestCoreApp.d.ts +1 -0
- package/dist/core/TestCoreApp.d.ts.map +1 -1
- package/dist/core/contracts.d.ts +3 -1
- package/dist/core/contracts.d.ts.map +1 -1
- package/dist/core/contracts.js +4 -1
- package/dist/core/contracts.js.map +1 -1
- package/dist/core/types.d.ts +344 -16
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +4 -0
- package/dist/core/types.js.map +1 -1
- package/dist/fee/EvmTokenFeeDeployer.d.ts +2 -0
- package/dist/fee/EvmTokenFeeDeployer.d.ts.map +1 -1
- package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js +80 -9
- package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js.map +1 -1
- package/dist/fee/EvmTokenFeeDeployer.js +68 -25
- package/dist/fee/EvmTokenFeeDeployer.js.map +1 -1
- package/dist/fee/EvmTokenFeeModule.d.ts +5 -3
- package/dist/fee/EvmTokenFeeModule.d.ts.map +1 -1
- package/dist/fee/EvmTokenFeeModule.hardhat-test.js +384 -20
- package/dist/fee/EvmTokenFeeModule.hardhat-test.js.map +1 -1
- package/dist/fee/EvmTokenFeeModule.js +190 -68
- package/dist/fee/EvmTokenFeeModule.js.map +1 -1
- package/dist/fee/EvmTokenFeeReader.d.ts +15 -2
- package/dist/fee/EvmTokenFeeReader.d.ts.map +1 -1
- package/dist/fee/EvmTokenFeeReader.hardhat-test.d.ts.map +1 -1
- package/dist/fee/EvmTokenFeeReader.hardhat-test.js +191 -4
- package/dist/fee/EvmTokenFeeReader.hardhat-test.js.map +1 -1
- package/dist/fee/EvmTokenFeeReader.js +104 -13
- package/dist/fee/EvmTokenFeeReader.js.map +1 -1
- package/dist/fee/contracts.d.ts +3 -1
- package/dist/fee/contracts.d.ts.map +1 -1
- package/dist/fee/contracts.js +3 -1
- package/dist/fee/contracts.js.map +1 -1
- package/dist/fee/crossCollateralUtils.d.ts +8 -0
- package/dist/fee/crossCollateralUtils.d.ts.map +1 -0
- package/dist/fee/crossCollateralUtils.js +49 -0
- package/dist/fee/crossCollateralUtils.js.map +1 -0
- package/dist/fee/types.d.ts +296 -32
- package/dist/fee/types.d.ts.map +1 -1
- package/dist/fee/types.js +94 -11
- package/dist/fee/types.js.map +1 -1
- package/dist/fee/types.test.js +39 -1
- package/dist/fee/types.test.js.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
- package/dist/gas/HyperlaneIgpDeployer.js +6 -0
- package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
- package/dist/hook/EvmHookModule.d.ts +5 -1
- package/dist/hook/EvmHookModule.d.ts.map +1 -1
- package/dist/hook/EvmHookModule.hardhat-test.js +69 -1
- package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
- package/dist/hook/EvmHookModule.js +65 -2
- package/dist/hook/EvmHookModule.js.map +1 -1
- package/dist/hook/EvmHookReader.d.ts.map +1 -1
- package/dist/hook/EvmHookReader.js +7 -1
- package/dist/hook/EvmHookReader.js.map +1 -1
- package/dist/hook/HyperlaneHookDeployer.d.ts +5 -0
- package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
- package/dist/hook/types.d.ts +60 -0
- package/dist/hook/types.d.ts.map +1 -1
- package/dist/hook/types.js +2 -0
- package/dist/hook/types.js.map +1 -1
- package/dist/ica/types.d.ts +236 -12
- package/dist/ica/types.d.ts.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/metadata/warpRouteConfig.d.ts +10 -8
- package/dist/metadata/warpRouteConfig.d.ts.map +1 -1
- package/dist/middleware/account/InterchainAccount.d.ts +8 -8
- package/dist/quoted-calls/builder.d.ts +52 -0
- package/dist/quoted-calls/builder.d.ts.map +1 -0
- package/dist/quoted-calls/builder.js +161 -0
- package/dist/quoted-calls/builder.js.map +1 -0
- package/dist/quoted-calls/builder.test.d.ts +2 -0
- package/dist/quoted-calls/builder.test.d.ts.map +1 -0
- package/dist/quoted-calls/builder.test.js +193 -0
- package/dist/quoted-calls/builder.test.js.map +1 -0
- package/dist/quoted-calls/codec.d.ts +94 -0
- package/dist/quoted-calls/codec.d.ts.map +1 -0
- package/dist/quoted-calls/codec.js +223 -0
- package/dist/quoted-calls/codec.js.map +1 -0
- package/dist/quoted-calls/codec.test.d.ts +2 -0
- package/dist/quoted-calls/codec.test.d.ts.map +1 -0
- package/dist/quoted-calls/codec.test.js +307 -0
- package/dist/quoted-calls/codec.test.js.map +1 -0
- package/dist/quoted-calls/types.d.ts +68 -0
- package/dist/quoted-calls/types.d.ts.map +1 -0
- package/dist/quoted-calls/types.js +22 -0
- package/dist/quoted-calls/types.js.map +1 -0
- package/dist/router/types.d.ts +246 -12
- package/dist/router/types.d.ts.map +1 -1
- package/dist/token/EvmWarpModule.d.ts +1 -0
- package/dist/token/EvmWarpModule.d.ts.map +1 -1
- package/dist/token/EvmWarpModule.hardhat-test.js +146 -2
- package/dist/token/EvmWarpModule.hardhat-test.js.map +1 -1
- package/dist/token/EvmWarpModule.js +36 -5
- package/dist/token/EvmWarpModule.js.map +1 -1
- package/dist/token/EvmWarpRouteReader.d.ts +3 -1
- package/dist/token/EvmWarpRouteReader.d.ts.map +1 -1
- package/dist/token/EvmWarpRouteReader.hardhat-test.js +129 -5
- package/dist/token/EvmWarpRouteReader.hardhat-test.js.map +1 -1
- package/dist/token/EvmWarpRouteReader.js +86 -24
- package/dist/token/EvmWarpRouteReader.js.map +1 -1
- package/dist/token/IToken.d.ts +2 -2
- package/dist/token/Token.d.ts.map +1 -1
- package/dist/token/Token.js +12 -1
- package/dist/token/Token.js.map +1 -1
- package/dist/token/Token.test.js +1 -0
- package/dist/token/Token.test.js.map +1 -1
- package/dist/token/TokenStandard.d.ts +2 -1
- package/dist/token/TokenStandard.d.ts.map +1 -1
- package/dist/token/TokenStandard.js +8 -0
- package/dist/token/TokenStandard.js.map +1 -1
- package/dist/token/adapters/EvmCrossCollateralAdapter.d.ts +1 -1
- package/dist/token/adapters/EvmCrossCollateralAdapter.d.ts.map +1 -1
- package/dist/token/adapters/EvmCrossCollateralAdapter.js +1 -1
- package/dist/token/adapters/EvmCrossCollateralAdapter.js.map +1 -1
- package/dist/token/adapters/EvmTokenAdapter.d.ts +2 -2
- package/dist/token/adapters/EvmTokenAdapter.d.ts.map +1 -1
- package/dist/token/adapters/EvmTokenAdapter.js +11 -5
- package/dist/token/adapters/EvmTokenAdapter.js.map +1 -1
- package/dist/token/adapters/ITokenAdapter.d.ts +20 -0
- package/dist/token/adapters/ITokenAdapter.d.ts.map +1 -1
- package/dist/token/adapters/ITokenAdapter.js +6 -1
- package/dist/token/adapters/ITokenAdapter.js.map +1 -1
- package/dist/token/adapters/SealevelCrossCollateralAdapter.d.ts +36 -0
- package/dist/token/adapters/SealevelCrossCollateralAdapter.d.ts.map +1 -0
- package/dist/token/adapters/SealevelCrossCollateralAdapter.js +364 -0
- package/dist/token/adapters/SealevelCrossCollateralAdapter.js.map +1 -0
- package/dist/token/adapters/SealevelTokenAdapter.d.ts +9 -0
- package/dist/token/adapters/SealevelTokenAdapter.d.ts.map +1 -1
- package/dist/token/adapters/SealevelTokenAdapter.js +1 -1
- package/dist/token/adapters/SealevelTokenAdapter.js.map +1 -1
- package/dist/token/adapters/serialization.d.ts +27 -0
- package/dist/token/adapters/serialization.d.ts.map +1 -1
- package/dist/token/adapters/serialization.js +93 -0
- package/dist/token/adapters/serialization.js.map +1 -1
- package/dist/token/config.d.ts +2 -0
- package/dist/token/config.d.ts.map +1 -1
- package/dist/token/config.js +2 -0
- package/dist/token/config.js.map +1 -1
- package/dist/token/configUtils.d.ts +0 -6
- package/dist/token/configUtils.d.ts.map +1 -1
- package/dist/token/configUtils.js +108 -15
- package/dist/token/configUtils.js.map +1 -1
- package/dist/token/configUtils.test.js +248 -4
- package/dist/token/configUtils.test.js.map +1 -1
- package/dist/token/contracts.d.ts +3 -2
- package/dist/token/contracts.d.ts.map +1 -1
- package/dist/token/contracts.js +3 -2
- package/dist/token/contracts.js.map +1 -1
- package/dist/token/deploy.d.ts +4 -5
- package/dist/token/deploy.d.ts.map +1 -1
- package/dist/token/deploy.hardhat-test.js +82 -0
- package/dist/token/deploy.hardhat-test.js.map +1 -1
- package/dist/token/deploy.js +60 -17
- package/dist/token/deploy.js.map +1 -1
- package/dist/token/tokenMetadataUtils.d.ts.map +1 -1
- package/dist/token/tokenMetadataUtils.js +17 -2
- package/dist/token/tokenMetadataUtils.js.map +1 -1
- package/dist/token/types.d.ts +2277 -567
- package/dist/token/types.d.ts.map +1 -1
- package/dist/token/types.js +55 -5
- package/dist/token/types.js.map +1 -1
- package/dist/token/types.test.js +132 -0
- package/dist/token/types.test.js.map +1 -1
- package/dist/warp/WarpCore.d.ts +59 -1
- package/dist/warp/WarpCore.d.ts.map +1 -1
- package/dist/warp/WarpCore.js +206 -6
- package/dist/warp/WarpCore.js.map +1 -1
- package/dist/warp/WarpCore.test.js +161 -9
- package/dist/warp/WarpCore.test.js.map +1 -1
- package/dist/warp/types.d.ts +24 -24
- package/package.json +11 -12
package/dist/core/types.d.ts
CHANGED
|
@@ -268,6 +268,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
268
268
|
totalUsdCost: number;
|
|
269
269
|
} | undefined;
|
|
270
270
|
}>>;
|
|
271
|
+
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
272
|
+
contractVersion: z.ZodOptional<z.ZodString>;
|
|
271
273
|
}, "strip", z.ZodTypeAny, {
|
|
272
274
|
type: "interchainGasPaymaster";
|
|
273
275
|
owner: string;
|
|
@@ -285,6 +287,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
285
287
|
} | undefined;
|
|
286
288
|
}>;
|
|
287
289
|
ownerOverrides?: Record<string, string> | undefined;
|
|
290
|
+
quoteSigners?: string[] | undefined;
|
|
291
|
+
contractVersion?: string | undefined;
|
|
288
292
|
}, {
|
|
289
293
|
type: "interchainGasPaymaster";
|
|
290
294
|
owner: string;
|
|
@@ -302,6 +306,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
302
306
|
} | undefined;
|
|
303
307
|
}>;
|
|
304
308
|
ownerOverrides?: Record<string, string> | undefined;
|
|
309
|
+
quoteSigners?: string[] | undefined;
|
|
310
|
+
contractVersion?: string | undefined;
|
|
305
311
|
}>, 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.ZodObject<{
|
|
306
312
|
type: z.ZodLiteral<"arbL2ToL1Hook">;
|
|
307
313
|
arbSys: z.ZodString;
|
|
@@ -452,6 +458,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
452
458
|
totalUsdCost: number;
|
|
453
459
|
} | undefined;
|
|
454
460
|
}>>;
|
|
461
|
+
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
462
|
+
contractVersion: z.ZodOptional<z.ZodString>;
|
|
455
463
|
}, "strip", z.ZodTypeAny, {
|
|
456
464
|
type: "interchainGasPaymaster";
|
|
457
465
|
owner: string;
|
|
@@ -469,6 +477,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
469
477
|
} | undefined;
|
|
470
478
|
}>;
|
|
471
479
|
ownerOverrides?: Record<string, string> | undefined;
|
|
480
|
+
quoteSigners?: string[] | undefined;
|
|
481
|
+
contractVersion?: string | undefined;
|
|
472
482
|
}, {
|
|
473
483
|
type: "interchainGasPaymaster";
|
|
474
484
|
owner: string;
|
|
@@ -486,6 +496,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
486
496
|
} | undefined;
|
|
487
497
|
}>;
|
|
488
498
|
ownerOverrides?: Record<string, string> | undefined;
|
|
499
|
+
quoteSigners?: string[] | undefined;
|
|
500
|
+
contractVersion?: string | undefined;
|
|
489
501
|
}>, 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.ZodObject<{
|
|
490
502
|
type: z.ZodLiteral<"arbL2ToL1Hook">;
|
|
491
503
|
arbSys: z.ZodString;
|
|
@@ -655,6 +667,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
655
667
|
totalUsdCost: number;
|
|
656
668
|
} | undefined;
|
|
657
669
|
}>>;
|
|
670
|
+
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
671
|
+
contractVersion: z.ZodOptional<z.ZodString>;
|
|
658
672
|
}, "strip", z.ZodTypeAny, {
|
|
659
673
|
type: "interchainGasPaymaster";
|
|
660
674
|
owner: string;
|
|
@@ -672,6 +686,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
672
686
|
} | undefined;
|
|
673
687
|
}>;
|
|
674
688
|
ownerOverrides?: Record<string, string> | undefined;
|
|
689
|
+
quoteSigners?: string[] | undefined;
|
|
690
|
+
contractVersion?: string | undefined;
|
|
675
691
|
}, {
|
|
676
692
|
type: "interchainGasPaymaster";
|
|
677
693
|
owner: string;
|
|
@@ -689,6 +705,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
689
705
|
} | undefined;
|
|
690
706
|
}>;
|
|
691
707
|
ownerOverrides?: Record<string, string> | undefined;
|
|
708
|
+
quoteSigners?: string[] | undefined;
|
|
709
|
+
contractVersion?: string | undefined;
|
|
692
710
|
}>, 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.ZodObject<{
|
|
693
711
|
type: z.ZodLiteral<"arbL2ToL1Hook">;
|
|
694
712
|
arbSys: z.ZodString;
|
|
@@ -944,6 +962,57 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
944
962
|
maxFee?: string | number | bigint | undefined;
|
|
945
963
|
halfAmount?: string | number | bigint | undefined;
|
|
946
964
|
bps?: string | number | undefined;
|
|
965
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
966
|
+
owner: z.ZodString;
|
|
967
|
+
} & {
|
|
968
|
+
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
969
|
+
} & {
|
|
970
|
+
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
971
|
+
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
972
|
+
type: z.ZodLiteral<import("../index.js").TokenFeeType.OffchainQuotedLinearFee>;
|
|
973
|
+
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
974
|
+
}, "strip", z.ZodTypeAny, {
|
|
975
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
976
|
+
owner: string;
|
|
977
|
+
maxFee?: bigint | undefined;
|
|
978
|
+
halfAmount?: bigint | undefined;
|
|
979
|
+
bps?: number | undefined;
|
|
980
|
+
quoteSigners?: string[] | undefined;
|
|
981
|
+
}, {
|
|
982
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
983
|
+
owner: string;
|
|
984
|
+
maxFee?: string | number | bigint | undefined;
|
|
985
|
+
halfAmount?: string | number | bigint | undefined;
|
|
986
|
+
bps?: string | number | undefined;
|
|
987
|
+
quoteSigners?: string[] | undefined;
|
|
988
|
+
}>, {
|
|
989
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
990
|
+
owner: string;
|
|
991
|
+
maxFee?: bigint | undefined;
|
|
992
|
+
halfAmount?: bigint | undefined;
|
|
993
|
+
bps?: number | undefined;
|
|
994
|
+
quoteSigners?: string[] | undefined;
|
|
995
|
+
}, {
|
|
996
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
997
|
+
owner: string;
|
|
998
|
+
maxFee?: string | number | bigint | undefined;
|
|
999
|
+
halfAmount?: string | number | bigint | undefined;
|
|
1000
|
+
bps?: string | number | undefined;
|
|
1001
|
+
quoteSigners?: string[] | undefined;
|
|
1002
|
+
}>, {
|
|
1003
|
+
bps: number;
|
|
1004
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
1005
|
+
owner: string;
|
|
1006
|
+
maxFee?: bigint | undefined;
|
|
1007
|
+
halfAmount?: bigint | undefined;
|
|
1008
|
+
quoteSigners?: string[] | undefined;
|
|
1009
|
+
}, {
|
|
1010
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
1011
|
+
owner: string;
|
|
1012
|
+
maxFee?: string | number | bigint | undefined;
|
|
1013
|
+
halfAmount?: string | number | bigint | undefined;
|
|
1014
|
+
bps?: string | number | undefined;
|
|
1015
|
+
quoteSigners?: string[] | undefined;
|
|
947
1016
|
}>, z.ZodEffects<z.ZodObject<{
|
|
948
1017
|
owner: z.ZodString;
|
|
949
1018
|
} & {
|
|
@@ -996,19 +1065,48 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
996
1065
|
owner: string;
|
|
997
1066
|
maxFee: string | number | bigint;
|
|
998
1067
|
halfAmount: string | number | bigint;
|
|
999
|
-
}>, z.ZodObject<{
|
|
1068
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
1000
1069
|
owner: z.ZodString;
|
|
1001
1070
|
} & {
|
|
1002
1071
|
type: z.ZodLiteral<import("../index.js").TokenFeeType.RoutingFee>;
|
|
1003
|
-
feeContracts: z.
|
|
1072
|
+
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
1004
1073
|
}, "strip", z.ZodTypeAny, {
|
|
1005
1074
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
1006
1075
|
owner: string;
|
|
1007
|
-
feeContracts
|
|
1076
|
+
feeContracts: Record<string, any>;
|
|
1008
1077
|
}, {
|
|
1009
1078
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
1010
1079
|
owner: string;
|
|
1011
|
-
feeContracts
|
|
1080
|
+
feeContracts: Record<string, any>;
|
|
1081
|
+
}>, {
|
|
1082
|
+
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
1083
|
+
owner: string;
|
|
1084
|
+
feeContracts: Record<string, any>;
|
|
1085
|
+
}, {
|
|
1086
|
+
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
1087
|
+
owner: string;
|
|
1088
|
+
feeContracts: Record<string, any>;
|
|
1089
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
1090
|
+
owner: z.ZodString;
|
|
1091
|
+
} & {
|
|
1092
|
+
type: z.ZodLiteral<import("../index.js").TokenFeeType.CrossCollateralRoutingFee>;
|
|
1093
|
+
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>>>;
|
|
1094
|
+
}, "strip", z.ZodTypeAny, {
|
|
1095
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
1096
|
+
owner: string;
|
|
1097
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
1098
|
+
}, {
|
|
1099
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
1100
|
+
owner: string;
|
|
1101
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
1102
|
+
}>, {
|
|
1103
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
1104
|
+
owner: string;
|
|
1105
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
1106
|
+
}, {
|
|
1107
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
1108
|
+
owner: string;
|
|
1109
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
1012
1110
|
}>]>>;
|
|
1013
1111
|
} & {
|
|
1014
1112
|
routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
|
|
@@ -1067,6 +1165,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1067
1165
|
} | undefined;
|
|
1068
1166
|
}>;
|
|
1069
1167
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1168
|
+
quoteSigners?: string[] | undefined;
|
|
1169
|
+
contractVersion?: string | undefined;
|
|
1070
1170
|
} | {
|
|
1071
1171
|
type: "protocolFee";
|
|
1072
1172
|
owner: string;
|
|
@@ -1151,6 +1251,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1151
1251
|
owner: string;
|
|
1152
1252
|
maxFee?: bigint | undefined;
|
|
1153
1253
|
halfAmount?: bigint | undefined;
|
|
1254
|
+
} | {
|
|
1255
|
+
bps: number;
|
|
1256
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
1257
|
+
owner: string;
|
|
1258
|
+
maxFee?: bigint | undefined;
|
|
1259
|
+
halfAmount?: bigint | undefined;
|
|
1260
|
+
quoteSigners?: string[] | undefined;
|
|
1154
1261
|
} | {
|
|
1155
1262
|
type: import("../index.js").TokenFeeType.ProgressiveFee;
|
|
1156
1263
|
owner: string;
|
|
@@ -1164,7 +1271,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1164
1271
|
} | {
|
|
1165
1272
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
1166
1273
|
owner: string;
|
|
1167
|
-
feeContracts
|
|
1274
|
+
feeContracts: Record<string, any>;
|
|
1275
|
+
} | {
|
|
1276
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
1277
|
+
owner: string;
|
|
1278
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
1168
1279
|
} | undefined;
|
|
1169
1280
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
1170
1281
|
commitmentIsm?: {
|
|
@@ -1205,6 +1316,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1205
1316
|
} | undefined;
|
|
1206
1317
|
}>;
|
|
1207
1318
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1319
|
+
quoteSigners?: string[] | undefined;
|
|
1320
|
+
contractVersion?: string | undefined;
|
|
1208
1321
|
} | {
|
|
1209
1322
|
type: "protocolFee";
|
|
1210
1323
|
owner: string;
|
|
@@ -1294,6 +1407,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1294
1407
|
maxFee?: string | number | bigint | undefined;
|
|
1295
1408
|
halfAmount?: string | number | bigint | undefined;
|
|
1296
1409
|
bps?: string | number | undefined;
|
|
1410
|
+
} | {
|
|
1411
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
1412
|
+
owner: string;
|
|
1413
|
+
maxFee?: string | number | bigint | undefined;
|
|
1414
|
+
halfAmount?: string | number | bigint | undefined;
|
|
1415
|
+
bps?: string | number | undefined;
|
|
1416
|
+
quoteSigners?: string[] | undefined;
|
|
1297
1417
|
} | {
|
|
1298
1418
|
type: import("../index.js").TokenFeeType.ProgressiveFee;
|
|
1299
1419
|
owner: string;
|
|
@@ -1307,7 +1427,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1307
1427
|
} | {
|
|
1308
1428
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
1309
1429
|
owner: string;
|
|
1310
|
-
feeContracts
|
|
1430
|
+
feeContracts: Record<string, any>;
|
|
1431
|
+
} | {
|
|
1432
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
1433
|
+
owner: string;
|
|
1434
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
1311
1435
|
} | undefined;
|
|
1312
1436
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
1313
1437
|
commitmentIsm?: {
|
|
@@ -1321,6 +1445,7 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1321
1445
|
feeToken: string;
|
|
1322
1446
|
}[] | undefined;
|
|
1323
1447
|
}>>;
|
|
1448
|
+
permit2: z.ZodOptional<z.ZodString>;
|
|
1324
1449
|
}, "strip", z.ZodTypeAny, {
|
|
1325
1450
|
owner: string;
|
|
1326
1451
|
defaultHook: string | {
|
|
@@ -1342,6 +1467,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1342
1467
|
} | undefined;
|
|
1343
1468
|
}>;
|
|
1344
1469
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1470
|
+
quoteSigners?: string[] | undefined;
|
|
1471
|
+
contractVersion?: string | undefined;
|
|
1345
1472
|
} | {
|
|
1346
1473
|
type: "protocolFee";
|
|
1347
1474
|
owner: string;
|
|
@@ -1435,6 +1562,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1435
1562
|
} | undefined;
|
|
1436
1563
|
}>;
|
|
1437
1564
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1565
|
+
quoteSigners?: string[] | undefined;
|
|
1566
|
+
contractVersion?: string | undefined;
|
|
1438
1567
|
} | {
|
|
1439
1568
|
type: "protocolFee";
|
|
1440
1569
|
owner: string;
|
|
@@ -1468,6 +1597,7 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1468
1597
|
type: z.ZodLiteral<"unknownHook">;
|
|
1469
1598
|
}, z.ZodTypeAny, "passthrough">;
|
|
1470
1599
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1600
|
+
permit2?: string | undefined;
|
|
1471
1601
|
proxyAdmin?: {
|
|
1472
1602
|
owner: string;
|
|
1473
1603
|
address?: string | undefined;
|
|
@@ -1501,6 +1631,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1501
1631
|
} | undefined;
|
|
1502
1632
|
}>;
|
|
1503
1633
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1634
|
+
quoteSigners?: string[] | undefined;
|
|
1635
|
+
contractVersion?: string | undefined;
|
|
1504
1636
|
} | {
|
|
1505
1637
|
type: "protocolFee";
|
|
1506
1638
|
owner: string;
|
|
@@ -1585,6 +1717,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1585
1717
|
owner: string;
|
|
1586
1718
|
maxFee?: bigint | undefined;
|
|
1587
1719
|
halfAmount?: bigint | undefined;
|
|
1720
|
+
} | {
|
|
1721
|
+
bps: number;
|
|
1722
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
1723
|
+
owner: string;
|
|
1724
|
+
maxFee?: bigint | undefined;
|
|
1725
|
+
halfAmount?: bigint | undefined;
|
|
1726
|
+
quoteSigners?: string[] | undefined;
|
|
1588
1727
|
} | {
|
|
1589
1728
|
type: import("../index.js").TokenFeeType.ProgressiveFee;
|
|
1590
1729
|
owner: string;
|
|
@@ -1598,7 +1737,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1598
1737
|
} | {
|
|
1599
1738
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
1600
1739
|
owner: string;
|
|
1601
|
-
feeContracts
|
|
1740
|
+
feeContracts: Record<string, any>;
|
|
1741
|
+
} | {
|
|
1742
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
1743
|
+
owner: string;
|
|
1744
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
1602
1745
|
} | undefined;
|
|
1603
1746
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
1604
1747
|
commitmentIsm?: {
|
|
@@ -1633,6 +1776,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1633
1776
|
} | undefined;
|
|
1634
1777
|
}>;
|
|
1635
1778
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1779
|
+
quoteSigners?: string[] | undefined;
|
|
1780
|
+
contractVersion?: string | undefined;
|
|
1636
1781
|
} | {
|
|
1637
1782
|
type: "protocolFee";
|
|
1638
1783
|
owner: string;
|
|
@@ -1731,6 +1876,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1731
1876
|
} | undefined;
|
|
1732
1877
|
}>;
|
|
1733
1878
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1879
|
+
quoteSigners?: string[] | undefined;
|
|
1880
|
+
contractVersion?: string | undefined;
|
|
1734
1881
|
} | {
|
|
1735
1882
|
type: "protocolFee";
|
|
1736
1883
|
owner: string;
|
|
@@ -1764,6 +1911,7 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1764
1911
|
type: z.ZodLiteral<"unknownHook">;
|
|
1765
1912
|
}, z.ZodTypeAny, "passthrough">;
|
|
1766
1913
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1914
|
+
permit2?: string | undefined;
|
|
1767
1915
|
proxyAdmin?: {
|
|
1768
1916
|
owner: string;
|
|
1769
1917
|
address?: string | undefined;
|
|
@@ -1797,6 +1945,8 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1797
1945
|
} | undefined;
|
|
1798
1946
|
}>;
|
|
1799
1947
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1948
|
+
quoteSigners?: string[] | undefined;
|
|
1949
|
+
contractVersion?: string | undefined;
|
|
1800
1950
|
} | {
|
|
1801
1951
|
type: "protocolFee";
|
|
1802
1952
|
owner: string;
|
|
@@ -1886,6 +2036,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1886
2036
|
maxFee?: string | number | bigint | undefined;
|
|
1887
2037
|
halfAmount?: string | number | bigint | undefined;
|
|
1888
2038
|
bps?: string | number | undefined;
|
|
2039
|
+
} | {
|
|
2040
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
2041
|
+
owner: string;
|
|
2042
|
+
maxFee?: string | number | bigint | undefined;
|
|
2043
|
+
halfAmount?: string | number | bigint | undefined;
|
|
2044
|
+
bps?: string | number | undefined;
|
|
2045
|
+
quoteSigners?: string[] | undefined;
|
|
1889
2046
|
} | {
|
|
1890
2047
|
type: import("../index.js").TokenFeeType.ProgressiveFee;
|
|
1891
2048
|
owner: string;
|
|
@@ -1899,7 +2056,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1899
2056
|
} | {
|
|
1900
2057
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
1901
2058
|
owner: string;
|
|
1902
|
-
feeContracts
|
|
2059
|
+
feeContracts: Record<string, any>;
|
|
2060
|
+
} | {
|
|
2061
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
2062
|
+
owner: string;
|
|
2063
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
1903
2064
|
} | undefined;
|
|
1904
2065
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
1905
2066
|
commitmentIsm?: {
|
|
@@ -2175,6 +2336,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2175
2336
|
totalUsdCost: number;
|
|
2176
2337
|
} | undefined;
|
|
2177
2338
|
}>>;
|
|
2339
|
+
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2340
|
+
contractVersion: z.ZodOptional<z.ZodString>;
|
|
2178
2341
|
}, "strip", z.ZodTypeAny, {
|
|
2179
2342
|
type: "interchainGasPaymaster";
|
|
2180
2343
|
owner: string;
|
|
@@ -2192,6 +2355,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2192
2355
|
} | undefined;
|
|
2193
2356
|
}>;
|
|
2194
2357
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2358
|
+
quoteSigners?: string[] | undefined;
|
|
2359
|
+
contractVersion?: string | undefined;
|
|
2195
2360
|
}, {
|
|
2196
2361
|
type: "interchainGasPaymaster";
|
|
2197
2362
|
owner: string;
|
|
@@ -2209,6 +2374,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2209
2374
|
} | undefined;
|
|
2210
2375
|
}>;
|
|
2211
2376
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2377
|
+
quoteSigners?: string[] | undefined;
|
|
2378
|
+
contractVersion?: string | undefined;
|
|
2212
2379
|
}>, 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.ZodObject<{
|
|
2213
2380
|
type: z.ZodLiteral<"arbL2ToL1Hook">;
|
|
2214
2381
|
arbSys: z.ZodString;
|
|
@@ -2359,6 +2526,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2359
2526
|
totalUsdCost: number;
|
|
2360
2527
|
} | undefined;
|
|
2361
2528
|
}>>;
|
|
2529
|
+
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2530
|
+
contractVersion: z.ZodOptional<z.ZodString>;
|
|
2362
2531
|
}, "strip", z.ZodTypeAny, {
|
|
2363
2532
|
type: "interchainGasPaymaster";
|
|
2364
2533
|
owner: string;
|
|
@@ -2376,6 +2545,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2376
2545
|
} | undefined;
|
|
2377
2546
|
}>;
|
|
2378
2547
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2548
|
+
quoteSigners?: string[] | undefined;
|
|
2549
|
+
contractVersion?: string | undefined;
|
|
2379
2550
|
}, {
|
|
2380
2551
|
type: "interchainGasPaymaster";
|
|
2381
2552
|
owner: string;
|
|
@@ -2393,6 +2564,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2393
2564
|
} | undefined;
|
|
2394
2565
|
}>;
|
|
2395
2566
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2567
|
+
quoteSigners?: string[] | undefined;
|
|
2568
|
+
contractVersion?: string | undefined;
|
|
2396
2569
|
}>, 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.ZodObject<{
|
|
2397
2570
|
type: z.ZodLiteral<"arbL2ToL1Hook">;
|
|
2398
2571
|
arbSys: z.ZodString;
|
|
@@ -2447,6 +2620,7 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2447
2620
|
address?: string | undefined;
|
|
2448
2621
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2449
2622
|
}>>;
|
|
2623
|
+
permit2: z.ZodOptional<z.ZodString>;
|
|
2450
2624
|
} & {
|
|
2451
2625
|
interchainAccountRouter: z.ZodOptional<z.ZodObject<{
|
|
2452
2626
|
owner: z.ZodString;
|
|
@@ -2563,6 +2737,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2563
2737
|
totalUsdCost: number;
|
|
2564
2738
|
} | undefined;
|
|
2565
2739
|
}>>;
|
|
2740
|
+
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2741
|
+
contractVersion: z.ZodOptional<z.ZodString>;
|
|
2566
2742
|
}, "strip", z.ZodTypeAny, {
|
|
2567
2743
|
type: "interchainGasPaymaster";
|
|
2568
2744
|
owner: string;
|
|
@@ -2580,6 +2756,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2580
2756
|
} | undefined;
|
|
2581
2757
|
}>;
|
|
2582
2758
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2759
|
+
quoteSigners?: string[] | undefined;
|
|
2760
|
+
contractVersion?: string | undefined;
|
|
2583
2761
|
}, {
|
|
2584
2762
|
type: "interchainGasPaymaster";
|
|
2585
2763
|
owner: string;
|
|
@@ -2597,6 +2775,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2597
2775
|
} | undefined;
|
|
2598
2776
|
}>;
|
|
2599
2777
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2778
|
+
quoteSigners?: string[] | undefined;
|
|
2779
|
+
contractVersion?: string | undefined;
|
|
2600
2780
|
}>, 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.ZodObject<{
|
|
2601
2781
|
type: z.ZodLiteral<"arbL2ToL1Hook">;
|
|
2602
2782
|
arbSys: z.ZodString;
|
|
@@ -2852,6 +3032,57 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2852
3032
|
maxFee?: string | number | bigint | undefined;
|
|
2853
3033
|
halfAmount?: string | number | bigint | undefined;
|
|
2854
3034
|
bps?: string | number | undefined;
|
|
3035
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
3036
|
+
owner: z.ZodString;
|
|
3037
|
+
} & {
|
|
3038
|
+
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3039
|
+
} & {
|
|
3040
|
+
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
3041
|
+
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
3042
|
+
type: z.ZodLiteral<import("../index.js").TokenFeeType.OffchainQuotedLinearFee>;
|
|
3043
|
+
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
3044
|
+
}, "strip", z.ZodTypeAny, {
|
|
3045
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
3046
|
+
owner: string;
|
|
3047
|
+
maxFee?: bigint | undefined;
|
|
3048
|
+
halfAmount?: bigint | undefined;
|
|
3049
|
+
bps?: number | undefined;
|
|
3050
|
+
quoteSigners?: string[] | undefined;
|
|
3051
|
+
}, {
|
|
3052
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
3053
|
+
owner: string;
|
|
3054
|
+
maxFee?: string | number | bigint | undefined;
|
|
3055
|
+
halfAmount?: string | number | bigint | undefined;
|
|
3056
|
+
bps?: string | number | undefined;
|
|
3057
|
+
quoteSigners?: string[] | undefined;
|
|
3058
|
+
}>, {
|
|
3059
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
3060
|
+
owner: string;
|
|
3061
|
+
maxFee?: bigint | undefined;
|
|
3062
|
+
halfAmount?: bigint | undefined;
|
|
3063
|
+
bps?: number | undefined;
|
|
3064
|
+
quoteSigners?: string[] | undefined;
|
|
3065
|
+
}, {
|
|
3066
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
3067
|
+
owner: string;
|
|
3068
|
+
maxFee?: string | number | bigint | undefined;
|
|
3069
|
+
halfAmount?: string | number | bigint | undefined;
|
|
3070
|
+
bps?: string | number | undefined;
|
|
3071
|
+
quoteSigners?: string[] | undefined;
|
|
3072
|
+
}>, {
|
|
3073
|
+
bps: number;
|
|
3074
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
3075
|
+
owner: string;
|
|
3076
|
+
maxFee?: bigint | undefined;
|
|
3077
|
+
halfAmount?: bigint | undefined;
|
|
3078
|
+
quoteSigners?: string[] | undefined;
|
|
3079
|
+
}, {
|
|
3080
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
3081
|
+
owner: string;
|
|
3082
|
+
maxFee?: string | number | bigint | undefined;
|
|
3083
|
+
halfAmount?: string | number | bigint | undefined;
|
|
3084
|
+
bps?: string | number | undefined;
|
|
3085
|
+
quoteSigners?: string[] | undefined;
|
|
2855
3086
|
}>, z.ZodEffects<z.ZodObject<{
|
|
2856
3087
|
owner: z.ZodString;
|
|
2857
3088
|
} & {
|
|
@@ -2904,19 +3135,48 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2904
3135
|
owner: string;
|
|
2905
3136
|
maxFee: string | number | bigint;
|
|
2906
3137
|
halfAmount: string | number | bigint;
|
|
2907
|
-
}>, z.ZodObject<{
|
|
3138
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
2908
3139
|
owner: z.ZodString;
|
|
2909
3140
|
} & {
|
|
2910
3141
|
type: z.ZodLiteral<import("../index.js").TokenFeeType.RoutingFee>;
|
|
2911
|
-
feeContracts: z.
|
|
3142
|
+
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
2912
3143
|
}, "strip", z.ZodTypeAny, {
|
|
2913
3144
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
2914
3145
|
owner: string;
|
|
2915
|
-
feeContracts
|
|
3146
|
+
feeContracts: Record<string, any>;
|
|
2916
3147
|
}, {
|
|
2917
3148
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
2918
3149
|
owner: string;
|
|
2919
|
-
feeContracts
|
|
3150
|
+
feeContracts: Record<string, any>;
|
|
3151
|
+
}>, {
|
|
3152
|
+
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
3153
|
+
owner: string;
|
|
3154
|
+
feeContracts: Record<string, any>;
|
|
3155
|
+
}, {
|
|
3156
|
+
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
3157
|
+
owner: string;
|
|
3158
|
+
feeContracts: Record<string, any>;
|
|
3159
|
+
}>, z.ZodEffects<z.ZodObject<{
|
|
3160
|
+
owner: z.ZodString;
|
|
3161
|
+
} & {
|
|
3162
|
+
type: z.ZodLiteral<import("../index.js").TokenFeeType.CrossCollateralRoutingFee>;
|
|
3163
|
+
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>>>;
|
|
3164
|
+
}, "strip", z.ZodTypeAny, {
|
|
3165
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
3166
|
+
owner: string;
|
|
3167
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
3168
|
+
}, {
|
|
3169
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
3170
|
+
owner: string;
|
|
3171
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
3172
|
+
}>, {
|
|
3173
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
3174
|
+
owner: string;
|
|
3175
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
3176
|
+
}, {
|
|
3177
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
3178
|
+
owner: string;
|
|
3179
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
2920
3180
|
}>]>>;
|
|
2921
3181
|
} & {
|
|
2922
3182
|
routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
|
|
@@ -2978,6 +3238,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
2978
3238
|
} | undefined;
|
|
2979
3239
|
}>;
|
|
2980
3240
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3241
|
+
quoteSigners?: string[] | undefined;
|
|
3242
|
+
contractVersion?: string | undefined;
|
|
2981
3243
|
} | {
|
|
2982
3244
|
type: "protocolFee";
|
|
2983
3245
|
owner: string;
|
|
@@ -3062,6 +3324,13 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3062
3324
|
owner: string;
|
|
3063
3325
|
maxFee?: bigint | undefined;
|
|
3064
3326
|
halfAmount?: bigint | undefined;
|
|
3327
|
+
} | {
|
|
3328
|
+
bps: number;
|
|
3329
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
3330
|
+
owner: string;
|
|
3331
|
+
maxFee?: bigint | undefined;
|
|
3332
|
+
halfAmount?: bigint | undefined;
|
|
3333
|
+
quoteSigners?: string[] | undefined;
|
|
3065
3334
|
} | {
|
|
3066
3335
|
type: import("../index.js").TokenFeeType.ProgressiveFee;
|
|
3067
3336
|
owner: string;
|
|
@@ -3075,7 +3344,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3075
3344
|
} | {
|
|
3076
3345
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
3077
3346
|
owner: string;
|
|
3078
|
-
feeContracts
|
|
3347
|
+
feeContracts: Record<string, any>;
|
|
3348
|
+
} | {
|
|
3349
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
3350
|
+
owner: string;
|
|
3351
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
3079
3352
|
} | undefined;
|
|
3080
3353
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
3081
3354
|
commitmentIsm?: {
|
|
@@ -3117,6 +3390,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3117
3390
|
} | undefined;
|
|
3118
3391
|
}>;
|
|
3119
3392
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3393
|
+
quoteSigners?: string[] | undefined;
|
|
3394
|
+
contractVersion?: string | undefined;
|
|
3120
3395
|
} | {
|
|
3121
3396
|
type: "protocolFee";
|
|
3122
3397
|
owner: string;
|
|
@@ -3206,6 +3481,13 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3206
3481
|
maxFee?: string | number | bigint | undefined;
|
|
3207
3482
|
halfAmount?: string | number | bigint | undefined;
|
|
3208
3483
|
bps?: string | number | undefined;
|
|
3484
|
+
} | {
|
|
3485
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
3486
|
+
owner: string;
|
|
3487
|
+
maxFee?: string | number | bigint | undefined;
|
|
3488
|
+
halfAmount?: string | number | bigint | undefined;
|
|
3489
|
+
bps?: string | number | undefined;
|
|
3490
|
+
quoteSigners?: string[] | undefined;
|
|
3209
3491
|
} | {
|
|
3210
3492
|
type: import("../index.js").TokenFeeType.ProgressiveFee;
|
|
3211
3493
|
owner: string;
|
|
@@ -3219,7 +3501,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3219
3501
|
} | {
|
|
3220
3502
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
3221
3503
|
owner: string;
|
|
3222
|
-
feeContracts
|
|
3504
|
+
feeContracts: Record<string, any>;
|
|
3505
|
+
} | {
|
|
3506
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
3507
|
+
owner: string;
|
|
3508
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
3223
3509
|
} | undefined;
|
|
3224
3510
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
3225
3511
|
commitmentIsm?: {
|
|
@@ -3254,6 +3540,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3254
3540
|
} | undefined;
|
|
3255
3541
|
}>;
|
|
3256
3542
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3543
|
+
quoteSigners?: string[] | undefined;
|
|
3544
|
+
contractVersion?: string | undefined;
|
|
3257
3545
|
} | {
|
|
3258
3546
|
type: "protocolFee";
|
|
3259
3547
|
owner: string;
|
|
@@ -3347,6 +3635,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3347
3635
|
} | undefined;
|
|
3348
3636
|
}>;
|
|
3349
3637
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3638
|
+
quoteSigners?: string[] | undefined;
|
|
3639
|
+
contractVersion?: string | undefined;
|
|
3350
3640
|
} | {
|
|
3351
3641
|
type: "protocolFee";
|
|
3352
3642
|
owner: string;
|
|
@@ -3380,6 +3670,7 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3380
3670
|
type: z.ZodLiteral<"unknownHook">;
|
|
3381
3671
|
}, z.ZodTypeAny, "passthrough">;
|
|
3382
3672
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3673
|
+
permit2?: string | undefined;
|
|
3383
3674
|
proxyAdmin?: {
|
|
3384
3675
|
owner: string;
|
|
3385
3676
|
address?: string | undefined;
|
|
@@ -3414,6 +3705,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3414
3705
|
} | undefined;
|
|
3415
3706
|
}>;
|
|
3416
3707
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3708
|
+
quoteSigners?: string[] | undefined;
|
|
3709
|
+
contractVersion?: string | undefined;
|
|
3417
3710
|
} | {
|
|
3418
3711
|
type: "protocolFee";
|
|
3419
3712
|
owner: string;
|
|
@@ -3498,6 +3791,13 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3498
3791
|
owner: string;
|
|
3499
3792
|
maxFee?: bigint | undefined;
|
|
3500
3793
|
halfAmount?: bigint | undefined;
|
|
3794
|
+
} | {
|
|
3795
|
+
bps: number;
|
|
3796
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
3797
|
+
owner: string;
|
|
3798
|
+
maxFee?: bigint | undefined;
|
|
3799
|
+
halfAmount?: bigint | undefined;
|
|
3800
|
+
quoteSigners?: string[] | undefined;
|
|
3501
3801
|
} | {
|
|
3502
3802
|
type: import("../index.js").TokenFeeType.ProgressiveFee;
|
|
3503
3803
|
owner: string;
|
|
@@ -3511,7 +3811,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3511
3811
|
} | {
|
|
3512
3812
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
3513
3813
|
owner: string;
|
|
3514
|
-
feeContracts
|
|
3814
|
+
feeContracts: Record<string, any>;
|
|
3815
|
+
} | {
|
|
3816
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
3817
|
+
owner: string;
|
|
3818
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
3515
3819
|
} | undefined;
|
|
3516
3820
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
3517
3821
|
commitmentIsm?: {
|
|
@@ -3546,6 +3850,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3546
3850
|
} | undefined;
|
|
3547
3851
|
}>;
|
|
3548
3852
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3853
|
+
quoteSigners?: string[] | undefined;
|
|
3854
|
+
contractVersion?: string | undefined;
|
|
3549
3855
|
} | {
|
|
3550
3856
|
type: "protocolFee";
|
|
3551
3857
|
owner: string;
|
|
@@ -3644,6 +3950,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3644
3950
|
} | undefined;
|
|
3645
3951
|
}>;
|
|
3646
3952
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3953
|
+
quoteSigners?: string[] | undefined;
|
|
3954
|
+
contractVersion?: string | undefined;
|
|
3647
3955
|
} | {
|
|
3648
3956
|
type: "protocolFee";
|
|
3649
3957
|
owner: string;
|
|
@@ -3677,6 +3985,7 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3677
3985
|
type: z.ZodLiteral<"unknownHook">;
|
|
3678
3986
|
}, z.ZodTypeAny, "passthrough">;
|
|
3679
3987
|
ownerOverrides?: Record<string, string> | undefined;
|
|
3988
|
+
permit2?: string | undefined;
|
|
3680
3989
|
proxyAdmin?: {
|
|
3681
3990
|
owner: string;
|
|
3682
3991
|
address?: string | undefined;
|
|
@@ -3711,6 +4020,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3711
4020
|
} | undefined;
|
|
3712
4021
|
}>;
|
|
3713
4022
|
ownerOverrides?: Record<string, string> | undefined;
|
|
4023
|
+
quoteSigners?: string[] | undefined;
|
|
4024
|
+
contractVersion?: string | undefined;
|
|
3714
4025
|
} | {
|
|
3715
4026
|
type: "protocolFee";
|
|
3716
4027
|
owner: string;
|
|
@@ -3800,6 +4111,13 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3800
4111
|
maxFee?: string | number | bigint | undefined;
|
|
3801
4112
|
halfAmount?: string | number | bigint | undefined;
|
|
3802
4113
|
bps?: string | number | undefined;
|
|
4114
|
+
} | {
|
|
4115
|
+
type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
|
|
4116
|
+
owner: string;
|
|
4117
|
+
maxFee?: string | number | bigint | undefined;
|
|
4118
|
+
halfAmount?: string | number | bigint | undefined;
|
|
4119
|
+
bps?: string | number | undefined;
|
|
4120
|
+
quoteSigners?: string[] | undefined;
|
|
3803
4121
|
} | {
|
|
3804
4122
|
type: import("../index.js").TokenFeeType.ProgressiveFee;
|
|
3805
4123
|
owner: string;
|
|
@@ -3813,7 +4131,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
|
|
|
3813
4131
|
} | {
|
|
3814
4132
|
type: import("../index.js").TokenFeeType.RoutingFee;
|
|
3815
4133
|
owner: string;
|
|
3816
|
-
feeContracts
|
|
4134
|
+
feeContracts: Record<string, any>;
|
|
4135
|
+
} | {
|
|
4136
|
+
type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
|
|
4137
|
+
owner: string;
|
|
4138
|
+
feeContracts: Record<string, Record<string, any>>;
|
|
3817
4139
|
} | undefined;
|
|
3818
4140
|
routerType?: import("../ica/types.js").IcaRouterType | undefined;
|
|
3819
4141
|
commitmentIsm?: {
|
|
@@ -3844,6 +4166,8 @@ export declare const DeployedCoreAddressesSchema: z.ZodObject<{
|
|
|
3844
4166
|
testRecipient: z.ZodString;
|
|
3845
4167
|
timelockController: z.ZodOptional<z.ZodString>;
|
|
3846
4168
|
interchainAccountRouter: z.ZodString;
|
|
4169
|
+
quotedCalls: z.ZodOptional<z.ZodString>;
|
|
4170
|
+
batchContractAddress: z.ZodOptional<z.ZodString>;
|
|
3847
4171
|
merkleTreeHook: z.ZodOptional<z.ZodString>;
|
|
3848
4172
|
interchainGasPaymaster: z.ZodOptional<z.ZodString>;
|
|
3849
4173
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3863,6 +4187,8 @@ export declare const DeployedCoreAddressesSchema: z.ZodObject<{
|
|
|
3863
4187
|
merkleTreeHook?: string | undefined;
|
|
3864
4188
|
interchainGasPaymaster?: string | undefined;
|
|
3865
4189
|
timelockController?: string | undefined;
|
|
4190
|
+
quotedCalls?: string | undefined;
|
|
4191
|
+
batchContractAddress?: string | undefined;
|
|
3866
4192
|
}, {
|
|
3867
4193
|
proxyAdmin: string;
|
|
3868
4194
|
mailbox: string;
|
|
@@ -3880,6 +4206,8 @@ export declare const DeployedCoreAddressesSchema: z.ZodObject<{
|
|
|
3880
4206
|
merkleTreeHook?: string | undefined;
|
|
3881
4207
|
interchainGasPaymaster?: string | undefined;
|
|
3882
4208
|
timelockController?: string | undefined;
|
|
4209
|
+
quotedCalls?: string | undefined;
|
|
4210
|
+
batchContractAddress?: string | undefined;
|
|
3883
4211
|
}>;
|
|
3884
4212
|
export type DeployedCoreAddresses = z.infer<typeof DeployedCoreAddressesSchema>;
|
|
3885
4213
|
export type CoreConfig = z.infer<typeof CoreConfigSchema> & {
|