@hyperlane-xyz/cli 5.6.2 → 5.7.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.
Files changed (39) hide show
  1. package/dist/src/commands/warp.d.ts +3 -0
  2. package/dist/src/commands/warp.d.ts.map +1 -1
  3. package/dist/src/commands/warp.js +18 -0
  4. package/dist/src/commands/warp.js.map +1 -1
  5. package/dist/src/config/core.d.ts +479 -455
  6. package/dist/src/config/core.d.ts.map +1 -1
  7. package/dist/src/config/hooks.d.ts +269 -158
  8. package/dist/src/config/hooks.d.ts.map +1 -1
  9. package/dist/src/config/hooks.js +101 -44
  10. package/dist/src/config/hooks.js.map +1 -1
  11. package/dist/src/config/warp.d.ts.map +1 -1
  12. package/dist/src/config/warp.js +10 -2
  13. package/dist/src/config/warp.js.map +1 -1
  14. package/dist/src/context/context.d.ts +10 -1
  15. package/dist/src/context/context.d.ts.map +1 -1
  16. package/dist/src/context/context.js +14 -1
  17. package/dist/src/context/context.js.map +1 -1
  18. package/dist/src/deploy/core.js +2 -2
  19. package/dist/src/deploy/core.js.map +1 -1
  20. package/dist/src/deploy/warp.d.ts.map +1 -1
  21. package/dist/src/deploy/warp.js +75 -37
  22. package/dist/src/deploy/warp.js.map +1 -1
  23. package/dist/src/tests/warp-apply.e2e-test.js +35 -0
  24. package/dist/src/tests/warp-apply.e2e-test.js.map +1 -1
  25. package/dist/src/utils/chains.d.ts +7 -1
  26. package/dist/src/utils/chains.d.ts.map +1 -1
  27. package/dist/src/utils/chains.js +4 -4
  28. package/dist/src/utils/chains.js.map +1 -1
  29. package/dist/src/utils/input.d.ts +6 -0
  30. package/dist/src/utils/input.d.ts.map +1 -1
  31. package/dist/src/utils/input.js +43 -4
  32. package/dist/src/utils/input.js.map +1 -1
  33. package/dist/src/verify/warp.d.ts +7 -0
  34. package/dist/src/verify/warp.d.ts.map +1 -0
  35. package/dist/src/verify/warp.js +61 -0
  36. package/dist/src/verify/warp.js.map +1 -0
  37. package/dist/src/version.d.ts +1 -1
  38. package/dist/src/version.js +1 -1
  39. package/package.json +3 -3
@@ -6,15 +6,231 @@ export declare function createCoreDeployConfig({ context, configFilePath, advanc
6
6
  }): Promise<void>;
