@hyperlane-xyz/cli 5.6.2 → 5.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/src/commands/warp.d.ts +3 -0
  2. package/dist/src/commands/warp.d.ts.map +1 -1
  3. package/dist/src/commands/warp.js +18 -0
  4. package/dist/src/commands/warp.js.map +1 -1
  5. package/dist/src/config/core.d.ts +479 -455
  6. package/dist/src/config/core.d.ts.map +1 -1
  7. package/dist/src/config/hooks.d.ts +269 -158
  8. package/dist/src/config/hooks.d.ts.map +1 -1
  9. package/dist/src/config/hooks.js +101 -44
  10. package/dist/src/config/hooks.js.map +1 -1
  11. package/dist/src/config/warp.d.ts.map +1 -1
  12. package/dist/src/config/warp.js +10 -2
  13. package/dist/src/config/warp.js.map +1 -1
  14. package/dist/src/context/context.d.ts +10 -1
  15. package/dist/src/context/context.d.ts.map +1 -1
  16. package/dist/src/context/context.js +14 -1
  17. package/dist/src/context/context.js.map +1 -1
  18. package/dist/src/deploy/core.js +2 -2
  19. package/dist/src/deploy/core.js.map +1 -1
  20. package/dist/src/deploy/warp.d.ts.map +1 -1
  21. package/dist/src/deploy/warp.js +75 -37
  22. package/dist/src/deploy/warp.js.map +1 -1
  23. package/dist/src/tests/warp-apply.e2e-test.js +35 -0
  24. package/dist/src/tests/warp-apply.e2e-test.js.map +1 -1
  25. package/dist/src/utils/chains.d.ts +7 -1
  26. package/dist/src/utils/chains.d.ts.map +1 -1
  27. package/dist/src/utils/chains.js +4 -4
  28. package/dist/src/utils/chains.js.map +1 -1
  29. package/dist/src/utils/input.d.ts +6 -0
  30. package/dist/src/utils/input.d.ts.map +1 -1
  31. package/dist/src/utils/input.js +43 -4
  32. package/dist/src/utils/input.js.map +1 -1
  33. package/dist/src/verify/warp.d.ts +7 -0
  34. package/dist/src/verify/warp.d.ts.map +1 -0
  35. package/dist/src/verify/warp.js +61 -0
  36. package/dist/src/verify/warp.js.map +1 -0
  37. package/dist/src/version.d.ts +1 -1
  38. package/dist/src/version.js +1 -1
  39. package/package.json +3 -3
@@ -13,16 +13,16 @@ declare const HooksConfigSchema: z.ZodObject<{
13
13
  }, "strip", z.ZodTypeAny, {
14
14
  type: HookType.PROTOCOL_FEE;
15
15
  owner: string;
16
+ protocolFee: string;
16
17
  beneficiary: string;
17
18
  maxProtocolFee: string;
18
- protocolFee: string;
19
19
  ownerOverrides?: Record<string, string> | undefined;
20
20
  }, {
21
21
  type: HookType.PROTOCOL_FEE;
22
22
  owner: string;
23
+ protocolFee: string;
23
24
  beneficiary: string;
24
25
  maxProtocolFee: string;
25
- protocolFee: string;
26
26
  ownerOverrides?: Record<string, string> | undefined;
27
27
  }>, z.ZodObject<{
28
28
  owner: z.ZodString;
@@ -107,16 +107,19 @@ declare const HooksConfigSchema: z.ZodObject<{
107
107
  arbSys: z.ZodString;
108
108
  bridge: z.ZodOptional<z.ZodString>;
109
109
  destinationChain: z.ZodString;
110
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
110
111
  }, "strip", z.ZodTypeAny, {
111
112
  type: HookType.ARB_L2_TO_L1;
112
113
  destinationChain: string;
113
114
  arbSys: string;
114
115
  bridge?: string | undefined;
116
+ childHook?: any;
115
117
  }, {
116
118
  type: HookType.ARB_L2_TO_L1;
117
119
  destinationChain: string;
118
120
  arbSys: string;
119
121
  bridge?: string | undefined;
122
+ childHook?: any;
120
123
  }>]>;
