@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/token/types.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { TokenFeeType } from '../fee/types.js';
|
|
3
2
|
import { DerivedRouterConfig, GasRouterConfigSchema } from '../router/types.js';
|
|
4
3
|
import { ChainMap } from '../types.js';
|
|
5
4
|
export declare const WarpRouteDeployConfigSchemaErrors: {
|
|
@@ -8315,15 +8314,15 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8315
8314
|
}, "strip", z.ZodTypeAny, {
|
|
8316
8315
|
type: "protocolFee";
|
|
8317
8316
|
owner: string;
|
|
8318
|
-
protocolFee: string;
|
|
8319
8317
|
beneficiary: string;
|
|
8318
|
+
protocolFee: string;
|
|
8320
8319
|
maxProtocolFee: string;
|
|
8321
8320
|
ownerOverrides?: Record<string, string> | undefined;
|
|
8322
8321
|
}, {
|
|
8323
8322
|
type: "protocolFee";
|
|
8324
8323
|
owner: string;
|
|
8325
|
-
protocolFee: string;
|
|
8326
8324
|
beneficiary: string;
|
|
8325
|
+
protocolFee: string;
|
|
8327
8326
|
maxProtocolFee: string;
|
|
8328
8327
|
ownerOverrides?: Record<string, string> | undefined;
|
|
8329
8328
|
}>, z.ZodObject<{
|
|
@@ -8422,38 +8421,14 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8422
8421
|
tokenExchangeRate: z.ZodString;
|
|
8423
8422
|
} & {
|
|
8424
8423
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
8425
|
-
} & {
|
|
8426
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
8427
|
-
handleGasAmount: z.ZodNumber;
|
|
8428
|
-
totalGasAmount: z.ZodNumber;
|
|
8429
|
-
totalUsdCost: z.ZodNumber;
|
|
8430
|
-
}, "strip", z.ZodTypeAny, {
|
|
8431
|
-
handleGasAmount: number;
|
|
8432
|
-
totalGasAmount: number;
|
|
8433
|
-
totalUsdCost: number;
|
|
8434
|
-
}, {
|
|
8435
|
-
handleGasAmount: number;
|
|
8436
|
-
totalGasAmount: number;
|
|
8437
|
-
totalUsdCost: number;
|
|
8438
|
-
}>>;
|
|
8439
8424
|
}, "strip", z.ZodTypeAny, {
|
|
8440
8425
|
gasPrice: string;
|
|
8441
8426
|
tokenExchangeRate: string;
|
|
8442
8427
|
tokenDecimals?: number | undefined;
|
|
8443
|
-
typicalCost?: {
|
|
8444
|
-
handleGasAmount: number;
|
|
8445
|
-
totalGasAmount: number;
|
|
8446
|
-
totalUsdCost: number;
|
|
8447
|
-
} | undefined;
|
|
8448
8428
|
}, {
|
|
8449
8429
|
gasPrice: string;
|
|
8450
8430
|
tokenExchangeRate: string;
|
|
8451
8431
|
tokenDecimals?: number | undefined;
|
|
8452
|
-
typicalCost?: {
|
|
8453
|
-
handleGasAmount: number;
|
|
8454
|
-
totalGasAmount: number;
|
|
8455
|
-
totalUsdCost: number;
|
|
8456
|
-
} | undefined;
|
|
8457
8432
|
}>>>>;
|
|
8458
8433
|
}, "strip", z.ZodTypeAny, {
|
|
8459
8434
|
type: "interchainGasPaymaster";
|
|
@@ -8479,11 +8454,6 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8479
8454
|
gasPrice: string;
|
|
8480
8455
|
tokenExchangeRate: string;
|
|
8481
8456
|
tokenDecimals?: number | undefined;
|
|
8482
|
-
typicalCost?: {
|
|
8483
|
-
handleGasAmount: number;
|
|
8484
|
-
totalGasAmount: number;
|
|
8485
|
-
totalUsdCost: number;
|
|
8486
|
-
} | undefined;
|
|
8487
8457
|
}>> | undefined;
|
|
8488
8458
|
}, {
|
|
8489
8459
|
type: "interchainGasPaymaster";
|
|
@@ -8509,11 +8479,6 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8509
8479
|
gasPrice: string;
|
|
8510
8480
|
tokenExchangeRate: string;
|
|
8511
8481
|
tokenDecimals?: number | undefined;
|
|
8512
|
-
typicalCost?: {
|
|
8513
|
-
handleGasAmount: number;
|
|
8514
|
-
totalGasAmount: number;
|
|
8515
|
-
totalUsdCost: number;
|
|
8516
|
-
} | undefined;
|
|
8517
8482
|
}>> | undefined;
|
|
8518
8483
|
}>, 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<{
|
|
8519
8484
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -8609,7 +8574,32 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8609
8574
|
type: "opStackIsm";
|
|
8610
8575
|
origin: string;
|
|
8611
8576
|
nativeBridge: string;
|
|
8612
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
8577
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
8578
|
+
owner: z.ZodString;
|
|
8579
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8580
|
+
} & {
|
|
8581
|
+
paused: z.ZodBoolean;
|
|
8582
|
+
}, "strip", z.ZodTypeAny, {
|
|
8583
|
+
owner: string;
|
|
8584
|
+
paused: boolean;
|
|
8585
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
8586
|
+
}, {
|
|
8587
|
+
owner: string;
|
|
8588
|
+
paused: boolean;
|
|
8589
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
8590
|
+
}>, z.ZodObject<{
|
|
8591
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
8592
|
+
}, "strip", z.ZodTypeAny, {
|
|
8593
|
+
type: "pausableIsm";
|
|
8594
|
+
}, {
|
|
8595
|
+
type: "pausableIsm";
|
|
8596
|
+
}>>, z.ZodObject<{
|
|
8597
|
+
address: z.ZodString;
|
|
8598
|
+
}, "strip", z.ZodTypeAny, {
|
|
8599
|
+
address: string;
|
|
8600
|
+
}, {
|
|
8601
|
+
address: string;
|
|
8602
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
8613
8603
|
owner: z.ZodString;
|
|
8614
8604
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8615
8605
|
} & {
|
|
@@ -8800,196 +8790,231 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
8800
8790
|
}>>;
|
|
8801
8791
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
8802
8792
|
owner: z.ZodString;
|
|
8793
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8803
8794
|
} & {
|
|
8804
8795
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
8805
8796
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
8806
|
-
type: z.ZodLiteral<
|
|
8797
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
8807
8798
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
8808
8799
|
}, "strip", z.ZodTypeAny, {
|
|
8809
|
-
type:
|
|
8800
|
+
type: "LinearFee";
|
|
8810
8801
|
owner: string;
|
|
8802
|
+
beneficiary?: string | undefined;
|
|
8811
8803
|
maxFee?: bigint | undefined;
|
|
8812
8804
|
halfAmount?: bigint | undefined;
|
|
8813
8805
|
bps?: number | undefined;
|
|
8814
8806
|
}, {
|
|
8815
|
-
type:
|
|
8807
|
+
type: "LinearFee";
|
|
8816
8808
|
owner: string;
|
|
8809
|
+
beneficiary?: string | undefined;
|
|
8817
8810
|
maxFee?: string | number | bigint | undefined;
|
|
8818
8811
|
halfAmount?: string | number | bigint | undefined;
|
|
8819
8812
|
bps?: string | number | undefined;
|
|
8820
8813
|
}>, {
|
|
8821
|
-
type:
|
|
8814
|
+
type: "LinearFee";
|
|
8822
8815
|
owner: string;
|
|
8816
|
+
beneficiary?: string | undefined;
|
|
8823
8817
|
maxFee?: bigint | undefined;
|
|
8824
8818
|
halfAmount?: bigint | undefined;
|
|
8825
8819
|
bps?: number | undefined;
|
|
8826
8820
|
}, {
|
|
8827
|
-
type:
|
|
8821
|
+
type: "LinearFee";
|
|
8828
8822
|
owner: string;
|
|
8823
|
+
beneficiary?: string | undefined;
|
|
8829
8824
|
maxFee?: string | number | bigint | undefined;
|
|
8830
8825
|
halfAmount?: string | number | bigint | undefined;
|
|
8831
8826
|
bps?: string | number | undefined;
|
|
8832
8827
|
}>, {
|
|
8833
8828
|
bps: number;
|
|
8834
|
-
type:
|
|
8829
|
+
type: "LinearFee";
|
|
8835
8830
|
owner: string;
|
|
8831
|
+
beneficiary?: string | undefined;
|
|
8836
8832
|
maxFee?: bigint | undefined;
|
|
8837
8833
|
halfAmount?: bigint | undefined;
|
|
8838
8834
|
}, {
|
|
8839
|
-
type:
|
|
8835
|
+
type: "LinearFee";
|
|
8840
8836
|
owner: string;
|
|
8837
|
+
beneficiary?: string | undefined;
|
|
8841
8838
|
maxFee?: string | number | bigint | undefined;
|
|
8842
8839
|
halfAmount?: string | number | bigint | undefined;
|
|
8843
8840
|
bps?: string | number | undefined;
|
|
8844
8841
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
8845
8842
|
owner: z.ZodString;
|
|
8843
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8846
8844
|
} & {
|
|
8847
8845
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8848
8846
|
} & {
|
|
8849
8847
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
8850
8848
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
8851
|
-
type: z.ZodLiteral<
|
|
8849
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
8852
8850
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
8853
8851
|
}, "strip", z.ZodTypeAny, {
|
|
8854
|
-
type:
|
|
8852
|
+
type: "OffchainQuotedLinearFee";
|
|
8855
8853
|
owner: string;
|
|
8854
|
+
beneficiary?: string | undefined;
|
|
8856
8855
|
maxFee?: bigint | undefined;
|
|
8857
8856
|
halfAmount?: bigint | undefined;
|
|
8858
8857
|
bps?: number | undefined;
|
|
8859
8858
|
quoteSigners?: string[] | undefined;
|
|
8860
8859
|
}, {
|
|
8861
|
-
type:
|
|
8860
|
+
type: "OffchainQuotedLinearFee";
|
|
8862
8861
|
owner: string;
|
|
8862
|
+
beneficiary?: string | undefined;
|
|
8863
8863
|
maxFee?: string | number | bigint | undefined;
|
|
8864
8864
|
halfAmount?: string | number | bigint | undefined;
|
|
8865
8865
|
bps?: string | number | undefined;
|
|
8866
8866
|
quoteSigners?: string[] | undefined;
|
|
8867
8867
|
}>, {
|
|
8868
|
-
type:
|
|
8868
|
+
type: "OffchainQuotedLinearFee";
|
|
8869
8869
|
owner: string;
|
|
8870
|
+
beneficiary?: string | undefined;
|
|
8870
8871
|
maxFee?: bigint | undefined;
|
|
8871
8872
|
halfAmount?: bigint | undefined;
|
|
8872
8873
|
bps?: number | undefined;
|
|
8873
8874
|
quoteSigners?: string[] | undefined;
|
|
8874
8875
|
}, {
|
|
8875
|
-
type:
|
|
8876
|
+
type: "OffchainQuotedLinearFee";
|
|
8876
8877
|
owner: string;
|
|
8878
|
+
beneficiary?: string | undefined;
|
|
8877
8879
|
maxFee?: string | number | bigint | undefined;
|
|
8878
8880
|
halfAmount?: string | number | bigint | undefined;
|
|
8879
8881
|
bps?: string | number | undefined;
|
|
8880
8882
|
quoteSigners?: string[] | undefined;
|
|
8881
8883
|
}>, {
|
|
8882
8884
|
bps: number;
|
|
8883
|
-
type:
|
|
8885
|
+
type: "OffchainQuotedLinearFee";
|
|
8884
8886
|
owner: string;
|
|
8887
|
+
beneficiary?: string | undefined;
|
|
8885
8888
|
maxFee?: bigint | undefined;
|
|
8886
8889
|
halfAmount?: bigint | undefined;
|
|
8887
8890
|
quoteSigners?: string[] | undefined;
|
|
8888
8891
|
}, {
|
|
8889
|
-
type:
|
|
8892
|
+
type: "OffchainQuotedLinearFee";
|
|
8890
8893
|
owner: string;
|
|
8894
|
+
beneficiary?: string | undefined;
|
|
8891
8895
|
maxFee?: string | number | bigint | undefined;
|
|
8892
8896
|
halfAmount?: string | number | bigint | undefined;
|
|
8893
8897
|
bps?: string | number | undefined;
|
|
8894
8898
|
quoteSigners?: string[] | undefined;
|
|
8895
8899
|
}>, z.ZodEffects<z.ZodObject<{
|
|
8896
8900
|
owner: z.ZodString;
|
|
8901
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8897
8902
|
} & {
|
|
8898
|
-
type: z.ZodLiteral<
|
|
8903
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
8899
8904
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
8900
8905
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
8901
8906
|
}, "strip", z.ZodTypeAny, {
|
|
8902
|
-
type:
|
|
8907
|
+
type: "ProgressiveFee";
|
|
8903
8908
|
owner: string;
|
|
8904
8909
|
maxFee: bigint;
|
|
8905
8910
|
halfAmount: bigint;
|
|
8911
|
+
beneficiary?: string | undefined;
|
|
8906
8912
|
}, {
|
|
8907
|
-
type:
|
|
8913
|
+
type: "ProgressiveFee";
|
|
8908
8914
|
owner: string;
|
|
8909
8915
|
maxFee: string | number | bigint;
|
|
8910
8916
|
halfAmount: string | number | bigint;
|
|
8917
|
+
beneficiary?: string | undefined;
|
|
8911
8918
|
}>, {
|
|
8912
|
-
type:
|
|
8919
|
+
type: "ProgressiveFee";
|
|
8913
8920
|
owner: string;
|
|
8914
8921
|
maxFee: bigint;
|
|
8915
8922
|
halfAmount: bigint;
|
|
8923
|
+
beneficiary?: string | undefined;
|
|
8916
8924
|
}, {
|
|
8917
|
-
type:
|
|
8925
|
+
type: "ProgressiveFee";
|
|
8918
8926
|
owner: string;
|
|
8919
8927
|
maxFee: string | number | bigint;
|
|
8920
8928
|
halfAmount: string | number | bigint;
|
|
8929
|
+
beneficiary?: string | undefined;
|
|
8921
8930
|
}>, z.ZodEffects<z.ZodObject<{
|
|
8922
8931
|
owner: z.ZodString;
|
|
8932
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8923
8933
|
} & {
|
|
8924
|
-
type: z.ZodLiteral<
|
|
8934
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
8925
8935
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
8926
8936
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
8927
8937
|
}, "strip", z.ZodTypeAny, {
|
|
8928
|
-
type:
|
|
8938
|
+
type: "RegressiveFee";
|
|
8929
8939
|
owner: string;
|
|
8930
8940
|
maxFee: bigint;
|
|
8931
8941
|
halfAmount: bigint;
|
|
8942
|
+
beneficiary?: string | undefined;
|
|
8932
8943
|
}, {
|
|
8933
|
-
type:
|
|
8944
|
+
type: "RegressiveFee";
|
|
8934
8945
|
owner: string;
|
|
8935
8946
|
maxFee: string | number | bigint;
|
|
8936
8947
|
halfAmount: string | number | bigint;
|
|
8948
|
+
beneficiary?: string | undefined;
|
|
8937
8949
|
}>, {
|
|
8938
|
-
type:
|
|
8950
|
+
type: "RegressiveFee";
|
|
8939
8951
|
owner: string;
|
|
8940
8952
|
maxFee: bigint;
|
|
8941
8953
|
halfAmount: bigint;
|
|
8954
|
+
beneficiary?: string | undefined;
|
|
8942
8955
|
}, {
|
|
8943
|
-
type:
|
|
8956
|
+
type: "RegressiveFee";
|
|
8944
8957
|
owner: string;
|
|
8945
8958
|
maxFee: string | number | bigint;
|
|
8946
8959
|
halfAmount: string | number | bigint;
|
|
8960
|
+
beneficiary?: string | undefined;
|
|
8947
8961
|
}>, z.ZodEffects<z.ZodObject<{
|
|
8948
8962
|
owner: z.ZodString;
|
|
8963
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8949
8964
|
} & {
|
|
8950
|
-
type: z.ZodLiteral<
|
|
8965
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
8951
8966
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
8952
8967
|
}, "strip", z.ZodTypeAny, {
|
|
8953
|
-
type:
|
|
8968
|
+
type: "RoutingFee";
|
|
8954
8969
|
owner: string;
|
|
8955
8970
|
feeContracts: Record<string, any>;
|
|
8971
|
+
beneficiary?: string | undefined;
|
|
8956
8972
|
}, {
|
|
8957
|
-
type:
|
|
8973
|
+
type: "RoutingFee";
|
|
8958
8974
|
owner: string;
|
|
8959
8975
|
feeContracts: Record<string, any>;
|
|
8976
|
+
beneficiary?: string | undefined;
|
|
8960
8977
|
}>, {
|
|
8961
|
-
type:
|
|
8978
|
+
type: "RoutingFee";
|
|
8962
8979
|
owner: string;
|
|
8963
8980
|
feeContracts: Record<string, any>;
|
|
8981
|
+
beneficiary?: string | undefined;
|
|
8964
8982
|
}, {
|
|
8965
|
-
type:
|
|
8983
|
+
type: "RoutingFee";
|
|
8966
8984
|
owner: string;
|
|
8967
8985
|
feeContracts: Record<string, any>;
|
|
8986
|
+
beneficiary?: string | undefined;
|
|
8968
8987
|
}>, z.ZodEffects<z.ZodObject<{
|
|
8969
8988
|
owner: z.ZodString;
|
|
8989
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
8970
8990
|
} & {
|
|
8971
|
-
type: z.ZodLiteral<
|
|
8991
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
8972
8992
|
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>>>;
|
|
8973
8993
|
}, "strip", z.ZodTypeAny, {
|
|
8974
|
-
type:
|
|
8994
|
+
type: "CrossCollateralRoutingFee";
|
|
8975
8995
|
owner: string;
|
|
8976
8996
|
feeContracts: Record<string, Record<string, any>>;
|
|
8997
|
+
beneficiary?: string | undefined;
|
|
8977
8998
|
}, {
|
|
8978
|
-
type:
|
|
8999
|
+
type: "CrossCollateralRoutingFee";
|
|
8979
9000
|
owner: string;
|
|
8980
9001
|
feeContracts: Record<string, Record<string, any>>;
|
|
9002
|
+
beneficiary?: string | undefined;
|
|
8981
9003
|
}>, {
|
|
8982
|
-
type:
|
|
9004
|
+
type: "CrossCollateralRoutingFee";
|
|
8983
9005
|
owner: string;
|
|
8984
9006
|
feeContracts: Record<string, Record<string, any>>;
|
|
9007
|
+
beneficiary?: string | undefined;
|
|
8985
9008
|
}, {
|
|
8986
|
-
type:
|
|
9009
|
+
type: "CrossCollateralRoutingFee";
|
|
8987
9010
|
owner: string;
|
|
8988
9011
|
feeContracts: Record<string, Record<string, any>>;
|
|
9012
|
+
beneficiary?: string | undefined;
|
|
8989
9013
|
}>]>>;
|
|
8990
9014
|
} & {
|
|
8991
9015
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
8992
9016
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
9017
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
8993
9018
|
}, "strip", z.ZodTypeAny, {
|
|
8994
9019
|
owner: string;
|
|
8995
9020
|
mailbox: string;
|
|
@@ -9026,17 +9051,12 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9026
9051
|
gasPrice: string;
|
|
9027
9052
|
tokenExchangeRate: string;
|
|
9028
9053
|
tokenDecimals?: number | undefined;
|
|
9029
|
-
typicalCost?: {
|
|
9030
|
-
handleGasAmount: number;
|
|
9031
|
-
totalGasAmount: number;
|
|
9032
|
-
totalUsdCost: number;
|
|
9033
|
-
} | undefined;
|
|
9034
9054
|
}>> | undefined;
|
|
9035
9055
|
} | {
|
|
9036
9056
|
type: "protocolFee";
|
|
9037
9057
|
owner: string;
|
|
9038
|
-
protocolFee: string;
|
|
9039
9058
|
beneficiary: string;
|
|
9059
|
+
protocolFee: string;
|
|
9040
9060
|
maxProtocolFee: string;
|
|
9041
9061
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9042
9062
|
} | {
|
|
@@ -9113,7 +9133,15 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9113
9133
|
owner: string;
|
|
9114
9134
|
urls: string[];
|
|
9115
9135
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9116
|
-
} |
|
|
9136
|
+
} | ({
|
|
9137
|
+
owner: string;
|
|
9138
|
+
paused: boolean;
|
|
9139
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
9140
|
+
} & {
|
|
9141
|
+
type: "pausableIsm";
|
|
9142
|
+
} & {
|
|
9143
|
+
address: string;
|
|
9144
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
9117
9145
|
type: z.ZodLiteral<"unknownIsm">;
|
|
9118
9146
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9119
9147
|
foreignDeployment?: string | undefined;
|
|
@@ -9122,37 +9150,44 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9122
9150
|
}> | undefined;
|
|
9123
9151
|
tokenFee?: {
|
|
9124
9152
|
bps: number;
|
|
9125
|
-
type:
|
|
9153
|
+
type: "LinearFee";
|
|
9126
9154
|
owner: string;
|
|
9155
|
+
beneficiary?: string | undefined;
|
|
9127
9156
|
maxFee?: bigint | undefined;
|
|
9128
9157
|
halfAmount?: bigint | undefined;
|
|
9129
9158
|
} | {
|
|
9130
9159
|
bps: number;
|
|
9131
|
-
type:
|
|
9160
|
+
type: "OffchainQuotedLinearFee";
|
|
9132
9161
|
owner: string;
|
|
9162
|
+
beneficiary?: string | undefined;
|
|
9133
9163
|
maxFee?: bigint | undefined;
|
|
9134
9164
|
halfAmount?: bigint | undefined;
|
|
9135
9165
|
quoteSigners?: string[] | undefined;
|
|
9136
9166
|
} | {
|
|
9137
|
-
type:
|
|
9167
|
+
type: "ProgressiveFee";
|
|
9138
9168
|
owner: string;
|
|
9139
9169
|
maxFee: bigint;
|
|
9140
9170
|
halfAmount: bigint;
|
|
9171
|
+
beneficiary?: string | undefined;
|
|
9141
9172
|
} | {
|
|
9142
|
-
type:
|
|
9173
|
+
type: "RegressiveFee";
|
|
9143
9174
|
owner: string;
|
|
9144
9175
|
maxFee: bigint;
|
|
9145
9176
|
halfAmount: bigint;
|
|
9177
|
+
beneficiary?: string | undefined;
|
|
9146
9178
|
} | {
|
|
9147
|
-
type:
|
|
9179
|
+
type: "RoutingFee";
|
|
9148
9180
|
owner: string;
|
|
9149
9181
|
feeContracts: Record<string, any>;
|
|
9182
|
+
beneficiary?: string | undefined;
|
|
9150
9183
|
} | {
|
|
9151
|
-
type:
|
|
9184
|
+
type: "CrossCollateralRoutingFee";
|
|
9152
9185
|
owner: string;
|
|
9153
9186
|
feeContracts: Record<string, Record<string, any>>;
|
|
9187
|
+
beneficiary?: string | undefined;
|
|
9154
9188
|
} | undefined;
|
|
9155
9189
|
destinationGas?: Record<string | number, string> | undefined;
|
|
9190
|
+
feeHook?: string | undefined;
|
|
9156
9191
|
}, {
|
|
9157
9192
|
owner: string;
|
|
9158
9193
|
mailbox: string;
|
|
@@ -9189,17 +9224,12 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9189
9224
|
gasPrice: string;
|
|
9190
9225
|
tokenExchangeRate: string;
|
|
9191
9226
|
tokenDecimals?: number | undefined;
|
|
9192
|
-
typicalCost?: {
|
|
9193
|
-
handleGasAmount: number;
|
|
9194
|
-
totalGasAmount: number;
|
|
9195
|
-
totalUsdCost: number;
|
|
9196
|
-
} | undefined;
|
|
9197
9227
|
}>> | undefined;
|
|
9198
9228
|
} | {
|
|
9199
9229
|
type: "protocolFee";
|
|
9200
9230
|
owner: string;
|
|
9201
|
-
protocolFee: string;
|
|
9202
9231
|
beneficiary: string;
|
|
9232
|
+
protocolFee: string;
|
|
9203
9233
|
maxProtocolFee: string;
|
|
9204
9234
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9205
9235
|
} | {
|
|
@@ -9276,7 +9306,15 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9276
9306
|
owner: string;
|
|
9277
9307
|
urls: string[];
|
|
9278
9308
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9279
|
-
} | {
|
|
9309
|
+
} | ({
|
|
9310
|
+
owner: string;
|
|
9311
|
+
paused: boolean;
|
|
9312
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
9313
|
+
} & {
|
|
9314
|
+
type: "pausableIsm";
|
|
9315
|
+
} & {
|
|
9316
|
+
address: string;
|
|
9317
|
+
}) | {
|
|
9280
9318
|
type: "interchainAccountRouting";
|
|
9281
9319
|
owner: string;
|
|
9282
9320
|
isms: Record<string, string>;
|
|
@@ -9289,38 +9327,45 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9289
9327
|
address: string;
|
|
9290
9328
|
}> | undefined;
|
|
9291
9329
|
tokenFee?: {
|
|
9292
|
-
type:
|
|
9330
|
+
type: "LinearFee";
|
|
9293
9331
|
owner: string;
|
|
9332
|
+
beneficiary?: string | undefined;
|
|
9294
9333
|
maxFee?: string | number | bigint | undefined;
|
|
9295
9334
|
halfAmount?: string | number | bigint | undefined;
|
|
9296
9335
|
bps?: string | number | undefined;
|
|
9297
9336
|
} | {
|
|
9298
|
-
type:
|
|
9337
|
+
type: "OffchainQuotedLinearFee";
|
|
9299
9338
|
owner: string;
|
|
9339
|
+
beneficiary?: string | undefined;
|
|
9300
9340
|
maxFee?: string | number | bigint | undefined;
|
|
9301
9341
|
halfAmount?: string | number | bigint | undefined;
|
|
9302
9342
|
bps?: string | number | undefined;
|
|
9303
9343
|
quoteSigners?: string[] | undefined;
|
|
9304
9344
|
} | {
|
|
9305
|
-
type:
|
|
9345
|
+
type: "ProgressiveFee";
|
|
9306
9346
|
owner: string;
|
|
9307
9347
|
maxFee: string | number | bigint;
|
|
9308
9348
|
halfAmount: string | number | bigint;
|
|
9349
|
+
beneficiary?: string | undefined;
|
|
9309
9350
|
} | {
|
|
9310
|
-
type:
|
|
9351
|
+
type: "RegressiveFee";
|
|
9311
9352
|
owner: string;
|
|
9312
9353
|
maxFee: string | number | bigint;
|
|
9313
9354
|
halfAmount: string | number | bigint;
|
|
9355
|
+
beneficiary?: string | undefined;
|
|
9314
9356
|
} | {
|
|
9315
|
-
type:
|
|
9357
|
+
type: "RoutingFee";
|
|
9316
9358
|
owner: string;
|
|
9317
9359
|
feeContracts: Record<string, any>;
|
|
9360
|
+
beneficiary?: string | undefined;
|
|
9318
9361
|
} | {
|
|
9319
|
-
type:
|
|
9362
|
+
type: "CrossCollateralRoutingFee";
|
|
9320
9363
|
owner: string;
|
|
9321
9364
|
feeContracts: Record<string, Record<string, any>>;
|
|
9365
|
+
beneficiary?: string | undefined;
|
|
9322
9366
|
} | undefined;
|
|
9323
9367
|
destinationGas?: Record<string | number, string> | undefined;
|
|
9368
|
+
feeHook?: string | undefined;
|
|
9324
9369
|
}>>, z.ZodObject<{
|
|
9325
9370
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
9326
9371
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -9761,17 +9806,12 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9761
9806
|
gasPrice: string;
|
|
9762
9807
|
tokenExchangeRate: string;
|
|
9763
9808
|
tokenDecimals?: number | undefined;
|
|
9764
|
-
typicalCost?: {
|
|
9765
|
-
handleGasAmount: number;
|
|
9766
|
-
totalGasAmount: number;
|
|
9767
|
-
totalUsdCost: number;
|
|
9768
|
-
} | undefined;
|
|
9769
9809
|
}>> | undefined;
|
|
9770
9810
|
} | {
|
|
9771
9811
|
type: "protocolFee";
|
|
9772
9812
|
owner: string;
|
|
9773
|
-
protocolFee: string;
|
|
9774
9813
|
beneficiary: string;
|
|
9814
|
+
protocolFee: string;
|
|
9775
9815
|
maxProtocolFee: string;
|
|
9776
9816
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9777
9817
|
} | {
|
|
@@ -9848,7 +9888,15 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9848
9888
|
owner: string;
|
|
9849
9889
|
urls: string[];
|
|
9850
9890
|
ownerOverrides?: Record<string, string> | undefined;
|
|
9851
|
-
} |
|
|
9891
|
+
} | ({
|
|
9892
|
+
owner: string;
|
|
9893
|
+
paused: boolean;
|
|
9894
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
9895
|
+
} & {
|
|
9896
|
+
type: "pausableIsm";
|
|
9897
|
+
} & {
|
|
9898
|
+
address: string;
|
|
9899
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
9852
9900
|
type: z.ZodLiteral<"unknownIsm">;
|
|
9853
9901
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9854
9902
|
foreignDeployment?: string | undefined;
|
|
@@ -9857,37 +9905,44 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodIntersection<
|
|
|
9857
9905
|
}> | undefined;
|
|
9858
9906
|
tokenFee?: {
|
|
9859
9907
|
bps: number;
|
|
9860
|
-
type:
|
|
9908
|
+
type: "LinearFee";
|
|
9861
9909
|
owner: string;
|
|
9910
|
+
beneficiary?: string | undefined;
|
|
9862
9911
|
maxFee?: bigint | undefined;
|
|
9863
9912
|
halfAmount?: bigint | undefined;
|
|
9864
9913
|
} | {
|
|
9865
9914
|
bps: number;
|
|
9866
|
-
type:
|
|
9915
|
+
type: "OffchainQuotedLinearFee";
|
|
9867
9916
|
owner: string;
|
|
9917
|
+
beneficiary?: string | undefined;
|
|
9868
9918
|
maxFee?: bigint | undefined;
|
|
9869
9919
|
halfAmount?: bigint | undefined;
|
|
9870
9920
|
quoteSigners?: string[] | undefined;
|
|
9871
9921
|
} | {
|
|
9872
|
-
type:
|
|
9922
|
+
type: "ProgressiveFee";
|
|
9873
9923
|
owner: string;
|
|
9874
9924
|
maxFee: bigint;
|
|
9875
9925
|
halfAmount: bigint;
|
|
9926
|
+
beneficiary?: string | undefined;
|
|
9876
9927
|
} | {
|
|
9877
|
-
type:
|
|
9928
|
+
type: "RegressiveFee";
|
|
9878
9929
|
owner: string;
|
|
9879
9930
|
maxFee: bigint;
|
|
9880
9931
|
halfAmount: bigint;
|
|
9932
|
+
beneficiary?: string | undefined;
|
|
9881
9933
|
} | {
|
|
9882
|
-
type:
|
|
9934
|
+
type: "RoutingFee";
|
|
9883
9935
|
owner: string;
|
|
9884
9936
|
feeContracts: Record<string, any>;
|
|
9937
|
+
beneficiary?: string | undefined;
|
|
9885
9938
|
} | {
|
|
9886
|
-
type:
|
|
9939
|
+
type: "CrossCollateralRoutingFee";
|
|
9887
9940
|
owner: string;
|
|
9888
9941
|
feeContracts: Record<string, Record<string, any>>;
|
|
9942
|
+
beneficiary?: string | undefined;
|
|
9889
9943
|
} | undefined;
|
|
9890
9944
|
destinationGas?: Record<string | number, string> | undefined;
|
|
9945
|
+
feeHook?: string | undefined;
|
|
9891
9946
|
}) & {
|
|
9892
9947
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
9893
9948
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -11946,15 +12001,15 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
11946
12001
|
}, "strip", z.ZodTypeAny, {
|
|
11947
12002
|
type: "protocolFee";
|
|
11948
12003
|
owner: string;
|
|
11949
|
-
protocolFee: string;
|
|
11950
12004
|
beneficiary: string;
|
|
12005
|
+
protocolFee: string;
|
|
11951
12006
|
maxProtocolFee: string;
|
|
11952
12007
|
ownerOverrides?: Record<string, string> | undefined;
|
|
11953
12008
|
}, {
|
|
11954
12009
|
type: "protocolFee";
|
|
11955
12010
|
owner: string;
|
|
11956
|
-
protocolFee: string;
|
|
11957
12011
|
beneficiary: string;
|
|
12012
|
+
protocolFee: string;
|
|
11958
12013
|
maxProtocolFee: string;
|
|
11959
12014
|
ownerOverrides?: Record<string, string> | undefined;
|
|
11960
12015
|
}>, z.ZodObject<{
|
|
@@ -12053,38 +12108,14 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12053
12108
|
tokenExchangeRate: z.ZodString;
|
|
12054
12109
|
} & {
|
|
12055
12110
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
12056
|
-
} & {
|
|
12057
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
12058
|
-
handleGasAmount: z.ZodNumber;
|
|
12059
|
-
totalGasAmount: z.ZodNumber;
|
|
12060
|
-
totalUsdCost: z.ZodNumber;
|
|
12061
|
-
}, "strip", z.ZodTypeAny, {
|
|
12062
|
-
handleGasAmount: number;
|
|
12063
|
-
totalGasAmount: number;
|
|
12064
|
-
totalUsdCost: number;
|
|
12065
|
-
}, {
|
|
12066
|
-
handleGasAmount: number;
|
|
12067
|
-
totalGasAmount: number;
|
|
12068
|
-
totalUsdCost: number;
|
|
12069
|
-
}>>;
|
|
12070
12111
|
}, "strip", z.ZodTypeAny, {
|
|
12071
12112
|
gasPrice: string;
|
|
12072
12113
|
tokenExchangeRate: string;
|
|
12073
12114
|
tokenDecimals?: number | undefined;
|
|
12074
|
-
typicalCost?: {
|
|
12075
|
-
handleGasAmount: number;
|
|
12076
|
-
totalGasAmount: number;
|
|
12077
|
-
totalUsdCost: number;
|
|
12078
|
-
} | undefined;
|
|
12079
12115
|
}, {
|
|
12080
12116
|
gasPrice: string;
|
|
12081
12117
|
tokenExchangeRate: string;
|
|
12082
12118
|
tokenDecimals?: number | undefined;
|
|
12083
|
-
typicalCost?: {
|
|
12084
|
-
handleGasAmount: number;
|
|
12085
|
-
totalGasAmount: number;
|
|
12086
|
-
totalUsdCost: number;
|
|
12087
|
-
} | undefined;
|
|
12088
12119
|
}>>>>;
|
|
12089
12120
|
}, "strip", z.ZodTypeAny, {
|
|
12090
12121
|
type: "interchainGasPaymaster";
|
|
@@ -12110,11 +12141,6 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12110
12141
|
gasPrice: string;
|
|
12111
12142
|
tokenExchangeRate: string;
|
|
12112
12143
|
tokenDecimals?: number | undefined;
|
|
12113
|
-
typicalCost?: {
|
|
12114
|
-
handleGasAmount: number;
|
|
12115
|
-
totalGasAmount: number;
|
|
12116
|
-
totalUsdCost: number;
|
|
12117
|
-
} | undefined;
|
|
12118
12144
|
}>> | undefined;
|
|
12119
12145
|
}, {
|
|
12120
12146
|
type: "interchainGasPaymaster";
|
|
@@ -12140,11 +12166,6 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12140
12166
|
gasPrice: string;
|
|
12141
12167
|
tokenExchangeRate: string;
|
|
12142
12168
|
tokenDecimals?: number | undefined;
|
|
12143
|
-
typicalCost?: {
|
|
12144
|
-
handleGasAmount: number;
|
|
12145
|
-
totalGasAmount: number;
|
|
12146
|
-
totalUsdCost: number;
|
|
12147
|
-
} | undefined;
|
|
12148
12169
|
}>> | undefined;
|
|
12149
12170
|
}>, 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<{
|
|
12150
12171
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -12240,7 +12261,32 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12240
12261
|
type: "opStackIsm";
|
|
12241
12262
|
origin: string;
|
|
12242
12263
|
nativeBridge: string;
|
|
12243
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
12264
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
12265
|
+
owner: z.ZodString;
|
|
12266
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12267
|
+
} & {
|
|
12268
|
+
paused: z.ZodBoolean;
|
|
12269
|
+
}, "strip", z.ZodTypeAny, {
|
|
12270
|
+
owner: string;
|
|
12271
|
+
paused: boolean;
|
|
12272
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
12273
|
+
}, {
|
|
12274
|
+
owner: string;
|
|
12275
|
+
paused: boolean;
|
|
12276
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
12277
|
+
}>, z.ZodObject<{
|
|
12278
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
12279
|
+
}, "strip", z.ZodTypeAny, {
|
|
12280
|
+
type: "pausableIsm";
|
|
12281
|
+
}, {
|
|
12282
|
+
type: "pausableIsm";
|
|
12283
|
+
}>>, z.ZodObject<{
|
|
12284
|
+
address: z.ZodString;
|
|
12285
|
+
}, "strip", z.ZodTypeAny, {
|
|
12286
|
+
address: string;
|
|
12287
|
+
}, {
|
|
12288
|
+
address: string;
|
|
12289
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
12244
12290
|
owner: z.ZodString;
|
|
12245
12291
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12246
12292
|
} & {
|
|
@@ -12429,195 +12475,230 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12429
12475
|
}>>;
|
|
12430
12476
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
12431
12477
|
owner: z.ZodString;
|
|
12478
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12432
12479
|
} & {
|
|
12433
12480
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12434
12481
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12435
|
-
type: z.ZodLiteral<
|
|
12482
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
12436
12483
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
12437
12484
|
}, "strip", z.ZodTypeAny, {
|
|
12438
|
-
type:
|
|
12485
|
+
type: "LinearFee";
|
|
12439
12486
|
owner: string;
|
|
12487
|
+
beneficiary?: string | undefined;
|
|
12440
12488
|
maxFee?: bigint | undefined;
|
|
12441
12489
|
halfAmount?: bigint | undefined;
|
|
12442
12490
|
bps?: number | undefined;
|
|
12443
12491
|
}, {
|
|
12444
|
-
type:
|
|
12492
|
+
type: "LinearFee";
|
|
12445
12493
|
owner: string;
|
|
12494
|
+
beneficiary?: string | undefined;
|
|
12446
12495
|
maxFee?: string | number | bigint | undefined;
|
|
12447
12496
|
halfAmount?: string | number | bigint | undefined;
|
|
12448
12497
|
bps?: string | number | undefined;
|
|
12449
12498
|
}>, {
|
|
12450
|
-
type:
|
|
12499
|
+
type: "LinearFee";
|
|
12451
12500
|
owner: string;
|
|
12501
|
+
beneficiary?: string | undefined;
|
|
12452
12502
|
maxFee?: bigint | undefined;
|
|
12453
12503
|
halfAmount?: bigint | undefined;
|
|
12454
12504
|
bps?: number | undefined;
|
|
12455
12505
|
}, {
|
|
12456
|
-
type:
|
|
12506
|
+
type: "LinearFee";
|
|
12457
12507
|
owner: string;
|
|
12508
|
+
beneficiary?: string | undefined;
|
|
12458
12509
|
maxFee?: string | number | bigint | undefined;
|
|
12459
12510
|
halfAmount?: string | number | bigint | undefined;
|
|
12460
12511
|
bps?: string | number | undefined;
|
|
12461
12512
|
}>, {
|
|
12462
12513
|
bps: number;
|
|
12463
|
-
type:
|
|
12514
|
+
type: "LinearFee";
|
|
12464
12515
|
owner: string;
|
|
12516
|
+
beneficiary?: string | undefined;
|
|
12465
12517
|
maxFee?: bigint | undefined;
|
|
12466
12518
|
halfAmount?: bigint | undefined;
|
|
12467
12519
|
}, {
|
|
12468
|
-
type:
|
|
12520
|
+
type: "LinearFee";
|
|
12469
12521
|
owner: string;
|
|
12522
|
+
beneficiary?: string | undefined;
|
|
12470
12523
|
maxFee?: string | number | bigint | undefined;
|
|
12471
12524
|
halfAmount?: string | number | bigint | undefined;
|
|
12472
12525
|
bps?: string | number | undefined;
|
|
12473
12526
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
12474
12527
|
owner: z.ZodString;
|
|
12528
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12475
12529
|
} & {
|
|
12476
12530
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12477
12531
|
} & {
|
|
12478
12532
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12479
12533
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12480
|
-
type: z.ZodLiteral<
|
|
12534
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
12481
12535
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
12482
12536
|
}, "strip", z.ZodTypeAny, {
|
|
12483
|
-
type:
|
|
12537
|
+
type: "OffchainQuotedLinearFee";
|
|
12484
12538
|
owner: string;
|
|
12539
|
+
beneficiary?: string | undefined;
|
|
12485
12540
|
maxFee?: bigint | undefined;
|
|
12486
12541
|
halfAmount?: bigint | undefined;
|
|
12487
12542
|
bps?: number | undefined;
|
|
12488
12543
|
quoteSigners?: string[] | undefined;
|
|
12489
12544
|
}, {
|
|
12490
|
-
type:
|
|
12545
|
+
type: "OffchainQuotedLinearFee";
|
|
12491
12546
|
owner: string;
|
|
12547
|
+
beneficiary?: string | undefined;
|
|
12492
12548
|
maxFee?: string | number | bigint | undefined;
|
|
12493
12549
|
halfAmount?: string | number | bigint | undefined;
|
|
12494
12550
|
bps?: string | number | undefined;
|
|
12495
12551
|
quoteSigners?: string[] | undefined;
|
|
12496
12552
|
}>, {
|
|
12497
|
-
type:
|
|
12553
|
+
type: "OffchainQuotedLinearFee";
|
|
12498
12554
|
owner: string;
|
|
12555
|
+
beneficiary?: string | undefined;
|
|
12499
12556
|
maxFee?: bigint | undefined;
|
|
12500
12557
|
halfAmount?: bigint | undefined;
|
|
12501
12558
|
bps?: number | undefined;
|
|
12502
12559
|
quoteSigners?: string[] | undefined;
|
|
12503
12560
|
}, {
|
|
12504
|
-
type:
|
|
12561
|
+
type: "OffchainQuotedLinearFee";
|
|
12505
12562
|
owner: string;
|
|
12563
|
+
beneficiary?: string | undefined;
|
|
12506
12564
|
maxFee?: string | number | bigint | undefined;
|
|
12507
12565
|
halfAmount?: string | number | bigint | undefined;
|
|
12508
12566
|
bps?: string | number | undefined;
|
|
12509
12567
|
quoteSigners?: string[] | undefined;
|
|
12510
12568
|
}>, {
|
|
12511
12569
|
bps: number;
|
|
12512
|
-
type:
|
|
12570
|
+
type: "OffchainQuotedLinearFee";
|
|
12513
12571
|
owner: string;
|
|
12572
|
+
beneficiary?: string | undefined;
|
|
12514
12573
|
maxFee?: bigint | undefined;
|
|
12515
12574
|
halfAmount?: bigint | undefined;
|
|
12516
12575
|
quoteSigners?: string[] | undefined;
|
|
12517
12576
|
}, {
|
|
12518
|
-
type:
|
|
12577
|
+
type: "OffchainQuotedLinearFee";
|
|
12519
12578
|
owner: string;
|
|
12579
|
+
beneficiary?: string | undefined;
|
|
12520
12580
|
maxFee?: string | number | bigint | undefined;
|
|
12521
12581
|
halfAmount?: string | number | bigint | undefined;
|
|
12522
12582
|
bps?: string | number | undefined;
|
|
12523
12583
|
quoteSigners?: string[] | undefined;
|
|
12524
12584
|
}>, z.ZodEffects<z.ZodObject<{
|
|
12525
12585
|
owner: z.ZodString;
|
|
12586
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12526
12587
|
} & {
|
|
12527
|
-
type: z.ZodLiteral<
|
|
12588
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
12528
12589
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
12529
12590
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
12530
12591
|
}, "strip", z.ZodTypeAny, {
|
|
12531
|
-
type:
|
|
12592
|
+
type: "ProgressiveFee";
|
|
12532
12593
|
owner: string;
|
|
12533
12594
|
maxFee: bigint;
|
|
12534
12595
|
halfAmount: bigint;
|
|
12596
|
+
beneficiary?: string | undefined;
|
|
12535
12597
|
}, {
|
|
12536
|
-
type:
|
|
12598
|
+
type: "ProgressiveFee";
|
|
12537
12599
|
owner: string;
|
|
12538
12600
|
maxFee: string | number | bigint;
|
|
12539
12601
|
halfAmount: string | number | bigint;
|
|
12602
|
+
beneficiary?: string | undefined;
|
|
12540
12603
|
}>, {
|
|
12541
|
-
type:
|
|
12604
|
+
type: "ProgressiveFee";
|
|
12542
12605
|
owner: string;
|
|
12543
12606
|
maxFee: bigint;
|
|
12544
12607
|
halfAmount: bigint;
|
|
12608
|
+
beneficiary?: string | undefined;
|
|
12545
12609
|
}, {
|
|
12546
|
-
type:
|
|
12610
|
+
type: "ProgressiveFee";
|
|
12547
12611
|
owner: string;
|
|
12548
12612
|
maxFee: string | number | bigint;
|
|
12549
12613
|
halfAmount: string | number | bigint;
|
|
12614
|
+
beneficiary?: string | undefined;
|
|
12550
12615
|
}>, z.ZodEffects<z.ZodObject<{
|
|
12551
12616
|
owner: z.ZodString;
|
|
12617
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12552
12618
|
} & {
|
|
12553
|
-
type: z.ZodLiteral<
|
|
12619
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
12554
12620
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
12555
12621
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
12556
12622
|
}, "strip", z.ZodTypeAny, {
|
|
12557
|
-
type:
|
|
12623
|
+
type: "RegressiveFee";
|
|
12558
12624
|
owner: string;
|
|
12559
12625
|
maxFee: bigint;
|
|
12560
12626
|
halfAmount: bigint;
|
|
12627
|
+
beneficiary?: string | undefined;
|
|
12561
12628
|
}, {
|
|
12562
|
-
type:
|
|
12629
|
+
type: "RegressiveFee";
|
|
12563
12630
|
owner: string;
|
|
12564
12631
|
maxFee: string | number | bigint;
|
|
12565
12632
|
halfAmount: string | number | bigint;
|
|
12633
|
+
beneficiary?: string | undefined;
|
|
12566
12634
|
}>, {
|
|
12567
|
-
type:
|
|
12635
|
+
type: "RegressiveFee";
|
|
12568
12636
|
owner: string;
|
|
12569
12637
|
maxFee: bigint;
|
|
12570
12638
|
halfAmount: bigint;
|
|
12639
|
+
beneficiary?: string | undefined;
|
|
12571
12640
|
}, {
|
|
12572
|
-
type:
|
|
12641
|
+
type: "RegressiveFee";
|
|
12573
12642
|
owner: string;
|
|
12574
12643
|
maxFee: string | number | bigint;
|
|
12575
12644
|
halfAmount: string | number | bigint;
|
|
12645
|
+
beneficiary?: string | undefined;
|
|
12576
12646
|
}>, z.ZodEffects<z.ZodObject<{
|
|
12577
12647
|
owner: z.ZodString;
|
|
12648
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12578
12649
|
} & {
|
|
12579
|
-
type: z.ZodLiteral<
|
|
12650
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
12580
12651
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
12581
12652
|
}, "strip", z.ZodTypeAny, {
|
|
12582
|
-
type:
|
|
12653
|
+
type: "RoutingFee";
|
|
12583
12654
|
owner: string;
|
|
12584
12655
|
feeContracts: Record<string, any>;
|
|
12656
|
+
beneficiary?: string | undefined;
|
|
12585
12657
|
}, {
|
|
12586
|
-
type:
|
|
12658
|
+
type: "RoutingFee";
|
|
12587
12659
|
owner: string;
|
|
12588
12660
|
feeContracts: Record<string, any>;
|
|
12661
|
+
beneficiary?: string | undefined;
|
|
12589
12662
|
}>, {
|
|
12590
|
-
type:
|
|
12663
|
+
type: "RoutingFee";
|
|
12591
12664
|
owner: string;
|
|
12592
12665
|
feeContracts: Record<string, any>;
|
|
12666
|
+
beneficiary?: string | undefined;
|
|
12593
12667
|
}, {
|
|
12594
|
-
type:
|
|
12668
|
+
type: "RoutingFee";
|
|
12595
12669
|
owner: string;
|
|
12596
12670
|
feeContracts: Record<string, any>;
|
|
12671
|
+
beneficiary?: string | undefined;
|
|
12597
12672
|
}>, z.ZodEffects<z.ZodObject<{
|
|
12598
12673
|
owner: z.ZodString;
|
|
12674
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12599
12675
|
} & {
|
|
12600
|
-
type: z.ZodLiteral<
|
|
12676
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
12601
12677
|
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>>>;
|
|
12602
12678
|
}, "strip", z.ZodTypeAny, {
|
|
12603
|
-
type:
|
|
12679
|
+
type: "CrossCollateralRoutingFee";
|
|
12604
12680
|
owner: string;
|
|
12605
12681
|
feeContracts: Record<string, Record<string, any>>;
|
|
12682
|
+
beneficiary?: string | undefined;
|
|
12606
12683
|
}, {
|
|
12607
|
-
type:
|
|
12684
|
+
type: "CrossCollateralRoutingFee";
|
|
12608
12685
|
owner: string;
|
|
12609
12686
|
feeContracts: Record<string, Record<string, any>>;
|
|
12687
|
+
beneficiary?: string | undefined;
|
|
12610
12688
|
}>, {
|
|
12611
|
-
type:
|
|
12689
|
+
type: "CrossCollateralRoutingFee";
|
|
12612
12690
|
owner: string;
|
|
12613
12691
|
feeContracts: Record<string, Record<string, any>>;
|
|
12692
|
+
beneficiary?: string | undefined;
|
|
12614
12693
|
}, {
|
|
12615
|
-
type:
|
|
12694
|
+
type: "CrossCollateralRoutingFee";
|
|
12616
12695
|
owner: string;
|
|
12617
12696
|
feeContracts: Record<string, Record<string, any>>;
|
|
12697
|
+
beneficiary?: string | undefined;
|
|
12618
12698
|
}>]>>;
|
|
12619
12699
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
12620
12700
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
12701
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
12621
12702
|
} & {
|
|
12622
12703
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
12623
12704
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12656,17 +12737,12 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12656
12737
|
gasPrice: string;
|
|
12657
12738
|
tokenExchangeRate: string;
|
|
12658
12739
|
tokenDecimals?: number | undefined;
|
|
12659
|
-
typicalCost?: {
|
|
12660
|
-
handleGasAmount: number;
|
|
12661
|
-
totalGasAmount: number;
|
|
12662
|
-
totalUsdCost: number;
|
|
12663
|
-
} | undefined;
|
|
12664
12740
|
}>> | undefined;
|
|
12665
12741
|
} | {
|
|
12666
12742
|
type: "protocolFee";
|
|
12667
12743
|
owner: string;
|
|
12668
|
-
protocolFee: string;
|
|
12669
12744
|
beneficiary: string;
|
|
12745
|
+
protocolFee: string;
|
|
12670
12746
|
maxProtocolFee: string;
|
|
12671
12747
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12672
12748
|
} | {
|
|
@@ -12743,7 +12819,15 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12743
12819
|
owner: string;
|
|
12744
12820
|
urls: string[];
|
|
12745
12821
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12746
|
-
} |
|
|
12822
|
+
} | ({
|
|
12823
|
+
owner: string;
|
|
12824
|
+
paused: boolean;
|
|
12825
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
12826
|
+
} & {
|
|
12827
|
+
type: "pausableIsm";
|
|
12828
|
+
} & {
|
|
12829
|
+
address: string;
|
|
12830
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
12747
12831
|
type: z.ZodLiteral<"unknownIsm">;
|
|
12748
12832
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
12749
12833
|
foreignDeployment?: string | undefined;
|
|
@@ -12752,37 +12836,44 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12752
12836
|
}> | undefined;
|
|
12753
12837
|
tokenFee?: {
|
|
12754
12838
|
bps: number;
|
|
12755
|
-
type:
|
|
12839
|
+
type: "LinearFee";
|
|
12756
12840
|
owner: string;
|
|
12841
|
+
beneficiary?: string | undefined;
|
|
12757
12842
|
maxFee?: bigint | undefined;
|
|
12758
12843
|
halfAmount?: bigint | undefined;
|
|
12759
12844
|
} | {
|
|
12760
12845
|
bps: number;
|
|
12761
|
-
type:
|
|
12846
|
+
type: "OffchainQuotedLinearFee";
|
|
12762
12847
|
owner: string;
|
|
12848
|
+
beneficiary?: string | undefined;
|
|
12763
12849
|
maxFee?: bigint | undefined;
|
|
12764
12850
|
halfAmount?: bigint | undefined;
|
|
12765
12851
|
quoteSigners?: string[] | undefined;
|
|
12766
12852
|
} | {
|
|
12767
|
-
type:
|
|
12853
|
+
type: "ProgressiveFee";
|
|
12768
12854
|
owner: string;
|
|
12769
12855
|
maxFee: bigint;
|
|
12770
12856
|
halfAmount: bigint;
|
|
12857
|
+
beneficiary?: string | undefined;
|
|
12771
12858
|
} | {
|
|
12772
|
-
type:
|
|
12859
|
+
type: "RegressiveFee";
|
|
12773
12860
|
owner: string;
|
|
12774
12861
|
maxFee: bigint;
|
|
12775
12862
|
halfAmount: bigint;
|
|
12863
|
+
beneficiary?: string | undefined;
|
|
12776
12864
|
} | {
|
|
12777
|
-
type:
|
|
12865
|
+
type: "RoutingFee";
|
|
12778
12866
|
owner: string;
|
|
12779
12867
|
feeContracts: Record<string, any>;
|
|
12868
|
+
beneficiary?: string | undefined;
|
|
12780
12869
|
} | {
|
|
12781
|
-
type:
|
|
12870
|
+
type: "CrossCollateralRoutingFee";
|
|
12782
12871
|
owner: string;
|
|
12783
12872
|
feeContracts: Record<string, Record<string, any>>;
|
|
12873
|
+
beneficiary?: string | undefined;
|
|
12784
12874
|
} | undefined;
|
|
12785
12875
|
destinationGas?: Record<string | number, string> | undefined;
|
|
12876
|
+
feeHook?: string | undefined;
|
|
12786
12877
|
}, {
|
|
12787
12878
|
owner: string;
|
|
12788
12879
|
gas?: number | undefined;
|
|
@@ -12819,17 +12910,12 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12819
12910
|
gasPrice: string;
|
|
12820
12911
|
tokenExchangeRate: string;
|
|
12821
12912
|
tokenDecimals?: number | undefined;
|
|
12822
|
-
typicalCost?: {
|
|
12823
|
-
handleGasAmount: number;
|
|
12824
|
-
totalGasAmount: number;
|
|
12825
|
-
totalUsdCost: number;
|
|
12826
|
-
} | undefined;
|
|
12827
12913
|
}>> | undefined;
|
|
12828
12914
|
} | {
|
|
12829
12915
|
type: "protocolFee";
|
|
12830
12916
|
owner: string;
|
|
12831
|
-
protocolFee: string;
|
|
12832
12917
|
beneficiary: string;
|
|
12918
|
+
protocolFee: string;
|
|
12833
12919
|
maxProtocolFee: string;
|
|
12834
12920
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12835
12921
|
} | {
|
|
@@ -12906,7 +12992,15 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12906
12992
|
owner: string;
|
|
12907
12993
|
urls: string[];
|
|
12908
12994
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12909
|
-
} | {
|
|
12995
|
+
} | ({
|
|
12996
|
+
owner: string;
|
|
12997
|
+
paused: boolean;
|
|
12998
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
12999
|
+
} & {
|
|
13000
|
+
type: "pausableIsm";
|
|
13001
|
+
} & {
|
|
13002
|
+
address: string;
|
|
13003
|
+
}) | {
|
|
12910
13004
|
type: "interchainAccountRouting";
|
|
12911
13005
|
owner: string;
|
|
12912
13006
|
isms: Record<string, string>;
|
|
@@ -12919,38 +13013,45 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodInterse
|
|
|
12919
13013
|
address: string;
|
|
12920
13014
|
}> | undefined;
|
|
12921
13015
|
tokenFee?: {
|
|
12922
|
-
type:
|
|
13016
|
+
type: "LinearFee";
|
|
12923
13017
|
owner: string;
|
|
13018
|
+
beneficiary?: string | undefined;
|
|
12924
13019
|
maxFee?: string | number | bigint | undefined;
|
|
12925
13020
|
halfAmount?: string | number | bigint | undefined;
|
|
12926
13021
|
bps?: string | number | undefined;
|
|
12927
13022
|
} | {
|
|
12928
|
-
type:
|
|
13023
|
+
type: "OffchainQuotedLinearFee";
|
|
12929
13024
|
owner: string;
|
|
13025
|
+
beneficiary?: string | undefined;
|
|
12930
13026
|
maxFee?: string | number | bigint | undefined;
|
|
12931
13027
|
halfAmount?: string | number | bigint | undefined;
|
|
12932
13028
|
bps?: string | number | undefined;
|
|
12933
13029
|
quoteSigners?: string[] | undefined;
|
|
12934
13030
|
} | {
|
|
12935
|
-
type:
|
|
13031
|
+
type: "ProgressiveFee";
|
|
12936
13032
|
owner: string;
|
|
12937
13033
|
maxFee: string | number | bigint;
|
|
12938
13034
|
halfAmount: string | number | bigint;
|
|
13035
|
+
beneficiary?: string | undefined;
|
|
12939
13036
|
} | {
|
|
12940
|
-
type:
|
|
13037
|
+
type: "RegressiveFee";
|
|
12941
13038
|
owner: string;
|
|
12942
13039
|
maxFee: string | number | bigint;
|
|
12943
13040
|
halfAmount: string | number | bigint;
|
|
13041
|
+
beneficiary?: string | undefined;
|
|
12944
13042
|
} | {
|
|
12945
|
-
type:
|
|
13043
|
+
type: "RoutingFee";
|
|
12946
13044
|
owner: string;
|
|
12947
13045
|
feeContracts: Record<string, any>;
|
|
13046
|
+
beneficiary?: string | undefined;
|
|
12948
13047
|
} | {
|
|
12949
|
-
type:
|
|
13048
|
+
type: "CrossCollateralRoutingFee";
|
|
12950
13049
|
owner: string;
|
|
12951
13050
|
feeContracts: Record<string, Record<string, any>>;
|
|
13051
|
+
beneficiary?: string | undefined;
|
|
12952
13052
|
} | undefined;
|
|
12953
13053
|
destinationGas?: Record<string | number, string> | undefined;
|
|
13054
|
+
feeHook?: string | undefined;
|
|
12954
13055
|
}>>, z.ZodObject<{
|
|
12955
13056
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
12956
13057
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -15011,15 +15112,15 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15011
15112
|
}, "strip", z.ZodTypeAny, {
|
|
15012
15113
|
type: "protocolFee";
|
|
15013
15114
|
owner: string;
|
|
15014
|
-
protocolFee: string;
|
|
15015
15115
|
beneficiary: string;
|
|
15116
|
+
protocolFee: string;
|
|
15016
15117
|
maxProtocolFee: string;
|
|
15017
15118
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15018
15119
|
}, {
|
|
15019
15120
|
type: "protocolFee";
|
|
15020
15121
|
owner: string;
|
|
15021
|
-
protocolFee: string;
|
|
15022
15122
|
beneficiary: string;
|
|
15123
|
+
protocolFee: string;
|
|
15023
15124
|
maxProtocolFee: string;
|
|
15024
15125
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15025
15126
|
}>, z.ZodObject<{
|
|
@@ -15118,38 +15219,14 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15118
15219
|
tokenExchangeRate: z.ZodString;
|
|
15119
15220
|
} & {
|
|
15120
15221
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
15121
|
-
} & {
|
|
15122
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
15123
|
-
handleGasAmount: z.ZodNumber;
|
|
15124
|
-
totalGasAmount: z.ZodNumber;
|
|
15125
|
-
totalUsdCost: z.ZodNumber;
|
|
15126
|
-
}, "strip", z.ZodTypeAny, {
|
|
15127
|
-
handleGasAmount: number;
|
|
15128
|
-
totalGasAmount: number;
|
|
15129
|
-
totalUsdCost: number;
|
|
15130
|
-
}, {
|
|
15131
|
-
handleGasAmount: number;
|
|
15132
|
-
totalGasAmount: number;
|
|
15133
|
-
totalUsdCost: number;
|
|
15134
|
-
}>>;
|
|
15135
15222
|
}, "strip", z.ZodTypeAny, {
|
|
15136
15223
|
gasPrice: string;
|
|
15137
15224
|
tokenExchangeRate: string;
|
|
15138
15225
|
tokenDecimals?: number | undefined;
|
|
15139
|
-
typicalCost?: {
|
|
15140
|
-
handleGasAmount: number;
|
|
15141
|
-
totalGasAmount: number;
|
|
15142
|
-
totalUsdCost: number;
|
|
15143
|
-
} | undefined;
|
|
15144
15226
|
}, {
|
|
15145
15227
|
gasPrice: string;
|
|
15146
15228
|
tokenExchangeRate: string;
|
|
15147
15229
|
tokenDecimals?: number | undefined;
|
|
15148
|
-
typicalCost?: {
|
|
15149
|
-
handleGasAmount: number;
|
|
15150
|
-
totalGasAmount: number;
|
|
15151
|
-
totalUsdCost: number;
|
|
15152
|
-
} | undefined;
|
|
15153
15230
|
}>>>>;
|
|
15154
15231
|
}, "strip", z.ZodTypeAny, {
|
|
15155
15232
|
type: "interchainGasPaymaster";
|
|
@@ -15175,11 +15252,6 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15175
15252
|
gasPrice: string;
|
|
15176
15253
|
tokenExchangeRate: string;
|
|
15177
15254
|
tokenDecimals?: number | undefined;
|
|
15178
|
-
typicalCost?: {
|
|
15179
|
-
handleGasAmount: number;
|
|
15180
|
-
totalGasAmount: number;
|
|
15181
|
-
totalUsdCost: number;
|
|
15182
|
-
} | undefined;
|
|
15183
15255
|
}>> | undefined;
|
|
15184
15256
|
}, {
|
|
15185
15257
|
type: "interchainGasPaymaster";
|
|
@@ -15205,11 +15277,6 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15205
15277
|
gasPrice: string;
|
|
15206
15278
|
tokenExchangeRate: string;
|
|
15207
15279
|
tokenDecimals?: number | undefined;
|
|
15208
|
-
typicalCost?: {
|
|
15209
|
-
handleGasAmount: number;
|
|
15210
|
-
totalGasAmount: number;
|
|
15211
|
-
totalUsdCost: number;
|
|
15212
|
-
} | undefined;
|
|
15213
15280
|
}>> | undefined;
|
|
15214
15281
|
}>, 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<{
|
|
15215
15282
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -15305,7 +15372,32 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15305
15372
|
type: "opStackIsm";
|
|
15306
15373
|
origin: string;
|
|
15307
15374
|
nativeBridge: string;
|
|
15308
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
15375
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
15376
|
+
owner: z.ZodString;
|
|
15377
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
15378
|
+
} & {
|
|
15379
|
+
paused: z.ZodBoolean;
|
|
15380
|
+
}, "strip", z.ZodTypeAny, {
|
|
15381
|
+
owner: string;
|
|
15382
|
+
paused: boolean;
|
|
15383
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
15384
|
+
}, {
|
|
15385
|
+
owner: string;
|
|
15386
|
+
paused: boolean;
|
|
15387
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
15388
|
+
}>, z.ZodObject<{
|
|
15389
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
15390
|
+
}, "strip", z.ZodTypeAny, {
|
|
15391
|
+
type: "pausableIsm";
|
|
15392
|
+
}, {
|
|
15393
|
+
type: "pausableIsm";
|
|
15394
|
+
}>>, z.ZodObject<{
|
|
15395
|
+
address: z.ZodString;
|
|
15396
|
+
}, "strip", z.ZodTypeAny, {
|
|
15397
|
+
address: string;
|
|
15398
|
+
}, {
|
|
15399
|
+
address: string;
|
|
15400
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
15309
15401
|
owner: z.ZodString;
|
|
15310
15402
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
15311
15403
|
} & {
|
|
@@ -15494,195 +15586,230 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15494
15586
|
}>>;
|
|
15495
15587
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
15496
15588
|
owner: z.ZodString;
|
|
15589
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15497
15590
|
} & {
|
|
15498
15591
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
15499
15592
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
15500
|
-
type: z.ZodLiteral<
|
|
15593
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
15501
15594
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
15502
15595
|
}, "strip", z.ZodTypeAny, {
|
|
15503
|
-
type:
|
|
15596
|
+
type: "LinearFee";
|
|
15504
15597
|
owner: string;
|
|
15598
|
+
beneficiary?: string | undefined;
|
|
15505
15599
|
maxFee?: bigint | undefined;
|
|
15506
15600
|
halfAmount?: bigint | undefined;
|
|
15507
15601
|
bps?: number | undefined;
|
|
15508
15602
|
}, {
|
|
15509
|
-
type:
|
|
15603
|
+
type: "LinearFee";
|
|
15510
15604
|
owner: string;
|
|
15605
|
+
beneficiary?: string | undefined;
|
|
15511
15606
|
maxFee?: string | number | bigint | undefined;
|
|
15512
15607
|
halfAmount?: string | number | bigint | undefined;
|
|
15513
15608
|
bps?: string | number | undefined;
|
|
15514
15609
|
}>, {
|
|
15515
|
-
type:
|
|
15610
|
+
type: "LinearFee";
|
|
15516
15611
|
owner: string;
|
|
15612
|
+
beneficiary?: string | undefined;
|
|
15517
15613
|
maxFee?: bigint | undefined;
|
|
15518
15614
|
halfAmount?: bigint | undefined;
|
|
15519
15615
|
bps?: number | undefined;
|
|
15520
15616
|
}, {
|
|
15521
|
-
type:
|
|
15617
|
+
type: "LinearFee";
|
|
15522
15618
|
owner: string;
|
|
15619
|
+
beneficiary?: string | undefined;
|
|
15523
15620
|
maxFee?: string | number | bigint | undefined;
|
|
15524
15621
|
halfAmount?: string | number | bigint | undefined;
|
|
15525
15622
|
bps?: string | number | undefined;
|
|
15526
15623
|
}>, {
|
|
15527
15624
|
bps: number;
|
|
15528
|
-
type:
|
|
15625
|
+
type: "LinearFee";
|
|
15529
15626
|
owner: string;
|
|
15627
|
+
beneficiary?: string | undefined;
|
|
15530
15628
|
maxFee?: bigint | undefined;
|
|
15531
15629
|
halfAmount?: bigint | undefined;
|
|
15532
15630
|
}, {
|
|
15533
|
-
type:
|
|
15631
|
+
type: "LinearFee";
|
|
15534
15632
|
owner: string;
|
|
15633
|
+
beneficiary?: string | undefined;
|
|
15535
15634
|
maxFee?: string | number | bigint | undefined;
|
|
15536
15635
|
halfAmount?: string | number | bigint | undefined;
|
|
15537
15636
|
bps?: string | number | undefined;
|
|
15538
15637
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
15539
15638
|
owner: z.ZodString;
|
|
15639
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15540
15640
|
} & {
|
|
15541
15641
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15542
15642
|
} & {
|
|
15543
15643
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
15544
15644
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
15545
|
-
type: z.ZodLiteral<
|
|
15645
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
15546
15646
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
15547
15647
|
}, "strip", z.ZodTypeAny, {
|
|
15548
|
-
type:
|
|
15648
|
+
type: "OffchainQuotedLinearFee";
|
|
15549
15649
|
owner: string;
|
|
15650
|
+
beneficiary?: string | undefined;
|
|
15550
15651
|
maxFee?: bigint | undefined;
|
|
15551
15652
|
halfAmount?: bigint | undefined;
|
|
15552
15653
|
bps?: number | undefined;
|
|
15553
15654
|
quoteSigners?: string[] | undefined;
|
|
15554
15655
|
}, {
|
|
15555
|
-
type:
|
|
15656
|
+
type: "OffchainQuotedLinearFee";
|
|
15556
15657
|
owner: string;
|
|
15658
|
+
beneficiary?: string | undefined;
|
|
15557
15659
|
maxFee?: string | number | bigint | undefined;
|
|
15558
15660
|
halfAmount?: string | number | bigint | undefined;
|
|
15559
15661
|
bps?: string | number | undefined;
|
|
15560
15662
|
quoteSigners?: string[] | undefined;
|
|
15561
15663
|
}>, {
|
|
15562
|
-
type:
|
|
15664
|
+
type: "OffchainQuotedLinearFee";
|
|
15563
15665
|
owner: string;
|
|
15666
|
+
beneficiary?: string | undefined;
|
|
15564
15667
|
maxFee?: bigint | undefined;
|
|
15565
15668
|
halfAmount?: bigint | undefined;
|
|
15566
15669
|
bps?: number | undefined;
|
|
15567
15670
|
quoteSigners?: string[] | undefined;
|
|
15568
15671
|
}, {
|
|
15569
|
-
type:
|
|
15672
|
+
type: "OffchainQuotedLinearFee";
|
|
15570
15673
|
owner: string;
|
|
15674
|
+
beneficiary?: string | undefined;
|
|
15571
15675
|
maxFee?: string | number | bigint | undefined;
|
|
15572
15676
|
halfAmount?: string | number | bigint | undefined;
|
|
15573
15677
|
bps?: string | number | undefined;
|
|
15574
15678
|
quoteSigners?: string[] | undefined;
|
|
15575
15679
|
}>, {
|
|
15576
15680
|
bps: number;
|
|
15577
|
-
type:
|
|
15681
|
+
type: "OffchainQuotedLinearFee";
|
|
15578
15682
|
owner: string;
|
|
15683
|
+
beneficiary?: string | undefined;
|
|
15579
15684
|
maxFee?: bigint | undefined;
|
|
15580
15685
|
halfAmount?: bigint | undefined;
|
|
15581
15686
|
quoteSigners?: string[] | undefined;
|
|
15582
15687
|
}, {
|
|
15583
|
-
type:
|
|
15688
|
+
type: "OffchainQuotedLinearFee";
|
|
15584
15689
|
owner: string;
|
|
15690
|
+
beneficiary?: string | undefined;
|
|
15585
15691
|
maxFee?: string | number | bigint | undefined;
|
|
15586
15692
|
halfAmount?: string | number | bigint | undefined;
|
|
15587
15693
|
bps?: string | number | undefined;
|
|
15588
15694
|
quoteSigners?: string[] | undefined;
|
|
15589
15695
|
}>, z.ZodEffects<z.ZodObject<{
|
|
15590
15696
|
owner: z.ZodString;
|
|
15697
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15591
15698
|
} & {
|
|
15592
|
-
type: z.ZodLiteral<
|
|
15699
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
15593
15700
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
15594
15701
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
15595
15702
|
}, "strip", z.ZodTypeAny, {
|
|
15596
|
-
type:
|
|
15703
|
+
type: "ProgressiveFee";
|
|
15597
15704
|
owner: string;
|
|
15598
15705
|
maxFee: bigint;
|
|
15599
15706
|
halfAmount: bigint;
|
|
15707
|
+
beneficiary?: string | undefined;
|
|
15600
15708
|
}, {
|
|
15601
|
-
type:
|
|
15709
|
+
type: "ProgressiveFee";
|
|
15602
15710
|
owner: string;
|
|
15603
15711
|
maxFee: string | number | bigint;
|
|
15604
15712
|
halfAmount: string | number | bigint;
|
|
15713
|
+
beneficiary?: string | undefined;
|
|
15605
15714
|
}>, {
|
|
15606
|
-
type:
|
|
15715
|
+
type: "ProgressiveFee";
|
|
15607
15716
|
owner: string;
|
|
15608
15717
|
maxFee: bigint;
|
|
15609
15718
|
halfAmount: bigint;
|
|
15719
|
+
beneficiary?: string | undefined;
|
|
15610
15720
|
}, {
|
|
15611
|
-
type:
|
|
15721
|
+
type: "ProgressiveFee";
|
|
15612
15722
|
owner: string;
|
|
15613
15723
|
maxFee: string | number | bigint;
|
|
15614
15724
|
halfAmount: string | number | bigint;
|
|
15725
|
+
beneficiary?: string | undefined;
|
|
15615
15726
|
}>, z.ZodEffects<z.ZodObject<{
|
|
15616
15727
|
owner: z.ZodString;
|
|
15728
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15617
15729
|
} & {
|
|
15618
|
-
type: z.ZodLiteral<
|
|
15730
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
15619
15731
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
15620
15732
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
15621
15733
|
}, "strip", z.ZodTypeAny, {
|
|
15622
|
-
type:
|
|
15734
|
+
type: "RegressiveFee";
|
|
15623
15735
|
owner: string;
|
|
15624
15736
|
maxFee: bigint;
|
|
15625
15737
|
halfAmount: bigint;
|
|
15738
|
+
beneficiary?: string | undefined;
|
|
15626
15739
|
}, {
|
|
15627
|
-
type:
|
|
15740
|
+
type: "RegressiveFee";
|
|
15628
15741
|
owner: string;
|
|
15629
15742
|
maxFee: string | number | bigint;
|
|
15630
15743
|
halfAmount: string | number | bigint;
|
|
15744
|
+
beneficiary?: string | undefined;
|
|
15631
15745
|
}>, {
|
|
15632
|
-
type:
|
|
15746
|
+
type: "RegressiveFee";
|
|
15633
15747
|
owner: string;
|
|
15634
15748
|
maxFee: bigint;
|
|
15635
15749
|
halfAmount: bigint;
|
|
15750
|
+
beneficiary?: string | undefined;
|
|
15636
15751
|
}, {
|
|
15637
|
-
type:
|
|
15752
|
+
type: "RegressiveFee";
|
|
15638
15753
|
owner: string;
|
|
15639
15754
|
maxFee: string | number | bigint;
|
|
15640
15755
|
halfAmount: string | number | bigint;
|
|
15756
|
+
beneficiary?: string | undefined;
|
|
15641
15757
|
}>, z.ZodEffects<z.ZodObject<{
|
|
15642
15758
|
owner: z.ZodString;
|
|
15759
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15643
15760
|
} & {
|
|
15644
|
-
type: z.ZodLiteral<
|
|
15761
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
15645
15762
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
15646
15763
|
}, "strip", z.ZodTypeAny, {
|
|
15647
|
-
type:
|
|
15764
|
+
type: "RoutingFee";
|
|
15648
15765
|
owner: string;
|
|
15649
15766
|
feeContracts: Record<string, any>;
|
|
15767
|
+
beneficiary?: string | undefined;
|
|
15650
15768
|
}, {
|
|
15651
|
-
type:
|
|
15769
|
+
type: "RoutingFee";
|
|
15652
15770
|
owner: string;
|
|
15653
15771
|
feeContracts: Record<string, any>;
|
|
15772
|
+
beneficiary?: string | undefined;
|
|
15654
15773
|
}>, {
|
|
15655
|
-
type:
|
|
15774
|
+
type: "RoutingFee";
|
|
15656
15775
|
owner: string;
|
|
15657
15776
|
feeContracts: Record<string, any>;
|
|
15777
|
+
beneficiary?: string | undefined;
|
|
15658
15778
|
}, {
|
|
15659
|
-
type:
|
|
15779
|
+
type: "RoutingFee";
|
|
15660
15780
|
owner: string;
|
|
15661
15781
|
feeContracts: Record<string, any>;
|
|
15782
|
+
beneficiary?: string | undefined;
|
|
15662
15783
|
}>, z.ZodEffects<z.ZodObject<{
|
|
15663
15784
|
owner: z.ZodString;
|
|
15785
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
15664
15786
|
} & {
|
|
15665
|
-
type: z.ZodLiteral<
|
|
15787
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
15666
15788
|
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>>>;
|
|
15667
15789
|
}, "strip", z.ZodTypeAny, {
|
|
15668
|
-
type:
|
|
15790
|
+
type: "CrossCollateralRoutingFee";
|
|
15669
15791
|
owner: string;
|
|
15670
15792
|
feeContracts: Record<string, Record<string, any>>;
|
|
15793
|
+
beneficiary?: string | undefined;
|
|
15671
15794
|
}, {
|
|
15672
|
-
type:
|
|
15795
|
+
type: "CrossCollateralRoutingFee";
|
|
15673
15796
|
owner: string;
|
|
15674
15797
|
feeContracts: Record<string, Record<string, any>>;
|
|
15798
|
+
beneficiary?: string | undefined;
|
|
15675
15799
|
}>, {
|
|
15676
|
-
type:
|
|
15800
|
+
type: "CrossCollateralRoutingFee";
|
|
15677
15801
|
owner: string;
|
|
15678
15802
|
feeContracts: Record<string, Record<string, any>>;
|
|
15803
|
+
beneficiary?: string | undefined;
|
|
15679
15804
|
}, {
|
|
15680
|
-
type:
|
|
15805
|
+
type: "CrossCollateralRoutingFee";
|
|
15681
15806
|
owner: string;
|
|
15682
15807
|
feeContracts: Record<string, Record<string, any>>;
|
|
15808
|
+
beneficiary?: string | undefined;
|
|
15683
15809
|
}>]>>;
|
|
15684
15810
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
15685
15811
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
15812
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
15686
15813
|
} & {
|
|
15687
15814
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
15688
15815
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15721,17 +15848,12 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15721
15848
|
gasPrice: string;
|
|
15722
15849
|
tokenExchangeRate: string;
|
|
15723
15850
|
tokenDecimals?: number | undefined;
|
|
15724
|
-
typicalCost?: {
|
|
15725
|
-
handleGasAmount: number;
|
|
15726
|
-
totalGasAmount: number;
|
|
15727
|
-
totalUsdCost: number;
|
|
15728
|
-
} | undefined;
|
|
15729
15851
|
}>> | undefined;
|
|
15730
15852
|
} | {
|
|
15731
15853
|
type: "protocolFee";
|
|
15732
15854
|
owner: string;
|
|
15733
|
-
protocolFee: string;
|
|
15734
15855
|
beneficiary: string;
|
|
15856
|
+
protocolFee: string;
|
|
15735
15857
|
maxProtocolFee: string;
|
|
15736
15858
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15737
15859
|
} | {
|
|
@@ -15808,7 +15930,15 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15808
15930
|
owner: string;
|
|
15809
15931
|
urls: string[];
|
|
15810
15932
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15811
|
-
} |
|
|
15933
|
+
} | ({
|
|
15934
|
+
owner: string;
|
|
15935
|
+
paused: boolean;
|
|
15936
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
15937
|
+
} & {
|
|
15938
|
+
type: "pausableIsm";
|
|
15939
|
+
} & {
|
|
15940
|
+
address: string;
|
|
15941
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
15812
15942
|
type: z.ZodLiteral<"unknownIsm">;
|
|
15813
15943
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15814
15944
|
foreignDeployment?: string | undefined;
|
|
@@ -15817,37 +15947,44 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15817
15947
|
}> | undefined;
|
|
15818
15948
|
tokenFee?: {
|
|
15819
15949
|
bps: number;
|
|
15820
|
-
type:
|
|
15950
|
+
type: "LinearFee";
|
|
15821
15951
|
owner: string;
|
|
15952
|
+
beneficiary?: string | undefined;
|
|
15822
15953
|
maxFee?: bigint | undefined;
|
|
15823
15954
|
halfAmount?: bigint | undefined;
|
|
15824
15955
|
} | {
|
|
15825
15956
|
bps: number;
|
|
15826
|
-
type:
|
|
15957
|
+
type: "OffchainQuotedLinearFee";
|
|
15827
15958
|
owner: string;
|
|
15959
|
+
beneficiary?: string | undefined;
|
|
15828
15960
|
maxFee?: bigint | undefined;
|
|
15829
15961
|
halfAmount?: bigint | undefined;
|
|
15830
15962
|
quoteSigners?: string[] | undefined;
|
|
15831
15963
|
} | {
|
|
15832
|
-
type:
|
|
15964
|
+
type: "ProgressiveFee";
|
|
15833
15965
|
owner: string;
|
|
15834
15966
|
maxFee: bigint;
|
|
15835
15967
|
halfAmount: bigint;
|
|
15968
|
+
beneficiary?: string | undefined;
|
|
15836
15969
|
} | {
|
|
15837
|
-
type:
|
|
15970
|
+
type: "RegressiveFee";
|
|
15838
15971
|
owner: string;
|
|
15839
15972
|
maxFee: bigint;
|
|
15840
15973
|
halfAmount: bigint;
|
|
15974
|
+
beneficiary?: string | undefined;
|
|
15841
15975
|
} | {
|
|
15842
|
-
type:
|
|
15976
|
+
type: "RoutingFee";
|
|
15843
15977
|
owner: string;
|
|
15844
15978
|
feeContracts: Record<string, any>;
|
|
15979
|
+
beneficiary?: string | undefined;
|
|
15845
15980
|
} | {
|
|
15846
|
-
type:
|
|
15981
|
+
type: "CrossCollateralRoutingFee";
|
|
15847
15982
|
owner: string;
|
|
15848
15983
|
feeContracts: Record<string, Record<string, any>>;
|
|
15984
|
+
beneficiary?: string | undefined;
|
|
15849
15985
|
} | undefined;
|
|
15850
15986
|
destinationGas?: Record<string | number, string> | undefined;
|
|
15987
|
+
feeHook?: string | undefined;
|
|
15851
15988
|
}, {
|
|
15852
15989
|
owner: string;
|
|
15853
15990
|
gas?: number | undefined;
|
|
@@ -15884,17 +16021,12 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15884
16021
|
gasPrice: string;
|
|
15885
16022
|
tokenExchangeRate: string;
|
|
15886
16023
|
tokenDecimals?: number | undefined;
|
|
15887
|
-
typicalCost?: {
|
|
15888
|
-
handleGasAmount: number;
|
|
15889
|
-
totalGasAmount: number;
|
|
15890
|
-
totalUsdCost: number;
|
|
15891
|
-
} | undefined;
|
|
15892
16024
|
}>> | undefined;
|
|
15893
16025
|
} | {
|
|
15894
16026
|
type: "protocolFee";
|
|
15895
16027
|
owner: string;
|
|
15896
|
-
protocolFee: string;
|
|
15897
16028
|
beneficiary: string;
|
|
16029
|
+
protocolFee: string;
|
|
15898
16030
|
maxProtocolFee: string;
|
|
15899
16031
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15900
16032
|
} | {
|
|
@@ -15971,7 +16103,15 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15971
16103
|
owner: string;
|
|
15972
16104
|
urls: string[];
|
|
15973
16105
|
ownerOverrides?: Record<string, string> | undefined;
|
|
15974
|
-
} | {
|
|
16106
|
+
} | ({
|
|
16107
|
+
owner: string;
|
|
16108
|
+
paused: boolean;
|
|
16109
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
16110
|
+
} & {
|
|
16111
|
+
type: "pausableIsm";
|
|
16112
|
+
} & {
|
|
16113
|
+
address: string;
|
|
16114
|
+
}) | {
|
|
15975
16115
|
type: "interchainAccountRouting";
|
|
15976
16116
|
owner: string;
|
|
15977
16117
|
isms: Record<string, string>;
|
|
@@ -15984,38 +16124,45 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
15984
16124
|
address: string;
|
|
15985
16125
|
}> | undefined;
|
|
15986
16126
|
tokenFee?: {
|
|
15987
|
-
type:
|
|
16127
|
+
type: "LinearFee";
|
|
15988
16128
|
owner: string;
|
|
16129
|
+
beneficiary?: string | undefined;
|
|
15989
16130
|
maxFee?: string | number | bigint | undefined;
|
|
15990
16131
|
halfAmount?: string | number | bigint | undefined;
|
|
15991
16132
|
bps?: string | number | undefined;
|
|
15992
16133
|
} | {
|
|
15993
|
-
type:
|
|
16134
|
+
type: "OffchainQuotedLinearFee";
|
|
15994
16135
|
owner: string;
|
|
16136
|
+
beneficiary?: string | undefined;
|
|
15995
16137
|
maxFee?: string | number | bigint | undefined;
|
|
15996
16138
|
halfAmount?: string | number | bigint | undefined;
|
|
15997
16139
|
bps?: string | number | undefined;
|
|
15998
16140
|
quoteSigners?: string[] | undefined;
|
|
15999
16141
|
} | {
|
|
16000
|
-
type:
|
|
16142
|
+
type: "ProgressiveFee";
|
|
16001
16143
|
owner: string;
|
|
16002
16144
|
maxFee: string | number | bigint;
|
|
16003
16145
|
halfAmount: string | number | bigint;
|
|
16146
|
+
beneficiary?: string | undefined;
|
|
16004
16147
|
} | {
|
|
16005
|
-
type:
|
|
16148
|
+
type: "RegressiveFee";
|
|
16006
16149
|
owner: string;
|
|
16007
16150
|
maxFee: string | number | bigint;
|
|
16008
16151
|
halfAmount: string | number | bigint;
|
|
16152
|
+
beneficiary?: string | undefined;
|
|
16009
16153
|
} | {
|
|
16010
|
-
type:
|
|
16154
|
+
type: "RoutingFee";
|
|
16011
16155
|
owner: string;
|
|
16012
16156
|
feeContracts: Record<string, any>;
|
|
16157
|
+
beneficiary?: string | undefined;
|
|
16013
16158
|
} | {
|
|
16014
|
-
type:
|
|
16159
|
+
type: "CrossCollateralRoutingFee";
|
|
16015
16160
|
owner: string;
|
|
16016
16161
|
feeContracts: Record<string, Record<string, any>>;
|
|
16162
|
+
beneficiary?: string | undefined;
|
|
16017
16163
|
} | undefined;
|
|
16018
16164
|
destinationGas?: Record<string | number, string> | undefined;
|
|
16165
|
+
feeHook?: string | undefined;
|
|
16019
16166
|
}>>, z.ZodObject<{
|
|
16020
16167
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
16021
16168
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -16456,17 +16603,12 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
16456
16603
|
gasPrice: string;
|
|
16457
16604
|
tokenExchangeRate: string;
|
|
16458
16605
|
tokenDecimals?: number | undefined;
|
|
16459
|
-
typicalCost?: {
|
|
16460
|
-
handleGasAmount: number;
|
|
16461
|
-
totalGasAmount: number;
|
|
16462
|
-
totalUsdCost: number;
|
|
16463
|
-
} | undefined;
|
|
16464
16606
|
}>> | undefined;
|
|
16465
16607
|
} | {
|
|
16466
16608
|
type: "protocolFee";
|
|
16467
16609
|
owner: string;
|
|
16468
|
-
protocolFee: string;
|
|
16469
16610
|
beneficiary: string;
|
|
16611
|
+
protocolFee: string;
|
|
16470
16612
|
maxProtocolFee: string;
|
|
16471
16613
|
ownerOverrides?: Record<string, string> | undefined;
|
|
16472
16614
|
} | {
|
|
@@ -16543,7 +16685,15 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
16543
16685
|
owner: string;
|
|
16544
16686
|
urls: string[];
|
|
16545
16687
|
ownerOverrides?: Record<string, string> | undefined;
|
|
16546
|
-
} |
|
|
16688
|
+
} | ({
|
|
16689
|
+
owner: string;
|
|
16690
|
+
paused: boolean;
|
|
16691
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
16692
|
+
} & {
|
|
16693
|
+
type: "pausableIsm";
|
|
16694
|
+
} & {
|
|
16695
|
+
address: string;
|
|
16696
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
16547
16697
|
type: z.ZodLiteral<"unknownIsm">;
|
|
16548
16698
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
16549
16699
|
foreignDeployment?: string | undefined;
|
|
@@ -16552,37 +16702,44 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
16552
16702
|
}> | undefined;
|
|
16553
16703
|
tokenFee?: {
|
|
16554
16704
|
bps: number;
|
|
16555
|
-
type:
|
|
16705
|
+
type: "LinearFee";
|
|
16556
16706
|
owner: string;
|
|
16707
|
+
beneficiary?: string | undefined;
|
|
16557
16708
|
maxFee?: bigint | undefined;
|
|
16558
16709
|
halfAmount?: bigint | undefined;
|
|
16559
16710
|
} | {
|
|
16560
16711
|
bps: number;
|
|
16561
|
-
type:
|
|
16712
|
+
type: "OffchainQuotedLinearFee";
|
|
16562
16713
|
owner: string;
|
|
16714
|
+
beneficiary?: string | undefined;
|
|
16563
16715
|
maxFee?: bigint | undefined;
|
|
16564
16716
|
halfAmount?: bigint | undefined;
|
|
16565
16717
|
quoteSigners?: string[] | undefined;
|
|
16566
16718
|
} | {
|
|
16567
|
-
type:
|
|
16719
|
+
type: "ProgressiveFee";
|
|
16568
16720
|
owner: string;
|
|
16569
16721
|
maxFee: bigint;
|
|
16570
16722
|
halfAmount: bigint;
|
|
16723
|
+
beneficiary?: string | undefined;
|
|
16571
16724
|
} | {
|
|
16572
|
-
type:
|
|
16725
|
+
type: "RegressiveFee";
|
|
16573
16726
|
owner: string;
|
|
16574
16727
|
maxFee: bigint;
|
|
16575
16728
|
halfAmount: bigint;
|
|
16729
|
+
beneficiary?: string | undefined;
|
|
16576
16730
|
} | {
|
|
16577
|
-
type:
|
|
16731
|
+
type: "RoutingFee";
|
|
16578
16732
|
owner: string;
|
|
16579
16733
|
feeContracts: Record<string, any>;
|
|
16734
|
+
beneficiary?: string | undefined;
|
|
16580
16735
|
} | {
|
|
16581
|
-
type:
|
|
16736
|
+
type: "CrossCollateralRoutingFee";
|
|
16582
16737
|
owner: string;
|
|
16583
16738
|
feeContracts: Record<string, Record<string, any>>;
|
|
16739
|
+
beneficiary?: string | undefined;
|
|
16584
16740
|
} | undefined;
|
|
16585
16741
|
destinationGas?: Record<string | number, string> | undefined;
|
|
16742
|
+
feeHook?: string | undefined;
|
|
16586
16743
|
}) & {
|
|
16587
16744
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
16588
16745
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -18637,15 +18794,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18637
18794
|
}, "strip", z.ZodTypeAny, {
|
|
18638
18795
|
type: "protocolFee";
|
|
18639
18796
|
owner: string;
|
|
18640
|
-
protocolFee: string;
|
|
18641
18797
|
beneficiary: string;
|
|
18798
|
+
protocolFee: string;
|
|
18642
18799
|
maxProtocolFee: string;
|
|
18643
18800
|
ownerOverrides?: Record<string, string> | undefined;
|
|
18644
18801
|
}, {
|
|
18645
18802
|
type: "protocolFee";
|
|
18646
18803
|
owner: string;
|
|
18647
|
-
protocolFee: string;
|
|
18648
18804
|
beneficiary: string;
|
|
18805
|
+
protocolFee: string;
|
|
18649
18806
|
maxProtocolFee: string;
|
|
18650
18807
|
ownerOverrides?: Record<string, string> | undefined;
|
|
18651
18808
|
}>, z.ZodObject<{
|
|
@@ -18744,38 +18901,14 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18744
18901
|
tokenExchangeRate: z.ZodString;
|
|
18745
18902
|
} & {
|
|
18746
18903
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
18747
|
-
} & {
|
|
18748
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
18749
|
-
handleGasAmount: z.ZodNumber;
|
|
18750
|
-
totalGasAmount: z.ZodNumber;
|
|
18751
|
-
totalUsdCost: z.ZodNumber;
|
|
18752
|
-
}, "strip", z.ZodTypeAny, {
|
|
18753
|
-
handleGasAmount: number;
|
|
18754
|
-
totalGasAmount: number;
|
|
18755
|
-
totalUsdCost: number;
|
|
18756
|
-
}, {
|
|
18757
|
-
handleGasAmount: number;
|
|
18758
|
-
totalGasAmount: number;
|
|
18759
|
-
totalUsdCost: number;
|
|
18760
|
-
}>>;
|
|
18761
18904
|
}, "strip", z.ZodTypeAny, {
|
|
18762
18905
|
gasPrice: string;
|
|
18763
18906
|
tokenExchangeRate: string;
|
|
18764
18907
|
tokenDecimals?: number | undefined;
|
|
18765
|
-
typicalCost?: {
|
|
18766
|
-
handleGasAmount: number;
|
|
18767
|
-
totalGasAmount: number;
|
|
18768
|
-
totalUsdCost: number;
|
|
18769
|
-
} | undefined;
|
|
18770
18908
|
}, {
|
|
18771
18909
|
gasPrice: string;
|
|
18772
18910
|
tokenExchangeRate: string;
|
|
18773
18911
|
tokenDecimals?: number | undefined;
|
|
18774
|
-
typicalCost?: {
|
|
18775
|
-
handleGasAmount: number;
|
|
18776
|
-
totalGasAmount: number;
|
|
18777
|
-
totalUsdCost: number;
|
|
18778
|
-
} | undefined;
|
|
18779
18912
|
}>>>>;
|
|
18780
18913
|
}, "strip", z.ZodTypeAny, {
|
|
18781
18914
|
type: "interchainGasPaymaster";
|
|
@@ -18801,11 +18934,6 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18801
18934
|
gasPrice: string;
|
|
18802
18935
|
tokenExchangeRate: string;
|
|
18803
18936
|
tokenDecimals?: number | undefined;
|
|
18804
|
-
typicalCost?: {
|
|
18805
|
-
handleGasAmount: number;
|
|
18806
|
-
totalGasAmount: number;
|
|
18807
|
-
totalUsdCost: number;
|
|
18808
|
-
} | undefined;
|
|
18809
18937
|
}>> | undefined;
|
|
18810
18938
|
}, {
|
|
18811
18939
|
type: "interchainGasPaymaster";
|
|
@@ -18831,11 +18959,6 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18831
18959
|
gasPrice: string;
|
|
18832
18960
|
tokenExchangeRate: string;
|
|
18833
18961
|
tokenDecimals?: number | undefined;
|
|
18834
|
-
typicalCost?: {
|
|
18835
|
-
handleGasAmount: number;
|
|
18836
|
-
totalGasAmount: number;
|
|
18837
|
-
totalUsdCost: number;
|
|
18838
|
-
} | undefined;
|
|
18839
18962
|
}>> | undefined;
|
|
18840
18963
|
}>, 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<{
|
|
18841
18964
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -18931,7 +19054,32 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
18931
19054
|
type: "opStackIsm";
|
|
18932
19055
|
origin: string;
|
|
18933
19056
|
nativeBridge: string;
|
|
18934
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
19057
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
19058
|
+
owner: z.ZodString;
|
|
19059
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
19060
|
+
} & {
|
|
19061
|
+
paused: z.ZodBoolean;
|
|
19062
|
+
}, "strip", z.ZodTypeAny, {
|
|
19063
|
+
owner: string;
|
|
19064
|
+
paused: boolean;
|
|
19065
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
19066
|
+
}, {
|
|
19067
|
+
owner: string;
|
|
19068
|
+
paused: boolean;
|
|
19069
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
19070
|
+
}>, z.ZodObject<{
|
|
19071
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
19072
|
+
}, "strip", z.ZodTypeAny, {
|
|
19073
|
+
type: "pausableIsm";
|
|
19074
|
+
}, {
|
|
19075
|
+
type: "pausableIsm";
|
|
19076
|
+
}>>, z.ZodObject<{
|
|
19077
|
+
address: z.ZodString;
|
|
19078
|
+
}, "strip", z.ZodTypeAny, {
|
|
19079
|
+
address: string;
|
|
19080
|
+
}, {
|
|
19081
|
+
address: string;
|
|
19082
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
18935
19083
|
owner: z.ZodString;
|
|
18936
19084
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
18937
19085
|
} & {
|
|
@@ -19120,195 +19268,230 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19120
19268
|
}>>;
|
|
19121
19269
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
19122
19270
|
owner: z.ZodString;
|
|
19271
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19123
19272
|
} & {
|
|
19124
19273
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
19125
19274
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
19126
|
-
type: z.ZodLiteral<
|
|
19275
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
19127
19276
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
19128
19277
|
}, "strip", z.ZodTypeAny, {
|
|
19129
|
-
type:
|
|
19278
|
+
type: "LinearFee";
|
|
19130
19279
|
owner: string;
|
|
19280
|
+
beneficiary?: string | undefined;
|
|
19131
19281
|
maxFee?: bigint | undefined;
|
|
19132
19282
|
halfAmount?: bigint | undefined;
|
|
19133
19283
|
bps?: number | undefined;
|
|
19134
19284
|
}, {
|
|
19135
|
-
type:
|
|
19285
|
+
type: "LinearFee";
|
|
19136
19286
|
owner: string;
|
|
19287
|
+
beneficiary?: string | undefined;
|
|
19137
19288
|
maxFee?: string | number | bigint | undefined;
|
|
19138
19289
|
halfAmount?: string | number | bigint | undefined;
|
|
19139
19290
|
bps?: string | number | undefined;
|
|
19140
19291
|
}>, {
|
|
19141
|
-
type:
|
|
19292
|
+
type: "LinearFee";
|
|
19142
19293
|
owner: string;
|
|
19294
|
+
beneficiary?: string | undefined;
|
|
19143
19295
|
maxFee?: bigint | undefined;
|
|
19144
19296
|
halfAmount?: bigint | undefined;
|
|
19145
19297
|
bps?: number | undefined;
|
|
19146
19298
|
}, {
|
|
19147
|
-
type:
|
|
19299
|
+
type: "LinearFee";
|
|
19148
19300
|
owner: string;
|
|
19301
|
+
beneficiary?: string | undefined;
|
|
19149
19302
|
maxFee?: string | number | bigint | undefined;
|
|
19150
19303
|
halfAmount?: string | number | bigint | undefined;
|
|
19151
19304
|
bps?: string | number | undefined;
|
|
19152
19305
|
}>, {
|
|
19153
19306
|
bps: number;
|
|
19154
|
-
type:
|
|
19307
|
+
type: "LinearFee";
|
|
19155
19308
|
owner: string;
|
|
19309
|
+
beneficiary?: string | undefined;
|
|
19156
19310
|
maxFee?: bigint | undefined;
|
|
19157
19311
|
halfAmount?: bigint | undefined;
|
|
19158
19312
|
}, {
|
|
19159
|
-
type:
|
|
19313
|
+
type: "LinearFee";
|
|
19160
19314
|
owner: string;
|
|
19315
|
+
beneficiary?: string | undefined;
|
|
19161
19316
|
maxFee?: string | number | bigint | undefined;
|
|
19162
19317
|
halfAmount?: string | number | bigint | undefined;
|
|
19163
19318
|
bps?: string | number | undefined;
|
|
19164
19319
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
19165
19320
|
owner: z.ZodString;
|
|
19321
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19166
19322
|
} & {
|
|
19167
19323
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19168
19324
|
} & {
|
|
19169
19325
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
19170
19326
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
19171
|
-
type: z.ZodLiteral<
|
|
19327
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
19172
19328
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
19173
19329
|
}, "strip", z.ZodTypeAny, {
|
|
19174
|
-
type:
|
|
19330
|
+
type: "OffchainQuotedLinearFee";
|
|
19175
19331
|
owner: string;
|
|
19332
|
+
beneficiary?: string | undefined;
|
|
19176
19333
|
maxFee?: bigint | undefined;
|
|
19177
19334
|
halfAmount?: bigint | undefined;
|
|
19178
19335
|
bps?: number | undefined;
|
|
19179
19336
|
quoteSigners?: string[] | undefined;
|
|
19180
19337
|
}, {
|
|
19181
|
-
type:
|
|
19338
|
+
type: "OffchainQuotedLinearFee";
|
|
19182
19339
|
owner: string;
|
|
19340
|
+
beneficiary?: string | undefined;
|
|
19183
19341
|
maxFee?: string | number | bigint | undefined;
|
|
19184
19342
|
halfAmount?: string | number | bigint | undefined;
|
|
19185
19343
|
bps?: string | number | undefined;
|
|
19186
19344
|
quoteSigners?: string[] | undefined;
|
|
19187
19345
|
}>, {
|
|
19188
|
-
type:
|
|
19346
|
+
type: "OffchainQuotedLinearFee";
|
|
19189
19347
|
owner: string;
|
|
19348
|
+
beneficiary?: string | undefined;
|
|
19190
19349
|
maxFee?: bigint | undefined;
|
|
19191
19350
|
halfAmount?: bigint | undefined;
|
|
19192
19351
|
bps?: number | undefined;
|
|
19193
19352
|
quoteSigners?: string[] | undefined;
|
|
19194
19353
|
}, {
|
|
19195
|
-
type:
|
|
19354
|
+
type: "OffchainQuotedLinearFee";
|
|
19196
19355
|
owner: string;
|
|
19356
|
+
beneficiary?: string | undefined;
|
|
19197
19357
|
maxFee?: string | number | bigint | undefined;
|
|
19198
19358
|
halfAmount?: string | number | bigint | undefined;
|
|
19199
19359
|
bps?: string | number | undefined;
|
|
19200
19360
|
quoteSigners?: string[] | undefined;
|
|
19201
19361
|
}>, {
|
|
19202
19362
|
bps: number;
|
|
19203
|
-
type:
|
|
19363
|
+
type: "OffchainQuotedLinearFee";
|
|
19204
19364
|
owner: string;
|
|
19365
|
+
beneficiary?: string | undefined;
|
|
19205
19366
|
maxFee?: bigint | undefined;
|
|
19206
19367
|
halfAmount?: bigint | undefined;
|
|
19207
19368
|
quoteSigners?: string[] | undefined;
|
|
19208
19369
|
}, {
|
|
19209
|
-
type:
|
|
19370
|
+
type: "OffchainQuotedLinearFee";
|
|
19210
19371
|
owner: string;
|
|
19372
|
+
beneficiary?: string | undefined;
|
|
19211
19373
|
maxFee?: string | number | bigint | undefined;
|
|
19212
19374
|
halfAmount?: string | number | bigint | undefined;
|
|
19213
19375
|
bps?: string | number | undefined;
|
|
19214
19376
|
quoteSigners?: string[] | undefined;
|
|
19215
19377
|
}>, z.ZodEffects<z.ZodObject<{
|
|
19216
19378
|
owner: z.ZodString;
|
|
19379
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19217
19380
|
} & {
|
|
19218
|
-
type: z.ZodLiteral<
|
|
19381
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
19219
19382
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
19220
19383
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
19221
19384
|
}, "strip", z.ZodTypeAny, {
|
|
19222
|
-
type:
|
|
19385
|
+
type: "ProgressiveFee";
|
|
19223
19386
|
owner: string;
|
|
19224
19387
|
maxFee: bigint;
|
|
19225
19388
|
halfAmount: bigint;
|
|
19389
|
+
beneficiary?: string | undefined;
|
|
19226
19390
|
}, {
|
|
19227
|
-
type:
|
|
19391
|
+
type: "ProgressiveFee";
|
|
19228
19392
|
owner: string;
|
|
19229
19393
|
maxFee: string | number | bigint;
|
|
19230
19394
|
halfAmount: string | number | bigint;
|
|
19395
|
+
beneficiary?: string | undefined;
|
|
19231
19396
|
}>, {
|
|
19232
|
-
type:
|
|
19397
|
+
type: "ProgressiveFee";
|
|
19233
19398
|
owner: string;
|
|
19234
19399
|
maxFee: bigint;
|
|
19235
19400
|
halfAmount: bigint;
|
|
19401
|
+
beneficiary?: string | undefined;
|
|
19236
19402
|
}, {
|
|
19237
|
-
type:
|
|
19403
|
+
type: "ProgressiveFee";
|
|
19238
19404
|
owner: string;
|
|
19239
19405
|
maxFee: string | number | bigint;
|
|
19240
19406
|
halfAmount: string | number | bigint;
|
|
19407
|
+
beneficiary?: string | undefined;
|
|
19241
19408
|
}>, z.ZodEffects<z.ZodObject<{
|
|
19242
19409
|
owner: z.ZodString;
|
|
19410
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19243
19411
|
} & {
|
|
19244
|
-
type: z.ZodLiteral<
|
|
19412
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
19245
19413
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
19246
19414
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
19247
19415
|
}, "strip", z.ZodTypeAny, {
|
|
19248
|
-
type:
|
|
19416
|
+
type: "RegressiveFee";
|
|
19249
19417
|
owner: string;
|
|
19250
19418
|
maxFee: bigint;
|
|
19251
19419
|
halfAmount: bigint;
|
|
19420
|
+
beneficiary?: string | undefined;
|
|
19252
19421
|
}, {
|
|
19253
|
-
type:
|
|
19422
|
+
type: "RegressiveFee";
|
|
19254
19423
|
owner: string;
|
|
19255
19424
|
maxFee: string | number | bigint;
|
|
19256
19425
|
halfAmount: string | number | bigint;
|
|
19426
|
+
beneficiary?: string | undefined;
|
|
19257
19427
|
}>, {
|
|
19258
|
-
type:
|
|
19428
|
+
type: "RegressiveFee";
|
|
19259
19429
|
owner: string;
|
|
19260
19430
|
maxFee: bigint;
|
|
19261
19431
|
halfAmount: bigint;
|
|
19432
|
+
beneficiary?: string | undefined;
|
|
19262
19433
|
}, {
|
|
19263
|
-
type:
|
|
19434
|
+
type: "RegressiveFee";
|
|
19264
19435
|
owner: string;
|
|
19265
19436
|
maxFee: string | number | bigint;
|
|
19266
19437
|
halfAmount: string | number | bigint;
|
|
19438
|
+
beneficiary?: string | undefined;
|
|
19267
19439
|
}>, z.ZodEffects<z.ZodObject<{
|
|
19268
19440
|
owner: z.ZodString;
|
|
19441
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19269
19442
|
} & {
|
|
19270
|
-
type: z.ZodLiteral<
|
|
19443
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
19271
19444
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
19272
19445
|
}, "strip", z.ZodTypeAny, {
|
|
19273
|
-
type:
|
|
19446
|
+
type: "RoutingFee";
|
|
19274
19447
|
owner: string;
|
|
19275
19448
|
feeContracts: Record<string, any>;
|
|
19449
|
+
beneficiary?: string | undefined;
|
|
19276
19450
|
}, {
|
|
19277
|
-
type:
|
|
19451
|
+
type: "RoutingFee";
|
|
19278
19452
|
owner: string;
|
|
19279
19453
|
feeContracts: Record<string, any>;
|
|
19454
|
+
beneficiary?: string | undefined;
|
|
19280
19455
|
}>, {
|
|
19281
|
-
type:
|
|
19456
|
+
type: "RoutingFee";
|
|
19282
19457
|
owner: string;
|
|
19283
19458
|
feeContracts: Record<string, any>;
|
|
19459
|
+
beneficiary?: string | undefined;
|
|
19284
19460
|
}, {
|
|
19285
|
-
type:
|
|
19461
|
+
type: "RoutingFee";
|
|
19286
19462
|
owner: string;
|
|
19287
19463
|
feeContracts: Record<string, any>;
|
|
19464
|
+
beneficiary?: string | undefined;
|
|
19288
19465
|
}>, z.ZodEffects<z.ZodObject<{
|
|
19289
19466
|
owner: z.ZodString;
|
|
19467
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
19290
19468
|
} & {
|
|
19291
|
-
type: z.ZodLiteral<
|
|
19469
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
19292
19470
|
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>>>;
|
|
19293
19471
|
}, "strip", z.ZodTypeAny, {
|
|
19294
|
-
type:
|
|
19472
|
+
type: "CrossCollateralRoutingFee";
|
|
19295
19473
|
owner: string;
|
|
19296
19474
|
feeContracts: Record<string, Record<string, any>>;
|
|
19475
|
+
beneficiary?: string | undefined;
|
|
19297
19476
|
}, {
|
|
19298
|
-
type:
|
|
19477
|
+
type: "CrossCollateralRoutingFee";
|
|
19299
19478
|
owner: string;
|
|
19300
19479
|
feeContracts: Record<string, Record<string, any>>;
|
|
19480
|
+
beneficiary?: string | undefined;
|
|
19301
19481
|
}>, {
|
|
19302
|
-
type:
|
|
19482
|
+
type: "CrossCollateralRoutingFee";
|
|
19303
19483
|
owner: string;
|
|
19304
19484
|
feeContracts: Record<string, Record<string, any>>;
|
|
19485
|
+
beneficiary?: string | undefined;
|
|
19305
19486
|
}, {
|
|
19306
|
-
type:
|
|
19487
|
+
type: "CrossCollateralRoutingFee";
|
|
19307
19488
|
owner: string;
|
|
19308
19489
|
feeContracts: Record<string, Record<string, any>>;
|
|
19490
|
+
beneficiary?: string | undefined;
|
|
19309
19491
|
}>]>>;
|
|
19310
19492
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
19311
19493
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
19494
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
19312
19495
|
} & {
|
|
19313
19496
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
19314
19497
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19347,17 +19530,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19347
19530
|
gasPrice: string;
|
|
19348
19531
|
tokenExchangeRate: string;
|
|
19349
19532
|
tokenDecimals?: number | undefined;
|
|
19350
|
-
typicalCost?: {
|
|
19351
|
-
handleGasAmount: number;
|
|
19352
|
-
totalGasAmount: number;
|
|
19353
|
-
totalUsdCost: number;
|
|
19354
|
-
} | undefined;
|
|
19355
19533
|
}>> | undefined;
|
|
19356
19534
|
} | {
|
|
19357
19535
|
type: "protocolFee";
|
|
19358
19536
|
owner: string;
|
|
19359
|
-
protocolFee: string;
|
|
19360
19537
|
beneficiary: string;
|
|
19538
|
+
protocolFee: string;
|
|
19361
19539
|
maxProtocolFee: string;
|
|
19362
19540
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19363
19541
|
} | {
|
|
@@ -19434,7 +19612,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19434
19612
|
owner: string;
|
|
19435
19613
|
urls: string[];
|
|
19436
19614
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19437
|
-
} |
|
|
19615
|
+
} | ({
|
|
19616
|
+
owner: string;
|
|
19617
|
+
paused: boolean;
|
|
19618
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
19619
|
+
} & {
|
|
19620
|
+
type: "pausableIsm";
|
|
19621
|
+
} & {
|
|
19622
|
+
address: string;
|
|
19623
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
19438
19624
|
type: z.ZodLiteral<"unknownIsm">;
|
|
19439
19625
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19440
19626
|
foreignDeployment?: string | undefined;
|
|
@@ -19443,37 +19629,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19443
19629
|
}> | undefined;
|
|
19444
19630
|
tokenFee?: {
|
|
19445
19631
|
bps: number;
|
|
19446
|
-
type:
|
|
19632
|
+
type: "LinearFee";
|
|
19447
19633
|
owner: string;
|
|
19634
|
+
beneficiary?: string | undefined;
|
|
19448
19635
|
maxFee?: bigint | undefined;
|
|
19449
19636
|
halfAmount?: bigint | undefined;
|
|
19450
19637
|
} | {
|
|
19451
19638
|
bps: number;
|
|
19452
|
-
type:
|
|
19639
|
+
type: "OffchainQuotedLinearFee";
|
|
19453
19640
|
owner: string;
|
|
19641
|
+
beneficiary?: string | undefined;
|
|
19454
19642
|
maxFee?: bigint | undefined;
|
|
19455
19643
|
halfAmount?: bigint | undefined;
|
|
19456
19644
|
quoteSigners?: string[] | undefined;
|
|
19457
19645
|
} | {
|
|
19458
|
-
type:
|
|
19646
|
+
type: "ProgressiveFee";
|
|
19459
19647
|
owner: string;
|
|
19460
19648
|
maxFee: bigint;
|
|
19461
19649
|
halfAmount: bigint;
|
|
19650
|
+
beneficiary?: string | undefined;
|
|
19462
19651
|
} | {
|
|
19463
|
-
type:
|
|
19652
|
+
type: "RegressiveFee";
|
|
19464
19653
|
owner: string;
|
|
19465
19654
|
maxFee: bigint;
|
|
19466
19655
|
halfAmount: bigint;
|
|
19656
|
+
beneficiary?: string | undefined;
|
|
19467
19657
|
} | {
|
|
19468
|
-
type:
|
|
19658
|
+
type: "RoutingFee";
|
|
19469
19659
|
owner: string;
|
|
19470
19660
|
feeContracts: Record<string, any>;
|
|
19661
|
+
beneficiary?: string | undefined;
|
|
19471
19662
|
} | {
|
|
19472
|
-
type:
|
|
19663
|
+
type: "CrossCollateralRoutingFee";
|
|
19473
19664
|
owner: string;
|
|
19474
19665
|
feeContracts: Record<string, Record<string, any>>;
|
|
19666
|
+
beneficiary?: string | undefined;
|
|
19475
19667
|
} | undefined;
|
|
19476
19668
|
destinationGas?: Record<string | number, string> | undefined;
|
|
19669
|
+
feeHook?: string | undefined;
|
|
19477
19670
|
}, {
|
|
19478
19671
|
owner: string;
|
|
19479
19672
|
gas?: number | undefined;
|
|
@@ -19510,17 +19703,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19510
19703
|
gasPrice: string;
|
|
19511
19704
|
tokenExchangeRate: string;
|
|
19512
19705
|
tokenDecimals?: number | undefined;
|
|
19513
|
-
typicalCost?: {
|
|
19514
|
-
handleGasAmount: number;
|
|
19515
|
-
totalGasAmount: number;
|
|
19516
|
-
totalUsdCost: number;
|
|
19517
|
-
} | undefined;
|
|
19518
19706
|
}>> | undefined;
|
|
19519
19707
|
} | {
|
|
19520
19708
|
type: "protocolFee";
|
|
19521
19709
|
owner: string;
|
|
19522
|
-
protocolFee: string;
|
|
19523
19710
|
beneficiary: string;
|
|
19711
|
+
protocolFee: string;
|
|
19524
19712
|
maxProtocolFee: string;
|
|
19525
19713
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19526
19714
|
} | {
|
|
@@ -19597,7 +19785,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19597
19785
|
owner: string;
|
|
19598
19786
|
urls: string[];
|
|
19599
19787
|
ownerOverrides?: Record<string, string> | undefined;
|
|
19600
|
-
} | {
|
|
19788
|
+
} | ({
|
|
19789
|
+
owner: string;
|
|
19790
|
+
paused: boolean;
|
|
19791
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
19792
|
+
} & {
|
|
19793
|
+
type: "pausableIsm";
|
|
19794
|
+
} & {
|
|
19795
|
+
address: string;
|
|
19796
|
+
}) | {
|
|
19601
19797
|
type: "interchainAccountRouting";
|
|
19602
19798
|
owner: string;
|
|
19603
19799
|
isms: Record<string, string>;
|
|
@@ -19610,38 +19806,45 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
19610
19806
|
address: string;
|
|
19611
19807
|
}> | undefined;
|
|
19612
19808
|
tokenFee?: {
|
|
19613
|
-
type:
|
|
19809
|
+
type: "LinearFee";
|
|
19614
19810
|
owner: string;
|
|
19811
|
+
beneficiary?: string | undefined;
|
|
19615
19812
|
maxFee?: string | number | bigint | undefined;
|
|
19616
19813
|
halfAmount?: string | number | bigint | undefined;
|
|
19617
19814
|
bps?: string | number | undefined;
|
|
19618
19815
|
} | {
|
|
19619
|
-
type:
|
|
19816
|
+
type: "OffchainQuotedLinearFee";
|
|
19620
19817
|
owner: string;
|
|
19818
|
+
beneficiary?: string | undefined;
|
|
19621
19819
|
maxFee?: string | number | bigint | undefined;
|
|
19622
19820
|
halfAmount?: string | number | bigint | undefined;
|
|
19623
19821
|
bps?: string | number | undefined;
|
|
19624
19822
|
quoteSigners?: string[] | undefined;
|
|
19625
19823
|
} | {
|
|
19626
|
-
type:
|
|
19824
|
+
type: "ProgressiveFee";
|
|
19627
19825
|
owner: string;
|
|
19628
19826
|
maxFee: string | number | bigint;
|
|
19629
19827
|
halfAmount: string | number | bigint;
|
|
19828
|
+
beneficiary?: string | undefined;
|
|
19630
19829
|
} | {
|
|
19631
|
-
type:
|
|
19830
|
+
type: "RegressiveFee";
|
|
19632
19831
|
owner: string;
|
|
19633
19832
|
maxFee: string | number | bigint;
|
|
19634
19833
|
halfAmount: string | number | bigint;
|
|
19834
|
+
beneficiary?: string | undefined;
|
|
19635
19835
|
} | {
|
|
19636
|
-
type:
|
|
19836
|
+
type: "RoutingFee";
|
|
19637
19837
|
owner: string;
|
|
19638
19838
|
feeContracts: Record<string, any>;
|
|
19839
|
+
beneficiary?: string | undefined;
|
|
19639
19840
|
} | {
|
|
19640
|
-
type:
|
|
19841
|
+
type: "CrossCollateralRoutingFee";
|
|
19641
19842
|
owner: string;
|
|
19642
19843
|
feeContracts: Record<string, Record<string, any>>;
|
|
19844
|
+
beneficiary?: string | undefined;
|
|
19643
19845
|
} | undefined;
|
|
19644
19846
|
destinationGas?: Record<string | number, string> | undefined;
|
|
19847
|
+
feeHook?: string | undefined;
|
|
19645
19848
|
}>>, z.ZodObject<{
|
|
19646
19849
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
19647
19850
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -20082,17 +20285,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20082
20285
|
gasPrice: string;
|
|
20083
20286
|
tokenExchangeRate: string;
|
|
20084
20287
|
tokenDecimals?: number | undefined;
|
|
20085
|
-
typicalCost?: {
|
|
20086
|
-
handleGasAmount: number;
|
|
20087
|
-
totalGasAmount: number;
|
|
20088
|
-
totalUsdCost: number;
|
|
20089
|
-
} | undefined;
|
|
20090
20288
|
}>> | undefined;
|
|
20091
20289
|
} | {
|
|
20092
20290
|
type: "protocolFee";
|
|
20093
20291
|
owner: string;
|
|
20094
|
-
protocolFee: string;
|
|
20095
20292
|
beneficiary: string;
|
|
20293
|
+
protocolFee: string;
|
|
20096
20294
|
maxProtocolFee: string;
|
|
20097
20295
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20098
20296
|
} | {
|
|
@@ -20169,7 +20367,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20169
20367
|
owner: string;
|
|
20170
20368
|
urls: string[];
|
|
20171
20369
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20172
|
-
} |
|
|
20370
|
+
} | ({
|
|
20371
|
+
owner: string;
|
|
20372
|
+
paused: boolean;
|
|
20373
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
20374
|
+
} & {
|
|
20375
|
+
type: "pausableIsm";
|
|
20376
|
+
} & {
|
|
20377
|
+
address: string;
|
|
20378
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
20173
20379
|
type: z.ZodLiteral<"unknownIsm">;
|
|
20174
20380
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
20175
20381
|
foreignDeployment?: string | undefined;
|
|
@@ -20178,37 +20384,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20178
20384
|
}> | undefined;
|
|
20179
20385
|
tokenFee?: {
|
|
20180
20386
|
bps: number;
|
|
20181
|
-
type:
|
|
20387
|
+
type: "LinearFee";
|
|
20182
20388
|
owner: string;
|
|
20389
|
+
beneficiary?: string | undefined;
|
|
20183
20390
|
maxFee?: bigint | undefined;
|
|
20184
20391
|
halfAmount?: bigint | undefined;
|
|
20185
20392
|
} | {
|
|
20186
20393
|
bps: number;
|
|
20187
|
-
type:
|
|
20394
|
+
type: "OffchainQuotedLinearFee";
|
|
20188
20395
|
owner: string;
|
|
20396
|
+
beneficiary?: string | undefined;
|
|
20189
20397
|
maxFee?: bigint | undefined;
|
|
20190
20398
|
halfAmount?: bigint | undefined;
|
|
20191
20399
|
quoteSigners?: string[] | undefined;
|
|
20192
20400
|
} | {
|
|
20193
|
-
type:
|
|
20401
|
+
type: "ProgressiveFee";
|
|
20194
20402
|
owner: string;
|
|
20195
20403
|
maxFee: bigint;
|
|
20196
20404
|
halfAmount: bigint;
|
|
20405
|
+
beneficiary?: string | undefined;
|
|
20197
20406
|
} | {
|
|
20198
|
-
type:
|
|
20407
|
+
type: "RegressiveFee";
|
|
20199
20408
|
owner: string;
|
|
20200
20409
|
maxFee: bigint;
|
|
20201
20410
|
halfAmount: bigint;
|
|
20411
|
+
beneficiary?: string | undefined;
|
|
20202
20412
|
} | {
|
|
20203
|
-
type:
|
|
20413
|
+
type: "RoutingFee";
|
|
20204
20414
|
owner: string;
|
|
20205
20415
|
feeContracts: Record<string, any>;
|
|
20416
|
+
beneficiary?: string | undefined;
|
|
20206
20417
|
} | {
|
|
20207
|
-
type:
|
|
20418
|
+
type: "CrossCollateralRoutingFee";
|
|
20208
20419
|
owner: string;
|
|
20209
20420
|
feeContracts: Record<string, Record<string, any>>;
|
|
20421
|
+
beneficiary?: string | undefined;
|
|
20210
20422
|
} | undefined;
|
|
20211
20423
|
destinationGas?: Record<string | number, string> | undefined;
|
|
20424
|
+
feeHook?: string | undefined;
|
|
20212
20425
|
}) & {
|
|
20213
20426
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
20214
20427
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -20643,17 +20856,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20643
20856
|
gasPrice: string;
|
|
20644
20857
|
tokenExchangeRate: string;
|
|
20645
20858
|
tokenDecimals?: number | undefined;
|
|
20646
|
-
typicalCost?: {
|
|
20647
|
-
handleGasAmount: number;
|
|
20648
|
-
totalGasAmount: number;
|
|
20649
|
-
totalUsdCost: number;
|
|
20650
|
-
} | undefined;
|
|
20651
20859
|
}>> | undefined;
|
|
20652
20860
|
} | {
|
|
20653
20861
|
type: "protocolFee";
|
|
20654
20862
|
owner: string;
|
|
20655
|
-
protocolFee: string;
|
|
20656
20863
|
beneficiary: string;
|
|
20864
|
+
protocolFee: string;
|
|
20657
20865
|
maxProtocolFee: string;
|
|
20658
20866
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20659
20867
|
} | {
|
|
@@ -20730,7 +20938,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20730
20938
|
owner: string;
|
|
20731
20939
|
urls: string[];
|
|
20732
20940
|
ownerOverrides?: Record<string, string> | undefined;
|
|
20733
|
-
} |
|
|
20941
|
+
} | ({
|
|
20942
|
+
owner: string;
|
|
20943
|
+
paused: boolean;
|
|
20944
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
20945
|
+
} & {
|
|
20946
|
+
type: "pausableIsm";
|
|
20947
|
+
} & {
|
|
20948
|
+
address: string;
|
|
20949
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
20734
20950
|
type: z.ZodLiteral<"unknownIsm">;
|
|
20735
20951
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
20736
20952
|
foreignDeployment?: string | undefined;
|
|
@@ -20739,37 +20955,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20739
20955
|
}> | undefined;
|
|
20740
20956
|
tokenFee?: {
|
|
20741
20957
|
bps: number;
|
|
20742
|
-
type:
|
|
20958
|
+
type: "LinearFee";
|
|
20743
20959
|
owner: string;
|
|
20960
|
+
beneficiary?: string | undefined;
|
|
20744
20961
|
maxFee?: bigint | undefined;
|
|
20745
20962
|
halfAmount?: bigint | undefined;
|
|
20746
20963
|
} | {
|
|
20747
20964
|
bps: number;
|
|
20748
|
-
type:
|
|
20965
|
+
type: "OffchainQuotedLinearFee";
|
|
20749
20966
|
owner: string;
|
|
20967
|
+
beneficiary?: string | undefined;
|
|
20750
20968
|
maxFee?: bigint | undefined;
|
|
20751
20969
|
halfAmount?: bigint | undefined;
|
|
20752
20970
|
quoteSigners?: string[] | undefined;
|
|
20753
20971
|
} | {
|
|
20754
|
-
type:
|
|
20972
|
+
type: "ProgressiveFee";
|
|
20755
20973
|
owner: string;
|
|
20756
20974
|
maxFee: bigint;
|
|
20757
20975
|
halfAmount: bigint;
|
|
20976
|
+
beneficiary?: string | undefined;
|
|
20758
20977
|
} | {
|
|
20759
|
-
type:
|
|
20978
|
+
type: "RegressiveFee";
|
|
20760
20979
|
owner: string;
|
|
20761
20980
|
maxFee: bigint;
|
|
20762
20981
|
halfAmount: bigint;
|
|
20982
|
+
beneficiary?: string | undefined;
|
|
20763
20983
|
} | {
|
|
20764
|
-
type:
|
|
20984
|
+
type: "RoutingFee";
|
|
20765
20985
|
owner: string;
|
|
20766
20986
|
feeContracts: Record<string, any>;
|
|
20987
|
+
beneficiary?: string | undefined;
|
|
20767
20988
|
} | {
|
|
20768
|
-
type:
|
|
20989
|
+
type: "CrossCollateralRoutingFee";
|
|
20769
20990
|
owner: string;
|
|
20770
20991
|
feeContracts: Record<string, Record<string, any>>;
|
|
20992
|
+
beneficiary?: string | undefined;
|
|
20771
20993
|
} | undefined;
|
|
20772
20994
|
destinationGas?: Record<string | number, string> | undefined;
|
|
20995
|
+
feeHook?: string | undefined;
|
|
20773
20996
|
}) & {
|
|
20774
20997
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
20775
20998
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -21204,17 +21427,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21204
21427
|
gasPrice: string;
|
|
21205
21428
|
tokenExchangeRate: string;
|
|
21206
21429
|
tokenDecimals?: number | undefined;
|
|
21207
|
-
typicalCost?: {
|
|
21208
|
-
handleGasAmount: number;
|
|
21209
|
-
totalGasAmount: number;
|
|
21210
|
-
totalUsdCost: number;
|
|
21211
|
-
} | undefined;
|
|
21212
21430
|
}>> | undefined;
|
|
21213
21431
|
} | {
|
|
21214
21432
|
type: "protocolFee";
|
|
21215
21433
|
owner: string;
|
|
21216
|
-
protocolFee: string;
|
|
21217
21434
|
beneficiary: string;
|
|
21435
|
+
protocolFee: string;
|
|
21218
21436
|
maxProtocolFee: string;
|
|
21219
21437
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21220
21438
|
} | {
|
|
@@ -21291,7 +21509,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21291
21509
|
owner: string;
|
|
21292
21510
|
urls: string[];
|
|
21293
21511
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21294
|
-
} |
|
|
21512
|
+
} | ({
|
|
21513
|
+
owner: string;
|
|
21514
|
+
paused: boolean;
|
|
21515
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
21516
|
+
} & {
|
|
21517
|
+
type: "pausableIsm";
|
|
21518
|
+
} & {
|
|
21519
|
+
address: string;
|
|
21520
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
21295
21521
|
type: z.ZodLiteral<"unknownIsm">;
|
|
21296
21522
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
21297
21523
|
foreignDeployment?: string | undefined;
|
|
@@ -21300,37 +21526,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21300
21526
|
}> | undefined;
|
|
21301
21527
|
tokenFee?: {
|
|
21302
21528
|
bps: number;
|
|
21303
|
-
type:
|
|
21529
|
+
type: "LinearFee";
|
|
21304
21530
|
owner: string;
|
|
21531
|
+
beneficiary?: string | undefined;
|
|
21305
21532
|
maxFee?: bigint | undefined;
|
|
21306
21533
|
halfAmount?: bigint | undefined;
|
|
21307
21534
|
} | {
|
|
21308
21535
|
bps: number;
|
|
21309
|
-
type:
|
|
21536
|
+
type: "OffchainQuotedLinearFee";
|
|
21310
21537
|
owner: string;
|
|
21538
|
+
beneficiary?: string | undefined;
|
|
21311
21539
|
maxFee?: bigint | undefined;
|
|
21312
21540
|
halfAmount?: bigint | undefined;
|
|
21313
21541
|
quoteSigners?: string[] | undefined;
|
|
21314
21542
|
} | {
|
|
21315
|
-
type:
|
|
21543
|
+
type: "ProgressiveFee";
|
|
21316
21544
|
owner: string;
|
|
21317
21545
|
maxFee: bigint;
|
|
21318
21546
|
halfAmount: bigint;
|
|
21547
|
+
beneficiary?: string | undefined;
|
|
21319
21548
|
} | {
|
|
21320
|
-
type:
|
|
21549
|
+
type: "RegressiveFee";
|
|
21321
21550
|
owner: string;
|
|
21322
21551
|
maxFee: bigint;
|
|
21323
21552
|
halfAmount: bigint;
|
|
21553
|
+
beneficiary?: string | undefined;
|
|
21324
21554
|
} | {
|
|
21325
|
-
type:
|
|
21555
|
+
type: "RoutingFee";
|
|
21326
21556
|
owner: string;
|
|
21327
21557
|
feeContracts: Record<string, any>;
|
|
21558
|
+
beneficiary?: string | undefined;
|
|
21328
21559
|
} | {
|
|
21329
|
-
type:
|
|
21560
|
+
type: "CrossCollateralRoutingFee";
|
|
21330
21561
|
owner: string;
|
|
21331
21562
|
feeContracts: Record<string, Record<string, any>>;
|
|
21563
|
+
beneficiary?: string | undefined;
|
|
21332
21564
|
} | undefined;
|
|
21333
21565
|
destinationGas?: Record<string | number, string> | undefined;
|
|
21566
|
+
feeHook?: string | undefined;
|
|
21334
21567
|
}) & {
|
|
21335
21568
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
21336
21569
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -21765,17 +21998,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21765
21998
|
gasPrice: string;
|
|
21766
21999
|
tokenExchangeRate: string;
|
|
21767
22000
|
tokenDecimals?: number | undefined;
|
|
21768
|
-
typicalCost?: {
|
|
21769
|
-
handleGasAmount: number;
|
|
21770
|
-
totalGasAmount: number;
|
|
21771
|
-
totalUsdCost: number;
|
|
21772
|
-
} | undefined;
|
|
21773
22001
|
}>> | undefined;
|
|
21774
22002
|
} | {
|
|
21775
22003
|
type: "protocolFee";
|
|
21776
22004
|
owner: string;
|
|
21777
|
-
protocolFee: string;
|
|
21778
22005
|
beneficiary: string;
|
|
22006
|
+
protocolFee: string;
|
|
21779
22007
|
maxProtocolFee: string;
|
|
21780
22008
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21781
22009
|
} | {
|
|
@@ -21852,7 +22080,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21852
22080
|
owner: string;
|
|
21853
22081
|
urls: string[];
|
|
21854
22082
|
ownerOverrides?: Record<string, string> | undefined;
|
|
21855
|
-
} |
|
|
22083
|
+
} | ({
|
|
22084
|
+
owner: string;
|
|
22085
|
+
paused: boolean;
|
|
22086
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
22087
|
+
} & {
|
|
22088
|
+
type: "pausableIsm";
|
|
22089
|
+
} & {
|
|
22090
|
+
address: string;
|
|
22091
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
21856
22092
|
type: z.ZodLiteral<"unknownIsm">;
|
|
21857
22093
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
21858
22094
|
foreignDeployment?: string | undefined;
|
|
@@ -21861,37 +22097,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21861
22097
|
}> | undefined;
|
|
21862
22098
|
tokenFee?: {
|
|
21863
22099
|
bps: number;
|
|
21864
|
-
type:
|
|
22100
|
+
type: "LinearFee";
|
|
21865
22101
|
owner: string;
|
|
22102
|
+
beneficiary?: string | undefined;
|
|
21866
22103
|
maxFee?: bigint | undefined;
|
|
21867
22104
|
halfAmount?: bigint | undefined;
|
|
21868
22105
|
} | {
|
|
21869
22106
|
bps: number;
|
|
21870
|
-
type:
|
|
22107
|
+
type: "OffchainQuotedLinearFee";
|
|
21871
22108
|
owner: string;
|
|
22109
|
+
beneficiary?: string | undefined;
|
|
21872
22110
|
maxFee?: bigint | undefined;
|
|
21873
22111
|
halfAmount?: bigint | undefined;
|
|
21874
22112
|
quoteSigners?: string[] | undefined;
|
|
21875
22113
|
} | {
|
|
21876
|
-
type:
|
|
22114
|
+
type: "ProgressiveFee";
|
|
21877
22115
|
owner: string;
|
|
21878
22116
|
maxFee: bigint;
|
|
21879
22117
|
halfAmount: bigint;
|
|
22118
|
+
beneficiary?: string | undefined;
|
|
21880
22119
|
} | {
|
|
21881
|
-
type:
|
|
22120
|
+
type: "RegressiveFee";
|
|
21882
22121
|
owner: string;
|
|
21883
22122
|
maxFee: bigint;
|
|
21884
22123
|
halfAmount: bigint;
|
|
22124
|
+
beneficiary?: string | undefined;
|
|
21885
22125
|
} | {
|
|
21886
|
-
type:
|
|
22126
|
+
type: "RoutingFee";
|
|
21887
22127
|
owner: string;
|
|
21888
22128
|
feeContracts: Record<string, any>;
|
|
22129
|
+
beneficiary?: string | undefined;
|
|
21889
22130
|
} | {
|
|
21890
|
-
type:
|
|
22131
|
+
type: "CrossCollateralRoutingFee";
|
|
21891
22132
|
owner: string;
|
|
21892
22133
|
feeContracts: Record<string, Record<string, any>>;
|
|
22134
|
+
beneficiary?: string | undefined;
|
|
21893
22135
|
} | undefined;
|
|
21894
22136
|
destinationGas?: Record<string | number, string> | undefined;
|
|
22137
|
+
feeHook?: string | undefined;
|
|
21895
22138
|
}) & {
|
|
21896
22139
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
21897
22140
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -22326,17 +22569,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
22326
22569
|
gasPrice: string;
|
|
22327
22570
|
tokenExchangeRate: string;
|
|
22328
22571
|
tokenDecimals?: number | undefined;
|
|
22329
|
-
typicalCost?: {
|
|
22330
|
-
handleGasAmount: number;
|
|
22331
|
-
totalGasAmount: number;
|
|
22332
|
-
totalUsdCost: number;
|
|
22333
|
-
} | undefined;
|
|
22334
22572
|
}>> | undefined;
|
|
22335
22573
|
} | {
|
|
22336
22574
|
type: "protocolFee";
|
|
22337
22575
|
owner: string;
|
|
22338
|
-
protocolFee: string;
|
|
22339
22576
|
beneficiary: string;
|
|
22577
|
+
protocolFee: string;
|
|
22340
22578
|
maxProtocolFee: string;
|
|
22341
22579
|
ownerOverrides?: Record<string, string> | undefined;
|
|
22342
22580
|
} | {
|
|
@@ -22413,7 +22651,15 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
22413
22651
|
owner: string;
|
|
22414
22652
|
urls: string[];
|
|
22415
22653
|
ownerOverrides?: Record<string, string> | undefined;
|
|
22416
|
-
} |
|
|
22654
|
+
} | ({
|
|
22655
|
+
owner: string;
|
|
22656
|
+
paused: boolean;
|
|
22657
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
22658
|
+
} & {
|
|
22659
|
+
type: "pausableIsm";
|
|
22660
|
+
} & {
|
|
22661
|
+
address: string;
|
|
22662
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
22417
22663
|
type: z.ZodLiteral<"unknownIsm">;
|
|
22418
22664
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
22419
22665
|
foreignDeployment?: string | undefined;
|
|
@@ -22422,37 +22668,44 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
22422
22668
|
}> | undefined;
|
|
22423
22669
|
tokenFee?: {
|
|
22424
22670
|
bps: number;
|
|
22425
|
-
type:
|
|
22671
|
+
type: "LinearFee";
|
|
22426
22672
|
owner: string;
|
|
22673
|
+
beneficiary?: string | undefined;
|
|
22427
22674
|
maxFee?: bigint | undefined;
|
|
22428
22675
|
halfAmount?: bigint | undefined;
|
|
22429
22676
|
} | {
|
|
22430
22677
|
bps: number;
|
|
22431
|
-
type:
|
|
22678
|
+
type: "OffchainQuotedLinearFee";
|
|
22432
22679
|
owner: string;
|
|
22680
|
+
beneficiary?: string | undefined;
|
|
22433
22681
|
maxFee?: bigint | undefined;
|
|
22434
22682
|
halfAmount?: bigint | undefined;
|
|
22435
22683
|
quoteSigners?: string[] | undefined;
|
|
22436
22684
|
} | {
|
|
22437
|
-
type:
|
|
22685
|
+
type: "ProgressiveFee";
|
|
22438
22686
|
owner: string;
|
|
22439
22687
|
maxFee: bigint;
|
|
22440
22688
|
halfAmount: bigint;
|
|
22689
|
+
beneficiary?: string | undefined;
|
|
22441
22690
|
} | {
|
|
22442
|
-
type:
|
|
22691
|
+
type: "RegressiveFee";
|
|
22443
22692
|
owner: string;
|
|
22444
22693
|
maxFee: bigint;
|
|
22445
22694
|
halfAmount: bigint;
|
|
22695
|
+
beneficiary?: string | undefined;
|
|
22446
22696
|
} | {
|
|
22447
|
-
type:
|
|
22697
|
+
type: "RoutingFee";
|
|
22448
22698
|
owner: string;
|
|
22449
22699
|
feeContracts: Record<string, any>;
|
|
22700
|
+
beneficiary?: string | undefined;
|
|
22450
22701
|
} | {
|
|
22451
|
-
type:
|
|
22702
|
+
type: "CrossCollateralRoutingFee";
|
|
22452
22703
|
owner: string;
|
|
22453
22704
|
feeContracts: Record<string, Record<string, any>>;
|
|
22705
|
+
beneficiary?: string | undefined;
|
|
22454
22706
|
} | undefined;
|
|
22455
22707
|
destinationGas?: Record<string | number, string> | undefined;
|
|
22708
|
+
feeHook?: string | undefined;
|
|
22456
22709
|
}) & {
|
|
22457
22710
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
22458
22711
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -24507,15 +24760,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24507
24760
|
}, "strip", z.ZodTypeAny, {
|
|
24508
24761
|
type: "protocolFee";
|
|
24509
24762
|
owner: string;
|
|
24510
|
-
protocolFee: string;
|
|
24511
24763
|
beneficiary: string;
|
|
24764
|
+
protocolFee: string;
|
|
24512
24765
|
maxProtocolFee: string;
|
|
24513
24766
|
ownerOverrides?: Record<string, string> | undefined;
|
|
24514
24767
|
}, {
|
|
24515
24768
|
type: "protocolFee";
|
|
24516
24769
|
owner: string;
|
|
24517
|
-
protocolFee: string;
|
|
24518
24770
|
beneficiary: string;
|
|
24771
|
+
protocolFee: string;
|
|
24519
24772
|
maxProtocolFee: string;
|
|
24520
24773
|
ownerOverrides?: Record<string, string> | undefined;
|
|
24521
24774
|
}>, z.ZodObject<{
|
|
@@ -24614,38 +24867,14 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24614
24867
|
tokenExchangeRate: z.ZodString;
|
|
24615
24868
|
} & {
|
|
24616
24869
|
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
24617
|
-
} & {
|
|
24618
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
24619
|
-
handleGasAmount: z.ZodNumber;
|
|
24620
|
-
totalGasAmount: z.ZodNumber;
|
|
24621
|
-
totalUsdCost: z.ZodNumber;
|
|
24622
|
-
}, "strip", z.ZodTypeAny, {
|
|
24623
|
-
handleGasAmount: number;
|
|
24624
|
-
totalGasAmount: number;
|
|
24625
|
-
totalUsdCost: number;
|
|
24626
|
-
}, {
|
|
24627
|
-
handleGasAmount: number;
|
|
24628
|
-
totalGasAmount: number;
|
|
24629
|
-
totalUsdCost: number;
|
|
24630
|
-
}>>;
|
|
24631
24870
|
}, "strip", z.ZodTypeAny, {
|
|
24632
24871
|
gasPrice: string;
|
|
24633
24872
|
tokenExchangeRate: string;
|
|
24634
24873
|
tokenDecimals?: number | undefined;
|
|
24635
|
-
typicalCost?: {
|
|
24636
|
-
handleGasAmount: number;
|
|
24637
|
-
totalGasAmount: number;
|
|
24638
|
-
totalUsdCost: number;
|
|
24639
|
-
} | undefined;
|
|
24640
24874
|
}, {
|
|
24641
24875
|
gasPrice: string;
|
|
24642
24876
|
tokenExchangeRate: string;
|
|
24643
24877
|
tokenDecimals?: number | undefined;
|
|
24644
|
-
typicalCost?: {
|
|
24645
|
-
handleGasAmount: number;
|
|
24646
|
-
totalGasAmount: number;
|
|
24647
|
-
totalUsdCost: number;
|
|
24648
|
-
} | undefined;
|
|
24649
24878
|
}>>>>;
|
|
24650
24879
|
}, "strip", z.ZodTypeAny, {
|
|
24651
24880
|
type: "interchainGasPaymaster";
|
|
@@ -24671,11 +24900,6 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24671
24900
|
gasPrice: string;
|
|
24672
24901
|
tokenExchangeRate: string;
|
|
24673
24902
|
tokenDecimals?: number | undefined;
|
|
24674
|
-
typicalCost?: {
|
|
24675
|
-
handleGasAmount: number;
|
|
24676
|
-
totalGasAmount: number;
|
|
24677
|
-
totalUsdCost: number;
|
|
24678
|
-
} | undefined;
|
|
24679
24903
|
}>> | undefined;
|
|
24680
24904
|
}, {
|
|
24681
24905
|
type: "interchainGasPaymaster";
|
|
@@ -24701,11 +24925,6 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24701
24925
|
gasPrice: string;
|
|
24702
24926
|
tokenExchangeRate: string;
|
|
24703
24927
|
tokenDecimals?: number | undefined;
|
|
24704
|
-
typicalCost?: {
|
|
24705
|
-
handleGasAmount: number;
|
|
24706
|
-
totalGasAmount: number;
|
|
24707
|
-
totalUsdCost: number;
|
|
24708
|
-
} | undefined;
|
|
24709
24928
|
}>> | undefined;
|
|
24710
24929
|
}>, 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<{
|
|
24711
24930
|
type: z.ZodLiteral<"defaultHook">;
|
|
@@ -24801,7 +25020,32 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24801
25020
|
type: "opStackIsm";
|
|
24802
25021
|
origin: string;
|
|
24803
25022
|
nativeBridge: string;
|
|
24804
|
-
}>, z.ZodIntersection<z.ZodObject<{
|
|
25023
|
+
}>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
25024
|
+
owner: z.ZodString;
|
|
25025
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
25026
|
+
} & {
|
|
25027
|
+
paused: z.ZodBoolean;
|
|
25028
|
+
}, "strip", z.ZodTypeAny, {
|
|
25029
|
+
owner: string;
|
|
25030
|
+
paused: boolean;
|
|
25031
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
25032
|
+
}, {
|
|
25033
|
+
owner: string;
|
|
25034
|
+
paused: boolean;
|
|
25035
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
25036
|
+
}>, z.ZodObject<{
|
|
25037
|
+
type: z.ZodLiteral<"pausableIsm">;
|
|
25038
|
+
}, "strip", z.ZodTypeAny, {
|
|
25039
|
+
type: "pausableIsm";
|
|
25040
|
+
}, {
|
|
25041
|
+
type: "pausableIsm";
|
|
25042
|
+
}>>, z.ZodObject<{
|
|
25043
|
+
address: z.ZodString;
|
|
25044
|
+
}, "strip", z.ZodTypeAny, {
|
|
25045
|
+
address: string;
|
|
25046
|
+
}, {
|
|
25047
|
+
address: string;
|
|
25048
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
24805
25049
|
owner: z.ZodString;
|
|
24806
25050
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
24807
25051
|
} & {
|
|
@@ -24990,195 +25234,230 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
24990
25234
|
}>>;
|
|
24991
25235
|
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
24992
25236
|
owner: z.ZodString;
|
|
25237
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
24993
25238
|
} & {
|
|
24994
25239
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
24995
25240
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
24996
|
-
type: z.ZodLiteral<
|
|
25241
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
24997
25242
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
24998
25243
|
}, "strip", z.ZodTypeAny, {
|
|
24999
|
-
type:
|
|
25244
|
+
type: "LinearFee";
|
|
25000
25245
|
owner: string;
|
|
25246
|
+
beneficiary?: string | undefined;
|
|
25001
25247
|
maxFee?: bigint | undefined;
|
|
25002
25248
|
halfAmount?: bigint | undefined;
|
|
25003
25249
|
bps?: number | undefined;
|
|
25004
25250
|
}, {
|
|
25005
|
-
type:
|
|
25251
|
+
type: "LinearFee";
|
|
25006
25252
|
owner: string;
|
|
25253
|
+
beneficiary?: string | undefined;
|
|
25007
25254
|
maxFee?: string | number | bigint | undefined;
|
|
25008
25255
|
halfAmount?: string | number | bigint | undefined;
|
|
25009
25256
|
bps?: string | number | undefined;
|
|
25010
25257
|
}>, {
|
|
25011
|
-
type:
|
|
25258
|
+
type: "LinearFee";
|
|
25012
25259
|
owner: string;
|
|
25260
|
+
beneficiary?: string | undefined;
|
|
25013
25261
|
maxFee?: bigint | undefined;
|
|
25014
25262
|
halfAmount?: bigint | undefined;
|
|
25015
25263
|
bps?: number | undefined;
|
|
25016
25264
|
}, {
|
|
25017
|
-
type:
|
|
25265
|
+
type: "LinearFee";
|
|
25018
25266
|
owner: string;
|
|
25267
|
+
beneficiary?: string | undefined;
|
|
25019
25268
|
maxFee?: string | number | bigint | undefined;
|
|
25020
25269
|
halfAmount?: string | number | bigint | undefined;
|
|
25021
25270
|
bps?: string | number | undefined;
|
|
25022
25271
|
}>, {
|
|
25023
25272
|
bps: number;
|
|
25024
|
-
type:
|
|
25273
|
+
type: "LinearFee";
|
|
25025
25274
|
owner: string;
|
|
25275
|
+
beneficiary?: string | undefined;
|
|
25026
25276
|
maxFee?: bigint | undefined;
|
|
25027
25277
|
halfAmount?: bigint | undefined;
|
|
25028
25278
|
}, {
|
|
25029
|
-
type:
|
|
25279
|
+
type: "LinearFee";
|
|
25030
25280
|
owner: string;
|
|
25281
|
+
beneficiary?: string | undefined;
|
|
25031
25282
|
maxFee?: string | number | bigint | undefined;
|
|
25032
25283
|
halfAmount?: string | number | bigint | undefined;
|
|
25033
25284
|
bps?: string | number | undefined;
|
|
25034
25285
|
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
25035
25286
|
owner: z.ZodString;
|
|
25287
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
25036
25288
|
} & {
|
|
25037
25289
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
25038
25290
|
} & {
|
|
25039
25291
|
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
25040
25292
|
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
25041
|
-
type: z.ZodLiteral<
|
|
25293
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
25042
25294
|
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
25043
25295
|
}, "strip", z.ZodTypeAny, {
|
|
25044
|
-
type:
|
|
25296
|
+
type: "OffchainQuotedLinearFee";
|
|
25045
25297
|
owner: string;
|
|
25298
|
+
beneficiary?: string | undefined;
|
|
25046
25299
|
maxFee?: bigint | undefined;
|
|
25047
25300
|
halfAmount?: bigint | undefined;
|
|
25048
25301
|
bps?: number | undefined;
|
|
25049
25302
|
quoteSigners?: string[] | undefined;
|
|
25050
25303
|
}, {
|
|
25051
|
-
type:
|
|
25304
|
+
type: "OffchainQuotedLinearFee";
|
|
25052
25305
|
owner: string;
|
|
25306
|
+
beneficiary?: string | undefined;
|
|
25053
25307
|
maxFee?: string | number | bigint | undefined;
|
|
25054
25308
|
halfAmount?: string | number | bigint | undefined;
|
|
25055
25309
|
bps?: string | number | undefined;
|
|
25056
25310
|
quoteSigners?: string[] | undefined;
|
|
25057
25311
|
}>, {
|
|
25058
|
-
type:
|
|
25312
|
+
type: "OffchainQuotedLinearFee";
|
|
25059
25313
|
owner: string;
|
|
25314
|
+
beneficiary?: string | undefined;
|
|
25060
25315
|
maxFee?: bigint | undefined;
|
|
25061
25316
|
halfAmount?: bigint | undefined;
|
|
25062
25317
|
bps?: number | undefined;
|
|
25063
25318
|
quoteSigners?: string[] | undefined;
|
|
25064
25319
|
}, {
|
|
25065
|
-
type:
|
|
25320
|
+
type: "OffchainQuotedLinearFee";
|
|
25066
25321
|
owner: string;
|
|
25322
|
+
beneficiary?: string | undefined;
|
|
25067
25323
|
maxFee?: string | number | bigint | undefined;
|
|
25068
25324
|
halfAmount?: string | number | bigint | undefined;
|
|
25069
25325
|
bps?: string | number | undefined;
|
|
25070
25326
|
quoteSigners?: string[] | undefined;
|
|
25071
25327
|
}>, {
|
|
25072
25328
|
bps: number;
|
|
25073
|
-
type:
|
|
25329
|
+
type: "OffchainQuotedLinearFee";
|
|
25074
25330
|
owner: string;
|
|
25331
|
+
beneficiary?: string | undefined;
|
|
25075
25332
|
maxFee?: bigint | undefined;
|
|
25076
25333
|
halfAmount?: bigint | undefined;
|
|
25077
25334
|
quoteSigners?: string[] | undefined;
|
|
25078
25335
|
}, {
|
|
25079
|
-
type:
|
|
25336
|
+
type: "OffchainQuotedLinearFee";
|
|
25080
25337
|
owner: string;
|
|
25338
|
+
beneficiary?: string | undefined;
|
|
25081
25339
|
maxFee?: string | number | bigint | undefined;
|
|
25082
25340
|
halfAmount?: string | number | bigint | undefined;
|
|
25083
25341
|
bps?: string | number | undefined;
|
|
25084
25342
|
quoteSigners?: string[] | undefined;
|
|
25085
25343
|
}>, z.ZodEffects<z.ZodObject<{
|
|
25086
25344
|
owner: z.ZodString;
|
|
25345
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
25087
25346
|
} & {
|
|
25088
|
-
type: z.ZodLiteral<
|
|
25347
|
+
type: z.ZodLiteral<"ProgressiveFee">;
|
|
25089
25348
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
25090
25349
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
25091
25350
|
}, "strip", z.ZodTypeAny, {
|
|
25092
|
-
type:
|
|
25351
|
+
type: "ProgressiveFee";
|
|
25093
25352
|
owner: string;
|
|
25094
25353
|
maxFee: bigint;
|
|
25095
25354
|
halfAmount: bigint;
|
|
25355
|
+
beneficiary?: string | undefined;
|
|
25096
25356
|
}, {
|
|
25097
|
-
type:
|
|
25357
|
+
type: "ProgressiveFee";
|
|
25098
25358
|
owner: string;
|
|
25099
25359
|
maxFee: string | number | bigint;
|
|
25100
25360
|
halfAmount: string | number | bigint;
|
|
25361
|
+
beneficiary?: string | undefined;
|
|
25101
25362
|
}>, {
|
|
25102
|
-
type:
|
|
25363
|
+
type: "ProgressiveFee";
|
|
25103
25364
|
owner: string;
|
|
25104
25365
|
maxFee: bigint;
|
|
25105
25366
|
halfAmount: bigint;
|
|
25367
|
+
beneficiary?: string | undefined;
|
|
25106
25368
|
}, {
|
|
25107
|
-
type:
|
|
25369
|
+
type: "ProgressiveFee";
|
|
25108
25370
|
owner: string;
|
|
25109
25371
|
maxFee: string | number | bigint;
|
|
25110
25372
|
halfAmount: string | number | bigint;
|
|
25373
|
+
beneficiary?: string | undefined;
|
|
25111
25374
|
}>, z.ZodEffects<z.ZodObject<{
|
|
25112
25375
|
owner: z.ZodString;
|
|
25376
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
25113
25377
|
} & {
|
|
25114
|
-
type: z.ZodLiteral<
|
|
25378
|
+
type: z.ZodLiteral<"RegressiveFee">;
|
|
25115
25379
|
maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
25116
25380
|
halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
|
|
25117
25381
|
}, "strip", z.ZodTypeAny, {
|
|
25118
|
-
type:
|
|
25382
|
+
type: "RegressiveFee";
|
|
25119
25383
|
owner: string;
|
|
25120
25384
|
maxFee: bigint;
|
|
25121
25385
|
halfAmount: bigint;
|
|
25386
|
+
beneficiary?: string | undefined;
|
|
25122
25387
|
}, {
|
|
25123
|
-
type:
|
|
25388
|
+
type: "RegressiveFee";
|
|
25124
25389
|
owner: string;
|
|
25125
25390
|
maxFee: string | number | bigint;
|
|
25126
25391
|
halfAmount: string | number | bigint;
|
|
25392
|
+
beneficiary?: string | undefined;
|
|
25127
25393
|
}>, {
|
|
25128
|
-
type:
|
|
25394
|
+
type: "RegressiveFee";
|
|
25129
25395
|
owner: string;
|
|
25130
25396
|
maxFee: bigint;
|
|
25131
25397
|
halfAmount: bigint;
|
|
25398
|
+
beneficiary?: string | undefined;
|
|
25132
25399
|
}, {
|
|
25133
|
-
type:
|
|
25400
|
+
type: "RegressiveFee";
|
|
25134
25401
|
owner: string;
|
|
25135
25402
|
maxFee: string | number | bigint;
|
|
25136
25403
|
halfAmount: string | number | bigint;
|
|
25404
|
+
beneficiary?: string | undefined;
|
|
25137
25405
|
}>, z.ZodEffects<z.ZodObject<{
|
|
25138
25406
|
owner: z.ZodString;
|
|
25407
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
25139
25408
|
} & {
|
|
25140
|
-
type: z.ZodLiteral<
|
|
25409
|
+
type: z.ZodLiteral<"RoutingFee">;
|
|
25141
25410
|
feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
|
|
25142
25411
|
}, "strip", z.ZodTypeAny, {
|
|
25143
|
-
type:
|
|
25412
|
+
type: "RoutingFee";
|
|
25144
25413
|
owner: string;
|
|
25145
25414
|
feeContracts: Record<string, any>;
|
|
25415
|
+
beneficiary?: string | undefined;
|
|
25146
25416
|
}, {
|
|
25147
|
-
type:
|
|
25417
|
+
type: "RoutingFee";
|
|
25148
25418
|
owner: string;
|
|
25149
25419
|
feeContracts: Record<string, any>;
|
|
25420
|
+
beneficiary?: string | undefined;
|
|
25150
25421
|
}>, {
|
|
25151
|
-
type:
|
|
25422
|
+
type: "RoutingFee";
|
|
25152
25423
|
owner: string;
|
|
25153
25424
|
feeContracts: Record<string, any>;
|
|
25425
|
+
beneficiary?: string | undefined;
|
|
25154
25426
|
}, {
|
|
25155
|
-
type:
|
|
25427
|
+
type: "RoutingFee";
|
|
25156
25428
|
owner: string;
|
|
25157
25429
|
feeContracts: Record<string, any>;
|
|
25430
|
+
beneficiary?: string | undefined;
|
|
25158
25431
|
}>, z.ZodEffects<z.ZodObject<{
|
|
25159
25432
|
owner: z.ZodString;
|
|
25433
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
25160
25434
|
} & {
|
|
25161
|
-
type: z.ZodLiteral<
|
|
25435
|
+
type: z.ZodLiteral<"CrossCollateralRoutingFee">;
|
|
25162
25436
|
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>>>;
|
|
25163
25437
|
}, "strip", z.ZodTypeAny, {
|
|
25164
|
-
type:
|
|
25438
|
+
type: "CrossCollateralRoutingFee";
|
|
25165
25439
|
owner: string;
|
|
25166
25440
|
feeContracts: Record<string, Record<string, any>>;
|
|
25441
|
+
beneficiary?: string | undefined;
|
|
25167
25442
|
}, {
|
|
25168
|
-
type:
|
|
25443
|
+
type: "CrossCollateralRoutingFee";
|
|
25169
25444
|
owner: string;
|
|
25170
25445
|
feeContracts: Record<string, Record<string, any>>;
|
|
25446
|
+
beneficiary?: string | undefined;
|
|
25171
25447
|
}>, {
|
|
25172
|
-
type:
|
|
25448
|
+
type: "CrossCollateralRoutingFee";
|
|
25173
25449
|
owner: string;
|
|
25174
25450
|
feeContracts: Record<string, Record<string, any>>;
|
|
25451
|
+
beneficiary?: string | undefined;
|
|
25175
25452
|
}, {
|
|
25176
|
-
type:
|
|
25453
|
+
type: "CrossCollateralRoutingFee";
|
|
25177
25454
|
owner: string;
|
|
25178
25455
|
feeContracts: Record<string, Record<string, any>>;
|
|
25456
|
+
beneficiary?: string | undefined;
|
|
25179
25457
|
}>]>>;
|
|
25180
25458
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
25181
25459
|
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
25460
|
+
feeHook: z.ZodOptional<z.ZodString>;
|
|
25182
25461
|
} & {
|
|
25183
25462
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
25184
25463
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -25217,17 +25496,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25217
25496
|
gasPrice: string;
|
|
25218
25497
|
tokenExchangeRate: string;
|
|
25219
25498
|
tokenDecimals?: number | undefined;
|
|
25220
|
-
typicalCost?: {
|
|
25221
|
-
handleGasAmount: number;
|
|
25222
|
-
totalGasAmount: number;
|
|
25223
|
-
totalUsdCost: number;
|
|
25224
|
-
} | undefined;
|
|
25225
25499
|
}>> | undefined;
|
|
25226
25500
|
} | {
|
|
25227
25501
|
type: "protocolFee";
|
|
25228
25502
|
owner: string;
|
|
25229
|
-
protocolFee: string;
|
|
25230
25503
|
beneficiary: string;
|
|
25504
|
+
protocolFee: string;
|
|
25231
25505
|
maxProtocolFee: string;
|
|
25232
25506
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25233
25507
|
} | {
|
|
@@ -25304,7 +25578,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25304
25578
|
owner: string;
|
|
25305
25579
|
urls: string[];
|
|
25306
25580
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25307
|
-
} |
|
|
25581
|
+
} | ({
|
|
25582
|
+
owner: string;
|
|
25583
|
+
paused: boolean;
|
|
25584
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
25585
|
+
} & {
|
|
25586
|
+
type: "pausableIsm";
|
|
25587
|
+
} & {
|
|
25588
|
+
address: string;
|
|
25589
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
25308
25590
|
type: z.ZodLiteral<"unknownIsm">;
|
|
25309
25591
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25310
25592
|
foreignDeployment?: string | undefined;
|
|
@@ -25313,37 +25595,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25313
25595
|
}> | undefined;
|
|
25314
25596
|
tokenFee?: {
|
|
25315
25597
|
bps: number;
|
|
25316
|
-
type:
|
|
25598
|
+
type: "LinearFee";
|
|
25317
25599
|
owner: string;
|
|
25600
|
+
beneficiary?: string | undefined;
|
|
25318
25601
|
maxFee?: bigint | undefined;
|
|
25319
25602
|
halfAmount?: bigint | undefined;
|
|
25320
25603
|
} | {
|
|
25321
25604
|
bps: number;
|
|
25322
|
-
type:
|
|
25605
|
+
type: "OffchainQuotedLinearFee";
|
|
25323
25606
|
owner: string;
|
|
25607
|
+
beneficiary?: string | undefined;
|
|
25324
25608
|
maxFee?: bigint | undefined;
|
|
25325
25609
|
halfAmount?: bigint | undefined;
|
|
25326
25610
|
quoteSigners?: string[] | undefined;
|
|
25327
25611
|
} | {
|
|
25328
|
-
type:
|
|
25612
|
+
type: "ProgressiveFee";
|
|
25329
25613
|
owner: string;
|
|
25330
25614
|
maxFee: bigint;
|
|
25331
25615
|
halfAmount: bigint;
|
|
25616
|
+
beneficiary?: string | undefined;
|
|
25332
25617
|
} | {
|
|
25333
|
-
type:
|
|
25618
|
+
type: "RegressiveFee";
|
|
25334
25619
|
owner: string;
|
|
25335
25620
|
maxFee: bigint;
|
|
25336
25621
|
halfAmount: bigint;
|
|
25622
|
+
beneficiary?: string | undefined;
|
|
25337
25623
|
} | {
|
|
25338
|
-
type:
|
|
25624
|
+
type: "RoutingFee";
|
|
25339
25625
|
owner: string;
|
|
25340
25626
|
feeContracts: Record<string, any>;
|
|
25627
|
+
beneficiary?: string | undefined;
|
|
25341
25628
|
} | {
|
|
25342
|
-
type:
|
|
25629
|
+
type: "CrossCollateralRoutingFee";
|
|
25343
25630
|
owner: string;
|
|
25344
25631
|
feeContracts: Record<string, Record<string, any>>;
|
|
25632
|
+
beneficiary?: string | undefined;
|
|
25345
25633
|
} | undefined;
|
|
25346
25634
|
destinationGas?: Record<string | number, string> | undefined;
|
|
25635
|
+
feeHook?: string | undefined;
|
|
25347
25636
|
}, {
|
|
25348
25637
|
owner: string;
|
|
25349
25638
|
gas?: number | undefined;
|
|
@@ -25380,17 +25669,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25380
25669
|
gasPrice: string;
|
|
25381
25670
|
tokenExchangeRate: string;
|
|
25382
25671
|
tokenDecimals?: number | undefined;
|
|
25383
|
-
typicalCost?: {
|
|
25384
|
-
handleGasAmount: number;
|
|
25385
|
-
totalGasAmount: number;
|
|
25386
|
-
totalUsdCost: number;
|
|
25387
|
-
} | undefined;
|
|
25388
25672
|
}>> | undefined;
|
|
25389
25673
|
} | {
|
|
25390
25674
|
type: "protocolFee";
|
|
25391
25675
|
owner: string;
|
|
25392
|
-
protocolFee: string;
|
|
25393
25676
|
beneficiary: string;
|
|
25677
|
+
protocolFee: string;
|
|
25394
25678
|
maxProtocolFee: string;
|
|
25395
25679
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25396
25680
|
} | {
|
|
@@ -25467,7 +25751,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25467
25751
|
owner: string;
|
|
25468
25752
|
urls: string[];
|
|
25469
25753
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25470
|
-
} | {
|
|
25754
|
+
} | ({
|
|
25755
|
+
owner: string;
|
|
25756
|
+
paused: boolean;
|
|
25757
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
25758
|
+
} & {
|
|
25759
|
+
type: "pausableIsm";
|
|
25760
|
+
} & {
|
|
25761
|
+
address: string;
|
|
25762
|
+
}) | {
|
|
25471
25763
|
type: "interchainAccountRouting";
|
|
25472
25764
|
owner: string;
|
|
25473
25765
|
isms: Record<string, string>;
|
|
@@ -25480,38 +25772,45 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25480
25772
|
address: string;
|
|
25481
25773
|
}> | undefined;
|
|
25482
25774
|
tokenFee?: {
|
|
25483
|
-
type:
|
|
25775
|
+
type: "LinearFee";
|
|
25484
25776
|
owner: string;
|
|
25777
|
+
beneficiary?: string | undefined;
|
|
25485
25778
|
maxFee?: string | number | bigint | undefined;
|
|
25486
25779
|
halfAmount?: string | number | bigint | undefined;
|
|
25487
25780
|
bps?: string | number | undefined;
|
|
25488
25781
|
} | {
|
|
25489
|
-
type:
|
|
25782
|
+
type: "OffchainQuotedLinearFee";
|
|
25490
25783
|
owner: string;
|
|
25784
|
+
beneficiary?: string | undefined;
|
|
25491
25785
|
maxFee?: string | number | bigint | undefined;
|
|
25492
25786
|
halfAmount?: string | number | bigint | undefined;
|
|
25493
25787
|
bps?: string | number | undefined;
|
|
25494
25788
|
quoteSigners?: string[] | undefined;
|
|
25495
25789
|
} | {
|
|
25496
|
-
type:
|
|
25790
|
+
type: "ProgressiveFee";
|
|
25497
25791
|
owner: string;
|
|
25498
25792
|
maxFee: string | number | bigint;
|
|
25499
25793
|
halfAmount: string | number | bigint;
|
|
25794
|
+
beneficiary?: string | undefined;
|
|
25500
25795
|
} | {
|
|
25501
|
-
type:
|
|
25796
|
+
type: "RegressiveFee";
|
|
25502
25797
|
owner: string;
|
|
25503
25798
|
maxFee: string | number | bigint;
|
|
25504
25799
|
halfAmount: string | number | bigint;
|
|
25800
|
+
beneficiary?: string | undefined;
|
|
25505
25801
|
} | {
|
|
25506
|
-
type:
|
|
25802
|
+
type: "RoutingFee";
|
|
25507
25803
|
owner: string;
|
|
25508
25804
|
feeContracts: Record<string, any>;
|
|
25805
|
+
beneficiary?: string | undefined;
|
|
25509
25806
|
} | {
|
|
25510
|
-
type:
|
|
25807
|
+
type: "CrossCollateralRoutingFee";
|
|
25511
25808
|
owner: string;
|
|
25512
25809
|
feeContracts: Record<string, Record<string, any>>;
|
|
25810
|
+
beneficiary?: string | undefined;
|
|
25513
25811
|
} | undefined;
|
|
25514
25812
|
destinationGas?: Record<string | number, string> | undefined;
|
|
25813
|
+
feeHook?: string | undefined;
|
|
25515
25814
|
}>>, z.ZodObject<{
|
|
25516
25815
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Error, ContractVerificationStatus.Skipped, ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified]>>>;
|
|
25517
25816
|
ownerStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[OwnerStatus.Error, OwnerStatus.Skipped, OwnerStatus.Active, OwnerStatus.Inactive, OwnerStatus.GnosisSafe]>>>;
|
|
@@ -25952,17 +26251,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
25952
26251
|
gasPrice: string;
|
|
25953
26252
|
tokenExchangeRate: string;
|
|
25954
26253
|
tokenDecimals?: number | undefined;
|
|
25955
|
-
typicalCost?: {
|
|
25956
|
-
handleGasAmount: number;
|
|
25957
|
-
totalGasAmount: number;
|
|
25958
|
-
totalUsdCost: number;
|
|
25959
|
-
} | undefined;
|
|
25960
26254
|
}>> | undefined;
|
|
25961
26255
|
} | {
|
|
25962
26256
|
type: "protocolFee";
|
|
25963
26257
|
owner: string;
|
|
25964
|
-
protocolFee: string;
|
|
25965
26258
|
beneficiary: string;
|
|
26259
|
+
protocolFee: string;
|
|
25966
26260
|
maxProtocolFee: string;
|
|
25967
26261
|
ownerOverrides?: Record<string, string> | undefined;
|
|
25968
26262
|
} | {
|
|
@@ -26039,7 +26333,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26039
26333
|
owner: string;
|
|
26040
26334
|
urls: string[];
|
|
26041
26335
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26042
|
-
} |
|
|
26336
|
+
} | ({
|
|
26337
|
+
owner: string;
|
|
26338
|
+
paused: boolean;
|
|
26339
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
26340
|
+
} & {
|
|
26341
|
+
type: "pausableIsm";
|
|
26342
|
+
} & {
|
|
26343
|
+
address: string;
|
|
26344
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
26043
26345
|
type: z.ZodLiteral<"unknownIsm">;
|
|
26044
26346
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
26045
26347
|
foreignDeployment?: string | undefined;
|
|
@@ -26048,37 +26350,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26048
26350
|
}> | undefined;
|
|
26049
26351
|
tokenFee?: {
|
|
26050
26352
|
bps: number;
|
|
26051
|
-
type:
|
|
26353
|
+
type: "LinearFee";
|
|
26052
26354
|
owner: string;
|
|
26355
|
+
beneficiary?: string | undefined;
|
|
26053
26356
|
maxFee?: bigint | undefined;
|
|
26054
26357
|
halfAmount?: bigint | undefined;
|
|
26055
26358
|
} | {
|
|
26056
26359
|
bps: number;
|
|
26057
|
-
type:
|
|
26360
|
+
type: "OffchainQuotedLinearFee";
|
|
26058
26361
|
owner: string;
|
|
26362
|
+
beneficiary?: string | undefined;
|
|
26059
26363
|
maxFee?: bigint | undefined;
|
|
26060
26364
|
halfAmount?: bigint | undefined;
|
|
26061
26365
|
quoteSigners?: string[] | undefined;
|
|
26062
26366
|
} | {
|
|
26063
|
-
type:
|
|
26367
|
+
type: "ProgressiveFee";
|
|
26064
26368
|
owner: string;
|
|
26065
26369
|
maxFee: bigint;
|
|
26066
26370
|
halfAmount: bigint;
|
|
26371
|
+
beneficiary?: string | undefined;
|
|
26067
26372
|
} | {
|
|
26068
|
-
type:
|
|
26373
|
+
type: "RegressiveFee";
|
|
26069
26374
|
owner: string;
|
|
26070
26375
|
maxFee: bigint;
|
|
26071
26376
|
halfAmount: bigint;
|
|
26377
|
+
beneficiary?: string | undefined;
|
|
26072
26378
|
} | {
|
|
26073
|
-
type:
|
|
26379
|
+
type: "RoutingFee";
|
|
26074
26380
|
owner: string;
|
|
26075
26381
|
feeContracts: Record<string, any>;
|
|
26382
|
+
beneficiary?: string | undefined;
|
|
26076
26383
|
} | {
|
|
26077
|
-
type:
|
|
26384
|
+
type: "CrossCollateralRoutingFee";
|
|
26078
26385
|
owner: string;
|
|
26079
26386
|
feeContracts: Record<string, Record<string, any>>;
|
|
26387
|
+
beneficiary?: string | undefined;
|
|
26080
26388
|
} | undefined;
|
|
26081
26389
|
destinationGas?: Record<string | number, string> | undefined;
|
|
26390
|
+
feeHook?: string | undefined;
|
|
26082
26391
|
}) & {
|
|
26083
26392
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
26084
26393
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -26513,17 +26822,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26513
26822
|
gasPrice: string;
|
|
26514
26823
|
tokenExchangeRate: string;
|
|
26515
26824
|
tokenDecimals?: number | undefined;
|
|
26516
|
-
typicalCost?: {
|
|
26517
|
-
handleGasAmount: number;
|
|
26518
|
-
totalGasAmount: number;
|
|
26519
|
-
totalUsdCost: number;
|
|
26520
|
-
} | undefined;
|
|
26521
26825
|
}>> | undefined;
|
|
26522
26826
|
} | {
|
|
26523
26827
|
type: "protocolFee";
|
|
26524
26828
|
owner: string;
|
|
26525
|
-
protocolFee: string;
|
|
26526
26829
|
beneficiary: string;
|
|
26830
|
+
protocolFee: string;
|
|
26527
26831
|
maxProtocolFee: string;
|
|
26528
26832
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26529
26833
|
} | {
|
|
@@ -26600,7 +26904,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26600
26904
|
owner: string;
|
|
26601
26905
|
urls: string[];
|
|
26602
26906
|
ownerOverrides?: Record<string, string> | undefined;
|
|
26603
|
-
} |
|
|
26907
|
+
} | ({
|
|
26908
|
+
owner: string;
|
|
26909
|
+
paused: boolean;
|
|
26910
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
26911
|
+
} & {
|
|
26912
|
+
type: "pausableIsm";
|
|
26913
|
+
} & {
|
|
26914
|
+
address: string;
|
|
26915
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
26604
26916
|
type: z.ZodLiteral<"unknownIsm">;
|
|
26605
26917
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
26606
26918
|
foreignDeployment?: string | undefined;
|
|
@@ -26609,37 +26921,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26609
26921
|
}> | undefined;
|
|
26610
26922
|
tokenFee?: {
|
|
26611
26923
|
bps: number;
|
|
26612
|
-
type:
|
|
26924
|
+
type: "LinearFee";
|
|
26613
26925
|
owner: string;
|
|
26926
|
+
beneficiary?: string | undefined;
|
|
26614
26927
|
maxFee?: bigint | undefined;
|
|
26615
26928
|
halfAmount?: bigint | undefined;
|
|
26616
26929
|
} | {
|
|
26617
26930
|
bps: number;
|
|
26618
|
-
type:
|
|
26931
|
+
type: "OffchainQuotedLinearFee";
|
|
26619
26932
|
owner: string;
|
|
26933
|
+
beneficiary?: string | undefined;
|
|
26620
26934
|
maxFee?: bigint | undefined;
|
|
26621
26935
|
halfAmount?: bigint | undefined;
|
|
26622
26936
|
quoteSigners?: string[] | undefined;
|
|
26623
26937
|
} | {
|
|
26624
|
-
type:
|
|
26938
|
+
type: "ProgressiveFee";
|
|
26625
26939
|
owner: string;
|
|
26626
26940
|
maxFee: bigint;
|
|
26627
26941
|
halfAmount: bigint;
|
|
26942
|
+
beneficiary?: string | undefined;
|
|
26628
26943
|
} | {
|
|
26629
|
-
type:
|
|
26944
|
+
type: "RegressiveFee";
|
|
26630
26945
|
owner: string;
|
|
26631
26946
|
maxFee: bigint;
|
|
26632
26947
|
halfAmount: bigint;
|
|
26948
|
+
beneficiary?: string | undefined;
|
|
26633
26949
|
} | {
|
|
26634
|
-
type:
|
|
26950
|
+
type: "RoutingFee";
|
|
26635
26951
|
owner: string;
|
|
26636
26952
|
feeContracts: Record<string, any>;
|
|
26953
|
+
beneficiary?: string | undefined;
|
|
26637
26954
|
} | {
|
|
26638
|
-
type:
|
|
26955
|
+
type: "CrossCollateralRoutingFee";
|
|
26639
26956
|
owner: string;
|
|
26640
26957
|
feeContracts: Record<string, Record<string, any>>;
|
|
26958
|
+
beneficiary?: string | undefined;
|
|
26641
26959
|
} | undefined;
|
|
26642
26960
|
destinationGas?: Record<string | number, string> | undefined;
|
|
26961
|
+
feeHook?: string | undefined;
|
|
26643
26962
|
}) & {
|
|
26644
26963
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
26645
26964
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -27074,17 +27393,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27074
27393
|
gasPrice: string;
|
|
27075
27394
|
tokenExchangeRate: string;
|
|
27076
27395
|
tokenDecimals?: number | undefined;
|
|
27077
|
-
typicalCost?: {
|
|
27078
|
-
handleGasAmount: number;
|
|
27079
|
-
totalGasAmount: number;
|
|
27080
|
-
totalUsdCost: number;
|
|
27081
|
-
} | undefined;
|
|
27082
27396
|
}>> | undefined;
|
|
27083
27397
|
} | {
|
|
27084
27398
|
type: "protocolFee";
|
|
27085
27399
|
owner: string;
|
|
27086
|
-
protocolFee: string;
|
|
27087
27400
|
beneficiary: string;
|
|
27401
|
+
protocolFee: string;
|
|
27088
27402
|
maxProtocolFee: string;
|
|
27089
27403
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27090
27404
|
} | {
|
|
@@ -27161,7 +27475,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27161
27475
|
owner: string;
|
|
27162
27476
|
urls: string[];
|
|
27163
27477
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27164
|
-
} |
|
|
27478
|
+
} | ({
|
|
27479
|
+
owner: string;
|
|
27480
|
+
paused: boolean;
|
|
27481
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
27482
|
+
} & {
|
|
27483
|
+
type: "pausableIsm";
|
|
27484
|
+
} & {
|
|
27485
|
+
address: string;
|
|
27486
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
27165
27487
|
type: z.ZodLiteral<"unknownIsm">;
|
|
27166
27488
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
27167
27489
|
foreignDeployment?: string | undefined;
|
|
@@ -27170,37 +27492,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27170
27492
|
}> | undefined;
|
|
27171
27493
|
tokenFee?: {
|
|
27172
27494
|
bps: number;
|
|
27173
|
-
type:
|
|
27495
|
+
type: "LinearFee";
|
|
27174
27496
|
owner: string;
|
|
27497
|
+
beneficiary?: string | undefined;
|
|
27175
27498
|
maxFee?: bigint | undefined;
|
|
27176
27499
|
halfAmount?: bigint | undefined;
|
|
27177
27500
|
} | {
|
|
27178
27501
|
bps: number;
|
|
27179
|
-
type:
|
|
27502
|
+
type: "OffchainQuotedLinearFee";
|
|
27180
27503
|
owner: string;
|
|
27504
|
+
beneficiary?: string | undefined;
|
|
27181
27505
|
maxFee?: bigint | undefined;
|
|
27182
27506
|
halfAmount?: bigint | undefined;
|
|
27183
27507
|
quoteSigners?: string[] | undefined;
|
|
27184
27508
|
} | {
|
|
27185
|
-
type:
|
|
27509
|
+
type: "ProgressiveFee";
|
|
27186
27510
|
owner: string;
|
|
27187
27511
|
maxFee: bigint;
|
|
27188
27512
|
halfAmount: bigint;
|
|
27513
|
+
beneficiary?: string | undefined;
|
|
27189
27514
|
} | {
|
|
27190
|
-
type:
|
|
27515
|
+
type: "RegressiveFee";
|
|
27191
27516
|
owner: string;
|
|
27192
27517
|
maxFee: bigint;
|
|
27193
27518
|
halfAmount: bigint;
|
|
27519
|
+
beneficiary?: string | undefined;
|
|
27194
27520
|
} | {
|
|
27195
|
-
type:
|
|
27521
|
+
type: "RoutingFee";
|
|
27196
27522
|
owner: string;
|
|
27197
27523
|
feeContracts: Record<string, any>;
|
|
27524
|
+
beneficiary?: string | undefined;
|
|
27198
27525
|
} | {
|
|
27199
|
-
type:
|
|
27526
|
+
type: "CrossCollateralRoutingFee";
|
|
27200
27527
|
owner: string;
|
|
27201
27528
|
feeContracts: Record<string, Record<string, any>>;
|
|
27529
|
+
beneficiary?: string | undefined;
|
|
27202
27530
|
} | undefined;
|
|
27203
27531
|
destinationGas?: Record<string | number, string> | undefined;
|
|
27532
|
+
feeHook?: string | undefined;
|
|
27204
27533
|
}) & {
|
|
27205
27534
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
27206
27535
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -27635,17 +27964,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27635
27964
|
gasPrice: string;
|
|
27636
27965
|
tokenExchangeRate: string;
|
|
27637
27966
|
tokenDecimals?: number | undefined;
|
|
27638
|
-
typicalCost?: {
|
|
27639
|
-
handleGasAmount: number;
|
|
27640
|
-
totalGasAmount: number;
|
|
27641
|
-
totalUsdCost: number;
|
|
27642
|
-
} | undefined;
|
|
27643
27967
|
}>> | undefined;
|
|
27644
27968
|
} | {
|
|
27645
27969
|
type: "protocolFee";
|
|
27646
27970
|
owner: string;
|
|
27647
|
-
protocolFee: string;
|
|
27648
27971
|
beneficiary: string;
|
|
27972
|
+
protocolFee: string;
|
|
27649
27973
|
maxProtocolFee: string;
|
|
27650
27974
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27651
27975
|
} | {
|
|
@@ -27722,7 +28046,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27722
28046
|
owner: string;
|
|
27723
28047
|
urls: string[];
|
|
27724
28048
|
ownerOverrides?: Record<string, string> | undefined;
|
|
27725
|
-
} |
|
|
28049
|
+
} | ({
|
|
28050
|
+
owner: string;
|
|
28051
|
+
paused: boolean;
|
|
28052
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
28053
|
+
} & {
|
|
28054
|
+
type: "pausableIsm";
|
|
28055
|
+
} & {
|
|
28056
|
+
address: string;
|
|
28057
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
27726
28058
|
type: z.ZodLiteral<"unknownIsm">;
|
|
27727
28059
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
27728
28060
|
foreignDeployment?: string | undefined;
|
|
@@ -27731,37 +28063,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27731
28063
|
}> | undefined;
|
|
27732
28064
|
tokenFee?: {
|
|
27733
28065
|
bps: number;
|
|
27734
|
-
type:
|
|
28066
|
+
type: "LinearFee";
|
|
27735
28067
|
owner: string;
|
|
28068
|
+
beneficiary?: string | undefined;
|
|
27736
28069
|
maxFee?: bigint | undefined;
|
|
27737
28070
|
halfAmount?: bigint | undefined;
|
|
27738
28071
|
} | {
|
|
27739
28072
|
bps: number;
|
|
27740
|
-
type:
|
|
28073
|
+
type: "OffchainQuotedLinearFee";
|
|
27741
28074
|
owner: string;
|
|
28075
|
+
beneficiary?: string | undefined;
|
|
27742
28076
|
maxFee?: bigint | undefined;
|
|
27743
28077
|
halfAmount?: bigint | undefined;
|
|
27744
28078
|
quoteSigners?: string[] | undefined;
|
|
27745
28079
|
} | {
|
|
27746
|
-
type:
|
|
28080
|
+
type: "ProgressiveFee";
|
|
27747
28081
|
owner: string;
|
|
27748
28082
|
maxFee: bigint;
|
|
27749
28083
|
halfAmount: bigint;
|
|
28084
|
+
beneficiary?: string | undefined;
|
|
27750
28085
|
} | {
|
|
27751
|
-
type:
|
|
28086
|
+
type: "RegressiveFee";
|
|
27752
28087
|
owner: string;
|
|
27753
28088
|
maxFee: bigint;
|
|
27754
28089
|
halfAmount: bigint;
|
|
28090
|
+
beneficiary?: string | undefined;
|
|
27755
28091
|
} | {
|
|
27756
|
-
type:
|
|
28092
|
+
type: "RoutingFee";
|
|
27757
28093
|
owner: string;
|
|
27758
28094
|
feeContracts: Record<string, any>;
|
|
28095
|
+
beneficiary?: string | undefined;
|
|
27759
28096
|
} | {
|
|
27760
|
-
type:
|
|
28097
|
+
type: "CrossCollateralRoutingFee";
|
|
27761
28098
|
owner: string;
|
|
27762
28099
|
feeContracts: Record<string, Record<string, any>>;
|
|
28100
|
+
beneficiary?: string | undefined;
|
|
27763
28101
|
} | undefined;
|
|
27764
28102
|
destinationGas?: Record<string | number, string> | undefined;
|
|
28103
|
+
feeHook?: string | undefined;
|
|
27765
28104
|
}) & {
|
|
27766
28105
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
27767
28106
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|
|
@@ -28196,17 +28535,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
28196
28535
|
gasPrice: string;
|
|
28197
28536
|
tokenExchangeRate: string;
|
|
28198
28537
|
tokenDecimals?: number | undefined;
|
|
28199
|
-
typicalCost?: {
|
|
28200
|
-
handleGasAmount: number;
|
|
28201
|
-
totalGasAmount: number;
|
|
28202
|
-
totalUsdCost: number;
|
|
28203
|
-
} | undefined;
|
|
28204
28538
|
}>> | undefined;
|
|
28205
28539
|
} | {
|
|
28206
28540
|
type: "protocolFee";
|
|
28207
28541
|
owner: string;
|
|
28208
|
-
protocolFee: string;
|
|
28209
28542
|
beneficiary: string;
|
|
28543
|
+
protocolFee: string;
|
|
28210
28544
|
maxProtocolFee: string;
|
|
28211
28545
|
ownerOverrides?: Record<string, string> | undefined;
|
|
28212
28546
|
} | {
|
|
@@ -28283,7 +28617,15 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
28283
28617
|
owner: string;
|
|
28284
28618
|
urls: string[];
|
|
28285
28619
|
ownerOverrides?: Record<string, string> | undefined;
|
|
28286
|
-
} |
|
|
28620
|
+
} | ({
|
|
28621
|
+
owner: string;
|
|
28622
|
+
paused: boolean;
|
|
28623
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
28624
|
+
} & {
|
|
28625
|
+
type: "pausableIsm";
|
|
28626
|
+
} & {
|
|
28627
|
+
address: string;
|
|
28628
|
+
}) | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
|
|
28287
28629
|
type: z.ZodLiteral<"unknownIsm">;
|
|
28288
28630
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
28289
28631
|
foreignDeployment?: string | undefined;
|
|
@@ -28292,37 +28634,44 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
28292
28634
|
}> | undefined;
|
|
28293
28635
|
tokenFee?: {
|
|
28294
28636
|
bps: number;
|
|
28295
|
-
type:
|
|
28637
|
+
type: "LinearFee";
|
|
28296
28638
|
owner: string;
|
|
28639
|
+
beneficiary?: string | undefined;
|
|
28297
28640
|
maxFee?: bigint | undefined;
|
|
28298
28641
|
halfAmount?: bigint | undefined;
|
|
28299
28642
|
} | {
|
|
28300
28643
|
bps: number;
|
|
28301
|
-
type:
|
|
28644
|
+
type: "OffchainQuotedLinearFee";
|
|
28302
28645
|
owner: string;
|
|
28646
|
+
beneficiary?: string | undefined;
|
|
28303
28647
|
maxFee?: bigint | undefined;
|
|
28304
28648
|
halfAmount?: bigint | undefined;
|
|
28305
28649
|
quoteSigners?: string[] | undefined;
|
|
28306
28650
|
} | {
|
|
28307
|
-
type:
|
|
28651
|
+
type: "ProgressiveFee";
|
|
28308
28652
|
owner: string;
|
|
28309
28653
|
maxFee: bigint;
|
|
28310
28654
|
halfAmount: bigint;
|
|
28655
|
+
beneficiary?: string | undefined;
|
|
28311
28656
|
} | {
|
|
28312
|
-
type:
|
|
28657
|
+
type: "RegressiveFee";
|
|
28313
28658
|
owner: string;
|
|
28314
28659
|
maxFee: bigint;
|
|
28315
28660
|
halfAmount: bigint;
|
|
28661
|
+
beneficiary?: string | undefined;
|
|
28316
28662
|
} | {
|
|
28317
|
-
type:
|
|
28663
|
+
type: "RoutingFee";
|
|
28318
28664
|
owner: string;
|
|
28319
28665
|
feeContracts: Record<string, any>;
|
|
28666
|
+
beneficiary?: string | undefined;
|
|
28320
28667
|
} | {
|
|
28321
|
-
type:
|
|
28668
|
+
type: "CrossCollateralRoutingFee";
|
|
28322
28669
|
owner: string;
|
|
28323
28670
|
feeContracts: Record<string, Record<string, any>>;
|
|
28671
|
+
beneficiary?: string | undefined;
|
|
28324
28672
|
} | undefined;
|
|
28325
28673
|
destinationGas?: Record<string | number, string> | undefined;
|
|
28674
|
+
feeHook?: string | undefined;
|
|
28326
28675
|
}) & {
|
|
28327
28676
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
28328
28677
|
ownerStatus?: Record<string, OwnerStatus> | undefined;
|