7
7
  export declare function readCoreDeployConfigs(filePath: string): Promise<{
8
8
  owner: string;
9
+ defaultIsm: string | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
10
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
11
+ } | {
12
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
13
+ relayer: string;
14
+ } | {
15
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
16
+ origin: string;
17
+ nativeBridge: string;
18
+ } | {
19
+ type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
20
+ bridge: string;
21
+ } | ({
22
+ owner: string;
23
+ paused: boolean;
24
+ ownerOverrides?: Record<string, string> | undefined;
25
+ } & {
26
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
27
+ }) | ({
28
+ validators: string[];
29
+ threshold: number;
30
+ } & {
31
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
32
+ }) | ({
33
+ validators: {
34
+ signingAddress: string;
35
+ weight: number;
36
+ }[];
37
+ thresholdWeight: number;
38
+ } & {
39
+ type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
40
+ }) | (string & {
41
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
42
+ }) | (string & {
43
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
44
+ relayer: string;
45
+ }) | (string & {
46
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
47
+ origin: string;
48
+ nativeBridge: string;
49
+ }) | (string & {
50
+ type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
51
+ bridge: string;
52
+ }) | (string & {
53
+ owner: string;
54
+ ownerOverrides?: Record<string, string> | undefined;
55
+ } & {
56
+ type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
57
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
58
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
59
+ } | {
60
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
61
+ relayer: string;
62
+ } | {
63
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
64
+ origin: string;
65
+ nativeBridge: string;
66
+ } | {
67
+ type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
68
+ bridge: string;
69
+ } | ({
70
+ owner: string;
71
+ paused: boolean;
72
+ ownerOverrides?: Record<string, string> | undefined;
73
+ } & {
74
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
75
+ }) | ({
76
+ validators: string[];
77
+ threshold: number;
78
+ } & {
79
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
80
+ }) | ({
81
+ validators: {
82
+ signingAddress: string;
83
+ weight: number;
84
+ }[];
85
+ thresholdWeight: number;
86
+ } & {
87
+ type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
88
+ })>;
89
+ }) | (string & {
90
+ owner: string;
91
+ paused: boolean;
92
+ ownerOverrides?: Record<string, string> | undefined;
93
+ } & {
94
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
95
+ }) | (string & {
96
+ validators: string[];
97
+ threshold: number;
98
+ } & {
99
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
100
+ }) | (string & {
101
+ validators: {
102
+ signingAddress: string;
103
+ weight: number;
104
+ }[];
105
+ thresholdWeight: number;
106
+ } & {
107
+ type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
108
+ }) | (string & import("@hyperlane-xyz/sdk").AggregationIsmConfig) | ({
109
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
110
+ } & string) | ({
111
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
112
+ relayer: string;
113
+ } & string) | ({
114
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
115
+ origin: string;
116
+ nativeBridge: string;
117
+ } & string) | ({
118
+ type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
119
+ bridge: string;
120
+ } & string) | ({
121
+ owner: string;
122
+ ownerOverrides?: Record<string, string> | undefined;
123
+ } & {
124
+ type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
125
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
126
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
127
+ } | {
128
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
129
+ relayer: string;
130
+ } | {
131
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
132
+ origin: string;
133
+ nativeBridge: string;
134
+ } | {
135
+ type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
136
+ bridge: string;
137
+ } | ({
138
+ owner: string;
139
+ paused: boolean;
140
+ ownerOverrides?: Record<string, string> | undefined;
141
+ } & {
142
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
143
+ }) | ({
144
+ validators: string[];
145
+ threshold: number;
146
+ } & {
147
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
148
+ }) | ({
149
+ validators: {
150
+ signingAddress: string;
151
+ weight: number;
152
+ }[];
153
+ thresholdWeight: number;
154
+ } & {
155
+ type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
156
+ })>;
157
+ } & string) | ({
158
+ owner: string;
159
+ ownerOverrides?: Record<string, string> | undefined;
160
+ } & {
161
+ type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
162
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
163
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
164
+ } | {
165
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
166
+ relayer: string;
167
+ } | {
168
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
169
+ origin: string;
170
+ nativeBridge: string;
171
+ } | {
172
+ type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
173
+ bridge: string;
174
+ } | ({
175
+ owner: string;
176
+ paused: boolean;
177
+ ownerOverrides?: Record<string, string> | undefined;
178
+ } & {
179
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
180
+ }) | ({
181
+ validators: string[];
182
+ threshold: number;
183
+ } & {
184
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
185
+ }) | ({
186
+ validators: {
187
+ signingAddress: string;
188
+ weight: number;
189
+ }[];
190
+ thresholdWeight: number;
191
+ } & {
192
+ type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
193
+ })>;
194
+ }) | ({
195
+ owner: string;
196
+ paused: boolean;
197
+ ownerOverrides?: Record<string, string> | undefined;
198
+ } & {
199
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
200
+ } & string) | ({
201
+ validators: string[];
202
+ threshold: number;
203
+ } & {
204
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
205
+ } & string) | ({
206
+ validators: {
207
+ signingAddress: string;
208
+ weight: number;
209
+ }[];
210
+ thresholdWeight: number;
211
+ } & {
212
+ type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
213
+ } & string) | (import("@hyperlane-xyz/sdk").AggregationIsmConfig & string);
9
214
  defaultHook: string | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | {
215
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
216
+ } | {
217
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
218
+ owner: string;
219
+ beneficiary: string;
220
+ oracleKey: string;
221
+ overhead: Record<string, number>;
222
+ oracleConfig: Record<string, {
223
+ gasPrice: string;
224
+ tokenExchangeRate: string;
225
+ }>;
226
+ ownerOverrides?: Record<string, string> | undefined;
227
+ } | {
10
228
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
11
229
  owner: string;
230
+ protocolFee: string;
12
231
  beneficiary: string;
13
232
  maxProtocolFee: string;
14
- protocolFee: string;
15
233
  ownerOverrides?: Record<string, string> | undefined;
16
- } | {
17
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
18
234
  } | {
19
235
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
20
236
  owner: string;
@@ -31,7 +247,10 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
31
247
  destinationChain: string;
32
248
  arbSys: string;
33
249
  bridge?: string | undefined;
34
- } | {
250
+ childHook?: any;
251
+ } | (string & {
252
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
253
+ }) | (string & {
35
254
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
36
255
  owner: string;
37
256
  beneficiary: string;
@@ -42,15 +261,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
42
261
  tokenExchangeRate: string;
43
262
  }>;
44
263
  ownerOverrides?: Record<string, string> | undefined;
45
- } | (string & {
264
+ }) | (string & {
46
265
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
47
266
  owner: string;
267
+ protocolFee: string;
48
268
  beneficiary: string;
49
269
  maxProtocolFee: string;
50
- protocolFee: string;
51
270
  ownerOverrides?: Record<string, string> | undefined;
52
- }) | (string & {
53
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
54
271
  }) | (string & {
55
272
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
56
273
  owner: string;
@@ -67,30 +284,31 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
67
284
  destinationChain: string;
68
285
  arbSys: string;
69
286
  bridge?: string | undefined;
70
- }) | (string & {
71
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
72
- owner: string;
73
- beneficiary: string;
74
- oracleKey: string;
75
- overhead: Record<string, number>;
76
- oracleConfig: Record<string, {
77
- gasPrice: string;
78
- tokenExchangeRate: string;
79
- }>;
80
- ownerOverrides?: Record<string, string> | undefined;
287
+ childHook?: any;
81
288
  }) | (string & {
82
289
  owner: string;
83
290
  ownerOverrides?: Record<string, string> | undefined;
84
291
  } & {
85
292
  domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
293
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
294
+ } | {
295
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
296
+ owner: string;
297
+ beneficiary: string;
298
+ oracleKey: string;
299
+ overhead: Record<string, number>;
300
+ oracleConfig: Record<string, {
301
+ gasPrice: string;
302
+ tokenExchangeRate: string;
303
+ }>;
304
+ ownerOverrides?: Record<string, string> | undefined;
305
+ } | {
86
306
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
87
307
  owner: string;
308
+ protocolFee: string;
88
309
  beneficiary: string;
89
310
  maxProtocolFee: string;
90
- protocolFee: string;
91
311
  ownerOverrides?: Record<string, string> | undefined;
92
- } | {
93
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
94
312
  } | {
95
313
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
96
314
  owner: string;
@@ -107,6 +325,16 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
107
325
  destinationChain: string;
108
326
  arbSys: string;
109
327
  bridge?: string | undefined;
328
+ childHook?: any;
329
+ }>;
330
+ } & {
331
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
332
+ }) | (string & {
333
+ owner: string;
334
+ ownerOverrides?: Record<string, string> | undefined;
335
+ } & {
336
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
337
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
110
338
  } | {
111
339
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
112
340
  owner: string;
@@ -118,22 +346,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
118
346
  tokenExchangeRate: string;
119
347
  }>;
120
348
  ownerOverrides?: Record<string, string> | undefined;
121
- }>;
122
- } & {
123
- type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
124
- }) | (string & {
125
- owner: string;
126
- ownerOverrides?: Record<string, string> | undefined;
127
- } & {
128
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
349
+ } | {
129
350
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
130
351
  owner: string;
352
+ protocolFee: string;
131
353
  beneficiary: string;
132
354
  maxProtocolFee: string;
133
- protocolFee: string;
134
355
  ownerOverrides?: Record<string, string> | undefined;
135
- } | {
136
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
137
356
  } | {
138
357
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
139
358
  owner: string;
@@ -150,6 +369,12 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
150
369
  destinationChain: string;
151
370
  arbSys: string;
152
371
  bridge?: string | undefined;
372
+ childHook?: any;
373
+ }>;
374
+ } & {
375
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
376
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
377
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
153
378
  } | {
154
379
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
155
380
  owner: string;
@@ -161,18 +386,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
161
386
  tokenExchangeRate: string;
162
387
  }>;
