@hyperlane-xyz/cli 7.2.0 → 7.3.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 (53) hide show
  1. package/dist/src/commands/core.d.ts +1 -0
  2. package/dist/src/commands/core.d.ts.map +1 -1
  3. package/dist/src/commands/core.js +6 -2
  4. package/dist/src/commands/core.js.map +1 -1
  5. package/dist/src/config/core.d.ts +2 -1194
  6. package/dist/src/config/core.d.ts.map +1 -1
  7. package/dist/src/config/core.js +1 -1
  8. package/dist/src/config/core.js.map +1 -1
  9. package/dist/src/deploy/core.d.ts.map +1 -1
  10. package/dist/src/deploy/core.js +3 -1
  11. package/dist/src/deploy/core.js.map +1 -1
  12. package/dist/src/deploy/warp.d.ts.map +1 -1
  13. package/dist/src/deploy/warp.js +25 -9
  14. package/dist/src/deploy/warp.js.map +1 -1
  15. package/dist/src/read/core.d.ts.map +1 -1
  16. package/dist/src/read/core.js +5 -2
  17. package/dist/src/read/core.js.map +1 -1
  18. package/dist/src/status/message.d.ts.map +1 -1
  19. package/dist/src/status/message.js +1 -1
  20. package/dist/src/status/message.js.map +1 -1
  21. package/dist/src/tests/commands/core.d.ts +2 -2
  22. package/dist/src/tests/commands/core.d.ts.map +1 -1
  23. package/dist/src/tests/commands/helpers.d.ts +14 -1
  24. package/dist/src/tests/commands/helpers.d.ts.map +1 -1
  25. package/dist/src/tests/commands/helpers.js +15 -2
  26. package/dist/src/tests/commands/helpers.js.map +1 -1
  27. package/dist/src/tests/core-apply.e2e-test.d.ts +2 -0
  28. package/dist/src/tests/core-apply.e2e-test.d.ts.map +1 -0
  29. package/dist/src/tests/core-apply.e2e-test.js +155 -0
  30. package/dist/src/tests/core-apply.e2e-test.js.map +1 -0
  31. package/dist/src/tests/core-deploy.e2e-test.d.ts +2 -0
  32. package/dist/src/tests/core-deploy.e2e-test.d.ts.map +1 -0
  33. package/dist/src/tests/core-deploy.e2e-test.js +55 -0
  34. package/dist/src/tests/core-deploy.e2e-test.js.map +1 -0
  35. package/dist/src/tests/core-read.e2e-test.d.ts +2 -0
  36. package/dist/src/tests/core-read.e2e-test.d.ts.map +1 -0
  37. package/dist/src/tests/core-read.e2e-test.js +29 -0
  38. package/dist/src/tests/core-read.e2e-test.js.map +1 -0
  39. package/dist/src/tests/relay.e2e-test.js +14 -17
  40. package/dist/src/tests/relay.e2e-test.js.map +1 -1
  41. package/dist/src/tests/warp-apply.e2e-test.js +32 -20
  42. package/dist/src/tests/warp-apply.e2e-test.js.map +1 -1
  43. package/dist/src/tests/warp-deploy.e2e-test.js +7 -11
  44. package/dist/src/tests/warp-deploy.e2e-test.js.map +1 -1
  45. package/dist/src/tests/warp-read.e2e-test.js +3 -11
  46. package/dist/src/tests/warp-read.e2e-test.js.map +1 -1
  47. package/dist/src/version.d.ts +1 -1
  48. package/dist/src/version.js +1 -1
  49. package/package.json +3 -3
  50. package/dist/src/tests/core.e2e-test.d.ts +0 -2
  51. package/dist/src/tests/core.e2e-test.d.ts.map +0 -1
  52. package/dist/src/tests/core.e2e-test.js +0 -113
  53. package/dist/src/tests/core.e2e-test.js.map +0 -1
@@ -1,1201 +1,9 @@
1
+ import { CoreConfig } from '@hyperlane-xyz/sdk';
1
2
  import { CommandContext } from '../context/types.js';
