@hyperlane-xyz/sdk 41.3.1 → 42.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/ccip/consts.d.ts.map +1 -1
- package/dist/ccip/consts.js +20 -0
- package/dist/ccip/consts.js.map +1 -1
- package/dist/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +20 -0
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/contracts/contracts.d.ts.map +1 -1
- package/dist/contracts/contracts.js +15 -0
- package/dist/contracts/contracts.js.map +1 -1
- package/dist/contracts/contracts.test.d.ts +2 -0
- package/dist/contracts/contracts.test.d.ts.map +1 -0
- package/dist/contracts/contracts.test.js +88 -0
- package/dist/contracts/contracts.test.js.map +1 -0
- package/dist/core/types.d.ts +80 -2602
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +19 -1
- package/dist/core/types.js.map +1 -1
- package/dist/core/types.test.js +58 -0
- package/dist/core/types.test.js.map +1 -1
- package/dist/deploy/warp.d.ts +119 -3
- package/dist/deploy/warp.d.ts.map +1 -1
- package/dist/deploy/warp.js +696 -33
- package/dist/deploy/warp.js.map +1 -1
- package/dist/deploy/warp.test.d.ts +2 -0
- package/dist/deploy/warp.test.d.ts.map +1 -0
- package/dist/deploy/warp.test.js +358 -0
- package/dist/deploy/warp.test.js.map +1 -0
- package/dist/deploy/warpHybridPlan.d.ts +104 -0
- package/dist/deploy/warpHybridPlan.d.ts.map +1 -0
- package/dist/deploy/warpHybridPlan.js +178 -0
- package/dist/deploy/warpHybridPlan.js.map +1 -0
- package/dist/deploy/warpHybridPlan.test.d.ts +2 -0
- package/dist/deploy/warpHybridPlan.test.d.ts.map +1 -0
- package/dist/deploy/warpHybridPlan.test.js +141 -0
- package/dist/deploy/warpHybridPlan.test.js.map +1 -0
- package/dist/hook/EvmHookModule.d.ts +1 -1
- package/dist/hook/EvmHookModule.d.ts.map +1 -1
- package/dist/hook/EvmHookModule.js +16 -3
- package/dist/hook/EvmHookModule.js.map +1 -1
- package/dist/hook/EvmHookReader.d.ts +10 -0
- package/dist/hook/EvmHookReader.d.ts.map +1 -1
- package/dist/hook/EvmHookReader.js +92 -11
- package/dist/hook/EvmHookReader.js.map +1 -1
- package/dist/hook/EvmHookReader.test.js +155 -1
- package/dist/hook/EvmHookReader.test.js.map +1 -1
- package/dist/hook/types.d.ts +107 -1983
- package/dist/hook/types.d.ts.map +1 -1
- package/dist/hook/types.js +49 -0
- package/dist/hook/types.js.map +1 -1
- package/dist/hook/types.test.js +21 -1
- package/dist/hook/types.test.js.map +1 -1
- package/dist/hook/updates.d.ts +1 -0
- package/dist/hook/updates.d.ts.map +1 -1
- package/dist/hook/updates.js +2 -2
- package/dist/hook/updates.js.map +1 -1
- package/dist/hook/utils.d.ts +28 -1
- package/dist/hook/utils.d.ts.map +1 -1
- package/dist/hook/utils.js +89 -0
- package/dist/hook/utils.js.map +1 -1
- package/dist/ica/types.d.ts +4 -674
- package/dist/ica/types.d.ts.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/ism/EvmIsmModule.d.ts +28 -2
- package/dist/ism/EvmIsmModule.d.ts.map +1 -1
- package/dist/ism/EvmIsmModule.hardhat-test.js +478 -3
- package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
- package/dist/ism/EvmIsmModule.js +224 -10
- package/dist/ism/EvmIsmModule.js.map +1 -1
- package/dist/ism/EvmIsmReader.d.ts.map +1 -1
- package/dist/ism/EvmIsmReader.js +77 -1
- package/dist/ism/EvmIsmReader.js.map +1 -1
- package/dist/ism/EvmIsmReader.test.js +245 -4
- package/dist/ism/EvmIsmReader.test.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts +14 -4
- package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +372 -3
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.js +80 -6
- package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
- package/dist/ism/delayedFlow.d.ts +31 -0
- package/dist/ism/delayedFlow.d.ts.map +1 -0
- package/dist/ism/delayedFlow.js +33 -0
- package/dist/ism/delayedFlow.js.map +1 -0
- package/dist/ism/types.d.ts +135 -4
- package/dist/ism/types.d.ts.map +1 -1
- package/dist/ism/types.js +263 -11
- package/dist/ism/types.js.map +1 -1
- package/dist/ism/types.test.js +433 -1
- package/dist/ism/types.test.js.map +1 -1
- package/dist/ism/utils.d.ts.map +1 -1
- package/dist/ism/utils.js +113 -3
- package/dist/ism/utils.js.map +1 -1
- package/dist/ism/utils.test.js +44 -0
- package/dist/ism/utils.test.js.map +1 -1
- package/dist/providers/MultiProviderAdapter.d.ts +3 -3
- package/dist/providers/MultiProviderAdapter.d.ts.map +1 -1
- package/dist/providers/MultiProviderAdapter.js +2 -1
- package/dist/providers/MultiProviderAdapter.js.map +1 -1
- package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.d.ts.map +1 -1
- package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.js +4 -0
- package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.js.map +1 -1
- package/dist/providers/transactionFeeEstimators.d.ts +16 -9
- package/dist/providers/transactionFeeEstimators.d.ts.map +1 -1
- package/dist/providers/transactionFeeEstimators.js +66 -17
- package/dist/providers/transactionFeeEstimators.js.map +1 -1
- package/dist/providers/transactionFeeEstimators.test.js +153 -1
- package/dist/providers/transactionFeeEstimators.test.js.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts +14 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.js +46 -5
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.js.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.test.d.ts +2 -0
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.test.d.ts.map +1 -0
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.test.js +125 -0
- package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.test.js.map +1 -0
- package/dist/router/HyperlaneRouterDeployer.d.ts +3 -1
- package/dist/router/HyperlaneRouterDeployer.d.ts.map +1 -1
- package/dist/router/HyperlaneRouterDeployer.js +4 -2
- package/dist/router/HyperlaneRouterDeployer.js.map +1 -1
- package/dist/router/types.d.ts +6 -1011
- package/dist/router/types.d.ts.map +1 -1
- package/dist/test/testUtils.d.ts +1 -1
- package/dist/test/testUtils.d.ts.map +1 -1
- package/dist/test/testUtils.js +17 -0
- package/dist/test/testUtils.js.map +1 -1
- package/dist/test/testUtils.test.d.ts +2 -0
- package/dist/test/testUtils.test.d.ts.map +1 -0
- package/dist/test/testUtils.test.js +28 -0
- package/dist/test/testUtils.test.js.map +1 -0
- package/dist/token/EvmWarpModule.d.ts +44 -8
- package/dist/token/EvmWarpModule.d.ts.map +1 -1
- package/dist/token/EvmWarpModule.hardhat-test.js +574 -4
- package/dist/token/EvmWarpModule.hardhat-test.js.map +1 -1
- package/dist/token/EvmWarpModule.js +237 -25
- package/dist/token/EvmWarpModule.js.map +1 -1
- package/dist/token/configUtils.d.ts +17 -7
- package/dist/token/configUtils.d.ts.map +1 -1
- package/dist/token/configUtils.js +108 -0
- package/dist/token/configUtils.js.map +1 -1
- package/dist/token/configUtils.test.js +155 -1
- package/dist/token/configUtils.test.js.map +1 -1
- package/dist/token/deploy.d.ts +3 -1
- package/dist/token/deploy.d.ts.map +1 -1
- package/dist/token/deploy.hardhat-test.js +454 -3
- package/dist/token/deploy.hardhat-test.js.map +1 -1
- package/dist/token/deploy.js +25 -6
- package/dist/token/deploy.js.map +1 -1
- package/dist/token/types.d.ts +169 -2931
- package/dist/token/types.d.ts.map +1 -1
- package/dist/token/types.test.js +48 -0
- package/dist/token/types.test.js.map +1 -1
- package/dist/token/warpCheck.d.ts.map +1 -1
- package/dist/token/warpCheck.js +36 -1
- package/dist/token/warpCheck.js.map +1 -1
- package/dist/utils/ism.d.ts +167 -1
- package/dist/utils/ism.d.ts.map +1 -1
- package/dist/utils/ism.js +412 -2
- package/dist/utils/ism.js.map +1 -1
- package/dist/utils/ism.test.d.ts +2 -0
- package/dist/utils/ism.test.d.ts.map +1 -0
- package/dist/utils/ism.test.js +372 -0
- package/dist/utils/ism.test.js.map +1 -0
- package/package.json +10 -10
package/dist/token/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { HookConfig } from '../hook/types.js';
|
|
2
3
|
import { IsmConfig } from '../ism/types.js';
|
|
3
4
|
import { DerivedRouterConfig, GasRouterConfigSchema } from '../router/types.js';
|
|
4
5
|
import { ChainMap } from '../types.js';
|
|
@@ -8682,278 +8683,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodEffects<z.Zod
|
|
|
8682
8683
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8683
8684
|
} & {
|
|
8684
8685
|
mailbox: z.ZodString;
|
|
8685
|
-
hook: z.ZodOptional<z.
|
|
8686
|
-
owner: z.ZodString;
|
|
8687
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8688
|
-
} & {
|
|
8689
|
-
type: z.ZodLiteral<"protocolFee">;
|
|
8690
|
-
beneficiary: z.ZodString;
|
|
8691
|
-
maxProtocolFee: z.ZodString;
|
|
8692
|
-
protocolFee: z.ZodString;
|
|
8693
|
-
}, "strip", z.ZodTypeAny, {
|
|
8694
|
-
owner: string;
|
|
8695
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8696
|
-
type: "protocolFee";
|
|
8697
|
-
beneficiary: string;
|
|
8698
|
-
maxProtocolFee: string;
|
|
8699
|
-
protocolFee: string;
|
|
8700
|
-
}, {
|
|
8701
|
-
owner: string;
|
|
8702
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8703
|
-
type: "protocolFee";
|
|
8704
|
-
beneficiary: string;
|
|
8705
|
-
maxProtocolFee: string;
|
|
8706
|
-
protocolFee: string;
|
|
8707
|
-
}>, z.ZodObject<{
|
|
8708
|
-
owner: z.ZodString;
|
|
8709
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8710
|
-
} & {
|
|
8711
|
-
paused: z.ZodBoolean;
|
|
8712
|
-
} & {
|
|
8713
|
-
type: z.ZodLiteral<"pausableHook">;
|
|
8714
|
-
}, "strip", z.ZodTypeAny, {
|
|
8715
|
-
owner: string;
|
|
8716
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8717
|
-
paused: boolean;
|
|
8718
|
-
type: "pausableHook";
|
|
8719
|
-
}, {
|
|
8720
|
-
owner: string;
|
|
8721
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8722
|
-
paused: boolean;
|
|
8723
|
-
type: "pausableHook";
|
|
8724
|
-
}>, z.ZodObject<{
|
|
8725
|
-
owner: z.ZodString;
|
|
8726
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8727
|
-
} & {
|
|
8728
|
-
type: z.ZodLiteral<"opStackHook">;
|
|
8729
|
-
nativeBridge: z.ZodString;
|
|
8730
|
-
destinationChain: z.ZodString;
|
|
8731
|
-
}, "strip", z.ZodTypeAny, {
|
|
8732
|
-
owner: string;
|
|
8733
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8734
|
-
type: "opStackHook";
|
|
8735
|
-
nativeBridge: string;
|
|
8736
|
-
destinationChain: string;
|
|
8737
|
-
}, {
|
|
8738
|
-
owner: string;
|
|
8739
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8740
|
-
type: "opStackHook";
|
|
8741
|
-
nativeBridge: string;
|
|
8742
|
-
destinationChain: string;
|
|
8743
|
-
}>, z.ZodObject<{
|
|
8744
|
-
type: z.ZodLiteral<"merkleTreeHook">;
|
|
8745
|
-
}, "strip", z.ZodTypeAny, {
|
|
8746
|
-
type: "merkleTreeHook";
|
|
8747
|
-
}, {
|
|
8748
|
-
type: "merkleTreeHook";
|
|
8749
|
-
}>, z.ZodObject<{
|
|
8750
|
-
owner: z.ZodString;
|
|
8751
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8752
|
-
} & {
|
|
8753
|
-
type: z.ZodLiteral<"interchainGasPaymaster">;
|
|
8754
|
-
beneficiary: z.ZodString;
|
|
8755
|
-
oracleKey: z.ZodString;
|
|
8756
|
-
overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
8757
|
-
oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8758
|
-
gasPrice: z.ZodString;
|
|
8759
|
-
tokenExchangeRate: z.ZodString;
|
|
8760
|
-
} & {
|
|
8761
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
8762
|
-
} & {
|
|
8763
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
8764
|
-
handleGasAmount: z.ZodNumber;
|
|
8765
|
-
totalGasAmount: z.ZodNumber;
|
|
8766
|
-
totalUsdCost: z.ZodNumber;
|
|
8767
|
-
}, "strip", z.ZodTypeAny, {
|
|
8768
|
-
handleGasAmount: number;
|
|
8769
|
-
totalGasAmount: number;
|
|
8770
|
-
totalUsdCost: number;
|
|
8771
|
-
}, {
|
|
8772
|
-
handleGasAmount: number;
|
|
8773
|
-
totalGasAmount: number;
|
|
8774
|
-
totalUsdCost: number;
|
|
8775
|
-
}>>;
|
|
8776
|
-
}, "strip", z.ZodTypeAny, {
|
|
8777
|
-
gasPrice: string;
|
|
8778
|
-
tokenExchangeRate: string;
|
|
8779
|
-
tokenDecimals?: number | undefined;
|
|
8780
|
-
typicalCost?: {
|
|
8781
|
-
handleGasAmount: number;
|
|
8782
|
-
totalGasAmount: number;
|
|
8783
|
-
totalUsdCost: number;
|
|
8784
|
-
} | undefined;
|
|
8785
|
-
}, {
|
|
8786
|
-
gasPrice: string;
|
|
8787
|
-
tokenExchangeRate: string;
|
|
8788
|
-
tokenDecimals?: number | undefined;
|
|
8789
|
-
typicalCost?: {
|
|
8790
|
-
handleGasAmount: number;
|
|
8791
|
-
totalGasAmount: number;
|
|
8792
|
-
totalUsdCost: number;
|
|
8793
|
-
} | undefined;
|
|
8794
|
-
}>>;
|
|
8795
|
-
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
8796
|
-
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8797
|
-
contractVersion: z.ZodOptional<z.ZodString>;
|
|
8798
|
-
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8799
|
-
gasPrice: z.ZodString;
|
|
8800
|
-
tokenExchangeRate: z.ZodString;
|
|
8801
|
-
} & {
|
|
8802
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
8803
|
-
}, "strip", z.ZodTypeAny, {
|
|
8804
|
-
gasPrice: string;
|
|
8805
|
-
tokenExchangeRate: string;
|
|
8806
|
-
tokenDecimals?: number | undefined;
|
|
8807
|
-
}, {
|
|
8808
|
-
gasPrice: string;
|
|
8809
|
-
tokenExchangeRate: string;
|
|
8810
|
-
tokenDecimals?: number | undefined;
|
|
8811
|
-
}>>>>;
|
|
8812
|
-
}, "strip", z.ZodTypeAny, {
|
|
8813
|
-
owner: string;
|
|
8814
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8815
|
-
type: "interchainGasPaymaster";
|
|
8816
|
-
beneficiary: string;
|
|
8817
|
-
oracleKey: string;
|
|
8818
|
-
overhead: Record<string, number>;
|
|
8819
|
-
oracleConfig: Record<string, {
|
|
8820
|
-
gasPrice: string;
|
|
8821
|
-
tokenExchangeRate: string;
|
|
8822
|
-
tokenDecimals?: number | undefined;
|
|
8823
|
-
typicalCost?: {
|
|
8824
|
-
handleGasAmount: number;
|
|
8825
|
-
totalGasAmount: number;
|
|
8826
|
-
totalUsdCost: number;
|
|
8827
|
-
} | undefined;
|
|
8828
|
-
}>;
|
|
8829
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
8830
|
-
quoteSigners?: string[] | undefined;
|
|
8831
|
-
contractVersion?: string | undefined;
|
|
8832
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
8833
|
-
gasPrice: string;
|
|
8834
|
-
tokenExchangeRate: string;
|
|
8835
|
-
tokenDecimals?: number | undefined;
|
|
8836
|
-
}>> | undefined;
|
|
8837
|
-
}, {
|
|
8838
|
-
owner: string;
|
|
8839
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8840
|
-
type: "interchainGasPaymaster";
|
|
8841
|
-
beneficiary: string;
|
|
8842
|
-
oracleKey: string;
|
|
8843
|
-
overhead: Record<string, number>;
|
|
8844
|
-
oracleConfig: Record<string, {
|
|
8845
|
-
gasPrice: string;
|
|
8846
|
-
tokenExchangeRate: string;
|
|
8847
|
-
tokenDecimals?: number | undefined;
|
|
8848
|
-
typicalCost?: {
|
|
8849
|
-
handleGasAmount: number;
|
|
8850
|
-
totalGasAmount: number;
|
|
8851
|
-
totalUsdCost: number;
|
|
8852
|
-
} | undefined;
|
|
8853
|
-
}>;
|
|
8854
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
8855
|
-
quoteSigners?: string[] | undefined;
|
|
8856
|
-
contractVersion?: string | undefined;
|
|
8857
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
8858
|
-
gasPrice: string;
|
|
8859
|
-
tokenExchangeRate: string;
|
|
8860
|
-
tokenDecimals?: number | undefined;
|
|
8861
|
-
}>> | undefined;
|
|
8862
|
-
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
|
|
8863
|
-
type: z.ZodLiteral<"defaultHook">;
|
|
8864
|
-
}, "strip", z.ZodTypeAny, {
|
|
8865
|
-
type: "defaultHook";
|
|
8866
|
-
}, {
|
|
8867
|
-
type: "defaultHook";
|
|
8868
|
-
}>, z.ZodObject<{
|
|
8869
|
-
type: z.ZodLiteral<"ccipHook">;
|
|
8870
|
-
destinationChain: z.ZodString;
|
|
8871
|
-
}, "strip", z.ZodTypeAny, {
|
|
8872
|
-
type: "ccipHook";
|
|
8873
|
-
destinationChain: string;
|
|
8874
|
-
}, {
|
|
8875
|
-
type: "ccipHook";
|
|
8876
|
-
destinationChain: string;
|
|
8877
|
-
}>, z.ZodObject<{
|
|
8878
|
-
type: z.ZodLiteral<"cctpHook">;
|
|
8879
|
-
address: z.ZodString;
|
|
8880
|
-
}, "strip", z.ZodTypeAny, {
|
|
8881
|
-
type: "cctpHook";
|
|
8882
|
-
address: string;
|
|
8883
|
-
}, {
|
|
8884
|
-
type: "cctpHook";
|
|
8885
|
-
address: string;
|
|
8886
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
8887
|
-
owner: z.ZodString;
|
|
8888
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
8889
|
-
} & {
|
|
8890
|
-
type: z.ZodLiteral<"rateLimitedHook">;
|
|
8891
|
-
maxCapacity: z.ZodString;
|
|
8892
|
-
duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
8893
|
-
}, "strip", z.ZodTypeAny, {
|
|
8894
|
-
owner: string;
|
|
8895
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8896
|
-
type: "rateLimitedHook";
|
|
8897
|
-
maxCapacity: string;
|
|
8898
|
-
duration: bigint;
|
|
8899
|
-
}, {
|
|
8900
|
-
owner: string;
|
|
8901
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8902
|
-
type: "rateLimitedHook";
|
|
8903
|
-
maxCapacity: string;
|
|
8904
|
-
duration?: string | number | bigint | undefined;
|
|
8905
|
-
}>, {
|
|
8906
|
-
owner: string;
|
|
8907
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8908
|
-
type: "rateLimitedHook";
|
|
8909
|
-
maxCapacity: string;
|
|
8910
|
-
duration: bigint;
|
|
8911
|
-
}, {
|
|
8912
|
-
owner: string;
|
|
8913
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8914
|
-
type: "rateLimitedHook";
|
|
8915
|
-
maxCapacity: string;
|
|
8916
|
-
duration?: string | number | bigint | undefined;
|
|
8917
|
-
}>, {
|
|
8918
|
-
owner: string;
|
|
8919
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8920
|
-
type: "rateLimitedHook";
|
|
8921
|
-
maxCapacity: string;
|
|
8922
|
-
duration: bigint;
|
|
8923
|
-
}, {
|
|
8924
|
-
owner: string;
|
|
8925
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8926
|
-
type: "rateLimitedHook";
|
|
8927
|
-
maxCapacity: string;
|
|
8928
|
-
duration?: string | number | bigint | undefined;
|
|
8929
|
-
}>, {
|
|
8930
|
-
owner: string;
|
|
8931
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8932
|
-
type: "rateLimitedHook";
|
|
8933
|
-
maxCapacity: string;
|
|
8934
|
-
duration: bigint;
|
|
8935
|
-
}, {
|
|
8936
|
-
owner: string;
|
|
8937
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
8938
|
-
type: "rateLimitedHook";
|
|
8939
|
-
maxCapacity: string;
|
|
8940
|
-
duration?: string | number | bigint | undefined;
|
|
8941
|
-
}>, z.ZodObject<{
|
|
8942
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
8943
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
8944
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
8945
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8946
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
8947
|
-
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
8948
|
-
type: z.ZodLiteral<"predicateHook">;
|
|
8949
|
-
address: z.ZodString;
|
|
8950
|
-
}, "strip", z.ZodTypeAny, {
|
|
8951
|
-
type: "predicateHook";
|
|
8952
|
-
address: string;
|
|
8953
|
-
}, {
|
|
8954
|
-
type: "predicateHook";
|
|
8955
|
-
address: string;
|
|
8956
|
-
}>]>>;
|
|
8686
|
+
hook: z.ZodOptional<z.ZodType<HookConfig, z.ZodTypeDef, unknown>>;
|
|
8957
8687
|
interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, z.ZodTypeDef, unknown>>;
|
|
8958
8688
|
} & {
|
|
8959
8689
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
@@ -9243,71 +8973,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodEffects<z.Zod
|
|
|
9243
8973
|
};
|
|
9244
8974
|
} | undefined;
|
|
9245
8975
|
mailbox: string;
|
|
9246
|
-
hook?:
|
|
9247
|
-
type: "merkleTreeHook";
|
|
9248
|
-
} | {
|
|
9249
|
-
owner: string;
|
|
9250
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9251
|
-
type: "interchainGasPaymaster";
|
|
9252
|
-
beneficiary: string;
|
|
9253
|
-
oracleKey: string;
|
|
9254
|
-
overhead: Record<string, number>;
|
|
9255
|
-
oracleConfig: Record<string, {
|
|
9256
|
-
gasPrice: string;
|
|
9257
|
-
tokenExchangeRate: string;
|
|
9258
|
-
tokenDecimals?: number | undefined;
|
|
9259
|
-
typicalCost?: {
|
|
9260
|
-
handleGasAmount: number;
|
|
9261
|
-
totalGasAmount: number;
|
|
9262
|
-
totalUsdCost: number;
|
|
9263
|
-
} | undefined;
|
|
9264
|
-
}>;
|
|
9265
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
9266
|
-
quoteSigners?: string[] | undefined;
|
|
9267
|
-
contractVersion?: string | undefined;
|
|
9268
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
9269
|
-
gasPrice: string;
|
|
9270
|
-
tokenExchangeRate: string;
|
|
9271
|
-
tokenDecimals?: number | undefined;
|
|
9272
|
-
}>> | undefined;
|
|
9273
|
-
} | {
|
|
9274
|
-
owner: string;
|
|
9275
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9276
|
-
type: "protocolFee";
|
|
9277
|
-
beneficiary: string;
|
|
9278
|
-
maxProtocolFee: string;
|
|
9279
|
-
protocolFee: string;
|
|
9280
|
-
} | {
|
|
9281
|
-
owner: string;
|
|
9282
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9283
|
-
paused: boolean;
|
|
9284
|
-
type: "pausableHook";
|
|
9285
|
-
} | {
|
|
9286
|
-
owner: string;
|
|
9287
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9288
|
-
type: "opStackHook";
|
|
9289
|
-
nativeBridge: string;
|
|
9290
|
-
destinationChain: string;
|
|
9291
|
-
} | {
|
|
9292
|
-
type: "defaultHook";
|
|
9293
|
-
} | {
|
|
9294
|
-
type: "ccipHook";
|
|
9295
|
-
destinationChain: string;
|
|
9296
|
-
} | {
|
|
9297
|
-
type: "cctpHook";
|
|
9298
|
-
address: string;
|
|
9299
|
-
} | {
|
|
9300
|
-
owner: string;
|
|
9301
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9302
|
-
type: "rateLimitedHook";
|
|
9303
|
-
maxCapacity: string;
|
|
9304
|
-
duration: bigint;
|
|
9305
|
-
} | {
|
|
9306
|
-
type: "predicateHook";
|
|
9307
|
-
address: string;
|
|
9308
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
9309
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
9310
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
8976
|
+
hook?: HookConfig | undefined;
|
|
9311
8977
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
9312
8978
|
foreignDeployment?: string | undefined;
|
|
9313
8979
|
remoteRouters?: Record<string | number, {
|
|
@@ -9855,71 +9521,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodEffects<z.Zod
|
|
|
9855
9521
|
};
|
|
9856
9522
|
} | undefined;
|
|
9857
9523
|
mailbox: string;
|
|
9858
|
-
hook?:
|
|
9859
|
-
type: "merkleTreeHook";
|
|
9860
|
-
} | {
|
|
9861
|
-
owner: string;
|
|
9862
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9863
|
-
type: "interchainGasPaymaster";
|
|
9864
|
-
beneficiary: string;
|
|
9865
|
-
oracleKey: string;
|
|
9866
|
-
overhead: Record<string, number>;
|
|
9867
|
-
oracleConfig: Record<string, {
|
|
9868
|
-
gasPrice: string;
|
|
9869
|
-
tokenExchangeRate: string;
|
|
9870
|
-
tokenDecimals?: number | undefined;
|
|
9871
|
-
typicalCost?: {
|
|
9872
|
-
handleGasAmount: number;
|
|
9873
|
-
totalGasAmount: number;
|
|
9874
|
-
totalUsdCost: number;
|
|
9875
|
-
} | undefined;
|
|
9876
|
-
}>;
|
|
9877
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
9878
|
-
quoteSigners?: string[] | undefined;
|
|
9879
|
-
contractVersion?: string | undefined;
|
|
9880
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
9881
|
-
gasPrice: string;
|
|
9882
|
-
tokenExchangeRate: string;
|
|
9883
|
-
tokenDecimals?: number | undefined;
|
|
9884
|
-
}>> | undefined;
|
|
9885
|
-
} | {
|
|
9886
|
-
owner: string;
|
|
9887
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9888
|
-
type: "protocolFee";
|
|
9889
|
-
beneficiary: string;
|
|
9890
|
-
maxProtocolFee: string;
|
|
9891
|
-
protocolFee: string;
|
|
9892
|
-
} | {
|
|
9893
|
-
owner: string;
|
|
9894
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9895
|
-
paused: boolean;
|
|
9896
|
-
type: "pausableHook";
|
|
9897
|
-
} | {
|
|
9898
|
-
owner: string;
|
|
9899
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9900
|
-
type: "opStackHook";
|
|
9901
|
-
nativeBridge: string;
|
|
9902
|
-
destinationChain: string;
|
|
9903
|
-
} | {
|
|
9904
|
-
type: "defaultHook";
|
|
9905
|
-
} | {
|
|
9906
|
-
type: "ccipHook";
|
|
9907
|
-
destinationChain: string;
|
|
9908
|
-
} | {
|
|
9909
|
-
type: "cctpHook";
|
|
9910
|
-
address: string;
|
|
9911
|
-
} | {
|
|
9912
|
-
owner: string;
|
|
9913
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
9914
|
-
type: "rateLimitedHook";
|
|
9915
|
-
maxCapacity: string;
|
|
9916
|
-
duration: bigint;
|
|
9917
|
-
} | {
|
|
9918
|
-
type: "predicateHook";
|
|
9919
|
-
address: string;
|
|
9920
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
9921
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
9922
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
9524
|
+
hook?: HookConfig | undefined;
|
|
9923
9525
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
9924
9526
|
foreignDeployment?: string | undefined;
|
|
9925
9527
|
remoteRouters?: Record<string | number, {
|
|
@@ -10464,71 +10066,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodEffects<z.ZodEffects<z.Zod
|
|
|
10464
10066
|
};
|
|
10465
10067
|
} | undefined;
|
|
10466
10068
|
mailbox: string;
|
|
10467
|
-
hook?:
|
|
10468
|
-
type: "merkleTreeHook";
|
|
10469
|
-
} | {
|
|
10470
|
-
owner: string;
|
|
10471
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
10472
|
-
type: "interchainGasPaymaster";
|
|
10473
|
-
beneficiary: string;
|
|
10474
|
-
oracleKey: string;
|
|
10475
|
-
overhead: Record<string, number>;
|
|
10476
|
-
oracleConfig: Record<string, {
|
|
10477
|
-
gasPrice: string;
|
|
10478
|
-
tokenExchangeRate: string;
|
|
10479
|
-
tokenDecimals?: number | undefined;
|
|
10480
|
-
typicalCost?: {
|
|
10481
|
-
handleGasAmount: number;
|
|
10482
|
-
totalGasAmount: number;
|
|
10483
|
-
totalUsdCost: number;
|
|
10484
|
-
} | undefined;
|
|
10485
|
-
}>;
|
|
10486
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
10487
|
-
quoteSigners?: string[] | undefined;
|
|
10488
|
-
contractVersion?: string | undefined;
|
|
10489
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
10490
|
-
gasPrice: string;
|
|
10491
|
-
tokenExchangeRate: string;
|
|
10492
|
-
tokenDecimals?: number | undefined;
|
|
10493
|
-
}>> | undefined;
|
|
10494
|
-
} | {
|
|
10495
|
-
owner: string;
|
|
10496
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
10497
|
-
type: "protocolFee";
|
|
10498
|
-
beneficiary: string;
|
|
10499
|
-
maxProtocolFee: string;
|
|
10500
|
-
protocolFee: string;
|
|
10501
|
-
} | {
|
|
10502
|
-
owner: string;
|
|
10503
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
10504
|
-
paused: boolean;
|
|
10505
|
-
type: "pausableHook";
|
|
10506
|
-
} | {
|
|
10507
|
-
owner: string;
|
|
10508
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
10509
|
-
type: "opStackHook";
|
|
10510
|
-
nativeBridge: string;
|
|
10511
|
-
destinationChain: string;
|
|
10512
|
-
} | {
|
|
10513
|
-
type: "defaultHook";
|
|
10514
|
-
} | {
|
|
10515
|
-
type: "ccipHook";
|
|
10516
|
-
destinationChain: string;
|
|
10517
|
-
} | {
|
|
10518
|
-
type: "cctpHook";
|
|
10519
|
-
address: string;
|
|
10520
|
-
} | {
|
|
10521
|
-
owner: string;
|
|
10522
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
10523
|
-
type: "rateLimitedHook";
|
|
10524
|
-
maxCapacity: string;
|
|
10525
|
-
duration: bigint;
|
|
10526
|
-
} | {
|
|
10527
|
-
type: "predicateHook";
|
|
10528
|
-
address: string;
|
|
10529
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
10530
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
10531
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10069
|
+
hook?: HookConfig | undefined;
|
|
10532
10070
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
10533
10071
|
foreignDeployment?: string | undefined;
|
|
10534
10072
|
remoteRouters?: Record<string | number, {
|
|
@@ -12747,369 +12285,98 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodEffects
|
|
|
12747
12285
|
proposer: string;
|
|
12748
12286
|
};
|
|
12749
12287
|
}>>;
|
|
12750
|
-
hook: z.ZodOptional<z.
|
|
12288
|
+
hook: z.ZodOptional<z.ZodType<HookConfig, z.ZodTypeDef, unknown>>;
|
|
12289
|
+
interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, z.ZodTypeDef, unknown>>;
|
|
12290
|
+
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
12291
|
+
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
|
|
12292
|
+
address: z.ZodString;
|
|
12293
|
+
}, "strip", z.ZodTypeAny, {
|
|
12294
|
+
address: string;
|
|
12295
|
+
}, {
|
|
12296
|
+
address: string;
|
|
12297
|
+
}>>>;
|
|
12298
|
+
proxyAdmin: z.ZodOptional<z.ZodObject<{
|
|
12751
12299
|
owner: z.ZodString;
|
|
12752
12300
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12753
12301
|
} & {
|
|
12754
|
-
|
|
12755
|
-
beneficiary: z.ZodString;
|
|
12756
|
-
maxProtocolFee: z.ZodString;
|
|
12757
|
-
protocolFee: z.ZodString;
|
|
12302
|
+
address: z.ZodOptional<z.ZodString>;
|
|
12758
12303
|
}, "strip", z.ZodTypeAny, {
|
|
12759
12304
|
owner: string;
|
|
12760
12305
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12761
|
-
|
|
12762
|
-
beneficiary: string;
|
|
12763
|
-
maxProtocolFee: string;
|
|
12764
|
-
protocolFee: string;
|
|
12306
|
+
address?: string | undefined;
|
|
12765
12307
|
}, {
|
|
12766
12308
|
owner: string;
|
|
12767
12309
|
ownerOverrides?: Record<string, string> | undefined;
|
|
12768
|
-
|
|
12769
|
-
|
|
12770
|
-
|
|
12771
|
-
protocolFee: string;
|
|
12772
|
-
}>, z.ZodObject<{
|
|
12310
|
+
address?: string | undefined;
|
|
12311
|
+
}>>;
|
|
12312
|
+
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
12773
12313
|
owner: z.ZodString;
|
|
12774
|
-
|
|
12775
|
-
} & {
|
|
12776
|
-
paused: z.ZodBoolean;
|
|
12314
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12777
12315
|
} & {
|
|
12778
|
-
|
|
12316
|
+
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12317
|
+
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12318
|
+
type: z.ZodLiteral<"LinearFee">;
|
|
12319
|
+
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
12779
12320
|
}, "strip", z.ZodTypeAny, {
|
|
12780
12321
|
owner: string;
|
|
12781
|
-
|
|
12782
|
-
|
|
12783
|
-
|
|
12322
|
+
beneficiary?: string | undefined;
|
|
12323
|
+
maxFee?: bigint | undefined;
|
|
12324
|
+
halfAmount?: bigint | undefined;
|
|
12325
|
+
type: "LinearFee";
|
|
12326
|
+
bps?: number | undefined;
|
|
12784
12327
|
}, {
|
|
12785
12328
|
owner: string;
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
|
|
12789
|
-
|
|
12790
|
-
|
|
12791
|
-
|
|
12792
|
-
} & {
|
|
12793
|
-
type: z.ZodLiteral<"opStackHook">;
|
|
12794
|
-
nativeBridge: z.ZodString;
|
|
12795
|
-
destinationChain: z.ZodString;
|
|
12796
|
-
}, "strip", z.ZodTypeAny, {
|
|
12329
|
+
beneficiary?: string | undefined;
|
|
12330
|
+
maxFee?: string | number | bigint | undefined;
|
|
12331
|
+
halfAmount?: string | number | bigint | undefined;
|
|
12332
|
+
type: "LinearFee";
|
|
12333
|
+
bps?: string | number | undefined;
|
|
12334
|
+
}>, {
|
|
12797
12335
|
owner: string;
|
|
12798
|
-
|
|
12799
|
-
|
|
12800
|
-
|
|
12801
|
-
|
|
12336
|
+
beneficiary?: string | undefined;
|
|
12337
|
+
maxFee?: bigint | undefined;
|
|
12338
|
+
halfAmount?: bigint | undefined;
|
|
12339
|
+
type: "LinearFee";
|
|
12340
|
+
bps?: number | undefined;
|
|
12802
12341
|
}, {
|
|
12803
12342
|
owner: string;
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
|
|
12808
|
-
|
|
12809
|
-
|
|
12810
|
-
|
|
12811
|
-
|
|
12343
|
+
beneficiary?: string | undefined;
|
|
12344
|
+
maxFee?: string | number | bigint | undefined;
|
|
12345
|
+
halfAmount?: string | number | bigint | undefined;
|
|
12346
|
+
type: "LinearFee";
|
|
12347
|
+
bps?: string | number | undefined;
|
|
12348
|
+
}>, {
|
|
12349
|
+
owner: string;
|
|
12350
|
+
beneficiary?: string | undefined;
|
|
12351
|
+
maxFee?: bigint | undefined;
|
|
12352
|
+
halfAmount?: bigint | undefined;
|
|
12353
|
+
type: "LinearFee";
|
|
12354
|
+
bps: number;
|
|
12812
12355
|
}, {
|
|
12813
|
-
|
|
12814
|
-
|
|
12356
|
+
owner: string;
|
|
12357
|
+
beneficiary?: string | undefined;
|
|
12358
|
+
maxFee?: string | number | bigint | undefined;
|
|
12359
|
+
halfAmount?: string | number | bigint | undefined;
|
|
12360
|
+
type: "LinearFee";
|
|
12361
|
+
bps?: string | number | undefined;
|
|
12362
|
+
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
12815
12363
|
owner: z.ZodString;
|
|
12816
|
-
|
|
12364
|
+
beneficiary: z.ZodOptional<z.ZodString>;
|
|
12817
12365
|
} & {
|
|
12818
|
-
type: z.ZodLiteral<"interchainGasPaymaster">;
|
|
12819
|
-
beneficiary: z.ZodString;
|
|
12820
|
-
oracleKey: z.ZodString;
|
|
12821
|
-
overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
12822
|
-
oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12823
|
-
gasPrice: z.ZodString;
|
|
12824
|
-
tokenExchangeRate: z.ZodString;
|
|
12825
|
-
} & {
|
|
12826
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
12827
|
-
} & {
|
|
12828
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
12829
|
-
handleGasAmount: z.ZodNumber;
|
|
12830
|
-
totalGasAmount: z.ZodNumber;
|
|
12831
|
-
totalUsdCost: z.ZodNumber;
|
|
12832
|
-
}, "strip", z.ZodTypeAny, {
|
|
12833
|
-
handleGasAmount: number;
|
|
12834
|
-
totalGasAmount: number;
|
|
12835
|
-
totalUsdCost: number;
|
|
12836
|
-
}, {
|
|
12837
|
-
handleGasAmount: number;
|
|
12838
|
-
totalGasAmount: number;
|
|
12839
|
-
totalUsdCost: number;
|
|
12840
|
-
}>>;
|
|
12841
|
-
}, "strip", z.ZodTypeAny, {
|
|
12842
|
-
gasPrice: string;
|
|
12843
|
-
tokenExchangeRate: string;
|
|
12844
|
-
tokenDecimals?: number | undefined;
|
|
12845
|
-
typicalCost?: {
|
|
12846
|
-
handleGasAmount: number;
|
|
12847
|
-
totalGasAmount: number;
|
|
12848
|
-
totalUsdCost: number;
|
|
12849
|
-
} | undefined;
|
|
12850
|
-
}, {
|
|
12851
|
-
gasPrice: string;
|
|
12852
|
-
tokenExchangeRate: string;
|
|
12853
|
-
tokenDecimals?: number | undefined;
|
|
12854
|
-
typicalCost?: {
|
|
12855
|
-
handleGasAmount: number;
|
|
12856
|
-
totalGasAmount: number;
|
|
12857
|
-
totalUsdCost: number;
|
|
12858
|
-
} | undefined;
|
|
12859
|
-
}>>;
|
|
12860
|
-
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
12861
12366
|
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12862
|
-
|
|
12863
|
-
|
|
12864
|
-
|
|
12865
|
-
|
|
12866
|
-
|
|
12867
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
12868
|
-
}, "strip", z.ZodTypeAny, {
|
|
12869
|
-
gasPrice: string;
|
|
12870
|
-
tokenExchangeRate: string;
|
|
12871
|
-
tokenDecimals?: number | undefined;
|
|
12872
|
-
}, {
|
|
12873
|
-
gasPrice: string;
|
|
12874
|
-
tokenExchangeRate: string;
|
|
12875
|
-
tokenDecimals?: number | undefined;
|
|
12876
|
-
}>>>>;
|
|
12367
|
+
} & {
|
|
12368
|
+
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12369
|
+
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12370
|
+
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
12371
|
+
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
12877
12372
|
}, "strip", z.ZodTypeAny, {
|
|
12878
12373
|
owner: string;
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
|
|
12882
|
-
oracleKey: string;
|
|
12883
|
-
overhead: Record<string, number>;
|
|
12884
|
-
oracleConfig: Record<string, {
|
|
12885
|
-
gasPrice: string;
|
|
12886
|
-
tokenExchangeRate: string;
|
|
12887
|
-
tokenDecimals?: number | undefined;
|
|
12888
|
-
typicalCost?: {
|
|
12889
|
-
handleGasAmount: number;
|
|
12890
|
-
totalGasAmount: number;
|
|
12891
|
-
totalUsdCost: number;
|
|
12892
|
-
} | undefined;
|
|
12893
|
-
}>;
|
|
12894
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
12374
|
+
beneficiary?: string | undefined;
|
|
12375
|
+
maxFee?: bigint | undefined;
|
|
12376
|
+
halfAmount?: bigint | undefined;
|
|
12895
12377
|
quoteSigners?: string[] | undefined;
|
|
12896
|
-
|
|
12897
|
-
|
|
12898
|
-
gasPrice: string;
|
|
12899
|
-
tokenExchangeRate: string;
|
|
12900
|
-
tokenDecimals?: number | undefined;
|
|
12901
|
-
}>> | undefined;
|
|
12902
|
-
}, {
|
|
12903
|
-
owner: string;
|
|
12904
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
12905
|
-
type: "interchainGasPaymaster";
|
|
12906
|
-
beneficiary: string;
|
|
12907
|
-
oracleKey: string;
|
|
12908
|
-
overhead: Record<string, number>;
|
|
12909
|
-
oracleConfig: Record<string, {
|
|
12910
|
-
gasPrice: string;
|
|
12911
|
-
tokenExchangeRate: string;
|
|
12912
|
-
tokenDecimals?: number | undefined;
|
|
12913
|
-
typicalCost?: {
|
|
12914
|
-
handleGasAmount: number;
|
|
12915
|
-
totalGasAmount: number;
|
|
12916
|
-
totalUsdCost: number;
|
|
12917
|
-
} | undefined;
|
|
12918
|
-
}>;
|
|
12919
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
12920
|
-
quoteSigners?: string[] | undefined;
|
|
12921
|
-
contractVersion?: string | undefined;
|
|
12922
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
12923
|
-
gasPrice: string;
|
|
12924
|
-
tokenExchangeRate: string;
|
|
12925
|
-
tokenDecimals?: number | undefined;
|
|
12926
|
-
}>> | undefined;
|
|
12927
|
-
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
|
|
12928
|
-
type: z.ZodLiteral<"defaultHook">;
|
|
12929
|
-
}, "strip", z.ZodTypeAny, {
|
|
12930
|
-
type: "defaultHook";
|
|
12931
|
-
}, {
|
|
12932
|
-
type: "defaultHook";
|
|
12933
|
-
}>, z.ZodObject<{
|
|
12934
|
-
type: z.ZodLiteral<"ccipHook">;
|
|
12935
|
-
destinationChain: z.ZodString;
|
|
12936
|
-
}, "strip", z.ZodTypeAny, {
|
|
12937
|
-
type: "ccipHook";
|
|
12938
|
-
destinationChain: string;
|
|
12939
|
-
}, {
|
|
12940
|
-
type: "ccipHook";
|
|
12941
|
-
destinationChain: string;
|
|
12942
|
-
}>, z.ZodObject<{
|
|
12943
|
-
type: z.ZodLiteral<"cctpHook">;
|
|
12944
|
-
address: z.ZodString;
|
|
12945
|
-
}, "strip", z.ZodTypeAny, {
|
|
12946
|
-
type: "cctpHook";
|
|
12947
|
-
address: string;
|
|
12948
|
-
}, {
|
|
12949
|
-
type: "cctpHook";
|
|
12950
|
-
address: string;
|
|
12951
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
12952
|
-
owner: z.ZodString;
|
|
12953
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
12954
|
-
} & {
|
|
12955
|
-
type: z.ZodLiteral<"rateLimitedHook">;
|
|
12956
|
-
maxCapacity: z.ZodString;
|
|
12957
|
-
duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
12958
|
-
}, "strip", z.ZodTypeAny, {
|
|
12959
|
-
owner: string;
|
|
12960
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
12961
|
-
type: "rateLimitedHook";
|
|
12962
|
-
maxCapacity: string;
|
|
12963
|
-
duration: bigint;
|
|
12964
|
-
}, {
|
|
12965
|
-
owner: string;
|
|
12966
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
12967
|
-
type: "rateLimitedHook";
|
|
12968
|
-
maxCapacity: string;
|
|
12969
|
-
duration?: string | number | bigint | undefined;
|
|
12970
|
-
}>, {
|
|
12971
|
-
owner: string;
|
|
12972
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
12973
|
-
type: "rateLimitedHook";
|
|
12974
|
-
maxCapacity: string;
|
|
12975
|
-
duration: bigint;
|
|
12976
|
-
}, {
|
|
12977
|
-
owner: string;
|
|
12978
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
12979
|
-
type: "rateLimitedHook";
|
|
12980
|
-
maxCapacity: string;
|
|
12981
|
-
duration?: string | number | bigint | undefined;
|
|
12982
|
-
}>, {
|
|
12983
|
-
owner: string;
|
|
12984
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
12985
|
-
type: "rateLimitedHook";
|
|
12986
|
-
maxCapacity: string;
|
|
12987
|
-
duration: bigint;
|
|
12988
|
-
}, {
|
|
12989
|
-
owner: string;
|
|
12990
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
12991
|
-
type: "rateLimitedHook";
|
|
12992
|
-
maxCapacity: string;
|
|
12993
|
-
duration?: string | number | bigint | undefined;
|
|
12994
|
-
}>, {
|
|
12995
|
-
owner: string;
|
|
12996
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
12997
|
-
type: "rateLimitedHook";
|
|
12998
|
-
maxCapacity: string;
|
|
12999
|
-
duration: bigint;
|
|
13000
|
-
}, {
|
|
13001
|
-
owner: string;
|
|
13002
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13003
|
-
type: "rateLimitedHook";
|
|
13004
|
-
maxCapacity: string;
|
|
13005
|
-
duration?: string | number | bigint | undefined;
|
|
13006
|
-
}>, z.ZodObject<{
|
|
13007
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
13008
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13009
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
13010
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13011
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
13012
|
-
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
13013
|
-
type: z.ZodLiteral<"predicateHook">;
|
|
13014
|
-
address: z.ZodString;
|
|
13015
|
-
}, "strip", z.ZodTypeAny, {
|
|
13016
|
-
type: "predicateHook";
|
|
13017
|
-
address: string;
|
|
13018
|
-
}, {
|
|
13019
|
-
type: "predicateHook";
|
|
13020
|
-
address: string;
|
|
13021
|
-
}>]>>;
|
|
13022
|
-
interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, z.ZodTypeDef, unknown>>;
|
|
13023
|
-
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
13024
|
-
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
|
|
13025
|
-
address: z.ZodString;
|
|
13026
|
-
}, "strip", z.ZodTypeAny, {
|
|
13027
|
-
address: string;
|
|
13028
|
-
}, {
|
|
13029
|
-
address: string;
|
|
13030
|
-
}>>>;
|
|
13031
|
-
proxyAdmin: z.ZodOptional<z.ZodObject<{
|
|
13032
|
-
owner: z.ZodString;
|
|
13033
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13034
|
-
} & {
|
|
13035
|
-
address: z.ZodOptional<z.ZodString>;
|
|
13036
|
-
}, "strip", z.ZodTypeAny, {
|
|
13037
|
-
owner: string;
|
|
13038
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13039
|
-
address?: string | undefined;
|
|
13040
|
-
}, {
|
|
13041
|
-
owner: string;
|
|
13042
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13043
|
-
address?: string | undefined;
|
|
13044
|
-
}>>;
|
|
13045
|
-
tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
13046
|
-
owner: z.ZodString;
|
|
13047
|
-
beneficiary: z.ZodOptional<z.ZodString>;
|
|
13048
|
-
} & {
|
|
13049
|
-
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
13050
|
-
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
13051
|
-
type: z.ZodLiteral<"LinearFee">;
|
|
13052
|
-
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
13053
|
-
}, "strip", z.ZodTypeAny, {
|
|
13054
|
-
owner: string;
|
|
13055
|
-
beneficiary?: string | undefined;
|
|
13056
|
-
maxFee?: bigint | undefined;
|
|
13057
|
-
halfAmount?: bigint | undefined;
|
|
13058
|
-
type: "LinearFee";
|
|
13059
|
-
bps?: number | undefined;
|
|
13060
|
-
}, {
|
|
13061
|
-
owner: string;
|
|
13062
|
-
beneficiary?: string | undefined;
|
|
13063
|
-
maxFee?: string | number | bigint | undefined;
|
|
13064
|
-
halfAmount?: string | number | bigint | undefined;
|
|
13065
|
-
type: "LinearFee";
|
|
13066
|
-
bps?: string | number | undefined;
|
|
13067
|
-
}>, {
|
|
13068
|
-
owner: string;
|
|
13069
|
-
beneficiary?: string | undefined;
|
|
13070
|
-
maxFee?: bigint | undefined;
|
|
13071
|
-
halfAmount?: bigint | undefined;
|
|
13072
|
-
type: "LinearFee";
|
|
13073
|
-
bps?: number | undefined;
|
|
13074
|
-
}, {
|
|
13075
|
-
owner: string;
|
|
13076
|
-
beneficiary?: string | undefined;
|
|
13077
|
-
maxFee?: string | number | bigint | undefined;
|
|
13078
|
-
halfAmount?: string | number | bigint | undefined;
|
|
13079
|
-
type: "LinearFee";
|
|
13080
|
-
bps?: string | number | undefined;
|
|
13081
|
-
}>, {
|
|
13082
|
-
owner: string;
|
|
13083
|
-
beneficiary?: string | undefined;
|
|
13084
|
-
maxFee?: bigint | undefined;
|
|
13085
|
-
halfAmount?: bigint | undefined;
|
|
13086
|
-
type: "LinearFee";
|
|
13087
|
-
bps: number;
|
|
13088
|
-
}, {
|
|
13089
|
-
owner: string;
|
|
13090
|
-
beneficiary?: string | undefined;
|
|
13091
|
-
maxFee?: string | number | bigint | undefined;
|
|
13092
|
-
halfAmount?: string | number | bigint | undefined;
|
|
13093
|
-
type: "LinearFee";
|
|
13094
|
-
bps?: string | number | undefined;
|
|
13095
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
13096
|
-
owner: z.ZodString;
|
|
13097
|
-
beneficiary: z.ZodOptional<z.ZodString>;
|
|
13098
|
-
} & {
|
|
13099
|
-
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13100
|
-
} & {
|
|
13101
|
-
maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
13102
|
-
halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
13103
|
-
type: z.ZodLiteral<"OffchainQuotedLinearFee">;
|
|
13104
|
-
bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
|
|
13105
|
-
}, "strip", z.ZodTypeAny, {
|
|
13106
|
-
owner: string;
|
|
13107
|
-
beneficiary?: string | undefined;
|
|
13108
|
-
maxFee?: bigint | undefined;
|
|
13109
|
-
halfAmount?: bigint | undefined;
|
|
13110
|
-
quoteSigners?: string[] | undefined;
|
|
13111
|
-
type: "OffchainQuotedLinearFee";
|
|
13112
|
-
bps?: number | undefined;
|
|
12378
|
+
type: "OffchainQuotedLinearFee";
|
|
12379
|
+
bps?: number | undefined;
|
|
13113
12380
|
}, {
|
|
13114
12381
|
owner: string;
|
|
13115
12382
|
beneficiary?: string | undefined;
|
|
@@ -13280,71 +12547,7 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodEffects
|
|
|
13280
12547
|
proposer: string;
|
|
13281
12548
|
};
|
|
13282
12549
|
} | undefined;
|
|
13283
|
-
hook?:
|
|
13284
|
-
type: "merkleTreeHook";
|
|
13285
|
-
} | {
|
|
13286
|
-
owner: string;
|
|
13287
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13288
|
-
type: "interchainGasPaymaster";
|
|
13289
|
-
beneficiary: string;
|
|
13290
|
-
oracleKey: string;
|
|
13291
|
-
overhead: Record<string, number>;
|
|
13292
|
-
oracleConfig: Record<string, {
|
|
13293
|
-
gasPrice: string;
|
|
13294
|
-
tokenExchangeRate: string;
|
|
13295
|
-
tokenDecimals?: number | undefined;
|
|
13296
|
-
typicalCost?: {
|
|
13297
|
-
handleGasAmount: number;
|
|
13298
|
-
totalGasAmount: number;
|
|
13299
|
-
totalUsdCost: number;
|
|
13300
|
-
} | undefined;
|
|
13301
|
-
}>;
|
|
13302
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
13303
|
-
quoteSigners?: string[] | undefined;
|
|
13304
|
-
contractVersion?: string | undefined;
|
|
13305
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
13306
|
-
gasPrice: string;
|
|
13307
|
-
tokenExchangeRate: string;
|
|
13308
|
-
tokenDecimals?: number | undefined;
|
|
13309
|
-
}>> | undefined;
|
|
13310
|
-
} | {
|
|
13311
|
-
owner: string;
|
|
13312
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13313
|
-
type: "protocolFee";
|
|
13314
|
-
beneficiary: string;
|
|
13315
|
-
maxProtocolFee: string;
|
|
13316
|
-
protocolFee: string;
|
|
13317
|
-
} | {
|
|
13318
|
-
owner: string;
|
|
13319
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13320
|
-
paused: boolean;
|
|
13321
|
-
type: "pausableHook";
|
|
13322
|
-
} | {
|
|
13323
|
-
owner: string;
|
|
13324
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13325
|
-
type: "opStackHook";
|
|
13326
|
-
nativeBridge: string;
|
|
13327
|
-
destinationChain: string;
|
|
13328
|
-
} | {
|
|
13329
|
-
type: "defaultHook";
|
|
13330
|
-
} | {
|
|
13331
|
-
type: "ccipHook";
|
|
13332
|
-
destinationChain: string;
|
|
13333
|
-
} | {
|
|
13334
|
-
type: "cctpHook";
|
|
13335
|
-
address: string;
|
|
13336
|
-
} | {
|
|
13337
|
-
owner: string;
|
|
13338
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13339
|
-
type: "rateLimitedHook";
|
|
13340
|
-
maxCapacity: string;
|
|
13341
|
-
duration: bigint;
|
|
13342
|
-
} | {
|
|
13343
|
-
type: "predicateHook";
|
|
13344
|
-
address: string;
|
|
13345
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
13346
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
13347
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
12550
|
+
hook?: HookConfig | undefined;
|
|
13348
12551
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
13349
12552
|
foreignDeployment?: string | undefined;
|
|
13350
12553
|
remoteRouters?: Record<string | number, {
|
|
@@ -13892,71 +13095,7 @@ export declare const HypTokenRouterConfigMailboxOptionalBaseSchema: z.ZodEffects
|
|
|
13892
13095
|
proposer: string;
|
|
13893
13096
|
};
|
|
13894
13097
|
} | undefined;
|
|
13895
|
-
hook?:
|
|
13896
|
-
type: "merkleTreeHook";
|
|
13897
|
-
} | {
|
|
13898
|
-
owner: string;
|
|
13899
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13900
|
-
type: "interchainGasPaymaster";
|
|
13901
|
-
beneficiary: string;
|
|
13902
|
-
oracleKey: string;
|
|
13903
|
-
overhead: Record<string, number>;
|
|
13904
|
-
oracleConfig: Record<string, {
|
|
13905
|
-
gasPrice: string;
|
|
13906
|
-
tokenExchangeRate: string;
|
|
13907
|
-
tokenDecimals?: number | undefined;
|
|
13908
|
-
typicalCost?: {
|
|
13909
|
-
handleGasAmount: number;
|
|
13910
|
-
totalGasAmount: number;
|
|
13911
|
-
totalUsdCost: number;
|
|
13912
|
-
} | undefined;
|
|
13913
|
-
}>;
|
|
13914
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
13915
|
-
quoteSigners?: string[] | undefined;
|
|
13916
|
-
contractVersion?: string | undefined;
|
|
13917
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
13918
|
-
gasPrice: string;
|
|
13919
|
-
tokenExchangeRate: string;
|
|
13920
|
-
tokenDecimals?: number | undefined;
|
|
13921
|
-
}>> | undefined;
|
|
13922
|
-
} | {
|
|
13923
|
-
owner: string;
|
|
13924
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13925
|
-
type: "protocolFee";
|
|
13926
|
-
beneficiary: string;
|
|
13927
|
-
maxProtocolFee: string;
|
|
13928
|
-
protocolFee: string;
|
|
13929
|
-
} | {
|
|
13930
|
-
owner: string;
|
|
13931
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13932
|
-
paused: boolean;
|
|
13933
|
-
type: "pausableHook";
|
|
13934
|
-
} | {
|
|
13935
|
-
owner: string;
|
|
13936
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13937
|
-
type: "opStackHook";
|
|
13938
|
-
nativeBridge: string;
|
|
13939
|
-
destinationChain: string;
|
|
13940
|
-
} | {
|
|
13941
|
-
type: "defaultHook";
|
|
13942
|
-
} | {
|
|
13943
|
-
type: "ccipHook";
|
|
13944
|
-
destinationChain: string;
|
|
13945
|
-
} | {
|
|
13946
|
-
type: "cctpHook";
|
|
13947
|
-
address: string;
|
|
13948
|
-
} | {
|
|
13949
|
-
owner: string;
|
|
13950
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
13951
|
-
type: "rateLimitedHook";
|
|
13952
|
-
maxCapacity: string;
|
|
13953
|
-
duration: bigint;
|
|
13954
|
-
} | {
|
|
13955
|
-
type: "predicateHook";
|
|
13956
|
-
address: string;
|
|
13957
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
13958
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
13959
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
13098
|
+
hook?: HookConfig | undefined;
|
|
13960
13099
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
13961
13100
|
foreignDeployment?: string | undefined;
|
|
13962
13101
|
remoteRouters?: Record<string | number, {
|
|
@@ -16238,278 +15377,7 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
16238
15377
|
proposer: string;
|
|
16239
15378
|
};
|
|
16240
15379
|
}>>;
|
|
16241
|
-
hook: z.ZodOptional<z.
|
|
16242
|
-
owner: z.ZodString;
|
|
16243
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16244
|
-
} & {
|
|
16245
|
-
type: z.ZodLiteral<"protocolFee">;
|
|
16246
|
-
beneficiary: z.ZodString;
|
|
16247
|
-
maxProtocolFee: z.ZodString;
|
|
16248
|
-
protocolFee: z.ZodString;
|
|
16249
|
-
}, "strip", z.ZodTypeAny, {
|
|
16250
|
-
owner: string;
|
|
16251
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16252
|
-
type: "protocolFee";
|
|
16253
|
-
beneficiary: string;
|
|
16254
|
-
maxProtocolFee: string;
|
|
16255
|
-
protocolFee: string;
|
|
16256
|
-
}, {
|
|
16257
|
-
owner: string;
|
|
16258
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16259
|
-
type: "protocolFee";
|
|
16260
|
-
beneficiary: string;
|
|
16261
|
-
maxProtocolFee: string;
|
|
16262
|
-
protocolFee: string;
|
|
16263
|
-
}>, z.ZodObject<{
|
|
16264
|
-
owner: z.ZodString;
|
|
16265
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16266
|
-
} & {
|
|
16267
|
-
paused: z.ZodBoolean;
|
|
16268
|
-
} & {
|
|
16269
|
-
type: z.ZodLiteral<"pausableHook">;
|
|
16270
|
-
}, "strip", z.ZodTypeAny, {
|
|
16271
|
-
owner: string;
|
|
16272
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16273
|
-
paused: boolean;
|
|
16274
|
-
type: "pausableHook";
|
|
16275
|
-
}, {
|
|
16276
|
-
owner: string;
|
|
16277
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16278
|
-
paused: boolean;
|
|
16279
|
-
type: "pausableHook";
|
|
16280
|
-
}>, z.ZodObject<{
|
|
16281
|
-
owner: z.ZodString;
|
|
16282
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16283
|
-
} & {
|
|
16284
|
-
type: z.ZodLiteral<"opStackHook">;
|
|
16285
|
-
nativeBridge: z.ZodString;
|
|
16286
|
-
destinationChain: z.ZodString;
|
|
16287
|
-
}, "strip", z.ZodTypeAny, {
|
|
16288
|
-
owner: string;
|
|
16289
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16290
|
-
type: "opStackHook";
|
|
16291
|
-
nativeBridge: string;
|
|
16292
|
-
destinationChain: string;
|
|
16293
|
-
}, {
|
|
16294
|
-
owner: string;
|
|
16295
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16296
|
-
type: "opStackHook";
|
|
16297
|
-
nativeBridge: string;
|
|
16298
|
-
destinationChain: string;
|
|
16299
|
-
}>, z.ZodObject<{
|
|
16300
|
-
type: z.ZodLiteral<"merkleTreeHook">;
|
|
16301
|
-
}, "strip", z.ZodTypeAny, {
|
|
16302
|
-
type: "merkleTreeHook";
|
|
16303
|
-
}, {
|
|
16304
|
-
type: "merkleTreeHook";
|
|
16305
|
-
}>, z.ZodObject<{
|
|
16306
|
-
owner: z.ZodString;
|
|
16307
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16308
|
-
} & {
|
|
16309
|
-
type: z.ZodLiteral<"interchainGasPaymaster">;
|
|
16310
|
-
beneficiary: z.ZodString;
|
|
16311
|
-
oracleKey: z.ZodString;
|
|
16312
|
-
overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
16313
|
-
oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16314
|
-
gasPrice: z.ZodString;
|
|
16315
|
-
tokenExchangeRate: z.ZodString;
|
|
16316
|
-
} & {
|
|
16317
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
16318
|
-
} & {
|
|
16319
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
16320
|
-
handleGasAmount: z.ZodNumber;
|
|
16321
|
-
totalGasAmount: z.ZodNumber;
|
|
16322
|
-
totalUsdCost: z.ZodNumber;
|
|
16323
|
-
}, "strip", z.ZodTypeAny, {
|
|
16324
|
-
handleGasAmount: number;
|
|
16325
|
-
totalGasAmount: number;
|
|
16326
|
-
totalUsdCost: number;
|
|
16327
|
-
}, {
|
|
16328
|
-
handleGasAmount: number;
|
|
16329
|
-
totalGasAmount: number;
|
|
16330
|
-
totalUsdCost: number;
|
|
16331
|
-
}>>;
|
|
16332
|
-
}, "strip", z.ZodTypeAny, {
|
|
16333
|
-
gasPrice: string;
|
|
16334
|
-
tokenExchangeRate: string;
|
|
16335
|
-
tokenDecimals?: number | undefined;
|
|
16336
|
-
typicalCost?: {
|
|
16337
|
-
handleGasAmount: number;
|
|
16338
|
-
totalGasAmount: number;
|
|
16339
|
-
totalUsdCost: number;
|
|
16340
|
-
} | undefined;
|
|
16341
|
-
}, {
|
|
16342
|
-
gasPrice: string;
|
|
16343
|
-
tokenExchangeRate: string;
|
|
16344
|
-
tokenDecimals?: number | undefined;
|
|
16345
|
-
typicalCost?: {
|
|
16346
|
-
handleGasAmount: number;
|
|
16347
|
-
totalGasAmount: number;
|
|
16348
|
-
totalUsdCost: number;
|
|
16349
|
-
} | undefined;
|
|
16350
|
-
}>>;
|
|
16351
|
-
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
16352
|
-
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16353
|
-
contractVersion: z.ZodOptional<z.ZodString>;
|
|
16354
|
-
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16355
|
-
gasPrice: z.ZodString;
|
|
16356
|
-
tokenExchangeRate: z.ZodString;
|
|
16357
|
-
} & {
|
|
16358
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
16359
|
-
}, "strip", z.ZodTypeAny, {
|
|
16360
|
-
gasPrice: string;
|
|
16361
|
-
tokenExchangeRate: string;
|
|
16362
|
-
tokenDecimals?: number | undefined;
|
|
16363
|
-
}, {
|
|
16364
|
-
gasPrice: string;
|
|
16365
|
-
tokenExchangeRate: string;
|
|
16366
|
-
tokenDecimals?: number | undefined;
|
|
16367
|
-
}>>>>;
|
|
16368
|
-
}, "strip", z.ZodTypeAny, {
|
|
16369
|
-
owner: string;
|
|
16370
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16371
|
-
type: "interchainGasPaymaster";
|
|
16372
|
-
beneficiary: string;
|
|
16373
|
-
oracleKey: string;
|
|
16374
|
-
overhead: Record<string, number>;
|
|
16375
|
-
oracleConfig: Record<string, {
|
|
16376
|
-
gasPrice: string;
|
|
16377
|
-
tokenExchangeRate: string;
|
|
16378
|
-
tokenDecimals?: number | undefined;
|
|
16379
|
-
typicalCost?: {
|
|
16380
|
-
handleGasAmount: number;
|
|
16381
|
-
totalGasAmount: number;
|
|
16382
|
-
totalUsdCost: number;
|
|
16383
|
-
} | undefined;
|
|
16384
|
-
}>;
|
|
16385
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
16386
|
-
quoteSigners?: string[] | undefined;
|
|
16387
|
-
contractVersion?: string | undefined;
|
|
16388
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
16389
|
-
gasPrice: string;
|
|
16390
|
-
tokenExchangeRate: string;
|
|
16391
|
-
tokenDecimals?: number | undefined;
|
|
16392
|
-
}>> | undefined;
|
|
16393
|
-
}, {
|
|
16394
|
-
owner: string;
|
|
16395
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16396
|
-
type: "interchainGasPaymaster";
|
|
16397
|
-
beneficiary: string;
|
|
16398
|
-
oracleKey: string;
|
|
16399
|
-
overhead: Record<string, number>;
|
|
16400
|
-
oracleConfig: Record<string, {
|
|
16401
|
-
gasPrice: string;
|
|
16402
|
-
tokenExchangeRate: string;
|
|
16403
|
-
tokenDecimals?: number | undefined;
|
|
16404
|
-
typicalCost?: {
|
|
16405
|
-
handleGasAmount: number;
|
|
16406
|
-
totalGasAmount: number;
|
|
16407
|
-
totalUsdCost: number;
|
|
16408
|
-
} | undefined;
|
|
16409
|
-
}>;
|
|
16410
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
16411
|
-
quoteSigners?: string[] | undefined;
|
|
16412
|
-
contractVersion?: string | undefined;
|
|
16413
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
16414
|
-
gasPrice: string;
|
|
16415
|
-
tokenExchangeRate: string;
|
|
16416
|
-
tokenDecimals?: number | undefined;
|
|
16417
|
-
}>> | undefined;
|
|
16418
|
-
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
|
|
16419
|
-
type: z.ZodLiteral<"defaultHook">;
|
|
16420
|
-
}, "strip", z.ZodTypeAny, {
|
|
16421
|
-
type: "defaultHook";
|
|
16422
|
-
}, {
|
|
16423
|
-
type: "defaultHook";
|
|
16424
|
-
}>, z.ZodObject<{
|
|
16425
|
-
type: z.ZodLiteral<"ccipHook">;
|
|
16426
|
-
destinationChain: z.ZodString;
|
|
16427
|
-
}, "strip", z.ZodTypeAny, {
|
|
16428
|
-
type: "ccipHook";
|
|
16429
|
-
destinationChain: string;
|
|
16430
|
-
}, {
|
|
16431
|
-
type: "ccipHook";
|
|
16432
|
-
destinationChain: string;
|
|
16433
|
-
}>, z.ZodObject<{
|
|
16434
|
-
type: z.ZodLiteral<"cctpHook">;
|
|
16435
|
-
address: z.ZodString;
|
|
16436
|
-
}, "strip", z.ZodTypeAny, {
|
|
16437
|
-
type: "cctpHook";
|
|
16438
|
-
address: string;
|
|
16439
|
-
}, {
|
|
16440
|
-
type: "cctpHook";
|
|
16441
|
-
address: string;
|
|
16442
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
16443
|
-
owner: z.ZodString;
|
|
16444
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16445
|
-
} & {
|
|
16446
|
-
type: z.ZodLiteral<"rateLimitedHook">;
|
|
16447
|
-
maxCapacity: z.ZodString;
|
|
16448
|
-
duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
16449
|
-
}, "strip", z.ZodTypeAny, {
|
|
16450
|
-
owner: string;
|
|
16451
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16452
|
-
type: "rateLimitedHook";
|
|
16453
|
-
maxCapacity: string;
|
|
16454
|
-
duration: bigint;
|
|
16455
|
-
}, {
|
|
16456
|
-
owner: string;
|
|
16457
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16458
|
-
type: "rateLimitedHook";
|
|
16459
|
-
maxCapacity: string;
|
|
16460
|
-
duration?: string | number | bigint | undefined;
|
|
16461
|
-
}>, {
|
|
16462
|
-
owner: string;
|
|
16463
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16464
|
-
type: "rateLimitedHook";
|
|
16465
|
-
maxCapacity: string;
|
|
16466
|
-
duration: bigint;
|
|
16467
|
-
}, {
|
|
16468
|
-
owner: string;
|
|
16469
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16470
|
-
type: "rateLimitedHook";
|
|
16471
|
-
maxCapacity: string;
|
|
16472
|
-
duration?: string | number | bigint | undefined;
|
|
16473
|
-
}>, {
|
|
16474
|
-
owner: string;
|
|
16475
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16476
|
-
type: "rateLimitedHook";
|
|
16477
|
-
maxCapacity: string;
|
|
16478
|
-
duration: bigint;
|
|
16479
|
-
}, {
|
|
16480
|
-
owner: string;
|
|
16481
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16482
|
-
type: "rateLimitedHook";
|
|
16483
|
-
maxCapacity: string;
|
|
16484
|
-
duration?: string | number | bigint | undefined;
|
|
16485
|
-
}>, {
|
|
16486
|
-
owner: string;
|
|
16487
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16488
|
-
type: "rateLimitedHook";
|
|
16489
|
-
maxCapacity: string;
|
|
16490
|
-
duration: bigint;
|
|
16491
|
-
}, {
|
|
16492
|
-
owner: string;
|
|
16493
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16494
|
-
type: "rateLimitedHook";
|
|
16495
|
-
maxCapacity: string;
|
|
16496
|
-
duration?: string | number | bigint | undefined;
|
|
16497
|
-
}>, z.ZodObject<{
|
|
16498
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
16499
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16500
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
16501
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16502
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
16503
|
-
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
16504
|
-
type: z.ZodLiteral<"predicateHook">;
|
|
16505
|
-
address: z.ZodString;
|
|
16506
|
-
}, "strip", z.ZodTypeAny, {
|
|
16507
|
-
type: "predicateHook";
|
|
16508
|
-
address: string;
|
|
16509
|
-
}, {
|
|
16510
|
-
type: "predicateHook";
|
|
16511
|
-
address: string;
|
|
16512
|
-
}>]>>;
|
|
15380
|
+
hook: z.ZodOptional<z.ZodType<HookConfig, z.ZodTypeDef, unknown>>;
|
|
16513
15381
|
interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, z.ZodTypeDef, unknown>>;
|
|
16514
15382
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
16515
15383
|
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
|
|
@@ -16771,71 +15639,7 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
16771
15639
|
proposer: string;
|
|
16772
15640
|
};
|
|
16773
15641
|
} | undefined;
|
|
16774
|
-
hook?:
|
|
16775
|
-
type: "merkleTreeHook";
|
|
16776
|
-
} | {
|
|
16777
|
-
owner: string;
|
|
16778
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16779
|
-
type: "interchainGasPaymaster";
|
|
16780
|
-
beneficiary: string;
|
|
16781
|
-
oracleKey: string;
|
|
16782
|
-
overhead: Record<string, number>;
|
|
16783
|
-
oracleConfig: Record<string, {
|
|
16784
|
-
gasPrice: string;
|
|
16785
|
-
tokenExchangeRate: string;
|
|
16786
|
-
tokenDecimals?: number | undefined;
|
|
16787
|
-
typicalCost?: {
|
|
16788
|
-
handleGasAmount: number;
|
|
16789
|
-
totalGasAmount: number;
|
|
16790
|
-
totalUsdCost: number;
|
|
16791
|
-
} | undefined;
|
|
16792
|
-
}>;
|
|
16793
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
16794
|
-
quoteSigners?: string[] | undefined;
|
|
16795
|
-
contractVersion?: string | undefined;
|
|
16796
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
16797
|
-
gasPrice: string;
|
|
16798
|
-
tokenExchangeRate: string;
|
|
16799
|
-
tokenDecimals?: number | undefined;
|
|
16800
|
-
}>> | undefined;
|
|
16801
|
-
} | {
|
|
16802
|
-
owner: string;
|
|
16803
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16804
|
-
type: "protocolFee";
|
|
16805
|
-
beneficiary: string;
|
|
16806
|
-
maxProtocolFee: string;
|
|
16807
|
-
protocolFee: string;
|
|
16808
|
-
} | {
|
|
16809
|
-
owner: string;
|
|
16810
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16811
|
-
paused: boolean;
|
|
16812
|
-
type: "pausableHook";
|
|
16813
|
-
} | {
|
|
16814
|
-
owner: string;
|
|
16815
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16816
|
-
type: "opStackHook";
|
|
16817
|
-
nativeBridge: string;
|
|
16818
|
-
destinationChain: string;
|
|
16819
|
-
} | {
|
|
16820
|
-
type: "defaultHook";
|
|
16821
|
-
} | {
|
|
16822
|
-
type: "ccipHook";
|
|
16823
|
-
destinationChain: string;
|
|
16824
|
-
} | {
|
|
16825
|
-
type: "cctpHook";
|
|
16826
|
-
address: string;
|
|
16827
|
-
} | {
|
|
16828
|
-
owner: string;
|
|
16829
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
16830
|
-
type: "rateLimitedHook";
|
|
16831
|
-
maxCapacity: string;
|
|
16832
|
-
duration: bigint;
|
|
16833
|
-
} | {
|
|
16834
|
-
type: "predicateHook";
|
|
16835
|
-
address: string;
|
|
16836
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
16837
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
16838
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15642
|
+
hook?: HookConfig | undefined;
|
|
16839
15643
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
16840
15644
|
foreignDeployment?: string | undefined;
|
|
16841
15645
|
remoteRouters?: Record<string | number, {
|
|
@@ -17383,71 +16187,7 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
17383
16187
|
proposer: string;
|
|
17384
16188
|
};
|
|
17385
16189
|
} | undefined;
|
|
17386
|
-
hook?:
|
|
17387
|
-
type: "merkleTreeHook";
|
|
17388
|
-
} | {
|
|
17389
|
-
owner: string;
|
|
17390
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
17391
|
-
type: "interchainGasPaymaster";
|
|
17392
|
-
beneficiary: string;
|
|
17393
|
-
oracleKey: string;
|
|
17394
|
-
overhead: Record<string, number>;
|
|
17395
|
-
oracleConfig: Record<string, {
|
|
17396
|
-
gasPrice: string;
|
|
17397
|
-
tokenExchangeRate: string;
|
|
17398
|
-
tokenDecimals?: number | undefined;
|
|
17399
|
-
typicalCost?: {
|
|
17400
|
-
handleGasAmount: number;
|
|
17401
|
-
totalGasAmount: number;
|
|
17402
|
-
totalUsdCost: number;
|
|
17403
|
-
} | undefined;
|
|
17404
|
-
}>;
|
|
17405
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
17406
|
-
quoteSigners?: string[] | undefined;
|
|
17407
|
-
contractVersion?: string | undefined;
|
|
17408
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
17409
|
-
gasPrice: string;
|
|
17410
|
-
tokenExchangeRate: string;
|
|
17411
|
-
tokenDecimals?: number | undefined;
|
|
17412
|
-
}>> | undefined;
|
|
17413
|
-
} | {
|
|
17414
|
-
owner: string;
|
|
17415
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
17416
|
-
type: "protocolFee";
|
|
17417
|
-
beneficiary: string;
|
|
17418
|
-
maxProtocolFee: string;
|
|
17419
|
-
protocolFee: string;
|
|
17420
|
-
} | {
|
|
17421
|
-
owner: string;
|
|
17422
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
17423
|
-
paused: boolean;
|
|
17424
|
-
type: "pausableHook";
|
|
17425
|
-
} | {
|
|
17426
|
-
owner: string;
|
|
17427
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
17428
|
-
type: "opStackHook";
|
|
17429
|
-
nativeBridge: string;
|
|
17430
|
-
destinationChain: string;
|
|
17431
|
-
} | {
|
|
17432
|
-
type: "defaultHook";
|
|
17433
|
-
} | {
|
|
17434
|
-
type: "ccipHook";
|
|
17435
|
-
destinationChain: string;
|
|
17436
|
-
} | {
|
|
17437
|
-
type: "cctpHook";
|
|
17438
|
-
address: string;
|
|
17439
|
-
} | {
|
|
17440
|
-
owner: string;
|
|
17441
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
17442
|
-
type: "rateLimitedHook";
|
|
17443
|
-
maxCapacity: string;
|
|
17444
|
-
duration: bigint;
|
|
17445
|
-
} | {
|
|
17446
|
-
type: "predicateHook";
|
|
17447
|
-
address: string;
|
|
17448
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
17449
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
17450
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
16190
|
+
hook?: HookConfig | undefined;
|
|
17451
16191
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
17452
16192
|
foreignDeployment?: string | undefined;
|
|
17453
16193
|
remoteRouters?: Record<string | number, {
|
|
@@ -17992,71 +16732,7 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodEffects<z.Z
|
|
|
17992
16732
|
proposer: string;
|
|
17993
16733
|
};
|
|
17994
16734
|
} | undefined;
|
|
17995
|
-
hook?:
|
|
17996
|
-
type: "merkleTreeHook";
|
|
17997
|
-
} | {
|
|
17998
|
-
owner: string;
|
|
17999
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
18000
|
-
type: "interchainGasPaymaster";
|
|
18001
|
-
beneficiary: string;
|
|
18002
|
-
oracleKey: string;
|
|
18003
|
-
overhead: Record<string, number>;
|
|
18004
|
-
oracleConfig: Record<string, {
|
|
18005
|
-
gasPrice: string;
|
|
18006
|
-
tokenExchangeRate: string;
|
|
18007
|
-
tokenDecimals?: number | undefined;
|
|
18008
|
-
typicalCost?: {
|
|
18009
|
-
handleGasAmount: number;
|
|
18010
|
-
totalGasAmount: number;
|
|
18011
|
-
totalUsdCost: number;
|
|
18012
|
-
} | undefined;
|
|
18013
|
-
}>;
|
|
18014
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
18015
|
-
quoteSigners?: string[] | undefined;
|
|
18016
|
-
contractVersion?: string | undefined;
|
|
18017
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
18018
|
-
gasPrice: string;
|
|
18019
|
-
tokenExchangeRate: string;
|
|
18020
|
-
tokenDecimals?: number | undefined;
|
|
18021
|
-
}>> | undefined;
|
|
18022
|
-
} | {
|
|
18023
|
-
owner: string;
|
|
18024
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
18025
|
-
type: "protocolFee";
|
|
18026
|
-
beneficiary: string;
|
|
18027
|
-
maxProtocolFee: string;
|
|
18028
|
-
protocolFee: string;
|
|
18029
|
-
} | {
|
|
18030
|
-
owner: string;
|
|
18031
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
18032
|
-
paused: boolean;
|
|
18033
|
-
type: "pausableHook";
|
|
18034
|
-
} | {
|
|
18035
|
-
owner: string;
|
|
18036
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
18037
|
-
type: "opStackHook";
|
|
18038
|
-
nativeBridge: string;
|
|
18039
|
-
destinationChain: string;
|
|
18040
|
-
} | {
|
|
18041
|
-
type: "defaultHook";
|
|
18042
|
-
} | {
|
|
18043
|
-
type: "ccipHook";
|
|
18044
|
-
destinationChain: string;
|
|
18045
|
-
} | {
|
|
18046
|
-
type: "cctpHook";
|
|
18047
|
-
address: string;
|
|
18048
|
-
} | {
|
|
18049
|
-
owner: string;
|
|
18050
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
18051
|
-
type: "rateLimitedHook";
|
|
18052
|
-
maxCapacity: string;
|
|
18053
|
-
duration: bigint;
|
|
18054
|
-
} | {
|
|
18055
|
-
type: "predicateHook";
|
|
18056
|
-
address: string;
|
|
18057
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
18058
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
18059
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
16735
|
+
hook?: HookConfig | undefined;
|
|
18060
16736
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
18061
16737
|
foreignDeployment?: string | undefined;
|
|
18062
16738
|
remoteRouters?: Record<string | number, {
|
|
@@ -20273,278 +18949,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20273
18949
|
proposer: string;
|
|
20274
18950
|
};
|
|
20275
18951
|
}>>;
|
|
20276
|
-
hook: z.ZodOptional<z.
|
|
20277
|
-
owner: z.ZodString;
|
|
20278
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20279
|
-
} & {
|
|
20280
|
-
type: z.ZodLiteral<"protocolFee">;
|
|
20281
|
-
beneficiary: z.ZodString;
|
|
20282
|
-
maxProtocolFee: z.ZodString;
|
|
20283
|
-
protocolFee: z.ZodString;
|
|
20284
|
-
}, "strip", z.ZodTypeAny, {
|
|
20285
|
-
owner: string;
|
|
20286
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20287
|
-
type: "protocolFee";
|
|
20288
|
-
beneficiary: string;
|
|
20289
|
-
maxProtocolFee: string;
|
|
20290
|
-
protocolFee: string;
|
|
20291
|
-
}, {
|
|
20292
|
-
owner: string;
|
|
20293
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20294
|
-
type: "protocolFee";
|
|
20295
|
-
beneficiary: string;
|
|
20296
|
-
maxProtocolFee: string;
|
|
20297
|
-
protocolFee: string;
|
|
20298
|
-
}>, z.ZodObject<{
|
|
20299
|
-
owner: z.ZodString;
|
|
20300
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20301
|
-
} & {
|
|
20302
|
-
paused: z.ZodBoolean;
|
|
20303
|
-
} & {
|
|
20304
|
-
type: z.ZodLiteral<"pausableHook">;
|
|
20305
|
-
}, "strip", z.ZodTypeAny, {
|
|
20306
|
-
owner: string;
|
|
20307
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20308
|
-
paused: boolean;
|
|
20309
|
-
type: "pausableHook";
|
|
20310
|
-
}, {
|
|
20311
|
-
owner: string;
|
|
20312
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20313
|
-
paused: boolean;
|
|
20314
|
-
type: "pausableHook";
|
|
20315
|
-
}>, z.ZodObject<{
|
|
20316
|
-
owner: z.ZodString;
|
|
20317
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20318
|
-
} & {
|
|
20319
|
-
type: z.ZodLiteral<"opStackHook">;
|
|
20320
|
-
nativeBridge: z.ZodString;
|
|
20321
|
-
destinationChain: z.ZodString;
|
|
20322
|
-
}, "strip", z.ZodTypeAny, {
|
|
20323
|
-
owner: string;
|
|
20324
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20325
|
-
type: "opStackHook";
|
|
20326
|
-
nativeBridge: string;
|
|
20327
|
-
destinationChain: string;
|
|
20328
|
-
}, {
|
|
20329
|
-
owner: string;
|
|
20330
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20331
|
-
type: "opStackHook";
|
|
20332
|
-
nativeBridge: string;
|
|
20333
|
-
destinationChain: string;
|
|
20334
|
-
}>, z.ZodObject<{
|
|
20335
|
-
type: z.ZodLiteral<"merkleTreeHook">;
|
|
20336
|
-
}, "strip", z.ZodTypeAny, {
|
|
20337
|
-
type: "merkleTreeHook";
|
|
20338
|
-
}, {
|
|
20339
|
-
type: "merkleTreeHook";
|
|
20340
|
-
}>, z.ZodObject<{
|
|
20341
|
-
owner: z.ZodString;
|
|
20342
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20343
|
-
} & {
|
|
20344
|
-
type: z.ZodLiteral<"interchainGasPaymaster">;
|
|
20345
|
-
beneficiary: z.ZodString;
|
|
20346
|
-
oracleKey: z.ZodString;
|
|
20347
|
-
overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
20348
|
-
oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
20349
|
-
gasPrice: z.ZodString;
|
|
20350
|
-
tokenExchangeRate: z.ZodString;
|
|
20351
|
-
} & {
|
|
20352
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
20353
|
-
} & {
|
|
20354
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
20355
|
-
handleGasAmount: z.ZodNumber;
|
|
20356
|
-
totalGasAmount: z.ZodNumber;
|
|
20357
|
-
totalUsdCost: z.ZodNumber;
|
|
20358
|
-
}, "strip", z.ZodTypeAny, {
|
|
20359
|
-
handleGasAmount: number;
|
|
20360
|
-
totalGasAmount: number;
|
|
20361
|
-
totalUsdCost: number;
|
|
20362
|
-
}, {
|
|
20363
|
-
handleGasAmount: number;
|
|
20364
|
-
totalGasAmount: number;
|
|
20365
|
-
totalUsdCost: number;
|
|
20366
|
-
}>>;
|
|
20367
|
-
}, "strip", z.ZodTypeAny, {
|
|
20368
|
-
gasPrice: string;
|
|
20369
|
-
tokenExchangeRate: string;
|
|
20370
|
-
tokenDecimals?: number | undefined;
|
|
20371
|
-
typicalCost?: {
|
|
20372
|
-
handleGasAmount: number;
|
|
20373
|
-
totalGasAmount: number;
|
|
20374
|
-
totalUsdCost: number;
|
|
20375
|
-
} | undefined;
|
|
20376
|
-
}, {
|
|
20377
|
-
gasPrice: string;
|
|
20378
|
-
tokenExchangeRate: string;
|
|
20379
|
-
tokenDecimals?: number | undefined;
|
|
20380
|
-
typicalCost?: {
|
|
20381
|
-
handleGasAmount: number;
|
|
20382
|
-
totalGasAmount: number;
|
|
20383
|
-
totalUsdCost: number;
|
|
20384
|
-
} | undefined;
|
|
20385
|
-
}>>;
|
|
20386
|
-
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
20387
|
-
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20388
|
-
contractVersion: z.ZodOptional<z.ZodString>;
|
|
20389
|
-
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
20390
|
-
gasPrice: z.ZodString;
|
|
20391
|
-
tokenExchangeRate: z.ZodString;
|
|
20392
|
-
} & {
|
|
20393
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
20394
|
-
}, "strip", z.ZodTypeAny, {
|
|
20395
|
-
gasPrice: string;
|
|
20396
|
-
tokenExchangeRate: string;
|
|
20397
|
-
tokenDecimals?: number | undefined;
|
|
20398
|
-
}, {
|
|
20399
|
-
gasPrice: string;
|
|
20400
|
-
tokenExchangeRate: string;
|
|
20401
|
-
tokenDecimals?: number | undefined;
|
|
20402
|
-
}>>>>;
|
|
20403
|
-
}, "strip", z.ZodTypeAny, {
|
|
20404
|
-
owner: string;
|
|
20405
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20406
|
-
type: "interchainGasPaymaster";
|
|
20407
|
-
beneficiary: string;
|
|
20408
|
-
oracleKey: string;
|
|
20409
|
-
overhead: Record<string, number>;
|
|
20410
|
-
oracleConfig: Record<string, {
|
|
20411
|
-
gasPrice: string;
|
|
20412
|
-
tokenExchangeRate: string;
|
|
20413
|
-
tokenDecimals?: number | undefined;
|
|
20414
|
-
typicalCost?: {
|
|
20415
|
-
handleGasAmount: number;
|
|
20416
|
-
totalGasAmount: number;
|
|
20417
|
-
totalUsdCost: number;
|
|
20418
|
-
} | undefined;
|
|
20419
|
-
}>;
|
|
20420
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
20421
|
-
quoteSigners?: string[] | undefined;
|
|
20422
|
-
contractVersion?: string | undefined;
|
|
20423
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
20424
|
-
gasPrice: string;
|
|
20425
|
-
tokenExchangeRate: string;
|
|
20426
|
-
tokenDecimals?: number | undefined;
|
|
20427
|
-
}>> | undefined;
|
|
20428
|
-
}, {
|
|
20429
|
-
owner: string;
|
|
20430
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20431
|
-
type: "interchainGasPaymaster";
|
|
20432
|
-
beneficiary: string;
|
|
20433
|
-
oracleKey: string;
|
|
20434
|
-
overhead: Record<string, number>;
|
|
20435
|
-
oracleConfig: Record<string, {
|
|
20436
|
-
gasPrice: string;
|
|
20437
|
-
tokenExchangeRate: string;
|
|
20438
|
-
tokenDecimals?: number | undefined;
|
|
20439
|
-
typicalCost?: {
|
|
20440
|
-
handleGasAmount: number;
|
|
20441
|
-
totalGasAmount: number;
|
|
20442
|
-
totalUsdCost: number;
|
|
20443
|
-
} | undefined;
|
|
20444
|
-
}>;
|
|
20445
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
20446
|
-
quoteSigners?: string[] | undefined;
|
|
20447
|
-
contractVersion?: string | undefined;
|
|
20448
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
20449
|
-
gasPrice: string;
|
|
20450
|
-
tokenExchangeRate: string;
|
|
20451
|
-
tokenDecimals?: number | undefined;
|
|
20452
|
-
}>> | undefined;
|
|
20453
|
-
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
|
|
20454
|
-
type: z.ZodLiteral<"defaultHook">;
|
|
20455
|
-
}, "strip", z.ZodTypeAny, {
|
|
20456
|
-
type: "defaultHook";
|
|
20457
|
-
}, {
|
|
20458
|
-
type: "defaultHook";
|
|
20459
|
-
}>, z.ZodObject<{
|
|
20460
|
-
type: z.ZodLiteral<"ccipHook">;
|
|
20461
|
-
destinationChain: z.ZodString;
|
|
20462
|
-
}, "strip", z.ZodTypeAny, {
|
|
20463
|
-
type: "ccipHook";
|
|
20464
|
-
destinationChain: string;
|
|
20465
|
-
}, {
|
|
20466
|
-
type: "ccipHook";
|
|
20467
|
-
destinationChain: string;
|
|
20468
|
-
}>, z.ZodObject<{
|
|
20469
|
-
type: z.ZodLiteral<"cctpHook">;
|
|
20470
|
-
address: z.ZodString;
|
|
20471
|
-
}, "strip", z.ZodTypeAny, {
|
|
20472
|
-
type: "cctpHook";
|
|
20473
|
-
address: string;
|
|
20474
|
-
}, {
|
|
20475
|
-
type: "cctpHook";
|
|
20476
|
-
address: string;
|
|
20477
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
20478
|
-
owner: z.ZodString;
|
|
20479
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20480
|
-
} & {
|
|
20481
|
-
type: z.ZodLiteral<"rateLimitedHook">;
|
|
20482
|
-
maxCapacity: z.ZodString;
|
|
20483
|
-
duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
20484
|
-
}, "strip", z.ZodTypeAny, {
|
|
20485
|
-
owner: string;
|
|
20486
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20487
|
-
type: "rateLimitedHook";
|
|
20488
|
-
maxCapacity: string;
|
|
20489
|
-
duration: bigint;
|
|
20490
|
-
}, {
|
|
20491
|
-
owner: string;
|
|
20492
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20493
|
-
type: "rateLimitedHook";
|
|
20494
|
-
maxCapacity: string;
|
|
20495
|
-
duration?: string | number | bigint | undefined;
|
|
20496
|
-
}>, {
|
|
20497
|
-
owner: string;
|
|
20498
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20499
|
-
type: "rateLimitedHook";
|
|
20500
|
-
maxCapacity: string;
|
|
20501
|
-
duration: bigint;
|
|
20502
|
-
}, {
|
|
20503
|
-
owner: string;
|
|
20504
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20505
|
-
type: "rateLimitedHook";
|
|
20506
|
-
maxCapacity: string;
|
|
20507
|
-
duration?: string | number | bigint | undefined;
|
|
20508
|
-
}>, {
|
|
20509
|
-
owner: string;
|
|
20510
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20511
|
-
type: "rateLimitedHook";
|
|
20512
|
-
maxCapacity: string;
|
|
20513
|
-
duration: bigint;
|
|
20514
|
-
}, {
|
|
20515
|
-
owner: string;
|
|
20516
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20517
|
-
type: "rateLimitedHook";
|
|
20518
|
-
maxCapacity: string;
|
|
20519
|
-
duration?: string | number | bigint | undefined;
|
|
20520
|
-
}>, {
|
|
20521
|
-
owner: string;
|
|
20522
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20523
|
-
type: "rateLimitedHook";
|
|
20524
|
-
maxCapacity: string;
|
|
20525
|
-
duration: bigint;
|
|
20526
|
-
}, {
|
|
20527
|
-
owner: string;
|
|
20528
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20529
|
-
type: "rateLimitedHook";
|
|
20530
|
-
maxCapacity: string;
|
|
20531
|
-
duration?: string | number | bigint | undefined;
|
|
20532
|
-
}>, z.ZodObject<{
|
|
20533
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
20534
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20535
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
20536
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20537
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
20538
|
-
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
20539
|
-
type: z.ZodLiteral<"predicateHook">;
|
|
20540
|
-
address: z.ZodString;
|
|
20541
|
-
}, "strip", z.ZodTypeAny, {
|
|
20542
|
-
type: "predicateHook";
|
|
20543
|
-
address: string;
|
|
20544
|
-
}, {
|
|
20545
|
-
type: "predicateHook";
|
|
20546
|
-
address: string;
|
|
20547
|
-
}>]>>;
|
|
18952
|
+
hook: z.ZodOptional<z.ZodType<HookConfig, z.ZodTypeDef, unknown>>;
|
|
20548
18953
|
interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, z.ZodTypeDef, unknown>>;
|
|
20549
18954
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
20550
18955
|
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
|
|
@@ -20806,71 +19211,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
20806
19211
|
proposer: string;
|
|
20807
19212
|
};
|
|
20808
19213
|
} | undefined;
|
|
20809
|
-
hook?:
|
|
20810
|
-
type: "merkleTreeHook";
|
|
20811
|
-
} | {
|
|
20812
|
-
owner: string;
|
|
20813
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20814
|
-
type: "interchainGasPaymaster";
|
|
20815
|
-
beneficiary: string;
|
|
20816
|
-
oracleKey: string;
|
|
20817
|
-
overhead: Record<string, number>;
|
|
20818
|
-
oracleConfig: Record<string, {
|
|
20819
|
-
gasPrice: string;
|
|
20820
|
-
tokenExchangeRate: string;
|
|
20821
|
-
tokenDecimals?: number | undefined;
|
|
20822
|
-
typicalCost?: {
|
|
20823
|
-
handleGasAmount: number;
|
|
20824
|
-
totalGasAmount: number;
|
|
20825
|
-
totalUsdCost: number;
|
|
20826
|
-
} | undefined;
|
|
20827
|
-
}>;
|
|
20828
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
20829
|
-
quoteSigners?: string[] | undefined;
|
|
20830
|
-
contractVersion?: string | undefined;
|
|
20831
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
20832
|
-
gasPrice: string;
|
|
20833
|
-
tokenExchangeRate: string;
|
|
20834
|
-
tokenDecimals?: number | undefined;
|
|
20835
|
-
}>> | undefined;
|
|
20836
|
-
} | {
|
|
20837
|
-
owner: string;
|
|
20838
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20839
|
-
type: "protocolFee";
|
|
20840
|
-
beneficiary: string;
|
|
20841
|
-
maxProtocolFee: string;
|
|
20842
|
-
protocolFee: string;
|
|
20843
|
-
} | {
|
|
20844
|
-
owner: string;
|
|
20845
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20846
|
-
paused: boolean;
|
|
20847
|
-
type: "pausableHook";
|
|
20848
|
-
} | {
|
|
20849
|
-
owner: string;
|
|
20850
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20851
|
-
type: "opStackHook";
|
|
20852
|
-
nativeBridge: string;
|
|
20853
|
-
destinationChain: string;
|
|
20854
|
-
} | {
|
|
20855
|
-
type: "defaultHook";
|
|
20856
|
-
} | {
|
|
20857
|
-
type: "ccipHook";
|
|
20858
|
-
destinationChain: string;
|
|
20859
|
-
} | {
|
|
20860
|
-
type: "cctpHook";
|
|
20861
|
-
address: string;
|
|
20862
|
-
} | {
|
|
20863
|
-
owner: string;
|
|
20864
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
20865
|
-
type: "rateLimitedHook";
|
|
20866
|
-
maxCapacity: string;
|
|
20867
|
-
duration: bigint;
|
|
20868
|
-
} | {
|
|
20869
|
-
type: "predicateHook";
|
|
20870
|
-
address: string;
|
|
20871
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
20872
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
20873
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19214
|
+
hook?: HookConfig | undefined;
|
|
20874
19215
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
20875
19216
|
foreignDeployment?: string | undefined;
|
|
20876
19217
|
remoteRouters?: Record<string | number, {
|
|
@@ -21403,86 +19744,22 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
21403
19744
|
predicateRegistry: string;
|
|
21404
19745
|
policyId: string;
|
|
21405
19746
|
owner: string;
|
|
21406
|
-
}, {
|
|
21407
|
-
predicateRegistry: string;
|
|
21408
|
-
policyId: string;
|
|
21409
|
-
owner: string;
|
|
21410
|
-
}>>;
|
|
21411
|
-
}, z.ZodTypeAny, "passthrough">) & {
|
|
21412
|
-
owner: string;
|
|
21413
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
21414
|
-
timelock?: {
|
|
21415
|
-
delay: number;
|
|
21416
|
-
roles: {
|
|
21417
|
-
executor: string;
|
|
21418
|
-
proposer: string;
|
|
21419
|
-
};
|
|
21420
|
-
} | undefined;
|
|
21421
|
-
hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
|
|
21422
|
-
type: "merkleTreeHook";
|
|
21423
|
-
} | {
|
|
21424
|
-
owner: string;
|
|
21425
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
21426
|
-
type: "interchainGasPaymaster";
|
|
21427
|
-
beneficiary: string;
|
|
21428
|
-
oracleKey: string;
|
|
21429
|
-
overhead: Record<string, number>;
|
|
21430
|
-
oracleConfig: Record<string, {
|
|
21431
|
-
gasPrice: string;
|
|
21432
|
-
tokenExchangeRate: string;
|
|
21433
|
-
tokenDecimals?: number | undefined;
|
|
21434
|
-
typicalCost?: {
|
|
21435
|
-
handleGasAmount: number;
|
|
21436
|
-
totalGasAmount: number;
|
|
21437
|
-
totalUsdCost: number;
|
|
21438
|
-
} | undefined;
|
|
21439
|
-
}>;
|
|
21440
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
21441
|
-
quoteSigners?: string[] | undefined;
|
|
21442
|
-
contractVersion?: string | undefined;
|
|
21443
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
21444
|
-
gasPrice: string;
|
|
21445
|
-
tokenExchangeRate: string;
|
|
21446
|
-
tokenDecimals?: number | undefined;
|
|
21447
|
-
}>> | undefined;
|
|
21448
|
-
} | {
|
|
21449
|
-
owner: string;
|
|
21450
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
21451
|
-
type: "protocolFee";
|
|
21452
|
-
beneficiary: string;
|
|
21453
|
-
maxProtocolFee: string;
|
|
21454
|
-
protocolFee: string;
|
|
21455
|
-
} | {
|
|
21456
|
-
owner: string;
|
|
21457
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
21458
|
-
paused: boolean;
|
|
21459
|
-
type: "pausableHook";
|
|
21460
|
-
} | {
|
|
21461
|
-
owner: string;
|
|
21462
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
21463
|
-
type: "opStackHook";
|
|
21464
|
-
nativeBridge: string;
|
|
21465
|
-
destinationChain: string;
|
|
21466
|
-
} | {
|
|
21467
|
-
type: "defaultHook";
|
|
21468
|
-
} | {
|
|
21469
|
-
type: "ccipHook";
|
|
21470
|
-
destinationChain: string;
|
|
21471
|
-
} | {
|
|
21472
|
-
type: "cctpHook";
|
|
21473
|
-
address: string;
|
|
21474
|
-
} | {
|
|
19747
|
+
}, {
|
|
19748
|
+
predicateRegistry: string;
|
|
19749
|
+
policyId: string;
|
|
21475
19750
|
owner: string;
|
|
21476
|
-
|
|
21477
|
-
|
|
21478
|
-
|
|
21479
|
-
|
|
21480
|
-
|
|
21481
|
-
|
|
21482
|
-
|
|
21483
|
-
|
|
21484
|
-
|
|
21485
|
-
|
|
19751
|
+
}>>;
|
|
19752
|
+
}, z.ZodTypeAny, "passthrough">) & {
|
|
19753
|
+
owner: string;
|
|
19754
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
19755
|
+
timelock?: {
|
|
19756
|
+
delay: number;
|
|
19757
|
+
roles: {
|
|
19758
|
+
executor: string;
|
|
19759
|
+
proposer: string;
|
|
19760
|
+
};
|
|
19761
|
+
} | undefined;
|
|
19762
|
+
hook?: HookConfig | undefined;
|
|
21486
19763
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
21487
19764
|
foreignDeployment?: string | undefined;
|
|
21488
19765
|
remoteRouters?: Record<string | number, {
|
|
@@ -22027,71 +20304,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
22027
20304
|
proposer: string;
|
|
22028
20305
|
};
|
|
22029
20306
|
} | undefined;
|
|
22030
|
-
hook?:
|
|
22031
|
-
type: "merkleTreeHook";
|
|
22032
|
-
} | {
|
|
22033
|
-
owner: string;
|
|
22034
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22035
|
-
type: "interchainGasPaymaster";
|
|
22036
|
-
beneficiary: string;
|
|
22037
|
-
oracleKey: string;
|
|
22038
|
-
overhead: Record<string, number>;
|
|
22039
|
-
oracleConfig: Record<string, {
|
|
22040
|
-
gasPrice: string;
|
|
22041
|
-
tokenExchangeRate: string;
|
|
22042
|
-
tokenDecimals?: number | undefined;
|
|
22043
|
-
typicalCost?: {
|
|
22044
|
-
handleGasAmount: number;
|
|
22045
|
-
totalGasAmount: number;
|
|
22046
|
-
totalUsdCost: number;
|
|
22047
|
-
} | undefined;
|
|
22048
|
-
}>;
|
|
22049
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
22050
|
-
quoteSigners?: string[] | undefined;
|
|
22051
|
-
contractVersion?: string | undefined;
|
|
22052
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
22053
|
-
gasPrice: string;
|
|
22054
|
-
tokenExchangeRate: string;
|
|
22055
|
-
tokenDecimals?: number | undefined;
|
|
22056
|
-
}>> | undefined;
|
|
22057
|
-
} | {
|
|
22058
|
-
owner: string;
|
|
22059
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22060
|
-
type: "protocolFee";
|
|
22061
|
-
beneficiary: string;
|
|
22062
|
-
maxProtocolFee: string;
|
|
22063
|
-
protocolFee: string;
|
|
22064
|
-
} | {
|
|
22065
|
-
owner: string;
|
|
22066
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22067
|
-
paused: boolean;
|
|
22068
|
-
type: "pausableHook";
|
|
22069
|
-
} | {
|
|
22070
|
-
owner: string;
|
|
22071
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22072
|
-
type: "opStackHook";
|
|
22073
|
-
nativeBridge: string;
|
|
22074
|
-
destinationChain: string;
|
|
22075
|
-
} | {
|
|
22076
|
-
type: "defaultHook";
|
|
22077
|
-
} | {
|
|
22078
|
-
type: "ccipHook";
|
|
22079
|
-
destinationChain: string;
|
|
22080
|
-
} | {
|
|
22081
|
-
type: "cctpHook";
|
|
22082
|
-
address: string;
|
|
22083
|
-
} | {
|
|
22084
|
-
owner: string;
|
|
22085
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22086
|
-
type: "rateLimitedHook";
|
|
22087
|
-
maxCapacity: string;
|
|
22088
|
-
duration: bigint;
|
|
22089
|
-
} | {
|
|
22090
|
-
type: "predicateHook";
|
|
22091
|
-
address: string;
|
|
22092
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
22093
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
22094
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
20307
|
+
hook?: HookConfig | undefined;
|
|
22095
20308
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
22096
20309
|
foreignDeployment?: string | undefined;
|
|
22097
20310
|
remoteRouters?: Record<string | number, {
|
|
@@ -22570,71 +20783,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
22570
20783
|
proposer: string;
|
|
22571
20784
|
};
|
|
22572
20785
|
} | undefined;
|
|
22573
|
-
hook?:
|
|
22574
|
-
type: "merkleTreeHook";
|
|
22575
|
-
} | {
|
|
22576
|
-
owner: string;
|
|
22577
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22578
|
-
type: "interchainGasPaymaster";
|
|
22579
|
-
beneficiary: string;
|
|
22580
|
-
oracleKey: string;
|
|
22581
|
-
overhead: Record<string, number>;
|
|
22582
|
-
oracleConfig: Record<string, {
|
|
22583
|
-
gasPrice: string;
|
|
22584
|
-
tokenExchangeRate: string;
|
|
22585
|
-
tokenDecimals?: number | undefined;
|
|
22586
|
-
typicalCost?: {
|
|
22587
|
-
handleGasAmount: number;
|
|
22588
|
-
totalGasAmount: number;
|
|
22589
|
-
totalUsdCost: number;
|
|
22590
|
-
} | undefined;
|
|
22591
|
-
}>;
|
|
22592
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
22593
|
-
quoteSigners?: string[] | undefined;
|
|
22594
|
-
contractVersion?: string | undefined;
|
|
22595
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
22596
|
-
gasPrice: string;
|
|
22597
|
-
tokenExchangeRate: string;
|
|
22598
|
-
tokenDecimals?: number | undefined;
|
|
22599
|
-
}>> | undefined;
|
|
22600
|
-
} | {
|
|
22601
|
-
owner: string;
|
|
22602
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22603
|
-
type: "protocolFee";
|
|
22604
|
-
beneficiary: string;
|
|
22605
|
-
maxProtocolFee: string;
|
|
22606
|
-
protocolFee: string;
|
|
22607
|
-
} | {
|
|
22608
|
-
owner: string;
|
|
22609
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22610
|
-
paused: boolean;
|
|
22611
|
-
type: "pausableHook";
|
|
22612
|
-
} | {
|
|
22613
|
-
owner: string;
|
|
22614
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22615
|
-
type: "opStackHook";
|
|
22616
|
-
nativeBridge: string;
|
|
22617
|
-
destinationChain: string;
|
|
22618
|
-
} | {
|
|
22619
|
-
type: "defaultHook";
|
|
22620
|
-
} | {
|
|
22621
|
-
type: "ccipHook";
|
|
22622
|
-
destinationChain: string;
|
|
22623
|
-
} | {
|
|
22624
|
-
type: "cctpHook";
|
|
22625
|
-
address: string;
|
|
22626
|
-
} | {
|
|
22627
|
-
owner: string;
|
|
22628
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
22629
|
-
type: "rateLimitedHook";
|
|
22630
|
-
maxCapacity: string;
|
|
22631
|
-
duration: bigint;
|
|
22632
|
-
} | {
|
|
22633
|
-
type: "predicateHook";
|
|
22634
|
-
address: string;
|
|
22635
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
22636
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
22637
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
20786
|
+
hook?: HookConfig | undefined;
|
|
22638
20787
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
22639
20788
|
foreignDeployment?: string | undefined;
|
|
22640
20789
|
remoteRouters?: Record<string | number, {
|
|
@@ -23113,71 +21262,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
23113
21262
|
proposer: string;
|
|
23114
21263
|
};
|
|
23115
21264
|
} | undefined;
|
|
23116
|
-
hook?:
|
|
23117
|
-
type: "merkleTreeHook";
|
|
23118
|
-
} | {
|
|
23119
|
-
owner: string;
|
|
23120
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23121
|
-
type: "interchainGasPaymaster";
|
|
23122
|
-
beneficiary: string;
|
|
23123
|
-
oracleKey: string;
|
|
23124
|
-
overhead: Record<string, number>;
|
|
23125
|
-
oracleConfig: Record<string, {
|
|
23126
|
-
gasPrice: string;
|
|
23127
|
-
tokenExchangeRate: string;
|
|
23128
|
-
tokenDecimals?: number | undefined;
|
|
23129
|
-
typicalCost?: {
|
|
23130
|
-
handleGasAmount: number;
|
|
23131
|
-
totalGasAmount: number;
|
|
23132
|
-
totalUsdCost: number;
|
|
23133
|
-
} | undefined;
|
|
23134
|
-
}>;
|
|
23135
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
23136
|
-
quoteSigners?: string[] | undefined;
|
|
23137
|
-
contractVersion?: string | undefined;
|
|
23138
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
23139
|
-
gasPrice: string;
|
|
23140
|
-
tokenExchangeRate: string;
|
|
23141
|
-
tokenDecimals?: number | undefined;
|
|
23142
|
-
}>> | undefined;
|
|
23143
|
-
} | {
|
|
23144
|
-
owner: string;
|
|
23145
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23146
|
-
type: "protocolFee";
|
|
23147
|
-
beneficiary: string;
|
|
23148
|
-
maxProtocolFee: string;
|
|
23149
|
-
protocolFee: string;
|
|
23150
|
-
} | {
|
|
23151
|
-
owner: string;
|
|
23152
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23153
|
-
paused: boolean;
|
|
23154
|
-
type: "pausableHook";
|
|
23155
|
-
} | {
|
|
23156
|
-
owner: string;
|
|
23157
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23158
|
-
type: "opStackHook";
|
|
23159
|
-
nativeBridge: string;
|
|
23160
|
-
destinationChain: string;
|
|
23161
|
-
} | {
|
|
23162
|
-
type: "defaultHook";
|
|
23163
|
-
} | {
|
|
23164
|
-
type: "ccipHook";
|
|
23165
|
-
destinationChain: string;
|
|
23166
|
-
} | {
|
|
23167
|
-
type: "cctpHook";
|
|
23168
|
-
address: string;
|
|
23169
|
-
} | {
|
|
23170
|
-
owner: string;
|
|
23171
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23172
|
-
type: "rateLimitedHook";
|
|
23173
|
-
maxCapacity: string;
|
|
23174
|
-
duration: bigint;
|
|
23175
|
-
} | {
|
|
23176
|
-
type: "predicateHook";
|
|
23177
|
-
address: string;
|
|
23178
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
23179
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
23180
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
21265
|
+
hook?: HookConfig | undefined;
|
|
23181
21266
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
23182
21267
|
foreignDeployment?: string | undefined;
|
|
23183
21268
|
remoteRouters?: Record<string | number, {
|
|
@@ -23656,71 +21741,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
23656
21741
|
proposer: string;
|
|
23657
21742
|
};
|
|
23658
21743
|
} | undefined;
|
|
23659
|
-
hook?:
|
|
23660
|
-
type: "merkleTreeHook";
|
|
23661
|
-
} | {
|
|
23662
|
-
owner: string;
|
|
23663
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23664
|
-
type: "interchainGasPaymaster";
|
|
23665
|
-
beneficiary: string;
|
|
23666
|
-
oracleKey: string;
|
|
23667
|
-
overhead: Record<string, number>;
|
|
23668
|
-
oracleConfig: Record<string, {
|
|
23669
|
-
gasPrice: string;
|
|
23670
|
-
tokenExchangeRate: string;
|
|
23671
|
-
tokenDecimals?: number | undefined;
|
|
23672
|
-
typicalCost?: {
|
|
23673
|
-
handleGasAmount: number;
|
|
23674
|
-
totalGasAmount: number;
|
|
23675
|
-
totalUsdCost: number;
|
|
23676
|
-
} | undefined;
|
|
23677
|
-
}>;
|
|
23678
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
23679
|
-
quoteSigners?: string[] | undefined;
|
|
23680
|
-
contractVersion?: string | undefined;
|
|
23681
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
23682
|
-
gasPrice: string;
|
|
23683
|
-
tokenExchangeRate: string;
|
|
23684
|
-
tokenDecimals?: number | undefined;
|
|
23685
|
-
}>> | undefined;
|
|
23686
|
-
} | {
|
|
23687
|
-
owner: string;
|
|
23688
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23689
|
-
type: "protocolFee";
|
|
23690
|
-
beneficiary: string;
|
|
23691
|
-
maxProtocolFee: string;
|
|
23692
|
-
protocolFee: string;
|
|
23693
|
-
} | {
|
|
23694
|
-
owner: string;
|
|
23695
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23696
|
-
paused: boolean;
|
|
23697
|
-
type: "pausableHook";
|
|
23698
|
-
} | {
|
|
23699
|
-
owner: string;
|
|
23700
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23701
|
-
type: "opStackHook";
|
|
23702
|
-
nativeBridge: string;
|
|
23703
|
-
destinationChain: string;
|
|
23704
|
-
} | {
|
|
23705
|
-
type: "defaultHook";
|
|
23706
|
-
} | {
|
|
23707
|
-
type: "ccipHook";
|
|
23708
|
-
destinationChain: string;
|
|
23709
|
-
} | {
|
|
23710
|
-
type: "cctpHook";
|
|
23711
|
-
address: string;
|
|
23712
|
-
} | {
|
|
23713
|
-
owner: string;
|
|
23714
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
23715
|
-
type: "rateLimitedHook";
|
|
23716
|
-
maxCapacity: string;
|
|
23717
|
-
duration: bigint;
|
|
23718
|
-
} | {
|
|
23719
|
-
type: "predicateHook";
|
|
23720
|
-
address: string;
|
|
23721
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
23722
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
23723
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
21744
|
+
hook?: HookConfig | undefined;
|
|
23724
21745
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
23725
21746
|
foreignDeployment?: string | undefined;
|
|
23726
21747
|
remoteRouters?: Record<string | number, {
|
|
@@ -24199,71 +22220,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
24199
22220
|
proposer: string;
|
|
24200
22221
|
};
|
|
24201
22222
|
} | undefined;
|
|
24202
|
-
hook?:
|
|
24203
|
-
type: "merkleTreeHook";
|
|
24204
|
-
} | {
|
|
24205
|
-
owner: string;
|
|
24206
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
24207
|
-
type: "interchainGasPaymaster";
|
|
24208
|
-
beneficiary: string;
|
|
24209
|
-
oracleKey: string;
|
|
24210
|
-
overhead: Record<string, number>;
|
|
24211
|
-
oracleConfig: Record<string, {
|
|
24212
|
-
gasPrice: string;
|
|
24213
|
-
tokenExchangeRate: string;
|
|
24214
|
-
tokenDecimals?: number | undefined;
|
|
24215
|
-
typicalCost?: {
|
|
24216
|
-
handleGasAmount: number;
|
|
24217
|
-
totalGasAmount: number;
|
|
24218
|
-
totalUsdCost: number;
|
|
24219
|
-
} | undefined;
|
|
24220
|
-
}>;
|
|
24221
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
24222
|
-
quoteSigners?: string[] | undefined;
|
|
24223
|
-
contractVersion?: string | undefined;
|
|
24224
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
24225
|
-
gasPrice: string;
|
|
24226
|
-
tokenExchangeRate: string;
|
|
24227
|
-
tokenDecimals?: number | undefined;
|
|
24228
|
-
}>> | undefined;
|
|
24229
|
-
} | {
|
|
24230
|
-
owner: string;
|
|
24231
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
24232
|
-
type: "protocolFee";
|
|
24233
|
-
beneficiary: string;
|
|
24234
|
-
maxProtocolFee: string;
|
|
24235
|
-
protocolFee: string;
|
|
24236
|
-
} | {
|
|
24237
|
-
owner: string;
|
|
24238
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
24239
|
-
paused: boolean;
|
|
24240
|
-
type: "pausableHook";
|
|
24241
|
-
} | {
|
|
24242
|
-
owner: string;
|
|
24243
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
24244
|
-
type: "opStackHook";
|
|
24245
|
-
nativeBridge: string;
|
|
24246
|
-
destinationChain: string;
|
|
24247
|
-
} | {
|
|
24248
|
-
type: "defaultHook";
|
|
24249
|
-
} | {
|
|
24250
|
-
type: "ccipHook";
|
|
24251
|
-
destinationChain: string;
|
|
24252
|
-
} | {
|
|
24253
|
-
type: "cctpHook";
|
|
24254
|
-
address: string;
|
|
24255
|
-
} | {
|
|
24256
|
-
owner: string;
|
|
24257
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
24258
|
-
type: "rateLimitedHook";
|
|
24259
|
-
maxCapacity: string;
|
|
24260
|
-
duration: bigint;
|
|
24261
|
-
} | {
|
|
24262
|
-
type: "predicateHook";
|
|
24263
|
-
address: string;
|
|
24264
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
24265
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
24266
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
22223
|
+
hook?: HookConfig | undefined;
|
|
24267
22224
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
24268
22225
|
foreignDeployment?: string | undefined;
|
|
24269
22226
|
remoteRouters?: Record<string | number, {
|
|
@@ -26405,352 +24362,81 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
26405
24362
|
}[]> | undefined;
|
|
26406
24363
|
allowedRebalancers?: string[] | undefined;
|
|
26407
24364
|
predicateWrapper?: {
|
|
26408
|
-
predicateRegistry: string;
|
|
26409
|
-
policyId: string;
|
|
26410
|
-
owner: string;
|
|
26411
|
-
} | undefined;
|
|
26412
|
-
type: "ethEverclear";
|
|
26413
|
-
wethAddress: string;
|
|
26414
|
-
} | z.objectOutputType<{
|
|
26415
|
-
name: z.ZodOptional<z.ZodString>;
|
|
26416
|
-
symbol: z.ZodOptional<z.ZodString>;
|
|
26417
|
-
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
26418
|
-
scale: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
26419
|
-
numerator: z.ZodNumber;
|
|
26420
|
-
denominator: z.ZodNumber;
|
|
26421
|
-
}, "strip", z.ZodTypeAny, {
|
|
26422
|
-
numerator: number;
|
|
26423
|
-
denominator: number;
|
|
26424
|
-
}, {
|
|
26425
|
-
numerator: number;
|
|
26426
|
-
denominator: number;
|
|
26427
|
-
}>, z.ZodObject<{
|
|
26428
|
-
numerator: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
26429
|
-
denominator: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
26430
|
-
}, "strip", z.ZodTypeAny, {
|
|
26431
|
-
numerator: bigint;
|
|
26432
|
-
denominator: bigint;
|
|
26433
|
-
}, {
|
|
26434
|
-
numerator: string | number | bigint;
|
|
26435
|
-
denominator: string | number | bigint;
|
|
26436
|
-
}>]>>>;
|
|
26437
|
-
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
26438
|
-
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
26439
|
-
} & {
|
|
26440
|
-
type: z.ZodLiteral<"unknown">;
|
|
26441
|
-
predicateWrapper: z.ZodOptional<z.ZodObject<{
|
|
26442
|
-
predicateRegistry: z.ZodString;
|
|
26443
|
-
policyId: z.ZodString;
|
|
26444
|
-
owner: z.ZodString;
|
|
26445
|
-
}, "strip", z.ZodTypeAny, {
|
|
26446
|
-
predicateRegistry: string;
|
|
26447
|
-
policyId: string;
|
|
26448
|
-
owner: string;
|
|
26449
|
-
}, {
|
|
26450
|
-
predicateRegistry: string;
|
|
26451
|
-
policyId: string;
|
|
26452
|
-
owner: string;
|
|
26453
|
-
}>>;
|
|
26454
|
-
}, z.ZodTypeAny, "passthrough">, unknown>, z.ZodObject<{
|
|
26455
|
-
owner: z.ZodString;
|
|
26456
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26457
|
-
timelock: z.ZodOptional<z.ZodObject<{
|
|
26458
|
-
delay: z.ZodEffects<z.ZodNumber, number, number>;
|
|
26459
|
-
roles: z.ZodObject<{
|
|
26460
|
-
executor: z.ZodEffects<z.ZodString, string, string>;
|
|
26461
|
-
proposer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
26462
|
-
}, "strip", z.ZodTypeAny, {
|
|
26463
|
-
executor: string;
|
|
26464
|
-
proposer: string;
|
|
26465
|
-
}, {
|
|
26466
|
-
executor: string;
|
|
26467
|
-
proposer: string;
|
|
26468
|
-
}>;
|
|
26469
|
-
}, "strip", z.ZodTypeAny, {
|
|
26470
|
-
delay: number;
|
|
26471
|
-
roles: {
|
|
26472
|
-
executor: string;
|
|
26473
|
-
proposer: string;
|
|
26474
|
-
};
|
|
26475
|
-
}, {
|
|
26476
|
-
delay: number;
|
|
26477
|
-
roles: {
|
|
26478
|
-
executor: string;
|
|
26479
|
-
proposer: string;
|
|
26480
|
-
};
|
|
26481
|
-
}>>;
|
|
26482
|
-
hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
26483
|
-
owner: z.ZodString;
|
|
26484
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26485
|
-
} & {
|
|
26486
|
-
type: z.ZodLiteral<"protocolFee">;
|
|
26487
|
-
beneficiary: z.ZodString;
|
|
26488
|
-
maxProtocolFee: z.ZodString;
|
|
26489
|
-
protocolFee: z.ZodString;
|
|
26490
|
-
}, "strip", z.ZodTypeAny, {
|
|
26491
|
-
owner: string;
|
|
26492
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26493
|
-
type: "protocolFee";
|
|
26494
|
-
beneficiary: string;
|
|
26495
|
-
maxProtocolFee: string;
|
|
26496
|
-
protocolFee: string;
|
|
26497
|
-
}, {
|
|
26498
|
-
owner: string;
|
|
26499
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26500
|
-
type: "protocolFee";
|
|
26501
|
-
beneficiary: string;
|
|
26502
|
-
maxProtocolFee: string;
|
|
26503
|
-
protocolFee: string;
|
|
26504
|
-
}>, z.ZodObject<{
|
|
26505
|
-
owner: z.ZodString;
|
|
26506
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26507
|
-
} & {
|
|
26508
|
-
paused: z.ZodBoolean;
|
|
26509
|
-
} & {
|
|
26510
|
-
type: z.ZodLiteral<"pausableHook">;
|
|
26511
|
-
}, "strip", z.ZodTypeAny, {
|
|
26512
|
-
owner: string;
|
|
26513
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26514
|
-
paused: boolean;
|
|
26515
|
-
type: "pausableHook";
|
|
26516
|
-
}, {
|
|
26517
|
-
owner: string;
|
|
26518
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26519
|
-
paused: boolean;
|
|
26520
|
-
type: "pausableHook";
|
|
26521
|
-
}>, z.ZodObject<{
|
|
26522
|
-
owner: z.ZodString;
|
|
26523
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26524
|
-
} & {
|
|
26525
|
-
type: z.ZodLiteral<"opStackHook">;
|
|
26526
|
-
nativeBridge: z.ZodString;
|
|
26527
|
-
destinationChain: z.ZodString;
|
|
26528
|
-
}, "strip", z.ZodTypeAny, {
|
|
26529
|
-
owner: string;
|
|
26530
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26531
|
-
type: "opStackHook";
|
|
26532
|
-
nativeBridge: string;
|
|
26533
|
-
destinationChain: string;
|
|
26534
|
-
}, {
|
|
26535
|
-
owner: string;
|
|
26536
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26537
|
-
type: "opStackHook";
|
|
26538
|
-
nativeBridge: string;
|
|
26539
|
-
destinationChain: string;
|
|
26540
|
-
}>, z.ZodObject<{
|
|
26541
|
-
type: z.ZodLiteral<"merkleTreeHook">;
|
|
26542
|
-
}, "strip", z.ZodTypeAny, {
|
|
26543
|
-
type: "merkleTreeHook";
|
|
26544
|
-
}, {
|
|
26545
|
-
type: "merkleTreeHook";
|
|
26546
|
-
}>, z.ZodObject<{
|
|
26547
|
-
owner: z.ZodString;
|
|
26548
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26549
|
-
} & {
|
|
26550
|
-
type: z.ZodLiteral<"interchainGasPaymaster">;
|
|
26551
|
-
beneficiary: z.ZodString;
|
|
26552
|
-
oracleKey: z.ZodString;
|
|
26553
|
-
overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
26554
|
-
oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
26555
|
-
gasPrice: z.ZodString;
|
|
26556
|
-
tokenExchangeRate: z.ZodString;
|
|
26557
|
-
} & {
|
|
26558
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
26559
|
-
} & {
|
|
26560
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
26561
|
-
handleGasAmount: z.ZodNumber;
|
|
26562
|
-
totalGasAmount: z.ZodNumber;
|
|
26563
|
-
totalUsdCost: z.ZodNumber;
|
|
26564
|
-
}, "strip", z.ZodTypeAny, {
|
|
26565
|
-
handleGasAmount: number;
|
|
26566
|
-
totalGasAmount: number;
|
|
26567
|
-
totalUsdCost: number;
|
|
26568
|
-
}, {
|
|
26569
|
-
handleGasAmount: number;
|
|
26570
|
-
totalGasAmount: number;
|
|
26571
|
-
totalUsdCost: number;
|
|
26572
|
-
}>>;
|
|
26573
|
-
}, "strip", z.ZodTypeAny, {
|
|
26574
|
-
gasPrice: string;
|
|
26575
|
-
tokenExchangeRate: string;
|
|
26576
|
-
tokenDecimals?: number | undefined;
|
|
26577
|
-
typicalCost?: {
|
|
26578
|
-
handleGasAmount: number;
|
|
26579
|
-
totalGasAmount: number;
|
|
26580
|
-
totalUsdCost: number;
|
|
26581
|
-
} | undefined;
|
|
26582
|
-
}, {
|
|
26583
|
-
gasPrice: string;
|
|
26584
|
-
tokenExchangeRate: string;
|
|
26585
|
-
tokenDecimals?: number | undefined;
|
|
26586
|
-
typicalCost?: {
|
|
26587
|
-
handleGasAmount: number;
|
|
26588
|
-
totalGasAmount: number;
|
|
26589
|
-
totalUsdCost: number;
|
|
26590
|
-
} | undefined;
|
|
26591
|
-
}>>;
|
|
26592
|
-
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
|
|
26593
|
-
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
26594
|
-
contractVersion: z.ZodOptional<z.ZodString>;
|
|
26595
|
-
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
26596
|
-
gasPrice: z.ZodString;
|
|
26597
|
-
tokenExchangeRate: z.ZodString;
|
|
26598
|
-
} & {
|
|
26599
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
26600
|
-
}, "strip", z.ZodTypeAny, {
|
|
26601
|
-
gasPrice: string;
|
|
26602
|
-
tokenExchangeRate: string;
|
|
26603
|
-
tokenDecimals?: number | undefined;
|
|
26604
|
-
}, {
|
|
26605
|
-
gasPrice: string;
|
|
26606
|
-
tokenExchangeRate: string;
|
|
26607
|
-
tokenDecimals?: number | undefined;
|
|
26608
|
-
}>>>>;
|
|
26609
|
-
}, "strip", z.ZodTypeAny, {
|
|
26610
|
-
owner: string;
|
|
26611
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26612
|
-
type: "interchainGasPaymaster";
|
|
26613
|
-
beneficiary: string;
|
|
26614
|
-
oracleKey: string;
|
|
26615
|
-
overhead: Record<string, number>;
|
|
26616
|
-
oracleConfig: Record<string, {
|
|
26617
|
-
gasPrice: string;
|
|
26618
|
-
tokenExchangeRate: string;
|
|
26619
|
-
tokenDecimals?: number | undefined;
|
|
26620
|
-
typicalCost?: {
|
|
26621
|
-
handleGasAmount: number;
|
|
26622
|
-
totalGasAmount: number;
|
|
26623
|
-
totalUsdCost: number;
|
|
26624
|
-
} | undefined;
|
|
26625
|
-
}>;
|
|
26626
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
26627
|
-
quoteSigners?: string[] | undefined;
|
|
26628
|
-
contractVersion?: string | undefined;
|
|
26629
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
26630
|
-
gasPrice: string;
|
|
26631
|
-
tokenExchangeRate: string;
|
|
26632
|
-
tokenDecimals?: number | undefined;
|
|
26633
|
-
}>> | undefined;
|
|
26634
|
-
}, {
|
|
24365
|
+
predicateRegistry: string;
|
|
24366
|
+
policyId: string;
|
|
26635
24367
|
owner: string;
|
|
26636
|
-
|
|
26637
|
-
|
|
26638
|
-
|
|
26639
|
-
|
|
26640
|
-
|
|
26641
|
-
|
|
26642
|
-
|
|
26643
|
-
|
|
26644
|
-
|
|
26645
|
-
|
|
26646
|
-
handleGasAmount: number;
|
|
26647
|
-
totalGasAmount: number;
|
|
26648
|
-
totalUsdCost: number;
|
|
26649
|
-
} | undefined;
|
|
26650
|
-
}>;
|
|
26651
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
26652
|
-
quoteSigners?: string[] | undefined;
|
|
26653
|
-
contractVersion?: string | undefined;
|
|
26654
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
26655
|
-
gasPrice: string;
|
|
26656
|
-
tokenExchangeRate: string;
|
|
26657
|
-
tokenDecimals?: number | undefined;
|
|
26658
|
-
}>> | undefined;
|
|
26659
|
-
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
|
|
26660
|
-
type: z.ZodLiteral<"defaultHook">;
|
|
26661
|
-
}, "strip", z.ZodTypeAny, {
|
|
26662
|
-
type: "defaultHook";
|
|
26663
|
-
}, {
|
|
26664
|
-
type: "defaultHook";
|
|
26665
|
-
}>, z.ZodObject<{
|
|
26666
|
-
type: z.ZodLiteral<"ccipHook">;
|
|
26667
|
-
destinationChain: z.ZodString;
|
|
24368
|
+
} | undefined;
|
|
24369
|
+
type: "ethEverclear";
|
|
24370
|
+
wethAddress: string;
|
|
24371
|
+
} | z.objectOutputType<{
|
|
24372
|
+
name: z.ZodOptional<z.ZodString>;
|
|
24373
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
24374
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
24375
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
24376
|
+
numerator: z.ZodNumber;
|
|
24377
|
+
denominator: z.ZodNumber;
|
|
26668
24378
|
}, "strip", z.ZodTypeAny, {
|
|
26669
|
-
|
|
26670
|
-
|
|
24379
|
+
numerator: number;
|
|
24380
|
+
denominator: number;
|
|
26671
24381
|
}, {
|
|
26672
|
-
|
|
26673
|
-
|
|
24382
|
+
numerator: number;
|
|
24383
|
+
denominator: number;
|
|
26674
24384
|
}>, z.ZodObject<{
|
|
26675
|
-
|
|
26676
|
-
|
|
24385
|
+
numerator: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
24386
|
+
denominator: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>, bigint, string | number | bigint>;
|
|
26677
24387
|
}, "strip", z.ZodTypeAny, {
|
|
26678
|
-
|
|
26679
|
-
|
|
24388
|
+
numerator: bigint;
|
|
24389
|
+
denominator: bigint;
|
|
26680
24390
|
}, {
|
|
26681
|
-
|
|
26682
|
-
|
|
26683
|
-
}
|
|
24391
|
+
numerator: string | number | bigint;
|
|
24392
|
+
denominator: string | number | bigint;
|
|
24393
|
+
}>]>>>;
|
|
24394
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
24395
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
24396
|
+
} & {
|
|
24397
|
+
type: z.ZodLiteral<"unknown">;
|
|
24398
|
+
predicateWrapper: z.ZodOptional<z.ZodObject<{
|
|
24399
|
+
predicateRegistry: z.ZodString;
|
|
24400
|
+
policyId: z.ZodString;
|
|
26684
24401
|
owner: z.ZodString;
|
|
26685
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26686
|
-
} & {
|
|
26687
|
-
type: z.ZodLiteral<"rateLimitedHook">;
|
|
26688
|
-
maxCapacity: z.ZodString;
|
|
26689
|
-
duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
26690
24402
|
}, "strip", z.ZodTypeAny, {
|
|
24403
|
+
predicateRegistry: string;
|
|
24404
|
+
policyId: string;
|
|
26691
24405
|
owner: string;
|
|
26692
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26693
|
-
type: "rateLimitedHook";
|
|
26694
|
-
maxCapacity: string;
|
|
26695
|
-
duration: bigint;
|
|
26696
|
-
}, {
|
|
26697
|
-
owner: string;
|
|
26698
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26699
|
-
type: "rateLimitedHook";
|
|
26700
|
-
maxCapacity: string;
|
|
26701
|
-
duration?: string | number | bigint | undefined;
|
|
26702
|
-
}>, {
|
|
26703
|
-
owner: string;
|
|
26704
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26705
|
-
type: "rateLimitedHook";
|
|
26706
|
-
maxCapacity: string;
|
|
26707
|
-
duration: bigint;
|
|
26708
|
-
}, {
|
|
26709
|
-
owner: string;
|
|
26710
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26711
|
-
type: "rateLimitedHook";
|
|
26712
|
-
maxCapacity: string;
|
|
26713
|
-
duration?: string | number | bigint | undefined;
|
|
26714
|
-
}>, {
|
|
26715
|
-
owner: string;
|
|
26716
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26717
|
-
type: "rateLimitedHook";
|
|
26718
|
-
maxCapacity: string;
|
|
26719
|
-
duration: bigint;
|
|
26720
|
-
}, {
|
|
26721
|
-
owner: string;
|
|
26722
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26723
|
-
type: "rateLimitedHook";
|
|
26724
|
-
maxCapacity: string;
|
|
26725
|
-
duration?: string | number | bigint | undefined;
|
|
26726
|
-
}>, {
|
|
26727
|
-
owner: string;
|
|
26728
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
26729
|
-
type: "rateLimitedHook";
|
|
26730
|
-
maxCapacity: string;
|
|
26731
|
-
duration: bigint;
|
|
26732
24406
|
}, {
|
|
24407
|
+
predicateRegistry: string;
|
|
24408
|
+
policyId: string;
|
|
26733
24409
|
owner: string;
|
|
26734
|
-
|
|
26735
|
-
|
|
26736
|
-
|
|
26737
|
-
|
|
26738
|
-
|
|
26739
|
-
|
|
26740
|
-
|
|
26741
|
-
|
|
26742
|
-
|
|
26743
|
-
|
|
26744
|
-
|
|
26745
|
-
|
|
26746
|
-
|
|
24410
|
+
}>>;
|
|
24411
|
+
}, z.ZodTypeAny, "passthrough">, unknown>, z.ZodObject<{
|
|
24412
|
+
owner: z.ZodString;
|
|
24413
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
24414
|
+
timelock: z.ZodOptional<z.ZodObject<{
|
|
24415
|
+
delay: z.ZodEffects<z.ZodNumber, number, number>;
|
|
24416
|
+
roles: z.ZodObject<{
|
|
24417
|
+
executor: z.ZodEffects<z.ZodString, string, string>;
|
|
24418
|
+
proposer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
24419
|
+
}, "strip", z.ZodTypeAny, {
|
|
24420
|
+
executor: string;
|
|
24421
|
+
proposer: string;
|
|
24422
|
+
}, {
|
|
24423
|
+
executor: string;
|
|
24424
|
+
proposer: string;
|
|
24425
|
+
}>;
|
|
26747
24426
|
}, "strip", z.ZodTypeAny, {
|
|
26748
|
-
|
|
26749
|
-
|
|
24427
|
+
delay: number;
|
|
24428
|
+
roles: {
|
|
24429
|
+
executor: string;
|
|
24430
|
+
proposer: string;
|
|
24431
|
+
};
|
|
26750
24432
|
}, {
|
|
26751
|
-
|
|
26752
|
-
|
|
26753
|
-
|
|
24433
|
+
delay: number;
|
|
24434
|
+
roles: {
|
|
24435
|
+
executor: string;
|
|
24436
|
+
proposer: string;
|
|
24437
|
+
};
|
|
24438
|
+
}>>;
|
|
24439
|
+
hook: z.ZodOptional<z.ZodType<HookConfig, z.ZodTypeDef, unknown>>;
|
|
26754
24440
|
interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, z.ZodTypeDef, unknown>>;
|
|
26755
24441
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
26756
24442
|
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
|
|
@@ -27012,71 +24698,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27012
24698
|
proposer: string;
|
|
27013
24699
|
};
|
|
27014
24700
|
} | undefined;
|
|
27015
|
-
hook?:
|
|
27016
|
-
type: "merkleTreeHook";
|
|
27017
|
-
} | {
|
|
27018
|
-
owner: string;
|
|
27019
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27020
|
-
type: "interchainGasPaymaster";
|
|
27021
|
-
beneficiary: string;
|
|
27022
|
-
oracleKey: string;
|
|
27023
|
-
overhead: Record<string, number>;
|
|
27024
|
-
oracleConfig: Record<string, {
|
|
27025
|
-
gasPrice: string;
|
|
27026
|
-
tokenExchangeRate: string;
|
|
27027
|
-
tokenDecimals?: number | undefined;
|
|
27028
|
-
typicalCost?: {
|
|
27029
|
-
handleGasAmount: number;
|
|
27030
|
-
totalGasAmount: number;
|
|
27031
|
-
totalUsdCost: number;
|
|
27032
|
-
} | undefined;
|
|
27033
|
-
}>;
|
|
27034
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
27035
|
-
quoteSigners?: string[] | undefined;
|
|
27036
|
-
contractVersion?: string | undefined;
|
|
27037
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
27038
|
-
gasPrice: string;
|
|
27039
|
-
tokenExchangeRate: string;
|
|
27040
|
-
tokenDecimals?: number | undefined;
|
|
27041
|
-
}>> | undefined;
|
|
27042
|
-
} | {
|
|
27043
|
-
owner: string;
|
|
27044
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27045
|
-
type: "protocolFee";
|
|
27046
|
-
beneficiary: string;
|
|
27047
|
-
maxProtocolFee: string;
|
|
27048
|
-
protocolFee: string;
|
|
27049
|
-
} | {
|
|
27050
|
-
owner: string;
|
|
27051
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27052
|
-
paused: boolean;
|
|
27053
|
-
type: "pausableHook";
|
|
27054
|
-
} | {
|
|
27055
|
-
owner: string;
|
|
27056
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27057
|
-
type: "opStackHook";
|
|
27058
|
-
nativeBridge: string;
|
|
27059
|
-
destinationChain: string;
|
|
27060
|
-
} | {
|
|
27061
|
-
type: "defaultHook";
|
|
27062
|
-
} | {
|
|
27063
|
-
type: "ccipHook";
|
|
27064
|
-
destinationChain: string;
|
|
27065
|
-
} | {
|
|
27066
|
-
type: "cctpHook";
|
|
27067
|
-
address: string;
|
|
27068
|
-
} | {
|
|
27069
|
-
owner: string;
|
|
27070
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27071
|
-
type: "rateLimitedHook";
|
|
27072
|
-
maxCapacity: string;
|
|
27073
|
-
duration: bigint;
|
|
27074
|
-
} | {
|
|
27075
|
-
type: "predicateHook";
|
|
27076
|
-
address: string;
|
|
27077
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
27078
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
27079
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
24701
|
+
hook?: HookConfig | undefined;
|
|
27080
24702
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
27081
24703
|
foreignDeployment?: string | undefined;
|
|
27082
24704
|
remoteRouters?: Record<string | number, {
|
|
@@ -27624,71 +25246,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
27624
25246
|
proposer: string;
|
|
27625
25247
|
};
|
|
27626
25248
|
} | undefined;
|
|
27627
|
-
hook?:
|
|
27628
|
-
type: "merkleTreeHook";
|
|
27629
|
-
} | {
|
|
27630
|
-
owner: string;
|
|
27631
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27632
|
-
type: "interchainGasPaymaster";
|
|
27633
|
-
beneficiary: string;
|
|
27634
|
-
oracleKey: string;
|
|
27635
|
-
overhead: Record<string, number>;
|
|
27636
|
-
oracleConfig: Record<string, {
|
|
27637
|
-
gasPrice: string;
|
|
27638
|
-
tokenExchangeRate: string;
|
|
27639
|
-
tokenDecimals?: number | undefined;
|
|
27640
|
-
typicalCost?: {
|
|
27641
|
-
handleGasAmount: number;
|
|
27642
|
-
totalGasAmount: number;
|
|
27643
|
-
totalUsdCost: number;
|
|
27644
|
-
} | undefined;
|
|
27645
|
-
}>;
|
|
27646
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
27647
|
-
quoteSigners?: string[] | undefined;
|
|
27648
|
-
contractVersion?: string | undefined;
|
|
27649
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
27650
|
-
gasPrice: string;
|
|
27651
|
-
tokenExchangeRate: string;
|
|
27652
|
-
tokenDecimals?: number | undefined;
|
|
27653
|
-
}>> | undefined;
|
|
27654
|
-
} | {
|
|
27655
|
-
owner: string;
|
|
27656
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27657
|
-
type: "protocolFee";
|
|
27658
|
-
beneficiary: string;
|
|
27659
|
-
maxProtocolFee: string;
|
|
27660
|
-
protocolFee: string;
|
|
27661
|
-
} | {
|
|
27662
|
-
owner: string;
|
|
27663
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27664
|
-
paused: boolean;
|
|
27665
|
-
type: "pausableHook";
|
|
27666
|
-
} | {
|
|
27667
|
-
owner: string;
|
|
27668
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27669
|
-
type: "opStackHook";
|
|
27670
|
-
nativeBridge: string;
|
|
27671
|
-
destinationChain: string;
|
|
27672
|
-
} | {
|
|
27673
|
-
type: "defaultHook";
|
|
27674
|
-
} | {
|
|
27675
|
-
type: "ccipHook";
|
|
27676
|
-
destinationChain: string;
|
|
27677
|
-
} | {
|
|
27678
|
-
type: "cctpHook";
|
|
27679
|
-
address: string;
|
|
27680
|
-
} | {
|
|
27681
|
-
owner: string;
|
|
27682
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
27683
|
-
type: "rateLimitedHook";
|
|
27684
|
-
maxCapacity: string;
|
|
27685
|
-
duration: bigint;
|
|
27686
|
-
} | {
|
|
27687
|
-
type: "predicateHook";
|
|
27688
|
-
address: string;
|
|
27689
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
27690
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
27691
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25249
|
+
hook?: HookConfig | undefined;
|
|
27692
25250
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
27693
25251
|
foreignDeployment?: string | undefined;
|
|
27694
25252
|
remoteRouters?: Record<string | number, {
|
|
@@ -28233,71 +25791,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
28233
25791
|
proposer: string;
|
|
28234
25792
|
};
|
|
28235
25793
|
} | undefined;
|
|
28236
|
-
hook?:
|
|
28237
|
-
type: "merkleTreeHook";
|
|
28238
|
-
} | {
|
|
28239
|
-
owner: string;
|
|
28240
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28241
|
-
type: "interchainGasPaymaster";
|
|
28242
|
-
beneficiary: string;
|
|
28243
|
-
oracleKey: string;
|
|
28244
|
-
overhead: Record<string, number>;
|
|
28245
|
-
oracleConfig: Record<string, {
|
|
28246
|
-
gasPrice: string;
|
|
28247
|
-
tokenExchangeRate: string;
|
|
28248
|
-
tokenDecimals?: number | undefined;
|
|
28249
|
-
typicalCost?: {
|
|
28250
|
-
handleGasAmount: number;
|
|
28251
|
-
totalGasAmount: number;
|
|
28252
|
-
totalUsdCost: number;
|
|
28253
|
-
} | undefined;
|
|
28254
|
-
}>;
|
|
28255
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
28256
|
-
quoteSigners?: string[] | undefined;
|
|
28257
|
-
contractVersion?: string | undefined;
|
|
28258
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
28259
|
-
gasPrice: string;
|
|
28260
|
-
tokenExchangeRate: string;
|
|
28261
|
-
tokenDecimals?: number | undefined;
|
|
28262
|
-
}>> | undefined;
|
|
28263
|
-
} | {
|
|
28264
|
-
owner: string;
|
|
28265
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28266
|
-
type: "protocolFee";
|
|
28267
|
-
beneficiary: string;
|
|
28268
|
-
maxProtocolFee: string;
|
|
28269
|
-
protocolFee: string;
|
|
28270
|
-
} | {
|
|
28271
|
-
owner: string;
|
|
28272
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28273
|
-
paused: boolean;
|
|
28274
|
-
type: "pausableHook";
|
|
28275
|
-
} | {
|
|
28276
|
-
owner: string;
|
|
28277
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28278
|
-
type: "opStackHook";
|
|
28279
|
-
nativeBridge: string;
|
|
28280
|
-
destinationChain: string;
|
|
28281
|
-
} | {
|
|
28282
|
-
type: "defaultHook";
|
|
28283
|
-
} | {
|
|
28284
|
-
type: "ccipHook";
|
|
28285
|
-
destinationChain: string;
|
|
28286
|
-
} | {
|
|
28287
|
-
type: "cctpHook";
|
|
28288
|
-
address: string;
|
|
28289
|
-
} | {
|
|
28290
|
-
owner: string;
|
|
28291
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28292
|
-
type: "rateLimitedHook";
|
|
28293
|
-
maxCapacity: string;
|
|
28294
|
-
duration: bigint;
|
|
28295
|
-
} | {
|
|
28296
|
-
type: "predicateHook";
|
|
28297
|
-
address: string;
|
|
28298
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
28299
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
28300
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25794
|
+
hook?: HookConfig | undefined;
|
|
28301
25795
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
28302
25796
|
foreignDeployment?: string | undefined;
|
|
28303
25797
|
remoteRouters?: Record<string | number, {
|
|
@@ -28776,71 +26270,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
28776
26270
|
proposer: string;
|
|
28777
26271
|
};
|
|
28778
26272
|
} | undefined;
|
|
28779
|
-
hook?:
|
|
28780
|
-
type: "merkleTreeHook";
|
|
28781
|
-
} | {
|
|
28782
|
-
owner: string;
|
|
28783
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28784
|
-
type: "interchainGasPaymaster";
|
|
28785
|
-
beneficiary: string;
|
|
28786
|
-
oracleKey: string;
|
|
28787
|
-
overhead: Record<string, number>;
|
|
28788
|
-
oracleConfig: Record<string, {
|
|
28789
|
-
gasPrice: string;
|
|
28790
|
-
tokenExchangeRate: string;
|
|
28791
|
-
tokenDecimals?: number | undefined;
|
|
28792
|
-
typicalCost?: {
|
|
28793
|
-
handleGasAmount: number;
|
|
28794
|
-
totalGasAmount: number;
|
|
28795
|
-
totalUsdCost: number;
|
|
28796
|
-
} | undefined;
|
|
28797
|
-
}>;
|
|
28798
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
28799
|
-
quoteSigners?: string[] | undefined;
|
|
28800
|
-
contractVersion?: string | undefined;
|
|
28801
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
28802
|
-
gasPrice: string;
|
|
28803
|
-
tokenExchangeRate: string;
|
|
28804
|
-
tokenDecimals?: number | undefined;
|
|
28805
|
-
}>> | undefined;
|
|
28806
|
-
} | {
|
|
28807
|
-
owner: string;
|
|
28808
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28809
|
-
type: "protocolFee";
|
|
28810
|
-
beneficiary: string;
|
|
28811
|
-
maxProtocolFee: string;
|
|
28812
|
-
protocolFee: string;
|
|
28813
|
-
} | {
|
|
28814
|
-
owner: string;
|
|
28815
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28816
|
-
paused: boolean;
|
|
28817
|
-
type: "pausableHook";
|
|
28818
|
-
} | {
|
|
28819
|
-
owner: string;
|
|
28820
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28821
|
-
type: "opStackHook";
|
|
28822
|
-
nativeBridge: string;
|
|
28823
|
-
destinationChain: string;
|
|
28824
|
-
} | {
|
|
28825
|
-
type: "defaultHook";
|
|
28826
|
-
} | {
|
|
28827
|
-
type: "ccipHook";
|
|
28828
|
-
destinationChain: string;
|
|
28829
|
-
} | {
|
|
28830
|
-
type: "cctpHook";
|
|
28831
|
-
address: string;
|
|
28832
|
-
} | {
|
|
28833
|
-
owner: string;
|
|
28834
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
28835
|
-
type: "rateLimitedHook";
|
|
28836
|
-
maxCapacity: string;
|
|
28837
|
-
duration: bigint;
|
|
28838
|
-
} | {
|
|
28839
|
-
type: "predicateHook";
|
|
28840
|
-
address: string;
|
|
28841
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
28842
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
28843
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
26273
|
+
hook?: HookConfig | undefined;
|
|
28844
26274
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
28845
26275
|
foreignDeployment?: string | undefined;
|
|
28846
26276
|
remoteRouters?: Record<string | number, {
|
|
@@ -29319,71 +26749,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
29319
26749
|
proposer: string;
|
|
29320
26750
|
};
|
|
29321
26751
|
} | undefined;
|
|
29322
|
-
hook?:
|
|
29323
|
-
type: "merkleTreeHook";
|
|
29324
|
-
} | {
|
|
29325
|
-
owner: string;
|
|
29326
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29327
|
-
type: "interchainGasPaymaster";
|
|
29328
|
-
beneficiary: string;
|
|
29329
|
-
oracleKey: string;
|
|
29330
|
-
overhead: Record<string, number>;
|
|
29331
|
-
oracleConfig: Record<string, {
|
|
29332
|
-
gasPrice: string;
|
|
29333
|
-
tokenExchangeRate: string;
|
|
29334
|
-
tokenDecimals?: number | undefined;
|
|
29335
|
-
typicalCost?: {
|
|
29336
|
-
handleGasAmount: number;
|
|
29337
|
-
totalGasAmount: number;
|
|
29338
|
-
totalUsdCost: number;
|
|
29339
|
-
} | undefined;
|
|
29340
|
-
}>;
|
|
29341
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
29342
|
-
quoteSigners?: string[] | undefined;
|
|
29343
|
-
contractVersion?: string | undefined;
|
|
29344
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
29345
|
-
gasPrice: string;
|
|
29346
|
-
tokenExchangeRate: string;
|
|
29347
|
-
tokenDecimals?: number | undefined;
|
|
29348
|
-
}>> | undefined;
|
|
29349
|
-
} | {
|
|
29350
|
-
owner: string;
|
|
29351
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29352
|
-
type: "protocolFee";
|
|
29353
|
-
beneficiary: string;
|
|
29354
|
-
maxProtocolFee: string;
|
|
29355
|
-
protocolFee: string;
|
|
29356
|
-
} | {
|
|
29357
|
-
owner: string;
|
|
29358
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29359
|
-
paused: boolean;
|
|
29360
|
-
type: "pausableHook";
|
|
29361
|
-
} | {
|
|
29362
|
-
owner: string;
|
|
29363
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29364
|
-
type: "opStackHook";
|
|
29365
|
-
nativeBridge: string;
|
|
29366
|
-
destinationChain: string;
|
|
29367
|
-
} | {
|
|
29368
|
-
type: "defaultHook";
|
|
29369
|
-
} | {
|
|
29370
|
-
type: "ccipHook";
|
|
29371
|
-
destinationChain: string;
|
|
29372
|
-
} | {
|
|
29373
|
-
type: "cctpHook";
|
|
29374
|
-
address: string;
|
|
29375
|
-
} | {
|
|
29376
|
-
owner: string;
|
|
29377
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29378
|
-
type: "rateLimitedHook";
|
|
29379
|
-
maxCapacity: string;
|
|
29380
|
-
duration: bigint;
|
|
29381
|
-
} | {
|
|
29382
|
-
type: "predicateHook";
|
|
29383
|
-
address: string;
|
|
29384
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
29385
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
29386
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
26752
|
+
hook?: HookConfig | undefined;
|
|
29387
26753
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
29388
26754
|
foreignDeployment?: string | undefined;
|
|
29389
26755
|
remoteRouters?: Record<string | number, {
|
|
@@ -29862,71 +27228,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
29862
27228
|
proposer: string;
|
|
29863
27229
|
};
|
|
29864
27230
|
} | undefined;
|
|
29865
|
-
hook?:
|
|
29866
|
-
type: "merkleTreeHook";
|
|
29867
|
-
} | {
|
|
29868
|
-
owner: string;
|
|
29869
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29870
|
-
type: "interchainGasPaymaster";
|
|
29871
|
-
beneficiary: string;
|
|
29872
|
-
oracleKey: string;
|
|
29873
|
-
overhead: Record<string, number>;
|
|
29874
|
-
oracleConfig: Record<string, {
|
|
29875
|
-
gasPrice: string;
|
|
29876
|
-
tokenExchangeRate: string;
|
|
29877
|
-
tokenDecimals?: number | undefined;
|
|
29878
|
-
typicalCost?: {
|
|
29879
|
-
handleGasAmount: number;
|
|
29880
|
-
totalGasAmount: number;
|
|
29881
|
-
totalUsdCost: number;
|
|
29882
|
-
} | undefined;
|
|
29883
|
-
}>;
|
|
29884
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
29885
|
-
quoteSigners?: string[] | undefined;
|
|
29886
|
-
contractVersion?: string | undefined;
|
|
29887
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
29888
|
-
gasPrice: string;
|
|
29889
|
-
tokenExchangeRate: string;
|
|
29890
|
-
tokenDecimals?: number | undefined;
|
|
29891
|
-
}>> | undefined;
|
|
29892
|
-
} | {
|
|
29893
|
-
owner: string;
|
|
29894
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29895
|
-
type: "protocolFee";
|
|
29896
|
-
beneficiary: string;
|
|
29897
|
-
maxProtocolFee: string;
|
|
29898
|
-
protocolFee: string;
|
|
29899
|
-
} | {
|
|
29900
|
-
owner: string;
|
|
29901
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29902
|
-
paused: boolean;
|
|
29903
|
-
type: "pausableHook";
|
|
29904
|
-
} | {
|
|
29905
|
-
owner: string;
|
|
29906
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29907
|
-
type: "opStackHook";
|
|
29908
|
-
nativeBridge: string;
|
|
29909
|
-
destinationChain: string;
|
|
29910
|
-
} | {
|
|
29911
|
-
type: "defaultHook";
|
|
29912
|
-
} | {
|
|
29913
|
-
type: "ccipHook";
|
|
29914
|
-
destinationChain: string;
|
|
29915
|
-
} | {
|
|
29916
|
-
type: "cctpHook";
|
|
29917
|
-
address: string;
|
|
29918
|
-
} | {
|
|
29919
|
-
owner: string;
|
|
29920
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
29921
|
-
type: "rateLimitedHook";
|
|
29922
|
-
maxCapacity: string;
|
|
29923
|
-
duration: bigint;
|
|
29924
|
-
} | {
|
|
29925
|
-
type: "predicateHook";
|
|
29926
|
-
address: string;
|
|
29927
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
29928
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
29929
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
27231
|
+
hook?: HookConfig | undefined;
|
|
29930
27232
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
29931
27233
|
foreignDeployment?: string | undefined;
|
|
29932
27234
|
remoteRouters?: Record<string | number, {
|
|
@@ -30405,71 +27707,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
30405
27707
|
proposer: string;
|
|
30406
27708
|
};
|
|
30407
27709
|
} | undefined;
|
|
30408
|
-
hook?:
|
|
30409
|
-
type: "merkleTreeHook";
|
|
30410
|
-
} | {
|
|
30411
|
-
owner: string;
|
|
30412
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
30413
|
-
type: "interchainGasPaymaster";
|
|
30414
|
-
beneficiary: string;
|
|
30415
|
-
oracleKey: string;
|
|
30416
|
-
overhead: Record<string, number>;
|
|
30417
|
-
oracleConfig: Record<string, {
|
|
30418
|
-
gasPrice: string;
|
|
30419
|
-
tokenExchangeRate: string;
|
|
30420
|
-
tokenDecimals?: number | undefined;
|
|
30421
|
-
typicalCost?: {
|
|
30422
|
-
handleGasAmount: number;
|
|
30423
|
-
totalGasAmount: number;
|
|
30424
|
-
totalUsdCost: number;
|
|
30425
|
-
} | undefined;
|
|
30426
|
-
}>;
|
|
30427
|
-
igpVersion?: import("../hook/types.js").IgpVersion | undefined;
|
|
30428
|
-
quoteSigners?: string[] | undefined;
|
|
30429
|
-
contractVersion?: string | undefined;
|
|
30430
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
30431
|
-
gasPrice: string;
|
|
30432
|
-
tokenExchangeRate: string;
|
|
30433
|
-
tokenDecimals?: number | undefined;
|
|
30434
|
-
}>> | undefined;
|
|
30435
|
-
} | {
|
|
30436
|
-
owner: string;
|
|
30437
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
30438
|
-
type: "protocolFee";
|
|
30439
|
-
beneficiary: string;
|
|
30440
|
-
maxProtocolFee: string;
|
|
30441
|
-
protocolFee: string;
|
|
30442
|
-
} | {
|
|
30443
|
-
owner: string;
|
|
30444
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
30445
|
-
paused: boolean;
|
|
30446
|
-
type: "pausableHook";
|
|
30447
|
-
} | {
|
|
30448
|
-
owner: string;
|
|
30449
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
30450
|
-
type: "opStackHook";
|
|
30451
|
-
nativeBridge: string;
|
|
30452
|
-
destinationChain: string;
|
|
30453
|
-
} | {
|
|
30454
|
-
type: "defaultHook";
|
|
30455
|
-
} | {
|
|
30456
|
-
type: "ccipHook";
|
|
30457
|
-
destinationChain: string;
|
|
30458
|
-
} | {
|
|
30459
|
-
type: "cctpHook";
|
|
30460
|
-
address: string;
|
|
30461
|
-
} | {
|
|
30462
|
-
owner: string;
|
|
30463
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
30464
|
-
type: "rateLimitedHook";
|
|
30465
|
-
maxCapacity: string;
|
|
30466
|
-
duration: bigint;
|
|
30467
|
-
} | {
|
|
30468
|
-
type: "predicateHook";
|
|
30469
|
-
address: string;
|
|
30470
|
-
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
30471
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
30472
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
27710
|
+
hook?: HookConfig | undefined;
|
|
30473
27711
|
interchainSecurityModule?: IsmConfig | undefined;
|
|
30474
27712
|
foreignDeployment?: string | undefined;
|
|
30475
27713
|
remoteRouters?: Record<string | number, {
|