163
388
  ownerOverrides?: Record<string, string> | undefined;
164
- }>;
165
- } & {
166
- type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
167
- fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
389
+ } | {
168
390
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
169
391
  owner: string;
392
+ protocolFee: string;
170
393
  beneficiary: string;
171
394
  maxProtocolFee: string;
172
- protocolFee: string;
173
395
  ownerOverrides?: Record<string, string> | undefined;
174
- } | {
175
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
176
396
  } | {
177
397
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
178
398
  owner: string;
@@ -189,27 +409,28 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
189
409
  destinationChain: string;
190
410
  arbSys: string;
191
411
  bridge?: string | undefined;
192
- } | {
193
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
194
- owner: string;
195
- beneficiary: string;
196
- oracleKey: string;
197
- overhead: Record<string, number>;
198
- oracleConfig: Record<string, {
199
- gasPrice: string;
200
- tokenExchangeRate: string;
201
- }>;
202
- ownerOverrides?: Record<string, string> | undefined;
412
+ childHook?: any;
203
413
  };
204
414
  }) | ({
415
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
416
+ } & string) | ({
417
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
418
+ owner: string;
419
+ beneficiary: string;
420
+ oracleKey: string;
421
+ overhead: Record<string, number>;
422
+ oracleConfig: Record<string, {
423
+ gasPrice: string;
424
+ tokenExchangeRate: string;
425
+ }>;
426
+ ownerOverrides?: Record<string, string> | undefined;
427
+ } & string) | ({
205
428
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
206
429
  owner: string;
430
+ protocolFee: string;
207
431
  beneficiary: string;
208
432
  maxProtocolFee: string;
209
- protocolFee: string;
210
433
  ownerOverrides?: Record<string, string> | undefined;
211
- } & string) | ({
212
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
213
434
  } & string) | ({
214
435
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
215
436
  owner: string;
@@ -226,46 +447,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
226
447
  destinationChain: string;
227
448
  arbSys: string;
228
449
  bridge?: string | undefined;
229
- } & string) | ({
230
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
231
- owner: string;
232
- beneficiary: string;
233
- oracleKey: string;
234
- overhead: Record<string, number>;
235
- oracleConfig: Record<string, {
236
- gasPrice: string;
237
- tokenExchangeRate: string;
238
- }>;
239
- ownerOverrides?: Record<string, string> | undefined;
450
+ childHook?: any;
240
451
  } & string) | ({
241
452
  owner: string;
242
453
  ownerOverrides?: Record<string, string> | undefined;
243
454
  } & {
244
455
  domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
245
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
246
- owner: string;
247
- beneficiary: string;
248
- maxProtocolFee: string;
249
- protocolFee: string;
250
- ownerOverrides?: Record<string, string> | undefined;
251
- } | {
252
456
  type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
253
- } | {
254
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
255
- owner: string;
256
- paused: boolean;
257
- ownerOverrides?: Record<string, string> | undefined;
258
- } | {
259
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
260
- owner: string;
261
- nativeBridge: string;
262
- destinationChain: string;
263
- ownerOverrides?: Record<string, string> | undefined;
264
- } | {
265
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
266
- destinationChain: string;
267
- arbSys: string;
268
- bridge?: string | undefined;
269
457
  } | {
270
458
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
271
459
  owner: string;
@@ -277,22 +465,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
277
465
  tokenExchangeRate: string;
278
466
  }>;
279
467
  ownerOverrides?: Record<string, string> | undefined;
280
- }>;
281
- } & {
282
- type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
283
- } & string) | ({
284
- owner: string;
285
- ownerOverrides?: Record<string, string> | undefined;
286
- } & {
287
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
468
+ } | {
288
469
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
289
470
  owner: string;
471
+ protocolFee: string;
290
472
  beneficiary: string;
291
473
  maxProtocolFee: string;
292
- protocolFee: string;
293
474
  ownerOverrides?: Record<string, string> | undefined;
294
- } | {
295
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
296
475
  } | {
297
476
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
298
477
  owner: string;
@@ -309,6 +488,16 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
309
488
  destinationChain: string;
310
489
  arbSys: string;
311
490
  bridge?: string | undefined;
491
+ childHook?: any;
492
+ }>;
493
+ } & {
494
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
495
+ } & string) | ({
496
+ owner: string;
497
+ ownerOverrides?: Record<string, string> | undefined;
498
+ } & {
499
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
500
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
312
501
  } | {
313
502
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
314
503
  owner: string;
@@ -320,22 +509,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
320
509
  tokenExchangeRate: string;
321
510
  }>;
322
511
  ownerOverrides?: Record<string, string> | undefined;
323
- }>;
324
- } & {
325
- type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
326
- }) | ({
327
- owner: string;
328
- ownerOverrides?: Record<string, string> | undefined;
329
- } & {
330
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
512
+ } | {
331
513
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
332
514
  owner: string;
515
+ protocolFee: string;
333
516
  beneficiary: string;
334
517
  maxProtocolFee: string;
335
- protocolFee: string;
336
518
  ownerOverrides?: Record<string, string> | undefined;
337
- } | {
338
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
339
519
  } | {
340
520
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
341
521
  owner: string;
@@ -352,6 +532,16 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
352
532
  destinationChain: string;
353
533
  arbSys: string;
354
534
  bridge?: string | undefined;
535
+ childHook?: any;
536
+ }>;
537
+ } & {
538
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
539
+ }) | ({
540
+ owner: string;
541
+ ownerOverrides?: Record<string, string> | undefined;
542
+ } & {
543
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
544
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
355
545
  } | {
356
546
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
357
547
  owner: string;
@@ -363,18 +553,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
363
553
  tokenExchangeRate: string;
364
554
  }>;
365
555
  ownerOverrides?: Record<string, string> | undefined;
366
- }>;
367
- } & {
368
- type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
369
- fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
556
+ } | {
370
557
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
371
558
  owner: string;
559
+ protocolFee: string;
372
560
  beneficiary: string;
373
561
  maxProtocolFee: string;
374
- protocolFee: string;
375
562
  ownerOverrides?: Record<string, string> | undefined;
376
- } | {
377
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
378
563
  } | {
379
564
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
380
565
  owner: string;
@@ -391,6 +576,12 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
391
576
  destinationChain: string;
392
577
  arbSys: string;
393
578
  bridge?: string | undefined;
579
+ childHook?: any;
580
+ }>;
581
+ } & {
582
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
583
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
584
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
394
585
  } | {
395
586
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
396
587
  owner: string;
@@ -402,20 +593,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
402
593
  tokenExchangeRate: string;
403
594
  }>;