2
3
  export declare function createCoreDeployConfig({ context, configFilePath, advanced, }: {
3
4
  context: CommandContext;
4
5
  configFilePath: string;
5
6
  advanced: boolean;
6
7
  }): Promise<void>;
7
- export declare function readCoreDeployConfigs(filePath: string): Promise<{
8
- owner: string;
9
- defaultIsm: string | import("@hyperlane-xyz/sdk").AggregationIsmConfig | ({
10
- validators: string[];
11
- threshold: number;
12
- } & {
13
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
14
- }) | ({
15
- validators: {
16
- signingAddress: string;
17
- weight: number;
18
- }[];
19
- thresholdWeight: number;
20
- } & {
21
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
22
- }) | {
23
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
24
- } | ({
25
- owner: string;
26
- paused: boolean;
27
- ownerOverrides?: Record<string, string> | undefined;
28
- } & {
29
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
30
- }) | {
31
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
32
- origin: string;
33
- nativeBridge: string;
34
- } | {
35
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
36
- relayer: string;
37
- } | {
38
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
39
- bridge: string;
40
- } | (string & {
41
- validators: string[];
42
- threshold: number;
43
- } & {
44
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
45
- }) | (string & {
46
- validators: {
47
- signingAddress: string;
48
- weight: number;
49
- }[];
50
- thresholdWeight: number;
51
- } & {
52
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
53
- }) | (string & {
54
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
55
- }) | (string & {
56
- owner: string;
57
- paused: boolean;
58
- ownerOverrides?: Record<string, string> | undefined;
59
- } & {
60
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
61
- }) | (string & {
62
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
63
- origin: string;
64
- nativeBridge: string;
65
- }) | (string & {
66
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
67
- relayer: string;
68
- }) | (string & {
69
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
70
- bridge: string;
71
- }) | (string & {
72
- owner: string;
73
- ownerOverrides?: Record<string, string> | undefined;
74
- } & {
75
- type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
76
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | ({
77
- validators: string[];
78
- threshold: number;
79
- } & {
80
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
81
- }) | ({
82
- validators: {
83
- signingAddress: string;
84
- weight: number;
85
- }[];
86
- thresholdWeight: number;
87
- } & {
88
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
89
- }) | {
90
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
91
- } | ({
92
- owner: string;
93
- paused: boolean;
94
- ownerOverrides?: Record<string, string> | undefined;
95
- } & {
96
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
97
- }) | {
98
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
99
- origin: string;
100
- nativeBridge: string;
101
- } | {
102
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
103
- relayer: string;
104
- } | {
105
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
106
- bridge: string;
107
- }>;
108
- }) | (string & import("@hyperlane-xyz/sdk").AggregationIsmConfig) | ({
109
- validators: string[];
110
- threshold: number;
111
- } & {
112
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
113
- } & string) | ({
114
- validators: {
115
- signingAddress: string;
116
- weight: number;
117
- }[];
118
- thresholdWeight: number;
119
- } & {
120
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
121
- } & string) | ({
122
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
123
- } & string) | ({
124
- owner: string;
125
- paused: boolean;
126
- ownerOverrides?: Record<string, string> | undefined;
127
- } & {
128
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
129
- } & string) | ({
130
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
131
- origin: string;
132
- nativeBridge: string;
133
- } & string) | ({
134
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
135
- relayer: string;
136
- } & string) | ({
137
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
138
- bridge: string;
139
- } & string) | ({
140
- owner: string;
141
- ownerOverrides?: Record<string, string> | undefined;
142
- } & {
143
- type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
144
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | ({
145
- validators: string[];
146
- threshold: number;
147
- } & {
148
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
149
- }) | ({
150
- validators: {
151
- signingAddress: string;
152
- weight: number;
153
- }[];
154
- thresholdWeight: number;
155
- } & {
156
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
157
- }) | {
158
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
159
- } | ({
160
- owner: string;
161
- paused: boolean;
162
- ownerOverrides?: Record<string, string> | undefined;
163
- } & {
164
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
165
- }) | {
166
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
167
- origin: string;
168
- nativeBridge: string;
169
- } | {
170
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
171
- relayer: string;
172
- } | {
173
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
174
- bridge: string;
175
- }>;
176
- } & string) | ({
177
- owner: string;
178
- ownerOverrides?: Record<string, string> | undefined;
179
- } & {
180
- type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
181
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | ({
182
- validators: string[];
183
- threshold: number;
184
- } & {
185
- type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
186
- }) | ({
187
- validators: {
188
- signingAddress: string;
189
- weight: number;
190
- }[];
191
- thresholdWeight: number;
192
- } & {
193
- type: import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
194
- }) | {
195
- type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
196
- } | ({
197
- owner: string;
198
- paused: boolean;
199
- ownerOverrides?: Record<string, string> | undefined;
200
- } & {
201
- type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
202
- }) | {
203
- type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
204
- origin: string;
205
- nativeBridge: string;
206
- } | {
207
- type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
208
- relayer: string;
209
- } | {
210
- type: import("@hyperlane-xyz/sdk").IsmType.ARB_L2_TO_L1;
211
- bridge: string;
212
- }>;
213
- }) | (import("@hyperlane-xyz/sdk").AggregationIsmConfig & string);
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
- } | {
228
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
229
- owner: string;
230
- protocolFee: string;
231
- beneficiary: string;
232
- maxProtocolFee: string;
233
- ownerOverrides?: Record<string, string> | undefined;
234
- } | {
235
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
236
- owner: string;
237
- paused: boolean;
238
- ownerOverrides?: Record<string, string> | undefined;
239
- } | {
240
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
241
- owner: string;
242
- nativeBridge: string;
243
- destinationChain: string;
244
- ownerOverrides?: Record<string, string> | undefined;
245
- } | {
246
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
247
- destinationChain: string;
248
- arbSys: string;
249
- bridge?: string | undefined;
250
- childHook?: any;
251
- } | (string & {
252
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
253
- }) | (string & {
254
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
255
- owner: string;
256
- beneficiary: string;
257
- oracleKey: string;
258
- overhead: Record<string, number>;
259
- oracleConfig: Record<string, {
260
- gasPrice: string;
261
- tokenExchangeRate: string;
262
- }>;
263
- ownerOverrides?: Record<string, string> | undefined;
264
- }) | (string & {
265
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
266
- owner: string;
267
- protocolFee: string;
268
- beneficiary: string;
269
- maxProtocolFee: string;
270
- ownerOverrides?: Record<string, string> | undefined;
271
- }) | (string & {
272
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
273
- owner: string;
274
- paused: boolean;
275
- ownerOverrides?: Record<string, string> | undefined;
276
- }) | (string & {
277
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
278
- owner: string;
279
- nativeBridge: string;
280
- destinationChain: string;
281
- ownerOverrides?: Record<string, string> | undefined;
282
- }) | (string & {
283
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
284
- destinationChain: string;
285
- arbSys: string;
286
- bridge?: string | undefined;
287
- childHook?: any;
288
- }) | (string & {
289
- owner: string;
290
- ownerOverrides?: Record<string, string> | undefined;
291
- } & {
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
- } | {
306
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
307
- owner: string;
308
- protocolFee: string;
309
- beneficiary: string;
310
- maxProtocolFee: string;
311
- ownerOverrides?: Record<string, string> | undefined;
312
- } | {
313
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
314
- owner: string;
315
- paused: boolean;
316
- ownerOverrides?: Record<string, string> | undefined;
317
- } | {
318
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
319
- owner: string;
320
- nativeBridge: string;
321
- destinationChain: string;
322
- ownerOverrides?: Record<string, string> | undefined;
323
- } | {
324
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
325
- destinationChain: string;
326
- arbSys: string;
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;
338
- } | {
339
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
340
- owner: string;
341
- beneficiary: string;
342
- oracleKey: string;
343
- overhead: Record<string, number>;
344
- oracleConfig: Record<string, {
345
- gasPrice: string;
346
- tokenExchangeRate: string;
347
- }>;
348
- ownerOverrides?: Record<string, string> | undefined;
349
- } | {
350
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
351
- owner: string;
352
- protocolFee: string;
353
- beneficiary: string;
354
- maxProtocolFee: string;
355
- ownerOverrides?: Record<string, string> | undefined;
356
- } | {
357
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
358
- owner: string;
359
- paused: boolean;
360
- ownerOverrides?: Record<string, string> | undefined;
361
- } | {
362
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
363
- owner: string;
364
- nativeBridge: string;
365
- destinationChain: string;
366
- ownerOverrides?: Record<string, string> | undefined;
367
- } | {
368
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
369
- destinationChain: string;
370
- arbSys: string;
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;
378
- } | {
379
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
380
- owner: string;
381
- beneficiary: string;
382
- oracleKey: string;
383
- overhead: Record<string, number>;
384
- oracleConfig: Record<string, {
385
- gasPrice: string;
386
- tokenExchangeRate: string;
387
- }>;
388
- ownerOverrides?: Record<string, string> | undefined;
389
- } | {
390
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
391
- owner: string;
392
- protocolFee: string;
393
- beneficiary: string;
394
- maxProtocolFee: string;
395
- ownerOverrides?: Record<string, string> | undefined;
396
- } | {
397
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
398
- owner: string;
399
- paused: boolean;
400
- ownerOverrides?: Record<string, string> | undefined;
401
- } | {
402
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
403
- owner: string;
404
- nativeBridge: string;
405
- destinationChain: string;
406
- ownerOverrides?: Record<string, string> | undefined;
407
- } | {
408
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
409
- destinationChain: string;
410
- arbSys: string;
411
- bridge?: string | undefined;
412
- childHook?: any;
413
- };
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) | ({
428
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
429
- owner: string;
430
- protocolFee: string;
431
- beneficiary: string;
432
- maxProtocolFee: string;
433
- ownerOverrides?: Record<string, string> | undefined;
434
- } & string) | ({
435
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
436
- owner: string;
437
- paused: boolean;
438
- ownerOverrides?: Record<string, string> | undefined;
439
- } & string) | ({
440
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
441
- owner: string;
442
- nativeBridge: string;
443
- destinationChain: string;
444
- ownerOverrides?: Record<string, string> | undefined;
445
- } & string) | ({
446
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
447
- destinationChain: string;
448
- arbSys: string;
449
- bridge?: string | undefined;
450
- childHook?: any;
451
- } & string) | ({
452
- owner: string;
453
- ownerOverrides?: Record<string, string> | undefined;
454
- } & {
455
- domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
456
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
457
- } | {
458
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
459
- owner: string;
460
- beneficiary: string;
461
- oracleKey: string;
462
- overhead: Record<string, number>;
463
- oracleConfig: Record<string, {
464
- gasPrice: string;
465
- tokenExchangeRate: string;
466
- }>;
467
- ownerOverrides?: Record<string, string> | undefined;
468
- } | {
469
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
470
- owner: string;
471
- protocolFee: string;
472
- beneficiary: string;
473
- maxProtocolFee: string;
474
- ownerOverrides?: Record<string, string> | undefined;
475
- } | {
476
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
477
- owner: string;
478
- paused: boolean;
479
- ownerOverrides?: Record<string, string> | undefined;
480
- } | {
481
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
482
- owner: string;
483
- nativeBridge: string;
484
- destinationChain: string;
485
- ownerOverrides?: Record<string, string> | undefined;
486
- } | {
487
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
488
- destinationChain: string;
489
- arbSys: string;
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;
501
- } | {
502
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
503
- owner: string;
504
- beneficiary: string;
505
- oracleKey: string;
506
- overhead: Record<string, number>;
507
- oracleConfig: Record<string, {
508
- gasPrice: string;
509
- tokenExchangeRate: string;
510
- }>;
511
- ownerOverrides?: Record<string, string> | undefined;
512
- } | {
513
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
514
- owner: string;
515
- protocolFee: string;
516
- beneficiary: string;
517
- maxProtocolFee: string;
518
- ownerOverrides?: Record<string, string> | undefined;
519
- } | {
520
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
521
- owner: string;
522
- paused: boolean;
523
- ownerOverrides?: Record<string, string> | undefined;
524
- } | {
525
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
526
- owner: string;
527
- nativeBridge: string;
528
- destinationChain: string;
529
- ownerOverrides?: Record<string, string> | undefined;
530
- } | {
531
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
532
- destinationChain: string;
533
- arbSys: string;
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;
545
- } | {
546
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
547
- owner: string;
548
- beneficiary: string;
549
- oracleKey: string;
550
- overhead: Record<string, number>;
551
- oracleConfig: Record<string, {
552
- gasPrice: string;
553
- tokenExchangeRate: string;
554
- }>;
555
- ownerOverrides?: Record<string, string> | undefined;
556
- } | {
557
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
558
- owner: string;
559
- protocolFee: string;
560
- beneficiary: string;
561
- maxProtocolFee: string;
562
- ownerOverrides?: Record<string, string> | undefined;
563
- } | {
564
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
565
- owner: string;
566
- paused: boolean;
567
- ownerOverrides?: Record<string, string> | undefined;
568
- } | {
569
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
570
- owner: string;
571
- nativeBridge: string;
572
- destinationChain: string;
573
- ownerOverrides?: Record<string, string> | undefined;
574
- } | {
575
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
576
- destinationChain: string;
577
- arbSys: string;
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;
585
- } | {
586
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
587
- owner: string;
588
- beneficiary: string;
589
- oracleKey: string;
590
- overhead: Record<string, number>;
591
- oracleConfig: Record<string, {
592
- gasPrice: string;
593
- tokenExchangeRate: string;
594
- }>;
595
- ownerOverrides?: Record<string, string> | undefined;
596
- } | {
597
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
598
- owner: string;
599
- protocolFee: string;
600
- beneficiary: string;
601
- maxProtocolFee: string;
602
- ownerOverrides?: Record<string, string> | undefined;
603
- } | {
604
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
605
- owner: string;
606
- paused: boolean;
607
- ownerOverrides?: Record<string, string> | undefined;
608
- } | {
609
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
610
- owner: string;
611
- nativeBridge: string;
612
- destinationChain: string;
613
- ownerOverrides?: Record<string, string> | undefined;
614
- } | {
615
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
616
- destinationChain: string;
617
- arbSys: string;
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;
627
- } | {
628
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
629
- owner: string;
630
- beneficiary: string;
631
- oracleKey: string;
632
- overhead: Record<string, number>;
633
- oracleConfig: Record<string, {
634
- gasPrice: string;
635
- tokenExchangeRate: string;
636
- }>;
637
- ownerOverrides?: Record<string, string> | undefined;
638
- } | {
639
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
640
- owner: string;
641
- protocolFee: string;
642
- beneficiary: string;
643
- maxProtocolFee: string;
644
- ownerOverrides?: Record<string, string> | undefined;
645
- } | {
646
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
647
- owner: string;
648
- paused: boolean;
649
- ownerOverrides?: Record<string, string> | undefined;
650
- } | {
651
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
652
- owner: string;
653
- nativeBridge: string;
654
- destinationChain: string;
655
- ownerOverrides?: Record<string, string> | undefined;
656
- } | {
657
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
658
- destinationChain: string;
659
- arbSys: string;
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;
667
- } | {
668
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
669
- owner: string;
670
- beneficiary: string;
671
- oracleKey: string;
672
- overhead: Record<string, number>;
673
- oracleConfig: Record<string, {
674
- gasPrice: string;
675
- tokenExchangeRate: string;
676
- }>;
677
- ownerOverrides?: Record<string, string> | undefined;
678
- } | {
679
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
680
- owner: string;
681
- protocolFee: string;
682
- beneficiary: string;
683
- maxProtocolFee: string;
684
- ownerOverrides?: Record<string, string> | undefined;
685
- } | {
686
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
687
- owner: string;
688
- paused: boolean;
689
- ownerOverrides?: Record<string, string> | undefined;
690
- } | {
691
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
692
- owner: 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
- });
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
- } | {
718
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
719
- owner: string;
720
- protocolFee: string;
721
- beneficiary: string;
722
- maxProtocolFee: string;
723
- ownerOverrides?: Record<string, string> | undefined;
724
- } | {
725
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
726
- owner: string;
727
- paused: boolean;
728
- ownerOverrides?: Record<string, string> | undefined;
729
- } | {
730
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
731
- owner: string;
732
- nativeBridge: string;
733
- destinationChain: string;
734
- ownerOverrides?: Record<string, string> | undefined;
735
- } | {
736
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
737
- destinationChain: string;
738
- arbSys: string;
739
- bridge?: string | undefined;
740
- childHook?: any;
741
- } | (string & {
742
- type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
743
- }) | (string & {
744
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
745
- owner: string;
746
- beneficiary: string;
747
- oracleKey: string;
748
- overhead: Record<string, number>;
749
- oracleConfig: Record<string, {
750
- gasPrice: string;
751
- tokenExchangeRate: string;
752
- }>;
753
- ownerOverrides?: Record<string, string> | undefined;
754
- }) | (string & {
755
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
756
- owner: string;
757
- protocolFee: string;
758
- beneficiary: string;
759
- maxProtocolFee: string;
760
- ownerOverrides?: Record<string, string> | undefined;
761
- }) | (string & {
762
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
763
- owner: string;
764
- paused: boolean;
765
- ownerOverrides?: Record<string, string> | undefined;
766
- }) | (string & {
767
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
768
- owner: string;
769
- nativeBridge: string;
770
- destinationChain: string;
771
- ownerOverrides?: Record<string, string> | undefined;
772
- }) | (string & {
773
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
774
- destinationChain: string;
775
- arbSys: string;
776
- bridge?: string | undefined;
777
- childHook?: any;
778
- }) | (string & {
779
- owner: string;
780
- ownerOverrides?: Record<string, string> | undefined;
781
- } & {
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
- } | {
796
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
797
- owner: string;
798
- protocolFee: string;
799
- beneficiary: string;
800
- maxProtocolFee: string;
801
- ownerOverrides?: Record<string, string> | undefined;
802
- } | {
803
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
804
- owner: string;
805
- paused: boolean;
806
- ownerOverrides?: Record<string, string> | undefined;
807
- } | {
808
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
809
- owner: string;
810
- nativeBridge: string;
811
- destinationChain: string;
812
- ownerOverrides?: Record<string, string> | undefined;
813
- } | {
814
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
815
- destinationChain: string;
816
- arbSys: string;
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;
828
- } | {
829
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
830
- owner: string;
831
- beneficiary: string;
832
- oracleKey: string;
833
- overhead: Record<string, number>;
834
- oracleConfig: Record<string, {
835
- gasPrice: string;
836
- tokenExchangeRate: string;
837
- }>;
838
- ownerOverrides?: Record<string, string> | undefined;
839
- } | {
840
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
841
- owner: string;
842
- protocolFee: string;
843
- beneficiary: string;
844
- maxProtocolFee: string;
845
- ownerOverrides?: Record<string, string> | undefined;
846
- } | {
847
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
848
- owner: string;
849
- paused: boolean;
850
- ownerOverrides?: Record<string, string> | undefined;
851
- } | {
852
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
853
- owner: string;
854
- nativeBridge: string;
855
- destinationChain: string;
856
- ownerOverrides?: Record<string, string> | undefined;
857
- } | {
858
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
859
- destinationChain: string;
860
- arbSys: string;
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;
868
- } | {
869
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
870
- owner: string;
871
- beneficiary: string;
872
- oracleKey: string;
873
- overhead: Record<string, number>;
874
- oracleConfig: Record<string, {
875
- gasPrice: string;
876
- tokenExchangeRate: string;
877
- }>;
878
- ownerOverrides?: Record<string, string> | undefined;
879
- } | {
880
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
881
- owner: string;
882
- protocolFee: string;
883
- beneficiary: string;
884
- maxProtocolFee: string;
885
- ownerOverrides?: Record<string, string> | undefined;
886
- } | {
887
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
888
- owner: string;
889
- paused: boolean;
890
- ownerOverrides?: Record<string, string> | undefined;
891
- } | {
892
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
893
- owner: string;
894
- nativeBridge: string;
895
- destinationChain: string;
896
- ownerOverrides?: Record<string, string> | undefined;
897
- } | {
898
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
899
- destinationChain: string;
900
- arbSys: string;
901
- bridge?: string | undefined;
902
- childHook?: any;
903
- };
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) | ({
918
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
919
- owner: string;
920
- protocolFee: string;
921
- beneficiary: string;
922
- maxProtocolFee: string;
923
- ownerOverrides?: Record<string, string> | undefined;
924
- } & string) | ({
925
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
926
- owner: string;
927
- paused: boolean;
928
- ownerOverrides?: Record<string, string> | undefined;
929
- } & string) | ({
930
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
931
- owner: string;
932
- nativeBridge: string;
933
- destinationChain: string;
934
- ownerOverrides?: Record<string, string> | undefined;
935
- } & string) | ({
936
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
937
- destinationChain: string;
938
- arbSys: string;
939
- bridge?: string | undefined;
940
- childHook?: any;
941
- } & string) | ({
942
- owner: string;
943
- ownerOverrides?: Record<string, string> | undefined;
944
- } & {
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
- } | {
959
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
960
- owner: string;
961
- protocolFee: string;
962
- beneficiary: string;
963
- maxProtocolFee: string;
964
- ownerOverrides?: Record<string, string> | undefined;
965
- } | {
966
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
967
- owner: string;
968
- paused: boolean;
969
- ownerOverrides?: Record<string, string> | undefined;
970
- } | {
971
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
972
- owner: string;
973
- nativeBridge: string;
974
- destinationChain: string;
975
- ownerOverrides?: Record<string, string> | undefined;
976
- } | {
977
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
978
- destinationChain: string;
979
- arbSys: string;
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;
991
- } | {
992
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
993
- owner: string;
994
- beneficiary: string;
995
- oracleKey: string;
996
- overhead: Record<string, number>;
997
- oracleConfig: Record<string, {
998
- gasPrice: string;
999
- tokenExchangeRate: string;
1000
- }>;
1001
- ownerOverrides?: Record<string, string> | undefined;
1002
- } | {
1003
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
1004
- owner: string;
1005
- protocolFee: string;
1006
- beneficiary: string;
1007
- maxProtocolFee: string;
1008
- ownerOverrides?: Record<string, string> | undefined;
1009
- } | {
1010
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
1011
- owner: string;
1012
- paused: boolean;
1013
- ownerOverrides?: Record<string, string> | undefined;
1014
- } | {
1015
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
1016
- owner: string;
1017
- nativeBridge: string;
1018
- destinationChain: string;
1019
- ownerOverrides?: Record<string, string> | undefined;
1020
- } | {
1021
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
1022
- destinationChain: string;
1023
- arbSys: string;
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;
1035
- } | {
1036
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
1037
- owner: string;
1038
- beneficiary: string;
1039
- oracleKey: string;
1040
- overhead: Record<string, number>;
1041
- oracleConfig: Record<string, {
1042
- gasPrice: string;
1043
- tokenExchangeRate: string;
1044
- }>;
1045
- ownerOverrides?: Record<string, string> | undefined;
1046
- } | {
1047
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
1048
- owner: string;
1049
- protocolFee: string;
1050
- beneficiary: string;
1051
- maxProtocolFee: string;
1052
- ownerOverrides?: Record<string, string> | undefined;
1053
- } | {
1054
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
1055
- owner: string;
1056
- paused: boolean;
1057
- ownerOverrides?: Record<string, string> | undefined;
1058
- } | {
1059
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
1060
- owner: string;
1061
- nativeBridge: string;
1062
- destinationChain: string;
1063
- ownerOverrides?: Record<string, string> | undefined;
1064
- } | {
1065
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
1066
- destinationChain: string;
1067
- arbSys: string;
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;
1075
- } | {
1076
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
1077
- owner: string;
1078
- beneficiary: string;
1079
- oracleKey: string;
1080
- overhead: Record<string, number>;
1081
- oracleConfig: Record<string, {
1082
- gasPrice: string;
1083
- tokenExchangeRate: string;
1084
- }>;
1085
- ownerOverrides?: Record<string, string> | undefined;
1086
- } | {
1087
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
1088
- owner: string;
1089
- protocolFee: string;
1090
- beneficiary: string;
1091
- maxProtocolFee: string;
1092
- ownerOverrides?: Record<string, string> | undefined;
1093
- } | {
1094
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
1095
- owner: string;
1096
- paused: boolean;
1097
- ownerOverrides?: Record<string, string> | undefined;
1098
- } | {
1099
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
1100
- owner: string;
1101
- nativeBridge: string;
1102
- destinationChain: string;
1103
- ownerOverrides?: Record<string, string> | undefined;
1104
- } | {
1105
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
1106
- destinationChain: string;
1107
- arbSys: string;
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;
1117
- } | {
1118
- type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
1119
- owner: string;
1120
- beneficiary: string;
1121
- oracleKey: string;
1122
- overhead: Record<string, number>;
1123
- oracleConfig: Record<string, {
1124
- gasPrice: string;
1125
- tokenExchangeRate: string;
1126
- }>;
1127
- ownerOverrides?: Record<string, string> | undefined;
1128
- } | {
1129
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
1130
- owner: string;
1131
- protocolFee: string;
1132
- beneficiary: string;
1133
- maxProtocolFee: string;
1134
- ownerOverrides?: Record<string, string> | undefined;
1135
- } | {
1136
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
1137
- owner: string;
1138
- paused: boolean;
1139
- ownerOverrides?: Record<string, string> | undefined;
1140
- } | {
1141
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
1142
- owner: string;
1143
- nativeBridge: string;
1144
- destinationChain: string;
1145
- ownerOverrides?: Record<string, string> | undefined;
1146
- } | {
1147
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
1148
- destinationChain: string;
1149
- arbSys: string;
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;
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;
1168
- } | {
1169
- type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
1170
- owner: string;
1171
- protocolFee: string;
1172
- beneficiary: string;
1173
- maxProtocolFee: string;
1174
- ownerOverrides?: Record<string, string> | undefined;
1175
- } | {
1176
- type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
1177
- owner: string;
1178
- paused: boolean;
1179
- ownerOverrides?: Record<string, string> | undefined;
1180
- } | {
1181
- type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
1182
- owner: string;
1183
- nativeBridge: string;
1184
- destinationChain: string;
1185
- ownerOverrides?: Record<string, string> | undefined;
1186
- } | {
1187
- type: import("@hyperlane-xyz/sdk").HookType.ARB_L2_TO_L1;
1188
- destinationChain: string;
1189
- arbSys: string;
1190
- bridge?: string | undefined;
1191
- childHook?: any;
1192
- };
1193
- });
1194
- ownerOverrides?: Record<string, string> | undefined;
1195
- proxyAdmin?: {
1196
- owner: string;
1197
- ownerOverrides?: Record<string, string> | undefined;
1198
- address?: string | undefined;
1199
- } | undefined;
1200
- }>;
8
+ export declare function readCoreDeployConfigs(filePath: string): CoreConfig;
1201
9
  //# sourceMappingURL=core.d.ts.map