121
124
  required: z.ZodUnion<[z.ZodString, z.ZodObject<{
122
125
  owner: z.ZodString;
@@ -128,16 +131,16 @@ declare const HooksConfigSchema: z.ZodObject<{
128
131
  }, "strip", z.ZodTypeAny, {
129
132
  type: HookType.PROTOCOL_FEE;
130
133
  owner: string;
134
+ protocolFee: string;
131
135
  beneficiary: string;
132
136
  maxProtocolFee: string;
133
- protocolFee: string;
134
137
  ownerOverrides?: Record<string, string> | undefined;
135
138
  }, {
136
139
  type: HookType.PROTOCOL_FEE;
137
140
  owner: string;
141
+ protocolFee: string;
138
142
  beneficiary: string;
139
143
  maxProtocolFee: string;
140
- protocolFee: string;
141
144
  ownerOverrides?: Record<string, string> | undefined;
142
145
  }>, z.ZodObject<{
143
146
  owner: z.ZodString;
@@ -222,24 +225,27 @@ declare const HooksConfigSchema: z.ZodObject<{
222
225
  arbSys: z.ZodString;
223
226
  bridge: z.ZodOptional<z.ZodString>;
224
227
  destinationChain: z.ZodString;
228
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
225
229
  }, "strip", z.ZodTypeAny, {
226
230
  type: HookType.ARB_L2_TO_L1;
227
231
  destinationChain: string;
228
232
  arbSys: string;
229
233
  bridge?: string | undefined;
234
+ childHook?: any;
230
235
  }, {
231
236
  type: HookType.ARB_L2_TO_L1;
232
237
  destinationChain: string;
233
238
  arbSys: string;
234
239
  bridge?: string | undefined;
240
+ childHook?: any;
235
241
  }>]>;
236
242
  }, "strip", z.ZodTypeAny, {
237
243
  default: string | {
238
244
  type: HookType.PROTOCOL_FEE;
239
245
  owner: string;
246
+ protocolFee: string;
240
247
  beneficiary: string;
241
248
  maxProtocolFee: string;
242
- protocolFee: string;
243
249
  ownerOverrides?: Record<string, string> | undefined;
244
250
  } | {
245
251
  type: HookType.PAUSABLE;
@@ -270,12 +276,13 @@ declare const HooksConfigSchema: z.ZodObject<{
270
276
  destinationChain: string;
271
277
  arbSys: string;
272
278
  bridge?: string | undefined;
279
+ childHook?: any;
273
280
  } | (string & {
274
281
  type: HookType.PROTOCOL_FEE;
275
282
  owner: string;
283
+ protocolFee: string;
276
284
  beneficiary: string;
277
285
  maxProtocolFee: string;
278
- protocolFee: string;
279
286
  ownerOverrides?: Record<string, string> | undefined;
280
287
  }) | (string & {
281
288
  type: HookType.PAUSABLE;
@@ -308,9 +315,9 @@ declare const HooksConfigSchema: z.ZodObject<{
308
315
  domains: ChainMap<string | {
309
316
  type: HookType.PROTOCOL_FEE;
310
317
  owner: string;
318
+ protocolFee: string;
311
319
  beneficiary: string;
312
320
  maxProtocolFee: string;
313
- protocolFee: string;
314
321
  ownerOverrides?: Record<string, string> | undefined;
315
322
  } | {
316
323
  type: HookType.PAUSABLE;
@@ -341,6 +348,7 @@ declare const HooksConfigSchema: z.ZodObject<{
341
348
  destinationChain: string;
342
349
  arbSys: string;
343
350
  bridge?: string | undefined;
351
+ childHook?: any;
344
352
  }>;
345
353
  } & {
346
354
  type: HookType.ROUTING;
@@ -351,9 +359,9 @@ declare const HooksConfigSchema: z.ZodObject<{
351
359
  domains: ChainMap<string | {
352
360
  type: HookType.PROTOCOL_FEE;
353
361
  owner: string;
362
+ protocolFee: string;
354
363
  beneficiary: string;
355
364
  maxProtocolFee: string;
356
- protocolFee: string;
357
365
  ownerOverrides?: Record<string, string> | undefined;
358
366
  } | {
359
367
  type: HookType.PAUSABLE;
@@ -384,15 +392,16 @@ declare const HooksConfigSchema: z.ZodObject<{
384
392
  destinationChain: string;
385
393
  arbSys: string;
386
394
  bridge?: string | undefined;
395
+ childHook?: any;
387
396
  }>;
388
397
  } & {
389
398
  type: HookType.FALLBACK_ROUTING;
390
399
  fallback: string | {
391
400
  type: HookType.PROTOCOL_FEE;
392
401
  owner: string;
402
+ protocolFee: string;
393
403
  beneficiary: string;
394
404
  maxProtocolFee: string;
395
- protocolFee: string;
396
405
  ownerOverrides?: Record<string, string> | undefined;
397
406
  } | {
398
407
  type: HookType.PAUSABLE;
@@ -423,18 +432,20 @@ declare const HooksConfigSchema: z.ZodObject<{
423
432
  destinationChain: string;
424
433
  arbSys: string;
425
434
  bridge?: string | undefined;
435
+ childHook?: any;
426
436
  };
427
437
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
428
438
  type: HookType.ARB_L2_TO_L1;
429
439
  destinationChain: string;
430
440
  arbSys: string;
431
441
  bridge?: string | undefined;
442
+ childHook?: any;
432
443
  }) | ({
433
444
  type: HookType.PROTOCOL_FEE;
434
445
  owner: string;
446
+ protocolFee: string;
435
447
  beneficiary: string;
436
448
  maxProtocolFee: string;
437
- protocolFee: string;
438
449
  ownerOverrides?: Record<string, string> | undefined;
439
450
  } & string) | ({
440
451
  type: HookType.PAUSABLE;
@@ -467,9 +478,9 @@ declare const HooksConfigSchema: z.ZodObject<{
467
478
  domains: ChainMap<string | {
468
479
  type: HookType.PROTOCOL_FEE;
469
480
  owner: string;
481
+ protocolFee: string;
470
482
  beneficiary: string;
471
483
  maxProtocolFee: string;
472
- protocolFee: string;
473
484
  ownerOverrides?: Record<string, string> | undefined;
474
485
  } | {
475
486
  type: HookType.PAUSABLE;
@@ -500,6 +511,7 @@ declare const HooksConfigSchema: z.ZodObject<{
500
511
  destinationChain: string;
501
512
  arbSys: string;
502
513
  bridge?: string | undefined;
514
+ childHook?: any;
503
515
  }>;
504
516
  } & {
505
517
  type: HookType.ROUTING;
@@ -510,9 +522,9 @@ declare const HooksConfigSchema: z.ZodObject<{
510
522
  domains: ChainMap<string | {
511
523
  type: HookType.PROTOCOL_FEE;
512
524
  owner: string;
525
+ protocolFee: string;
513
526
  beneficiary: string;
514
527
  maxProtocolFee: string;
515
- protocolFee: string;
516
528
  ownerOverrides?: Record<string, string> | undefined;
517
529
  } | {
518
530
  type: HookType.PAUSABLE;
@@ -543,6 +555,7 @@ declare const HooksConfigSchema: z.ZodObject<{
543
555
  destinationChain: string;
544
556
  arbSys: string;
545
557
  bridge?: string | undefined;
558
+ childHook?: any;
546
559
  }>;
547
560
  } & {
548
561
  type: HookType.ROUTING;
@@ -553,9 +566,9 @@ declare const HooksConfigSchema: z.ZodObject<{
553
566
  domains: ChainMap<string | {
554
567
  type: HookType.PROTOCOL_FEE;
555
568
  owner: string;
569
+ protocolFee: string;
556
570
  beneficiary: string;
557
571
  maxProtocolFee: string;
558
- protocolFee: string;
559
572
  ownerOverrides?: Record<string, string> | undefined;
560
573
  } | {
561
574
  type: HookType.PAUSABLE;
@@ -586,15 +599,16 @@ declare const HooksConfigSchema: z.ZodObject<{
586
599
  destinationChain: string;
587
600
  arbSys: string;
588
601
  bridge?: string | undefined;
602
+ childHook?: any;
589
603
  }>;
590
604
  } & {
591
605
  type: HookType.FALLBACK_ROUTING;
592
606
  fallback: string | {
593
607
  type: HookType.PROTOCOL_FEE;
594
608
  owner: string;
609
+ protocolFee: string;
595
610
  beneficiary: string;
596
611
  maxProtocolFee: string;
597
- protocolFee: string;
598
612
  ownerOverrides?: Record<string, string> | undefined;
599
613
  } | {
600
614
  type: HookType.PAUSABLE;
@@ -625,6 +639,7 @@ declare const HooksConfigSchema: z.ZodObject<{
625
639
  destinationChain: string;
626
640
  arbSys: string;
627
641
  bridge?: string | undefined;
642
+ childHook?: any;
628
643
  };
629
644
  } & string) | ({
630
645
  owner: string;
@@ -633,9 +648,9 @@ declare const HooksConfigSchema: z.ZodObject<{
633
648
  domains: ChainMap<string | {
634
649
  type: HookType.PROTOCOL_FEE;
635
650
  owner: string;
651
+ protocolFee: string;
636
652
  beneficiary: string;
637
653
  maxProtocolFee: string;
638
- protocolFee: string;
639
654
  ownerOverrides?: Record<string, string> | undefined;
640
655
  } | {
641
656
  type: HookType.PAUSABLE;
@@ -666,15 +681,16 @@ declare const HooksConfigSchema: z.ZodObject<{
666
681
  destinationChain: string;
667
682
  arbSys: string;
668
683
  bridge?: string | undefined;
684
+ childHook?: any;
669
685
  }>;
670
686
  } & {
671
687
  type: HookType.FALLBACK_ROUTING;
672
688
  fallback: string | {
673
689
  type: HookType.PROTOCOL_FEE;
674
690
  owner: string;
691
+ protocolFee: string;
675
692
  beneficiary: string;
676
693
  maxProtocolFee: string;
677
- protocolFee: string;
678
694
  ownerOverrides?: Record<string, string> | undefined;
679
695
  } | {
680
696
  type: HookType.PAUSABLE;
@@ -705,19 +721,21 @@ declare const HooksConfigSchema: z.ZodObject<{
705
721
  destinationChain: string;
706
722
  arbSys: string;
707
723
  bridge?: string | undefined;
724
+ childHook?: any;
708
725
  };
709
726
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
710
727
  type: HookType.ARB_L2_TO_L1;
711
728
  destinationChain: string;
712
729
  arbSys: string;
713
730
  bridge?: string | undefined;
731
+ childHook?: any;
714
732
  } & string);
715
733
  required: string | {
716
734
  type: HookType.PROTOCOL_FEE;
717
735
  owner: string;
736
+ protocolFee: string;
718
737
  beneficiary: string;
719
738
  maxProtocolFee: string;
720
- protocolFee: string;
721
739
  ownerOverrides?: Record<string, string> | undefined;
722
740
  } | {
723
741
  type: HookType.PAUSABLE;
@@ -748,12 +766,13 @@ declare const HooksConfigSchema: z.ZodObject<{
748
766
  destinationChain: string;
749
767
  arbSys: string;
750
768
  bridge?: string | undefined;
769
+ childHook?: any;
751
770
  } | (string & {
752
771
  type: HookType.PROTOCOL_FEE;
753
772
  owner: string;
773
+ protocolFee: string;
754
774
  beneficiary: string;
755
775
  maxProtocolFee: string;
756
- protocolFee: string;
757
776
  ownerOverrides?: Record<string, string> | undefined;
758
777
  }) | (string & {
759
778
  type: HookType.PAUSABLE;
@@ -786,9 +805,9 @@ declare const HooksConfigSchema: z.ZodObject<{
786
805
  domains: ChainMap<string | {
787
806
  type: HookType.PROTOCOL_FEE;
788
807
  owner: string;
808
+ protocolFee: string;
789
809
  beneficiary: string;
790
810
  maxProtocolFee: string;
791
- protocolFee: string;
792
811
  ownerOverrides?: Record<string, string> | undefined;
793
812
  } | {
794
813
  type: HookType.PAUSABLE;
@@ -819,6 +838,7 @@ declare const HooksConfigSchema: z.ZodObject<{
819
838
  destinationChain: string;
820
839
  arbSys: string;
821
840
  bridge?: string | undefined;
841
+ childHook?: any;
822
842
  }>;
823
843
  } & {
824
844
  type: HookType.ROUTING;
@@ -829,9 +849,9 @@ declare const HooksConfigSchema: z.ZodObject<{
829
849
  domains: ChainMap<string | {
830
850
  type: HookType.PROTOCOL_FEE;
831
851
  owner: string;
852
+ protocolFee: string;
832
853
  beneficiary: string;
833
854
  maxProtocolFee: string;
834
- protocolFee: string;
835
855
  ownerOverrides?: Record<string, string> | undefined;
836
856
  } | {
837
857
  type: HookType.PAUSABLE;
@@ -862,15 +882,16 @@ declare const HooksConfigSchema: z.ZodObject<{
862
882
  destinationChain: string;
863
883
  arbSys: string;
864
884
  bridge?: string | undefined;
885
+ childHook?: any;
865
886
  }>;
866
887
  } & {
867
888
  type: HookType.FALLBACK_ROUTING;
868
889
  fallback: string | {
869
890
  type: HookType.PROTOCOL_FEE;
870
891
  owner: string;
892
+ protocolFee: string;
871
893
  beneficiary: string;
872
894
  maxProtocolFee: string;
873
- protocolFee: string;
874
895
  ownerOverrides?: Record<string, string> | undefined;
875
896
  } | {
876
897
  type: HookType.PAUSABLE;
@@ -901,18 +922,20 @@ declare const HooksConfigSchema: z.ZodObject<{
901
922
  destinationChain: string;
902
923
  arbSys: string;
903
924
  bridge?: string | undefined;
925
+ childHook?: any;
904
926
  };
905
927
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
906
928
  type: HookType.ARB_L2_TO_L1;
907
929
  destinationChain: string;
908
930
  arbSys: string;
909
931
  bridge?: string | undefined;
932
+ childHook?: any;
910
933
  }) | ({
911
934
  type: HookType.PROTOCOL_FEE;
912
935
  owner: string;
936
+ protocolFee: string;
913
937
  beneficiary: string;
914
938
  maxProtocolFee: string;
915
- protocolFee: string;
916
939
  ownerOverrides?: Record<string, string> | undefined;
917
940
  } & string) | ({
918
941
  type: HookType.PAUSABLE;
@@ -945,9 +968,9 @@ declare const HooksConfigSchema: z.ZodObject<{
945
968
  domains: ChainMap<string | {
946
969
  type: HookType.PROTOCOL_FEE;
947
970
  owner: string;
971
+ protocolFee: string;
948
972
  beneficiary: string;
949
973
  maxProtocolFee: string;
950
- protocolFee: string;
951
974
  ownerOverrides?: Record<string, string> | undefined;
952
975
  } | {
953
976
  type: HookType.PAUSABLE;
@@ -978,6 +1001,7 @@ declare const HooksConfigSchema: z.ZodObject<{
978
1001
  destinationChain: string;
979
1002
  arbSys: string;
980
1003
  bridge?: string | undefined;
1004
+ childHook?: any;
981
1005
  }>;
982
1006
  } & {
983
1007
  type: HookType.ROUTING;
@@ -988,9 +1012,9 @@ declare const HooksConfigSchema: z.ZodObject<{
988
1012
  domains: ChainMap<string | {
989
1013
  type: HookType.PROTOCOL_FEE;
990
1014
  owner: string;
1015
+ protocolFee: string;
991
1016
  beneficiary: string;
992
1017
  maxProtocolFee: string;
993
- protocolFee: string;
994
1018
  ownerOverrides?: Record<string, string> | undefined;
995
1019
  } | {
996
1020
  type: HookType.PAUSABLE;
@@ -1021,6 +1045,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1021
1045
  destinationChain: string;
1022
1046
  arbSys: string;
1023
1047
  bridge?: string | undefined;
1048
+ childHook?: any;
1024
1049
  }>;
1025
1050
  } & {
1026
1051
  type: HookType.ROUTING;
@@ -1031,9 +1056,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1031
1056
  domains: ChainMap<string | {
1032
1057
  type: HookType.PROTOCOL_FEE;
1033
1058
  owner: string;
1059
+ protocolFee: string;
1034
1060
  beneficiary: string;
1035
1061
  maxProtocolFee: string;
1036
- protocolFee: string;
1037
1062
  ownerOverrides?: Record<string, string> | undefined;
1038
1063
  } | {
1039
1064
  type: HookType.PAUSABLE;
@@ -1064,15 +1089,16 @@ declare const HooksConfigSchema: z.ZodObject<{
1064
1089
  destinationChain: string;
1065
1090
  arbSys: string;
1066
1091
  bridge?: string | undefined;
1092
+ childHook?: any;
1067
1093
  }>;
1068
1094
  } & {
1069
1095
  type: HookType.FALLBACK_ROUTING;
1070
1096
  fallback: string | {
1071
1097
  type: HookType.PROTOCOL_FEE;
1072
1098
  owner: string;
1099
+ protocolFee: string;
1073
1100
  beneficiary: string;
1074
1101
  maxProtocolFee: string;
1075
- protocolFee: string;
1076
1102
  ownerOverrides?: Record<string, string> | undefined;
1077
1103
  } | {
1078
1104
  type: HookType.PAUSABLE;
@@ -1103,6 +1129,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1103
1129
  destinationChain: string;
1104
1130
  arbSys: string;
1105
1131
  bridge?: string | undefined;
1132
+ childHook?: any;
1106
1133
  };
1107
1134
  } & string) | ({
1108
1135
  owner: string;
@@ -1111,9 +1138,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1111
1138
  domains: ChainMap<string | {
1112
1139
  type: HookType.PROTOCOL_FEE;
1113
1140
  owner: string;
1141
+ protocolFee: string;
1114
1142
  beneficiary: string;
1115
1143
  maxProtocolFee: string;
1116
- protocolFee: string;
1117
1144
  ownerOverrides?: Record<string, string> | undefined;
1118
1145
  } | {
1119
1146
  type: HookType.PAUSABLE;
@@ -1144,15 +1171,16 @@ declare const HooksConfigSchema: z.ZodObject<{
1144
1171
  destinationChain: string;
1145
1172
  arbSys: string;
1146
1173
  bridge?: string | undefined;
1174
+ childHook?: any;
1147
1175
  }>;
1148
1176
  } & {
1149
1177
  type: HookType.FALLBACK_ROUTING;
1150
1178
  fallback: string | {
1151
1179
  type: HookType.PROTOCOL_FEE;
1152
1180
  owner: string;
1181
+ protocolFee: string;
1153
1182
  beneficiary: string;
1154
1183
  maxProtocolFee: string;
1155
- protocolFee: string;
1156
1184
  ownerOverrides?: Record<string, string> | undefined;
1157
1185
  } | {
1158
1186
  type: HookType.PAUSABLE;
@@ -1183,20 +1211,22 @@ declare const HooksConfigSchema: z.ZodObject<{
1183
1211
  destinationChain: string;
1184
1212
  arbSys: string;
1185
1213
  bridge?: string | undefined;
1214
+ childHook?: any;
1186
1215
  };
1187
1216
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
1188
1217
  type: HookType.ARB_L2_TO_L1;
1189
1218
  destinationChain: string;
1190
1219
  arbSys: string;
1191
1220
  bridge?: string | undefined;
1221
+ childHook?: any;
1192
1222
  } & string);
1193
1223
  }, {
1194
1224
  default: string | {
1195
1225
  type: HookType.PROTOCOL_FEE;
1196
1226
  owner: string;
1227
+ protocolFee: string;
1197
1228
  beneficiary: string;
1198
1229
  maxProtocolFee: string;
1199
- protocolFee: string;
1200
1230
  ownerOverrides?: Record<string, string> | undefined;
1201
1231
  } | {
1202
1232
  type: HookType.PAUSABLE;
@@ -1227,6 +1257,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1227
1257
  destinationChain: string;
1228
1258
  arbSys: string;
1229
1259
  bridge?: string | undefined;
1260
+ childHook?: any;
1230
1261
  } | (string & {
1231
1262
  owner: string;
1232
1263
  ownerOverrides?: Record<string, string> | undefined;
@@ -1234,9 +1265,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1234
1265
  domains: ChainMap<string | {
1235
1266
  type: HookType.PROTOCOL_FEE;
1236
1267
  owner: string;
1268
+ protocolFee: string;
1237
1269
  beneficiary: string;
1238
1270
  maxProtocolFee: string;
1239
- protocolFee: string;
1240
1271
  ownerOverrides?: Record<string, string> | undefined;
1241
1272
  } | {
1242
1273
  type: HookType.PAUSABLE;
@@ -1267,6 +1298,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1267
1298
  destinationChain: string;
1268
1299
  arbSys: string;
1269
1300
  bridge?: string | undefined;
1301
+ childHook?: any;
1270
1302
  }>;
1271
1303
  } & {
1272
1304
  type: HookType.ROUTING;
@@ -1277,9 +1309,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1277
1309
  domains: ChainMap<string | {
1278
1310
  type: HookType.PROTOCOL_FEE;
1279
1311
  owner: string;
1312
+ protocolFee: string;
1280
1313
  beneficiary: string;
1281
1314
  maxProtocolFee: string;
1282
- protocolFee: string;
1283
1315
  ownerOverrides?: Record<string, string> | undefined;
1284
1316
  } | {
1285
1317
  type: HookType.PAUSABLE;
@@ -1310,15 +1342,16 @@ declare const HooksConfigSchema: z.ZodObject<{
1310
1342
  destinationChain: string;
1311
1343
  arbSys: string;
1312
1344
  bridge?: string | undefined;
1345
+ childHook?: any;
1313
1346
  }>;
1314
1347
  } & {
1315
1348
  type: HookType.FALLBACK_ROUTING;
1316
1349
  fallback: string | {
1317
1350
  type: HookType.PROTOCOL_FEE;
1318
1351
  owner: string;
1352
+ protocolFee: string;
1319
1353
  beneficiary: string;
1320
1354
  maxProtocolFee: string;
1321
- protocolFee: string;
1322
1355
  ownerOverrides?: Record<string, string> | undefined;
1323
1356
  } | {
1324
1357
  type: HookType.PAUSABLE;
@@ -1349,6 +1382,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1349
1382
  destinationChain: string;
1350
1383
  arbSys: string;
1351
1384
  bridge?: string | undefined;
1385
+ childHook?: any;
1352
1386
  };
1353
1387
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
1354
1388
  owner: string;
@@ -1357,9 +1391,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1357
1391
  domains: ChainMap<string | {
1358
1392
  type: HookType.PROTOCOL_FEE;
1359
1393
  owner: string;
1394
+ protocolFee: string;
1360
1395
  beneficiary: string;
1361
1396
  maxProtocolFee: string;
1362
- protocolFee: string;
1363
1397
  ownerOverrides?: Record<string, string> | undefined;
1364
1398
  } | {
1365
1399
  type: HookType.PAUSABLE;
@@ -1390,6 +1424,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1390
1424
  destinationChain: string;
1391
1425
  arbSys: string;
1392
1426
  bridge?: string | undefined;
1427
+ childHook?: any;
1393
1428
  }>;
1394
1429
  } & {
1395
1430
  type: HookType.ROUTING;
@@ -1400,9 +1435,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1400
1435
  domains: ChainMap<string | {
1401
1436
  type: HookType.PROTOCOL_FEE;
1402
1437
  owner: string;
1438
+ protocolFee: string;
1403
1439
  beneficiary: string;
1404
1440
  maxProtocolFee: string;
1405
- protocolFee: string;
1406
1441
  ownerOverrides?: Record<string, string> | undefined;
1407
1442
  } | {
1408
1443
  type: HookType.PAUSABLE;
@@ -1433,6 +1468,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1433
1468
  destinationChain: string;
1434
1469
  arbSys: string;
1435
1470
  bridge?: string | undefined;
1471
+ childHook?: any;
1436
1472
  }>;
1437
1473
  } & {
1438
1474
  type: HookType.ROUTING;
@@ -1443,9 +1479,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1443
1479
  domains: ChainMap<string | {
1444
1480
  type: HookType.PROTOCOL_FEE;
1445
1481
  owner: string;
1482
+ protocolFee: string;
1446
1483
  beneficiary: string;
1447
1484
  maxProtocolFee: string;
1448
- protocolFee: string;
1449
1485
  ownerOverrides?: Record<string, string> | undefined;
1450
1486
  } | {
1451
1487
  type: HookType.PAUSABLE;
@@ -1476,15 +1512,16 @@ declare const HooksConfigSchema: z.ZodObject<{
1476
1512
  destinationChain: string;
1477
1513
  arbSys: string;
1478
1514
  bridge?: string | undefined;
1515
+ childHook?: any;
1479
1516
  }>;
1480
1517
  } & {
1481
1518
  type: HookType.FALLBACK_ROUTING;
1482
1519
  fallback: string | {
1483
1520
  type: HookType.PROTOCOL_FEE;
1484
1521
  owner: string;
1522
+ protocolFee: string;
1485
1523
  beneficiary: string;
1486
1524
  maxProtocolFee: string;
1487
- protocolFee: string;
1488
1525
  ownerOverrides?: Record<string, string> | undefined;
1489
1526
  } | {
1490
1527
  type: HookType.PAUSABLE;
@@ -1515,6 +1552,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1515
1552
  destinationChain: string;
1516
1553
  arbSys: string;
1517
1554
  bridge?: string | undefined;
1555
+ childHook?: any;
1518
1556
  };
1519
1557
  } & string) | ({
1520
1558
  owner: string;
@@ -1523,9 +1561,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1523
1561
  domains: ChainMap<string | {
1524
1562
  type: HookType.PROTOCOL_FEE;
1525
1563
  owner: string;
1564
+ protocolFee: string;
1526
1565
  beneficiary: string;
1527
1566
  maxProtocolFee: string;
1528
- protocolFee: string;
1529
1567
  ownerOverrides?: Record<string, string> | undefined;
1530
1568
  } | {
1531
1569
  type: HookType.PAUSABLE;
@@ -1556,15 +1594,16 @@ declare const HooksConfigSchema: z.ZodObject<{
1556
1594
  destinationChain: string;
1557
1595
  arbSys: string;
1558
1596
  bridge?: string | undefined;
1597
+ childHook?: any;
1559
1598
  }>;
1560
1599
  } & {
1561
1600
  type: HookType.FALLBACK_ROUTING;
1562
1601
  fallback: string | {
1563
1602
  type: HookType.PROTOCOL_FEE;
1564
1603
  owner: string;
1604
+ protocolFee: string;
1565
1605
  beneficiary: string;
1566
1606
  maxProtocolFee: string;
1567
- protocolFee: string;
1568
1607
  ownerOverrides?: Record<string, string> | undefined;
1569
1608
  } | {
1570
1609
  type: HookType.PAUSABLE;
@@ -1595,13 +1634,14 @@ declare const HooksConfigSchema: z.ZodObject<{
1595
1634
  destinationChain: string;
1596
1635
  arbSys: string;
1597
1636
  bridge?: string | undefined;
1637
+ childHook?: any;
1598
1638
  };
1599
1639
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
1600
1640
  type: HookType.PROTOCOL_FEE;
1601
1641
  owner: string;
1642
+ protocolFee: string;
1602
1643
  beneficiary: string;
1603
1644
  maxProtocolFee: string;
1604
- protocolFee: string;
1605
1645
  ownerOverrides?: Record<string, string> | undefined;
1606
1646
  }) | (string & {
1607
1647
  type: HookType.PAUSABLE;
@@ -1632,12 +1672,13 @@ declare const HooksConfigSchema: z.ZodObject<{
1632
1672
  destinationChain: string;
1633
1673
  arbSys: string;
1634
1674
  bridge?: string | undefined;
1675
+ childHook?: any;
1635
1676
  }) | ({
1636
1677
  type: HookType.PROTOCOL_FEE;
1637
1678
  owner: string;
1679
+ protocolFee: string;
1638
1680
  beneficiary: string;
1639
1681
  maxProtocolFee: string;
1640
- protocolFee: string;
1641
1682
  ownerOverrides?: Record<string, string> | undefined;
1642
1683
  } & string) | ({
1643
1684
  type: HookType.PAUSABLE;
@@ -1668,13 +1709,14 @@ declare const HooksConfigSchema: z.ZodObject<{
1668
1709
  destinationChain: string;
1669
1710
  arbSys: string;
1670
1711
  bridge?: string | undefined;
1712
+ childHook?: any;
1671
1713
  } & string);
1672
1714
  required: string | {
1673
1715
  type: HookType.PROTOCOL_FEE;
1674
1716
  owner: string;
1717
+ protocolFee: string;
1675
1718
  beneficiary: string;
1676
1719
  maxProtocolFee: string;
1677
- protocolFee: string;
1678
1720
  ownerOverrides?: Record<string, string> | undefined;
1679
1721
  } | {
1680
1722
  type: HookType.PAUSABLE;
@@ -1705,6 +1747,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1705
1747
  destinationChain: string;
1706
1748
  arbSys: string;
1707
1749
  bridge?: string | undefined;
1750
+ childHook?: any;
1708
1751
  } | (string & {
1709
1752
  owner: string;
1710
1753
  ownerOverrides?: Record<string, string> | undefined;
@@ -1712,9 +1755,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1712
1755
  domains: ChainMap<string | {
1713
1756
  type: HookType.PROTOCOL_FEE;
1714
1757
  owner: string;
1758
+ protocolFee: string;
1715
1759
  beneficiary: string;
1716
1760
  maxProtocolFee: string;
1717
- protocolFee: string;
1718
1761
  ownerOverrides?: Record<string, string> | undefined;
1719
1762
  } | {
1720
1763
  type: HookType.PAUSABLE;
@@ -1745,6 +1788,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1745
1788
  destinationChain: string;
1746
1789
  arbSys: string;
1747
1790
  bridge?: string | undefined;
1791
+ childHook?: any;
1748
1792
  }>;
1749
1793
  } & {
1750
1794
  type: HookType.ROUTING;
@@ -1755,9 +1799,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1755
1799
  domains: ChainMap<string | {
1756
1800
  type: HookType.PROTOCOL_FEE;
1757
1801
  owner: string;
1802
+ protocolFee: string;
1758
1803
  beneficiary: string;
1759
1804
  maxProtocolFee: string;
1760
- protocolFee: string;
1761
1805
  ownerOverrides?: Record<string, string> | undefined;
1762
1806
  } | {
1763
1807
  type: HookType.PAUSABLE;
@@ -1788,15 +1832,16 @@ declare const HooksConfigSchema: z.ZodObject<{
1788
1832
  destinationChain: string;
1789
1833
  arbSys: string;
1790
1834
  bridge?: string | undefined;
1835
+ childHook?: any;
1791
1836
  }>;
1792
1837
  } & {
1793
1838
  type: HookType.FALLBACK_ROUTING;
1794
1839
  fallback: string | {
1795
1840
  type: HookType.PROTOCOL_FEE;
1796
1841
  owner: string;
1842
+ protocolFee: string;
1797
1843
  beneficiary: string;
1798
1844
  maxProtocolFee: string;
1799
- protocolFee: string;
1800
1845
  ownerOverrides?: Record<string, string> | undefined;
1801
1846
  } | {
1802
1847
  type: HookType.PAUSABLE;
@@ -1827,6 +1872,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1827
1872
  destinationChain: string;
1828
1873
  arbSys: string;
1829
1874
  bridge?: string | undefined;
1875
+ childHook?: any;
1830
1876
  };
1831
1877
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
1832
1878
  owner: string;
@@ -1835,9 +1881,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1835
1881
  domains: ChainMap<string | {
1836
1882
  type: HookType.PROTOCOL_FEE;
1837
1883
  owner: string;
1884
+ protocolFee: string;
1838
1885
  beneficiary: string;
1839
1886
  maxProtocolFee: string;
1840
- protocolFee: string;
1841
1887
  ownerOverrides?: Record<string, string> | undefined;
1842
1888
  } | {
1843
1889
  type: HookType.PAUSABLE;
@@ -1868,6 +1914,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1868
1914
  destinationChain: string;
1869
1915
  arbSys: string;
1870
1916
  bridge?: string | undefined;
1917
+ childHook?: any;
1871
1918
  }>;
1872
1919
  } & {
1873
1920
  type: HookType.ROUTING;
@@ -1878,9 +1925,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1878
1925
  domains: ChainMap<string | {
1879
1926
  type: HookType.PROTOCOL_FEE;
1880
1927
  owner: string;
1928
+ protocolFee: string;
1881
1929
  beneficiary: string;
1882
1930
  maxProtocolFee: string;
1883
- protocolFee: string;
1884
1931
  ownerOverrides?: Record<string, string> | undefined;
1885
1932
  } | {
1886
1933
  type: HookType.PAUSABLE;
@@ -1911,6 +1958,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1911
1958
  destinationChain: string;
1912
1959
  arbSys: string;
1913
1960
  bridge?: string | undefined;
1961
+ childHook?: any;
1914
1962
  }>;
1915
1963
  } & {
1916
1964
  type: HookType.ROUTING;
@@ -1921,9 +1969,9 @@ declare const HooksConfigSchema: z.ZodObject<{
1921
1969
  domains: ChainMap<string | {
1922
1970
  type: HookType.PROTOCOL_FEE;
1923
1971
  owner: string;
1972
+ protocolFee: string;
1924
1973
  beneficiary: string;
1925
1974
  maxProtocolFee: string;
1926
- protocolFee: string;
1927
1975
  ownerOverrides?: Record<string, string> | undefined;
1928
1976
  } | {
1929
1977
  type: HookType.PAUSABLE;
@@ -1954,15 +2002,16 @@ declare const HooksConfigSchema: z.ZodObject<{
1954
2002
  destinationChain: string;
1955
2003
  arbSys: string;
1956
2004
  bridge?: string | undefined;
2005
+ childHook?: any;
1957
2006
  }>;
1958
2007
  } & {
1959
2008
  type: HookType.FALLBACK_ROUTING;
1960
2009
  fallback: string | {
1961
2010
  type: HookType.PROTOCOL_FEE;
1962
2011
  owner: string;
2012
+ protocolFee: string;
1963
2013
  beneficiary: string;
1964
2014
  maxProtocolFee: string;
1965
- protocolFee: string;
1966
2015
  ownerOverrides?: Record<string, string> | undefined;
1967
2016
  } | {
1968
2017
  type: HookType.PAUSABLE;
@@ -1993,6 +2042,7 @@ declare const HooksConfigSchema: z.ZodObject<{
1993
2042
  destinationChain: string;
1994
2043
  arbSys: string;
1995
2044
  bridge?: string | undefined;
2045
+ childHook?: any;
1996
2046
  };
1997
2047
  } & string) | ({
1998
2048
  owner: string;
@@ -2001,9 +2051,9 @@ declare const HooksConfigSchema: z.ZodObject<{
2001
2051
  domains: ChainMap<string | {
2002
2052
  type: HookType.PROTOCOL_FEE;
2003
2053
  owner: string;
2054
+ protocolFee: string;
2004
2055
  beneficiary: string;
2005
2056
  maxProtocolFee: string;
2006
- protocolFee: string;
2007
2057
  ownerOverrides?: Record<string, string> | undefined;
2008
2058
  } | {
2009
2059
  type: HookType.PAUSABLE;
@@ -2034,15 +2084,16 @@ declare const HooksConfigSchema: z.ZodObject<{
2034
2084
  destinationChain: string;
2035
2085
  arbSys: string;
2036
2086
  bridge?: string | undefined;
2087
+ childHook?: any;
2037
2088
  }>;
2038
2089
  } & {
2039
2090
  type: HookType.FALLBACK_ROUTING;
2040
2091
  fallback: string | {
2041
2092
  type: HookType.PROTOCOL_FEE;
2042
2093
  owner: string;
2094
+ protocolFee: string;
2043
2095
  beneficiary: string;
2044
2096
  maxProtocolFee: string;
2045
- protocolFee: string;
2046
2097
  ownerOverrides?: Record<string, string> | undefined;
2047
2098
  } | {
2048
2099
  type: HookType.PAUSABLE;
@@ -2073,13 +2124,14 @@ declare const HooksConfigSchema: z.ZodObject<{
2073
2124
  destinationChain: string;
2074
2125
  arbSys: string;
2075
2126
  bridge?: string | undefined;
2127
+ childHook?: any;
2076
2128
  };
2077
2129
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
2078
2130
  type: HookType.PROTOCOL_FEE;
2079
2131
  owner: string;
2132
+ protocolFee: string;
2080
2133
  beneficiary: string;
2081
2134
  maxProtocolFee: string;
2082
- protocolFee: string;
2083
2135
  ownerOverrides?: Record<string, string> | undefined;
2084
2136
  }) | (string & {
2085
2137
  type: HookType.PAUSABLE;
@@ -2110,12 +2162,13 @@ declare const HooksConfigSchema: z.ZodObject<{
2110
2162
  destinationChain: string;
2111
2163
  arbSys: string;
2112
2164
  bridge?: string | undefined;
2165
+ childHook?: any;
2113
2166
  }) | ({
2114
2167
  type: HookType.PROTOCOL_FEE;
2115
2168
  owner: string;
2169
+ protocolFee: string;
2116
2170
  beneficiary: string;
2117
2171
  maxProtocolFee: string;
2118
- protocolFee: string;
2119
2172
  ownerOverrides?: Record<string, string> | undefined;
2120
2173
  } & string) | ({
2121
2174
  type: HookType.PAUSABLE;
@@ -2146,6 +2199,7 @@ declare const HooksConfigSchema: z.ZodObject<{
2146
2199
  destinationChain: string;
2147
2200
  arbSys: string;
2148
2201
  bridge?: string | undefined;
2202
+ childHook?: any;
2149
2203
  } & string);
2150
2204
  }>;
2151
2205
  export type HooksConfig = z.infer<typeof HooksConfigSchema>;
@@ -2160,16 +2214,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2160
2214
  }, "strip", z.ZodTypeAny, {
2161
2215
  type: HookType.PROTOCOL_FEE;
2162
2216
  owner: string;
2217
+ protocolFee: string;
2163
2218
  beneficiary: string;
2164
2219
  maxProtocolFee: string;
2165
- protocolFee: string;
2166
2220
  ownerOverrides?: Record<string, string> | undefined;
2167
2221
  }, {
2168
2222
  type: HookType.PROTOCOL_FEE;
2169
2223
  owner: string;
2224
+ protocolFee: string;
2170
2225
  beneficiary: string;
2171
2226
  maxProtocolFee: string;
2172
- protocolFee: string;
2173
2227
  ownerOverrides?: Record<string, string> | undefined;
2174
2228
  }>, z.ZodObject<{
2175
2229
  owner: z.ZodString;
@@ -2254,16 +2308,19 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2254
2308
  arbSys: z.ZodString;
2255
2309
  bridge: z.ZodOptional<z.ZodString>;
2256
2310
  destinationChain: z.ZodString;
2311
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
2257
2312
  }, "strip", z.ZodTypeAny, {
2258
2313
  type: HookType.ARB_L2_TO_L1;
2259
2314
  destinationChain: string;
2260
2315
  arbSys: string;
2261
2316
  bridge?: string | undefined;
2317
+ childHook?: any;
2262
2318
  }, {
2263
2319
  type: HookType.ARB_L2_TO_L1;
2264
2320
  destinationChain: string;
2265
2321
  arbSys: string;
2266
2322
  bridge?: string | undefined;
2323
+ childHook?: any;
2267
2324
  }>]>;
2268
2325
  required: z.ZodUnion<[z.ZodString, z.ZodObject<{
2269
2326
  owner: z.ZodString;
@@ -2275,16 +2332,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2275
2332
  }, "strip", z.ZodTypeAny, {
2276
2333
  type: HookType.PROTOCOL_FEE;
2277
2334
  owner: string;
2335
+ protocolFee: string;
2278
2336
  beneficiary: string;
2279
2337
  maxProtocolFee: string;
2280
- protocolFee: string;
2281
2338
  ownerOverrides?: Record<string, string> | undefined;
2282
2339
  }, {
2283
2340
  type: HookType.PROTOCOL_FEE;
2284
2341
  owner: string;
2342
+ protocolFee: string;
2285
2343
  beneficiary: string;
2286
2344
  maxProtocolFee: string;
2287
- protocolFee: string;
2288
2345
  ownerOverrides?: Record<string, string> | undefined;
2289
2346
  }>, z.ZodObject<{
2290
2347
  owner: z.ZodString;
@@ -2369,24 +2426,27 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2369
2426
  arbSys: z.ZodString;
2370
2427
  bridge: z.ZodOptional<z.ZodString>;
2371
2428
  destinationChain: z.ZodString;
2429
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
2372
2430
  }, "strip", z.ZodTypeAny, {
2373
2431
  type: HookType.ARB_L2_TO_L1;
2374
2432
  destinationChain: string;
2375
2433
  arbSys: string;
2376
2434
  bridge?: string | undefined;
2435
+ childHook?: any;
2377
2436
  }, {
2378
2437
  type: HookType.ARB_L2_TO_L1;
2379
2438
  destinationChain: string;
2380
2439
  arbSys: string;
2381
2440
  bridge?: string | undefined;
2441
+ childHook?: any;
2382
2442
  }>]>;
2383
2443
  }, "strip", z.ZodTypeAny, {
2384
2444
  default: string | {
2385
2445
  type: HookType.PROTOCOL_FEE;
2386
2446
  owner: string;
2447
+ protocolFee: string;
2387
2448
  beneficiary: string;
2388
2449
  maxProtocolFee: string;
2389
- protocolFee: string;
2390
2450
  ownerOverrides?: Record<string, string> | undefined;
2391
2451
  } | {
2392
2452
  type: HookType.PAUSABLE;
@@ -2417,12 +2477,13 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2417
2477
  destinationChain: string;
2418
2478
  arbSys: string;
2419
2479
  bridge?: string | undefined;
2480
+ childHook?: any;
2420
2481
  } | (string & {
2421
2482
  type: HookType.PROTOCOL_FEE;
2422
2483
  owner: string;
2484
+ protocolFee: string;
2423
2485
  beneficiary: string;
2424
2486
  maxProtocolFee: string;
2425
- protocolFee: string;
2426
2487
  ownerOverrides?: Record<string, string> | undefined;
2427
2488
  }) | (string & {
2428
2489
  type: HookType.PAUSABLE;
@@ -2455,9 +2516,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2455
2516
  domains: ChainMap<string | {
2456
2517
  type: HookType.PROTOCOL_FEE;
2457
2518
  owner: string;
2519
+ protocolFee: string;
2458
2520
  beneficiary: string;
2459
2521
  maxProtocolFee: string;
2460
- protocolFee: string;
2461
2522
  ownerOverrides?: Record<string, string> | undefined;
2462
2523
  } | {
2463
2524
  type: HookType.PAUSABLE;
@@ -2488,6 +2549,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2488
2549
  destinationChain: string;
2489
2550
  arbSys: string;
2490
2551
  bridge?: string | undefined;
2552
+ childHook?: any;
2491
2553
  }>;
2492
2554
  } & {
2493
2555
  type: HookType.ROUTING;
@@ -2498,9 +2560,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2498
2560
  domains: ChainMap<string | {
2499
2561
  type: HookType.PROTOCOL_FEE;
2500
2562
  owner: string;
2563
+ protocolFee: string;
2501
2564
  beneficiary: string;
2502
2565
  maxProtocolFee: string;
2503
- protocolFee: string;
2504
2566
  ownerOverrides?: Record<string, string> | undefined;
2505
2567
  } | {
2506
2568
  type: HookType.PAUSABLE;
@@ -2531,15 +2593,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2531
2593
  destinationChain: string;
2532
2594
  arbSys: string;
2533
2595
  bridge?: string | undefined;
2596
+ childHook?: any;
2534
2597
  }>;
2535
2598
  } & {
2536
2599
  type: HookType.FALLBACK_ROUTING;
2537
2600
  fallback: string | {
2538
2601
  type: HookType.PROTOCOL_FEE;
2539
2602
  owner: string;
2603
+ protocolFee: string;
2540
2604
  beneficiary: string;
2541
2605
  maxProtocolFee: string;
2542
- protocolFee: string;
2543
2606
  ownerOverrides?: Record<string, string> | undefined;
2544
2607
  } | {
2545
2608
  type: HookType.PAUSABLE;
@@ -2570,18 +2633,20 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2570
2633
  destinationChain: string;
2571
2634
  arbSys: string;
2572
2635
  bridge?: string | undefined;
2636
+ childHook?: any;
2573
2637
  };
2574
2638
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
2575
2639
  type: HookType.ARB_L2_TO_L1;
2576
2640
  destinationChain: string;
2577
2641
  arbSys: string;
2578
2642
  bridge?: string | undefined;
2643
+ childHook?: any;
2579
2644
  }) | ({
2580
2645
  type: HookType.PROTOCOL_FEE;
2581
2646
  owner: string;
2647
+ protocolFee: string;
2582
2648
  beneficiary: string;
2583
2649
  maxProtocolFee: string;
2584
- protocolFee: string;
2585
2650
  ownerOverrides?: Record<string, string> | undefined;
2586
2651
  } & string) | ({
2587
2652
  type: HookType.PAUSABLE;
@@ -2614,9 +2679,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2614
2679
  domains: ChainMap<string | {
2615
2680
  type: HookType.PROTOCOL_FEE;
2616
2681
  owner: string;
2682
+ protocolFee: string;
2617
2683
  beneficiary: string;
2618
2684
  maxProtocolFee: string;
2619
- protocolFee: string;
2620
2685
  ownerOverrides?: Record<string, string> | undefined;
2621
2686
  } | {
2622
2687
  type: HookType.PAUSABLE;
@@ -2647,6 +2712,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2647
2712
  destinationChain: string;
2648
2713
  arbSys: string;
2649
2714
  bridge?: string | undefined;
2715
+ childHook?: any;
2650
2716
  }>;
2651
2717
  } & {
2652
2718
  type: HookType.ROUTING;
@@ -2657,9 +2723,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2657
2723
  domains: ChainMap<string | {
2658
2724
  type: HookType.PROTOCOL_FEE;
2659
2725
  owner: string;
2726
+ protocolFee: string;
2660
2727
  beneficiary: string;
2661
2728
  maxProtocolFee: string;
2662
- protocolFee: string;
2663
2729
  ownerOverrides?: Record<string, string> | undefined;
2664
2730
  } | {
2665
2731
  type: HookType.PAUSABLE;
@@ -2690,6 +2756,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2690
2756
  destinationChain: string;
2691
2757
  arbSys: string;
2692
2758
  bridge?: string | undefined;
2759
+ childHook?: any;
2693
2760
  }>;
2694
2761
  } & {
2695
2762
  type: HookType.ROUTING;
@@ -2700,9 +2767,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2700
2767
  domains: ChainMap<string | {
2701
2768
  type: HookType.PROTOCOL_FEE;
2702
2769
  owner: string;
2770
+ protocolFee: string;
2703
2771
  beneficiary: string;
2704
2772
  maxProtocolFee: string;
2705
- protocolFee: string;
2706
2773
  ownerOverrides?: Record<string, string> | undefined;
2707
2774
  } | {
2708
2775
  type: HookType.PAUSABLE;
@@ -2733,15 +2800,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2733
2800
  destinationChain: string;
2734
2801
  arbSys: string;
2735
2802
  bridge?: string | undefined;
2803
+ childHook?: any;
2736
2804
  }>;
2737
2805
  } & {
2738
2806
  type: HookType.FALLBACK_ROUTING;
2739
2807
  fallback: string | {
2740
2808
  type: HookType.PROTOCOL_FEE;
2741
2809
  owner: string;
2810
+ protocolFee: string;
2742
2811
  beneficiary: string;
2743
2812
  maxProtocolFee: string;
2744
- protocolFee: string;
2745
2813
  ownerOverrides?: Record<string, string> | undefined;
2746
2814
  } | {
2747
2815
  type: HookType.PAUSABLE;
@@ -2772,6 +2840,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2772
2840
  destinationChain: string;
2773
2841
  arbSys: string;
2774
2842
  bridge?: string | undefined;
2843
+ childHook?: any;
2775
2844
  };
2776
2845
  } & string) | ({
2777
2846
  owner: string;
@@ -2780,9 +2849,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2780
2849
  domains: ChainMap<string | {
2781
2850
  type: HookType.PROTOCOL_FEE;
2782
2851
  owner: string;
2852
+ protocolFee: string;
2783
2853
  beneficiary: string;
2784
2854
  maxProtocolFee: string;
2785
- protocolFee: string;
2786
2855
  ownerOverrides?: Record<string, string> | undefined;
2787
2856
  } | {
2788
2857
  type: HookType.PAUSABLE;
@@ -2813,15 +2882,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2813
2882
  destinationChain: string;
2814
2883
  arbSys: string;
2815
2884
  bridge?: string | undefined;
2885
+ childHook?: any;
2816
2886
  }>;
2817
2887
  } & {
2818
2888
  type: HookType.FALLBACK_ROUTING;
2819
2889
  fallback: string | {
2820
2890
  type: HookType.PROTOCOL_FEE;
2821
2891
  owner: string;
2892
+ protocolFee: string;
2822
2893
  beneficiary: string;
2823
2894
  maxProtocolFee: string;
2824
- protocolFee: string;
2825
2895
  ownerOverrides?: Record<string, string> | undefined;
2826
2896
  } | {
2827
2897
  type: HookType.PAUSABLE;
@@ -2852,19 +2922,21 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2852
2922
  destinationChain: string;
2853
2923
  arbSys: string;
2854
2924
  bridge?: string | undefined;
2925
+ childHook?: any;
2855
2926
  };
2856
2927
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
2857
2928
  type: HookType.ARB_L2_TO_L1;
2858
2929
  destinationChain: string;
2859
2930
  arbSys: string;
2860
2931
  bridge?: string | undefined;
2932
+ childHook?: any;
2861
2933
  } & string);
2862
2934
  required: string | {
2863
2935
  type: HookType.PROTOCOL_FEE;
2864
2936
  owner: string;
2937
+ protocolFee: string;
2865
2938
  beneficiary: string;
2866
2939
  maxProtocolFee: string;
2867
- protocolFee: string;
2868
2940
  ownerOverrides?: Record<string, string> | undefined;
2869
2941
  } | {
2870
2942
  type: HookType.PAUSABLE;
@@ -2895,12 +2967,13 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2895
2967
  destinationChain: string;
2896
2968
  arbSys: string;
2897
2969
  bridge?: string | undefined;
2970
+ childHook?: any;
2898
2971
  } | (string & {
2899
2972
  type: HookType.PROTOCOL_FEE;
2900
2973
  owner: string;
2974
+ protocolFee: string;
2901
2975
  beneficiary: string;
2902
2976
  maxProtocolFee: string;
2903
- protocolFee: string;
2904
2977
  ownerOverrides?: Record<string, string> | undefined;
2905
2978
  }) | (string & {
2906
2979
  type: HookType.PAUSABLE;
@@ -2933,9 +3006,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2933
3006
  domains: ChainMap<string | {
2934
3007
  type: HookType.PROTOCOL_FEE;
2935
3008
  owner: string;
3009
+ protocolFee: string;
2936
3010
  beneficiary: string;
2937
3011
  maxProtocolFee: string;
2938
- protocolFee: string;
2939
3012
  ownerOverrides?: Record<string, string> | undefined;
2940
3013
  } | {
2941
3014
  type: HookType.PAUSABLE;
@@ -2966,6 +3039,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2966
3039
  destinationChain: string;
2967
3040
  arbSys: string;
2968
3041
  bridge?: string | undefined;
3042
+ childHook?: any;
2969
3043
  }>;
2970
3044
  } & {
2971
3045
  type: HookType.ROUTING;
@@ -2976,9 +3050,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2976
3050
  domains: ChainMap<string | {
2977
3051
  type: HookType.PROTOCOL_FEE;
2978
3052
  owner: string;
3053
+ protocolFee: string;
2979
3054
  beneficiary: string;
2980
3055
  maxProtocolFee: string;
2981
- protocolFee: string;
2982
3056
  ownerOverrides?: Record<string, string> | undefined;
2983
3057
  } | {
2984
3058
  type: HookType.PAUSABLE;
@@ -3009,15 +3083,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3009
3083
  destinationChain: string;
3010
3084
  arbSys: string;
3011
3085
  bridge?: string | undefined;
3086
+ childHook?: any;
3012
3087
  }>;
3013
3088
  } & {
3014
3089
  type: HookType.FALLBACK_ROUTING;
3015
3090
  fallback: string | {
3016
3091
  type: HookType.PROTOCOL_FEE;
3017
3092
  owner: string;
3093
+ protocolFee: string;
3018
3094
  beneficiary: string;
3019
3095
  maxProtocolFee: string;
3020
- protocolFee: string;
3021
3096
  ownerOverrides?: Record<string, string> | undefined;
3022
3097
  } | {
3023
3098
  type: HookType.PAUSABLE;
@@ -3048,18 +3123,20 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3048
3123
  destinationChain: string;
3049
3124
  arbSys: string;
3050
3125
  bridge?: string | undefined;
3126
+ childHook?: any;
3051
3127
  };
3052
3128
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
3053
3129
  type: HookType.ARB_L2_TO_L1;
3054
3130
  destinationChain: string;
3055
3131
  arbSys: string;
3056
3132
  bridge?: string | undefined;
3133
+ childHook?: any;
3057
3134
  }) | ({
3058
3135
  type: HookType.PROTOCOL_FEE;
3059
3136
  owner: string;
3137
+ protocolFee: string;
3060
3138
  beneficiary: string;
3061
3139
  maxProtocolFee: string;
3062
- protocolFee: string;
3063
3140
  ownerOverrides?: Record<string, string> | undefined;
3064
3141
  } & string) | ({
3065
3142
  type: HookType.PAUSABLE;
@@ -3092,9 +3169,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3092
3169
  domains: ChainMap<string | {
3093
3170
  type: HookType.PROTOCOL_FEE;
3094
3171
  owner: string;
3172
+ protocolFee: string;
3095
3173
  beneficiary: string;
3096
3174
  maxProtocolFee: string;
3097
- protocolFee: string;
3098
3175
  ownerOverrides?: Record<string, string> | undefined;
3099
3176
  } | {
3100
3177
  type: HookType.PAUSABLE;
@@ -3125,6 +3202,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3125
3202
  destinationChain: string;
3126
3203
  arbSys: string;
3127
3204
  bridge?: string | undefined;
3205
+ childHook?: any;
3128
3206
  }>;
3129
3207
  } & {
3130
3208
  type: HookType.ROUTING;
@@ -3135,9 +3213,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3135
3213
  domains: ChainMap<string | {
3136
3214
  type: HookType.PROTOCOL_FEE;
3137
3215
  owner: string;
3216
+ protocolFee: string;
3138
3217
  beneficiary: string;
3139
3218
  maxProtocolFee: string;
3140
- protocolFee: string;
3141
3219
  ownerOverrides?: Record<string, string> | undefined;
3142
3220
  } | {
3143
3221
  type: HookType.PAUSABLE;
@@ -3168,6 +3246,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3168
3246
  destinationChain: string;
3169
3247
  arbSys: string;
3170
3248
  bridge?: string | undefined;
3249
+ childHook?: any;
3171
3250
  }>;
3172
3251
  } & {
3173
3252
  type: HookType.ROUTING;
@@ -3178,9 +3257,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3178
3257
  domains: ChainMap<string | {
3179
3258
  type: HookType.PROTOCOL_FEE;
3180
3259
  owner: string;
3260
+ protocolFee: string;
3181
3261
  beneficiary: string;
3182
3262
  maxProtocolFee: string;
3183
- protocolFee: string;
3184
3263
  ownerOverrides?: Record<string, string> | undefined;
3185
3264
  } | {
3186
3265
  type: HookType.PAUSABLE;
@@ -3211,15 +3290,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3211
3290
  destinationChain: string;
3212
3291
  arbSys: string;
3213
3292
  bridge?: string | undefined;
3293
+ childHook?: any;
3214
3294
  }>;
3215
3295
  } & {
3216
3296
  type: HookType.FALLBACK_ROUTING;
3217
3297
  fallback: string | {
3218
3298
  type: HookType.PROTOCOL_FEE;
3219
3299
  owner: string;
3300
+ protocolFee: string;
3220
3301
  beneficiary: string;
3221
3302
  maxProtocolFee: string;
3222
- protocolFee: string;
3223
3303
  ownerOverrides?: Record<string, string> | undefined;
3224
3304
  } | {
3225
3305
  type: HookType.PAUSABLE;
@@ -3250,6 +3330,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3250
3330
  destinationChain: string;
3251
3331
  arbSys: string;
3252
3332
  bridge?: string | undefined;
3333
+ childHook?: any;
3253
3334
  };
3254
3335
  } & string) | ({
3255
3336
  owner: string;
@@ -3258,9 +3339,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3258
3339
  domains: ChainMap<string | {
3259
3340
  type: HookType.PROTOCOL_FEE;
3260
3341
  owner: string;
3342
+ protocolFee: string;
3261
3343
  beneficiary: string;
3262
3344
  maxProtocolFee: string;
3263
- protocolFee: string;
3264
3345
  ownerOverrides?: Record<string, string> | undefined;
3265
3346
  } | {
3266
3347
  type: HookType.PAUSABLE;
@@ -3291,15 +3372,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3291
3372
  destinationChain: string;
3292
3373
  arbSys: string;
3293
3374
  bridge?: string | undefined;
3375
+ childHook?: any;
3294
3376
  }>;
3295
3377
  } & {
3296
3378
  type: HookType.FALLBACK_ROUTING;
3297
3379
  fallback: string | {
3298
3380
  type: HookType.PROTOCOL_FEE;
3299
3381
  owner: string;
3382
+ protocolFee: string;
3300
3383
  beneficiary: string;
3301
3384
  maxProtocolFee: string;
3302
- protocolFee: string;
3303
3385
  ownerOverrides?: Record<string, string> | undefined;
3304
3386
  } | {
3305
3387
  type: HookType.PAUSABLE;
@@ -3330,20 +3412,22 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3330
3412
  destinationChain: string;
3331
3413
  arbSys: string;
3332
3414
  bridge?: string | undefined;
3415
+ childHook?: any;
3333
3416
  };
3334
3417
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
3335
3418
  type: HookType.ARB_L2_TO_L1;
3336
3419
  destinationChain: string;
3337
3420
  arbSys: string;
3338
3421
  bridge?: string | undefined;
3422
+ childHook?: any;
3339
3423
  } & string);
3340
3424
  }, {
3341
3425
  default: string | {
3342
3426
  type: HookType.PROTOCOL_FEE;
3343
3427
  owner: string;
3428
+ protocolFee: string;
3344
3429
  beneficiary: string;
3345
3430
  maxProtocolFee: string;
3346
- protocolFee: string;
3347
3431
  ownerOverrides?: Record<string, string> | undefined;
3348
3432
  } | {
3349
3433
  type: HookType.PAUSABLE;
@@ -3374,6 +3458,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3374
3458
  destinationChain: string;
3375
3459
  arbSys: string;
3376
3460
  bridge?: string | undefined;
3461
+ childHook?: any;
3377
3462
  } | (string & {
3378
3463
  owner: string;
3379
3464
  ownerOverrides?: Record<string, string> | undefined;
@@ -3381,9 +3466,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3381
3466
  domains: ChainMap<string | {
3382
3467
  type: HookType.PROTOCOL_FEE;
3383
3468
  owner: string;
3469
+ protocolFee: string;
3384
3470
  beneficiary: string;
3385
3471
  maxProtocolFee: string;
3386
- protocolFee: string;
3387
3472
  ownerOverrides?: Record<string, string> | undefined;
3388
3473
  } | {
3389
3474
  type: HookType.PAUSABLE;
@@ -3414,6 +3499,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3414
3499
  destinationChain: string;
3415
3500
  arbSys: string;
3416
3501
  bridge?: string | undefined;
3502
+ childHook?: any;
3417
3503
  }>;
3418
3504
  } & {
3419
3505
  type: HookType.ROUTING;
@@ -3424,9 +3510,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3424
3510
  domains: ChainMap<string | {
3425
3511
  type: HookType.PROTOCOL_FEE;
3426
3512
  owner: string;
3513
+ protocolFee: string;
3427
3514
  beneficiary: string;
3428
3515
  maxProtocolFee: string;
3429
- protocolFee: string;
3430
3516
  ownerOverrides?: Record<string, string> | undefined;
3431
3517
  } | {
3432
3518
  type: HookType.PAUSABLE;
@@ -3457,15 +3543,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3457
3543
  destinationChain: string;
3458
3544
  arbSys: string;
3459
3545
  bridge?: string | undefined;
3546
+ childHook?: any;
3460
3547
  }>;
3461
3548
  } & {
3462
3549
  type: HookType.FALLBACK_ROUTING;
3463
3550
  fallback: string | {
3464
3551
  type: HookType.PROTOCOL_FEE;
3465
3552
  owner: string;
3553
+ protocolFee: string;
3466
3554
  beneficiary: string;
3467
3555
  maxProtocolFee: string;
3468
- protocolFee: string;
3469
3556
  ownerOverrides?: Record<string, string> | undefined;
3470
3557
  } | {
3471
3558
  type: HookType.PAUSABLE;
@@ -3496,6 +3583,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3496
3583
  destinationChain: string;
3497
3584
  arbSys: string;
3498
3585
  bridge?: string | undefined;
3586
+ childHook?: any;
3499
3587
  };
3500
3588
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
3501
3589
  owner: string;
@@ -3504,9 +3592,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3504
3592
  domains: ChainMap<string | {
3505
3593
  type: HookType.PROTOCOL_FEE;
3506
3594
  owner: string;
3595
+ protocolFee: string;
3507
3596
  beneficiary: string;
3508
3597
  maxProtocolFee: string;
3509
- protocolFee: string;
3510
3598
  ownerOverrides?: Record<string, string> | undefined;
3511
3599
  } | {
3512
3600
  type: HookType.PAUSABLE;
@@ -3537,6 +3625,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3537
3625
  destinationChain: string;
3538
3626
  arbSys: string;
3539
3627
  bridge?: string | undefined;
3628
+ childHook?: any;
3540
3629
  }>;
3541
3630
  } & {
3542
3631
  type: HookType.ROUTING;
@@ -3547,9 +3636,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3547
3636
  domains: ChainMap<string | {
3548
3637
  type: HookType.PROTOCOL_FEE;
3549
3638
  owner: string;
3639
+ protocolFee: string;
3550
3640
  beneficiary: string;
3551
3641
  maxProtocolFee: string;
3552
- protocolFee: string;
3553
3642
  ownerOverrides?: Record<string, string> | undefined;
3554
3643
  } | {
3555
3644
  type: HookType.PAUSABLE;
@@ -3580,6 +3669,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3580
3669
  destinationChain: string;
3581
3670
  arbSys: string;
3582
3671
  bridge?: string | undefined;
3672
+ childHook?: any;
3583
3673
  }>;
3584
3674
  } & {
3585
3675
  type: HookType.ROUTING;
@@ -3590,9 +3680,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3590
3680
  domains: ChainMap<string | {
3591
3681
  type: HookType.PROTOCOL_FEE;
3592
3682
  owner: string;
3683
+ protocolFee: string;
3593
3684
  beneficiary: string;
3594
3685
  maxProtocolFee: string;
3595
- protocolFee: string;
3596
3686
  ownerOverrides?: Record<string, string> | undefined;
3597
3687
  } | {
3598
3688
  type: HookType.PAUSABLE;
@@ -3623,15 +3713,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3623
3713
  destinationChain: string;
3624
3714
  arbSys: string;
3625
3715
  bridge?: string | undefined;
3716
+ childHook?: any;
3626
3717
  }>;
3627
3718
  } & {
3628
3719
  type: HookType.FALLBACK_ROUTING;
3629
3720
  fallback: string | {
3630
3721
  type: HookType.PROTOCOL_FEE;
3631
3722
  owner: string;
3723
+ protocolFee: string;
3632
3724
  beneficiary: string;
3633
3725
  maxProtocolFee: string;
3634
- protocolFee: string;
3635
3726
  ownerOverrides?: Record<string, string> | undefined;
3636
3727
  } | {
3637
3728
  type: HookType.PAUSABLE;
@@ -3662,6 +3753,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3662
3753
  destinationChain: string;
3663
3754
  arbSys: string;
3664
3755
  bridge?: string | undefined;
3756
+ childHook?: any;
3665
3757
  };
3666
3758
  } & string) | ({
3667
3759
  owner: string;
@@ -3670,9 +3762,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3670
3762
  domains: ChainMap<string | {
3671
3763
  type: HookType.PROTOCOL_FEE;
3672
3764
  owner: string;
3765
+ protocolFee: string;
3673
3766
  beneficiary: string;
3674
3767
  maxProtocolFee: string;
3675
- protocolFee: string;
3676
3768
  ownerOverrides?: Record<string, string> | undefined;
3677
3769
  } | {
3678
3770
  type: HookType.PAUSABLE;
@@ -3703,15 +3795,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3703
3795
  destinationChain: string;
3704
3796
  arbSys: string;
3705
3797
  bridge?: string | undefined;
3798
+ childHook?: any;
3706
3799
  }>;
3707
3800
  } & {
3708
3801
  type: HookType.FALLBACK_ROUTING;
3709
3802
  fallback: string | {
3710
3803
  type: HookType.PROTOCOL_FEE;
3711
3804
  owner: string;
3805
+ protocolFee: string;
3712
3806
  beneficiary: string;
3713
3807
  maxProtocolFee: string;
3714
- protocolFee: string;
3715
3808
  ownerOverrides?: Record<string, string> | undefined;
3716
3809
  } | {
3717
3810
  type: HookType.PAUSABLE;
@@ -3742,13 +3835,14 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3742
3835
  destinationChain: string;
3743
3836
  arbSys: string;
3744
3837
  bridge?: string | undefined;
3838
+ childHook?: any;
3745
3839
  };
3746
3840
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
3747
3841
  type: HookType.PROTOCOL_FEE;
3748
3842
  owner: string;
3843
+ protocolFee: string;
3749
3844
  beneficiary: string;
3750
3845
  maxProtocolFee: string;
3751
- protocolFee: string;
3752
3846
  ownerOverrides?: Record<string, string> | undefined;
3753
3847
  }) | (string & {
3754
3848
  type: HookType.PAUSABLE;
@@ -3779,12 +3873,13 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3779
3873
  destinationChain: string;
3780
3874
  arbSys: string;
3781
3875
  bridge?: string | undefined;
3876
+ childHook?: any;
3782
3877
  }) | ({
3783
3878
  type: HookType.PROTOCOL_FEE;
3784
3879
  owner: string;
3880
+ protocolFee: string;
3785
3881
  beneficiary: string;
3786
3882
  maxProtocolFee: string;
3787
- protocolFee: string;
3788
3883
  ownerOverrides?: Record<string, string> | undefined;
3789
3884
  } & string) | ({
3790
3885
  type: HookType.PAUSABLE;
@@ -3815,13 +3910,14 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3815
3910
  destinationChain: string;
3816
3911
  arbSys: string;
3817
3912
  bridge?: string | undefined;
3913
+ childHook?: any;
3818
3914
  } & string);
3819
3915
  required: string | {
3820
3916
  type: HookType.PROTOCOL_FEE;
3821
3917
  owner: string;
3918
+ protocolFee: string;
3822
3919
  beneficiary: string;
3823
3920
  maxProtocolFee: string;
3824
- protocolFee: string;
3825
3921
  ownerOverrides?: Record<string, string> | undefined;
3826
3922
  } | {
3827
3923
  type: HookType.PAUSABLE;
@@ -3852,6 +3948,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3852
3948
  destinationChain: string;
3853
3949
  arbSys: string;
3854
3950
  bridge?: string | undefined;
3951
+ childHook?: any;
3855
3952
  } | (string & {
3856
3953
  owner: string;
3857
3954
  ownerOverrides?: Record<string, string> | undefined;
@@ -3859,9 +3956,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3859
3956
  domains: ChainMap<string | {
3860
3957
  type: HookType.PROTOCOL_FEE;
3861
3958
  owner: string;
3959
+ protocolFee: string;
3862
3960
  beneficiary: string;
3863
3961
  maxProtocolFee: string;
3864
- protocolFee: string;
3865
3962
  ownerOverrides?: Record<string, string> | undefined;
3866
3963
  } | {
3867
3964
  type: HookType.PAUSABLE;
@@ -3892,6 +3989,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3892
3989
  destinationChain: string;
3893
3990
  arbSys: string;
3894
3991
  bridge?: string | undefined;
3992
+ childHook?: any;
3895
3993
  }>;
3896
3994
  } & {
3897
3995
  type: HookType.ROUTING;
@@ -3902,9 +4000,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3902
4000
  domains: ChainMap<string | {
3903
4001
  type: HookType.PROTOCOL_FEE;
3904
4002
  owner: string;
4003
+ protocolFee: string;
3905
4004
  beneficiary: string;
3906
4005
  maxProtocolFee: string;
3907
- protocolFee: string;
3908
4006
  ownerOverrides?: Record<string, string> | undefined;
3909
4007
  } | {
3910
4008
  type: HookType.PAUSABLE;
@@ -3935,15 +4033,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3935
4033
  destinationChain: string;
3936
4034
  arbSys: string;
3937
4035
  bridge?: string | undefined;
4036
+ childHook?: any;
3938
4037
  }>;
3939
4038
  } & {
3940
4039
  type: HookType.FALLBACK_ROUTING;
3941
4040
  fallback: string | {
3942
4041
  type: HookType.PROTOCOL_FEE;
3943
4042
  owner: string;
4043
+ protocolFee: string;
3944
4044
  beneficiary: string;
3945
4045
  maxProtocolFee: string;
3946
- protocolFee: string;
3947
4046
  ownerOverrides?: Record<string, string> | undefined;
3948
4047
  } | {
3949
4048
  type: HookType.PAUSABLE;
@@ -3974,6 +4073,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3974
4073
  destinationChain: string;
3975
4074
  arbSys: string;
3976
4075
  bridge?: string | undefined;
4076
+ childHook?: any;
3977
4077
  };
3978
4078
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
3979
4079
  owner: string;
@@ -3982,9 +4082,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3982
4082
  domains: ChainMap<string | {
3983
4083
  type: HookType.PROTOCOL_FEE;
3984
4084
  owner: string;
4085
+ protocolFee: string;
3985
4086
  beneficiary: string;
3986
4087
  maxProtocolFee: string;
3987
- protocolFee: string;
3988
4088
  ownerOverrides?: Record<string, string> | undefined;
3989
4089
  } | {
3990
4090
  type: HookType.PAUSABLE;
@@ -4015,6 +4115,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4015
4115
  destinationChain: string;
4016
4116
  arbSys: string;
4017
4117
  bridge?: string | undefined;
4118
+ childHook?: any;
4018
4119
  }>;
4019
4120
  } & {
4020
4121
  type: HookType.ROUTING;
@@ -4025,9 +4126,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4025
4126
  domains: ChainMap<string | {
4026
4127
  type: HookType.PROTOCOL_FEE;
4027
4128
  owner: string;
4129
+ protocolFee: string;
4028
4130
  beneficiary: string;
4029
4131
  maxProtocolFee: string;
4030
- protocolFee: string;
4031
4132
  ownerOverrides?: Record<string, string> | undefined;
4032
4133
  } | {
4033
4134
  type: HookType.PAUSABLE;
@@ -4058,6 +4159,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4058
4159
  destinationChain: string;
4059
4160
  arbSys: string;
4060
4161
  bridge?: string | undefined;
4162
+ childHook?: any;
4061
4163
  }>;
4062
4164
  } & {
4063
4165
  type: HookType.ROUTING;
@@ -4068,9 +4170,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4068
4170
  domains: ChainMap<string | {
4069
4171
  type: HookType.PROTOCOL_FEE;
4070
4172
  owner: string;
4173
+ protocolFee: string;
4071
4174
  beneficiary: string;
4072
4175
  maxProtocolFee: string;
4073
- protocolFee: string;
4074
4176
  ownerOverrides?: Record<string, string> | undefined;
4075
4177
  } | {
4076
4178
  type: HookType.PAUSABLE;
@@ -4101,15 +4203,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4101
4203
  destinationChain: string;
4102
4204
  arbSys: string;
4103
4205
  bridge?: string | undefined;
4206
+ childHook?: any;
4104
4207
  }>;
4105
4208
  } & {
4106
4209
  type: HookType.FALLBACK_ROUTING;
4107
4210
  fallback: string | {
4108
4211
  type: HookType.PROTOCOL_FEE;
4109
4212
  owner: string;
4213
+ protocolFee: string;
4110
4214
  beneficiary: string;
4111
4215
  maxProtocolFee: string;
4112
- protocolFee: string;
4113
4216
  ownerOverrides?: Record<string, string> | undefined;
4114
4217
  } | {
4115
4218
  type: HookType.PAUSABLE;
@@ -4140,6 +4243,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4140
4243
  destinationChain: string;
4141
4244
  arbSys: string;
4142
4245
  bridge?: string | undefined;
4246
+ childHook?: any;
4143
4247
  };
4144
4248
  } & string) | ({
4145
4249
  owner: string;
@@ -4148,9 +4252,9 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4148
4252
  domains: ChainMap<string | {
4149
4253
  type: HookType.PROTOCOL_FEE;
4150
4254
  owner: string;
4255
+ protocolFee: string;
4151
4256
  beneficiary: string;
4152
4257
  maxProtocolFee: string;
4153
- protocolFee: string;
4154
4258
  ownerOverrides?: Record<string, string> | undefined;
4155
4259
  } | {
4156
4260
  type: HookType.PAUSABLE;
@@ -4181,15 +4285,16 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4181
4285
  destinationChain: string;
4182
4286
  arbSys: string;
4183
4287
  bridge?: string | undefined;
4288
+ childHook?: any;
4184
4289
  }>;
4185
4290
  } & {
4186
4291
  type: HookType.FALLBACK_ROUTING;
4187
4292
  fallback: string | {
4188
4293
  type: HookType.PROTOCOL_FEE;
4189
4294
  owner: string;
4295
+ protocolFee: string;
4190
4296
  beneficiary: string;
4191
4297
  maxProtocolFee: string;
4192
- protocolFee: string;
4193
4298
  ownerOverrides?: Record<string, string> | undefined;
4194
4299
  } | {
4195
4300
  type: HookType.PAUSABLE;
@@ -4220,13 +4325,14 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4220
4325
  destinationChain: string;
4221
4326
  arbSys: string;
4222
4327
  bridge?: string | undefined;
4328
+ childHook?: any;
4223
4329
  };
4224
4330
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
4225
4331
  type: HookType.PROTOCOL_FEE;
4226
4332
  owner: string;
4333
+ protocolFee: string;
4227
4334
  beneficiary: string;
4228
4335
  maxProtocolFee: string;
4229
- protocolFee: string;
4230
4336
  ownerOverrides?: Record<string, string> | undefined;
4231
4337
  }) | (string & {
4232
4338
  type: HookType.PAUSABLE;
@@ -4257,12 +4363,13 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4257
4363
  destinationChain: string;
4258
4364
  arbSys: string;
4259
4365
  bridge?: string | undefined;
4366
+ childHook?: any;
4260
4367
  }) | ({
4261
4368
  type: HookType.PROTOCOL_FEE;
4262
4369
  owner: string;
4370
+ protocolFee: string;
4263
4371
  beneficiary: string;
4264
4372
  maxProtocolFee: string;
4265
- protocolFee: string;
4266
4373
  ownerOverrides?: Record<string, string> | undefined;
4267
4374
  } & string) | ({
4268
4375
  type: HookType.PAUSABLE;
@@ -4293,6 +4400,7 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4293
4400
  destinationChain: string;
4294
4401
  arbSys: string;
4295
4402
  bridge?: string | undefined;
4403
+ childHook?: any;
4296
4404
  } & string);
4297
4405
  }>>;
4298
4406
  export type HooksConfigMap = z.infer<typeof HooksConfigMapSchema>;
@@ -4301,9 +4409,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4301
4409
  default: string | {
4302
4410
  type: HookType.PROTOCOL_FEE;
4303
4411
  owner: string;
4412
+ protocolFee: string;
4304
4413
  beneficiary: string;
4305
4414
  maxProtocolFee: string;
4306
- protocolFee: string;
4307
4415
  ownerOverrides?: Record<string, string> | undefined;
4308
4416
  } | {
4309
4417
  type: HookType.PAUSABLE;
@@ -4334,12 +4442,13 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4334
4442
  destinationChain: string;
4335
4443
  arbSys: string;
4336
4444
  bridge?: string | undefined;
4445
+ childHook?: any;
4337
4446
  } | (string & {
4338
4447
  type: HookType.PROTOCOL_FEE;
4339
4448
  owner: string;
4449
+ protocolFee: string;
4340
4450
  beneficiary: string;
4341
4451
  maxProtocolFee: string;
4342
- protocolFee: string;
4343
4452
  ownerOverrides?: Record<string, string> | undefined;
4344
4453
  }) | (string & {
4345
4454
  type: HookType.PAUSABLE;
@@ -4372,9 +4481,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4372
4481
  domains: ChainMap<string | {
4373
4482
  type: HookType.PROTOCOL_FEE;
4374
4483
  owner: string;
4484
+ protocolFee: string;
4375
4485
  beneficiary: string;
4376
4486
  maxProtocolFee: string;
4377
- protocolFee: string;
4378
4487
  ownerOverrides?: Record<string, string> | undefined;
4379
4488
  } | {
4380
4489
  type: HookType.PAUSABLE;
@@ -4405,6 +4514,7 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4405
4514
  destinationChain: string;
4406
4515
  arbSys: string;
4407
4516
  bridge?: string | undefined;
4517
+ childHook?: any;
4408
4518
  }>;
4409
4519
  } & {
4410
4520
  type: HookType.ROUTING;
@@ -4415,9 +4525,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4415
4525
  domains: ChainMap<string | {
4416
4526
  type: HookType.PROTOCOL_FEE;
4417
4527
  owner: string;
4528
+ protocolFee: string;
4418
4529
  beneficiary: string;
4419
4530
  maxProtocolFee: string;
4420
- protocolFee: string;
4421
4531
  ownerOverrides?: Record<string, string> | undefined;
4422
4532
  } | {
4423
4533
  type: HookType.PAUSABLE;
@@ -4448,15 +4558,16 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4448
4558
  destinationChain: string;
4449
4559
  arbSys: string;
4450
4560
  bridge?: string | undefined;
4561
+ childHook?: any;
4451
4562
  }>;
4452
4563
  } & {
4453
4564
  type: HookType.FALLBACK_ROUTING;
4454
4565
  fallback: string | {
4455
4566
  type: HookType.PROTOCOL_FEE;
4456
4567
  owner: string;
4568
+ protocolFee: string;
4457
4569
  beneficiary: string;
4458
4570
  maxProtocolFee: string;
4459
- protocolFee: string;
4460
4571
  ownerOverrides?: Record<string, string> | undefined;
4461
4572
  } | {
4462
4573
  type: HookType.PAUSABLE;
@@ -4487,18 +4598,20 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4487
4598
  destinationChain: string;
4488
4599
  arbSys: string;
4489
4600
  bridge?: string | undefined;
4601
+ childHook?: any;
4490
4602
  };
4491
4603
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
4492
4604
  type: HookType.ARB_L2_TO_L1;
4493
4605
  destinationChain: string;
4494
4606
  arbSys: string;
4495
4607
  bridge?: string | undefined;
4608
+ childHook?: any;
4496
4609
  }) | ({
4497
4610
  type: HookType.PROTOCOL_FEE;
4498
4611
  owner: string;
4612
+ protocolFee: string;
4499
4613
  beneficiary: string;
4500
4614
  maxProtocolFee: string;
4501
- protocolFee: string;
4502
4615
  ownerOverrides?: Record<string, string> | undefined;
4503
4616
  } & string) | ({
4504
4617
  type: HookType.PAUSABLE;
@@ -4531,9 +4644,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4531
4644
  domains: ChainMap<string | {
4532
4645
  type: HookType.PROTOCOL_FEE;
4533
4646
  owner: string;
4647
+ protocolFee: string;
4534
4648
  beneficiary: string;
4535
4649
  maxProtocolFee: string;
4536
- protocolFee: string;
4537
4650
  ownerOverrides?: Record<string, string> | undefined;
4538
4651
  } | {
4539
4652
  type: HookType.PAUSABLE;
@@ -4564,6 +4677,7 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4564
4677
  destinationChain: string;
4565
4678
  arbSys: string;
4566
4679
  bridge?: string | undefined;
4680
+ childHook?: any;
4567
4681
  }>;
4568
4682
  } & {
4569
4683
  type: HookType.ROUTING;
@@ -4574,9 +4688,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4574
4688
  domains: ChainMap<string | {
4575
4689
  type: HookType.PROTOCOL_FEE;
4576
4690
  owner: string;
4691
+ protocolFee: string;
4577
4692
  beneficiary: string;
4578
4693
  maxProtocolFee: string;
4579
- protocolFee: string;
4580
4694
  ownerOverrides?: Record<string, string> | undefined;
4581
4695
  } | {
4582
4696
  type: HookType.PAUSABLE;
@@ -4607,6 +4721,7 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4607
4721
  destinationChain: string;
4608
4722
  arbSys: string;
4609
4723
  bridge?: string | undefined;
4724
+ childHook?: any;
4610
4725
  }>;
4611
4726
  } & {
4612
4727
  type: HookType.ROUTING;
@@ -4617,9 +4732,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4617
4732
  domains: ChainMap<string | {
4618
4733
  type: HookType.PROTOCOL_FEE;
4619
4734
  owner: string;
4735
+ protocolFee: string;
4620
4736
  beneficiary: string;
4621
4737
  maxProtocolFee: string;
4622
- protocolFee: string;
4623
4738
  ownerOverrides?: Record<string, string> | undefined;
4624
4739
  } | {
4625
4740
  type: HookType.PAUSABLE;
@@ -4650,15 +4765,16 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4650
4765
  destinationChain: string;
4651
4766
  arbSys: string;
4652
4767
  bridge?: string | undefined;
4768
+ childHook?: any;
4653
4769
  }>;
4654
4770
  } & {
4655
4771
  type: HookType.FALLBACK_ROUTING;
4656
4772
  fallback: string | {
4657
4773
  type: HookType.PROTOCOL_FEE;
4658
4774
  owner: string;
4775
+ protocolFee: string;
4659
4776
  beneficiary: string;
4660
4777
  maxProtocolFee: string;
4661
- protocolFee: string;
4662
4778
  ownerOverrides?: Record<string, string> | undefined;
4663
4779
  } | {
4664
4780
  type: HookType.PAUSABLE;
@@ -4689,6 +4805,7 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4689
4805
  destinationChain: string;
4690
4806
  arbSys: string;
4691
4807
  bridge?: string | undefined;
4808
+ childHook?: any;
4692
4809
  };
4693
4810
  } & string) | ({
4694
4811
  owner: string;
@@ -4697,9 +4814,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4697
4814
  domains: ChainMap<string | {
4698
4815
  type: HookType.PROTOCOL_FEE;
4699
4816
  owner: string;
4817
+ protocolFee: string;
4700
4818
  beneficiary: string;
4701
4819
  maxProtocolFee: string;
4702
- protocolFee: string;
4703
4820
  ownerOverrides?: Record<string, string> | undefined;
4704
4821
  } | {
4705
4822
  type: HookType.PAUSABLE;
@@ -4730,15 +4847,16 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4730
4847
  destinationChain: string;
4731
4848
  arbSys: string;
4732
4849
  bridge?: string | undefined;
4850
+ childHook?: any;
4733
4851
  }>;
4734
4852
  } & {
4735
4853
  type: HookType.FALLBACK_ROUTING;
4736
4854
  fallback: string | {
4737
4855
  type: HookType.PROTOCOL_FEE;
4738
4856
  owner: string;
4857
+ protocolFee: string;
4739
4858
  beneficiary: string;
4740
4859
  maxProtocolFee: string;
4741
- protocolFee: string;
4742
4860
  ownerOverrides?: Record<string, string> | undefined;
4743
4861
  } | {
4744
4862
  type: HookType.PAUSABLE;
@@ -4769,19 +4887,21 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4769
4887
  destinationChain: string;
4770
4888
  arbSys: string;
4771
4889
  bridge?: string | undefined;
4890
+ childHook?: any;
4772
4891
  };
4773
4892
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
4774
4893
  type: HookType.ARB_L2_TO_L1;
4775
4894
  destinationChain: string;
4776
4895
  arbSys: string;
4777
4896
  bridge?: string | undefined;
4897
+ childHook?: any;
4778
4898
  } & string);
4779
4899
  required: string | {
4780
4900
  type: HookType.PROTOCOL_FEE;
4781
4901
  owner: string;
4902
+ protocolFee: string;
4782
4903
  beneficiary: string;
4783
4904
  maxProtocolFee: string;
4784
- protocolFee: string;
4785
4905
  ownerOverrides?: Record<string, string> | undefined;
4786
4906
  } | {
4787
4907
  type: HookType.PAUSABLE;
@@ -4812,12 +4932,13 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4812
4932
  destinationChain: string;
4813
4933
  arbSys: string;
4814
4934
  bridge?: string | undefined;
4935
+ childHook?: any;
4815
4936
  } | (string & {
4816
4937
  type: HookType.PROTOCOL_FEE;
4817
4938
  owner: string;
4939
+ protocolFee: string;
4818
4940
  beneficiary: string;
4819
4941
  maxProtocolFee: string;
4820
- protocolFee: string;
4821
4942
  ownerOverrides?: Record<string, string> | undefined;
4822
4943
  }) | (string & {
4823
4944
  type: HookType.PAUSABLE;
@@ -4850,9 +4971,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4850
4971
  domains: ChainMap<string | {
4851
4972
  type: HookType.PROTOCOL_FEE;
4852
4973
  owner: string;
4974
+ protocolFee: string;
4853
4975
  beneficiary: string;
4854
4976
  maxProtocolFee: string;
4855
- protocolFee: string;
4856
4977
  ownerOverrides?: Record<string, string> | undefined;
4857
4978
  } | {
4858
4979
  type: HookType.PAUSABLE;
@@ -4883,6 +5004,7 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4883
5004
  destinationChain: string;
4884
5005
  arbSys: string;
4885
5006
  bridge?: string | undefined;
5007
+ childHook?: any;
4886
5008
  }>;
4887
5009
  } & {
4888
5010
  type: HookType.ROUTING;
@@ -4893,9 +5015,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4893
5015
  domains: ChainMap<string | {
4894
5016
  type: HookType.PROTOCOL_FEE;
4895
5017
  owner: string;
5018
+ protocolFee: string;
4896
5019
  beneficiary: string;
4897
5020
  maxProtocolFee: string;
4898
- protocolFee: string;
4899
5021
  ownerOverrides?: Record<string, string> | undefined;
4900
5022
  } | {
4901
5023
  type: HookType.PAUSABLE;
@@ -4926,15 +5048,16 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4926
5048
  destinationChain: string;
4927
5049
  arbSys: string;
4928
5050
  bridge?: string | undefined;
5051
+ childHook?: any;
4929
5052
  }>;
4930
5053
  } & {
4931
5054
  type: HookType.FALLBACK_ROUTING;
4932
5055
  fallback: string | {
4933
5056
  type: HookType.PROTOCOL_FEE;
4934
5057
  owner: string;
5058
+ protocolFee: string;
4935
5059
  beneficiary: string;
4936
5060
  maxProtocolFee: string;
4937
- protocolFee: string;
4938
5061
  ownerOverrides?: Record<string, string> | undefined;
4939
5062
  } | {
4940
5063
  type: HookType.PAUSABLE;
@@ -4965,18 +5088,20 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4965
5088
  destinationChain: string;
4966
5089
  arbSys: string;
4967
5090
  bridge?: string | undefined;
5091
+ childHook?: any;
4968
5092
  };
4969
5093
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
4970
5094
  type: HookType.ARB_L2_TO_L1;
4971
5095
  destinationChain: string;
4972
5096
  arbSys: string;
4973
5097
  bridge?: string | undefined;
5098
+ childHook?: any;
4974
5099
  }) | ({
4975
5100
  type: HookType.PROTOCOL_FEE;
4976
5101
  owner: string;
5102
+ protocolFee: string;
4977
5103
  beneficiary: string;
4978
5104
  maxProtocolFee: string;
4979
- protocolFee: string;
4980
5105
  ownerOverrides?: Record<string, string> | undefined;
4981
5106
  } & string) | ({
4982
5107
  type: HookType.PAUSABLE;
@@ -5009,9 +5134,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5009
5134
  domains: ChainMap<string | {
5010
5135
  type: HookType.PROTOCOL_FEE;
5011
5136
  owner: string;
5137
+ protocolFee: string;
5012
5138
  beneficiary: string;
5013
5139
  maxProtocolFee: string;
5014
- protocolFee: string;
5015
5140
  ownerOverrides?: Record<string, string> | undefined;
5016
5141
  } | {
5017
5142
  type: HookType.PAUSABLE;
@@ -5042,6 +5167,7 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5042
5167
  destinationChain: string;
5043
5168
  arbSys: string;
5044
5169
  bridge?: string | undefined;
5170
+ childHook?: any;
5045
5171
  }>;
5046
5172
  } & {
5047
5173
  type: HookType.ROUTING;
@@ -5052,9 +5178,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5052
5178
  domains: ChainMap<string | {
5053
5179
  type: HookType.PROTOCOL_FEE;
5054
5180
  owner: string;
5181
+ protocolFee: string;
5055
5182
  beneficiary: string;
5056
5183
  maxProtocolFee: string;
5057
- protocolFee: string;
5058
5184
  ownerOverrides?: Record<string, string> | undefined;
5059
5185
  } | {
5060
5186
  type: HookType.PAUSABLE;
@@ -5085,6 +5211,7 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5085
5211
  destinationChain: string;
5086
5212
  arbSys: string;
5087
5213
  bridge?: string | undefined;
5214
+ childHook?: any;
5088
5215
  }>;
5089
5216
  } & {
5090
5217
  type: HookType.ROUTING;
@@ -5095,9 +5222,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5095
5222
  domains: ChainMap<string | {
5096
5223
  type: HookType.PROTOCOL_FEE;
5097
5224
  owner: string;
5225
+ protocolFee: string;
5098
5226
  beneficiary: string;
5099
5227
  maxProtocolFee: string;
5100
- protocolFee: string;
5101
5228
  ownerOverrides?: Record<string, string> | undefined;
5102
5229
  } | {
5103
5230
  type: HookType.PAUSABLE;
@@ -5128,15 +5255,16 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5128
5255
  destinationChain: string;
5129
5256
  arbSys: string;
5130
5257
  bridge?: string | undefined;
5258
+ childHook?: any;
5131
5259
  }>;
5132
5260
  } & {
5133
5261
  type: HookType.FALLBACK_ROUTING;
5134
5262
  fallback: string | {
5135
5263
  type: HookType.PROTOCOL_FEE;
5136
5264
  owner: string;
5265
+ protocolFee: string;
5137
5266
  beneficiary: string;
5138
5267
  maxProtocolFee: string;
5139
- protocolFee: string;
5140
5268
  ownerOverrides?: Record<string, string> | undefined;
5141
5269
  } | {
5142
5270
  type: HookType.PAUSABLE;
@@ -5167,6 +5295,7 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5167
5295
  destinationChain: string;
5168
5296
  arbSys: string;
5169
5297
  bridge?: string | undefined;
5298
+ childHook?: any;
5170
5299
  };
5171
5300
  } & string) | ({
5172
5301
  owner: string;
@@ -5175,9 +5304,9 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5175
5304
  domains: ChainMap<string | {
5176
5305
  type: HookType.PROTOCOL_FEE;
5177
5306
  owner: string;
5307
+ protocolFee: string;
5178
5308
  beneficiary: string;
5179
5309
  maxProtocolFee: string;
5180
- protocolFee: string;
5181
5310
  ownerOverrides?: Record<string, string> | undefined;
5182
5311
  } | {
5183
5312
  type: HookType.PAUSABLE;
@@ -5208,15 +5337,16 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5208
5337
  destinationChain: string;
5209
5338
  arbSys: string;
5210
5339
  bridge?: string | undefined;
5340
+ childHook?: any;
5211
5341
  }>;
5212
5342
  } & {
5213
5343
  type: HookType.FALLBACK_ROUTING;
5214
5344
  fallback: string | {
5215
5345
  type: HookType.PROTOCOL_FEE;
5216
5346
  owner: string;
5347
+ protocolFee: string;
5217
5348
  beneficiary: string;
5218
5349
  maxProtocolFee: string;
5219
- protocolFee: string;
5220
5350
  ownerOverrides?: Record<string, string> | undefined;
5221
5351
  } | {
5222
5352
  type: HookType.PAUSABLE;
@@ -5247,12 +5377,14 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5247
5377
  destinationChain: string;
5248
5378
  arbSys: string;
5249
5379
  bridge?: string | undefined;
5380
+ childHook?: any;
5250
5381
  };
5251
5382
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
5252
5383
  type: HookType.ARB_L2_TO_L1;
5253
5384
  destinationChain: string;
5254
5385
  arbSys: string;
5255
5386
  bridge?: string | undefined;
5387
+ childHook?: any;
5256
5388
  } & string);
5257
5389
  }> | undefined;
5258
5390
  export declare function createHookConfig({ context, selectMessage, advanced, }: {
@@ -5263,9 +5395,9 @@ export declare function createHookConfig({ context, selectMessage, advanced, }:
5263
5395
  export declare const createMerkleTreeConfig: (...args: any[]) => Promise<string | {
5264
5396
  type: HookType.PROTOCOL_FEE;
5265
5397
  owner: string;
5398
+ protocolFee: string;
5266
5399
  beneficiary: string;
5267
5400
  maxProtocolFee: string;
5268
- protocolFee: string;
5269
5401
  ownerOverrides?: Record<string, string> | undefined;
5270
5402
  } | {
5271
5403
  type: HookType.PAUSABLE;
@@ -5296,13 +5428,14 @@ export declare const createMerkleTreeConfig: (...args: any[]) => Promise<string
5296
5428
  destinationChain: string;
5297
5429
  arbSys: string;
5298
5430
  bridge?: string | undefined;
5431
+ childHook?: any;
5299
5432
  }>;
5300
5433
  export declare const createProtocolFeeConfig: (...args: any[]) => Promise<string | {
5301
5434
  type: HookType.PROTOCOL_FEE;
5302
5435
  owner: string;
5436
+ protocolFee: string;
5303
5437
  beneficiary: string;
5304
5438
  maxProtocolFee: string;
5305
- protocolFee: string;
5306
5439
  ownerOverrides?: Record<string, string> | undefined;
5307
5440
  } | {
5308
5441
  type: HookType.PAUSABLE;
@@ -5333,28 +5466,9 @@ export declare const createProtocolFeeConfig: (...args: any[]) => Promise<string
5333
5466
  destinationChain: string;
5334
5467
  arbSys: string;
5335
5468
  bridge?: string | undefined;
5469
+ childHook?: any;
5336
5470
  }>;
5337
- export declare const createIGPConfig: (...args: any[]) => Promise<string | {
5338
- type: HookType.PROTOCOL_FEE;
5339
- owner: string;
5340
- beneficiary: string;
5341
- maxProtocolFee: string;
5342
- protocolFee: string;
5343
- ownerOverrides?: Record<string, string> | undefined;
5344
- } | {
5345
- type: HookType.PAUSABLE;
5346
- owner: string;
5347
- paused: boolean;
5348
- ownerOverrides?: Record<string, string> | undefined;
5349
- } | {
5350
- type: HookType.OP_STACK;
5351
- owner: string;
5352
- nativeBridge: string;
5353
- destinationChain: string;
5354
- ownerOverrides?: Record<string, string> | undefined;
5355
- } | {
5356
- type: HookType.MERKLE_TREE;
5357
- } | {
5471
+ export declare const createIGPConfig: (...args: any[]) => Promise<{
5358
5472
  type: HookType.INTERCHAIN_GAS_PAYMASTER;
5359
5473
  owner: string;
5360
5474
  beneficiary: string;
@@ -5365,18 +5479,13 @@ export declare const createIGPConfig: (...args: any[]) => Promise<string | {
5365
5479
  tokenExchangeRate: string;
5366
5480
  }>;
5367
5481
  ownerOverrides?: Record<string, string> | undefined;
5368
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5369
- type: HookType.ARB_L2_TO_L1;
5370
- destinationChain: string;
5371
- arbSys: string;
5372
- bridge?: string | undefined;
5373
5482
  }>;
5374
5483
  export declare const createAggregationConfig: (...args: any[]) => Promise<string | {
5375
5484
  type: HookType.PROTOCOL_FEE;
5376
5485
  owner: string;
5486
+ protocolFee: string;
5377
5487
  beneficiary: string;
5378
5488
  maxProtocolFee: string;
5379
- protocolFee: string;
5380
5489
  ownerOverrides?: Record<string, string> | undefined;
5381
5490
  } | {
5382
5491
  type: HookType.PAUSABLE;
@@ -5407,13 +5516,14 @@ export declare const createAggregationConfig: (...args: any[]) => Promise<string
5407
5516
  destinationChain: string;
5408
5517
  arbSys: string;
5409
5518
  bridge?: string | undefined;
5519
+ childHook?: any;
5410
5520
  }>;
5411
5521
  export declare const createRoutingConfig: (...args: any[]) => Promise<string | {
5412
5522
  type: HookType.PROTOCOL_FEE;
5413
5523
  owner: string;
5524
+ protocolFee: string;
5414
5525
  beneficiary: string;
5415
5526
  maxProtocolFee: string;
5416
- protocolFee: string;
5417
5527
  ownerOverrides?: Record<string, string> | undefined;
5418
5528
  } | {
5419
5529
  type: HookType.PAUSABLE;
@@ -5444,6 +5554,7 @@ export declare const createRoutingConfig: (...args: any[]) => Promise<string | {
5444
5554
  destinationChain: string;
5445
5555
  arbSys: string;
5446
5556
  bridge?: string | undefined;
5557
+ childHook?: any;
5447
5558
  }>;
5448
5559
  export {};
5449
5560
  //# sourceMappingURL=hooks.d.ts.map