@hyperlane-xyz/sdk 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.
- package/dist/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +119 -14
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/consts/multisigIsm.test.js +13 -0
- package/dist/consts/multisigIsm.test.js.map +1 -1
- package/dist/contracts/contracts.d.ts +3 -0
- package/dist/contracts/contracts.d.ts.map +1 -1
- package/dist/contracts/contracts.js +15 -1
- package/dist/contracts/contracts.js.map +1 -1
- package/dist/core/EvmCoreModule.d.ts.map +1 -1
- package/dist/core/EvmCoreModule.js +2 -8
- package/dist/core/EvmCoreModule.js.map +1 -1
- package/dist/core/HyperlaneCore.d.ts.map +1 -1
- package/dist/core/HyperlaneCore.js +5 -2
- package/dist/core/HyperlaneCore.js.map +1 -1
- package/dist/core/HyperlaneRelayer.d.ts +37 -32
- package/dist/core/HyperlaneRelayer.d.ts.map +1 -1
- package/dist/core/HyperlaneRelayer.js +6 -6
- package/dist/core/HyperlaneRelayer.js.map +1 -1
- package/dist/core/schemas.d.ts +1007 -953
- package/dist/core/schemas.d.ts.map +1 -1
- package/dist/deploy/HyperlaneDeployer.d.ts +1 -0
- package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
- package/dist/deploy/HyperlaneDeployer.js +2 -2
- package/dist/deploy/HyperlaneDeployer.js.map +1 -1
- package/dist/deploy/types.d.ts +2 -1
- package/dist/deploy/types.d.ts.map +1 -1
- package/dist/deploy/types.js.map +1 -1
- package/dist/deploy/verify/PostDeploymentContractVerifier.d.ts.map +1 -1
- package/dist/deploy/verify/PostDeploymentContractVerifier.js +1 -1
- package/dist/deploy/verify/PostDeploymentContractVerifier.js.map +1 -1
- package/dist/deploy/verify/utils.d.ts +36 -0
- package/dist/deploy/verify/utils.d.ts.map +1 -1
- package/dist/deploy/verify/utils.js +100 -1
- package/dist/deploy/verify/utils.js.map +1 -1
- package/dist/gas/utils.d.ts +38 -0
- package/dist/gas/utils.d.ts.map +1 -0
- package/dist/gas/utils.js +145 -0
- package/dist/gas/utils.js.map +1 -0
- package/dist/hook/EvmHookModule.d.ts +9 -4
- package/dist/hook/EvmHookModule.d.ts.map +1 -1
- package/dist/hook/EvmHookModule.js +43 -81
- package/dist/hook/EvmHookModule.js.map +1 -1
- package/dist/hook/EvmHookReader.d.ts +3 -1
- package/dist/hook/EvmHookReader.d.ts.map +1 -1
- package/dist/hook/EvmHookReader.js +9 -2
- package/dist/hook/EvmHookReader.js.map +1 -1
- package/dist/hook/schemas.d.ts +10 -4
- package/dist/hook/schemas.d.ts.map +1 -1
- package/dist/hook/schemas.js +1 -0
- package/dist/hook/schemas.js.map +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/ism/EvmIsmModule.d.ts +5 -24
- package/dist/ism/EvmIsmModule.d.ts.map +1 -1
- package/dist/ism/EvmIsmModule.js +22 -222
- package/dist/ism/EvmIsmModule.js.map +1 -1
- package/dist/ism/EvmIsmReader.d.ts +3 -1
- package/dist/ism/EvmIsmReader.d.ts.map +1 -1
- package/dist/ism/EvmIsmReader.js +10 -4
- package/dist/ism/EvmIsmReader.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts +17 -4
- package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +0 -1
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.js +30 -17
- package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
- package/dist/ism/metadata/arbL2ToL1.hardhat-test.js +20 -5
- package/dist/ism/metadata/arbL2ToL1.hardhat-test.js.map +1 -1
- package/dist/metadata/agentConfig.d.ts +5 -5
- package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
- package/dist/middleware/account/InterchainAccount.js +4 -1
- package/dist/middleware/account/InterchainAccount.js.map +1 -1
- package/dist/router/ProxiedRouterDeployer.d.ts.map +1 -1
- package/dist/router/ProxiedRouterDeployer.js +10 -2
- package/dist/router/ProxiedRouterDeployer.js.map +1 -1
- package/dist/router/schemas.d.ts +155 -90
- package/dist/router/schemas.d.ts.map +1 -1
- package/dist/router/schemas.js +6 -1
- package/dist/router/schemas.js.map +1 -1
- package/dist/router/types.d.ts +2 -1
- package/dist/router/types.d.ts.map +1 -1
- package/dist/router/types.js.map +1 -1
- package/dist/schemas.d.ts +13 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +3 -0
- package/dist/schemas.js.map +1 -1
- package/dist/token/EvmERC20WarpModule.d.ts +9 -0
- package/dist/token/EvmERC20WarpModule.d.ts.map +1 -1
- package/dist/token/EvmERC20WarpModule.hardhat-test.js +67 -2
- package/dist/token/EvmERC20WarpModule.hardhat-test.js.map +1 -1
- package/dist/token/EvmERC20WarpModule.js +61 -10
- package/dist/token/EvmERC20WarpModule.js.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.d.ts +4 -1
- package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.js +26 -1
- package/dist/token/EvmERC20WarpRouteReader.js.map +1 -1
- package/dist/token/IToken.d.ts +2 -2
- package/dist/token/deploy.d.ts.map +1 -1
- package/dist/token/deploy.js +14 -6
- package/dist/token/deploy.js.map +1 -1
- package/dist/token/schemas.d.ts +206 -116
- package/dist/token/schemas.d.ts.map +1 -1
- package/dist/utils/cosmos.d.ts +12 -12
- package/dist/warp/types.d.ts +4 -4
- package/package.json +3 -3
- package/dist/deploy/EvmModuleDeployer.d.ts +0 -93
- package/dist/deploy/EvmModuleDeployer.d.ts.map +0 -1
- package/dist/deploy/EvmModuleDeployer.js +0 -187
- package/dist/deploy/EvmModuleDeployer.js.map +0 -1
package/dist/core/schemas.d.ts
CHANGED
|
@@ -112,16 +112,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
113
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
114
114
|
owner: string;
|
|
115
|
+
protocolFee: string;
|
|
115
116
|
beneficiary: string;
|
|
116
117
|
maxProtocolFee: string;
|
|
117
|
-
protocolFee: string;
|
|
118
118
|
ownerOverrides?: Record<string, string> | undefined;
|
|
119
119
|
}, {
|
|
120
120
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
121
121
|
owner: string;
|
|
122
|
+
protocolFee: string;
|
|
122
123
|
beneficiary: string;
|
|
123
124
|
maxProtocolFee: string;
|
|
124
|
-
protocolFee: string;
|
|
125
125
|
ownerOverrides?: Record<string, string> | undefined;
|
|
126
126
|
}>, z.ZodObject<{
|
|
127
127
|
owner: z.ZodString;
|
|
@@ -206,16 +206,19 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
206
206
|
arbSys: z.ZodString;
|
|
207
207
|
bridge: z.ZodOptional<z.ZodString>;
|
|
208
208
|
destinationChain: z.ZodString;
|
|
209
|
+
childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
209
210
|
}, "strip", z.ZodTypeAny, {
|
|
210
211
|
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
211
212
|
destinationChain: string;
|
|
212
213
|
arbSys: string;
|
|
213
214
|
bridge?: string | undefined;
|
|
215
|
+
childHook?: any;
|
|
214
216
|
}, {
|
|
215
217
|
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
216
218
|
destinationChain: string;
|
|
217
219
|
arbSys: string;
|
|
218
220
|
bridge?: string | undefined;
|
|
221
|
+
childHook?: any;
|
|
219
222
|
}>]>;
|
|
220
223
|
requiredHook: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
221
224
|
owner: z.ZodString;
|
|
@@ -227,16 +230,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
227
230
|
}, "strip", z.ZodTypeAny, {
|
|
228
231
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
229
232
|
owner: string;
|
|
233
|
+
protocolFee: string;
|
|
230
234
|
beneficiary: string;
|
|
231
235
|
maxProtocolFee: string;
|
|
232
|
-
protocolFee: string;
|
|
233
236
|
ownerOverrides?: Record<string, string> | undefined;
|
|
234
237
|
}, {
|
|
235
238
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
236
239
|
owner: string;
|
|
240
|
+
protocolFee: string;
|
|
237
241
|
beneficiary: string;
|
|
238
242
|
maxProtocolFee: string;
|
|
239
|
-
protocolFee: string;
|
|
240
243
|
ownerOverrides?: Record<string, string> | undefined;
|
|
241
244
|
}>, z.ZodObject<{
|
|
242
245
|
owner: z.ZodString;
|
|
@@ -321,28 +324,247 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
321
324
|
arbSys: z.ZodString;
|
|
322
325
|
bridge: z.ZodOptional<z.ZodString>;
|
|
323
326
|
destinationChain: z.ZodString;
|
|
327
|
+
childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
324
328
|
}, "strip", z.ZodTypeAny, {
|
|
325
329
|
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
326
330
|
destinationChain: string;
|
|
327
331
|
arbSys: string;
|
|
328
332
|
bridge?: string | undefined;
|
|
333
|
+
childHook?: any;
|
|
329
334
|
}, {
|
|
330
335
|
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
331
336
|
destinationChain: string;
|
|
332
337
|
arbSys: string;
|
|
333
338
|
bridge?: string | undefined;
|
|
339
|
+
childHook?: any;
|
|
334
340
|
}>]>;
|
|
335
341
|
}, "strip", z.ZodTypeAny, {
|
|
336
342
|
owner: string;
|
|
343
|
+
defaultIsm: string | {
|
|
344
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
345
|
+
} | {
|
|
346
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
347
|
+
relayer: string;
|
|
348
|
+
} | {
|
|
349
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
350
|
+
origin: string;
|
|
351
|
+
nativeBridge: string;
|
|
352
|
+
} | {
|
|
353
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
354
|
+
bridge: string;
|
|
355
|
+
} | ({
|
|
356
|
+
owner: string;
|
|
357
|
+
paused: boolean;
|
|
358
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
359
|
+
} & {
|
|
360
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
361
|
+
}) | ({
|
|
362
|
+
validators: string[];
|
|
363
|
+
threshold: number;
|
|
364
|
+
} & {
|
|
365
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
366
|
+
}) | ({
|
|
367
|
+
validators: {
|
|
368
|
+
signingAddress: string;
|
|
369
|
+
weight: number;
|
|
370
|
+
}[];
|
|
371
|
+
thresholdWeight: number;
|
|
372
|
+
} & {
|
|
373
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
374
|
+
}) | import("../index.js").AggregationIsmConfig | (string & {
|
|
375
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
376
|
+
}) | (string & {
|
|
377
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
378
|
+
relayer: string;
|
|
379
|
+
}) | (string & {
|
|
380
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
381
|
+
origin: string;
|
|
382
|
+
nativeBridge: string;
|
|
383
|
+
}) | (string & {
|
|
384
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
385
|
+
bridge: string;
|
|
386
|
+
}) | (string & {
|
|
387
|
+
owner: string;
|
|
388
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
389
|
+
} & {
|
|
390
|
+
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
391
|
+
domains: import("../types.js").ChainMap<string | {
|
|
392
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
393
|
+
} | {
|
|
394
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
395
|
+
relayer: string;
|
|
396
|
+
} | {
|
|
397
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
398
|
+
origin: string;
|
|
399
|
+
nativeBridge: string;
|
|
400
|
+
} | {
|
|
401
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
402
|
+
bridge: string;
|
|
403
|
+
} | import("../index.js").RoutingIsmConfig | ({
|
|
404
|
+
owner: string;
|
|
405
|
+
paused: boolean;
|
|
406
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
407
|
+
} & {
|
|
408
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
409
|
+
}) | ({
|
|
410
|
+
validators: string[];
|
|
411
|
+
threshold: number;
|
|
412
|
+
} & {
|
|
413
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
414
|
+
}) | ({
|
|
415
|
+
validators: {
|
|
416
|
+
signingAddress: string;
|
|
417
|
+
weight: number;
|
|
418
|
+
}[];
|
|
419
|
+
thresholdWeight: number;
|
|
420
|
+
} & {
|
|
421
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
422
|
+
}) | import("../index.js").AggregationIsmConfig>;
|
|
423
|
+
}) | (string & {
|
|
424
|
+
owner: string;
|
|
425
|
+
paused: boolean;
|
|
426
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
427
|
+
} & {
|
|
428
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
429
|
+
}) | (string & {
|
|
430
|
+
validators: string[];
|
|
431
|
+
threshold: number;
|
|
432
|
+
} & {
|
|
433
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
434
|
+
}) | (string & {
|
|
435
|
+
validators: {
|
|
436
|
+
signingAddress: string;
|
|
437
|
+
weight: number;
|
|
438
|
+
}[];
|
|
439
|
+
thresholdWeight: number;
|
|
440
|
+
} & {
|
|
441
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
442
|
+
}) | (string & import("../index.js").AggregationIsmConfig) | ({
|
|
443
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
444
|
+
} & string) | ({
|
|
445
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
446
|
+
relayer: string;
|
|
447
|
+
} & string) | ({
|
|
448
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
449
|
+
origin: string;
|
|
450
|
+
nativeBridge: string;
|
|
451
|
+
} & string) | ({
|
|
452
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
453
|
+
bridge: string;
|
|
454
|
+
} & string) | ({
|
|
455
|
+
owner: string;
|
|
456
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
457
|
+
} & {
|
|
458
|
+
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
459
|
+
domains: import("../types.js").ChainMap<string | {
|
|
460
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
461
|
+
} | {
|
|
462
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
463
|
+
relayer: string;
|
|
464
|
+
} | {
|
|
465
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
466
|
+
origin: string;
|
|
467
|
+
nativeBridge: string;
|
|
468
|
+
} | {
|
|
469
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
470
|
+
bridge: string;
|
|
471
|
+
} | import("../index.js").RoutingIsmConfig | ({
|
|
472
|
+
owner: string;
|
|
473
|
+
paused: boolean;
|
|
474
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
475
|
+
} & {
|
|
476
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
477
|
+
}) | ({
|
|
478
|
+
validators: string[];
|
|
479
|
+
threshold: number;
|
|
480
|
+
} & {
|
|
481
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
482
|
+
}) | ({
|
|
483
|
+
validators: {
|
|
484
|
+
signingAddress: string;
|
|
485
|
+
weight: number;
|
|
486
|
+
}[];
|
|
487
|
+
thresholdWeight: number;
|
|
488
|
+
} & {
|
|
489
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
490
|
+
}) | import("../index.js").AggregationIsmConfig>;
|
|
491
|
+
} & string) | ({
|
|
492
|
+
owner: string;
|
|
493
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
494
|
+
} & {
|
|
495
|
+
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
496
|
+
domains: import("../types.js").ChainMap<string | {
|
|
497
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
498
|
+
} | {
|
|
499
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
500
|
+
relayer: string;
|
|
501
|
+
} | {
|
|
502
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
503
|
+
origin: string;
|
|
504
|
+
nativeBridge: string;
|
|
505
|
+
} | {
|
|
506
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
507
|
+
bridge: string;
|
|
508
|
+
} | import("../index.js").RoutingIsmConfig | ({
|
|
509
|
+
owner: string;
|
|
510
|
+
paused: boolean;
|
|
511
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
512
|
+
} & {
|
|
513
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
514
|
+
}) | ({
|
|
515
|
+
validators: string[];
|
|
516
|
+
threshold: number;
|
|
517
|
+
} & {
|
|
518
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
519
|
+
}) | ({
|
|
520
|
+
validators: {
|
|
521
|
+
signingAddress: string;
|
|
522
|
+
weight: number;
|
|
523
|
+
}[];
|
|
524
|
+
thresholdWeight: number;
|
|
525
|
+
} & {
|
|
526
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
527
|
+
}) | import("../index.js").AggregationIsmConfig>;
|
|
528
|
+
}) | ({
|
|
529
|
+
owner: string;
|
|
530
|
+
paused: boolean;
|
|
531
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
532
|
+
} & {
|
|
533
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
534
|
+
} & string) | ({
|
|
535
|
+
validators: string[];
|
|
536
|
+
threshold: number;
|
|
537
|
+
} & {
|
|
538
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
539
|
+
} & string) | ({
|
|
540
|
+
validators: {
|
|
541
|
+
signingAddress: string;
|
|
542
|
+
weight: number;
|
|
543
|
+
}[];
|
|
544
|
+
thresholdWeight: number;
|
|
545
|
+
} & {
|
|
546
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
547
|
+
} & string) | (import("../index.js").AggregationIsmConfig & string);
|
|
337
548
|
defaultHook: string | {
|
|
549
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
550
|
+
} | {
|
|
551
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
552
|
+
owner: string;
|
|
553
|
+
beneficiary: string;
|
|
554
|
+
oracleKey: string;
|
|
555
|
+
overhead: Record<string, number>;
|
|
556
|
+
oracleConfig: Record<string, {
|
|
557
|
+
gasPrice: string;
|
|
558
|
+
tokenExchangeRate: string;
|
|
559
|
+
}>;
|
|
560
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
561
|
+
} | {
|
|
338
562
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
339
563
|
owner: string;
|
|
564
|
+
protocolFee: string;
|
|
340
565
|
beneficiary: string;
|
|
341
566
|
maxProtocolFee: string;
|
|
342
|
-
protocolFee: string;
|
|
343
567
|
ownerOverrides?: Record<string, string> | undefined;
|
|
344
|
-
} | {
|
|
345
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
346
568
|
} | {
|
|
347
569
|
type: import("../index.js").HookType.PAUSABLE;
|
|
348
570
|
owner: string;
|
|
@@ -359,7 +581,10 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
359
581
|
destinationChain: string;
|
|
360
582
|
arbSys: string;
|
|
361
583
|
bridge?: string | undefined;
|
|
362
|
-
|
|
584
|
+
childHook?: any;
|
|
585
|
+
} | import("../index.js").AggregationHookConfig | (string & {
|
|
586
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
587
|
+
}) | (string & {
|
|
363
588
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
364
589
|
owner: string;
|
|
365
590
|
beneficiary: string;
|
|
@@ -370,15 +595,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
370
595
|
tokenExchangeRate: string;
|
|
371
596
|
}>;
|
|
372
597
|
ownerOverrides?: Record<string, string> | undefined;
|
|
373
|
-
}
|
|
598
|
+
}) | (string & {
|
|
374
599
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
375
600
|
owner: string;
|
|
601
|
+
protocolFee: string;
|
|
376
602
|
beneficiary: string;
|
|
377
603
|
maxProtocolFee: string;
|
|
378
|
-
protocolFee: string;
|
|
379
604
|
ownerOverrides?: Record<string, string> | undefined;
|
|
380
|
-
}) | (string & {
|
|
381
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
382
605
|
}) | (string & {
|
|
383
606
|
type: import("../index.js").HookType.PAUSABLE;
|
|
384
607
|
owner: string;
|
|
@@ -395,30 +618,31 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
395
618
|
destinationChain: string;
|
|
396
619
|
arbSys: string;
|
|
397
620
|
bridge?: string | undefined;
|
|
398
|
-
|
|
399
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
400
|
-
owner: string;
|
|
401
|
-
beneficiary: string;
|
|
402
|
-
oracleKey: string;
|
|
403
|
-
overhead: Record<string, number>;
|
|
404
|
-
oracleConfig: Record<string, {
|
|
405
|
-
gasPrice: string;
|
|
406
|
-
tokenExchangeRate: string;
|
|
407
|
-
}>;
|
|
408
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
621
|
+
childHook?: any;
|
|
409
622
|
}) | (string & {
|
|
410
623
|
owner: string;
|
|
411
624
|
ownerOverrides?: Record<string, string> | undefined;
|
|
412
625
|
} & {
|
|
413
626
|
domains: import("../types.js").ChainMap<string | {
|
|
414
|
-
type: import("../index.js").HookType.
|
|
627
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
628
|
+
} | {
|
|
629
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
415
630
|
owner: string;
|
|
416
631
|
beneficiary: string;
|
|
417
|
-
|
|
418
|
-
|
|
632
|
+
oracleKey: string;
|
|
633
|
+
overhead: Record<string, number>;
|
|
634
|
+
oracleConfig: Record<string, {
|
|
635
|
+
gasPrice: string;
|
|
636
|
+
tokenExchangeRate: string;
|
|
637
|
+
}>;
|
|
419
638
|
ownerOverrides?: Record<string, string> | undefined;
|
|
420
639
|
} | {
|
|
421
|
-
type: import("../index.js").HookType.
|
|
640
|
+
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
641
|
+
owner: string;
|
|
642
|
+
protocolFee: string;
|
|
643
|
+
beneficiary: string;
|
|
644
|
+
maxProtocolFee: string;
|
|
645
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
422
646
|
} | {
|
|
423
647
|
type: import("../index.js").HookType.PAUSABLE;
|
|
424
648
|
owner: string;
|
|
@@ -435,6 +659,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
435
659
|
destinationChain: string;
|
|
436
660
|
arbSys: string;
|
|
437
661
|
bridge?: string | undefined;
|
|
662
|
+
childHook?: any;
|
|
663
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
664
|
+
} & {
|
|
665
|
+
type: import("../index.js").HookType.ROUTING;
|
|
666
|
+
}) | (string & {
|
|
667
|
+
owner: string;
|
|
668
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
669
|
+
} & {
|
|
670
|
+
domains: import("../types.js").ChainMap<string | {
|
|
671
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
438
672
|
} | {
|
|
439
673
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
440
674
|
owner: string;
|
|
@@ -446,22 +680,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
446
680
|
tokenExchangeRate: string;
|
|
447
681
|
}>;
|
|
448
682
|
ownerOverrides?: Record<string, string> | undefined;
|
|
449
|
-
} |
|
|
450
|
-
} & {
|
|
451
|
-
type: import("../index.js").HookType.ROUTING;
|
|
452
|
-
}) | (string & {
|
|
453
|
-
owner: string;
|
|
454
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
455
|
-
} & {
|
|
456
|
-
domains: import("../types.js").ChainMap<string | {
|
|
683
|
+
} | {
|
|
457
684
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
458
685
|
owner: string;
|
|
686
|
+
protocolFee: string;
|
|
459
687
|
beneficiary: string;
|
|
460
688
|
maxProtocolFee: string;
|
|
461
|
-
protocolFee: string;
|
|
462
689
|
ownerOverrides?: Record<string, string> | undefined;
|
|
463
|
-
} | {
|
|
464
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
465
690
|
} | {
|
|
466
691
|
type: import("../index.js").HookType.PAUSABLE;
|
|
467
692
|
owner: string;
|
|
@@ -478,6 +703,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
478
703
|
destinationChain: string;
|
|
479
704
|
arbSys: string;
|
|
480
705
|
bridge?: string | undefined;
|
|
706
|
+
childHook?: any;
|
|
707
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
708
|
+
} & {
|
|
709
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
710
|
+
fallback: string | {
|
|
711
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
481
712
|
} | {
|
|
482
713
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
483
714
|
owner: string;
|
|
@@ -489,18 +720,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
489
720
|
tokenExchangeRate: string;
|
|
490
721
|
}>;
|
|
491
722
|
ownerOverrides?: Record<string, string> | undefined;
|
|
492
|
-
} |
|
|
493
|
-
} & {
|
|
494
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
495
|
-
fallback: string | {
|
|
723
|
+
} | {
|
|
496
724
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
497
725
|
owner: string;
|
|
726
|
+
protocolFee: string;
|
|
498
727
|
beneficiary: string;
|
|
499
728
|
maxProtocolFee: string;
|
|
500
|
-
protocolFee: string;
|
|
501
729
|
ownerOverrides?: Record<string, string> | undefined;
|
|
502
|
-
} | {
|
|
503
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
504
730
|
} | {
|
|
505
731
|
type: import("../index.js").HookType.PAUSABLE;
|
|
506
732
|
owner: string;
|
|
@@ -517,27 +743,28 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
517
743
|
destinationChain: string;
|
|
518
744
|
arbSys: string;
|
|
519
745
|
bridge?: string | undefined;
|
|
520
|
-
|
|
521
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
522
|
-
owner: string;
|
|
523
|
-
beneficiary: string;
|
|
524
|
-
oracleKey: string;
|
|
525
|
-
overhead: Record<string, number>;
|
|
526
|
-
oracleConfig: Record<string, {
|
|
527
|
-
gasPrice: string;
|
|
528
|
-
tokenExchangeRate: string;
|
|
529
|
-
}>;
|
|
530
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
746
|
+
childHook?: any;
|
|
531
747
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
532
748
|
}) | (string & import("../index.js").AggregationHookConfig) | ({
|
|
749
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
750
|
+
} & string) | ({
|
|
751
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
752
|
+
owner: string;
|
|
753
|
+
beneficiary: string;
|
|
754
|
+
oracleKey: string;
|
|
755
|
+
overhead: Record<string, number>;
|
|
756
|
+
oracleConfig: Record<string, {
|
|
757
|
+
gasPrice: string;
|
|
758
|
+
tokenExchangeRate: string;
|
|
759
|
+
}>;
|
|
760
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
761
|
+
} & string) | ({
|
|
533
762
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
534
763
|
owner: string;
|
|
764
|
+
protocolFee: string;
|
|
535
765
|
beneficiary: string;
|
|
536
766
|
maxProtocolFee: string;
|
|
537
|
-
protocolFee: string;
|
|
538
767
|
ownerOverrides?: Record<string, string> | undefined;
|
|
539
|
-
} & string) | ({
|
|
540
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
541
768
|
} & string) | ({
|
|
542
769
|
type: import("../index.js").HookType.PAUSABLE;
|
|
543
770
|
owner: string;
|
|
@@ -554,30 +781,31 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
554
781
|
destinationChain: string;
|
|
555
782
|
arbSys: string;
|
|
556
783
|
bridge?: string | undefined;
|
|
557
|
-
|
|
558
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
559
|
-
owner: string;
|
|
560
|
-
beneficiary: string;
|
|
561
|
-
oracleKey: string;
|
|
562
|
-
overhead: Record<string, number>;
|
|
563
|
-
oracleConfig: Record<string, {
|
|
564
|
-
gasPrice: string;
|
|
565
|
-
tokenExchangeRate: string;
|
|
566
|
-
}>;
|
|
567
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
784
|
+
childHook?: any;
|
|
568
785
|
} & string) | ({
|
|
569
786
|
owner: string;
|
|
570
787
|
ownerOverrides?: Record<string, string> | undefined;
|
|
571
788
|
} & {
|
|
572
789
|
domains: import("../types.js").ChainMap<string | {
|
|
790
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
791
|
+
} | {
|
|
792
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
793
|
+
owner: string;
|
|
794
|
+
beneficiary: string;
|
|
795
|
+
oracleKey: string;
|
|
796
|
+
overhead: Record<string, number>;
|
|
797
|
+
oracleConfig: Record<string, {
|
|
798
|
+
gasPrice: string;
|
|
799
|
+
tokenExchangeRate: string;
|
|
800
|
+
}>;
|
|
801
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
802
|
+
} | {
|
|
573
803
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
574
804
|
owner: string;
|
|
805
|
+
protocolFee: string;
|
|
575
806
|
beneficiary: string;
|
|
576
807
|
maxProtocolFee: string;
|
|
577
|
-
protocolFee: string;
|
|
578
808
|
ownerOverrides?: Record<string, string> | undefined;
|
|
579
|
-
} | {
|
|
580
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
581
809
|
} | {
|
|
582
810
|
type: import("../index.js").HookType.PAUSABLE;
|
|
583
811
|
owner: string;
|
|
@@ -594,6 +822,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
594
822
|
destinationChain: string;
|
|
595
823
|
arbSys: string;
|
|
596
824
|
bridge?: string | undefined;
|
|
825
|
+
childHook?: any;
|
|
826
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
827
|
+
} & {
|
|
828
|
+
type: import("../index.js").HookType.ROUTING;
|
|
829
|
+
} & string) | ({
|
|
830
|
+
owner: string;
|
|
831
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
832
|
+
} & {
|
|
833
|
+
domains: import("../types.js").ChainMap<string | {
|
|
834
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
597
835
|
} | {
|
|
598
836
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
599
837
|
owner: string;
|
|
@@ -605,22 +843,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
605
843
|
tokenExchangeRate: string;
|
|
606
844
|
}>;
|
|
607
845
|
ownerOverrides?: Record<string, string> | undefined;
|
|
608
|
-
} |
|
|
609
|
-
} & {
|
|
610
|
-
type: import("../index.js").HookType.ROUTING;
|
|
611
|
-
} & string) | ({
|
|
612
|
-
owner: string;
|
|
613
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
614
|
-
} & {
|
|
615
|
-
domains: import("../types.js").ChainMap<string | {
|
|
846
|
+
} | {
|
|
616
847
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
617
848
|
owner: string;
|
|
849
|
+
protocolFee: string;
|
|
618
850
|
beneficiary: string;
|
|
619
851
|
maxProtocolFee: string;
|
|
620
|
-
protocolFee: string;
|
|
621
852
|
ownerOverrides?: Record<string, string> | undefined;
|
|
622
|
-
} | {
|
|
623
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
624
853
|
} | {
|
|
625
854
|
type: import("../index.js").HookType.PAUSABLE;
|
|
626
855
|
owner: string;
|
|
@@ -637,6 +866,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
637
866
|
destinationChain: string;
|
|
638
867
|
arbSys: string;
|
|
639
868
|
bridge?: string | undefined;
|
|
869
|
+
childHook?: any;
|
|
870
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
871
|
+
} & {
|
|
872
|
+
type: import("../index.js").HookType.ROUTING;
|
|
873
|
+
}) | ({
|
|
874
|
+
owner: string;
|
|
875
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
876
|
+
} & {
|
|
877
|
+
domains: import("../types.js").ChainMap<string | {
|
|
878
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
640
879
|
} | {
|
|
641
880
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
642
881
|
owner: string;
|
|
@@ -648,22 +887,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
648
887
|
tokenExchangeRate: string;
|
|
649
888
|
}>;
|
|
650
889
|
ownerOverrides?: Record<string, string> | undefined;
|
|
651
|
-
} |
|
|
652
|
-
} & {
|
|
653
|
-
type: import("../index.js").HookType.ROUTING;
|
|
654
|
-
}) | ({
|
|
655
|
-
owner: string;
|
|
656
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
657
|
-
} & {
|
|
658
|
-
domains: import("../types.js").ChainMap<string | {
|
|
890
|
+
} | {
|
|
659
891
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
660
892
|
owner: string;
|
|
893
|
+
protocolFee: string;
|
|
661
894
|
beneficiary: string;
|
|
662
895
|
maxProtocolFee: string;
|
|
663
|
-
protocolFee: string;
|
|
664
896
|
ownerOverrides?: Record<string, string> | undefined;
|
|
665
|
-
} | {
|
|
666
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
667
897
|
} | {
|
|
668
898
|
type: import("../index.js").HookType.PAUSABLE;
|
|
669
899
|
owner: string;
|
|
@@ -680,6 +910,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
680
910
|
destinationChain: string;
|
|
681
911
|
arbSys: string;
|
|
682
912
|
bridge?: string | undefined;
|
|
913
|
+
childHook?: any;
|
|
914
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
915
|
+
} & {
|
|
916
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
917
|
+
fallback: string | {
|
|
918
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
683
919
|
} | {
|
|
684
920
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
685
921
|
owner: string;
|
|
@@ -691,18 +927,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
691
927
|
tokenExchangeRate: string;
|
|
692
928
|
}>;
|
|
693
929
|
ownerOverrides?: Record<string, string> | undefined;
|
|
694
|
-
} |
|
|
695
|
-
} & {
|
|
696
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
697
|
-
fallback: string | {
|
|
930
|
+
} | {
|
|
698
931
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
699
932
|
owner: string;
|
|
933
|
+
protocolFee: string;
|
|
700
934
|
beneficiary: string;
|
|
701
935
|
maxProtocolFee: string;
|
|
702
|
-
protocolFee: string;
|
|
703
936
|
ownerOverrides?: Record<string, string> | undefined;
|
|
704
|
-
} | {
|
|
705
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
706
937
|
} | {
|
|
707
938
|
type: import("../index.js").HookType.PAUSABLE;
|
|
708
939
|
owner: string;
|
|
@@ -719,6 +950,14 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
719
950
|
destinationChain: string;
|
|
720
951
|
arbSys: string;
|
|
721
952
|
bridge?: string | undefined;
|
|
953
|
+
childHook?: any;
|
|
954
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
955
|
+
} & string) | ({
|
|
956
|
+
owner: string;
|
|
957
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
958
|
+
} & {
|
|
959
|
+
domains: import("../types.js").ChainMap<string | {
|
|
960
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
722
961
|
} | {
|
|
723
962
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
724
963
|
owner: string;
|
|
@@ -730,20 +969,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
730
969
|
tokenExchangeRate: string;
|
|
731
970
|
}>;
|
|
732
971
|
ownerOverrides?: Record<string, string> | undefined;
|
|
733
|
-
} |
|
|
734
|
-
} & string) | ({
|
|
735
|
-
owner: string;
|
|
736
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
737
|
-
} & {
|
|
738
|
-
domains: import("../types.js").ChainMap<string | {
|
|
972
|
+
} | {
|
|
739
973
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
740
974
|
owner: string;
|
|
975
|
+
protocolFee: string;
|
|
741
976
|
beneficiary: string;
|
|
742
977
|
maxProtocolFee: string;
|
|
743
|
-
protocolFee: string;
|
|
744
978
|
ownerOverrides?: Record<string, string> | undefined;
|
|
745
|
-
} | {
|
|
746
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
747
979
|
} | {
|
|
748
980
|
type: import("../index.js").HookType.PAUSABLE;
|
|
749
981
|
owner: string;
|
|
@@ -760,6 +992,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
760
992
|
destinationChain: string;
|
|
761
993
|
arbSys: string;
|
|
762
994
|
bridge?: string | undefined;
|
|
995
|
+
childHook?: any;
|
|
996
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
997
|
+
} & {
|
|
998
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
999
|
+
fallback: string | {
|
|
1000
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
763
1001
|
} | {
|
|
764
1002
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
765
1003
|
owner: string;
|
|
@@ -771,18 +1009,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
771
1009
|
tokenExchangeRate: string;
|
|
772
1010
|
}>;
|
|
773
1011
|
ownerOverrides?: Record<string, string> | undefined;
|
|
774
|
-
} |
|
|
775
|
-
} & {
|
|
776
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
777
|
-
fallback: string | {
|
|
1012
|
+
} | {
|
|
778
1013
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
779
1014
|
owner: string;
|
|
1015
|
+
protocolFee: string;
|
|
780
1016
|
beneficiary: string;
|
|
781
1017
|
maxProtocolFee: string;
|
|
782
|
-
protocolFee: string;
|
|
783
1018
|
ownerOverrides?: Record<string, string> | undefined;
|
|
784
|
-
} | {
|
|
785
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
786
1019
|
} | {
|
|
787
1020
|
type: import("../index.js").HookType.PAUSABLE;
|
|
788
1021
|
owner: string;
|
|
@@ -799,235 +1032,31 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
799
1032
|
destinationChain: string;
|
|
800
1033
|
arbSys: string;
|
|
801
1034
|
bridge?: string | undefined;
|
|
802
|
-
|
|
803
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
804
|
-
owner: string;
|
|
805
|
-
beneficiary: string;
|
|
806
|
-
oracleKey: string;
|
|
807
|
-
overhead: Record<string, number>;
|
|
808
|
-
oracleConfig: Record<string, {
|
|
809
|
-
gasPrice: string;
|
|
810
|
-
tokenExchangeRate: string;
|
|
811
|
-
}>;
|
|
812
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1035
|
+
childHook?: any;
|
|
813
1036
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
814
1037
|
}) | (import("../index.js").AggregationHookConfig & string);
|
|
815
|
-
|
|
816
|
-
type: import("../index.js").
|
|
1038
|
+
requiredHook: string | {
|
|
1039
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
817
1040
|
} | {
|
|
818
|
-
type: import("../index.js").
|
|
819
|
-
|
|
1041
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1042
|
+
owner: string;
|
|
1043
|
+
beneficiary: string;
|
|
1044
|
+
oracleKey: string;
|
|
1045
|
+
overhead: Record<string, number>;
|
|
1046
|
+
oracleConfig: Record<string, {
|
|
1047
|
+
gasPrice: string;
|
|
1048
|
+
tokenExchangeRate: string;
|
|
1049
|
+
}>;
|
|
1050
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
820
1051
|
} | {
|
|
821
|
-
type: import("../index.js").
|
|
822
|
-
|
|
823
|
-
|
|
1052
|
+
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1053
|
+
owner: string;
|
|
1054
|
+
protocolFee: string;
|
|
1055
|
+
beneficiary: string;
|
|
1056
|
+
maxProtocolFee: string;
|
|
1057
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
824
1058
|
} | {
|
|
825
|
-
type: import("../index.js").
|
|
826
|
-
bridge: string;
|
|
827
|
-
} | ({
|
|
828
|
-
owner: string;
|
|
829
|
-
paused: boolean;
|
|
830
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
831
|
-
} & {
|
|
832
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
833
|
-
}) | ({
|
|
834
|
-
validators: string[];
|
|
835
|
-
threshold: number;
|
|
836
|
-
} & {
|
|
837
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
838
|
-
}) | ({
|
|
839
|
-
validators: {
|
|
840
|
-
signingAddress: string;
|
|
841
|
-
weight: number;
|
|
842
|
-
}[];
|
|
843
|
-
thresholdWeight: number;
|
|
844
|
-
} & {
|
|
845
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
846
|
-
}) | import("../index.js").AggregationIsmConfig | (string & {
|
|
847
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
848
|
-
}) | (string & {
|
|
849
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
850
|
-
relayer: string;
|
|
851
|
-
}) | (string & {
|
|
852
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
853
|
-
origin: string;
|
|
854
|
-
nativeBridge: string;
|
|
855
|
-
}) | (string & {
|
|
856
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
857
|
-
bridge: string;
|
|
858
|
-
}) | (string & {
|
|
859
|
-
owner: string;
|
|
860
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
861
|
-
} & {
|
|
862
|
-
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
863
|
-
domains: import("../types.js").ChainMap<string | {
|
|
864
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
865
|
-
} | {
|
|
866
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
867
|
-
relayer: string;
|
|
868
|
-
} | {
|
|
869
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
870
|
-
origin: string;
|
|
871
|
-
nativeBridge: string;
|
|
872
|
-
} | {
|
|
873
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
874
|
-
bridge: string;
|
|
875
|
-
} | import("../index.js").RoutingIsmConfig | ({
|
|
876
|
-
owner: string;
|
|
877
|
-
paused: boolean;
|
|
878
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
879
|
-
} & {
|
|
880
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
881
|
-
}) | ({
|
|
882
|
-
validators: string[];
|
|
883
|
-
threshold: number;
|
|
884
|
-
} & {
|
|
885
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
886
|
-
}) | ({
|
|
887
|
-
validators: {
|
|
888
|
-
signingAddress: string;
|
|
889
|
-
weight: number;
|
|
890
|
-
}[];
|
|
891
|
-
thresholdWeight: number;
|
|
892
|
-
} & {
|
|
893
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
894
|
-
}) | import("../index.js").AggregationIsmConfig>;
|
|
895
|
-
}) | (string & {
|
|
896
|
-
owner: string;
|
|
897
|
-
paused: boolean;
|
|
898
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
899
|
-
} & {
|
|
900
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
901
|
-
}) | (string & {
|
|
902
|
-
validators: string[];
|
|
903
|
-
threshold: number;
|
|
904
|
-
} & {
|
|
905
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
906
|
-
}) | (string & {
|
|
907
|
-
validators: {
|
|
908
|
-
signingAddress: string;
|
|
909
|
-
weight: number;
|
|
910
|
-
}[];
|
|
911
|
-
thresholdWeight: number;
|
|
912
|
-
} & {
|
|
913
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
914
|
-
}) | (string & import("../index.js").AggregationIsmConfig) | ({
|
|
915
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
916
|
-
} & string) | ({
|
|
917
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
918
|
-
relayer: string;
|
|
919
|
-
} & string) | ({
|
|
920
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
921
|
-
origin: string;
|
|
922
|
-
nativeBridge: string;
|
|
923
|
-
} & string) | ({
|
|
924
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
925
|
-
bridge: string;
|
|
926
|
-
} & string) | ({
|
|
927
|
-
owner: string;
|
|
928
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
929
|
-
} & {
|
|
930
|
-
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
931
|
-
domains: import("../types.js").ChainMap<string | {
|
|
932
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
933
|
-
} | {
|
|
934
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
935
|
-
relayer: string;
|
|
936
|
-
} | {
|
|
937
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
938
|
-
origin: string;
|
|
939
|
-
nativeBridge: string;
|
|
940
|
-
} | {
|
|
941
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
942
|
-
bridge: string;
|
|
943
|
-
} | import("../index.js").RoutingIsmConfig | ({
|
|
944
|
-
owner: string;
|
|
945
|
-
paused: boolean;
|
|
946
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
947
|
-
} & {
|
|
948
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
949
|
-
}) | ({
|
|
950
|
-
validators: string[];
|
|
951
|
-
threshold: number;
|
|
952
|
-
} & {
|
|
953
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
954
|
-
}) | ({
|
|
955
|
-
validators: {
|
|
956
|
-
signingAddress: string;
|
|
957
|
-
weight: number;
|
|
958
|
-
}[];
|
|
959
|
-
thresholdWeight: number;
|
|
960
|
-
} & {
|
|
961
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
962
|
-
}) | import("../index.js").AggregationIsmConfig>;
|
|
963
|
-
} & string) | ({
|
|
964
|
-
owner: string;
|
|
965
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
966
|
-
} & {
|
|
967
|
-
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
968
|
-
domains: import("../types.js").ChainMap<string | {
|
|
969
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
970
|
-
} | {
|
|
971
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
972
|
-
relayer: string;
|
|
973
|
-
} | {
|
|
974
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
975
|
-
origin: string;
|
|
976
|
-
nativeBridge: string;
|
|
977
|
-
} | {
|
|
978
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
979
|
-
bridge: string;
|
|
980
|
-
} | import("../index.js").RoutingIsmConfig | ({
|
|
981
|
-
owner: string;
|
|
982
|
-
paused: boolean;
|
|
983
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
984
|
-
} & {
|
|
985
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
986
|
-
}) | ({
|
|
987
|
-
validators: string[];
|
|
988
|
-
threshold: number;
|
|
989
|
-
} & {
|
|
990
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
991
|
-
}) | ({
|
|
992
|
-
validators: {
|
|
993
|
-
signingAddress: string;
|
|
994
|
-
weight: number;
|
|
995
|
-
}[];
|
|
996
|
-
thresholdWeight: number;
|
|
997
|
-
} & {
|
|
998
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
999
|
-
}) | import("../index.js").AggregationIsmConfig>;
|
|
1000
|
-
}) | ({
|
|
1001
|
-
owner: string;
|
|
1002
|
-
paused: boolean;
|
|
1003
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1004
|
-
} & {
|
|
1005
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
1006
|
-
} & string) | ({
|
|
1007
|
-
validators: string[];
|
|
1008
|
-
threshold: number;
|
|
1009
|
-
} & {
|
|
1010
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
1011
|
-
} & string) | ({
|
|
1012
|
-
validators: {
|
|
1013
|
-
signingAddress: string;
|
|
1014
|
-
weight: number;
|
|
1015
|
-
}[];
|
|
1016
|
-
thresholdWeight: number;
|
|
1017
|
-
} & {
|
|
1018
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1019
|
-
} & string) | (import("../index.js").AggregationIsmConfig & string);
|
|
1020
|
-
requiredHook: string | {
|
|
1021
|
-
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1022
|
-
owner: string;
|
|
1023
|
-
beneficiary: string;
|
|
1024
|
-
maxProtocolFee: string;
|
|
1025
|
-
protocolFee: string;
|
|
1026
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1027
|
-
} | {
|
|
1028
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1029
|
-
} | {
|
|
1030
|
-
type: import("../index.js").HookType.PAUSABLE;
|
|
1059
|
+
type: import("../index.js").HookType.PAUSABLE;
|
|
1031
1060
|
owner: string;
|
|
1032
1061
|
paused: boolean;
|
|
1033
1062
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -1042,7 +1071,10 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1042
1071
|
destinationChain: string;
|
|
1043
1072
|
arbSys: string;
|
|
1044
1073
|
bridge?: string | undefined;
|
|
1045
|
-
|
|
1074
|
+
childHook?: any;
|
|
1075
|
+
} | import("../index.js").AggregationHookConfig | (string & {
|
|
1076
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1077
|
+
}) | (string & {
|
|
1046
1078
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1047
1079
|
owner: string;
|
|
1048
1080
|
beneficiary: string;
|
|
@@ -1053,15 +1085,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1053
1085
|
tokenExchangeRate: string;
|
|
1054
1086
|
}>;
|
|
1055
1087
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1056
|
-
}
|
|
1088
|
+
}) | (string & {
|
|
1057
1089
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1058
1090
|
owner: string;
|
|
1091
|
+
protocolFee: string;
|
|
1059
1092
|
beneficiary: string;
|
|
1060
1093
|
maxProtocolFee: string;
|
|
1061
|
-
protocolFee: string;
|
|
1062
1094
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1063
|
-
}) | (string & {
|
|
1064
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1065
1095
|
}) | (string & {
|
|
1066
1096
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1067
1097
|
owner: string;
|
|
@@ -1078,30 +1108,31 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1078
1108
|
destinationChain: string;
|
|
1079
1109
|
arbSys: string;
|
|
1080
1110
|
bridge?: string | undefined;
|
|
1081
|
-
|
|
1082
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1083
|
-
owner: string;
|
|
1084
|
-
beneficiary: string;
|
|
1085
|
-
oracleKey: string;
|
|
1086
|
-
overhead: Record<string, number>;
|
|
1087
|
-
oracleConfig: Record<string, {
|
|
1088
|
-
gasPrice: string;
|
|
1089
|
-
tokenExchangeRate: string;
|
|
1090
|
-
}>;
|
|
1091
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1111
|
+
childHook?: any;
|
|
1092
1112
|
}) | (string & {
|
|
1093
1113
|
owner: string;
|
|
1094
1114
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1095
1115
|
} & {
|
|
1096
1116
|
domains: import("../types.js").ChainMap<string | {
|
|
1117
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1118
|
+
} | {
|
|
1119
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1120
|
+
owner: string;
|
|
1121
|
+
beneficiary: string;
|
|
1122
|
+
oracleKey: string;
|
|
1123
|
+
overhead: Record<string, number>;
|
|
1124
|
+
oracleConfig: Record<string, {
|
|
1125
|
+
gasPrice: string;
|
|
1126
|
+
tokenExchangeRate: string;
|
|
1127
|
+
}>;
|
|
1128
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1129
|
+
} | {
|
|
1097
1130
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1098
1131
|
owner: string;
|
|
1132
|
+
protocolFee: string;
|
|
1099
1133
|
beneficiary: string;
|
|
1100
1134
|
maxProtocolFee: string;
|
|
1101
|
-
protocolFee: string;
|
|
1102
1135
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1103
|
-
} | {
|
|
1104
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1105
1136
|
} | {
|
|
1106
1137
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1107
1138
|
owner: string;
|
|
@@ -1118,6 +1149,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1118
1149
|
destinationChain: string;
|
|
1119
1150
|
arbSys: string;
|
|
1120
1151
|
bridge?: string | undefined;
|
|
1152
|
+
childHook?: any;
|
|
1153
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1154
|
+
} & {
|
|
1155
|
+
type: import("../index.js").HookType.ROUTING;
|
|
1156
|
+
}) | (string & {
|
|
1157
|
+
owner: string;
|
|
1158
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1159
|
+
} & {
|
|
1160
|
+
domains: import("../types.js").ChainMap<string | {
|
|
1161
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1121
1162
|
} | {
|
|
1122
1163
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1123
1164
|
owner: string;
|
|
@@ -1129,22 +1170,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1129
1170
|
tokenExchangeRate: string;
|
|
1130
1171
|
}>;
|
|
1131
1172
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1132
|
-
} |
|
|
1133
|
-
} & {
|
|
1134
|
-
type: import("../index.js").HookType.ROUTING;
|
|
1135
|
-
}) | (string & {
|
|
1136
|
-
owner: string;
|
|
1137
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1138
|
-
} & {
|
|
1139
|
-
domains: import("../types.js").ChainMap<string | {
|
|
1173
|
+
} | {
|
|
1140
1174
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1141
1175
|
owner: string;
|
|
1176
|
+
protocolFee: string;
|
|
1142
1177
|
beneficiary: string;
|
|
1143
1178
|
maxProtocolFee: string;
|
|
1144
|
-
protocolFee: string;
|
|
1145
1179
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1146
|
-
} | {
|
|
1147
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1148
1180
|
} | {
|
|
1149
1181
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1150
1182
|
owner: string;
|
|
@@ -1161,6 +1193,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1161
1193
|
destinationChain: string;
|
|
1162
1194
|
arbSys: string;
|
|
1163
1195
|
bridge?: string | undefined;
|
|
1196
|
+
childHook?: any;
|
|
1197
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1198
|
+
} & {
|
|
1199
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1200
|
+
fallback: string | {
|
|
1201
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1164
1202
|
} | {
|
|
1165
1203
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1166
1204
|
owner: string;
|
|
@@ -1172,18 +1210,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1172
1210
|
tokenExchangeRate: string;
|
|
1173
1211
|
}>;
|
|
1174
1212
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1175
|
-
} |
|
|
1176
|
-
} & {
|
|
1177
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1178
|
-
fallback: string | {
|
|
1213
|
+
} | {
|
|
1179
1214
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1180
1215
|
owner: string;
|
|
1216
|
+
protocolFee: string;
|
|
1181
1217
|
beneficiary: string;
|
|
1182
1218
|
maxProtocolFee: string;
|
|
1183
|
-
protocolFee: string;
|
|
1184
1219
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1185
|
-
} | {
|
|
1186
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1187
1220
|
} | {
|
|
1188
1221
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1189
1222
|
owner: string;
|
|
@@ -1200,27 +1233,28 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1200
1233
|
destinationChain: string;
|
|
1201
1234
|
arbSys: string;
|
|
1202
1235
|
bridge?: string | undefined;
|
|
1203
|
-
|
|
1204
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1205
|
-
owner: string;
|
|
1206
|
-
beneficiary: string;
|
|
1207
|
-
oracleKey: string;
|
|
1208
|
-
overhead: Record<string, number>;
|
|
1209
|
-
oracleConfig: Record<string, {
|
|
1210
|
-
gasPrice: string;
|
|
1211
|
-
tokenExchangeRate: string;
|
|
1212
|
-
}>;
|
|
1213
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1236
|
+
childHook?: any;
|
|
1214
1237
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
1215
1238
|
}) | (string & import("../index.js").AggregationHookConfig) | ({
|
|
1239
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1240
|
+
} & string) | ({
|
|
1241
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1242
|
+
owner: string;
|
|
1243
|
+
beneficiary: string;
|
|
1244
|
+
oracleKey: string;
|
|
1245
|
+
overhead: Record<string, number>;
|
|
1246
|
+
oracleConfig: Record<string, {
|
|
1247
|
+
gasPrice: string;
|
|
1248
|
+
tokenExchangeRate: string;
|
|
1249
|
+
}>;
|
|
1250
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1251
|
+
} & string) | ({
|
|
1216
1252
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1217
1253
|
owner: string;
|
|
1254
|
+
protocolFee: string;
|
|
1218
1255
|
beneficiary: string;
|
|
1219
1256
|
maxProtocolFee: string;
|
|
1220
|
-
protocolFee: string;
|
|
1221
1257
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1222
|
-
} & string) | ({
|
|
1223
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1224
1258
|
} & string) | ({
|
|
1225
1259
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1226
1260
|
owner: string;
|
|
@@ -1237,30 +1271,31 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1237
1271
|
destinationChain: string;
|
|
1238
1272
|
arbSys: string;
|
|
1239
1273
|
bridge?: string | undefined;
|
|
1240
|
-
|
|
1241
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1242
|
-
owner: string;
|
|
1243
|
-
beneficiary: string;
|
|
1244
|
-
oracleKey: string;
|
|
1245
|
-
overhead: Record<string, number>;
|
|
1246
|
-
oracleConfig: Record<string, {
|
|
1247
|
-
gasPrice: string;
|
|
1248
|
-
tokenExchangeRate: string;
|
|
1249
|
-
}>;
|
|
1250
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1274
|
+
childHook?: any;
|
|
1251
1275
|
} & string) | ({
|
|
1252
1276
|
owner: string;
|
|
1253
1277
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1254
1278
|
} & {
|
|
1255
1279
|
domains: import("../types.js").ChainMap<string | {
|
|
1280
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1281
|
+
} | {
|
|
1282
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1283
|
+
owner: string;
|
|
1284
|
+
beneficiary: string;
|
|
1285
|
+
oracleKey: string;
|
|
1286
|
+
overhead: Record<string, number>;
|
|
1287
|
+
oracleConfig: Record<string, {
|
|
1288
|
+
gasPrice: string;
|
|
1289
|
+
tokenExchangeRate: string;
|
|
1290
|
+
}>;
|
|
1291
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1292
|
+
} | {
|
|
1256
1293
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1257
1294
|
owner: string;
|
|
1295
|
+
protocolFee: string;
|
|
1258
1296
|
beneficiary: string;
|
|
1259
1297
|
maxProtocolFee: string;
|
|
1260
|
-
protocolFee: string;
|
|
1261
1298
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1262
|
-
} | {
|
|
1263
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1264
1299
|
} | {
|
|
1265
1300
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1266
1301
|
owner: string;
|
|
@@ -1277,6 +1312,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1277
1312
|
destinationChain: string;
|
|
1278
1313
|
arbSys: string;
|
|
1279
1314
|
bridge?: string | undefined;
|
|
1315
|
+
childHook?: any;
|
|
1316
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1317
|
+
} & {
|
|
1318
|
+
type: import("../index.js").HookType.ROUTING;
|
|
1319
|
+
} & string) | ({
|
|
1320
|
+
owner: string;
|
|
1321
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1322
|
+
} & {
|
|
1323
|
+
domains: import("../types.js").ChainMap<string | {
|
|
1324
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1280
1325
|
} | {
|
|
1281
1326
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1282
1327
|
owner: string;
|
|
@@ -1288,22 +1333,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1288
1333
|
tokenExchangeRate: string;
|
|
1289
1334
|
}>;
|
|
1290
1335
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1291
|
-
} |
|
|
1292
|
-
} & {
|
|
1293
|
-
type: import("../index.js").HookType.ROUTING;
|
|
1294
|
-
} & string) | ({
|
|
1295
|
-
owner: string;
|
|
1296
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1297
|
-
} & {
|
|
1298
|
-
domains: import("../types.js").ChainMap<string | {
|
|
1336
|
+
} | {
|
|
1299
1337
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1300
1338
|
owner: string;
|
|
1339
|
+
protocolFee: string;
|
|
1301
1340
|
beneficiary: string;
|
|
1302
1341
|
maxProtocolFee: string;
|
|
1303
|
-
protocolFee: string;
|
|
1304
1342
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1305
|
-
} | {
|
|
1306
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1307
1343
|
} | {
|
|
1308
1344
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1309
1345
|
owner: string;
|
|
@@ -1320,6 +1356,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1320
1356
|
destinationChain: string;
|
|
1321
1357
|
arbSys: string;
|
|
1322
1358
|
bridge?: string | undefined;
|
|
1359
|
+
childHook?: any;
|
|
1360
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1361
|
+
} & {
|
|
1362
|
+
type: import("../index.js").HookType.ROUTING;
|
|
1363
|
+
}) | ({
|
|
1364
|
+
owner: string;
|
|
1365
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1366
|
+
} & {
|
|
1367
|
+
domains: import("../types.js").ChainMap<string | {
|
|
1368
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1323
1369
|
} | {
|
|
1324
1370
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1325
1371
|
owner: string;
|
|
@@ -1331,22 +1377,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1331
1377
|
tokenExchangeRate: string;
|
|
1332
1378
|
}>;
|
|
1333
1379
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1334
|
-
} |
|
|
1335
|
-
} & {
|
|
1336
|
-
type: import("../index.js").HookType.ROUTING;
|
|
1337
|
-
}) | ({
|
|
1338
|
-
owner: string;
|
|
1339
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1340
|
-
} & {
|
|
1341
|
-
domains: import("../types.js").ChainMap<string | {
|
|
1380
|
+
} | {
|
|
1342
1381
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1343
1382
|
owner: string;
|
|
1383
|
+
protocolFee: string;
|
|
1344
1384
|
beneficiary: string;
|
|
1345
1385
|
maxProtocolFee: string;
|
|
1346
|
-
protocolFee: string;
|
|
1347
1386
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1348
|
-
} | {
|
|
1349
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1350
1387
|
} | {
|
|
1351
1388
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1352
1389
|
owner: string;
|
|
@@ -1363,6 +1400,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1363
1400
|
destinationChain: string;
|
|
1364
1401
|
arbSys: string;
|
|
1365
1402
|
bridge?: string | undefined;
|
|
1403
|
+
childHook?: any;
|
|
1404
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1405
|
+
} & {
|
|
1406
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1407
|
+
fallback: string | {
|
|
1408
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1366
1409
|
} | {
|
|
1367
1410
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1368
1411
|
owner: string;
|
|
@@ -1374,18 +1417,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1374
1417
|
tokenExchangeRate: string;
|
|
1375
1418
|
}>;
|
|
1376
1419
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1377
|
-
} |
|
|
1378
|
-
} & {
|
|
1379
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1380
|
-
fallback: string | {
|
|
1420
|
+
} | {
|
|
1381
1421
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1382
1422
|
owner: string;
|
|
1423
|
+
protocolFee: string;
|
|
1383
1424
|
beneficiary: string;
|
|
1384
1425
|
maxProtocolFee: string;
|
|
1385
|
-
protocolFee: string;
|
|
1386
1426
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1387
|
-
} | {
|
|
1388
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1389
1427
|
} | {
|
|
1390
1428
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1391
1429
|
owner: string;
|
|
@@ -1402,6 +1440,14 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1402
1440
|
destinationChain: string;
|
|
1403
1441
|
arbSys: string;
|
|
1404
1442
|
bridge?: string | undefined;
|
|
1443
|
+
childHook?: any;
|
|
1444
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
1445
|
+
} & string) | ({
|
|
1446
|
+
owner: string;
|
|
1447
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1448
|
+
} & {
|
|
1449
|
+
domains: import("../types.js").ChainMap<string | {
|
|
1450
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1405
1451
|
} | {
|
|
1406
1452
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1407
1453
|
owner: string;
|
|
@@ -1413,20 +1459,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1413
1459
|
tokenExchangeRate: string;
|
|
1414
1460
|
}>;
|
|
1415
1461
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1416
|
-
} |
|
|
1417
|
-
} & string) | ({
|
|
1418
|
-
owner: string;
|
|
1419
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1420
|
-
} & {
|
|
1421
|
-
domains: import("../types.js").ChainMap<string | {
|
|
1462
|
+
} | {
|
|
1422
1463
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1423
1464
|
owner: string;
|
|
1465
|
+
protocolFee: string;
|
|
1424
1466
|
beneficiary: string;
|
|
1425
1467
|
maxProtocolFee: string;
|
|
1426
|
-
protocolFee: string;
|
|
1427
1468
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1428
|
-
} | {
|
|
1429
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1430
1469
|
} | {
|
|
1431
1470
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1432
1471
|
owner: string;
|
|
@@ -1443,6 +1482,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1443
1482
|
destinationChain: string;
|
|
1444
1483
|
arbSys: string;
|
|
1445
1484
|
bridge?: string | undefined;
|
|
1485
|
+
childHook?: any;
|
|
1486
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1487
|
+
} & {
|
|
1488
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1489
|
+
fallback: string | {
|
|
1490
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1446
1491
|
} | {
|
|
1447
1492
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1448
1493
|
owner: string;
|
|
@@ -1454,18 +1499,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1454
1499
|
tokenExchangeRate: string;
|
|
1455
1500
|
}>;
|
|
1456
1501
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1457
|
-
} |
|
|
1458
|
-
} & {
|
|
1459
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1460
|
-
fallback: string | {
|
|
1502
|
+
} | {
|
|
1461
1503
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1462
1504
|
owner: string;
|
|
1505
|
+
protocolFee: string;
|
|
1463
1506
|
beneficiary: string;
|
|
1464
1507
|
maxProtocolFee: string;
|
|
1465
|
-
protocolFee: string;
|
|
1466
1508
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1467
|
-
} | {
|
|
1468
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1469
1509
|
} | {
|
|
1470
1510
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1471
1511
|
owner: string;
|
|
@@ -1482,130 +1522,260 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1482
1522
|
destinationChain: string;
|
|
1483
1523
|
arbSys: string;
|
|
1484
1524
|
bridge?: string | undefined;
|
|
1485
|
-
|
|
1486
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1487
|
-
owner: string;
|
|
1488
|
-
beneficiary: string;
|
|
1489
|
-
oracleKey: string;
|
|
1490
|
-
overhead: Record<string, number>;
|
|
1491
|
-
oracleConfig: Record<string, {
|
|
1492
|
-
gasPrice: string;
|
|
1493
|
-
tokenExchangeRate: string;
|
|
1494
|
-
}>;
|
|
1495
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1525
|
+
childHook?: any;
|
|
1496
1526
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
1497
1527
|
}) | (import("../index.js").AggregationHookConfig & string);
|
|
1498
1528
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1499
1529
|
}, {
|
|
1500
1530
|
owner: string;
|
|
1501
|
-
|
|
1502
|
-
type: import("../index.js").
|
|
1503
|
-
owner: string;
|
|
1504
|
-
beneficiary: string;
|
|
1505
|
-
maxProtocolFee: string;
|
|
1506
|
-
protocolFee: string;
|
|
1507
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1508
|
-
} | {
|
|
1509
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1531
|
+
defaultIsm: string | {
|
|
1532
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
1510
1533
|
} | {
|
|
1511
|
-
type: import("../index.js").
|
|
1512
|
-
|
|
1513
|
-
paused: boolean;
|
|
1514
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1534
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
1535
|
+
relayer: string;
|
|
1515
1536
|
} | {
|
|
1516
|
-
type: import("../index.js").
|
|
1517
|
-
|
|
1537
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
1538
|
+
origin: string;
|
|
1518
1539
|
nativeBridge: string;
|
|
1519
|
-
destinationChain: string;
|
|
1520
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1521
|
-
} | {
|
|
1522
|
-
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
1523
|
-
destinationChain: string;
|
|
1524
|
-
arbSys: string;
|
|
1525
|
-
bridge?: string | undefined;
|
|
1526
1540
|
} | {
|
|
1527
|
-
type: import("../index.js").
|
|
1541
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
1542
|
+
bridge: string;
|
|
1543
|
+
} | ({
|
|
1528
1544
|
owner: string;
|
|
1529
|
-
|
|
1530
|
-
oracleKey: string;
|
|
1531
|
-
overhead: Record<string, number>;
|
|
1532
|
-
oracleConfig: Record<string, {
|
|
1533
|
-
gasPrice: string;
|
|
1534
|
-
tokenExchangeRate: string;
|
|
1535
|
-
}>;
|
|
1545
|
+
paused: boolean;
|
|
1536
1546
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1537
|
-
}
|
|
1547
|
+
} & {
|
|
1548
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
1549
|
+
}) | ({
|
|
1550
|
+
validators: string[];
|
|
1551
|
+
threshold: number;
|
|
1552
|
+
} & {
|
|
1553
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
1554
|
+
}) | ({
|
|
1555
|
+
validators: {
|
|
1556
|
+
signingAddress: string;
|
|
1557
|
+
weight: number;
|
|
1558
|
+
}[];
|
|
1559
|
+
thresholdWeight: number;
|
|
1560
|
+
} & {
|
|
1561
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1562
|
+
}) | import("../index.js").AggregationIsmConfig | (string & {
|
|
1538
1563
|
owner: string;
|
|
1539
1564
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1540
1565
|
} & {
|
|
1566
|
+
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
1541
1567
|
domains: import("../types.js").ChainMap<string | {
|
|
1542
|
-
type: import("../index.js").
|
|
1543
|
-
owner: string;
|
|
1544
|
-
beneficiary: string;
|
|
1545
|
-
maxProtocolFee: string;
|
|
1546
|
-
protocolFee: string;
|
|
1547
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1548
|
-
} | {
|
|
1549
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1568
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
1550
1569
|
} | {
|
|
1551
|
-
type: import("../index.js").
|
|
1552
|
-
|
|
1553
|
-
paused: boolean;
|
|
1554
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1570
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
1571
|
+
relayer: string;
|
|
1555
1572
|
} | {
|
|
1556
|
-
type: import("../index.js").
|
|
1557
|
-
|
|
1573
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
1574
|
+
origin: string;
|
|
1558
1575
|
nativeBridge: string;
|
|
1559
|
-
destinationChain: string;
|
|
1560
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1561
|
-
} | {
|
|
1562
|
-
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
1563
|
-
destinationChain: string;
|
|
1564
|
-
arbSys: string;
|
|
1565
|
-
bridge?: string | undefined;
|
|
1566
1576
|
} | {
|
|
1567
|
-
type: import("../index.js").
|
|
1577
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
1578
|
+
bridge: string;
|
|
1579
|
+
} | import("../index.js").RoutingIsmConfig | ({
|
|
1568
1580
|
owner: string;
|
|
1569
|
-
|
|
1570
|
-
oracleKey: string;
|
|
1571
|
-
overhead: Record<string, number>;
|
|
1572
|
-
oracleConfig: Record<string, {
|
|
1573
|
-
gasPrice: string;
|
|
1574
|
-
tokenExchangeRate: string;
|
|
1575
|
-
}>;
|
|
1581
|
+
paused: boolean;
|
|
1576
1582
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1577
|
-
}
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1583
|
+
} & {
|
|
1584
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
1585
|
+
}) | ({
|
|
1586
|
+
validators: string[];
|
|
1587
|
+
threshold: number;
|
|
1588
|
+
} & {
|
|
1589
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
1590
|
+
}) | ({
|
|
1591
|
+
validators: {
|
|
1592
|
+
signingAddress: string;
|
|
1593
|
+
weight: number;
|
|
1594
|
+
}[];
|
|
1595
|
+
thresholdWeight: number;
|
|
1596
|
+
} & {
|
|
1597
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1598
|
+
}) | import("../index.js").AggregationIsmConfig>;
|
|
1599
|
+
}) | (string & import("../index.js").AggregationIsmConfig) | ({
|
|
1581
1600
|
owner: string;
|
|
1582
1601
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1583
1602
|
} & {
|
|
1603
|
+
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
1584
1604
|
domains: import("../types.js").ChainMap<string | {
|
|
1585
|
-
type: import("../index.js").
|
|
1586
|
-
owner: string;
|
|
1587
|
-
beneficiary: string;
|
|
1588
|
-
maxProtocolFee: string;
|
|
1589
|
-
protocolFee: string;
|
|
1590
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1605
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
1591
1606
|
} | {
|
|
1592
|
-
type: import("../index.js").
|
|
1607
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
1608
|
+
relayer: string;
|
|
1593
1609
|
} | {
|
|
1594
|
-
type: import("../index.js").
|
|
1610
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
1611
|
+
origin: string;
|
|
1612
|
+
nativeBridge: string;
|
|
1613
|
+
} | {
|
|
1614
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
1615
|
+
bridge: string;
|
|
1616
|
+
} | import("../index.js").RoutingIsmConfig | ({
|
|
1595
1617
|
owner: string;
|
|
1596
1618
|
paused: boolean;
|
|
1597
1619
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1620
|
+
} & {
|
|
1621
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
1622
|
+
}) | ({
|
|
1623
|
+
validators: string[];
|
|
1624
|
+
threshold: number;
|
|
1625
|
+
} & {
|
|
1626
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
1627
|
+
}) | ({
|
|
1628
|
+
validators: {
|
|
1629
|
+
signingAddress: string;
|
|
1630
|
+
weight: number;
|
|
1631
|
+
}[];
|
|
1632
|
+
thresholdWeight: number;
|
|
1633
|
+
} & {
|
|
1634
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1635
|
+
}) | import("../index.js").AggregationIsmConfig>;
|
|
1636
|
+
} & string) | ({
|
|
1637
|
+
owner: string;
|
|
1638
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1639
|
+
} & {
|
|
1640
|
+
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
1641
|
+
domains: import("../types.js").ChainMap<string | {
|
|
1642
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
1598
1643
|
} | {
|
|
1599
|
-
type: import("../index.js").
|
|
1600
|
-
|
|
1644
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
1645
|
+
relayer: string;
|
|
1646
|
+
} | {
|
|
1647
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
1648
|
+
origin: string;
|
|
1601
1649
|
nativeBridge: string;
|
|
1602
|
-
destinationChain: string;
|
|
1603
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1604
1650
|
} | {
|
|
1605
|
-
type: import("../index.js").
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1651
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
1652
|
+
bridge: string;
|
|
1653
|
+
} | import("../index.js").RoutingIsmConfig | ({
|
|
1654
|
+
owner: string;
|
|
1655
|
+
paused: boolean;
|
|
1656
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1657
|
+
} & {
|
|
1658
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
1659
|
+
}) | ({
|
|
1660
|
+
validators: string[];
|
|
1661
|
+
threshold: number;
|
|
1662
|
+
} & {
|
|
1663
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
1664
|
+
}) | ({
|
|
1665
|
+
validators: {
|
|
1666
|
+
signingAddress: string;
|
|
1667
|
+
weight: number;
|
|
1668
|
+
}[];
|
|
1669
|
+
thresholdWeight: number;
|
|
1670
|
+
} & {
|
|
1671
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1672
|
+
}) | import("../index.js").AggregationIsmConfig>;
|
|
1673
|
+
}) | (import("../index.js").AggregationIsmConfig & string) | (string & {
|
|
1674
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
1675
|
+
}) | (string & {
|
|
1676
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
1677
|
+
relayer: string;
|
|
1678
|
+
}) | (string & {
|
|
1679
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
1680
|
+
origin: string;
|
|
1681
|
+
nativeBridge: string;
|
|
1682
|
+
}) | (string & {
|
|
1683
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
1684
|
+
bridge: string;
|
|
1685
|
+
}) | (string & {
|
|
1686
|
+
owner: string;
|
|
1687
|
+
paused: boolean;
|
|
1688
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1689
|
+
} & {
|
|
1690
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
1691
|
+
}) | (string & {
|
|
1692
|
+
validators: string[];
|
|
1693
|
+
threshold: number;
|
|
1694
|
+
} & {
|
|
1695
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
1696
|
+
}) | (string & {
|
|
1697
|
+
validators: {
|
|
1698
|
+
signingAddress: string;
|
|
1699
|
+
weight: number;
|
|
1700
|
+
}[];
|
|
1701
|
+
thresholdWeight: number;
|
|
1702
|
+
} & {
|
|
1703
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1704
|
+
}) | ({
|
|
1705
|
+
type: import("../index.js").IsmType.TEST_ISM;
|
|
1706
|
+
} & string) | ({
|
|
1707
|
+
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
1708
|
+
relayer: string;
|
|
1709
|
+
} & string) | ({
|
|
1710
|
+
type: import("../index.js").IsmType.OP_STACK;
|
|
1711
|
+
origin: string;
|
|
1712
|
+
nativeBridge: string;
|
|
1713
|
+
} & string) | ({
|
|
1714
|
+
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
1715
|
+
bridge: string;
|
|
1716
|
+
} & string) | ({
|
|
1717
|
+
owner: string;
|
|
1718
|
+
paused: boolean;
|
|
1719
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1720
|
+
} & {
|
|
1721
|
+
type: import("../index.js").IsmType.PAUSABLE;
|
|
1722
|
+
} & string) | ({
|
|
1723
|
+
validators: string[];
|
|
1724
|
+
threshold: number;
|
|
1725
|
+
} & {
|
|
1726
|
+
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
1727
|
+
} & string) | ({
|
|
1728
|
+
validators: {
|
|
1729
|
+
signingAddress: string;
|
|
1730
|
+
weight: number;
|
|
1731
|
+
}[];
|
|
1732
|
+
thresholdWeight: number;
|
|
1733
|
+
} & {
|
|
1734
|
+
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1735
|
+
} & string);
|
|
1736
|
+
defaultHook: string | {
|
|
1737
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1738
|
+
} | {
|
|
1739
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1740
|
+
owner: string;
|
|
1741
|
+
beneficiary: string;
|
|
1742
|
+
oracleKey: string;
|
|
1743
|
+
overhead: Record<string, number>;
|
|
1744
|
+
oracleConfig: Record<string, {
|
|
1745
|
+
gasPrice: string;
|
|
1746
|
+
tokenExchangeRate: string;
|
|
1747
|
+
}>;
|
|
1748
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1749
|
+
} | {
|
|
1750
|
+
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1751
|
+
owner: string;
|
|
1752
|
+
protocolFee: string;
|
|
1753
|
+
beneficiary: string;
|
|
1754
|
+
maxProtocolFee: string;
|
|
1755
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1756
|
+
} | {
|
|
1757
|
+
type: import("../index.js").HookType.PAUSABLE;
|
|
1758
|
+
owner: string;
|
|
1759
|
+
paused: boolean;
|
|
1760
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1761
|
+
} | {
|
|
1762
|
+
type: import("../index.js").HookType.OP_STACK;
|
|
1763
|
+
owner: string;
|
|
1764
|
+
nativeBridge: string;
|
|
1765
|
+
destinationChain: string;
|
|
1766
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1767
|
+
} | {
|
|
1768
|
+
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
1769
|
+
destinationChain: string;
|
|
1770
|
+
arbSys: string;
|
|
1771
|
+
bridge?: string | undefined;
|
|
1772
|
+
childHook?: any;
|
|
1773
|
+
} | import("../index.js").AggregationHookConfig | (string & {
|
|
1774
|
+
owner: string;
|
|
1775
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1776
|
+
} & {
|
|
1777
|
+
domains: import("../types.js").ChainMap<string | {
|
|
1778
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1609
1779
|
} | {
|
|
1610
1780
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1611
1781
|
owner: string;
|
|
@@ -1617,18 +1787,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1617
1787
|
tokenExchangeRate: string;
|
|
1618
1788
|
}>;
|
|
1619
1789
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1620
|
-
} |
|
|
1621
|
-
} & {
|
|
1622
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1623
|
-
fallback: string | {
|
|
1790
|
+
} | {
|
|
1624
1791
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1625
1792
|
owner: string;
|
|
1793
|
+
protocolFee: string;
|
|
1626
1794
|
beneficiary: string;
|
|
1627
1795
|
maxProtocolFee: string;
|
|
1628
|
-
protocolFee: string;
|
|
1629
1796
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1630
|
-
} | {
|
|
1631
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1632
1797
|
} | {
|
|
1633
1798
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1634
1799
|
owner: string;
|
|
@@ -1645,6 +1810,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1645
1810
|
destinationChain: string;
|
|
1646
1811
|
arbSys: string;
|
|
1647
1812
|
bridge?: string | undefined;
|
|
1813
|
+
childHook?: any;
|
|
1814
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1815
|
+
} & {
|
|
1816
|
+
type: import("../index.js").HookType.ROUTING;
|
|
1817
|
+
}) | (string & {
|
|
1818
|
+
owner: string;
|
|
1819
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1820
|
+
} & {
|
|
1821
|
+
domains: import("../types.js").ChainMap<string | {
|
|
1822
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1648
1823
|
} | {
|
|
1649
1824
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1650
1825
|
owner: string;
|
|
@@ -1656,20 +1831,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1656
1831
|
tokenExchangeRate: string;
|
|
1657
1832
|
}>;
|
|
1658
1833
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1659
|
-
} |
|
|
1660
|
-
}) | (string & import("../index.js").AggregationHookConfig) | ({
|
|
1661
|
-
owner: string;
|
|
1662
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1663
|
-
} & {
|
|
1664
|
-
domains: import("../types.js").ChainMap<string | {
|
|
1834
|
+
} | {
|
|
1665
1835
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1666
1836
|
owner: string;
|
|
1837
|
+
protocolFee: string;
|
|
1667
1838
|
beneficiary: string;
|
|
1668
1839
|
maxProtocolFee: string;
|
|
1669
|
-
protocolFee: string;
|
|
1670
1840
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1671
|
-
} | {
|
|
1672
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1673
1841
|
} | {
|
|
1674
1842
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1675
1843
|
owner: string;
|
|
@@ -1686,6 +1854,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1686
1854
|
destinationChain: string;
|
|
1687
1855
|
arbSys: string;
|
|
1688
1856
|
bridge?: string | undefined;
|
|
1857
|
+
childHook?: any;
|
|
1858
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1859
|
+
} & {
|
|
1860
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1861
|
+
fallback: string | {
|
|
1862
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1689
1863
|
} | {
|
|
1690
1864
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1691
1865
|
owner: string;
|
|
@@ -1697,22 +1871,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1697
1871
|
tokenExchangeRate: string;
|
|
1698
1872
|
}>;
|
|
1699
1873
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1700
|
-
} |
|
|
1701
|
-
} & {
|
|
1702
|
-
type: import("../index.js").HookType.ROUTING;
|
|
1703
|
-
} & string) | ({
|
|
1704
|
-
owner: string;
|
|
1705
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1706
|
-
} & {
|
|
1707
|
-
domains: import("../types.js").ChainMap<string | {
|
|
1874
|
+
} | {
|
|
1708
1875
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1709
1876
|
owner: string;
|
|
1877
|
+
protocolFee: string;
|
|
1710
1878
|
beneficiary: string;
|
|
1711
1879
|
maxProtocolFee: string;
|
|
1712
|
-
protocolFee: string;
|
|
1713
1880
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1714
|
-
} | {
|
|
1715
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1716
1881
|
} | {
|
|
1717
1882
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1718
1883
|
owner: string;
|
|
@@ -1729,6 +1894,14 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1729
1894
|
destinationChain: string;
|
|
1730
1895
|
arbSys: string;
|
|
1731
1896
|
bridge?: string | undefined;
|
|
1897
|
+
childHook?: any;
|
|
1898
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
1899
|
+
}) | (string & import("../index.js").AggregationHookConfig) | ({
|
|
1900
|
+
owner: string;
|
|
1901
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1902
|
+
} & {
|
|
1903
|
+
domains: import("../types.js").ChainMap<string | {
|
|
1904
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1732
1905
|
} | {
|
|
1733
1906
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1734
1907
|
owner: string;
|
|
@@ -1740,22 +1913,57 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1740
1913
|
tokenExchangeRate: string;
|
|
1741
1914
|
}>;
|
|
1742
1915
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1743
|
-
} |
|
|
1916
|
+
} | {
|
|
1917
|
+
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1918
|
+
owner: string;
|
|
1919
|
+
protocolFee: string;
|
|
1920
|
+
beneficiary: string;
|
|
1921
|
+
maxProtocolFee: string;
|
|
1922
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1923
|
+
} | {
|
|
1924
|
+
type: import("../index.js").HookType.PAUSABLE;
|
|
1925
|
+
owner: string;
|
|
1926
|
+
paused: boolean;
|
|
1927
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1928
|
+
} | {
|
|
1929
|
+
type: import("../index.js").HookType.OP_STACK;
|
|
1930
|
+
owner: string;
|
|
1931
|
+
nativeBridge: string;
|
|
1932
|
+
destinationChain: string;
|
|
1933
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1934
|
+
} | {
|
|
1935
|
+
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
1936
|
+
destinationChain: string;
|
|
1937
|
+
arbSys: string;
|
|
1938
|
+
bridge?: string | undefined;
|
|
1939
|
+
childHook?: any;
|
|
1940
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1744
1941
|
} & {
|
|
1745
1942
|
type: import("../index.js").HookType.ROUTING;
|
|
1746
|
-
}) | ({
|
|
1943
|
+
} & string) | ({
|
|
1747
1944
|
owner: string;
|
|
1748
1945
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1749
1946
|
} & {
|
|
1750
1947
|
domains: import("../types.js").ChainMap<string | {
|
|
1948
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1949
|
+
} | {
|
|
1950
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1951
|
+
owner: string;
|
|
1952
|
+
beneficiary: string;
|
|
1953
|
+
oracleKey: string;
|
|
1954
|
+
overhead: Record<string, number>;
|
|
1955
|
+
oracleConfig: Record<string, {
|
|
1956
|
+
gasPrice: string;
|
|
1957
|
+
tokenExchangeRate: string;
|
|
1958
|
+
}>;
|
|
1959
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1960
|
+
} | {
|
|
1751
1961
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1752
1962
|
owner: string;
|
|
1963
|
+
protocolFee: string;
|
|
1753
1964
|
beneficiary: string;
|
|
1754
1965
|
maxProtocolFee: string;
|
|
1755
|
-
protocolFee: string;
|
|
1756
1966
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1757
|
-
} | {
|
|
1758
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1759
1967
|
} | {
|
|
1760
1968
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1761
1969
|
owner: string;
|
|
@@ -1772,6 +1980,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1772
1980
|
destinationChain: string;
|
|
1773
1981
|
arbSys: string;
|
|
1774
1982
|
bridge?: string | undefined;
|
|
1983
|
+
childHook?: any;
|
|
1984
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
1985
|
+
} & {
|
|
1986
|
+
type: import("../index.js").HookType.ROUTING;
|
|
1987
|
+
}) | ({
|
|
1988
|
+
owner: string;
|
|
1989
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1990
|
+
} & {
|
|
1991
|
+
domains: import("../types.js").ChainMap<string | {
|
|
1992
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1775
1993
|
} | {
|
|
1776
1994
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1777
1995
|
owner: string;
|
|
@@ -1783,18 +2001,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1783
2001
|
tokenExchangeRate: string;
|
|
1784
2002
|
}>;
|
|
1785
2003
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1786
|
-
} |
|
|
1787
|
-
} & {
|
|
1788
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1789
|
-
fallback: string | {
|
|
2004
|
+
} | {
|
|
1790
2005
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1791
2006
|
owner: string;
|
|
2007
|
+
protocolFee: string;
|
|
1792
2008
|
beneficiary: string;
|
|
1793
2009
|
maxProtocolFee: string;
|
|
1794
|
-
protocolFee: string;
|
|
1795
2010
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1796
|
-
} | {
|
|
1797
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1798
2011
|
} | {
|
|
1799
2012
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1800
2013
|
owner: string;
|
|
@@ -1811,6 +2024,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1811
2024
|
destinationChain: string;
|
|
1812
2025
|
arbSys: string;
|
|
1813
2026
|
bridge?: string | undefined;
|
|
2027
|
+
childHook?: any;
|
|
2028
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
2029
|
+
} & {
|
|
2030
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
2031
|
+
fallback: string | {
|
|
2032
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1814
2033
|
} | {
|
|
1815
2034
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1816
2035
|
owner: string;
|
|
@@ -1822,20 +2041,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1822
2041
|
tokenExchangeRate: string;
|
|
1823
2042
|
}>;
|
|
1824
2043
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1825
|
-
} |
|
|
1826
|
-
} & string) | ({
|
|
1827
|
-
owner: string;
|
|
1828
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1829
|
-
} & {
|
|
1830
|
-
domains: import("../types.js").ChainMap<string | {
|
|
2044
|
+
} | {
|
|
1831
2045
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1832
2046
|
owner: string;
|
|
2047
|
+
protocolFee: string;
|
|
1833
2048
|
beneficiary: string;
|
|
1834
2049
|
maxProtocolFee: string;
|
|
1835
|
-
protocolFee: string;
|
|
1836
2050
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1837
|
-
} | {
|
|
1838
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1839
2051
|
} | {
|
|
1840
2052
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1841
2053
|
owner: string;
|
|
@@ -1852,6 +2064,14 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1852
2064
|
destinationChain: string;
|
|
1853
2065
|
arbSys: string;
|
|
1854
2066
|
bridge?: string | undefined;
|
|
2067
|
+
childHook?: any;
|
|
2068
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
2069
|
+
} & string) | ({
|
|
2070
|
+
owner: string;
|
|
2071
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2072
|
+
} & {
|
|
2073
|
+
domains: import("../types.js").ChainMap<string | {
|
|
2074
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1855
2075
|
} | {
|
|
1856
2076
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1857
2077
|
owner: string;
|
|
@@ -1863,18 +2083,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1863
2083
|
tokenExchangeRate: string;
|
|
1864
2084
|
}>;
|
|
1865
2085
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1866
|
-
} |
|
|
1867
|
-
} & {
|
|
1868
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
1869
|
-
fallback: string | {
|
|
2086
|
+
} | {
|
|
1870
2087
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1871
2088
|
owner: string;
|
|
2089
|
+
protocolFee: string;
|
|
1872
2090
|
beneficiary: string;
|
|
1873
2091
|
maxProtocolFee: string;
|
|
1874
|
-
protocolFee: string;
|
|
1875
2092
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1876
|
-
} | {
|
|
1877
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1878
2093
|
} | {
|
|
1879
2094
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1880
2095
|
owner: string;
|
|
@@ -1891,6 +2106,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1891
2106
|
destinationChain: string;
|
|
1892
2107
|
arbSys: string;
|
|
1893
2108
|
bridge?: string | undefined;
|
|
2109
|
+
childHook?: any;
|
|
2110
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
2111
|
+
} & {
|
|
2112
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
2113
|
+
fallback: string | {
|
|
2114
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1894
2115
|
} | {
|
|
1895
2116
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1896
2117
|
owner: string;
|
|
@@ -1902,32 +2123,33 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1902
2123
|
tokenExchangeRate: string;
|
|
1903
2124
|
}>;
|
|
1904
2125
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2126
|
+
} | {
|
|
2127
|
+
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2128
|
+
owner: string;
|
|
2129
|
+
protocolFee: string;
|
|
2130
|
+
beneficiary: string;
|
|
2131
|
+
maxProtocolFee: string;
|
|
2132
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2133
|
+
} | {
|
|
2134
|
+
type: import("../index.js").HookType.PAUSABLE;
|
|
2135
|
+
owner: string;
|
|
2136
|
+
paused: boolean;
|
|
2137
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2138
|
+
} | {
|
|
2139
|
+
type: import("../index.js").HookType.OP_STACK;
|
|
2140
|
+
owner: string;
|
|
2141
|
+
nativeBridge: string;
|
|
2142
|
+
destinationChain: string;
|
|
2143
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2144
|
+
} | {
|
|
2145
|
+
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
2146
|
+
destinationChain: string;
|
|
2147
|
+
arbSys: string;
|
|
2148
|
+
bridge?: string | undefined;
|
|
2149
|
+
childHook?: any;
|
|
1905
2150
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
1906
2151
|
}) | (import("../index.js").AggregationHookConfig & string) | (string & {
|
|
1907
|
-
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1908
|
-
owner: string;
|
|
1909
|
-
beneficiary: string;
|
|
1910
|
-
maxProtocolFee: string;
|
|
1911
|
-
protocolFee: string;
|
|
1912
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1913
|
-
}) | (string & {
|
|
1914
2152
|
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1915
|
-
}) | (string & {
|
|
1916
|
-
type: import("../index.js").HookType.PAUSABLE;
|
|
1917
|
-
owner: string;
|
|
1918
|
-
paused: boolean;
|
|
1919
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1920
|
-
}) | (string & {
|
|
1921
|
-
type: import("../index.js").HookType.OP_STACK;
|
|
1922
|
-
owner: string;
|
|
1923
|
-
nativeBridge: string;
|
|
1924
|
-
destinationChain: string;
|
|
1925
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1926
|
-
}) | (string & {
|
|
1927
|
-
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
1928
|
-
destinationChain: string;
|
|
1929
|
-
arbSys: string;
|
|
1930
|
-
bridge?: string | undefined;
|
|
1931
2153
|
}) | (string & {
|
|
1932
2154
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1933
2155
|
owner: string;
|
|
@@ -1939,273 +2161,70 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
1939
2161
|
tokenExchangeRate: string;
|
|
1940
2162
|
}>;
|
|
1941
2163
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1942
|
-
}) | ({
|
|
2164
|
+
}) | (string & {
|
|
1943
2165
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
1944
2166
|
owner: string;
|
|
2167
|
+
protocolFee: string;
|
|
1945
2168
|
beneficiary: string;
|
|
1946
2169
|
maxProtocolFee: string;
|
|
1947
|
-
protocolFee: string;
|
|
1948
2170
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1949
|
-
}
|
|
1950
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1951
|
-
} & string) | ({
|
|
2171
|
+
}) | (string & {
|
|
1952
2172
|
type: import("../index.js").HookType.PAUSABLE;
|
|
1953
2173
|
owner: string;
|
|
1954
2174
|
paused: boolean;
|
|
1955
2175
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1956
|
-
}
|
|
2176
|
+
}) | (string & {
|
|
1957
2177
|
type: import("../index.js").HookType.OP_STACK;
|
|
1958
2178
|
owner: string;
|
|
1959
2179
|
nativeBridge: string;
|
|
1960
2180
|
destinationChain: string;
|
|
1961
2181
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1962
|
-
}
|
|
2182
|
+
}) | (string & {
|
|
1963
2183
|
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
1964
2184
|
destinationChain: string;
|
|
1965
2185
|
arbSys: string;
|
|
1966
2186
|
bridge?: string | undefined;
|
|
2187
|
+
childHook?: any;
|
|
2188
|
+
}) | ({
|
|
2189
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
1967
2190
|
} & string) | ({
|
|
1968
2191
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1969
2192
|
owner: string;
|
|
1970
2193
|
beneficiary: string;
|
|
1971
2194
|
oracleKey: string;
|
|
1972
2195
|
overhead: Record<string, number>;
|
|
1973
|
-
oracleConfig: Record<string, {
|
|
1974
|
-
gasPrice: string;
|
|
1975
|
-
tokenExchangeRate: string;
|
|
1976
|
-
}>;
|
|
1977
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1978
|
-
} & string)
|
|
1979
|
-
defaultIsm: string | {
|
|
1980
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
1981
|
-
} | {
|
|
1982
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
1983
|
-
relayer: string;
|
|
1984
|
-
} | {
|
|
1985
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
1986
|
-
origin: string;
|
|
1987
|
-
nativeBridge: string;
|
|
1988
|
-
} | {
|
|
1989
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
1990
|
-
bridge: string;
|
|
1991
|
-
} | ({
|
|
1992
|
-
owner: string;
|
|
1993
|
-
paused: boolean;
|
|
1994
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
1995
|
-
} & {
|
|
1996
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
1997
|
-
}) | ({
|
|
1998
|
-
validators: string[];
|
|
1999
|
-
threshold: number;
|
|
2000
|
-
} & {
|
|
2001
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
2002
|
-
}) | ({
|
|
2003
|
-
validators: {
|
|
2004
|
-
signingAddress: string;
|
|
2005
|
-
weight: number;
|
|
2006
|
-
}[];
|
|
2007
|
-
thresholdWeight: number;
|
|
2008
|
-
} & {
|
|
2009
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
2010
|
-
}) | import("../index.js").AggregationIsmConfig | (string & {
|
|
2011
|
-
owner: string;
|
|
2012
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2013
|
-
} & {
|
|
2014
|
-
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
2015
|
-
domains: import("../types.js").ChainMap<string | {
|
|
2016
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
2017
|
-
} | {
|
|
2018
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
2019
|
-
relayer: string;
|
|
2020
|
-
} | {
|
|
2021
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
2022
|
-
origin: string;
|
|
2023
|
-
nativeBridge: string;
|
|
2024
|
-
} | {
|
|
2025
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
2026
|
-
bridge: string;
|
|
2027
|
-
} | import("../index.js").RoutingIsmConfig | ({
|
|
2028
|
-
owner: string;
|
|
2029
|
-
paused: boolean;
|
|
2030
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2031
|
-
} & {
|
|
2032
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
2033
|
-
}) | ({
|
|
2034
|
-
validators: string[];
|
|
2035
|
-
threshold: number;
|
|
2036
|
-
} & {
|
|
2037
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
2038
|
-
}) | ({
|
|
2039
|
-
validators: {
|
|
2040
|
-
signingAddress: string;
|
|
2041
|
-
weight: number;
|
|
2042
|
-
}[];
|
|
2043
|
-
thresholdWeight: number;
|
|
2044
|
-
} & {
|
|
2045
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
2046
|
-
}) | import("../index.js").AggregationIsmConfig>;
|
|
2047
|
-
}) | (string & import("../index.js").AggregationIsmConfig) | ({
|
|
2048
|
-
owner: string;
|
|
2049
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2050
|
-
} & {
|
|
2051
|
-
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
2052
|
-
domains: import("../types.js").ChainMap<string | {
|
|
2053
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
2054
|
-
} | {
|
|
2055
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
2056
|
-
relayer: string;
|
|
2057
|
-
} | {
|
|
2058
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
2059
|
-
origin: string;
|
|
2060
|
-
nativeBridge: string;
|
|
2061
|
-
} | {
|
|
2062
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
2063
|
-
bridge: string;
|
|
2064
|
-
} | import("../index.js").RoutingIsmConfig | ({
|
|
2065
|
-
owner: string;
|
|
2066
|
-
paused: boolean;
|
|
2067
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2068
|
-
} & {
|
|
2069
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
2070
|
-
}) | ({
|
|
2071
|
-
validators: string[];
|
|
2072
|
-
threshold: number;
|
|
2073
|
-
} & {
|
|
2074
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
2075
|
-
}) | ({
|
|
2076
|
-
validators: {
|
|
2077
|
-
signingAddress: string;
|
|
2078
|
-
weight: number;
|
|
2079
|
-
}[];
|
|
2080
|
-
thresholdWeight: number;
|
|
2081
|
-
} & {
|
|
2082
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
2083
|
-
}) | import("../index.js").AggregationIsmConfig>;
|
|
2084
|
-
} & string) | ({
|
|
2085
|
-
owner: string;
|
|
2086
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2087
|
-
} & {
|
|
2088
|
-
type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
|
|
2089
|
-
domains: import("../types.js").ChainMap<string | {
|
|
2090
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
2091
|
-
} | {
|
|
2092
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
2093
|
-
relayer: string;
|
|
2094
|
-
} | {
|
|
2095
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
2096
|
-
origin: string;
|
|
2097
|
-
nativeBridge: string;
|
|
2098
|
-
} | {
|
|
2099
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
2100
|
-
bridge: string;
|
|
2101
|
-
} | import("../index.js").RoutingIsmConfig | ({
|
|
2102
|
-
owner: string;
|
|
2103
|
-
paused: boolean;
|
|
2104
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2105
|
-
} & {
|
|
2106
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
2107
|
-
}) | ({
|
|
2108
|
-
validators: string[];
|
|
2109
|
-
threshold: number;
|
|
2110
|
-
} & {
|
|
2111
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
2112
|
-
}) | ({
|
|
2113
|
-
validators: {
|
|
2114
|
-
signingAddress: string;
|
|
2115
|
-
weight: number;
|
|
2116
|
-
}[];
|
|
2117
|
-
thresholdWeight: number;
|
|
2118
|
-
} & {
|
|
2119
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
2120
|
-
}) | import("../index.js").AggregationIsmConfig>;
|
|
2121
|
-
}) | (import("../index.js").AggregationIsmConfig & string) | (string & {
|
|
2122
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
2123
|
-
}) | (string & {
|
|
2124
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
2125
|
-
relayer: string;
|
|
2126
|
-
}) | (string & {
|
|
2127
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
2128
|
-
origin: string;
|
|
2129
|
-
nativeBridge: string;
|
|
2130
|
-
}) | (string & {
|
|
2131
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
2132
|
-
bridge: string;
|
|
2133
|
-
}) | (string & {
|
|
2134
|
-
owner: string;
|
|
2135
|
-
paused: boolean;
|
|
2136
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2137
|
-
} & {
|
|
2138
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
2139
|
-
}) | (string & {
|
|
2140
|
-
validators: string[];
|
|
2141
|
-
threshold: number;
|
|
2142
|
-
} & {
|
|
2143
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
2144
|
-
}) | (string & {
|
|
2145
|
-
validators: {
|
|
2146
|
-
signingAddress: string;
|
|
2147
|
-
weight: number;
|
|
2148
|
-
}[];
|
|
2149
|
-
thresholdWeight: number;
|
|
2150
|
-
} & {
|
|
2151
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
2152
|
-
}) | ({
|
|
2153
|
-
type: import("../index.js").IsmType.TEST_ISM;
|
|
2154
|
-
} & string) | ({
|
|
2155
|
-
type: import("../index.js").IsmType.TRUSTED_RELAYER;
|
|
2156
|
-
relayer: string;
|
|
2157
|
-
} & string) | ({
|
|
2158
|
-
type: import("../index.js").IsmType.OP_STACK;
|
|
2159
|
-
origin: string;
|
|
2160
|
-
nativeBridge: string;
|
|
2161
|
-
} & string) | ({
|
|
2162
|
-
type: import("../index.js").IsmType.ARB_L2_TO_L1;
|
|
2163
|
-
bridge: string;
|
|
2164
|
-
} & string) | ({
|
|
2165
|
-
owner: string;
|
|
2166
|
-
paused: boolean;
|
|
2167
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2168
|
-
} & {
|
|
2169
|
-
type: import("../index.js").IsmType.PAUSABLE;
|
|
2170
|
-
} & string) | ({
|
|
2171
|
-
validators: string[];
|
|
2172
|
-
threshold: number;
|
|
2173
|
-
} & {
|
|
2174
|
-
type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
|
|
2175
|
-
} & string) | ({
|
|
2176
|
-
validators: {
|
|
2177
|
-
signingAddress: string;
|
|
2178
|
-
weight: number;
|
|
2179
|
-
}[];
|
|
2180
|
-
thresholdWeight: number;
|
|
2181
|
-
} & {
|
|
2182
|
-
type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
2183
|
-
} & string);
|
|
2184
|
-
requiredHook: string | {
|
|
2196
|
+
oracleConfig: Record<string, {
|
|
2197
|
+
gasPrice: string;
|
|
2198
|
+
tokenExchangeRate: string;
|
|
2199
|
+
}>;
|
|
2200
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2201
|
+
} & string) | ({
|
|
2185
2202
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2186
2203
|
owner: string;
|
|
2204
|
+
protocolFee: string;
|
|
2187
2205
|
beneficiary: string;
|
|
2188
2206
|
maxProtocolFee: string;
|
|
2189
|
-
protocolFee: string;
|
|
2190
2207
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2191
|
-
} | {
|
|
2192
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2193
|
-
} | {
|
|
2208
|
+
} & string) | ({
|
|
2194
2209
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2195
2210
|
owner: string;
|
|
2196
2211
|
paused: boolean;
|
|
2197
2212
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2198
|
-
} | {
|
|
2213
|
+
} & string) | ({
|
|
2199
2214
|
type: import("../index.js").HookType.OP_STACK;
|
|
2200
2215
|
owner: string;
|
|
2201
2216
|
nativeBridge: string;
|
|
2202
2217
|
destinationChain: string;
|
|
2203
2218
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2204
|
-
} | {
|
|
2219
|
+
} & string) | ({
|
|
2205
2220
|
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
2206
2221
|
destinationChain: string;
|
|
2207
2222
|
arbSys: string;
|
|
2208
2223
|
bridge?: string | undefined;
|
|
2224
|
+
childHook?: any;
|
|
2225
|
+
} & string);
|
|
2226
|
+
requiredHook: string | {
|
|
2227
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2209
2228
|
} | {
|
|
2210
2229
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2211
2230
|
owner: string;
|
|
@@ -2217,19 +2236,54 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2217
2236
|
tokenExchangeRate: string;
|
|
2218
2237
|
}>;
|
|
2219
2238
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2239
|
+
} | {
|
|
2240
|
+
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2241
|
+
owner: string;
|
|
2242
|
+
protocolFee: string;
|
|
2243
|
+
beneficiary: string;
|
|
2244
|
+
maxProtocolFee: string;
|
|
2245
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2246
|
+
} | {
|
|
2247
|
+
type: import("../index.js").HookType.PAUSABLE;
|
|
2248
|
+
owner: string;
|
|
2249
|
+
paused: boolean;
|
|
2250
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2251
|
+
} | {
|
|
2252
|
+
type: import("../index.js").HookType.OP_STACK;
|
|
2253
|
+
owner: string;
|
|
2254
|
+
nativeBridge: string;
|
|
2255
|
+
destinationChain: string;
|
|
2256
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2257
|
+
} | {
|
|
2258
|
+
type: import("../index.js").HookType.ARB_L2_TO_L1;
|
|
2259
|
+
destinationChain: string;
|
|
2260
|
+
arbSys: string;
|
|
2261
|
+
bridge?: string | undefined;
|
|
2262
|
+
childHook?: any;
|
|
2220
2263
|
} | import("../index.js").AggregationHookConfig | (string & {
|
|
2221
2264
|
owner: string;
|
|
2222
2265
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2223
2266
|
} & {
|
|
2224
2267
|
domains: import("../types.js").ChainMap<string | {
|
|
2268
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2269
|
+
} | {
|
|
2270
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2271
|
+
owner: string;
|
|
2272
|
+
beneficiary: string;
|
|
2273
|
+
oracleKey: string;
|
|
2274
|
+
overhead: Record<string, number>;
|
|
2275
|
+
oracleConfig: Record<string, {
|
|
2276
|
+
gasPrice: string;
|
|
2277
|
+
tokenExchangeRate: string;
|
|
2278
|
+
}>;
|
|
2279
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2280
|
+
} | {
|
|
2225
2281
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2226
2282
|
owner: string;
|
|
2283
|
+
protocolFee: string;
|
|
2227
2284
|
beneficiary: string;
|
|
2228
2285
|
maxProtocolFee: string;
|
|
2229
|
-
protocolFee: string;
|
|
2230
2286
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2231
|
-
} | {
|
|
2232
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2233
2287
|
} | {
|
|
2234
2288
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2235
2289
|
owner: string;
|
|
@@ -2246,6 +2300,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2246
2300
|
destinationChain: string;
|
|
2247
2301
|
arbSys: string;
|
|
2248
2302
|
bridge?: string | undefined;
|
|
2303
|
+
childHook?: any;
|
|
2304
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
2305
|
+
} & {
|
|
2306
|
+
type: import("../index.js").HookType.ROUTING;
|
|
2307
|
+
}) | (string & {
|
|
2308
|
+
owner: string;
|
|
2309
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2310
|
+
} & {
|
|
2311
|
+
domains: import("../types.js").ChainMap<string | {
|
|
2312
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2249
2313
|
} | {
|
|
2250
2314
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2251
2315
|
owner: string;
|
|
@@ -2257,22 +2321,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2257
2321
|
tokenExchangeRate: string;
|
|
2258
2322
|
}>;
|
|
2259
2323
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2260
|
-
} |
|
|
2261
|
-
} & {
|
|
2262
|
-
type: import("../index.js").HookType.ROUTING;
|
|
2263
|
-
}) | (string & {
|
|
2264
|
-
owner: string;
|
|
2265
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2266
|
-
} & {
|
|
2267
|
-
domains: import("../types.js").ChainMap<string | {
|
|
2324
|
+
} | {
|
|
2268
2325
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2269
2326
|
owner: string;
|
|
2327
|
+
protocolFee: string;
|
|
2270
2328
|
beneficiary: string;
|
|
2271
2329
|
maxProtocolFee: string;
|
|
2272
|
-
protocolFee: string;
|
|
2273
2330
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2274
|
-
} | {
|
|
2275
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2276
2331
|
} | {
|
|
2277
2332
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2278
2333
|
owner: string;
|
|
@@ -2289,6 +2344,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2289
2344
|
destinationChain: string;
|
|
2290
2345
|
arbSys: string;
|
|
2291
2346
|
bridge?: string | undefined;
|
|
2347
|
+
childHook?: any;
|
|
2348
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
2349
|
+
} & {
|
|
2350
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
2351
|
+
fallback: string | {
|
|
2352
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2292
2353
|
} | {
|
|
2293
2354
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2294
2355
|
owner: string;
|
|
@@ -2300,18 +2361,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2300
2361
|
tokenExchangeRate: string;
|
|
2301
2362
|
}>;
|
|
2302
2363
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2303
|
-
} |
|
|
2304
|
-
} & {
|
|
2305
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
2306
|
-
fallback: string | {
|
|
2364
|
+
} | {
|
|
2307
2365
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2308
2366
|
owner: string;
|
|
2367
|
+
protocolFee: string;
|
|
2309
2368
|
beneficiary: string;
|
|
2310
2369
|
maxProtocolFee: string;
|
|
2311
|
-
protocolFee: string;
|
|
2312
2370
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2313
|
-
} | {
|
|
2314
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2315
2371
|
} | {
|
|
2316
2372
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2317
2373
|
owner: string;
|
|
@@ -2328,6 +2384,14 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2328
2384
|
destinationChain: string;
|
|
2329
2385
|
arbSys: string;
|
|
2330
2386
|
bridge?: string | undefined;
|
|
2387
|
+
childHook?: any;
|
|
2388
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
2389
|
+
}) | (string & import("../index.js").AggregationHookConfig) | ({
|
|
2390
|
+
owner: string;
|
|
2391
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2392
|
+
} & {
|
|
2393
|
+
domains: import("../types.js").ChainMap<string | {
|
|
2394
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2331
2395
|
} | {
|
|
2332
2396
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2333
2397
|
owner: string;
|
|
@@ -2339,20 +2403,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2339
2403
|
tokenExchangeRate: string;
|
|
2340
2404
|
}>;
|
|
2341
2405
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2342
|
-
} |
|
|
2343
|
-
}) | (string & import("../index.js").AggregationHookConfig) | ({
|
|
2344
|
-
owner: string;
|
|
2345
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2346
|
-
} & {
|
|
2347
|
-
domains: import("../types.js").ChainMap<string | {
|
|
2406
|
+
} | {
|
|
2348
2407
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2349
2408
|
owner: string;
|
|
2409
|
+
protocolFee: string;
|
|
2350
2410
|
beneficiary: string;
|
|
2351
2411
|
maxProtocolFee: string;
|
|
2352
|
-
protocolFee: string;
|
|
2353
2412
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2354
|
-
} | {
|
|
2355
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2356
2413
|
} | {
|
|
2357
2414
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2358
2415
|
owner: string;
|
|
@@ -2369,6 +2426,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2369
2426
|
destinationChain: string;
|
|
2370
2427
|
arbSys: string;
|
|
2371
2428
|
bridge?: string | undefined;
|
|
2429
|
+
childHook?: any;
|
|
2430
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
2431
|
+
} & {
|
|
2432
|
+
type: import("../index.js").HookType.ROUTING;
|
|
2433
|
+
} & string) | ({
|
|
2434
|
+
owner: string;
|
|
2435
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2436
|
+
} & {
|
|
2437
|
+
domains: import("../types.js").ChainMap<string | {
|
|
2438
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2372
2439
|
} | {
|
|
2373
2440
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2374
2441
|
owner: string;
|
|
@@ -2380,22 +2447,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2380
2447
|
tokenExchangeRate: string;
|
|
2381
2448
|
}>;
|
|
2382
2449
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2383
|
-
} |
|
|
2384
|
-
} & {
|
|
2385
|
-
type: import("../index.js").HookType.ROUTING;
|
|
2386
|
-
} & string) | ({
|
|
2387
|
-
owner: string;
|
|
2388
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2389
|
-
} & {
|
|
2390
|
-
domains: import("../types.js").ChainMap<string | {
|
|
2450
|
+
} | {
|
|
2391
2451
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2392
2452
|
owner: string;
|
|
2453
|
+
protocolFee: string;
|
|
2393
2454
|
beneficiary: string;
|
|
2394
2455
|
maxProtocolFee: string;
|
|
2395
|
-
protocolFee: string;
|
|
2396
2456
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2397
|
-
} | {
|
|
2398
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2399
2457
|
} | {
|
|
2400
2458
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2401
2459
|
owner: string;
|
|
@@ -2412,6 +2470,16 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2412
2470
|
destinationChain: string;
|
|
2413
2471
|
arbSys: string;
|
|
2414
2472
|
bridge?: string | undefined;
|
|
2473
|
+
childHook?: any;
|
|
2474
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
2475
|
+
} & {
|
|
2476
|
+
type: import("../index.js").HookType.ROUTING;
|
|
2477
|
+
}) | ({
|
|
2478
|
+
owner: string;
|
|
2479
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2480
|
+
} & {
|
|
2481
|
+
domains: import("../types.js").ChainMap<string | {
|
|
2482
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2415
2483
|
} | {
|
|
2416
2484
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2417
2485
|
owner: string;
|
|
@@ -2423,22 +2491,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2423
2491
|
tokenExchangeRate: string;
|
|
2424
2492
|
}>;
|
|
2425
2493
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2426
|
-
} |
|
|
2427
|
-
} & {
|
|
2428
|
-
type: import("../index.js").HookType.ROUTING;
|
|
2429
|
-
}) | ({
|
|
2430
|
-
owner: string;
|
|
2431
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2432
|
-
} & {
|
|
2433
|
-
domains: import("../types.js").ChainMap<string | {
|
|
2494
|
+
} | {
|
|
2434
2495
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2435
2496
|
owner: string;
|
|
2497
|
+
protocolFee: string;
|
|
2436
2498
|
beneficiary: string;
|
|
2437
2499
|
maxProtocolFee: string;
|
|
2438
|
-
protocolFee: string;
|
|
2439
2500
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2440
|
-
} | {
|
|
2441
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2442
2501
|
} | {
|
|
2443
2502
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2444
2503
|
owner: string;
|
|
@@ -2455,6 +2514,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2455
2514
|
destinationChain: string;
|
|
2456
2515
|
arbSys: string;
|
|
2457
2516
|
bridge?: string | undefined;
|
|
2517
|
+
childHook?: any;
|
|
2518
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
2519
|
+
} & {
|
|
2520
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
2521
|
+
fallback: string | {
|
|
2522
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2458
2523
|
} | {
|
|
2459
2524
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2460
2525
|
owner: string;
|
|
@@ -2466,18 +2531,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2466
2531
|
tokenExchangeRate: string;
|
|
2467
2532
|
}>;
|
|
2468
2533
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2469
|
-
} |
|
|
2470
|
-
} & {
|
|
2471
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
2472
|
-
fallback: string | {
|
|
2534
|
+
} | {
|
|
2473
2535
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2474
2536
|
owner: string;
|
|
2537
|
+
protocolFee: string;
|
|
2475
2538
|
beneficiary: string;
|
|
2476
2539
|
maxProtocolFee: string;
|
|
2477
|
-
protocolFee: string;
|
|
2478
2540
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2479
|
-
} | {
|
|
2480
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2481
2541
|
} | {
|
|
2482
2542
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2483
2543
|
owner: string;
|
|
@@ -2494,6 +2554,14 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2494
2554
|
destinationChain: string;
|
|
2495
2555
|
arbSys: string;
|
|
2496
2556
|
bridge?: string | undefined;
|
|
2557
|
+
childHook?: any;
|
|
2558
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
2559
|
+
} & string) | ({
|
|
2560
|
+
owner: string;
|
|
2561
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2562
|
+
} & {
|
|
2563
|
+
domains: import("../types.js").ChainMap<string | {
|
|
2564
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2497
2565
|
} | {
|
|
2498
2566
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2499
2567
|
owner: string;
|
|
@@ -2505,20 +2573,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2505
2573
|
tokenExchangeRate: string;
|
|
2506
2574
|
}>;
|
|
2507
2575
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2508
|
-
} |
|
|
2509
|
-
} & string) | ({
|
|
2510
|
-
owner: string;
|
|
2511
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2512
|
-
} & {
|
|
2513
|
-
domains: import("../types.js").ChainMap<string | {
|
|
2576
|
+
} | {
|
|
2514
2577
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2515
2578
|
owner: string;
|
|
2579
|
+
protocolFee: string;
|
|
2516
2580
|
beneficiary: string;
|
|
2517
2581
|
maxProtocolFee: string;
|
|
2518
|
-
protocolFee: string;
|
|
2519
2582
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2520
|
-
} | {
|
|
2521
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2522
2583
|
} | {
|
|
2523
2584
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2524
2585
|
owner: string;
|
|
@@ -2535,6 +2596,12 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2535
2596
|
destinationChain: string;
|
|
2536
2597
|
arbSys: string;
|
|
2537
2598
|
bridge?: string | undefined;
|
|
2599
|
+
childHook?: any;
|
|
2600
|
+
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
|
|
2601
|
+
} & {
|
|
2602
|
+
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
2603
|
+
fallback: string | {
|
|
2604
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2538
2605
|
} | {
|
|
2539
2606
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2540
2607
|
owner: string;
|
|
@@ -2546,18 +2613,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2546
2613
|
tokenExchangeRate: string;
|
|
2547
2614
|
}>;
|
|
2548
2615
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2549
|
-
} |
|
|
2550
|
-
} & {
|
|
2551
|
-
type: import("../index.js").HookType.FALLBACK_ROUTING;
|
|
2552
|
-
fallback: string | {
|
|
2616
|
+
} | {
|
|
2553
2617
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2554
2618
|
owner: string;
|
|
2619
|
+
protocolFee: string;
|
|
2555
2620
|
beneficiary: string;
|
|
2556
2621
|
maxProtocolFee: string;
|
|
2557
|
-
protocolFee: string;
|
|
2558
2622
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2559
|
-
} | {
|
|
2560
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2561
2623
|
} | {
|
|
2562
2624
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2563
2625
|
owner: string;
|
|
@@ -2574,27 +2636,28 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2574
2636
|
destinationChain: string;
|
|
2575
2637
|
arbSys: string;
|
|
2576
2638
|
bridge?: string | undefined;
|
|
2577
|
-
|
|
2578
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2579
|
-
owner: string;
|
|
2580
|
-
beneficiary: string;
|
|
2581
|
-
oracleKey: string;
|
|
2582
|
-
overhead: Record<string, number>;
|
|
2583
|
-
oracleConfig: Record<string, {
|
|
2584
|
-
gasPrice: string;
|
|
2585
|
-
tokenExchangeRate: string;
|
|
2586
|
-
}>;
|
|
2587
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2639
|
+
childHook?: any;
|
|
2588
2640
|
} | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
|
|
2589
2641
|
}) | (import("../index.js").AggregationHookConfig & string) | (string & {
|
|
2642
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2643
|
+
}) | (string & {
|
|
2644
|
+
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2645
|
+
owner: string;
|
|
2646
|
+
beneficiary: string;
|
|
2647
|
+
oracleKey: string;
|
|
2648
|
+
overhead: Record<string, number>;
|
|
2649
|
+
oracleConfig: Record<string, {
|
|
2650
|
+
gasPrice: string;
|
|
2651
|
+
tokenExchangeRate: string;
|
|
2652
|
+
}>;
|
|
2653
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2654
|
+
}) | (string & {
|
|
2590
2655
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2591
2656
|
owner: string;
|
|
2657
|
+
protocolFee: string;
|
|
2592
2658
|
beneficiary: string;
|
|
2593
2659
|
maxProtocolFee: string;
|
|
2594
|
-
protocolFee: string;
|
|
2595
2660
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2596
|
-
}) | (string & {
|
|
2597
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2598
2661
|
}) | (string & {
|
|
2599
2662
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2600
2663
|
owner: string;
|
|
@@ -2611,7 +2674,10 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2611
2674
|
destinationChain: string;
|
|
2612
2675
|
arbSys: string;
|
|
2613
2676
|
bridge?: string | undefined;
|
|
2614
|
-
|
|
2677
|
+
childHook?: any;
|
|
2678
|
+
}) | ({
|
|
2679
|
+
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2680
|
+
} & string) | ({
|
|
2615
2681
|
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2616
2682
|
owner: string;
|
|
2617
2683
|
beneficiary: string;
|
|
@@ -2622,15 +2688,13 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2622
2688
|
tokenExchangeRate: string;
|
|
2623
2689
|
}>;
|
|
2624
2690
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2625
|
-
}) | ({
|
|
2691
|
+
} & string) | ({
|
|
2626
2692
|
type: import("../index.js").HookType.PROTOCOL_FEE;
|
|
2627
2693
|
owner: string;
|
|
2694
|
+
protocolFee: string;
|
|
2628
2695
|
beneficiary: string;
|
|
2629
2696
|
maxProtocolFee: string;
|
|
2630
|
-
protocolFee: string;
|
|
2631
2697
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2632
|
-
} & string) | ({
|
|
2633
|
-
type: import("../index.js").HookType.MERKLE_TREE;
|
|
2634
2698
|
} & string) | ({
|
|
2635
2699
|
type: import("../index.js").HookType.PAUSABLE;
|
|
2636
2700
|
owner: string;
|
|
@@ -2647,17 +2711,7 @@ export declare const CoreConfigSchema: z.ZodObject<{
|
|
|
2647
2711
|
destinationChain: string;
|
|
2648
2712
|
arbSys: string;
|
|
2649
2713
|
bridge?: string | undefined;
|
|
2650
|
-
|
|
2651
|
-
type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2652
|
-
owner: string;
|
|
2653
|
-
beneficiary: string;
|
|
2654
|
-
oracleKey: string;
|
|
2655
|
-
overhead: Record<string, number>;
|
|
2656
|
-
oracleConfig: Record<string, {
|
|
2657
|
-
gasPrice: string;
|
|
2658
|
-
tokenExchangeRate: string;
|
|
2659
|
-
}>;
|
|
2660
|
-
ownerOverrides?: Record<string, string> | undefined;
|
|
2714
|
+
childHook?: any;
|
|
2661
2715
|
} & string);
|
|
2662
2716
|
ownerOverrides?: Record<string, string> | undefined;
|
|
2663
2717
|
}>;
|
|
@@ -2687,8 +2741,8 @@ export declare const DeployedCoreAddressesSchema: z.ZodObject<{
|
|
|
2687
2741
|
domainRoutingIsmFactory: string;
|
|
2688
2742
|
staticMerkleRootWeightedMultisigIsmFactory: string;
|
|
2689
2743
|
staticMessageIdWeightedMultisigIsmFactory: string;
|
|
2690
|
-
proxyAdmin: string;
|
|
2691
2744
|
validatorAnnounce: string;
|
|
2745
|
+
proxyAdmin: string;
|
|
2692
2746
|
testRecipient: string;
|
|
2693
2747
|
interchainAccountRouter: string;
|
|
2694
2748
|
interchainAccountIsm: string;
|
|
@@ -2704,8 +2758,8 @@ export declare const DeployedCoreAddressesSchema: z.ZodObject<{
|
|
|
2704
2758
|
domainRoutingIsmFactory: string;
|
|
2705
2759
|
staticMerkleRootWeightedMultisigIsmFactory: string;
|
|
2706
2760
|
staticMessageIdWeightedMultisigIsmFactory: string;
|
|
2707
|
-
proxyAdmin: string;
|
|
2708
2761
|
validatorAnnounce: string;
|
|
2762
|
+
proxyAdmin: string;
|
|
2709
2763
|
testRecipient: string;
|
|
2710
2764
|
interchainAccountRouter: string;
|
|
2711
2765
|
interchainAccountIsm: string;
|