404
595
  ownerOverrides?: Record<string, string> | undefined;
405
- };
406
- } & string) | ({
407
- owner: string;
408
- ownerOverrides?: Record<string, string> | undefined;
409
- } & {
410
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
596
+ } | {
411
597
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
412
598
  owner: string;
599
+ protocolFee: string;
413
600
  beneficiary: string;
414
601
  maxProtocolFee: string;
415
- protocolFee: string;
416
602
  ownerOverrides?: Record<string, string> | undefined;
417
- } | {
418
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
419
603
  } | {
420
604
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
421
605
  owner: string;
@@ -432,6 +616,14 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
432
616
  destinationChain: string;
433
617
  arbSys: string;
434
618
  bridge?: string | undefined;
619
+ childHook?: any;
620
+ };
621
+ } & string) | ({
622
+ owner: string;
623
+ ownerOverrides?: Record<string, string> | undefined;
624
+ } & {
625
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
626
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
435
627
  } | {
436
628
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
437
629
  owner: string;
@@ -443,18 +635,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
443
635
  tokenExchangeRate: string;
444
636
  }>;
445
637
  ownerOverrides?: Record<string, string> | undefined;
446
- }>;
447
- } & {
448
- type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
449
- fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
638
+ } | {
450
639
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
451
640
  owner: string;
641
+ protocolFee: string;
452
642
  beneficiary: string;
453
643
  maxProtocolFee: string;
454
- protocolFee: string;
455
644
  ownerOverrides?: Record<string, string> | undefined;
456
- } | {
457
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
458
645
  } | {
459
646
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
460
647
  owner: string;
@@ -471,6 +658,12 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
471
658
  destinationChain: string;
472
659
  arbSys: string;
473
660
  bridge?: string | undefined;
661
+ childHook?: any;
662
+ }>;
663
+ } & {
664
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
665
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
666
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
474
667
  } | {
475
668
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
476
669
  owner: string;
@@ -482,222 +675,52 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
482
675
  tokenExchangeRate: string;
483
676
  }>;
