@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/ica/types.d.ts
CHANGED
|
@@ -25,278 +25,7 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
25
25
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
26
26
|
} & {
|
|
27
27
|
mailbox: z.ZodString;
|
|
28
|
-
hook: z.ZodOptional<z.
|
|
29
|
-
owner: z.ZodString;
|
|
30
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
31
|
-
} & {
|
|
32
|
-
type: z.ZodLiteral<"protocolFee">;
|
|
33
|
-
beneficiary: z.ZodString;
|
|
34
|
-
maxProtocolFee: z.ZodString;
|
|
35
|
-
protocolFee: z.ZodString;
|
|
36
|
-
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
owner: string;
|
|
38
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
39
|
-
type: "protocolFee";
|
|
40
|
-
beneficiary: string;
|
|
41
|
-
maxProtocolFee: string;
|
|
42
|
-
protocolFee: string;
|
|
43
|
-
}, {
|
|
44
|
-
owner: string;
|
|
45
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
46
|
-
type: "protocolFee";
|
|
47
|
-
beneficiary: string;
|
|
48
|
-
maxProtocolFee: string;
|
|
49
|
-
protocolFee: string;
|
|
50
|
-
}>, z.ZodObject<{
|
|
51
|
-
owner: z.ZodString;
|
|
52
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
53
|
-
} & {
|
|
54
|
-
paused: z.ZodBoolean;
|
|
55
|
-
} & {
|
|
56
|
-
type: z.ZodLiteral<"pausableHook">;
|
|
57
|
-
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
owner: string;
|
|
59
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
60
|
-
paused: boolean;
|
|
61
|
-
type: "pausableHook";
|
|
62
|
-
}, {
|
|
63
|
-
owner: string;
|
|
64
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
65
|
-
paused: boolean;
|
|
66
|
-
type: "pausableHook";
|
|
67
|
-
}>, z.ZodObject<{
|
|
68
|
-
owner: z.ZodString;
|
|
69
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
70
|
-
} & {
|
|
71
|
-
type: z.ZodLiteral<"opStackHook">;
|
|
72
|
-
nativeBridge: z.ZodString;
|
|
73
|
-
destinationChain: z.ZodString;
|
|
74
|
-
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
owner: string;
|
|
76
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
77
|
-
type: "opStackHook";
|
|
78
|
-
nativeBridge: string;
|
|
79
|
-
destinationChain: string;
|
|
80
|
-
}, {
|
|
81
|
-
owner: string;
|
|
82
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
83
|
-
type: "opStackHook";
|
|
84
|
-
nativeBridge: string;
|
|
85
|
-
destinationChain: string;
|
|
86
|
-
}>, z.ZodObject<{
|
|
87
|
-
type: z.ZodLiteral<"merkleTreeHook">;
|
|
88
|
-
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
type: "merkleTreeHook";
|
|
90
|
-
}, {
|
|
91
|
-
type: "merkleTreeHook";
|
|
92
|
-
}>, z.ZodObject<{
|
|
93
|
-
owner: z.ZodString;
|
|
94
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
95
|
-
} & {
|
|
96
|
-
type: z.ZodLiteral<"interchainGasPaymaster">;
|
|
97
|
-
beneficiary: z.ZodString;
|
|
98
|
-
oracleKey: z.ZodString;
|
|
99
|
-
overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
100
|
-
oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
101
|
-
gasPrice: z.ZodString;
|
|
102
|
-
tokenExchangeRate: z.ZodString;
|
|
103
|
-
} & {
|
|
104
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
105
|
-
} & {
|
|
106
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
107
|
-
handleGasAmount: z.ZodNumber;
|
|
108
|
-
totalGasAmount: z.ZodNumber;
|
|
109
|
-
totalUsdCost: z.ZodNumber;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
handleGasAmount: number;
|
|
112
|
-
totalGasAmount: number;
|
|
113
|
-
totalUsdCost: number;
|
|
114
|
-
}, {
|
|
115
|
-
handleGasAmount: number;
|
|
116
|
-
totalGasAmount: number;
|
|
117
|
-
totalUsdCost: number;
|
|
118
|
-
}>>;
|
|
119
|
-
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
gasPrice: string;
|
|
121
|
-
tokenExchangeRate: string;
|
|
122
|
-
tokenDecimals?: number | undefined;
|
|
123
|
-
typicalCost?: {
|
|
124
|
-
handleGasAmount: number;
|
|
125
|
-
totalGasAmount: number;
|
|
126
|
-
totalUsdCost: number;
|
|
127
|
-
} | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
gasPrice: string;
|
|
130
|
-
tokenExchangeRate: string;
|
|
131
|
-
tokenDecimals?: number | undefined;
|
|
132
|
-
typicalCost?: {
|
|
133
|
-
handleGasAmount: number;
|
|
134
|
-
totalGasAmount: number;
|
|
135
|
-
totalUsdCost: number;
|
|
136
|
-
} | undefined;
|
|
137
|
-
}>>;
|
|
138
|
-
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../index.js").IgpVersion>>;
|
|
139
|
-
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
140
|
-
contractVersion: z.ZodOptional<z.ZodString>;
|
|
141
|
-
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
142
|
-
gasPrice: z.ZodString;
|
|
143
|
-
tokenExchangeRate: z.ZodString;
|
|
144
|
-
} & {
|
|
145
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
146
|
-
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
gasPrice: string;
|
|
148
|
-
tokenExchangeRate: string;
|
|
149
|
-
tokenDecimals?: number | undefined;
|
|
150
|
-
}, {
|
|
151
|
-
gasPrice: string;
|
|
152
|
-
tokenExchangeRate: string;
|
|
153
|
-
tokenDecimals?: number | undefined;
|
|
154
|
-
}>>>>;
|
|
155
|
-
}, "strip", z.ZodTypeAny, {
|
|
156
|
-
owner: string;
|
|
157
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
158
|
-
type: "interchainGasPaymaster";
|
|
159
|
-
beneficiary: string;
|
|
160
|
-
oracleKey: string;
|
|
161
|
-
overhead: Record<string, number>;
|
|
162
|
-
oracleConfig: Record<string, {
|
|
163
|
-
gasPrice: string;
|
|
164
|
-
tokenExchangeRate: string;
|
|
165
|
-
tokenDecimals?: number | undefined;
|
|
166
|
-
typicalCost?: {
|
|
167
|
-
handleGasAmount: number;
|
|
168
|
-
totalGasAmount: number;
|
|
169
|
-
totalUsdCost: number;
|
|
170
|
-
} | undefined;
|
|
171
|
-
}>;
|
|
172
|
-
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
173
|
-
quoteSigners?: string[] | undefined;
|
|
174
|
-
contractVersion?: string | undefined;
|
|
175
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
176
|
-
gasPrice: string;
|
|
177
|
-
tokenExchangeRate: string;
|
|
178
|
-
tokenDecimals?: number | undefined;
|
|
179
|
-
}>> | undefined;
|
|
180
|
-
}, {
|
|
181
|
-
owner: string;
|
|
182
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
183
|
-
type: "interchainGasPaymaster";
|
|
184
|
-
beneficiary: string;
|
|
185
|
-
oracleKey: string;
|
|
186
|
-
overhead: Record<string, number>;
|
|
187
|
-
oracleConfig: Record<string, {
|
|
188
|
-
gasPrice: string;
|
|
189
|
-
tokenExchangeRate: string;
|
|
190
|
-
tokenDecimals?: number | undefined;
|
|
191
|
-
typicalCost?: {
|
|
192
|
-
handleGasAmount: number;
|
|
193
|
-
totalGasAmount: number;
|
|
194
|
-
totalUsdCost: number;
|
|
195
|
-
} | undefined;
|
|
196
|
-
}>;
|
|
197
|
-
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
198
|
-
quoteSigners?: string[] | undefined;
|
|
199
|
-
contractVersion?: string | undefined;
|
|
200
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
201
|
-
gasPrice: string;
|
|
202
|
-
tokenExchangeRate: string;
|
|
203
|
-
tokenDecimals?: number | undefined;
|
|
204
|
-
}>> | undefined;
|
|
205
|
-
}>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../index.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
|
|
206
|
-
type: z.ZodLiteral<"defaultHook">;
|
|
207
|
-
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
type: "defaultHook";
|
|
209
|
-
}, {
|
|
210
|
-
type: "defaultHook";
|
|
211
|
-
}>, z.ZodObject<{
|
|
212
|
-
type: z.ZodLiteral<"ccipHook">;
|
|
213
|
-
destinationChain: z.ZodString;
|
|
214
|
-
}, "strip", z.ZodTypeAny, {
|
|
215
|
-
type: "ccipHook";
|
|
216
|
-
destinationChain: string;
|
|
217
|
-
}, {
|
|
218
|
-
type: "ccipHook";
|
|
219
|
-
destinationChain: string;
|
|
220
|
-
}>, z.ZodObject<{
|
|
221
|
-
type: z.ZodLiteral<"cctpHook">;
|
|
222
|
-
address: z.ZodString;
|
|
223
|
-
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
type: "cctpHook";
|
|
225
|
-
address: string;
|
|
226
|
-
}, {
|
|
227
|
-
type: "cctpHook";
|
|
228
|
-
address: string;
|
|
229
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
230
|
-
owner: z.ZodString;
|
|
231
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
232
|
-
} & {
|
|
233
|
-
type: z.ZodLiteral<"rateLimitedHook">;
|
|
234
|
-
maxCapacity: z.ZodString;
|
|
235
|
-
duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
236
|
-
}, "strip", z.ZodTypeAny, {
|
|
237
|
-
owner: string;
|
|
238
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
239
|
-
type: "rateLimitedHook";
|
|
240
|
-
maxCapacity: string;
|
|
241
|
-
duration: bigint;
|
|
242
|
-
}, {
|
|
243
|
-
owner: string;
|
|
244
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
245
|
-
type: "rateLimitedHook";
|
|
246
|
-
maxCapacity: string;
|
|
247
|
-
duration?: string | number | bigint | undefined;
|
|
248
|
-
}>, {
|
|
249
|
-
owner: string;
|
|
250
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
251
|
-
type: "rateLimitedHook";
|
|
252
|
-
maxCapacity: string;
|
|
253
|
-
duration: bigint;
|
|
254
|
-
}, {
|
|
255
|
-
owner: string;
|
|
256
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
257
|
-
type: "rateLimitedHook";
|
|
258
|
-
maxCapacity: string;
|
|
259
|
-
duration?: string | number | bigint | undefined;
|
|
260
|
-
}>, {
|
|
261
|
-
owner: string;
|
|
262
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
263
|
-
type: "rateLimitedHook";
|
|
264
|
-
maxCapacity: string;
|
|
265
|
-
duration: bigint;
|
|
266
|
-
}, {
|
|
267
|
-
owner: string;
|
|
268
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
269
|
-
type: "rateLimitedHook";
|
|
270
|
-
maxCapacity: string;
|
|
271
|
-
duration?: string | number | bigint | undefined;
|
|
272
|
-
}>, {
|
|
273
|
-
owner: string;
|
|
274
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
275
|
-
type: "rateLimitedHook";
|
|
276
|
-
maxCapacity: string;
|
|
277
|
-
duration: bigint;
|
|
278
|
-
}, {
|
|
279
|
-
owner: string;
|
|
280
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
281
|
-
type: "rateLimitedHook";
|
|
282
|
-
maxCapacity: string;
|
|
283
|
-
duration?: string | number | bigint | undefined;
|
|
284
|
-
}>, z.ZodObject<{
|
|
285
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
286
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
287
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
288
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
289
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
290
|
-
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
291
|
-
type: z.ZodLiteral<"predicateHook">;
|
|
292
|
-
address: z.ZodString;
|
|
293
|
-
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
type: "predicateHook";
|
|
295
|
-
address: string;
|
|
296
|
-
}, {
|
|
297
|
-
type: "predicateHook";
|
|
298
|
-
address: string;
|
|
299
|
-
}>]>>;
|
|
28
|
+
hook: z.ZodOptional<z.ZodType<import("../index.js").HookConfig, z.ZodTypeDef, unknown>>;
|
|
300
29
|
interchainSecurityModule: z.ZodOptional<z.ZodType<import("../ism/types.js").IsmConfig, z.ZodTypeDef, unknown>>;
|
|
301
30
|
} & {
|
|
302
31
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
@@ -621,71 +350,7 @@ export declare const IcaRouterConfigSchema: z.ZodObject<{
|
|
|
621
350
|
};
|
|
622
351
|
} | undefined;
|
|
623
352
|
mailbox: string;
|
|
624
|
-
hook?:
|
|
625
|
-
owner: string;
|
|
626
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
627
|
-
type: "protocolFee";
|
|
628
|
-
beneficiary: string;
|
|
629
|
-
maxProtocolFee: string;
|
|
630
|
-
protocolFee: string;
|
|
631
|
-
} | {
|
|
632
|
-
owner: string;
|
|
633
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
634
|
-
paused: boolean;
|
|
635
|
-
type: "pausableHook";
|
|
636
|
-
} | {
|
|
637
|
-
owner: string;
|
|
638
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
639
|
-
type: "opStackHook";
|
|
640
|
-
nativeBridge: string;
|
|
641
|
-
destinationChain: string;
|
|
642
|
-
} | {
|
|
643
|
-
type: "merkleTreeHook";
|
|
644
|
-
} | {
|
|
645
|
-
owner: string;
|
|
646
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
647
|
-
type: "interchainGasPaymaster";
|
|
648
|
-
beneficiary: string;
|
|
649
|
-
oracleKey: string;
|
|
650
|
-
overhead: Record<string, number>;
|
|
651
|
-
oracleConfig: Record<string, {
|
|
652
|
-
gasPrice: string;
|
|
653
|
-
tokenExchangeRate: string;
|
|
654
|
-
tokenDecimals?: number | undefined;
|
|
655
|
-
typicalCost?: {
|
|
656
|
-
handleGasAmount: number;
|
|
657
|
-
totalGasAmount: number;
|
|
658
|
-
totalUsdCost: number;
|
|
659
|
-
} | undefined;
|
|
660
|
-
}>;
|
|
661
|
-
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
662
|
-
quoteSigners?: string[] | undefined;
|
|
663
|
-
contractVersion?: string | undefined;
|
|
664
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
665
|
-
gasPrice: string;
|
|
666
|
-
tokenExchangeRate: string;
|
|
667
|
-
tokenDecimals?: number | undefined;
|
|
668
|
-
}>> | undefined;
|
|
669
|
-
} | {
|
|
670
|
-
type: "defaultHook";
|
|
671
|
-
} | {
|
|
672
|
-
type: "ccipHook";
|
|
673
|
-
destinationChain: string;
|
|
674
|
-
} | {
|
|
675
|
-
type: "cctpHook";
|
|
676
|
-
address: string;
|
|
677
|
-
} | {
|
|
678
|
-
owner: string;
|
|
679
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
680
|
-
type: "rateLimitedHook";
|
|
681
|
-
maxCapacity: string;
|
|
682
|
-
duration: bigint;
|
|
683
|
-
} | {
|
|
684
|
-
type: "predicateHook";
|
|
685
|
-
address: string;
|
|
686
|
-
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
687
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
688
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
353
|
+
hook?: import("../index.js").HookConfig | undefined;
|
|
689
354
|
interchainSecurityModule?: import("../ism/types.js").IsmConfig | undefined;
|
|
690
355
|
foreignDeployment?: string | undefined;
|
|
691
356
|
remoteRouters?: Record<string | number, {
|
|
@@ -823,278 +488,7 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
823
488
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
824
489
|
} & {
|
|
825
490
|
mailbox: z.ZodString;
|
|
826
|
-
hook: z.ZodOptional<z.
|
|
827
|
-
owner: z.ZodString;
|
|
828
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
829
|
-
} & {
|
|
830
|
-
type: z.ZodLiteral<"protocolFee">;
|
|
831
|
-
beneficiary: z.ZodString;
|
|
832
|
-
maxProtocolFee: z.ZodString;
|
|
833
|
-
protocolFee: z.ZodString;
|
|
834
|
-
}, "strip", z.ZodTypeAny, {
|
|
835
|
-
owner: string;
|
|
836
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
837
|
-
type: "protocolFee";
|
|
838
|
-
beneficiary: string;
|
|
839
|
-
maxProtocolFee: string;
|
|
840
|
-
protocolFee: string;
|
|
841
|
-
}, {
|
|
842
|
-
owner: string;
|
|
843
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
844
|
-
type: "protocolFee";
|
|
845
|
-
beneficiary: string;
|
|
846
|
-
maxProtocolFee: string;
|
|
847
|
-
protocolFee: string;
|
|
848
|
-
}>, z.ZodObject<{
|
|
849
|
-
owner: z.ZodString;
|
|
850
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
851
|
-
} & {
|
|
852
|
-
paused: z.ZodBoolean;
|
|
853
|
-
} & {
|
|
854
|
-
type: z.ZodLiteral<"pausableHook">;
|
|
855
|
-
}, "strip", z.ZodTypeAny, {
|
|
856
|
-
owner: string;
|
|
857
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
858
|
-
paused: boolean;
|
|
859
|
-
type: "pausableHook";
|
|
860
|
-
}, {
|
|
861
|
-
owner: string;
|
|
862
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
863
|
-
paused: boolean;
|
|
864
|
-
type: "pausableHook";
|
|
865
|
-
}>, z.ZodObject<{
|
|
866
|
-
owner: z.ZodString;
|
|
867
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
868
|
-
} & {
|
|
869
|
-
type: z.ZodLiteral<"opStackHook">;
|
|
870
|
-
nativeBridge: z.ZodString;
|
|
871
|
-
destinationChain: z.ZodString;
|
|
872
|
-
}, "strip", z.ZodTypeAny, {
|
|
873
|
-
owner: string;
|
|
874
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
875
|
-
type: "opStackHook";
|
|
876
|
-
nativeBridge: string;
|
|
877
|
-
destinationChain: string;
|
|
878
|
-
}, {
|
|
879
|
-
owner: string;
|
|
880
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
881
|
-
type: "opStackHook";
|
|
882
|
-
nativeBridge: string;
|
|
883
|
-
destinationChain: string;
|
|
884
|
-
}>, z.ZodObject<{
|
|
885
|
-
type: z.ZodLiteral<"merkleTreeHook">;
|
|
886
|
-
}, "strip", z.ZodTypeAny, {
|
|
887
|
-
type: "merkleTreeHook";
|
|
888
|
-
}, {
|
|
889
|
-
type: "merkleTreeHook";
|
|
890
|
-
}>, z.ZodObject<{
|
|
891
|
-
owner: z.ZodString;
|
|
892
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
893
|
-
} & {
|
|
894
|
-
type: z.ZodLiteral<"interchainGasPaymaster">;
|
|
895
|
-
beneficiary: z.ZodString;
|
|
896
|
-
oracleKey: z.ZodString;
|
|
897
|
-
overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
898
|
-
oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
899
|
-
gasPrice: z.ZodString;
|
|
900
|
-
tokenExchangeRate: z.ZodString;
|
|
901
|
-
} & {
|
|
902
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
903
|
-
} & {
|
|
904
|
-
typicalCost: z.ZodOptional<z.ZodObject<{
|
|
905
|
-
handleGasAmount: z.ZodNumber;
|
|
906
|
-
totalGasAmount: z.ZodNumber;
|
|
907
|
-
totalUsdCost: z.ZodNumber;
|
|
908
|
-
}, "strip", z.ZodTypeAny, {
|
|
909
|
-
handleGasAmount: number;
|
|
910
|
-
totalGasAmount: number;
|
|
911
|
-
totalUsdCost: number;
|
|
912
|
-
}, {
|
|
913
|
-
handleGasAmount: number;
|
|
914
|
-
totalGasAmount: number;
|
|
915
|
-
totalUsdCost: number;
|
|
916
|
-
}>>;
|
|
917
|
-
}, "strip", z.ZodTypeAny, {
|
|
918
|
-
gasPrice: string;
|
|
919
|
-
tokenExchangeRate: string;
|
|
920
|
-
tokenDecimals?: number | undefined;
|
|
921
|
-
typicalCost?: {
|
|
922
|
-
handleGasAmount: number;
|
|
923
|
-
totalGasAmount: number;
|
|
924
|
-
totalUsdCost: number;
|
|
925
|
-
} | undefined;
|
|
926
|
-
}, {
|
|
927
|
-
gasPrice: string;
|
|
928
|
-
tokenExchangeRate: string;
|
|
929
|
-
tokenDecimals?: number | undefined;
|
|
930
|
-
typicalCost?: {
|
|
931
|
-
handleGasAmount: number;
|
|
932
|
-
totalGasAmount: number;
|
|
933
|
-
totalUsdCost: number;
|
|
934
|
-
} | undefined;
|
|
935
|
-
}>>;
|
|
936
|
-
igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../index.js").IgpVersion>>;
|
|
937
|
-
quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
938
|
-
contractVersion: z.ZodOptional<z.ZodString>;
|
|
939
|
-
tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
940
|
-
gasPrice: z.ZodString;
|
|
941
|
-
tokenExchangeRate: z.ZodString;
|
|
942
|
-
} & {
|
|
943
|
-
tokenDecimals: z.ZodOptional<z.ZodNumber>;
|
|
944
|
-
}, "strip", z.ZodTypeAny, {
|
|
945
|
-
gasPrice: string;
|
|
946
|
-
tokenExchangeRate: string;
|
|
947
|
-
tokenDecimals?: number | undefined;
|
|
948
|
-
}, {
|
|
949
|
-
gasPrice: string;
|
|
950
|
-
tokenExchangeRate: string;
|
|
951
|
-
tokenDecimals?: number | undefined;
|
|
952
|
-
}>>>>;
|
|
953
|
-
}, "strip", z.ZodTypeAny, {
|
|
954
|
-
owner: string;
|
|
955
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
956
|
-
type: "interchainGasPaymaster";
|
|
957
|
-
beneficiary: string;
|
|
958
|
-
oracleKey: string;
|
|
959
|
-
overhead: Record<string, number>;
|
|
960
|
-
oracleConfig: Record<string, {
|
|
961
|
-
gasPrice: string;
|
|
962
|
-
tokenExchangeRate: string;
|
|
963
|
-
tokenDecimals?: number | undefined;
|
|
964
|
-
typicalCost?: {
|
|
965
|
-
handleGasAmount: number;
|
|
966
|
-
totalGasAmount: number;
|
|
967
|
-
totalUsdCost: number;
|
|
968
|
-
} | undefined;
|
|
969
|
-
}>;
|
|
970
|
-
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
971
|
-
quoteSigners?: string[] | undefined;
|
|
972
|
-
contractVersion?: string | undefined;
|
|
973
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
974
|
-
gasPrice: string;
|
|
975
|
-
tokenExchangeRate: string;
|
|
976
|
-
tokenDecimals?: number | undefined;
|
|
977
|
-
}>> | undefined;
|
|
978
|
-
}, {
|
|
979
|
-
owner: string;
|
|
980
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
981
|
-
type: "interchainGasPaymaster";
|
|
982
|
-
beneficiary: string;
|
|
983
|
-
oracleKey: string;
|
|
984
|
-
overhead: Record<string, number>;
|
|
985
|
-
oracleConfig: Record<string, {
|
|
986
|
-
gasPrice: string;
|
|
987
|
-
tokenExchangeRate: string;
|
|
988
|
-
tokenDecimals?: number | undefined;
|
|
989
|
-
typicalCost?: {
|
|
990
|
-
handleGasAmount: number;
|
|
991
|
-
totalGasAmount: number;
|
|
992
|
-
totalUsdCost: number;
|
|
993
|
-
} | undefined;
|
|
994
|
-
}>;
|
|
995
|
-
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
996
|
-
quoteSigners?: string[] | undefined;
|
|
997
|
-
contractVersion?: string | undefined;
|
|
998
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
999
|
-
gasPrice: string;
|
|
1000
|
-
tokenExchangeRate: string;
|
|
1001
|
-
tokenDecimals?: number | undefined;
|
|
1002
|
-
}>> | undefined;
|
|
1003
|
-
}>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../index.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
|
|
1004
|
-
type: z.ZodLiteral<"defaultHook">;
|
|
1005
|
-
}, "strip", z.ZodTypeAny, {
|
|
1006
|
-
type: "defaultHook";
|
|
1007
|
-
}, {
|
|
1008
|
-
type: "defaultHook";
|
|
1009
|
-
}>, z.ZodObject<{
|
|
1010
|
-
type: z.ZodLiteral<"ccipHook">;
|
|
1011
|
-
destinationChain: z.ZodString;
|
|
1012
|
-
}, "strip", z.ZodTypeAny, {
|
|
1013
|
-
type: "ccipHook";
|
|
1014
|
-
destinationChain: string;
|
|
1015
|
-
}, {
|
|
1016
|
-
type: "ccipHook";
|
|
1017
|
-
destinationChain: string;
|
|
1018
|
-
}>, z.ZodObject<{
|
|
1019
|
-
type: z.ZodLiteral<"cctpHook">;
|
|
1020
|
-
address: z.ZodString;
|
|
1021
|
-
}, "strip", z.ZodTypeAny, {
|
|
1022
|
-
type: "cctpHook";
|
|
1023
|
-
address: string;
|
|
1024
|
-
}, {
|
|
1025
|
-
type: "cctpHook";
|
|
1026
|
-
address: string;
|
|
1027
|
-
}>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
1028
|
-
owner: z.ZodString;
|
|
1029
|
-
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1030
|
-
} & {
|
|
1031
|
-
type: z.ZodLiteral<"rateLimitedHook">;
|
|
1032
|
-
maxCapacity: z.ZodString;
|
|
1033
|
-
duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
|
|
1034
|
-
}, "strip", z.ZodTypeAny, {
|
|
1035
|
-
owner: string;
|
|
1036
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1037
|
-
type: "rateLimitedHook";
|
|
1038
|
-
maxCapacity: string;
|
|
1039
|
-
duration: bigint;
|
|
1040
|
-
}, {
|
|
1041
|
-
owner: string;
|
|
1042
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1043
|
-
type: "rateLimitedHook";
|
|
1044
|
-
maxCapacity: string;
|
|
1045
|
-
duration?: string | number | bigint | undefined;
|
|
1046
|
-
}>, {
|
|
1047
|
-
owner: string;
|
|
1048
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1049
|
-
type: "rateLimitedHook";
|
|
1050
|
-
maxCapacity: string;
|
|
1051
|
-
duration: bigint;
|
|
1052
|
-
}, {
|
|
1053
|
-
owner: string;
|
|
1054
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1055
|
-
type: "rateLimitedHook";
|
|
1056
|
-
maxCapacity: string;
|
|
1057
|
-
duration?: string | number | bigint | undefined;
|
|
1058
|
-
}>, {
|
|
1059
|
-
owner: string;
|
|
1060
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1061
|
-
type: "rateLimitedHook";
|
|
1062
|
-
maxCapacity: string;
|
|
1063
|
-
duration: bigint;
|
|
1064
|
-
}, {
|
|
1065
|
-
owner: string;
|
|
1066
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1067
|
-
type: "rateLimitedHook";
|
|
1068
|
-
maxCapacity: string;
|
|
1069
|
-
duration?: string | number | bigint | undefined;
|
|
1070
|
-
}>, {
|
|
1071
|
-
owner: string;
|
|
1072
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1073
|
-
type: "rateLimitedHook";
|
|
1074
|
-
maxCapacity: string;
|
|
1075
|
-
duration: bigint;
|
|
1076
|
-
}, {
|
|
1077
|
-
owner: string;
|
|
1078
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1079
|
-
type: "rateLimitedHook";
|
|
1080
|
-
maxCapacity: string;
|
|
1081
|
-
duration?: string | number | bigint | undefined;
|
|
1082
|
-
}>, z.ZodObject<{
|
|
1083
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
1084
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1085
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
1086
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1087
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
1088
|
-
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
1089
|
-
type: z.ZodLiteral<"predicateHook">;
|
|
1090
|
-
address: z.ZodString;
|
|
1091
|
-
}, "strip", z.ZodTypeAny, {
|
|
1092
|
-
type: "predicateHook";
|
|
1093
|
-
address: string;
|
|
1094
|
-
}, {
|
|
1095
|
-
type: "predicateHook";
|
|
1096
|
-
address: string;
|
|
1097
|
-
}>]>>;
|
|
491
|
+
hook: z.ZodOptional<z.ZodType<import("../index.js").HookConfig, z.ZodTypeDef, unknown>>;
|
|
1098
492
|
interchainSecurityModule: z.ZodOptional<z.ZodType<import("../ism/types.js").IsmConfig, z.ZodTypeDef, unknown>>;
|
|
1099
493
|
} & {
|
|
1100
494
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
@@ -1421,71 +815,7 @@ export declare const DerivedIcaRouterConfigSchema: z.ZodObject<{
|
|
|
1421
815
|
};
|
|
1422
816
|
} | undefined;
|
|
1423
817
|
mailbox: string;
|
|
1424
|
-
hook?:
|
|
1425
|
-
owner: string;
|
|
1426
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1427
|
-
type: "protocolFee";
|
|
1428
|
-
beneficiary: string;
|
|
1429
|
-
maxProtocolFee: string;
|
|
1430
|
-
protocolFee: string;
|
|
1431
|
-
} | {
|
|
1432
|
-
owner: string;
|
|
1433
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1434
|
-
paused: boolean;
|
|
1435
|
-
type: "pausableHook";
|
|
1436
|
-
} | {
|
|
1437
|
-
owner: string;
|
|
1438
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1439
|
-
type: "opStackHook";
|
|
1440
|
-
nativeBridge: string;
|
|
1441
|
-
destinationChain: string;
|
|
1442
|
-
} | {
|
|
1443
|
-
type: "merkleTreeHook";
|
|
1444
|
-
} | {
|
|
1445
|
-
owner: string;
|
|
1446
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1447
|
-
type: "interchainGasPaymaster";
|
|
1448
|
-
beneficiary: string;
|
|
1449
|
-
oracleKey: string;
|
|
1450
|
-
overhead: Record<string, number>;
|
|
1451
|
-
oracleConfig: Record<string, {
|
|
1452
|
-
gasPrice: string;
|
|
1453
|
-
tokenExchangeRate: string;
|
|
1454
|
-
tokenDecimals?: number | undefined;
|
|
1455
|
-
typicalCost?: {
|
|
1456
|
-
handleGasAmount: number;
|
|
1457
|
-
totalGasAmount: number;
|
|
1458
|
-
totalUsdCost: number;
|
|
1459
|
-
} | undefined;
|
|
1460
|
-
}>;
|
|
1461
|
-
igpVersion?: import("../index.js").IgpVersion | undefined;
|
|
1462
|
-
quoteSigners?: string[] | undefined;
|
|
1463
|
-
contractVersion?: string | undefined;
|
|
1464
|
-
tokenOracleConfig?: Record<string, Record<string, {
|
|
1465
|
-
gasPrice: string;
|
|
1466
|
-
tokenExchangeRate: string;
|
|
1467
|
-
tokenDecimals?: number | undefined;
|
|
1468
|
-
}>> | undefined;
|
|
1469
|
-
} | {
|
|
1470
|
-
type: "defaultHook";
|
|
1471
|
-
} | {
|
|
1472
|
-
type: "ccipHook";
|
|
1473
|
-
destinationChain: string;
|
|
1474
|
-
} | {
|
|
1475
|
-
type: "cctpHook";
|
|
1476
|
-
address: string;
|
|
1477
|
-
} | {
|
|
1478
|
-
owner: string;
|
|
1479
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1480
|
-
type: "rateLimitedHook";
|
|
1481
|
-
maxCapacity: string;
|
|
1482
|
-
duration: bigint;
|
|
1483
|
-
} | {
|
|
1484
|
-
type: "predicateHook";
|
|
1485
|
-
address: string;
|
|
1486
|
-
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | z.objectOutputType<{
|
|
1487
|
-
type: z.ZodLiteral<"unknownHook">;
|
|
1488
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
818
|
+
hook?: import("../index.js").HookConfig | undefined;
|
|
1489
819
|
interchainSecurityModule?: import("../ism/types.js").IsmConfig | undefined;
|
|
1490
820
|
foreignDeployment?: string | undefined;
|
|
1491
821
|
remoteRouters?: Record<string | number, {
|