484
677
  ownerOverrides?: Record<string, string> | undefined;
485
- };
486
- });
487
- defaultIsm: string | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
488
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
489
- } | {
490
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
491
- relayer: string;
492
- } | {
493
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
494
- origin: string;
495
- nativeBridge: string;
496
- } | {
497
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
498
- bridge: string;
499
- } | ({
500
- owner: string;
501
- paused: boolean;
502
- ownerOverrides?: Record<string, string> | undefined;
503
- } & {
504
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
505
- }) | ({
506
- validators: string[];
507
- threshold: number;
508
- } & {
509
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
510
- }) | ({
511
- validators: {
512
- signingAddress: string;
513
- weight: number;
514
- }[];
515
- thresholdWeight: number;
516
- } & {
517
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
518
- }) | (string & {
519
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
520
- }) | (string & {
521
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
522
- relayer: string;
523
- }) | (string & {
524
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
525
- origin: string;
526
- nativeBridge: string;
527
- }) | (string & {
528
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
529
- bridge: string;
530
- }) | (string & {
531
- owner: string;
532
- ownerOverrides?: Record<string, string> | undefined;
533
- } & {
534
- type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
535
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
536
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
537
- } | {
538
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
539
- relayer: string;
540
- } | {
541
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
542
- origin: string;
543
- nativeBridge: string;
544
678
  } | {
545
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
546
- bridge: string;
547
- } | ({
679
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
548
680
  owner: string;
549
- paused: boolean;
681
+ protocolFee: string;
682
+ beneficiary: string;
683
+ maxProtocolFee: string;
550
684
  ownerOverrides?: Record<string, string> | undefined;
551
- } & {
552
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
553
- }) | ({
554
- validators: string[];
555
- threshold: number;
556
- } & {
557
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
558
- }) | ({
559
- validators: {
560
- signingAddress: string;
561
- weight: number;
562
- }[];
563
- thresholdWeight: number;
564
- } & {
565
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
566
- })>;
567
- }) | (string & {
568
- owner: string;
569
- paused: boolean;
570
- ownerOverrides?: Record<string, string> | undefined;
571
- } & {
572
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
573
- }) | (string & {
574
- validators: string[];
575
- threshold: number;
576
- } & {
577
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
578
- }) | (string & {
579
- validators: {
580
- signingAddress: string;
581
- weight: number;
582
- }[];
583
- thresholdWeight: number;
584
- } & {
585
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
586
- }) | (string & import("@hyperlane-xyz/sdk").AggregationIsmConfig) | ({
587
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
588
- } & string) | ({
589
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
590
- relayer: string;
591
- } & string) | ({
592
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
593
- origin: string;
594
- nativeBridge: string;
595
- } & string) | ({
596
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
597
- bridge: string;
598
- } & string) | ({
599
- owner: string;
600
- ownerOverrides?: Record<string, string> | undefined;
601
- } & {
602
- type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
603
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
604
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
605
- } | {
606
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
607
- relayer: string;
608
- } | {
609
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
610
- origin: string;
611
- nativeBridge: string;
612
685
  } | {
613
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
614
- bridge: string;
615
- } | ({
686
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
616
687
  owner: string;
617
688
  paused: boolean;
618
689
  ownerOverrides?: Record<string, string> | undefined;
619
- } & {
620
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
621
- }) | ({
622
- validators: string[];
623
- threshold: number;
624
- } & {
625
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
626
- }) | ({
627
- validators: {
628
- signingAddress: string;
629
- weight: number;
630
- }[];
631
- thresholdWeight: number;
632
- } & {
633
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
634
- })>;
635
- } & string) | ({
636
- owner: string;
637
- ownerOverrides?: Record<string, string> | undefined;
638
- } & {
639
- type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
640
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
641
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
642
- } | {
643
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
644
- relayer: string;
645
690
  } | {
646
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
647
- origin: string;
648
- nativeBridge: string;
649
- } | {
650
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
651
- bridge: string;
652
- } | ({
691
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
653
692
  owner: string;
654
- paused: boolean;
655
- ownerOverrides?: Record<string, string> | undefined;
656
- } & {
657
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
658
- }) | ({
659
- validators: string[];
660
- threshold: number;
661
- } & {
662
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
663
- }) | ({
664
- validators: {
665
- signingAddress: string;
666
- weight: number;
667
- }[];
668
- thresholdWeight: number;
669
- } & {
670
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
671
- })>;
672
- }) | ({
673
- owner: string;
674
- paused: boolean;
675
- ownerOverrides?: Record<string, string> | undefined;
676
- } & {
677
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
678
- } & string) | ({
679
- validators: string[];
680
- threshold: number;
681
- } & {
682
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
683
- } & string) | ({
684
- validators: {
685
- signingAddress: string;
686
- weight: number;
687
- }[];
688
- thresholdWeight: number;
689
- } & {
690
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
691
- } & string) | (import("@hyperlane-xyz/sdk").AggregationIsmConfig & string);
693
+ nativeBridge: string;
694
+ destinationChain: string;
695
+ ownerOverrides?: Record<string, string> | undefined;
696
+ } | {
697
+ type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
698
+ destinationChain: string;
699
+ arbSys: string;
700
+ bridge?: string | undefined;
701
+ childHook?: any;
702
+ };
703
+ });
692
704
  requiredHook: string | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | {
705
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
706
+ } | {
707
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
708
+ owner: string;
709
+ beneficiary: string;
710
+ oracleKey: string;
711
+ overhead: Record<string, number>;
712
+ oracleConfig: Record<string, {
713
+ gasPrice: string;
714
+ tokenExchangeRate: string;
715
+ }>;
716
+ ownerOverrides?: Record<string, string> | undefined;
717
+ } | {
693
718
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
694
719
  owner: string;
720
+ protocolFee: string;
695
721
  beneficiary: string;
696
722
  maxProtocolFee: string;
697
- protocolFee: string;
698
723
  ownerOverrides?: Record<string, string> | undefined;
699
- } | {
700
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
701
724
  } | {
702
725
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
703
726
  owner: string;
@@ -714,7 +737,10 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
714
737
  destinationChain: string;
715
738
  arbSys: string;
716
739
  bridge?: string | undefined;
717
- } | {
740
+ childHook?: any;
741
+ } | (string & {
742
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
743
+ }) | (string & {
718
744
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
719
745
  owner: string;
720
746
  beneficiary: string;
@@ -725,15 +751,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
725
751
  tokenExchangeRate: string;
726
752
  }>;
727
753
  ownerOverrides?: Record<string, string> | undefined;
728
- } | (string & {
754
+ }) | (string & {
729
755
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
730
756
  owner: string;
757
+ protocolFee: string;
731
758
  beneficiary: string;
732
759
  maxProtocolFee: string;
733
- protocolFee: string;
734
760
  ownerOverrides?: Record<string, string> | undefined;
735
- }) | (string & {
736
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
737
761
  }) | (string & {
738
762
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
739
763
  owner: string;
@@ -750,30 +774,31 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
750
774
  destinationChain: string;
751
775
  arbSys: string;
752
776
  bridge?: string | undefined;
753
- }) | (string & {
754
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
755
- owner: string;
756
- beneficiary: string;
757
- oracleKey: string;
758
- overhead: Record<string, number>;
759
- oracleConfig: Record<string, {
760
- gasPrice: string;
761
- tokenExchangeRate: string;
762
- }>;
763
- ownerOverrides?: Record<string, string> | undefined;
777
+ childHook?: any;
764
778
  }) | (string & {
765
779
  owner: string;
766
780
  ownerOverrides?: Record<string, string> | undefined;
767
781
  } & {
768
782
  domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
783
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
784
+ } | {
785
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
786
+ owner: string;
787
+ beneficiary: string;
788
+ oracleKey: string;
789
+ overhead: Record<string, number>;
790
+ oracleConfig: Record<string, {
791
+ gasPrice: string;
792
+ tokenExchangeRate: string;
793
+ }>;
794
+ ownerOverrides?: Record<string, string> | undefined;
795
+ } | {
769
796
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
770
797
  owner: string;
798
+ protocolFee: string;
771
799
  beneficiary: string;
772
800
  maxProtocolFee: string;
773
- protocolFee: string;
774
801
  ownerOverrides?: Record<string, string> | undefined;
775
- } | {
776
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
777
802
  } | {
778
803
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
779
804
  owner: string;
@@ -790,6 +815,16 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
790
815
  destinationChain: string;
791
816
  arbSys: string;
792
817
  bridge?: string | undefined;
818
+ childHook?: any;
819
+ }>;
820
+ } & {
821
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
822
+ }) | (string & {
823
+ owner: string;
824
+ ownerOverrides?: Record<string, string> | undefined;
825
+ } & {
826
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
827
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
793
828
  } | {
794
829
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
795
830
  owner: string;
@@ -801,22 +836,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
801
836
  tokenExchangeRate: string;
802
837
  }>;
803
838
  ownerOverrides?: Record<string, string> | undefined;
804
- }>;
805
- } & {
806
- type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
807
- }) | (string & {
808
- owner: string;
809
- ownerOverrides?: Record<string, string> | undefined;
810
- } & {
811
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
839
+ } | {
812
840
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
813
841
  owner: string;
842
+ protocolFee: string;
814
843
  beneficiary: string;
815
844
  maxProtocolFee: string;
816
- protocolFee: string;
817
845
  ownerOverrides?: Record<string, string> | undefined;
818
- } | {
819
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
820
846
  } | {
821
847
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
822
848
  owner: string;
@@ -833,6 +859,12 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
833
859
  destinationChain: string;
834
860
  arbSys: string;
835
861
  bridge?: string | undefined;
862
+ childHook?: any;
863
+ }>;
864
+ } & {
865
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
866
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
867
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
836
868
  } | {
837
869
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
838
870
  owner: string;
@@ -844,18 +876,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
844
876
  tokenExchangeRate: string;
845
877
  }>;
846
878
  ownerOverrides?: Record<string, string> | undefined;
847
- }>;
848
- } & {
849
- type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
850
- fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
879
+ } | {
851
880
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
852
881
  owner: string;
882
+ protocolFee: string;
853
883
  beneficiary: string;
854
884
  maxProtocolFee: string;
855
- protocolFee: string;
856
885
  ownerOverrides?: Record<string, string> | undefined;
857
- } | {
858
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
859
886
  } | {
860
887
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
861
888
  owner: string;
@@ -872,27 +899,28 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
872
899
  destinationChain: string;
873
900
  arbSys: string;
874
901
  bridge?: string | undefined;
875
- } | {
876
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
877
- owner: string;
878
- beneficiary: string;
879
- oracleKey: string;
880
- overhead: Record<string, number>;
881
- oracleConfig: Record<string, {
882
- gasPrice: string;
883
- tokenExchangeRate: string;
884
- }>;
885
- ownerOverrides?: Record<string, string> | undefined;
902
+ childHook?: any;
886
903
  };
887
904
  }) | ({
905
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
906
+ } & string) | ({
907
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
908
+ owner: string;
909
+ beneficiary: string;
910
+ oracleKey: string;
911
+ overhead: Record<string, number>;
912
+ oracleConfig: Record<string, {
913
+ gasPrice: string;
914
+ tokenExchangeRate: string;
915
+ }>;
916
+ ownerOverrides?: Record<string, string> | undefined;
917
+ } & string) | ({
888
918
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
889
919
  owner: string;
920
+ protocolFee: string;
890
921
  beneficiary: string;
891
922
  maxProtocolFee: string;
892
- protocolFee: string;
893
923
  ownerOverrides?: Record<string, string> | undefined;
894
- } & string) | ({
895
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
896
924
  } & string) | ({
897
925
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
898
926
  owner: string;
@@ -909,30 +937,31 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
909
937
  destinationChain: string;
910
938
  arbSys: string;
911
939
  bridge?: string | undefined;
912
- } & string) | ({
913
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
914
- owner: string;
915
- beneficiary: string;
916
- oracleKey: string;
917
- overhead: Record<string, number>;
918
- oracleConfig: Record<string, {
919
- gasPrice: string;
920
- tokenExchangeRate: string;
921
- }>;
922
- ownerOverrides?: Record<string, string> | undefined;
940
+ childHook?: any;
923
941
  } & string) | ({
924
942
  owner: string;
925
943
  ownerOverrides?: Record<string, string> | undefined;
926
944
  } & {
927
945
  domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
946
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
947
+ } | {
948
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
949
+ owner: string;
950
+ beneficiary: string;
951
+ oracleKey: string;
952
+ overhead: Record<string, number>;
953
+ oracleConfig: Record<string, {
954
+ gasPrice: string;
955
+ tokenExchangeRate: string;
956
+ }>;
957
+ ownerOverrides?: Record<string, string> | undefined;
958
+ } | {
928
959
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
929
960
  owner: string;
961
+ protocolFee: string;
930
962
  beneficiary: string;
931
963
  maxProtocolFee: string;
932
- protocolFee: string;
933
964
  ownerOverrides?: Record<string, string> | undefined;
934
- } | {
935
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
936
965
  } | {
937
966
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
938
967
  owner: string;
@@ -949,6 +978,16 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
949
978
  destinationChain: string;
950
979
  arbSys: string;
951
980
  bridge?: string | undefined;
981
+ childHook?: any;
982
+ }>;
983
+ } & {
984
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
985
+ } & string) | ({
986
+ owner: string;
987
+ ownerOverrides?: Record<string, string> | undefined;
988
+ } & {
989
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
990
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
952
991
  } | {
953
992
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
954
993
  owner: string;
@@ -960,22 +999,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
960
999
  tokenExchangeRate: string;
961
1000
  }>;
962
1001
  ownerOverrides?: Record<string, string> | undefined;
963
- }>;
964
- } & {
965
- type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
966
- } & string) | ({
967
- owner: string;
968
- ownerOverrides?: Record<string, string> | undefined;
969
- } & {
970
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1002
+ } | {
971
1003
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
972
1004
  owner: string;
1005
+ protocolFee: string;
973
1006
  beneficiary: string;
974
1007
  maxProtocolFee: string;
975
- protocolFee: string;
976
1008
  ownerOverrides?: Record<string, string> | undefined;
977
- } | {
978
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
979
1009
  } | {
980
1010
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
981
1011
  owner: string;
@@ -992,6 +1022,16 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
992
1022
  destinationChain: string;
993
1023
  arbSys: string;
994
1024
  bridge?: string | undefined;
1025
+ childHook?: any;
1026
+ }>;
1027
+ } & {
1028
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
1029
+ }) | ({
1030
+ owner: string;
1031
+ ownerOverrides?: Record<string, string> | undefined;
1032
+ } & {
1033
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1034
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
995
1035
  } | {
996
1036
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
997
1037
  owner: string;
@@ -1003,22 +1043,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
1003
1043
  tokenExchangeRate: string;
1004
1044
  }>;
1005
1045
  ownerOverrides?: Record<string, string> | undefined;
1006
- }>;
1007
- } & {
1008
- type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
1009
- }) | ({
1010
- owner: string;
1011
- ownerOverrides?: Record<string, string> | undefined;
1012
- } & {
1013
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1046
+ } | {
1014
1047
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
1015
1048
  owner: string;
1049
+ protocolFee: string;
1016
1050
  beneficiary: string;
1017
1051
  maxProtocolFee: string;
1018
- protocolFee: string;
1019
1052
  ownerOverrides?: Record<string, string> | undefined;
1020
- } | {
1021
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
1022
1053
  } | {
1023
1054
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
1024
1055
  owner: string;
@@ -1035,6 +1066,12 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
1035
1066
  destinationChain: string;
1036
1067
  arbSys: string;
1037
1068
  bridge?: string | undefined;
1069
+ childHook?: any;
1070
+ }>;
1071
+ } & {
1072
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
1073
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1074
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
1038
1075
  } | {
1039
1076
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
1040
1077
  owner: string;
@@ -1046,18 +1083,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
1046
1083
  tokenExchangeRate: string;
1047
1084
  }>;
1048
1085
  ownerOverrides?: Record<string, string> | undefined;
1049
- }>;
1050
- } & {
1051
- type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
1052
- fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1086
+ } | {
1053
1087
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
1054
1088
  owner: string;
1089
+ protocolFee: string;
1055
1090
  beneficiary: string;
1056
1091
  maxProtocolFee: string;
1057
- protocolFee: string;
1058
1092
  ownerOverrides?: Record<string, string> | undefined;
1059
- } | {
1060
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
1061
1093
  } | {
1062
1094
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
1063
1095
  owner: string;
@@ -1074,6 +1106,14 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
1074
1106
  destinationChain: string;
1075
1107
  arbSys: string;
1076
1108
  bridge?: string | undefined;
1109
+ childHook?: any;
1110
+ };
1111
+ } & string) | ({
1112
+ owner: string;
1113
+ ownerOverrides?: Record<string, string> | undefined;
1114
+ } & {
1115
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1116
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
1077
1117
  } | {
1078
1118
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
1079
1119
  owner: string;
@@ -1085,20 +1125,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
1085
1125
  tokenExchangeRate: string;
1086
1126
  }>;
1087
1127
  ownerOverrides?: Record<string, string> | undefined;
1088
- };
1089
- } & string) | ({
1090
- owner: string;
1091
- ownerOverrides?: Record<string, string> | undefined;
1092
- } & {
1093
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1128
+ } | {
1094
1129
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
1095
1130
  owner: string;
1131
+ protocolFee: string;
1096
1132
  beneficiary: string;
1097
1133
  maxProtocolFee: string;
1098
- protocolFee: string;
1099
1134
  ownerOverrides?: Record<string, string> | undefined;
1100
- } | {
1101
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
1102
1135
  } | {
1103
1136
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
1104
1137
  owner: string;
@@ -1115,6 +1148,12 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
1115
1148
  destinationChain: string;
1116
1149
  arbSys: string;
1117
1150
  bridge?: string | undefined;
1151
+ childHook?: any;
1152
+ }>;
1153
+ } & {
1154
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
1155
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1156
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
1118
1157
  } | {
1119
1158
  type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
1120
1159
  owner: string;
@@ -1126,18 +1165,13 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
1126
1165
  tokenExchangeRate: string;
1127
1166
  }>;
1128
1167
  ownerOverrides?: Record<string, string> | undefined;
1129
- }>;
1130
- } & {
1131
- type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
1132
- fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1168
+ } | {
1133
1169
  type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
1134
1170
  owner: string;
1171
+ protocolFee: string;
1135
1172
  beneficiary: string;
1136
1173
  maxProtocolFee: string;
1137
- protocolFee: string;
1138
1174
  ownerOverrides?: Record<string, string> | undefined;
1139
- } | {
1140
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
1141
1175
  } | {
1142
1176
  type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
1143
1177
  owner: string;
@@ -1154,17 +1188,7 @@ export declare function readCoreDeployConfigs(filePath: string): Promise<{
1154
1188
  destinationChain: string;
1155
1189
  arbSys: string;
1156
1190
  bridge?: string | undefined;
1157
- } | {
1158
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
1159
- owner: string;
1160
- beneficiary: string;
1161
- oracleKey: string;
1162
- overhead: Record<string, number>;
1163
- oracleConfig: Record<string, {
1164
- gasPrice: string;
1165
- tokenExchangeRate: string;
1166
- }>;
1167
- ownerOverrides?: Record<string, string> | undefined;
1191
+ childHook?: any;
1168
1192
  };
1169
1193
  });
1170
1194
  ownerOverrides?: Record<string, string> | undefined;