@hyperlane-xyz/sdk 33.1.1 → 34.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/core/types.d.ts +2882 -956
  2. package/dist/core/types.d.ts.map +1 -1
  3. package/dist/core/types.js +14 -3
  4. package/dist/core/types.js.map +1 -1
  5. package/dist/deploy/warp.d.ts.map +1 -1
  6. package/dist/deploy/warp.js +125 -12
  7. package/dist/deploy/warp.js.map +1 -1
  8. package/dist/hook/EvmHookModule.d.ts +13 -3
  9. package/dist/hook/EvmHookModule.d.ts.map +1 -1
  10. package/dist/hook/EvmHookModule.hardhat-test.js +15 -1
  11. package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
  12. package/dist/hook/EvmHookModule.js +33 -1
  13. package/dist/hook/EvmHookModule.js.map +1 -1
  14. package/dist/hook/EvmHookReader.d.ts +3 -1
  15. package/dist/hook/EvmHookReader.d.ts.map +1 -1
  16. package/dist/hook/EvmHookReader.js +21 -1
  17. package/dist/hook/EvmHookReader.js.map +1 -1
  18. package/dist/hook/contracts.d.ts +2 -1
  19. package/dist/hook/contracts.d.ts.map +1 -1
  20. package/dist/hook/contracts.js +2 -1
  21. package/dist/hook/contracts.js.map +1 -1
  22. package/dist/hook/types.d.ts +304 -0
  23. package/dist/hook/types.d.ts.map +1 -1
  24. package/dist/hook/types.js +28 -1
  25. package/dist/hook/types.js.map +1 -1
  26. package/dist/hook/updates.d.ts +1 -0
  27. package/dist/hook/updates.d.ts.map +1 -1
  28. package/dist/hook/updates.js +2 -1
  29. package/dist/hook/updates.js.map +1 -1
  30. package/dist/hook/utils.d.ts +2 -8
  31. package/dist/hook/utils.d.ts.map +1 -1
  32. package/dist/hook/utils.js +25 -8
  33. package/dist/hook/utils.js.map +1 -1
  34. package/dist/ica/types.d.ts +182 -0
  35. package/dist/ica/types.d.ts.map +1 -1
  36. package/dist/index.d.ts +4 -4
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +4 -4
  39. package/dist/index.js.map +1 -1
  40. package/dist/ism/EvmIsmModule.d.ts +5 -1
  41. package/dist/ism/EvmIsmModule.d.ts.map +1 -1
  42. package/dist/ism/EvmIsmModule.hardhat-test.js +39 -0
  43. package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
  44. package/dist/ism/EvmIsmModule.js +33 -2
  45. package/dist/ism/EvmIsmModule.js.map +1 -1
  46. package/dist/ism/EvmIsmReader.d.ts.map +1 -1
  47. package/dist/ism/EvmIsmReader.js +21 -1
  48. package/dist/ism/EvmIsmReader.js.map +1 -1
  49. package/dist/ism/HyperlaneIsmFactory.d.ts +2 -1
  50. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  51. package/dist/ism/HyperlaneIsmFactory.js +19 -1
  52. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  53. package/dist/ism/types.d.ts +116 -2
  54. package/dist/ism/types.d.ts.map +1 -1
  55. package/dist/ism/types.js +27 -1
  56. package/dist/ism/types.js.map +1 -1
  57. package/dist/ism/utils.d.ts.map +1 -1
  58. package/dist/ism/utils.js +17 -1
  59. package/dist/ism/utils.js.map +1 -1
  60. package/dist/middleware/account/InterchainAccount.d.ts +2 -205
  61. package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
  62. package/dist/middleware/account/InterchainAccount.js +2 -72
  63. package/dist/middleware/account/InterchainAccount.js.map +1 -1
  64. package/dist/middleware/account/InterchainAccount.test.js +2 -1
  65. package/dist/middleware/account/InterchainAccount.test.js.map +1 -1
  66. package/dist/middleware/account/icaCalls.d.ts +206 -0
  67. package/dist/middleware/account/icaCalls.d.ts.map +1 -0
  68. package/dist/middleware/account/icaCalls.js +73 -0
  69. package/dist/middleware/account/icaCalls.js.map +1 -0
  70. package/dist/middleware/account/types.d.ts +12 -12
  71. package/dist/providers/transactionFeeEstimators.d.ts +1 -0
  72. package/dist/providers/transactionFeeEstimators.d.ts.map +1 -1
  73. package/dist/providers/transactionFeeEstimators.js +32 -10
  74. package/dist/providers/transactionFeeEstimators.js.map +1 -1
  75. package/dist/providers/transactionFeeEstimators.test.d.ts +2 -0
  76. package/dist/providers/transactionFeeEstimators.test.d.ts.map +1 -0
  77. package/dist/providers/transactionFeeEstimators.test.js +102 -0
  78. package/dist/providers/transactionFeeEstimators.test.js.map +1 -0
  79. package/dist/router/HyperlaneRouterDeployer.d.ts +1 -0
  80. package/dist/router/HyperlaneRouterDeployer.d.ts.map +1 -1
  81. package/dist/router/HyperlaneRouterDeployer.js +2 -0
  82. package/dist/router/HyperlaneRouterDeployer.js.map +1 -1
  83. package/dist/router/types.d.ts +273 -0
  84. package/dist/router/types.d.ts.map +1 -1
  85. package/dist/test/testUtils.d.ts +1 -1
  86. package/dist/test/testUtils.d.ts.map +1 -1
  87. package/dist/test/testUtils.js +15 -0
  88. package/dist/test/testUtils.js.map +1 -1
  89. package/dist/token/EvmWarpModule.d.ts.map +1 -1
  90. package/dist/token/EvmWarpModule.js +49 -3
  91. package/dist/token/EvmWarpModule.js.map +1 -1
  92. package/dist/token/deploy.d.ts +3 -1
  93. package/dist/token/deploy.d.ts.map +1 -1
  94. package/dist/token/deploy.hardhat-test.js +105 -1
  95. package/dist/token/deploy.hardhat-test.js.map +1 -1
  96. package/dist/token/deploy.js +41 -2
  97. package/dist/token/deploy.js.map +1 -1
  98. package/dist/token/types.d.ts +575 -0
  99. package/dist/token/types.d.ts.map +1 -1
  100. package/dist/utils/ism.d.ts +9 -1
  101. package/dist/utils/ism.d.ts.map +1 -1
  102. package/dist/utils/ism.js +63 -0
  103. package/dist/utils/ism.js.map +1 -1
  104. package/package.json +22 -10
@@ -6,7 +6,7 @@ import type { CheckerViolation } from '../deploy/types.js';
6
6
  import { DerivedHookConfig } from '../hook/types.js';
7
7
  import type { DerivedIsmConfig, IsmConfig } from '../ism/types.js';
8
8
  import type { ChainName } from '../types.js';
9
- export declare const CoreConfigSchema: z.ZodObject<{
9
+ export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
10
10
  owner: z.ZodString;
11
11
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12
12
  } & {
@@ -65,6 +65,41 @@ export declare const CoreConfigSchema: z.ZodObject<{
65
65
  }, {
66
66
  type: "ccipIsm";
67
67
  originChain: string;
68
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
69
+ type: z.ZodLiteral<"rateLimitedIsm">;
70
+ maxCapacity: z.ZodString;
71
+ recipient: z.ZodOptional<z.ZodString>;
72
+ owner: z.ZodOptional<z.ZodString>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ type: "rateLimitedIsm";
75
+ maxCapacity: string;
76
+ owner?: string | undefined;
77
+ recipient?: string | undefined;
78
+ }, {
79
+ type: "rateLimitedIsm";
80
+ maxCapacity: string;
81
+ owner?: string | undefined;
82
+ recipient?: string | undefined;
83
+ }>, {
84
+ type: "rateLimitedIsm";
85
+ maxCapacity: string;
86
+ owner?: string | undefined;
87
+ recipient?: string | undefined;
88
+ }, {
89
+ type: "rateLimitedIsm";
90
+ maxCapacity: string;
91
+ owner?: string | undefined;
92
+ recipient?: string | undefined;
93
+ }>, {
94
+ type: "rateLimitedIsm";
95
+ maxCapacity: string;
96
+ owner?: string | undefined;
97
+ recipient?: string | undefined;
98
+ }, {
99
+ type: "rateLimitedIsm";
100
+ maxCapacity: string;
101
+ owner?: string | undefined;
102
+ recipient?: string | undefined;
68
103
  }>, z.ZodIntersection<z.ZodObject<{
69
104
  validators: z.ZodArray<z.ZodString, "many">;
70
105
  threshold: z.ZodNumber;
@@ -350,6 +385,42 @@ export declare const CoreConfigSchema: z.ZodObject<{
350
385
  }, {
351
386
  type: "cctpHook";
352
387
  address: string;
388
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
389
+ owner: z.ZodString;
390
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
391
+ } & {
392
+ type: z.ZodLiteral<"rateLimitedHook">;
393
+ maxCapacity: z.ZodString;
394
+ }, "strip", z.ZodTypeAny, {
395
+ type: "rateLimitedHook";
396
+ owner: string;
397
+ maxCapacity: string;
398
+ ownerOverrides?: Record<string, string> | undefined;
399
+ }, {
400
+ type: "rateLimitedHook";
401
+ owner: string;
402
+ maxCapacity: string;
403
+ ownerOverrides?: Record<string, string> | undefined;
404
+ }>, {
405
+ type: "rateLimitedHook";
406
+ owner: string;
407
+ maxCapacity: string;
408
+ ownerOverrides?: Record<string, string> | undefined;
409
+ }, {
410
+ type: "rateLimitedHook";
411
+ owner: string;
412
+ maxCapacity: string;
413
+ ownerOverrides?: Record<string, string> | undefined;
414
+ }>, {
415
+ type: "rateLimitedHook";
416
+ owner: string;
417
+ maxCapacity: string;
418
+ ownerOverrides?: Record<string, string> | undefined;
419
+ }, {
420
+ type: "rateLimitedHook";
421
+ owner: string;
422
+ maxCapacity: string;
423
+ ownerOverrides?: Record<string, string> | undefined;
353
424
  }>, z.ZodObject<{
354
425
  type: z.ZodLiteral<"unknownHook">;
355
426
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -558,6 +629,42 @@ export declare const CoreConfigSchema: z.ZodObject<{
558
629
  }, {
559
630
  type: "cctpHook";
560
631
  address: string;
632
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
633
+ owner: z.ZodString;
634
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
635
+ } & {
636
+ type: z.ZodLiteral<"rateLimitedHook">;
637
+ maxCapacity: z.ZodString;
638
+ }, "strip", z.ZodTypeAny, {
639
+ type: "rateLimitedHook";
640
+ owner: string;
641
+ maxCapacity: string;
642
+ ownerOverrides?: Record<string, string> | undefined;
643
+ }, {
644
+ type: "rateLimitedHook";
645
+ owner: string;
646
+ maxCapacity: string;
647
+ ownerOverrides?: Record<string, string> | undefined;
648
+ }>, {
649
+ type: "rateLimitedHook";
650
+ owner: string;
651
+ maxCapacity: string;
652
+ ownerOverrides?: Record<string, string> | undefined;
653
+ }, {
654
+ type: "rateLimitedHook";
655
+ owner: string;
656
+ maxCapacity: string;
657
+ ownerOverrides?: Record<string, string> | undefined;
658
+ }>, {
659
+ type: "rateLimitedHook";
660
+ owner: string;
661
+ maxCapacity: string;
662
+ ownerOverrides?: Record<string, string> | undefined;
663
+ }, {
664
+ type: "rateLimitedHook";
665
+ owner: string;
666
+ maxCapacity: string;
667
+ ownerOverrides?: Record<string, string> | undefined;
561
668
  }>, z.ZodObject<{
562
669
  type: z.ZodLiteral<"unknownHook">;
563
670
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -785,6 +892,42 @@ export declare const CoreConfigSchema: z.ZodObject<{
785
892
  }, {
786
893
  type: "cctpHook";
787
894
  address: string;
895
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
896
+ owner: z.ZodString;
897
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
898
+ } & {
899
+ type: z.ZodLiteral<"rateLimitedHook">;
900
+ maxCapacity: z.ZodString;
901
+ }, "strip", z.ZodTypeAny, {
902
+ type: "rateLimitedHook";
903
+ owner: string;
904
+ maxCapacity: string;
905
+ ownerOverrides?: Record<string, string> | undefined;
906
+ }, {
907
+ type: "rateLimitedHook";
908
+ owner: string;
909
+ maxCapacity: string;
910
+ ownerOverrides?: Record<string, string> | undefined;
911
+ }>, {
912
+ type: "rateLimitedHook";
913
+ owner: string;
914
+ maxCapacity: string;
915
+ ownerOverrides?: Record<string, string> | undefined;
916
+ }, {
917
+ type: "rateLimitedHook";
918
+ owner: string;
919
+ maxCapacity: string;
920
+ ownerOverrides?: Record<string, string> | undefined;
921
+ }>, {
922
+ type: "rateLimitedHook";
923
+ owner: string;
924
+ maxCapacity: string;
925
+ ownerOverrides?: Record<string, string> | undefined;
926
+ }, {
927
+ type: "rateLimitedHook";
928
+ owner: string;
929
+ maxCapacity: string;
930
+ ownerOverrides?: Record<string, string> | undefined;
788
931
  }>, z.ZodObject<{
789
932
  type: z.ZodLiteral<"unknownHook">;
790
933
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -856,6 +999,41 @@ export declare const CoreConfigSchema: z.ZodObject<{
856
999
  }, {
857
1000
  type: "ccipIsm";
858
1001
  originChain: string;
1002
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
1003
+ type: z.ZodLiteral<"rateLimitedIsm">;
1004
+ maxCapacity: z.ZodString;
1005
+ recipient: z.ZodOptional<z.ZodString>;
1006
+ owner: z.ZodOptional<z.ZodString>;
1007
+ }, "strip", z.ZodTypeAny, {
1008
+ type: "rateLimitedIsm";
1009
+ maxCapacity: string;
1010
+ owner?: string | undefined;
1011
+ recipient?: string | undefined;
1012
+ }, {
1013
+ type: "rateLimitedIsm";
1014
+ maxCapacity: string;
1015
+ owner?: string | undefined;
1016
+ recipient?: string | undefined;
1017
+ }>, {
1018
+ type: "rateLimitedIsm";
1019
+ maxCapacity: string;
1020
+ owner?: string | undefined;
1021
+ recipient?: string | undefined;
1022
+ }, {
1023
+ type: "rateLimitedIsm";
1024
+ maxCapacity: string;
1025
+ owner?: string | undefined;
1026
+ recipient?: string | undefined;
1027
+ }>, {
1028
+ type: "rateLimitedIsm";
1029
+ maxCapacity: string;
1030
+ owner?: string | undefined;
1031
+ recipient?: string | undefined;
1032
+ }, {
1033
+ type: "rateLimitedIsm";
1034
+ maxCapacity: string;
1035
+ owner?: string | undefined;
1036
+ recipient?: string | undefined;
859
1037
  }>, z.ZodIntersection<z.ZodObject<{
860
1038
  validators: z.ZodArray<z.ZodString, "many">;
861
1039
  threshold: z.ZodNumber;
@@ -1247,6 +1425,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1247
1425
  childHook?: any;
1248
1426
  } | {
1249
1427
  type: "defaultHook";
1428
+ } | {
1429
+ type: "rateLimitedHook";
1430
+ owner: string;
1431
+ maxCapacity: string;
1432
+ ownerOverrides?: Record<string, string> | undefined;
1250
1433
  } | {
1251
1434
  type: "ccipHook";
1252
1435
  destinationChain: string;
@@ -1293,6 +1476,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1293
1476
  } | {
1294
1477
  type: "arbL2ToL1Ism";
1295
1478
  bridge: string;
1479
+ } | {
1480
+ type: "rateLimitedIsm";
1481
+ maxCapacity: string;
1482
+ owner?: string | undefined;
1483
+ recipient?: string | undefined;
1296
1484
  } | {
1297
1485
  type: "offchainLookupIsm";
1298
1486
  owner: string;
@@ -1404,6 +1592,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1404
1592
  childHook?: any;
1405
1593
  } | {
1406
1594
  type: "defaultHook";
1595
+ } | {
1596
+ type: "rateLimitedHook";
1597
+ owner: string;
1598
+ maxCapacity: string;
1599
+ ownerOverrides?: Record<string, string> | undefined;
1407
1600
  } | {
1408
1601
  type: "ccipHook";
1409
1602
  destinationChain: string;
@@ -1450,6 +1643,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1450
1643
  } | {
1451
1644
  type: "arbL2ToL1Ism";
1452
1645
  bridge: string;
1646
+ } | {
1647
+ type: "rateLimitedIsm";
1648
+ maxCapacity: string;
1649
+ owner?: string | undefined;
1650
+ recipient?: string | undefined;
1453
1651
  } | {
1454
1652
  type: "offchainLookupIsm";
1455
1653
  owner: string;
@@ -1561,6 +1759,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1561
1759
  childHook?: any;
1562
1760
  } | {
1563
1761
  type: "defaultHook";
1762
+ } | {
1763
+ type: "rateLimitedHook";
1764
+ owner: string;
1765
+ maxCapacity: string;
1766
+ ownerOverrides?: Record<string, string> | undefined;
1564
1767
  } | {
1565
1768
  type: "ccipHook";
1566
1769
  destinationChain: string;
@@ -1607,6 +1810,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1607
1810
  } | {
1608
1811
  type: "arbL2ToL1Ism";
1609
1812
  bridge: string;
1813
+ } | {
1814
+ type: "rateLimitedIsm";
1815
+ maxCapacity: string;
1816
+ owner?: string | undefined;
1817
+ recipient?: string | undefined;
1610
1818
  } | {
1611
1819
  type: "offchainLookupIsm";
1612
1820
  owner: string;
@@ -1662,6 +1870,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1662
1870
  childHook?: any;
1663
1871
  } | {
1664
1872
  type: "defaultHook";
1873
+ } | {
1874
+ type: "rateLimitedHook";
1875
+ owner: string;
1876
+ maxCapacity: string;
1877
+ ownerOverrides?: Record<string, string> | undefined;
1665
1878
  } | {
1666
1879
  type: "ccipHook";
1667
1880
  destinationChain: string;
@@ -1737,6 +1950,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1737
1950
  childHook?: any;
1738
1951
  } | {
1739
1952
  type: "defaultHook";
1953
+ } | {
1954
+ type: "rateLimitedHook";
1955
+ owner: string;
1956
+ maxCapacity: string;
1957
+ ownerOverrides?: Record<string, string> | undefined;
1740
1958
  } | {
1741
1959
  type: "ccipHook";
1742
1960
  destinationChain: string;
@@ -1783,6 +2001,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1783
2001
  } | {
1784
2002
  type: "arbL2ToL1Ism";
1785
2003
  bridge: string;
2004
+ } | {
2005
+ type: "rateLimitedIsm";
2006
+ maxCapacity: string;
2007
+ owner?: string | undefined;
2008
+ recipient?: string | undefined;
1786
2009
  } | {
1787
2010
  type: "offchainLookupIsm";
1788
2011
  owner: string;
@@ -1888,6 +2111,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1888
2111
  childHook?: any;
1889
2112
  } | {
1890
2113
  type: "defaultHook";
2114
+ } | {
2115
+ type: "rateLimitedHook";
2116
+ owner: string;
2117
+ maxCapacity: string;
2118
+ ownerOverrides?: Record<string, string> | undefined;
1891
2119
  } | {
1892
2120
  type: "ccipHook";
1893
2121
  destinationChain: string;
@@ -1934,6 +2162,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1934
2162
  } | {
1935
2163
  type: "arbL2ToL1Ism";
1936
2164
  bridge: string;
2165
+ } | {
2166
+ type: "rateLimitedIsm";
2167
+ maxCapacity: string;
2168
+ owner?: string | undefined;
2169
+ recipient?: string | undefined;
1937
2170
  } | {
1938
2171
  type: "offchainLookupIsm";
1939
2172
  owner: string;
@@ -1994,6 +2227,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
1994
2227
  childHook?: any;
1995
2228
  } | {
1996
2229
  type: "defaultHook";
2230
+ } | {
2231
+ type: "rateLimitedHook";
2232
+ owner: string;
2233
+ maxCapacity: string;
2234
+ ownerOverrides?: Record<string, string> | undefined;
1997
2235
  } | {
1998
2236
  type: "ccipHook";
1999
2237
  destinationChain: string;
@@ -2069,6 +2307,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
2069
2307
  childHook?: any;
2070
2308
  } | {
2071
2309
  type: "defaultHook";
2310
+ } | {
2311
+ type: "rateLimitedHook";
2312
+ owner: string;
2313
+ maxCapacity: string;
2314
+ ownerOverrides?: Record<string, string> | undefined;
2072
2315
  } | {
2073
2316
  type: "ccipHook";
2074
2317
  destinationChain: string;
@@ -2115,6 +2358,11 @@ export declare const CoreConfigSchema: z.ZodObject<{
2115
2358
  } | {
2116
2359
  type: "arbL2ToL1Ism";
2117
2360
  bridge: string;
2361
+ } | {
2362
+ type: "rateLimitedIsm";
2363
+ maxCapacity: string;
2364
+ owner?: string | undefined;
2365
+ recipient?: string | undefined;
2118
2366
  } | {
2119
2367
  type: "offchainLookupIsm";
2120
2368
  owner: string;
@@ -2176,271 +2424,122 @@ export declare const CoreConfigSchema: z.ZodObject<{
2176
2424
  feeToken: string;
2177
2425
  }[] | undefined;
2178
2426
  } | undefined;
2179
- }>;
2180
- export declare const DerivedCoreConfigSchema: z.ZodObject<{
2181
- owner: z.ZodString;
2182
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2183
- defaultIsm: z.ZodUnion<[z.ZodString, z.ZodObject<{
2184
- type: z.ZodLiteral<"testIsm">;
2185
- }, "strip", z.ZodTypeAny, {
2186
- type: "testIsm";
2187
- }, {
2188
- type: "testIsm";
2189
- }>, z.ZodObject<{
2190
- type: z.ZodLiteral<"opStackIsm">;
2191
- origin: z.ZodString;
2192
- nativeBridge: z.ZodString;
2193
- }, "strip", z.ZodTypeAny, {
2194
- type: "opStackIsm";
2195
- origin: string;
2196
- nativeBridge: string;
2197
- }, {
2198
- type: "opStackIsm";
2199
- origin: string;
2200
- nativeBridge: string;
2201
- }>, z.ZodIntersection<z.ZodObject<{
2202
- owner: z.ZodString;
2203
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2204
- } & {
2205
- paused: z.ZodBoolean;
2206
- }, "strip", z.ZodTypeAny, {
2427
+ }>, {
2428
+ owner: string;
2429
+ defaultHook: string | {
2430
+ type: "merkleTreeHook";
2431
+ } | {
2432
+ type: "interchainGasPaymaster";
2207
2433
  owner: string;
2208
- paused: boolean;
2434
+ beneficiary: string;
2435
+ oracleKey: string;
2436
+ overhead: Record<string, number>;
2437
+ oracleConfig: Record<string, {
2438
+ gasPrice: string;
2439
+ tokenExchangeRate: string;
2440
+ tokenDecimals?: number | undefined;
2441
+ typicalCost?: {
2442
+ handleGasAmount: number;
2443
+ totalGasAmount: number;
2444
+ totalUsdCost: number;
2445
+ } | undefined;
2446
+ }>;
2209
2447
  ownerOverrides?: Record<string, string> | undefined;
2210
- }, {
2448
+ quoteSigners?: string[] | undefined;
2449
+ contractVersion?: string | undefined;
2450
+ } | {
2451
+ type: "protocolFee";
2452
+ owner: string;
2453
+ protocolFee: string;
2454
+ beneficiary: string;
2455
+ maxProtocolFee: string;
2456
+ ownerOverrides?: Record<string, string> | undefined;
2457
+ } | {
2458
+ type: "pausableHook";
2211
2459
  owner: string;
2212
2460
  paused: boolean;
2213
2461
  ownerOverrides?: Record<string, string> | undefined;
2214
- }>, z.ZodObject<{
2215
- type: z.ZodLiteral<"pausableIsm">;
2216
- }, "strip", z.ZodTypeAny, {
2217
- type: "pausableIsm";
2218
- }, {
2219
- type: "pausableIsm";
2220
- }>>, z.ZodObject<{
2221
- type: z.ZodLiteral<"trustedRelayerIsm">;
2222
- relayer: z.ZodString;
2223
- }, "strip", z.ZodTypeAny, {
2224
- type: "trustedRelayerIsm";
2225
- relayer: string;
2226
- }, {
2227
- type: "trustedRelayerIsm";
2228
- relayer: string;
2229
- }>, z.ZodObject<{
2230
- type: z.ZodLiteral<"ccipIsm">;
2231
- originChain: z.ZodString;
2232
- }, "strip", z.ZodTypeAny, {
2233
- type: "ccipIsm";
2234
- originChain: string;
2235
- }, {
2236
- type: "ccipIsm";
2237
- originChain: string;
2238
- }>, z.ZodIntersection<z.ZodObject<{
2239
- validators: z.ZodArray<z.ZodString, "many">;
2240
- threshold: z.ZodNumber;
2241
- }, "strip", z.ZodTypeAny, {
2242
- threshold: number;
2243
- validators: string[];
2244
- }, {
2462
+ } | {
2463
+ type: "opStackHook";
2464
+ owner: string;
2465
+ nativeBridge: string;
2466
+ destinationChain: string;
2467
+ ownerOverrides?: Record<string, string> | undefined;
2468
+ } | {
2469
+ type: "arbL2ToL1Hook";
2470
+ destinationChain: string;
2471
+ arbSys: string;
2472
+ bridge?: string | undefined;
2473
+ childHook?: any;
2474
+ } | {
2475
+ type: "defaultHook";
2476
+ } | {
2477
+ type: "rateLimitedHook";
2478
+ owner: string;
2479
+ maxCapacity: string;
2480
+ ownerOverrides?: Record<string, string> | undefined;
2481
+ } | {
2482
+ type: "ccipHook";
2483
+ destinationChain: string;
2484
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
2485
+ type: "cctpHook";
2486
+ address: string;
2487
+ } | z.objectOutputType<{
2488
+ type: z.ZodLiteral<"unknownHook">;
2489
+ }, z.ZodTypeAny, "passthrough"> | {
2490
+ type: "predicateHook";
2491
+ address: string;
2492
+ };
2493
+ defaultIsm: string | ({
2245
2494
  threshold: number;
2246
2495
  validators: string[];
2247
- }>, z.ZodObject<{
2248
- type: z.ZodUnion<[z.ZodLiteral<"merkleRootMultisigIsm">, z.ZodLiteral<"messageIdMultisigIsm">, z.ZodLiteral<"storageMerkleRootMultisigIsm">, z.ZodLiteral<"storageMessageIdMultisigIsm">]>;
2249
- }, "strip", z.ZodTypeAny, {
2250
- type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
2251
- }, {
2496
+ } & {
2252
2497
  type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
2253
- }>>, z.ZodIntersection<z.ZodObject<{
2254
- validators: z.ZodArray<z.ZodObject<{
2255
- signingAddress: z.ZodString;
2256
- weight: z.ZodNumber;
2257
- }, "strip", z.ZodTypeAny, {
2258
- signingAddress: string;
2259
- weight: number;
2260
- }, {
2261
- signingAddress: string;
2262
- weight: number;
2263
- }>, "many">;
2264
- thresholdWeight: z.ZodNumber;
2265
- }, "strip", z.ZodTypeAny, {
2266
- validators: {
2267
- signingAddress: string;
2268
- weight: number;
2269
- }[];
2270
- thresholdWeight: number;
2271
- }, {
2498
+ }) | ({
2272
2499
  validators: {
2273
2500
  signingAddress: string;
2274
2501
  weight: number;
2275
2502
  }[];
2276
2503
  thresholdWeight: number;
2277
- }>, z.ZodObject<{
2278
- type: z.ZodUnion<[z.ZodLiteral<"weightedMerkleRootMultisigIsm">, z.ZodLiteral<"weightedMessageIdMultisigIsm">]>;
2279
- }, "strip", z.ZodTypeAny, {
2280
- type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
2281
- }, {
2504
+ } & {
2282
2505
  type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
2283
- }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
2284
- type: z.ZodLiteral<"arbL2ToL1Ism">;
2285
- bridge: z.ZodString;
2286
- }, "strip", z.ZodTypeAny, {
2287
- type: "arbL2ToL1Ism";
2288
- bridge: string;
2289
- }, {
2290
- type: "arbL2ToL1Ism";
2291
- bridge: string;
2292
- }>, z.ZodObject<{
2293
- owner: z.ZodString;
2294
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2295
- } & {
2296
- type: z.ZodLiteral<"offchainLookupIsm">;
2297
- urls: z.ZodArray<z.ZodString, "many">;
2298
- }, "strip", z.ZodTypeAny, {
2299
- type: "offchainLookupIsm";
2300
- owner: string;
2301
- urls: string[];
2302
- ownerOverrides?: Record<string, string> | undefined;
2303
- }, {
2304
- type: "offchainLookupIsm";
2305
- owner: string;
2306
- urls: string[];
2307
- ownerOverrides?: Record<string, string> | undefined;
2308
- }>, z.ZodObject<{
2309
- owner: z.ZodString;
2310
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2311
- } & {
2312
- type: z.ZodLiteral<"interchainAccountRouting">;
2313
- isms: z.ZodRecord<z.ZodString, z.ZodString>;
2314
- }, "strip", z.ZodTypeAny, {
2315
- type: "interchainAccountRouting";
2316
- owner: string;
2317
- isms: Record<string, string>;
2318
- ownerOverrides?: Record<string, string> | undefined;
2319
- }, {
2320
- type: "interchainAccountRouting";
2321
- owner: string;
2322
- isms: Record<string, string>;
2323
- ownerOverrides?: Record<string, string> | undefined;
2324
- }>, z.ZodObject<{
2325
- type: z.ZodLiteral<"unknownIsm">;
2326
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2327
- type: z.ZodLiteral<"unknownIsm">;
2328
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2329
- type: z.ZodLiteral<"unknownIsm">;
2330
- }, z.ZodTypeAny, "passthrough">>]>;
2331
- defaultHook: z.ZodUnion<[z.ZodString, z.ZodObject<{
2332
- owner: z.ZodString;
2333
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2334
- } & {
2335
- type: z.ZodLiteral<"protocolFee">;
2336
- beneficiary: z.ZodString;
2337
- maxProtocolFee: z.ZodString;
2338
- protocolFee: z.ZodString;
2339
- }, "strip", z.ZodTypeAny, {
2340
- type: "protocolFee";
2341
- owner: string;
2342
- protocolFee: string;
2343
- beneficiary: string;
2344
- maxProtocolFee: string;
2345
- ownerOverrides?: Record<string, string> | undefined;
2346
- }, {
2347
- type: "protocolFee";
2348
- owner: string;
2349
- protocolFee: string;
2350
- beneficiary: string;
2351
- maxProtocolFee: string;
2352
- ownerOverrides?: Record<string, string> | undefined;
2353
- }>, z.ZodObject<{
2354
- owner: z.ZodString;
2355
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2356
- } & {
2357
- paused: z.ZodBoolean;
2358
- } & {
2359
- type: z.ZodLiteral<"pausableHook">;
2360
- }, "strip", z.ZodTypeAny, {
2361
- type: "pausableHook";
2362
- owner: string;
2363
- paused: boolean;
2364
- ownerOverrides?: Record<string, string> | undefined;
2365
- }, {
2366
- type: "pausableHook";
2506
+ }) | {
2507
+ type: "testIsm";
2508
+ } | ({
2367
2509
  owner: string;
2368
2510
  paused: boolean;
2369
2511
  ownerOverrides?: Record<string, string> | undefined;
2370
- }>, z.ZodObject<{
2371
- owner: z.ZodString;
2372
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2373
2512
  } & {
2374
- type: z.ZodLiteral<"opStackHook">;
2375
- nativeBridge: z.ZodString;
2376
- destinationChain: z.ZodString;
2377
- }, "strip", z.ZodTypeAny, {
2378
- type: "opStackHook";
2379
- owner: string;
2513
+ type: "pausableIsm";
2514
+ }) | {
2515
+ type: "opStackIsm";
2516
+ origin: string;
2380
2517
  nativeBridge: string;
2381
- destinationChain: string;
2382
- ownerOverrides?: Record<string, string> | undefined;
2383
- }, {
2384
- type: "opStackHook";
2518
+ } | {
2519
+ type: "trustedRelayerIsm";
2520
+ relayer: string;
2521
+ } | {
2522
+ type: "ccipIsm";
2523
+ originChain: string;
2524
+ } | {
2525
+ type: "arbL2ToL1Ism";
2526
+ bridge: string;
2527
+ } | {
2528
+ type: "rateLimitedIsm";
2529
+ maxCapacity: string;
2530
+ owner?: string | undefined;
2531
+ recipient?: string | undefined;
2532
+ } | {
2533
+ type: "offchainLookupIsm";
2385
2534
  owner: string;
2386
- nativeBridge: string;
2387
- destinationChain: string;
2535
+ urls: string[];
2388
2536
  ownerOverrides?: Record<string, string> | undefined;
2389
- }>, z.ZodObject<{
2390
- type: z.ZodLiteral<"merkleTreeHook">;
2391
- }, "strip", z.ZodTypeAny, {
2392
- type: "merkleTreeHook";
2393
- }, {
2537
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
2538
+ type: z.ZodLiteral<"unknownIsm">;
2539
+ }, z.ZodTypeAny, "passthrough">;
2540
+ requiredHook: string | {
2394
2541
  type: "merkleTreeHook";
2395
- }>, z.ZodObject<{
2396
- owner: z.ZodString;
2397
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2398
- } & {
2399
- type: z.ZodLiteral<"interchainGasPaymaster">;
2400
- beneficiary: z.ZodString;
2401
- oracleKey: z.ZodString;
2402
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
2403
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
2404
- gasPrice: z.ZodString;
2405
- tokenExchangeRate: z.ZodString;
2406
- } & {
2407
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
2408
- } & {
2409
- typicalCost: z.ZodOptional<z.ZodObject<{
2410
- handleGasAmount: z.ZodNumber;
2411
- totalGasAmount: z.ZodNumber;
2412
- totalUsdCost: z.ZodNumber;
2413
- }, "strip", z.ZodTypeAny, {
2414
- handleGasAmount: number;
2415
- totalGasAmount: number;
2416
- totalUsdCost: number;
2417
- }, {
2418
- handleGasAmount: number;
2419
- totalGasAmount: number;
2420
- totalUsdCost: number;
2421
- }>>;
2422
- }, "strip", z.ZodTypeAny, {
2423
- gasPrice: string;
2424
- tokenExchangeRate: string;
2425
- tokenDecimals?: number | undefined;
2426
- typicalCost?: {
2427
- handleGasAmount: number;
2428
- totalGasAmount: number;
2429
- totalUsdCost: number;
2430
- } | undefined;
2431
- }, {
2432
- gasPrice: string;
2433
- tokenExchangeRate: string;
2434
- tokenDecimals?: number | undefined;
2435
- typicalCost?: {
2436
- handleGasAmount: number;
2437
- totalGasAmount: number;
2438
- totalUsdCost: number;
2439
- } | undefined;
2440
- }>>;
2441
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2442
- contractVersion: z.ZodOptional<z.ZodString>;
2443
- }, "strip", z.ZodTypeAny, {
2542
+ } | {
2444
2543
  type: "interchainGasPaymaster";
2445
2544
  owner: string;
2446
2545
  beneficiary: string;
@@ -2459,196 +2558,345 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
2459
2558
  ownerOverrides?: Record<string, string> | undefined;
2460
2559
  quoteSigners?: string[] | undefined;
2461
2560
  contractVersion?: string | undefined;
2462
- }, {
2463
- type: "interchainGasPaymaster";
2561
+ } | {
2562
+ type: "protocolFee";
2464
2563
  owner: string;
2564
+ protocolFee: string;
2465
2565
  beneficiary: string;
2466
- oracleKey: string;
2467
- overhead: Record<string, number>;
2468
- oracleConfig: Record<string, {
2469
- gasPrice: string;
2470
- tokenExchangeRate: string;
2471
- tokenDecimals?: number | undefined;
2472
- typicalCost?: {
2473
- handleGasAmount: number;
2474
- totalGasAmount: number;
2475
- totalUsdCost: number;
2476
- } | undefined;
2477
- }>;
2566
+ maxProtocolFee: string;
2478
2567
  ownerOverrides?: Record<string, string> | undefined;
2479
- quoteSigners?: string[] | undefined;
2480
- contractVersion?: string | undefined;
2481
- }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
2482
- type: z.ZodLiteral<"arbL2ToL1Hook">;
2483
- arbSys: z.ZodString;
2484
- bridge: z.ZodOptional<z.ZodString>;
2485
- destinationChain: z.ZodString;
2486
- childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
2487
- }, "strip", z.ZodTypeAny, {
2488
- type: "arbL2ToL1Hook";
2568
+ } | {
2569
+ type: "pausableHook";
2570
+ owner: string;
2571
+ paused: boolean;
2572
+ ownerOverrides?: Record<string, string> | undefined;
2573
+ } | {
2574
+ type: "opStackHook";
2575
+ owner: string;
2576
+ nativeBridge: string;
2489
2577
  destinationChain: string;
2490
- arbSys: string;
2491
- bridge?: string | undefined;
2492
- childHook?: any;
2493
- }, {
2578
+ ownerOverrides?: Record<string, string> | undefined;
2579
+ } | {
2494
2580
  type: "arbL2ToL1Hook";
2495
2581
  destinationChain: string;
2496
2582
  arbSys: string;
2497
2583
  bridge?: string | undefined;
2498
2584
  childHook?: any;
2499
- }>, z.ZodObject<{
2500
- type: z.ZodLiteral<"defaultHook">;
2501
- }, "strip", z.ZodTypeAny, {
2502
- type: "defaultHook";
2503
- }, {
2585
+ } | {
2504
2586
  type: "defaultHook";
2505
- }>, z.ZodObject<{
2506
- type: z.ZodLiteral<"ccipHook">;
2507
- destinationChain: z.ZodString;
2508
- }, "strip", z.ZodTypeAny, {
2509
- type: "ccipHook";
2510
- destinationChain: string;
2511
- }, {
2587
+ } | {
2588
+ type: "rateLimitedHook";
2589
+ owner: string;
2590
+ maxCapacity: string;
2591
+ ownerOverrides?: Record<string, string> | undefined;
2592
+ } | {
2512
2593
  type: "ccipHook";
2513
2594
  destinationChain: string;
2514
- }>, z.ZodObject<{
2515
- type: z.ZodLiteral<"cctpHook">;
2516
- address: z.ZodString;
2517
- }, "strip", z.ZodTypeAny, {
2518
- type: "cctpHook";
2519
- address: string;
2520
- }, {
2595
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
2521
2596
  type: "cctpHook";
2522
2597
  address: string;
2523
- }>, z.ZodObject<{
2524
- type: z.ZodLiteral<"unknownHook">;
2525
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2526
- type: z.ZodLiteral<"unknownHook">;
2527
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2598
+ } | z.objectOutputType<{
2528
2599
  type: z.ZodLiteral<"unknownHook">;
2529
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2530
- type: z.ZodLiteral<"predicateHook">;
2531
- address: z.ZodString;
2532
- }, "strip", z.ZodTypeAny, {
2533
- type: "predicateHook";
2534
- address: string;
2535
- }, {
2600
+ }, z.ZodTypeAny, "passthrough"> | {
2536
2601
  type: "predicateHook";
2537
2602
  address: string;
2538
- }>]>;
2539
- requiredHook: z.ZodUnion<[z.ZodString, z.ZodObject<{
2540
- owner: z.ZodString;
2541
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2542
- } & {
2543
- type: z.ZodLiteral<"protocolFee">;
2544
- beneficiary: z.ZodString;
2545
- maxProtocolFee: z.ZodString;
2546
- protocolFee: z.ZodString;
2547
- }, "strip", z.ZodTypeAny, {
2548
- type: "protocolFee";
2603
+ };
2604
+ ownerOverrides?: Record<string, string> | undefined;
2605
+ permit2?: string | undefined;
2606
+ proxyAdmin?: {
2607
+ owner: string;
2608
+ address?: string | undefined;
2609
+ ownerOverrides?: Record<string, string> | undefined;
2610
+ } | undefined;
2611
+ interchainAccountRouter?: {
2612
+ owner: string;
2613
+ mailbox: string;
2614
+ ownerOverrides?: Record<string, string> | undefined;
2615
+ proxyAdmin?: {
2616
+ owner: string;
2617
+ address?: string | undefined;
2618
+ ownerOverrides?: Record<string, string> | undefined;
2619
+ } | undefined;
2620
+ hook?: string | {
2621
+ type: "merkleTreeHook";
2622
+ } | {
2623
+ type: "interchainGasPaymaster";
2624
+ owner: string;
2625
+ beneficiary: string;
2626
+ oracleKey: string;
2627
+ overhead: Record<string, number>;
2628
+ oracleConfig: Record<string, {
2629
+ gasPrice: string;
2630
+ tokenExchangeRate: string;
2631
+ tokenDecimals?: number | undefined;
2632
+ typicalCost?: {
2633
+ handleGasAmount: number;
2634
+ totalGasAmount: number;
2635
+ totalUsdCost: number;
2636
+ } | undefined;
2637
+ }>;
2638
+ ownerOverrides?: Record<string, string> | undefined;
2639
+ quoteSigners?: string[] | undefined;
2640
+ contractVersion?: string | undefined;
2641
+ } | {
2642
+ type: "protocolFee";
2643
+ owner: string;
2644
+ protocolFee: string;
2645
+ beneficiary: string;
2646
+ maxProtocolFee: string;
2647
+ ownerOverrides?: Record<string, string> | undefined;
2648
+ } | {
2649
+ type: "pausableHook";
2650
+ owner: string;
2651
+ paused: boolean;
2652
+ ownerOverrides?: Record<string, string> | undefined;
2653
+ } | {
2654
+ type: "opStackHook";
2655
+ owner: string;
2656
+ nativeBridge: string;
2657
+ destinationChain: string;
2658
+ ownerOverrides?: Record<string, string> | undefined;
2659
+ } | {
2660
+ type: "arbL2ToL1Hook";
2661
+ destinationChain: string;
2662
+ arbSys: string;
2663
+ bridge?: string | undefined;
2664
+ childHook?: any;
2665
+ } | {
2666
+ type: "defaultHook";
2667
+ } | {
2668
+ type: "rateLimitedHook";
2669
+ owner: string;
2670
+ maxCapacity: string;
2671
+ ownerOverrides?: Record<string, string> | undefined;
2672
+ } | {
2673
+ type: "ccipHook";
2674
+ destinationChain: string;
2675
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
2676
+ type: "cctpHook";
2677
+ address: string;
2678
+ } | z.objectOutputType<{
2679
+ type: z.ZodLiteral<"unknownHook">;
2680
+ }, z.ZodTypeAny, "passthrough"> | {
2681
+ type: "predicateHook";
2682
+ address: string;
2683
+ } | undefined;
2684
+ interchainSecurityModule?: string | ({
2685
+ threshold: number;
2686
+ validators: string[];
2687
+ } & {
2688
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
2689
+ }) | ({
2690
+ validators: {
2691
+ signingAddress: string;
2692
+ weight: number;
2693
+ }[];
2694
+ thresholdWeight: number;
2695
+ } & {
2696
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
2697
+ }) | {
2698
+ type: "testIsm";
2699
+ } | ({
2700
+ owner: string;
2701
+ paused: boolean;
2702
+ ownerOverrides?: Record<string, string> | undefined;
2703
+ } & {
2704
+ type: "pausableIsm";
2705
+ }) | {
2706
+ type: "opStackIsm";
2707
+ origin: string;
2708
+ nativeBridge: string;
2709
+ } | {
2710
+ type: "trustedRelayerIsm";
2711
+ relayer: string;
2712
+ } | {
2713
+ type: "ccipIsm";
2714
+ originChain: string;
2715
+ } | {
2716
+ type: "arbL2ToL1Ism";
2717
+ bridge: string;
2718
+ } | {
2719
+ type: "rateLimitedIsm";
2720
+ maxCapacity: string;
2721
+ owner?: string | undefined;
2722
+ recipient?: string | undefined;
2723
+ } | {
2724
+ type: "offchainLookupIsm";
2725
+ owner: string;
2726
+ urls: string[];
2727
+ ownerOverrides?: Record<string, string> | undefined;
2728
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
2729
+ type: z.ZodLiteral<"unknownIsm">;
2730
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2731
+ foreignDeployment?: string | undefined;
2732
+ remoteRouters?: Record<string | number, {
2733
+ address: string;
2734
+ }> | undefined;
2735
+ tokenFee?: {
2736
+ bps: number;
2737
+ type: import("../index.js").TokenFeeType.LinearFee;
2738
+ owner: string;
2739
+ maxFee?: bigint | undefined;
2740
+ halfAmount?: bigint | undefined;
2741
+ } | {
2742
+ bps: number;
2743
+ type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
2744
+ owner: string;
2745
+ maxFee?: bigint | undefined;
2746
+ halfAmount?: bigint | undefined;
2747
+ quoteSigners?: string[] | undefined;
2748
+ } | {
2749
+ type: import("../index.js").TokenFeeType.ProgressiveFee;
2750
+ owner: string;
2751
+ maxFee: bigint;
2752
+ halfAmount: bigint;
2753
+ } | {
2754
+ type: import("../index.js").TokenFeeType.RegressiveFee;
2755
+ owner: string;
2756
+ maxFee: bigint;
2757
+ halfAmount: bigint;
2758
+ } | {
2759
+ type: import("../index.js").TokenFeeType.RoutingFee;
2760
+ owner: string;
2761
+ feeContracts: Record<string, any>;
2762
+ } | {
2763
+ type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
2764
+ owner: string;
2765
+ feeContracts: Record<string, Record<string, any>>;
2766
+ } | undefined;
2767
+ routerType?: import("../ica/types.js").IcaRouterType | undefined;
2768
+ commitmentIsm?: {
2769
+ type: "offchainLookupIsm";
2770
+ owner: string;
2771
+ urls: string[];
2772
+ ownerOverrides?: Record<string, string> | undefined;
2773
+ } | undefined;
2774
+ feeTokenApprovals?: {
2775
+ hook: string;
2776
+ feeToken: string;
2777
+ }[] | undefined;
2778
+ } | undefined;
2779
+ }, {
2780
+ owner: string;
2781
+ defaultHook: string | {
2782
+ type: "merkleTreeHook";
2783
+ } | {
2784
+ type: "interchainGasPaymaster";
2549
2785
  owner: string;
2550
- protocolFee: string;
2551
2786
  beneficiary: string;
2552
- maxProtocolFee: string;
2787
+ oracleKey: string;
2788
+ overhead: Record<string, number>;
2789
+ oracleConfig: Record<string, {
2790
+ gasPrice: string;
2791
+ tokenExchangeRate: string;
2792
+ tokenDecimals?: number | undefined;
2793
+ typicalCost?: {
2794
+ handleGasAmount: number;
2795
+ totalGasAmount: number;
2796
+ totalUsdCost: number;
2797
+ } | undefined;
2798
+ }>;
2553
2799
  ownerOverrides?: Record<string, string> | undefined;
2554
- }, {
2800
+ quoteSigners?: string[] | undefined;
2801
+ contractVersion?: string | undefined;
2802
+ } | {
2555
2803
  type: "protocolFee";
2556
2804
  owner: string;
2557
2805
  protocolFee: string;
2558
2806
  beneficiary: string;
2559
2807
  maxProtocolFee: string;
2560
2808
  ownerOverrides?: Record<string, string> | undefined;
2561
- }>, z.ZodObject<{
2562
- owner: z.ZodString;
2563
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2564
- } & {
2565
- paused: z.ZodBoolean;
2566
- } & {
2567
- type: z.ZodLiteral<"pausableHook">;
2568
- }, "strip", z.ZodTypeAny, {
2569
- type: "pausableHook";
2570
- owner: string;
2571
- paused: boolean;
2572
- ownerOverrides?: Record<string, string> | undefined;
2573
- }, {
2809
+ } | {
2574
2810
  type: "pausableHook";
2575
2811
  owner: string;
2576
2812
  paused: boolean;
2577
2813
  ownerOverrides?: Record<string, string> | undefined;
2578
- }>, z.ZodObject<{
2579
- owner: z.ZodString;
2580
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2581
- } & {
2582
- type: z.ZodLiteral<"opStackHook">;
2583
- nativeBridge: z.ZodString;
2584
- destinationChain: z.ZodString;
2585
- }, "strip", z.ZodTypeAny, {
2814
+ } | {
2586
2815
  type: "opStackHook";
2587
2816
  owner: string;
2588
2817
  nativeBridge: string;
2589
2818
  destinationChain: string;
2590
2819
  ownerOverrides?: Record<string, string> | undefined;
2591
- }, {
2592
- type: "opStackHook";
2593
- owner: string;
2594
- nativeBridge: string;
2820
+ } | {
2821
+ type: "arbL2ToL1Hook";
2595
2822
  destinationChain: string;
2823
+ arbSys: string;
2824
+ bridge?: string | undefined;
2825
+ childHook?: any;
2826
+ } | {
2827
+ type: "defaultHook";
2828
+ } | {
2829
+ type: "rateLimitedHook";
2830
+ owner: string;
2831
+ maxCapacity: string;
2596
2832
  ownerOverrides?: Record<string, string> | undefined;
2597
- }>, z.ZodObject<{
2598
- type: z.ZodLiteral<"merkleTreeHook">;
2599
- }, "strip", z.ZodTypeAny, {
2600
- type: "merkleTreeHook";
2601
- }, {
2602
- type: "merkleTreeHook";
2603
- }>, z.ZodObject<{
2604
- owner: z.ZodString;
2605
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2606
- } & {
2607
- type: z.ZodLiteral<"interchainGasPaymaster">;
2608
- beneficiary: z.ZodString;
2609
- oracleKey: z.ZodString;
2610
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
2611
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
2612
- gasPrice: z.ZodString;
2613
- tokenExchangeRate: z.ZodString;
2614
- } & {
2615
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
2616
- } & {
2617
- typicalCost: z.ZodOptional<z.ZodObject<{
2618
- handleGasAmount: z.ZodNumber;
2619
- totalGasAmount: z.ZodNumber;
2620
- totalUsdCost: z.ZodNumber;
2621
- }, "strip", z.ZodTypeAny, {
2622
- handleGasAmount: number;
2623
- totalGasAmount: number;
2624
- totalUsdCost: number;
2625
- }, {
2626
- handleGasAmount: number;
2627
- totalGasAmount: number;
2628
- totalUsdCost: number;
2629
- }>>;
2630
- }, "strip", z.ZodTypeAny, {
2631
- gasPrice: string;
2632
- tokenExchangeRate: string;
2633
- tokenDecimals?: number | undefined;
2634
- typicalCost?: {
2635
- handleGasAmount: number;
2636
- totalGasAmount: number;
2637
- totalUsdCost: number;
2638
- } | undefined;
2639
- }, {
2640
- gasPrice: string;
2641
- tokenExchangeRate: string;
2642
- tokenDecimals?: number | undefined;
2643
- typicalCost?: {
2644
- handleGasAmount: number;
2645
- totalGasAmount: number;
2646
- totalUsdCost: number;
2647
- } | undefined;
2648
- }>>;
2649
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2650
- contractVersion: z.ZodOptional<z.ZodString>;
2651
- }, "strip", z.ZodTypeAny, {
2833
+ } | {
2834
+ type: "ccipHook";
2835
+ destinationChain: string;
2836
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
2837
+ type: "cctpHook";
2838
+ address: string;
2839
+ } | z.objectInputType<{
2840
+ type: z.ZodLiteral<"unknownHook">;
2841
+ }, z.ZodTypeAny, "passthrough"> | {
2842
+ type: "predicateHook";
2843
+ address: string;
2844
+ };
2845
+ defaultIsm: string | ({
2846
+ threshold: number;
2847
+ validators: string[];
2848
+ } & {
2849
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
2850
+ }) | ({
2851
+ validators: {
2852
+ signingAddress: string;
2853
+ weight: number;
2854
+ }[];
2855
+ thresholdWeight: number;
2856
+ } & {
2857
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
2858
+ }) | {
2859
+ type: "testIsm";
2860
+ } | ({
2861
+ owner: string;
2862
+ paused: boolean;
2863
+ ownerOverrides?: Record<string, string> | undefined;
2864
+ } & {
2865
+ type: "pausableIsm";
2866
+ }) | {
2867
+ type: "opStackIsm";
2868
+ origin: string;
2869
+ nativeBridge: string;
2870
+ } | {
2871
+ type: "trustedRelayerIsm";
2872
+ relayer: string;
2873
+ } | {
2874
+ type: "ccipIsm";
2875
+ originChain: string;
2876
+ } | {
2877
+ type: "arbL2ToL1Ism";
2878
+ bridge: string;
2879
+ } | {
2880
+ type: "rateLimitedIsm";
2881
+ maxCapacity: string;
2882
+ owner?: string | undefined;
2883
+ recipient?: string | undefined;
2884
+ } | {
2885
+ type: "offchainLookupIsm";
2886
+ owner: string;
2887
+ urls: string[];
2888
+ ownerOverrides?: Record<string, string> | undefined;
2889
+ } | {
2890
+ type: "interchainAccountRouting";
2891
+ owner: string;
2892
+ isms: Record<string, string>;
2893
+ ownerOverrides?: Record<string, string> | undefined;
2894
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectInputType<{
2895
+ type: z.ZodLiteral<"unknownIsm">;
2896
+ }, z.ZodTypeAny, "passthrough">;
2897
+ requiredHook: string | {
2898
+ type: "merkleTreeHook";
2899
+ } | {
2652
2900
  type: "interchainGasPaymaster";
2653
2901
  owner: string;
2654
2902
  beneficiary: string;
@@ -2667,217 +2915,1609 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
2667
2915
  ownerOverrides?: Record<string, string> | undefined;
2668
2916
  quoteSigners?: string[] | undefined;
2669
2917
  contractVersion?: string | undefined;
2670
- }, {
2671
- type: "interchainGasPaymaster";
2918
+ } | {
2919
+ type: "protocolFee";
2672
2920
  owner: string;
2921
+ protocolFee: string;
2673
2922
  beneficiary: string;
2674
- oracleKey: string;
2675
- overhead: Record<string, number>;
2676
- oracleConfig: Record<string, {
2677
- gasPrice: string;
2678
- tokenExchangeRate: string;
2679
- tokenDecimals?: number | undefined;
2680
- typicalCost?: {
2681
- handleGasAmount: number;
2682
- totalGasAmount: number;
2683
- totalUsdCost: number;
2684
- } | undefined;
2685
- }>;
2923
+ maxProtocolFee: string;
2686
2924
  ownerOverrides?: Record<string, string> | undefined;
2687
- quoteSigners?: string[] | undefined;
2688
- contractVersion?: string | undefined;
2689
- }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
2690
- type: z.ZodLiteral<"arbL2ToL1Hook">;
2691
- arbSys: z.ZodString;
2692
- bridge: z.ZodOptional<z.ZodString>;
2693
- destinationChain: z.ZodString;
2694
- childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
2695
- }, "strip", z.ZodTypeAny, {
2696
- type: "arbL2ToL1Hook";
2925
+ } | {
2926
+ type: "pausableHook";
2927
+ owner: string;
2928
+ paused: boolean;
2929
+ ownerOverrides?: Record<string, string> | undefined;
2930
+ } | {
2931
+ type: "opStackHook";
2932
+ owner: string;
2933
+ nativeBridge: string;
2697
2934
  destinationChain: string;
2698
- arbSys: string;
2699
- bridge?: string | undefined;
2700
- childHook?: any;
2701
- }, {
2935
+ ownerOverrides?: Record<string, string> | undefined;
2936
+ } | {
2702
2937
  type: "arbL2ToL1Hook";
2703
2938
  destinationChain: string;
2704
2939
  arbSys: string;
2705
2940
  bridge?: string | undefined;
2706
2941
  childHook?: any;
2707
- }>, z.ZodObject<{
2708
- type: z.ZodLiteral<"defaultHook">;
2709
- }, "strip", z.ZodTypeAny, {
2710
- type: "defaultHook";
2711
- }, {
2942
+ } | {
2712
2943
  type: "defaultHook";
2713
- }>, z.ZodObject<{
2714
- type: z.ZodLiteral<"ccipHook">;
2715
- destinationChain: z.ZodString;
2716
- }, "strip", z.ZodTypeAny, {
2717
- type: "ccipHook";
2718
- destinationChain: string;
2719
- }, {
2944
+ } | {
2945
+ type: "rateLimitedHook";
2946
+ owner: string;
2947
+ maxCapacity: string;
2948
+ ownerOverrides?: Record<string, string> | undefined;
2949
+ } | {
2720
2950
  type: "ccipHook";
2721
2951
  destinationChain: string;
2722
- }>, z.ZodObject<{
2723
- type: z.ZodLiteral<"cctpHook">;
2724
- address: z.ZodString;
2725
- }, "strip", z.ZodTypeAny, {
2726
- type: "cctpHook";
2727
- address: string;
2728
- }, {
2952
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
2729
2953
  type: "cctpHook";
2730
2954
  address: string;
2731
- }>, z.ZodObject<{
2732
- type: z.ZodLiteral<"unknownHook">;
2733
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2734
- type: z.ZodLiteral<"unknownHook">;
2735
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2955
+ } | z.objectInputType<{
2736
2956
  type: z.ZodLiteral<"unknownHook">;
2737
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2738
- type: z.ZodLiteral<"predicateHook">;
2739
- address: z.ZodString;
2740
- }, "strip", z.ZodTypeAny, {
2741
- type: "predicateHook";
2742
- address: string;
2743
- }, {
2957
+ }, z.ZodTypeAny, "passthrough"> | {
2744
2958
  type: "predicateHook";
2745
2959
  address: string;
2746
- }>]>;
2747
- proxyAdmin: z.ZodOptional<z.ZodObject<{
2748
- owner: z.ZodString;
2749
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2750
- } & {
2751
- address: z.ZodOptional<z.ZodString>;
2752
- }, "strip", z.ZodTypeAny, {
2960
+ };
2961
+ ownerOverrides?: Record<string, string> | undefined;
2962
+ permit2?: string | undefined;
2963
+ proxyAdmin?: {
2753
2964
  owner: string;
2754
2965
  address?: string | undefined;
2755
2966
  ownerOverrides?: Record<string, string> | undefined;
2756
- }, {
2967
+ } | undefined;
2968
+ interchainAccountRouter?: {
2757
2969
  owner: string;
2758
- address?: string | undefined;
2970
+ mailbox: string;
2759
2971
  ownerOverrides?: Record<string, string> | undefined;
2760
- }>>;
2761
- permit2: z.ZodOptional<z.ZodString>;
2762
- } & {
2763
- interchainAccountRouter: z.ZodOptional<z.ZodObject<{
2764
- owner: z.ZodString;
2765
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2766
- } & {
2767
- mailbox: z.ZodString;
2768
- hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2972
+ proxyAdmin?: {
2973
+ owner: string;
2974
+ address?: string | undefined;
2975
+ ownerOverrides?: Record<string, string> | undefined;
2976
+ } | undefined;
2977
+ hook?: string | {
2978
+ type: "merkleTreeHook";
2979
+ } | {
2980
+ type: "interchainGasPaymaster";
2981
+ owner: string;
2982
+ beneficiary: string;
2983
+ oracleKey: string;
2984
+ overhead: Record<string, number>;
2985
+ oracleConfig: Record<string, {
2986
+ gasPrice: string;
2987
+ tokenExchangeRate: string;
2988
+ tokenDecimals?: number | undefined;
2989
+ typicalCost?: {
2990
+ handleGasAmount: number;
2991
+ totalGasAmount: number;
2992
+ totalUsdCost: number;
2993
+ } | undefined;
2994
+ }>;
2995
+ ownerOverrides?: Record<string, string> | undefined;
2996
+ quoteSigners?: string[] | undefined;
2997
+ contractVersion?: string | undefined;
2998
+ } | {
2999
+ type: "protocolFee";
3000
+ owner: string;
3001
+ protocolFee: string;
3002
+ beneficiary: string;
3003
+ maxProtocolFee: string;
3004
+ ownerOverrides?: Record<string, string> | undefined;
3005
+ } | {
3006
+ type: "pausableHook";
3007
+ owner: string;
3008
+ paused: boolean;
3009
+ ownerOverrides?: Record<string, string> | undefined;
3010
+ } | {
3011
+ type: "opStackHook";
3012
+ owner: string;
3013
+ nativeBridge: string;
3014
+ destinationChain: string;
3015
+ ownerOverrides?: Record<string, string> | undefined;
3016
+ } | {
3017
+ type: "arbL2ToL1Hook";
3018
+ destinationChain: string;
3019
+ arbSys: string;
3020
+ bridge?: string | undefined;
3021
+ childHook?: any;
3022
+ } | {
3023
+ type: "defaultHook";
3024
+ } | {
3025
+ type: "rateLimitedHook";
3026
+ owner: string;
3027
+ maxCapacity: string;
3028
+ ownerOverrides?: Record<string, string> | undefined;
3029
+ } | {
3030
+ type: "ccipHook";
3031
+ destinationChain: string;
3032
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
3033
+ type: "cctpHook";
3034
+ address: string;
3035
+ } | z.objectInputType<{
3036
+ type: z.ZodLiteral<"unknownHook">;
3037
+ }, z.ZodTypeAny, "passthrough"> | {
3038
+ type: "predicateHook";
3039
+ address: string;
3040
+ } | undefined;
3041
+ interchainSecurityModule?: string | ({
3042
+ threshold: number;
3043
+ validators: string[];
3044
+ } & {
3045
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
3046
+ }) | ({
3047
+ validators: {
3048
+ signingAddress: string;
3049
+ weight: number;
3050
+ }[];
3051
+ thresholdWeight: number;
3052
+ } & {
3053
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
3054
+ }) | {
3055
+ type: "testIsm";
3056
+ } | ({
3057
+ owner: string;
3058
+ paused: boolean;
3059
+ ownerOverrides?: Record<string, string> | undefined;
3060
+ } & {
3061
+ type: "pausableIsm";
3062
+ }) | {
3063
+ type: "opStackIsm";
3064
+ origin: string;
3065
+ nativeBridge: string;
3066
+ } | {
3067
+ type: "trustedRelayerIsm";
3068
+ relayer: string;
3069
+ } | {
3070
+ type: "ccipIsm";
3071
+ originChain: string;
3072
+ } | {
3073
+ type: "arbL2ToL1Ism";
3074
+ bridge: string;
3075
+ } | {
3076
+ type: "rateLimitedIsm";
3077
+ maxCapacity: string;
3078
+ owner?: string | undefined;
3079
+ recipient?: string | undefined;
3080
+ } | {
3081
+ type: "offchainLookupIsm";
3082
+ owner: string;
3083
+ urls: string[];
3084
+ ownerOverrides?: Record<string, string> | undefined;
3085
+ } | {
3086
+ type: "interchainAccountRouting";
3087
+ owner: string;
3088
+ isms: Record<string, string>;
3089
+ ownerOverrides?: Record<string, string> | undefined;
3090
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectInputType<{
3091
+ type: z.ZodLiteral<"unknownIsm">;
3092
+ }, z.ZodTypeAny, "passthrough"> | undefined;
3093
+ foreignDeployment?: string | undefined;
3094
+ remoteRouters?: Record<string | number, {
3095
+ address: string;
3096
+ }> | undefined;
3097
+ tokenFee?: {
3098
+ type: import("../index.js").TokenFeeType.LinearFee;
3099
+ owner: string;
3100
+ maxFee?: string | number | bigint | undefined;
3101
+ halfAmount?: string | number | bigint | undefined;
3102
+ bps?: string | number | undefined;
3103
+ } | {
3104
+ type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
3105
+ owner: string;
3106
+ maxFee?: string | number | bigint | undefined;
3107
+ halfAmount?: string | number | bigint | undefined;
3108
+ bps?: string | number | undefined;
3109
+ quoteSigners?: string[] | undefined;
3110
+ } | {
3111
+ type: import("../index.js").TokenFeeType.ProgressiveFee;
3112
+ owner: string;
3113
+ maxFee: string | number | bigint;
3114
+ halfAmount: string | number | bigint;
3115
+ } | {
3116
+ type: import("../index.js").TokenFeeType.RegressiveFee;
3117
+ owner: string;
3118
+ maxFee: string | number | bigint;
3119
+ halfAmount: string | number | bigint;
3120
+ } | {
3121
+ type: import("../index.js").TokenFeeType.RoutingFee;
3122
+ owner: string;
3123
+ feeContracts: Record<string, any>;
3124
+ } | {
3125
+ type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
3126
+ owner: string;
3127
+ feeContracts: Record<string, Record<string, any>>;
3128
+ } | undefined;
3129
+ routerType?: import("../ica/types.js").IcaRouterType | undefined;
3130
+ commitmentIsm?: {
3131
+ type: "offchainLookupIsm";
3132
+ owner: string;
3133
+ urls: string[];
3134
+ ownerOverrides?: Record<string, string> | undefined;
3135
+ } | undefined;
3136
+ feeTokenApprovals?: {
3137
+ hook: string;
3138
+ feeToken: string;
3139
+ }[] | undefined;
3140
+ } | undefined;
3141
+ }>;
3142
+ export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
3143
+ owner: z.ZodString;
3144
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3145
+ defaultIsm: z.ZodUnion<[z.ZodString, z.ZodObject<{
3146
+ type: z.ZodLiteral<"testIsm">;
3147
+ }, "strip", z.ZodTypeAny, {
3148
+ type: "testIsm";
3149
+ }, {
3150
+ type: "testIsm";
3151
+ }>, z.ZodObject<{
3152
+ type: z.ZodLiteral<"opStackIsm">;
3153
+ origin: z.ZodString;
3154
+ nativeBridge: z.ZodString;
3155
+ }, "strip", z.ZodTypeAny, {
3156
+ type: "opStackIsm";
3157
+ origin: string;
3158
+ nativeBridge: string;
3159
+ }, {
3160
+ type: "opStackIsm";
3161
+ origin: string;
3162
+ nativeBridge: string;
3163
+ }>, z.ZodIntersection<z.ZodObject<{
3164
+ owner: z.ZodString;
3165
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3166
+ } & {
3167
+ paused: z.ZodBoolean;
3168
+ }, "strip", z.ZodTypeAny, {
3169
+ owner: string;
3170
+ paused: boolean;
3171
+ ownerOverrides?: Record<string, string> | undefined;
3172
+ }, {
3173
+ owner: string;
3174
+ paused: boolean;
3175
+ ownerOverrides?: Record<string, string> | undefined;
3176
+ }>, z.ZodObject<{
3177
+ type: z.ZodLiteral<"pausableIsm">;
3178
+ }, "strip", z.ZodTypeAny, {
3179
+ type: "pausableIsm";
3180
+ }, {
3181
+ type: "pausableIsm";
3182
+ }>>, z.ZodObject<{
3183
+ type: z.ZodLiteral<"trustedRelayerIsm">;
3184
+ relayer: z.ZodString;
3185
+ }, "strip", z.ZodTypeAny, {
3186
+ type: "trustedRelayerIsm";
3187
+ relayer: string;
3188
+ }, {
3189
+ type: "trustedRelayerIsm";
3190
+ relayer: string;
3191
+ }>, z.ZodObject<{
3192
+ type: z.ZodLiteral<"ccipIsm">;
3193
+ originChain: z.ZodString;
3194
+ }, "strip", z.ZodTypeAny, {
3195
+ type: "ccipIsm";
3196
+ originChain: string;
3197
+ }, {
3198
+ type: "ccipIsm";
3199
+ originChain: string;
3200
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
3201
+ type: z.ZodLiteral<"rateLimitedIsm">;
3202
+ maxCapacity: z.ZodString;
3203
+ recipient: z.ZodOptional<z.ZodString>;
3204
+ owner: z.ZodOptional<z.ZodString>;
3205
+ }, "strip", z.ZodTypeAny, {
3206
+ type: "rateLimitedIsm";
3207
+ maxCapacity: string;
3208
+ owner?: string | undefined;
3209
+ recipient?: string | undefined;
3210
+ }, {
3211
+ type: "rateLimitedIsm";
3212
+ maxCapacity: string;
3213
+ owner?: string | undefined;
3214
+ recipient?: string | undefined;
3215
+ }>, {
3216
+ type: "rateLimitedIsm";
3217
+ maxCapacity: string;
3218
+ owner?: string | undefined;
3219
+ recipient?: string | undefined;
3220
+ }, {
3221
+ type: "rateLimitedIsm";
3222
+ maxCapacity: string;
3223
+ owner?: string | undefined;
3224
+ recipient?: string | undefined;
3225
+ }>, {
3226
+ type: "rateLimitedIsm";
3227
+ maxCapacity: string;
3228
+ owner?: string | undefined;
3229
+ recipient?: string | undefined;
3230
+ }, {
3231
+ type: "rateLimitedIsm";
3232
+ maxCapacity: string;
3233
+ owner?: string | undefined;
3234
+ recipient?: string | undefined;
3235
+ }>, z.ZodIntersection<z.ZodObject<{
3236
+ validators: z.ZodArray<z.ZodString, "many">;
3237
+ threshold: z.ZodNumber;
3238
+ }, "strip", z.ZodTypeAny, {
3239
+ threshold: number;
3240
+ validators: string[];
3241
+ }, {
3242
+ threshold: number;
3243
+ validators: string[];
3244
+ }>, z.ZodObject<{
3245
+ type: z.ZodUnion<[z.ZodLiteral<"merkleRootMultisigIsm">, z.ZodLiteral<"messageIdMultisigIsm">, z.ZodLiteral<"storageMerkleRootMultisigIsm">, z.ZodLiteral<"storageMessageIdMultisigIsm">]>;
3246
+ }, "strip", z.ZodTypeAny, {
3247
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
3248
+ }, {
3249
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
3250
+ }>>, z.ZodIntersection<z.ZodObject<{
3251
+ validators: z.ZodArray<z.ZodObject<{
3252
+ signingAddress: z.ZodString;
3253
+ weight: z.ZodNumber;
3254
+ }, "strip", z.ZodTypeAny, {
3255
+ signingAddress: string;
3256
+ weight: number;
3257
+ }, {
3258
+ signingAddress: string;
3259
+ weight: number;
3260
+ }>, "many">;
3261
+ thresholdWeight: z.ZodNumber;
3262
+ }, "strip", z.ZodTypeAny, {
3263
+ validators: {
3264
+ signingAddress: string;
3265
+ weight: number;
3266
+ }[];
3267
+ thresholdWeight: number;
3268
+ }, {
3269
+ validators: {
3270
+ signingAddress: string;
3271
+ weight: number;
3272
+ }[];
3273
+ thresholdWeight: number;
3274
+ }>, z.ZodObject<{
3275
+ type: z.ZodUnion<[z.ZodLiteral<"weightedMerkleRootMultisigIsm">, z.ZodLiteral<"weightedMessageIdMultisigIsm">]>;
3276
+ }, "strip", z.ZodTypeAny, {
3277
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
3278
+ }, {
3279
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
3280
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
3281
+ type: z.ZodLiteral<"arbL2ToL1Ism">;
3282
+ bridge: z.ZodString;
3283
+ }, "strip", z.ZodTypeAny, {
3284
+ type: "arbL2ToL1Ism";
3285
+ bridge: string;
3286
+ }, {
3287
+ type: "arbL2ToL1Ism";
3288
+ bridge: string;
3289
+ }>, z.ZodObject<{
3290
+ owner: z.ZodString;
3291
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3292
+ } & {
3293
+ type: z.ZodLiteral<"offchainLookupIsm">;
3294
+ urls: z.ZodArray<z.ZodString, "many">;
3295
+ }, "strip", z.ZodTypeAny, {
3296
+ type: "offchainLookupIsm";
3297
+ owner: string;
3298
+ urls: string[];
3299
+ ownerOverrides?: Record<string, string> | undefined;
3300
+ }, {
3301
+ type: "offchainLookupIsm";
3302
+ owner: string;
3303
+ urls: string[];
3304
+ ownerOverrides?: Record<string, string> | undefined;
3305
+ }>, z.ZodObject<{
3306
+ owner: z.ZodString;
3307
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3308
+ } & {
3309
+ type: z.ZodLiteral<"interchainAccountRouting">;
3310
+ isms: z.ZodRecord<z.ZodString, z.ZodString>;
3311
+ }, "strip", z.ZodTypeAny, {
3312
+ type: "interchainAccountRouting";
3313
+ owner: string;
3314
+ isms: Record<string, string>;
3315
+ ownerOverrides?: Record<string, string> | undefined;
3316
+ }, {
3317
+ type: "interchainAccountRouting";
3318
+ owner: string;
3319
+ isms: Record<string, string>;
3320
+ ownerOverrides?: Record<string, string> | undefined;
3321
+ }>, z.ZodObject<{
3322
+ type: z.ZodLiteral<"unknownIsm">;
3323
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3324
+ type: z.ZodLiteral<"unknownIsm">;
3325
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3326
+ type: z.ZodLiteral<"unknownIsm">;
3327
+ }, z.ZodTypeAny, "passthrough">>]>;
3328
+ defaultHook: z.ZodUnion<[z.ZodString, z.ZodObject<{
3329
+ owner: z.ZodString;
3330
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3331
+ } & {
3332
+ type: z.ZodLiteral<"protocolFee">;
3333
+ beneficiary: z.ZodString;
3334
+ maxProtocolFee: z.ZodString;
3335
+ protocolFee: z.ZodString;
3336
+ }, "strip", z.ZodTypeAny, {
3337
+ type: "protocolFee";
3338
+ owner: string;
3339
+ protocolFee: string;
3340
+ beneficiary: string;
3341
+ maxProtocolFee: string;
3342
+ ownerOverrides?: Record<string, string> | undefined;
3343
+ }, {
3344
+ type: "protocolFee";
3345
+ owner: string;
3346
+ protocolFee: string;
3347
+ beneficiary: string;
3348
+ maxProtocolFee: string;
3349
+ ownerOverrides?: Record<string, string> | undefined;
3350
+ }>, z.ZodObject<{
3351
+ owner: z.ZodString;
3352
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3353
+ } & {
3354
+ paused: z.ZodBoolean;
3355
+ } & {
3356
+ type: z.ZodLiteral<"pausableHook">;
3357
+ }, "strip", z.ZodTypeAny, {
3358
+ type: "pausableHook";
3359
+ owner: string;
3360
+ paused: boolean;
3361
+ ownerOverrides?: Record<string, string> | undefined;
3362
+ }, {
3363
+ type: "pausableHook";
3364
+ owner: string;
3365
+ paused: boolean;
3366
+ ownerOverrides?: Record<string, string> | undefined;
3367
+ }>, z.ZodObject<{
3368
+ owner: z.ZodString;
3369
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3370
+ } & {
3371
+ type: z.ZodLiteral<"opStackHook">;
3372
+ nativeBridge: z.ZodString;
3373
+ destinationChain: z.ZodString;
3374
+ }, "strip", z.ZodTypeAny, {
3375
+ type: "opStackHook";
3376
+ owner: string;
3377
+ nativeBridge: string;
3378
+ destinationChain: string;
3379
+ ownerOverrides?: Record<string, string> | undefined;
3380
+ }, {
3381
+ type: "opStackHook";
3382
+ owner: string;
3383
+ nativeBridge: string;
3384
+ destinationChain: string;
3385
+ ownerOverrides?: Record<string, string> | undefined;
3386
+ }>, z.ZodObject<{
3387
+ type: z.ZodLiteral<"merkleTreeHook">;
3388
+ }, "strip", z.ZodTypeAny, {
3389
+ type: "merkleTreeHook";
3390
+ }, {
3391
+ type: "merkleTreeHook";
3392
+ }>, z.ZodObject<{
3393
+ owner: z.ZodString;
3394
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3395
+ } & {
3396
+ type: z.ZodLiteral<"interchainGasPaymaster">;
3397
+ beneficiary: z.ZodString;
3398
+ oracleKey: z.ZodString;
3399
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
3400
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
3401
+ gasPrice: z.ZodString;
3402
+ tokenExchangeRate: z.ZodString;
3403
+ } & {
3404
+ tokenDecimals: z.ZodOptional<z.ZodNumber>;
3405
+ } & {
3406
+ typicalCost: z.ZodOptional<z.ZodObject<{
3407
+ handleGasAmount: z.ZodNumber;
3408
+ totalGasAmount: z.ZodNumber;
3409
+ totalUsdCost: z.ZodNumber;
3410
+ }, "strip", z.ZodTypeAny, {
3411
+ handleGasAmount: number;
3412
+ totalGasAmount: number;
3413
+ totalUsdCost: number;
3414
+ }, {
3415
+ handleGasAmount: number;
3416
+ totalGasAmount: number;
3417
+ totalUsdCost: number;
3418
+ }>>;
3419
+ }, "strip", z.ZodTypeAny, {
3420
+ gasPrice: string;
3421
+ tokenExchangeRate: string;
3422
+ tokenDecimals?: number | undefined;
3423
+ typicalCost?: {
3424
+ handleGasAmount: number;
3425
+ totalGasAmount: number;
3426
+ totalUsdCost: number;
3427
+ } | undefined;
3428
+ }, {
3429
+ gasPrice: string;
3430
+ tokenExchangeRate: string;
3431
+ tokenDecimals?: number | undefined;
3432
+ typicalCost?: {
3433
+ handleGasAmount: number;
3434
+ totalGasAmount: number;
3435
+ totalUsdCost: number;
3436
+ } | undefined;
3437
+ }>>;
3438
+ quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3439
+ contractVersion: z.ZodOptional<z.ZodString>;
3440
+ }, "strip", z.ZodTypeAny, {
3441
+ type: "interchainGasPaymaster";
3442
+ owner: string;
3443
+ beneficiary: string;
3444
+ oracleKey: string;
3445
+ overhead: Record<string, number>;
3446
+ oracleConfig: Record<string, {
3447
+ gasPrice: string;
3448
+ tokenExchangeRate: string;
3449
+ tokenDecimals?: number | undefined;
3450
+ typicalCost?: {
3451
+ handleGasAmount: number;
3452
+ totalGasAmount: number;
3453
+ totalUsdCost: number;
3454
+ } | undefined;
3455
+ }>;
3456
+ ownerOverrides?: Record<string, string> | undefined;
3457
+ quoteSigners?: string[] | undefined;
3458
+ contractVersion?: string | undefined;
3459
+ }, {
3460
+ type: "interchainGasPaymaster";
3461
+ owner: string;
3462
+ beneficiary: string;
3463
+ oracleKey: string;
3464
+ overhead: Record<string, number>;
3465
+ oracleConfig: Record<string, {
3466
+ gasPrice: string;
3467
+ tokenExchangeRate: string;
3468
+ tokenDecimals?: number | undefined;
3469
+ typicalCost?: {
3470
+ handleGasAmount: number;
3471
+ totalGasAmount: number;
3472
+ totalUsdCost: number;
3473
+ } | undefined;
3474
+ }>;
3475
+ ownerOverrides?: Record<string, string> | undefined;
3476
+ quoteSigners?: string[] | undefined;
3477
+ contractVersion?: string | undefined;
3478
+ }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
3479
+ type: z.ZodLiteral<"arbL2ToL1Hook">;
3480
+ arbSys: z.ZodString;
3481
+ bridge: z.ZodOptional<z.ZodString>;
3482
+ destinationChain: z.ZodString;
3483
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
3484
+ }, "strip", z.ZodTypeAny, {
3485
+ type: "arbL2ToL1Hook";
3486
+ destinationChain: string;
3487
+ arbSys: string;
3488
+ bridge?: string | undefined;
3489
+ childHook?: any;
3490
+ }, {
3491
+ type: "arbL2ToL1Hook";
3492
+ destinationChain: string;
3493
+ arbSys: string;
3494
+ bridge?: string | undefined;
3495
+ childHook?: any;
3496
+ }>, z.ZodObject<{
3497
+ type: z.ZodLiteral<"defaultHook">;
3498
+ }, "strip", z.ZodTypeAny, {
3499
+ type: "defaultHook";
3500
+ }, {
3501
+ type: "defaultHook";
3502
+ }>, z.ZodObject<{
3503
+ type: z.ZodLiteral<"ccipHook">;
3504
+ destinationChain: z.ZodString;
3505
+ }, "strip", z.ZodTypeAny, {
3506
+ type: "ccipHook";
3507
+ destinationChain: string;
3508
+ }, {
3509
+ type: "ccipHook";
3510
+ destinationChain: string;
3511
+ }>, z.ZodObject<{
3512
+ type: z.ZodLiteral<"cctpHook">;
3513
+ address: z.ZodString;
3514
+ }, "strip", z.ZodTypeAny, {
3515
+ type: "cctpHook";
3516
+ address: string;
3517
+ }, {
3518
+ type: "cctpHook";
3519
+ address: string;
3520
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
3521
+ owner: z.ZodString;
3522
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3523
+ } & {
3524
+ type: z.ZodLiteral<"rateLimitedHook">;
3525
+ maxCapacity: z.ZodString;
3526
+ }, "strip", z.ZodTypeAny, {
3527
+ type: "rateLimitedHook";
3528
+ owner: string;
3529
+ maxCapacity: string;
3530
+ ownerOverrides?: Record<string, string> | undefined;
3531
+ }, {
3532
+ type: "rateLimitedHook";
3533
+ owner: string;
3534
+ maxCapacity: string;
3535
+ ownerOverrides?: Record<string, string> | undefined;
3536
+ }>, {
3537
+ type: "rateLimitedHook";
3538
+ owner: string;
3539
+ maxCapacity: string;
3540
+ ownerOverrides?: Record<string, string> | undefined;
3541
+ }, {
3542
+ type: "rateLimitedHook";
3543
+ owner: string;
3544
+ maxCapacity: string;
3545
+ ownerOverrides?: Record<string, string> | undefined;
3546
+ }>, {
3547
+ type: "rateLimitedHook";
3548
+ owner: string;
3549
+ maxCapacity: string;
3550
+ ownerOverrides?: Record<string, string> | undefined;
3551
+ }, {
3552
+ type: "rateLimitedHook";
3553
+ owner: string;
3554
+ maxCapacity: string;
3555
+ ownerOverrides?: Record<string, string> | undefined;
3556
+ }>, z.ZodObject<{
3557
+ type: z.ZodLiteral<"unknownHook">;
3558
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3559
+ type: z.ZodLiteral<"unknownHook">;
3560
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3561
+ type: z.ZodLiteral<"unknownHook">;
3562
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
3563
+ type: z.ZodLiteral<"predicateHook">;
3564
+ address: z.ZodString;
3565
+ }, "strip", z.ZodTypeAny, {
3566
+ type: "predicateHook";
3567
+ address: string;
3568
+ }, {
3569
+ type: "predicateHook";
3570
+ address: string;
3571
+ }>]>;
3572
+ requiredHook: z.ZodUnion<[z.ZodString, z.ZodObject<{
3573
+ owner: z.ZodString;
3574
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3575
+ } & {
3576
+ type: z.ZodLiteral<"protocolFee">;
3577
+ beneficiary: z.ZodString;
3578
+ maxProtocolFee: z.ZodString;
3579
+ protocolFee: z.ZodString;
3580
+ }, "strip", z.ZodTypeAny, {
3581
+ type: "protocolFee";
3582
+ owner: string;
3583
+ protocolFee: string;
3584
+ beneficiary: string;
3585
+ maxProtocolFee: string;
3586
+ ownerOverrides?: Record<string, string> | undefined;
3587
+ }, {
3588
+ type: "protocolFee";
3589
+ owner: string;
3590
+ protocolFee: string;
3591
+ beneficiary: string;
3592
+ maxProtocolFee: string;
3593
+ ownerOverrides?: Record<string, string> | undefined;
3594
+ }>, z.ZodObject<{
3595
+ owner: z.ZodString;
3596
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3597
+ } & {
3598
+ paused: z.ZodBoolean;
3599
+ } & {
3600
+ type: z.ZodLiteral<"pausableHook">;
3601
+ }, "strip", z.ZodTypeAny, {
3602
+ type: "pausableHook";
3603
+ owner: string;
3604
+ paused: boolean;
3605
+ ownerOverrides?: Record<string, string> | undefined;
3606
+ }, {
3607
+ type: "pausableHook";
3608
+ owner: string;
3609
+ paused: boolean;
3610
+ ownerOverrides?: Record<string, string> | undefined;
3611
+ }>, z.ZodObject<{
3612
+ owner: z.ZodString;
3613
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3614
+ } & {
3615
+ type: z.ZodLiteral<"opStackHook">;
3616
+ nativeBridge: z.ZodString;
3617
+ destinationChain: z.ZodString;
3618
+ }, "strip", z.ZodTypeAny, {
3619
+ type: "opStackHook";
3620
+ owner: string;
3621
+ nativeBridge: string;
3622
+ destinationChain: string;
3623
+ ownerOverrides?: Record<string, string> | undefined;
3624
+ }, {
3625
+ type: "opStackHook";
3626
+ owner: string;
3627
+ nativeBridge: string;
3628
+ destinationChain: string;
3629
+ ownerOverrides?: Record<string, string> | undefined;
3630
+ }>, z.ZodObject<{
3631
+ type: z.ZodLiteral<"merkleTreeHook">;
3632
+ }, "strip", z.ZodTypeAny, {
3633
+ type: "merkleTreeHook";
3634
+ }, {
3635
+ type: "merkleTreeHook";
3636
+ }>, z.ZodObject<{
3637
+ owner: z.ZodString;
3638
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3639
+ } & {
3640
+ type: z.ZodLiteral<"interchainGasPaymaster">;
3641
+ beneficiary: z.ZodString;
3642
+ oracleKey: z.ZodString;
3643
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
3644
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
3645
+ gasPrice: z.ZodString;
3646
+ tokenExchangeRate: z.ZodString;
3647
+ } & {
3648
+ tokenDecimals: z.ZodOptional<z.ZodNumber>;
3649
+ } & {
3650
+ typicalCost: z.ZodOptional<z.ZodObject<{
3651
+ handleGasAmount: z.ZodNumber;
3652
+ totalGasAmount: z.ZodNumber;
3653
+ totalUsdCost: z.ZodNumber;
3654
+ }, "strip", z.ZodTypeAny, {
3655
+ handleGasAmount: number;
3656
+ totalGasAmount: number;
3657
+ totalUsdCost: number;
3658
+ }, {
3659
+ handleGasAmount: number;
3660
+ totalGasAmount: number;
3661
+ totalUsdCost: number;
3662
+ }>>;
3663
+ }, "strip", z.ZodTypeAny, {
3664
+ gasPrice: string;
3665
+ tokenExchangeRate: string;
3666
+ tokenDecimals?: number | undefined;
3667
+ typicalCost?: {
3668
+ handleGasAmount: number;
3669
+ totalGasAmount: number;
3670
+ totalUsdCost: number;
3671
+ } | undefined;
3672
+ }, {
3673
+ gasPrice: string;
3674
+ tokenExchangeRate: string;
3675
+ tokenDecimals?: number | undefined;
3676
+ typicalCost?: {
3677
+ handleGasAmount: number;
3678
+ totalGasAmount: number;
3679
+ totalUsdCost: number;
3680
+ } | undefined;
3681
+ }>>;
3682
+ quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3683
+ contractVersion: z.ZodOptional<z.ZodString>;
3684
+ }, "strip", z.ZodTypeAny, {
3685
+ type: "interchainGasPaymaster";
3686
+ owner: string;
3687
+ beneficiary: string;
3688
+ oracleKey: string;
3689
+ overhead: Record<string, number>;
3690
+ oracleConfig: Record<string, {
3691
+ gasPrice: string;
3692
+ tokenExchangeRate: string;
3693
+ tokenDecimals?: number | undefined;
3694
+ typicalCost?: {
3695
+ handleGasAmount: number;
3696
+ totalGasAmount: number;
3697
+ totalUsdCost: number;
3698
+ } | undefined;
3699
+ }>;
3700
+ ownerOverrides?: Record<string, string> | undefined;
3701
+ quoteSigners?: string[] | undefined;
3702
+ contractVersion?: string | undefined;
3703
+ }, {
3704
+ type: "interchainGasPaymaster";
3705
+ owner: string;
3706
+ beneficiary: string;
3707
+ oracleKey: string;
3708
+ overhead: Record<string, number>;
3709
+ oracleConfig: Record<string, {
3710
+ gasPrice: string;
3711
+ tokenExchangeRate: string;
3712
+ tokenDecimals?: number | undefined;
3713
+ typicalCost?: {
3714
+ handleGasAmount: number;
3715
+ totalGasAmount: number;
3716
+ totalUsdCost: number;
3717
+ } | undefined;
3718
+ }>;
3719
+ ownerOverrides?: Record<string, string> | undefined;
3720
+ quoteSigners?: string[] | undefined;
3721
+ contractVersion?: string | undefined;
3722
+ }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
3723
+ type: z.ZodLiteral<"arbL2ToL1Hook">;
3724
+ arbSys: z.ZodString;
3725
+ bridge: z.ZodOptional<z.ZodString>;
3726
+ destinationChain: z.ZodString;
3727
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
3728
+ }, "strip", z.ZodTypeAny, {
3729
+ type: "arbL2ToL1Hook";
3730
+ destinationChain: string;
3731
+ arbSys: string;
3732
+ bridge?: string | undefined;
3733
+ childHook?: any;
3734
+ }, {
3735
+ type: "arbL2ToL1Hook";
3736
+ destinationChain: string;
3737
+ arbSys: string;
3738
+ bridge?: string | undefined;
3739
+ childHook?: any;
3740
+ }>, z.ZodObject<{
3741
+ type: z.ZodLiteral<"defaultHook">;
3742
+ }, "strip", z.ZodTypeAny, {
3743
+ type: "defaultHook";
3744
+ }, {
3745
+ type: "defaultHook";
3746
+ }>, z.ZodObject<{
3747
+ type: z.ZodLiteral<"ccipHook">;
3748
+ destinationChain: z.ZodString;
3749
+ }, "strip", z.ZodTypeAny, {
3750
+ type: "ccipHook";
3751
+ destinationChain: string;
3752
+ }, {
3753
+ type: "ccipHook";
3754
+ destinationChain: string;
3755
+ }>, z.ZodObject<{
3756
+ type: z.ZodLiteral<"cctpHook">;
3757
+ address: z.ZodString;
3758
+ }, "strip", z.ZodTypeAny, {
3759
+ type: "cctpHook";
3760
+ address: string;
3761
+ }, {
3762
+ type: "cctpHook";
3763
+ address: string;
3764
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
3765
+ owner: z.ZodString;
3766
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3767
+ } & {
3768
+ type: z.ZodLiteral<"rateLimitedHook">;
3769
+ maxCapacity: z.ZodString;
3770
+ }, "strip", z.ZodTypeAny, {
3771
+ type: "rateLimitedHook";
3772
+ owner: string;
3773
+ maxCapacity: string;
3774
+ ownerOverrides?: Record<string, string> | undefined;
3775
+ }, {
3776
+ type: "rateLimitedHook";
3777
+ owner: string;
3778
+ maxCapacity: string;
3779
+ ownerOverrides?: Record<string, string> | undefined;
3780
+ }>, {
3781
+ type: "rateLimitedHook";
3782
+ owner: string;
3783
+ maxCapacity: string;
3784
+ ownerOverrides?: Record<string, string> | undefined;
3785
+ }, {
3786
+ type: "rateLimitedHook";
3787
+ owner: string;
3788
+ maxCapacity: string;
3789
+ ownerOverrides?: Record<string, string> | undefined;
3790
+ }>, {
3791
+ type: "rateLimitedHook";
3792
+ owner: string;
3793
+ maxCapacity: string;
3794
+ ownerOverrides?: Record<string, string> | undefined;
3795
+ }, {
3796
+ type: "rateLimitedHook";
3797
+ owner: string;
3798
+ maxCapacity: string;
3799
+ ownerOverrides?: Record<string, string> | undefined;
3800
+ }>, z.ZodObject<{
3801
+ type: z.ZodLiteral<"unknownHook">;
3802
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3803
+ type: z.ZodLiteral<"unknownHook">;
3804
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3805
+ type: z.ZodLiteral<"unknownHook">;
3806
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
3807
+ type: z.ZodLiteral<"predicateHook">;
3808
+ address: z.ZodString;
3809
+ }, "strip", z.ZodTypeAny, {
3810
+ type: "predicateHook";
3811
+ address: string;
3812
+ }, {
3813
+ type: "predicateHook";
3814
+ address: string;
3815
+ }>]>;
3816
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
3817
+ owner: z.ZodString;
3818
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3819
+ } & {
3820
+ address: z.ZodOptional<z.ZodString>;
3821
+ }, "strip", z.ZodTypeAny, {
3822
+ owner: string;
3823
+ address?: string | undefined;
3824
+ ownerOverrides?: Record<string, string> | undefined;
3825
+ }, {
3826
+ owner: string;
3827
+ address?: string | undefined;
3828
+ ownerOverrides?: Record<string, string> | undefined;
3829
+ }>>;
3830
+ permit2: z.ZodOptional<z.ZodString>;
3831
+ } & {
3832
+ interchainAccountRouter: z.ZodOptional<z.ZodObject<{
3833
+ owner: z.ZodString;
3834
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3835
+ } & {
3836
+ mailbox: z.ZodString;
3837
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3838
+ owner: z.ZodString;
3839
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3840
+ } & {
3841
+ type: z.ZodLiteral<"protocolFee">;
3842
+ beneficiary: z.ZodString;
3843
+ maxProtocolFee: z.ZodString;
3844
+ protocolFee: z.ZodString;
3845
+ }, "strip", z.ZodTypeAny, {
3846
+ type: "protocolFee";
3847
+ owner: string;
3848
+ protocolFee: string;
3849
+ beneficiary: string;
3850
+ maxProtocolFee: string;
3851
+ ownerOverrides?: Record<string, string> | undefined;
3852
+ }, {
3853
+ type: "protocolFee";
3854
+ owner: string;
3855
+ protocolFee: string;
3856
+ beneficiary: string;
3857
+ maxProtocolFee: string;
3858
+ ownerOverrides?: Record<string, string> | undefined;
3859
+ }>, z.ZodObject<{
3860
+ owner: z.ZodString;
3861
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3862
+ } & {
3863
+ paused: z.ZodBoolean;
3864
+ } & {
3865
+ type: z.ZodLiteral<"pausableHook">;
3866
+ }, "strip", z.ZodTypeAny, {
3867
+ type: "pausableHook";
3868
+ owner: string;
3869
+ paused: boolean;
3870
+ ownerOverrides?: Record<string, string> | undefined;
3871
+ }, {
3872
+ type: "pausableHook";
3873
+ owner: string;
3874
+ paused: boolean;
3875
+ ownerOverrides?: Record<string, string> | undefined;
3876
+ }>, z.ZodObject<{
3877
+ owner: z.ZodString;
3878
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3879
+ } & {
3880
+ type: z.ZodLiteral<"opStackHook">;
3881
+ nativeBridge: z.ZodString;
3882
+ destinationChain: z.ZodString;
3883
+ }, "strip", z.ZodTypeAny, {
3884
+ type: "opStackHook";
3885
+ owner: string;
3886
+ nativeBridge: string;
3887
+ destinationChain: string;
3888
+ ownerOverrides?: Record<string, string> | undefined;
3889
+ }, {
3890
+ type: "opStackHook";
3891
+ owner: string;
3892
+ nativeBridge: string;
3893
+ destinationChain: string;
3894
+ ownerOverrides?: Record<string, string> | undefined;
3895
+ }>, z.ZodObject<{
3896
+ type: z.ZodLiteral<"merkleTreeHook">;
3897
+ }, "strip", z.ZodTypeAny, {
3898
+ type: "merkleTreeHook";
3899
+ }, {
3900
+ type: "merkleTreeHook";
3901
+ }>, z.ZodObject<{
3902
+ owner: z.ZodString;
3903
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3904
+ } & {
3905
+ type: z.ZodLiteral<"interchainGasPaymaster">;
3906
+ beneficiary: z.ZodString;
3907
+ oracleKey: z.ZodString;
3908
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
3909
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
3910
+ gasPrice: z.ZodString;
3911
+ tokenExchangeRate: z.ZodString;
3912
+ } & {
3913
+ tokenDecimals: z.ZodOptional<z.ZodNumber>;
3914
+ } & {
3915
+ typicalCost: z.ZodOptional<z.ZodObject<{
3916
+ handleGasAmount: z.ZodNumber;
3917
+ totalGasAmount: z.ZodNumber;
3918
+ totalUsdCost: z.ZodNumber;
3919
+ }, "strip", z.ZodTypeAny, {
3920
+ handleGasAmount: number;
3921
+ totalGasAmount: number;
3922
+ totalUsdCost: number;
3923
+ }, {
3924
+ handleGasAmount: number;
3925
+ totalGasAmount: number;
3926
+ totalUsdCost: number;
3927
+ }>>;
3928
+ }, "strip", z.ZodTypeAny, {
3929
+ gasPrice: string;
3930
+ tokenExchangeRate: string;
3931
+ tokenDecimals?: number | undefined;
3932
+ typicalCost?: {
3933
+ handleGasAmount: number;
3934
+ totalGasAmount: number;
3935
+ totalUsdCost: number;
3936
+ } | undefined;
3937
+ }, {
3938
+ gasPrice: string;
3939
+ tokenExchangeRate: string;
3940
+ tokenDecimals?: number | undefined;
3941
+ typicalCost?: {
3942
+ handleGasAmount: number;
3943
+ totalGasAmount: number;
3944
+ totalUsdCost: number;
3945
+ } | undefined;
3946
+ }>>;
3947
+ quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3948
+ contractVersion: z.ZodOptional<z.ZodString>;
3949
+ }, "strip", z.ZodTypeAny, {
3950
+ type: "interchainGasPaymaster";
3951
+ owner: string;
3952
+ beneficiary: string;
3953
+ oracleKey: string;
3954
+ overhead: Record<string, number>;
3955
+ oracleConfig: Record<string, {
3956
+ gasPrice: string;
3957
+ tokenExchangeRate: string;
3958
+ tokenDecimals?: number | undefined;
3959
+ typicalCost?: {
3960
+ handleGasAmount: number;
3961
+ totalGasAmount: number;
3962
+ totalUsdCost: number;
3963
+ } | undefined;
3964
+ }>;
3965
+ ownerOverrides?: Record<string, string> | undefined;
3966
+ quoteSigners?: string[] | undefined;
3967
+ contractVersion?: string | undefined;
3968
+ }, {
3969
+ type: "interchainGasPaymaster";
3970
+ owner: string;
3971
+ beneficiary: string;
3972
+ oracleKey: string;
3973
+ overhead: Record<string, number>;
3974
+ oracleConfig: Record<string, {
3975
+ gasPrice: string;
3976
+ tokenExchangeRate: string;
3977
+ tokenDecimals?: number | undefined;
3978
+ typicalCost?: {
3979
+ handleGasAmount: number;
3980
+ totalGasAmount: number;
3981
+ totalUsdCost: number;
3982
+ } | undefined;
3983
+ }>;
3984
+ ownerOverrides?: Record<string, string> | undefined;
3985
+ quoteSigners?: string[] | undefined;
3986
+ contractVersion?: string | undefined;
3987
+ }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
3988
+ type: z.ZodLiteral<"arbL2ToL1Hook">;
3989
+ arbSys: z.ZodString;
3990
+ bridge: z.ZodOptional<z.ZodString>;
3991
+ destinationChain: z.ZodString;
3992
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
3993
+ }, "strip", z.ZodTypeAny, {
3994
+ type: "arbL2ToL1Hook";
3995
+ destinationChain: string;
3996
+ arbSys: string;
3997
+ bridge?: string | undefined;
3998
+ childHook?: any;
3999
+ }, {
4000
+ type: "arbL2ToL1Hook";
4001
+ destinationChain: string;
4002
+ arbSys: string;
4003
+ bridge?: string | undefined;
4004
+ childHook?: any;
4005
+ }>, z.ZodObject<{
4006
+ type: z.ZodLiteral<"defaultHook">;
4007
+ }, "strip", z.ZodTypeAny, {
4008
+ type: "defaultHook";
4009
+ }, {
4010
+ type: "defaultHook";
4011
+ }>, z.ZodObject<{
4012
+ type: z.ZodLiteral<"ccipHook">;
4013
+ destinationChain: z.ZodString;
4014
+ }, "strip", z.ZodTypeAny, {
4015
+ type: "ccipHook";
4016
+ destinationChain: string;
4017
+ }, {
4018
+ type: "ccipHook";
4019
+ destinationChain: string;
4020
+ }>, z.ZodObject<{
4021
+ type: z.ZodLiteral<"cctpHook">;
4022
+ address: z.ZodString;
4023
+ }, "strip", z.ZodTypeAny, {
4024
+ type: "cctpHook";
4025
+ address: string;
4026
+ }, {
4027
+ type: "cctpHook";
4028
+ address: string;
4029
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
4030
+ owner: z.ZodString;
4031
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4032
+ } & {
4033
+ type: z.ZodLiteral<"rateLimitedHook">;
4034
+ maxCapacity: z.ZodString;
4035
+ }, "strip", z.ZodTypeAny, {
4036
+ type: "rateLimitedHook";
4037
+ owner: string;
4038
+ maxCapacity: string;
4039
+ ownerOverrides?: Record<string, string> | undefined;
4040
+ }, {
4041
+ type: "rateLimitedHook";
4042
+ owner: string;
4043
+ maxCapacity: string;
4044
+ ownerOverrides?: Record<string, string> | undefined;
4045
+ }>, {
4046
+ type: "rateLimitedHook";
4047
+ owner: string;
4048
+ maxCapacity: string;
4049
+ ownerOverrides?: Record<string, string> | undefined;
4050
+ }, {
4051
+ type: "rateLimitedHook";
4052
+ owner: string;
4053
+ maxCapacity: string;
4054
+ ownerOverrides?: Record<string, string> | undefined;
4055
+ }>, {
4056
+ type: "rateLimitedHook";
4057
+ owner: string;
4058
+ maxCapacity: string;
4059
+ ownerOverrides?: Record<string, string> | undefined;
4060
+ }, {
4061
+ type: "rateLimitedHook";
4062
+ owner: string;
4063
+ maxCapacity: string;
4064
+ ownerOverrides?: Record<string, string> | undefined;
4065
+ }>, z.ZodObject<{
4066
+ type: z.ZodLiteral<"unknownHook">;
4067
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4068
+ type: z.ZodLiteral<"unknownHook">;
4069
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4070
+ type: z.ZodLiteral<"unknownHook">;
4071
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
4072
+ type: z.ZodLiteral<"predicateHook">;
4073
+ address: z.ZodString;
4074
+ }, "strip", z.ZodTypeAny, {
4075
+ type: "predicateHook";
4076
+ address: string;
4077
+ }, {
4078
+ type: "predicateHook";
4079
+ address: string;
4080
+ }>]>>;
4081
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
4082
+ type: z.ZodLiteral<"testIsm">;
4083
+ }, "strip", z.ZodTypeAny, {
4084
+ type: "testIsm";
4085
+ }, {
4086
+ type: "testIsm";
4087
+ }>, z.ZodObject<{
4088
+ type: z.ZodLiteral<"opStackIsm">;
4089
+ origin: z.ZodString;
4090
+ nativeBridge: z.ZodString;
4091
+ }, "strip", z.ZodTypeAny, {
4092
+ type: "opStackIsm";
4093
+ origin: string;
4094
+ nativeBridge: string;
4095
+ }, {
4096
+ type: "opStackIsm";
4097
+ origin: string;
4098
+ nativeBridge: string;
4099
+ }>, z.ZodIntersection<z.ZodObject<{
4100
+ owner: z.ZodString;
4101
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4102
+ } & {
4103
+ paused: z.ZodBoolean;
4104
+ }, "strip", z.ZodTypeAny, {
4105
+ owner: string;
4106
+ paused: boolean;
4107
+ ownerOverrides?: Record<string, string> | undefined;
4108
+ }, {
4109
+ owner: string;
4110
+ paused: boolean;
4111
+ ownerOverrides?: Record<string, string> | undefined;
4112
+ }>, z.ZodObject<{
4113
+ type: z.ZodLiteral<"pausableIsm">;
4114
+ }, "strip", z.ZodTypeAny, {
4115
+ type: "pausableIsm";
4116
+ }, {
4117
+ type: "pausableIsm";
4118
+ }>>, z.ZodObject<{
4119
+ type: z.ZodLiteral<"trustedRelayerIsm">;
4120
+ relayer: z.ZodString;
4121
+ }, "strip", z.ZodTypeAny, {
4122
+ type: "trustedRelayerIsm";
4123
+ relayer: string;
4124
+ }, {
4125
+ type: "trustedRelayerIsm";
4126
+ relayer: string;
4127
+ }>, z.ZodObject<{
4128
+ type: z.ZodLiteral<"ccipIsm">;
4129
+ originChain: z.ZodString;
4130
+ }, "strip", z.ZodTypeAny, {
4131
+ type: "ccipIsm";
4132
+ originChain: string;
4133
+ }, {
4134
+ type: "ccipIsm";
4135
+ originChain: string;
4136
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
4137
+ type: z.ZodLiteral<"rateLimitedIsm">;
4138
+ maxCapacity: z.ZodString;
4139
+ recipient: z.ZodOptional<z.ZodString>;
4140
+ owner: z.ZodOptional<z.ZodString>;
4141
+ }, "strip", z.ZodTypeAny, {
4142
+ type: "rateLimitedIsm";
4143
+ maxCapacity: string;
4144
+ owner?: string | undefined;
4145
+ recipient?: string | undefined;
4146
+ }, {
4147
+ type: "rateLimitedIsm";
4148
+ maxCapacity: string;
4149
+ owner?: string | undefined;
4150
+ recipient?: string | undefined;
4151
+ }>, {
4152
+ type: "rateLimitedIsm";
4153
+ maxCapacity: string;
4154
+ owner?: string | undefined;
4155
+ recipient?: string | undefined;
4156
+ }, {
4157
+ type: "rateLimitedIsm";
4158
+ maxCapacity: string;
4159
+ owner?: string | undefined;
4160
+ recipient?: string | undefined;
4161
+ }>, {
4162
+ type: "rateLimitedIsm";
4163
+ maxCapacity: string;
4164
+ owner?: string | undefined;
4165
+ recipient?: string | undefined;
4166
+ }, {
4167
+ type: "rateLimitedIsm";
4168
+ maxCapacity: string;
4169
+ owner?: string | undefined;
4170
+ recipient?: string | undefined;
4171
+ }>, z.ZodIntersection<z.ZodObject<{
4172
+ validators: z.ZodArray<z.ZodString, "many">;
4173
+ threshold: z.ZodNumber;
4174
+ }, "strip", z.ZodTypeAny, {
4175
+ threshold: number;
4176
+ validators: string[];
4177
+ }, {
4178
+ threshold: number;
4179
+ validators: string[];
4180
+ }>, z.ZodObject<{
4181
+ type: z.ZodUnion<[z.ZodLiteral<"merkleRootMultisigIsm">, z.ZodLiteral<"messageIdMultisigIsm">, z.ZodLiteral<"storageMerkleRootMultisigIsm">, z.ZodLiteral<"storageMessageIdMultisigIsm">]>;
4182
+ }, "strip", z.ZodTypeAny, {
4183
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
4184
+ }, {
4185
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
4186
+ }>>, z.ZodIntersection<z.ZodObject<{
4187
+ validators: z.ZodArray<z.ZodObject<{
4188
+ signingAddress: z.ZodString;
4189
+ weight: z.ZodNumber;
4190
+ }, "strip", z.ZodTypeAny, {
4191
+ signingAddress: string;
4192
+ weight: number;
4193
+ }, {
4194
+ signingAddress: string;
4195
+ weight: number;
4196
+ }>, "many">;
4197
+ thresholdWeight: z.ZodNumber;
4198
+ }, "strip", z.ZodTypeAny, {
4199
+ validators: {
4200
+ signingAddress: string;
4201
+ weight: number;
4202
+ }[];
4203
+ thresholdWeight: number;
4204
+ }, {
4205
+ validators: {
4206
+ signingAddress: string;
4207
+ weight: number;
4208
+ }[];
4209
+ thresholdWeight: number;
4210
+ }>, z.ZodObject<{
4211
+ type: z.ZodUnion<[z.ZodLiteral<"weightedMerkleRootMultisigIsm">, z.ZodLiteral<"weightedMessageIdMultisigIsm">]>;
4212
+ }, "strip", z.ZodTypeAny, {
4213
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
4214
+ }, {
4215
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
4216
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
4217
+ type: z.ZodLiteral<"arbL2ToL1Ism">;
4218
+ bridge: z.ZodString;
4219
+ }, "strip", z.ZodTypeAny, {
4220
+ type: "arbL2ToL1Ism";
4221
+ bridge: string;
4222
+ }, {
4223
+ type: "arbL2ToL1Ism";
4224
+ bridge: string;
4225
+ }>, z.ZodObject<{
4226
+ owner: z.ZodString;
4227
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4228
+ } & {
4229
+ type: z.ZodLiteral<"offchainLookupIsm">;
4230
+ urls: z.ZodArray<z.ZodString, "many">;
4231
+ }, "strip", z.ZodTypeAny, {
4232
+ type: "offchainLookupIsm";
4233
+ owner: string;
4234
+ urls: string[];
4235
+ ownerOverrides?: Record<string, string> | undefined;
4236
+ }, {
4237
+ type: "offchainLookupIsm";
4238
+ owner: string;
4239
+ urls: string[];
4240
+ ownerOverrides?: Record<string, string> | undefined;
4241
+ }>, z.ZodObject<{
4242
+ owner: z.ZodString;
4243
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4244
+ } & {
4245
+ type: z.ZodLiteral<"interchainAccountRouting">;
4246
+ isms: z.ZodRecord<z.ZodString, z.ZodString>;
4247
+ }, "strip", z.ZodTypeAny, {
4248
+ type: "interchainAccountRouting";
4249
+ owner: string;
4250
+ isms: Record<string, string>;
4251
+ ownerOverrides?: Record<string, string> | undefined;
4252
+ }, {
4253
+ type: "interchainAccountRouting";
4254
+ owner: string;
4255
+ isms: Record<string, string>;
4256
+ ownerOverrides?: Record<string, string> | undefined;
4257
+ }>, z.ZodObject<{
4258
+ type: z.ZodLiteral<"unknownIsm">;
4259
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4260
+ type: z.ZodLiteral<"unknownIsm">;
4261
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4262
+ type: z.ZodLiteral<"unknownIsm">;
4263
+ }, z.ZodTypeAny, "passthrough">>]>>;
4264
+ } & {
4265
+ foreignDeployment: z.ZodOptional<z.ZodString>;
4266
+ } & {
4267
+ remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
4268
+ address: z.ZodString;
4269
+ }, "strip", z.ZodTypeAny, {
4270
+ address: string;
4271
+ }, {
4272
+ address: string;
4273
+ }>>>;
4274
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
4275
+ owner: z.ZodString;
4276
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4277
+ } & {
4278
+ address: z.ZodOptional<z.ZodString>;
4279
+ }, "strip", z.ZodTypeAny, {
4280
+ owner: string;
4281
+ address?: string | undefined;
4282
+ ownerOverrides?: Record<string, string> | undefined;
4283
+ }, {
4284
+ owner: string;
4285
+ address?: string | undefined;
4286
+ ownerOverrides?: Record<string, string> | undefined;
4287
+ }>>;
4288
+ tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
4289
+ owner: z.ZodString;
4290
+ } & {
4291
+ maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
4292
+ halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
4293
+ type: z.ZodLiteral<import("../index.js").TokenFeeType.LinearFee>;
4294
+ bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
4295
+ }, "strip", z.ZodTypeAny, {
4296
+ type: import("../index.js").TokenFeeType.LinearFee;
4297
+ owner: string;
4298
+ maxFee?: bigint | undefined;
4299
+ halfAmount?: bigint | undefined;
4300
+ bps?: number | undefined;
4301
+ }, {
4302
+ type: import("../index.js").TokenFeeType.LinearFee;
4303
+ owner: string;
4304
+ maxFee?: string | number | bigint | undefined;
4305
+ halfAmount?: string | number | bigint | undefined;
4306
+ bps?: string | number | undefined;
4307
+ }>, {
4308
+ type: import("../index.js").TokenFeeType.LinearFee;
4309
+ owner: string;
4310
+ maxFee?: bigint | undefined;
4311
+ halfAmount?: bigint | undefined;
4312
+ bps?: number | undefined;
4313
+ }, {
4314
+ type: import("../index.js").TokenFeeType.LinearFee;
4315
+ owner: string;
4316
+ maxFee?: string | number | bigint | undefined;
4317
+ halfAmount?: string | number | bigint | undefined;
4318
+ bps?: string | number | undefined;
4319
+ }>, {
4320
+ bps: number;
4321
+ type: import("../index.js").TokenFeeType.LinearFee;
4322
+ owner: string;
4323
+ maxFee?: bigint | undefined;
4324
+ halfAmount?: bigint | undefined;
4325
+ }, {
4326
+ type: import("../index.js").TokenFeeType.LinearFee;
4327
+ owner: string;
4328
+ maxFee?: string | number | bigint | undefined;
4329
+ halfAmount?: string | number | bigint | undefined;
4330
+ bps?: string | number | undefined;
4331
+ }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
2769
4332
  owner: z.ZodString;
2770
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2771
4333
  } & {
2772
- type: z.ZodLiteral<"protocolFee">;
2773
- beneficiary: z.ZodString;
2774
- maxProtocolFee: z.ZodString;
2775
- protocolFee: z.ZodString;
4334
+ quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4335
+ } & {
4336
+ maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
4337
+ halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
4338
+ type: z.ZodLiteral<import("../index.js").TokenFeeType.OffchainQuotedLinearFee>;
4339
+ bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
2776
4340
  }, "strip", z.ZodTypeAny, {
2777
- type: "protocolFee";
4341
+ type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
2778
4342
  owner: string;
2779
- protocolFee: string;
2780
- beneficiary: string;
2781
- maxProtocolFee: string;
2782
- ownerOverrides?: Record<string, string> | undefined;
4343
+ maxFee?: bigint | undefined;
4344
+ halfAmount?: bigint | undefined;
4345
+ bps?: number | undefined;
4346
+ quoteSigners?: string[] | undefined;
2783
4347
  }, {
2784
- type: "protocolFee";
4348
+ type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
2785
4349
  owner: string;
2786
- protocolFee: string;
2787
- beneficiary: string;
2788
- maxProtocolFee: string;
2789
- ownerOverrides?: Record<string, string> | undefined;
2790
- }>, z.ZodObject<{
4350
+ maxFee?: string | number | bigint | undefined;
4351
+ halfAmount?: string | number | bigint | undefined;
4352
+ bps?: string | number | undefined;
4353
+ quoteSigners?: string[] | undefined;
4354
+ }>, {
4355
+ type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
4356
+ owner: string;
4357
+ maxFee?: bigint | undefined;
4358
+ halfAmount?: bigint | undefined;
4359
+ bps?: number | undefined;
4360
+ quoteSigners?: string[] | undefined;
4361
+ }, {
4362
+ type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
4363
+ owner: string;
4364
+ maxFee?: string | number | bigint | undefined;
4365
+ halfAmount?: string | number | bigint | undefined;
4366
+ bps?: string | number | undefined;
4367
+ quoteSigners?: string[] | undefined;
4368
+ }>, {
4369
+ bps: number;
4370
+ type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
4371
+ owner: string;
4372
+ maxFee?: bigint | undefined;
4373
+ halfAmount?: bigint | undefined;
4374
+ quoteSigners?: string[] | undefined;
4375
+ }, {
4376
+ type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
4377
+ owner: string;
4378
+ maxFee?: string | number | bigint | undefined;
4379
+ halfAmount?: string | number | bigint | undefined;
4380
+ bps?: string | number | undefined;
4381
+ quoteSigners?: string[] | undefined;
4382
+ }>, z.ZodEffects<z.ZodObject<{
2791
4383
  owner: z.ZodString;
2792
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2793
4384
  } & {
2794
- paused: z.ZodBoolean;
4385
+ type: z.ZodLiteral<import("../index.js").TokenFeeType.ProgressiveFee>;
4386
+ maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
4387
+ halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
4388
+ }, "strip", z.ZodTypeAny, {
4389
+ type: import("../index.js").TokenFeeType.ProgressiveFee;
4390
+ owner: string;
4391
+ maxFee: bigint;
4392
+ halfAmount: bigint;
4393
+ }, {
4394
+ type: import("../index.js").TokenFeeType.ProgressiveFee;
4395
+ owner: string;
4396
+ maxFee: string | number | bigint;
4397
+ halfAmount: string | number | bigint;
4398
+ }>, {
4399
+ type: import("../index.js").TokenFeeType.ProgressiveFee;
4400
+ owner: string;
4401
+ maxFee: bigint;
4402
+ halfAmount: bigint;
4403
+ }, {
4404
+ type: import("../index.js").TokenFeeType.ProgressiveFee;
4405
+ owner: string;
4406
+ maxFee: string | number | bigint;
4407
+ halfAmount: string | number | bigint;
4408
+ }>, z.ZodEffects<z.ZodObject<{
4409
+ owner: z.ZodString;
2795
4410
  } & {
2796
- type: z.ZodLiteral<"pausableHook">;
4411
+ type: z.ZodLiteral<import("../index.js").TokenFeeType.RegressiveFee>;
4412
+ maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
4413
+ halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
2797
4414
  }, "strip", z.ZodTypeAny, {
2798
- type: "pausableHook";
4415
+ type: import("../index.js").TokenFeeType.RegressiveFee;
2799
4416
  owner: string;
2800
- paused: boolean;
2801
- ownerOverrides?: Record<string, string> | undefined;
4417
+ maxFee: bigint;
4418
+ halfAmount: bigint;
2802
4419
  }, {
2803
- type: "pausableHook";
4420
+ type: import("../index.js").TokenFeeType.RegressiveFee;
2804
4421
  owner: string;
2805
- paused: boolean;
2806
- ownerOverrides?: Record<string, string> | undefined;
2807
- }>, z.ZodObject<{
4422
+ maxFee: string | number | bigint;
4423
+ halfAmount: string | number | bigint;
4424
+ }>, {
4425
+ type: import("../index.js").TokenFeeType.RegressiveFee;
4426
+ owner: string;
4427
+ maxFee: bigint;
4428
+ halfAmount: bigint;
4429
+ }, {
4430
+ type: import("../index.js").TokenFeeType.RegressiveFee;
4431
+ owner: string;
4432
+ maxFee: string | number | bigint;
4433
+ halfAmount: string | number | bigint;
4434
+ }>, z.ZodEffects<z.ZodObject<{
2808
4435
  owner: z.ZodString;
2809
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2810
4436
  } & {
2811
- type: z.ZodLiteral<"opStackHook">;
2812
- nativeBridge: z.ZodString;
2813
- destinationChain: z.ZodString;
4437
+ type: z.ZodLiteral<import("../index.js").TokenFeeType.RoutingFee>;
4438
+ feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
2814
4439
  }, "strip", z.ZodTypeAny, {
2815
- type: "opStackHook";
4440
+ type: import("../index.js").TokenFeeType.RoutingFee;
2816
4441
  owner: string;
2817
- nativeBridge: string;
2818
- destinationChain: string;
2819
- ownerOverrides?: Record<string, string> | undefined;
4442
+ feeContracts: Record<string, any>;
2820
4443
  }, {
2821
- type: "opStackHook";
4444
+ type: import("../index.js").TokenFeeType.RoutingFee;
2822
4445
  owner: string;
2823
- nativeBridge: string;
2824
- destinationChain: string;
2825
- ownerOverrides?: Record<string, string> | undefined;
2826
- }>, z.ZodObject<{
2827
- type: z.ZodLiteral<"merkleTreeHook">;
4446
+ feeContracts: Record<string, any>;
4447
+ }>, {
4448
+ type: import("../index.js").TokenFeeType.RoutingFee;
4449
+ owner: string;
4450
+ feeContracts: Record<string, any>;
4451
+ }, {
4452
+ type: import("../index.js").TokenFeeType.RoutingFee;
4453
+ owner: string;
4454
+ feeContracts: Record<string, any>;
4455
+ }>, z.ZodEffects<z.ZodObject<{
4456
+ owner: z.ZodString;
4457
+ } & {
4458
+ type: z.ZodLiteral<import("../index.js").TokenFeeType.CrossCollateralRoutingFee>;
4459
+ feeContracts: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, any>, Record<string, any>>>;
2828
4460
  }, "strip", z.ZodTypeAny, {
2829
- type: "merkleTreeHook";
4461
+ type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
4462
+ owner: string;
4463
+ feeContracts: Record<string, Record<string, any>>;
2830
4464
  }, {
2831
- type: "merkleTreeHook";
2832
- }>, z.ZodObject<{
4465
+ type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
4466
+ owner: string;
4467
+ feeContracts: Record<string, Record<string, any>>;
4468
+ }>, {
4469
+ type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
4470
+ owner: string;
4471
+ feeContracts: Record<string, Record<string, any>>;
4472
+ }, {
4473
+ type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
4474
+ owner: string;
4475
+ feeContracts: Record<string, Record<string, any>>;
4476
+ }>]>>;
4477
+ } & {
4478
+ routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
4479
+ commitmentIsm: z.ZodOptional<z.ZodObject<{
2833
4480
  owner: z.ZodString;
2834
4481
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2835
4482
  } & {
2836
- type: z.ZodLiteral<"interchainGasPaymaster">;
2837
- beneficiary: z.ZodString;
2838
- oracleKey: z.ZodString;
2839
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
2840
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
2841
- gasPrice: z.ZodString;
2842
- tokenExchangeRate: z.ZodString;
2843
- } & {
2844
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
2845
- } & {
2846
- typicalCost: z.ZodOptional<z.ZodObject<{
2847
- handleGasAmount: z.ZodNumber;
2848
- totalGasAmount: z.ZodNumber;
2849
- totalUsdCost: z.ZodNumber;
2850
- }, "strip", z.ZodTypeAny, {
2851
- handleGasAmount: number;
2852
- totalGasAmount: number;
2853
- totalUsdCost: number;
2854
- }, {
2855
- handleGasAmount: number;
2856
- totalGasAmount: number;
2857
- totalUsdCost: number;
2858
- }>>;
2859
- }, "strip", z.ZodTypeAny, {
2860
- gasPrice: string;
2861
- tokenExchangeRate: string;
2862
- tokenDecimals?: number | undefined;
2863
- typicalCost?: {
2864
- handleGasAmount: number;
2865
- totalGasAmount: number;
2866
- totalUsdCost: number;
2867
- } | undefined;
2868
- }, {
2869
- gasPrice: string;
2870
- tokenExchangeRate: string;
2871
- tokenDecimals?: number | undefined;
2872
- typicalCost?: {
2873
- handleGasAmount: number;
2874
- totalGasAmount: number;
2875
- totalUsdCost: number;
2876
- } | undefined;
2877
- }>>;
2878
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2879
- contractVersion: z.ZodOptional<z.ZodString>;
4483
+ type: z.ZodLiteral<"offchainLookupIsm">;
4484
+ urls: z.ZodArray<z.ZodString, "many">;
4485
+ }, "strip", z.ZodTypeAny, {
4486
+ type: "offchainLookupIsm";
4487
+ owner: string;
4488
+ urls: string[];
4489
+ ownerOverrides?: Record<string, string> | undefined;
4490
+ }, {
4491
+ type: "offchainLookupIsm";
4492
+ owner: string;
4493
+ urls: string[];
4494
+ ownerOverrides?: Record<string, string> | undefined;
4495
+ }>>;
4496
+ feeTokenApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
4497
+ feeToken: z.ZodString;
4498
+ hook: z.ZodString;
2880
4499
  }, "strip", z.ZodTypeAny, {
4500
+ hook: string;
4501
+ feeToken: string;
4502
+ }, {
4503
+ hook: string;
4504
+ feeToken: string;
4505
+ }>, "many">>;
4506
+ } & {
4507
+ address: z.ZodString;
4508
+ }, "strip", z.ZodTypeAny, {
4509
+ address: string;
4510
+ owner: string;
4511
+ mailbox: string;
4512
+ ownerOverrides?: Record<string, string> | undefined;
4513
+ proxyAdmin?: {
4514
+ owner: string;
4515
+ address?: string | undefined;
4516
+ ownerOverrides?: Record<string, string> | undefined;
4517
+ } | undefined;
4518
+ hook?: string | {
4519
+ type: "merkleTreeHook";
4520
+ } | {
2881
4521
  type: "interchainGasPaymaster";
2882
4522
  owner: string;
2883
4523
  beneficiary: string;
@@ -2896,476 +4536,502 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
2896
4536
  ownerOverrides?: Record<string, string> | undefined;
2897
4537
  quoteSigners?: string[] | undefined;
2898
4538
  contractVersion?: string | undefined;
2899
- }, {
2900
- type: "interchainGasPaymaster";
4539
+ } | {
4540
+ type: "protocolFee";
2901
4541
  owner: string;
4542
+ protocolFee: string;
2902
4543
  beneficiary: string;
2903
- oracleKey: string;
2904
- overhead: Record<string, number>;
2905
- oracleConfig: Record<string, {
2906
- gasPrice: string;
2907
- tokenExchangeRate: string;
2908
- tokenDecimals?: number | undefined;
2909
- typicalCost?: {
2910
- handleGasAmount: number;
2911
- totalGasAmount: number;
2912
- totalUsdCost: number;
2913
- } | undefined;
2914
- }>;
4544
+ maxProtocolFee: string;
2915
4545
  ownerOverrides?: Record<string, string> | undefined;
2916
- quoteSigners?: string[] | undefined;
2917
- contractVersion?: string | undefined;
2918
- }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
2919
- type: z.ZodLiteral<"arbL2ToL1Hook">;
2920
- arbSys: z.ZodString;
2921
- bridge: z.ZodOptional<z.ZodString>;
2922
- destinationChain: z.ZodString;
2923
- childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
2924
- }, "strip", z.ZodTypeAny, {
2925
- type: "arbL2ToL1Hook";
4546
+ } | {
4547
+ type: "pausableHook";
4548
+ owner: string;
4549
+ paused: boolean;
4550
+ ownerOverrides?: Record<string, string> | undefined;
4551
+ } | {
4552
+ type: "opStackHook";
4553
+ owner: string;
4554
+ nativeBridge: string;
2926
4555
  destinationChain: string;
2927
- arbSys: string;
2928
- bridge?: string | undefined;
2929
- childHook?: any;
2930
- }, {
4556
+ ownerOverrides?: Record<string, string> | undefined;
4557
+ } | {
2931
4558
  type: "arbL2ToL1Hook";
2932
4559
  destinationChain: string;
2933
4560
  arbSys: string;
2934
4561
  bridge?: string | undefined;
2935
4562
  childHook?: any;
2936
- }>, z.ZodObject<{
2937
- type: z.ZodLiteral<"defaultHook">;
2938
- }, "strip", z.ZodTypeAny, {
2939
- type: "defaultHook";
2940
- }, {
4563
+ } | {
2941
4564
  type: "defaultHook";
2942
- }>, z.ZodObject<{
2943
- type: z.ZodLiteral<"ccipHook">;
2944
- destinationChain: z.ZodString;
2945
- }, "strip", z.ZodTypeAny, {
2946
- type: "ccipHook";
2947
- destinationChain: string;
2948
- }, {
4565
+ } | {
4566
+ type: "rateLimitedHook";
4567
+ owner: string;
4568
+ maxCapacity: string;
4569
+ ownerOverrides?: Record<string, string> | undefined;
4570
+ } | {
2949
4571
  type: "ccipHook";
2950
4572
  destinationChain: string;
2951
- }>, z.ZodObject<{
2952
- type: z.ZodLiteral<"cctpHook">;
2953
- address: z.ZodString;
2954
- }, "strip", z.ZodTypeAny, {
2955
- type: "cctpHook";
2956
- address: string;
2957
- }, {
4573
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
2958
4574
  type: "cctpHook";
2959
4575
  address: string;
2960
- }>, z.ZodObject<{
2961
- type: z.ZodLiteral<"unknownHook">;
2962
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2963
- type: z.ZodLiteral<"unknownHook">;
2964
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4576
+ } | z.objectOutputType<{
2965
4577
  type: z.ZodLiteral<"unknownHook">;
2966
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2967
- type: z.ZodLiteral<"predicateHook">;
2968
- address: z.ZodString;
2969
- }, "strip", z.ZodTypeAny, {
2970
- type: "predicateHook";
2971
- address: string;
2972
- }, {
4578
+ }, z.ZodTypeAny, "passthrough"> | {
2973
4579
  type: "predicateHook";
2974
4580
  address: string;
2975
- }>]>>;
2976
- interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2977
- type: z.ZodLiteral<"testIsm">;
2978
- }, "strip", z.ZodTypeAny, {
2979
- type: "testIsm";
2980
- }, {
4581
+ } | undefined;
4582
+ interchainSecurityModule?: string | ({
4583
+ threshold: number;
4584
+ validators: string[];
4585
+ } & {
4586
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
4587
+ }) | ({
4588
+ validators: {
4589
+ signingAddress: string;
4590
+ weight: number;
4591
+ }[];
4592
+ thresholdWeight: number;
4593
+ } & {
4594
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
4595
+ }) | {
2981
4596
  type: "testIsm";
2982
- }>, z.ZodObject<{
2983
- type: z.ZodLiteral<"opStackIsm">;
2984
- origin: z.ZodString;
2985
- nativeBridge: z.ZodString;
2986
- }, "strip", z.ZodTypeAny, {
2987
- type: "opStackIsm";
2988
- origin: string;
2989
- nativeBridge: string;
2990
- }, {
4597
+ } | ({
4598
+ owner: string;
4599
+ paused: boolean;
4600
+ ownerOverrides?: Record<string, string> | undefined;
4601
+ } & {
4602
+ type: "pausableIsm";
4603
+ }) | {
2991
4604
  type: "opStackIsm";
2992
4605
  origin: string;
2993
4606
  nativeBridge: string;
2994
- }>, z.ZodIntersection<z.ZodObject<{
2995
- owner: z.ZodString;
2996
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2997
- } & {
2998
- paused: z.ZodBoolean;
2999
- }, "strip", z.ZodTypeAny, {
4607
+ } | {
4608
+ type: "trustedRelayerIsm";
4609
+ relayer: string;
4610
+ } | {
4611
+ type: "ccipIsm";
4612
+ originChain: string;
4613
+ } | {
4614
+ type: "arbL2ToL1Ism";
4615
+ bridge: string;
4616
+ } | {
4617
+ type: "rateLimitedIsm";
4618
+ maxCapacity: string;
4619
+ owner?: string | undefined;
4620
+ recipient?: string | undefined;
4621
+ } | {
4622
+ type: "offchainLookupIsm";
4623
+ owner: string;
4624
+ urls: string[];
4625
+ ownerOverrides?: Record<string, string> | undefined;
4626
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
4627
+ type: z.ZodLiteral<"unknownIsm">;
4628
+ }, z.ZodTypeAny, "passthrough"> | undefined;
4629
+ foreignDeployment?: string | undefined;
4630
+ remoteRouters?: Record<string | number, {
4631
+ address: string;
4632
+ }> | undefined;
4633
+ tokenFee?: {
4634
+ bps: number;
4635
+ type: import("../index.js").TokenFeeType.LinearFee;
4636
+ owner: string;
4637
+ maxFee?: bigint | undefined;
4638
+ halfAmount?: bigint | undefined;
4639
+ } | {
4640
+ bps: number;
4641
+ type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
4642
+ owner: string;
4643
+ maxFee?: bigint | undefined;
4644
+ halfAmount?: bigint | undefined;
4645
+ quoteSigners?: string[] | undefined;
4646
+ } | {
4647
+ type: import("../index.js").TokenFeeType.ProgressiveFee;
4648
+ owner: string;
4649
+ maxFee: bigint;
4650
+ halfAmount: bigint;
4651
+ } | {
4652
+ type: import("../index.js").TokenFeeType.RegressiveFee;
4653
+ owner: string;
4654
+ maxFee: bigint;
4655
+ halfAmount: bigint;
4656
+ } | {
4657
+ type: import("../index.js").TokenFeeType.RoutingFee;
4658
+ owner: string;
4659
+ feeContracts: Record<string, any>;
4660
+ } | {
4661
+ type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
4662
+ owner: string;
4663
+ feeContracts: Record<string, Record<string, any>>;
4664
+ } | undefined;
4665
+ routerType?: import("../ica/types.js").IcaRouterType | undefined;
4666
+ commitmentIsm?: {
4667
+ type: "offchainLookupIsm";
4668
+ owner: string;
4669
+ urls: string[];
4670
+ ownerOverrides?: Record<string, string> | undefined;
4671
+ } | undefined;
4672
+ feeTokenApprovals?: {
4673
+ hook: string;
4674
+ feeToken: string;
4675
+ }[] | undefined;
4676
+ }, {
4677
+ address: string;
4678
+ owner: string;
4679
+ mailbox: string;
4680
+ ownerOverrides?: Record<string, string> | undefined;
4681
+ proxyAdmin?: {
4682
+ owner: string;
4683
+ address?: string | undefined;
4684
+ ownerOverrides?: Record<string, string> | undefined;
4685
+ } | undefined;
4686
+ hook?: string | {
4687
+ type: "merkleTreeHook";
4688
+ } | {
4689
+ type: "interchainGasPaymaster";
4690
+ owner: string;
4691
+ beneficiary: string;
4692
+ oracleKey: string;
4693
+ overhead: Record<string, number>;
4694
+ oracleConfig: Record<string, {
4695
+ gasPrice: string;
4696
+ tokenExchangeRate: string;
4697
+ tokenDecimals?: number | undefined;
4698
+ typicalCost?: {
4699
+ handleGasAmount: number;
4700
+ totalGasAmount: number;
4701
+ totalUsdCost: number;
4702
+ } | undefined;
4703
+ }>;
4704
+ ownerOverrides?: Record<string, string> | undefined;
4705
+ quoteSigners?: string[] | undefined;
4706
+ contractVersion?: string | undefined;
4707
+ } | {
4708
+ type: "protocolFee";
4709
+ owner: string;
4710
+ protocolFee: string;
4711
+ beneficiary: string;
4712
+ maxProtocolFee: string;
4713
+ ownerOverrides?: Record<string, string> | undefined;
4714
+ } | {
4715
+ type: "pausableHook";
3000
4716
  owner: string;
3001
4717
  paused: boolean;
3002
4718
  ownerOverrides?: Record<string, string> | undefined;
3003
- }, {
4719
+ } | {
4720
+ type: "opStackHook";
4721
+ owner: string;
4722
+ nativeBridge: string;
4723
+ destinationChain: string;
4724
+ ownerOverrides?: Record<string, string> | undefined;
4725
+ } | {
4726
+ type: "arbL2ToL1Hook";
4727
+ destinationChain: string;
4728
+ arbSys: string;
4729
+ bridge?: string | undefined;
4730
+ childHook?: any;
4731
+ } | {
4732
+ type: "defaultHook";
4733
+ } | {
4734
+ type: "rateLimitedHook";
3004
4735
  owner: string;
3005
- paused: boolean;
4736
+ maxCapacity: string;
3006
4737
  ownerOverrides?: Record<string, string> | undefined;
3007
- }>, z.ZodObject<{
3008
- type: z.ZodLiteral<"pausableIsm">;
3009
- }, "strip", z.ZodTypeAny, {
3010
- type: "pausableIsm";
3011
- }, {
3012
- type: "pausableIsm";
3013
- }>>, z.ZodObject<{
3014
- type: z.ZodLiteral<"trustedRelayerIsm">;
3015
- relayer: z.ZodString;
3016
- }, "strip", z.ZodTypeAny, {
3017
- type: "trustedRelayerIsm";
3018
- relayer: string;
3019
- }, {
3020
- type: "trustedRelayerIsm";
3021
- relayer: string;
3022
- }>, z.ZodObject<{
3023
- type: z.ZodLiteral<"ccipIsm">;
3024
- originChain: z.ZodString;
3025
- }, "strip", z.ZodTypeAny, {
3026
- type: "ccipIsm";
3027
- originChain: string;
3028
- }, {
3029
- type: "ccipIsm";
3030
- originChain: string;
3031
- }>, z.ZodIntersection<z.ZodObject<{
3032
- validators: z.ZodArray<z.ZodString, "many">;
3033
- threshold: z.ZodNumber;
3034
- }, "strip", z.ZodTypeAny, {
3035
- threshold: number;
3036
- validators: string[];
3037
- }, {
4738
+ } | {
4739
+ type: "ccipHook";
4740
+ destinationChain: string;
4741
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
4742
+ type: "cctpHook";
4743
+ address: string;
4744
+ } | z.objectInputType<{
4745
+ type: z.ZodLiteral<"unknownHook">;
4746
+ }, z.ZodTypeAny, "passthrough"> | {
4747
+ type: "predicateHook";
4748
+ address: string;
4749
+ } | undefined;
4750
+ interchainSecurityModule?: string | ({
3038
4751
  threshold: number;
3039
4752
  validators: string[];
3040
- }>, z.ZodObject<{
3041
- type: z.ZodUnion<[z.ZodLiteral<"merkleRootMultisigIsm">, z.ZodLiteral<"messageIdMultisigIsm">, z.ZodLiteral<"storageMerkleRootMultisigIsm">, z.ZodLiteral<"storageMessageIdMultisigIsm">]>;
3042
- }, "strip", z.ZodTypeAny, {
3043
- type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
3044
- }, {
4753
+ } & {
3045
4754
  type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
3046
- }>>, z.ZodIntersection<z.ZodObject<{
3047
- validators: z.ZodArray<z.ZodObject<{
3048
- signingAddress: z.ZodString;
3049
- weight: z.ZodNumber;
3050
- }, "strip", z.ZodTypeAny, {
3051
- signingAddress: string;
3052
- weight: number;
3053
- }, {
3054
- signingAddress: string;
3055
- weight: number;
3056
- }>, "many">;
3057
- thresholdWeight: z.ZodNumber;
3058
- }, "strip", z.ZodTypeAny, {
3059
- validators: {
3060
- signingAddress: string;
3061
- weight: number;
3062
- }[];
3063
- thresholdWeight: number;
3064
- }, {
4755
+ }) | ({
3065
4756
  validators: {
3066
4757
  signingAddress: string;
3067
4758
  weight: number;
3068
4759
  }[];
3069
4760
  thresholdWeight: number;
3070
- }>, z.ZodObject<{
3071
- type: z.ZodUnion<[z.ZodLiteral<"weightedMerkleRootMultisigIsm">, z.ZodLiteral<"weightedMessageIdMultisigIsm">]>;
3072
- }, "strip", z.ZodTypeAny, {
3073
- type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
3074
- }, {
3075
- type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
3076
- }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
3077
- type: z.ZodLiteral<"arbL2ToL1Ism">;
3078
- bridge: z.ZodString;
3079
- }, "strip", z.ZodTypeAny, {
3080
- type: "arbL2ToL1Ism";
3081
- bridge: string;
3082
- }, {
3083
- type: "arbL2ToL1Ism";
3084
- bridge: string;
3085
- }>, z.ZodObject<{
3086
- owner: z.ZodString;
3087
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3088
4761
  } & {
3089
- type: z.ZodLiteral<"offchainLookupIsm">;
3090
- urls: z.ZodArray<z.ZodString, "many">;
3091
- }, "strip", z.ZodTypeAny, {
3092
- type: "offchainLookupIsm";
4762
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
4763
+ }) | {
4764
+ type: "testIsm";
4765
+ } | ({
3093
4766
  owner: string;
3094
- urls: string[];
4767
+ paused: boolean;
3095
4768
  ownerOverrides?: Record<string, string> | undefined;
3096
- }, {
4769
+ } & {
4770
+ type: "pausableIsm";
4771
+ }) | {
4772
+ type: "opStackIsm";
4773
+ origin: string;
4774
+ nativeBridge: string;
4775
+ } | {
4776
+ type: "trustedRelayerIsm";
4777
+ relayer: string;
4778
+ } | {
4779
+ type: "ccipIsm";
4780
+ originChain: string;
4781
+ } | {
4782
+ type: "arbL2ToL1Ism";
4783
+ bridge: string;
4784
+ } | {
4785
+ type: "rateLimitedIsm";
4786
+ maxCapacity: string;
4787
+ owner?: string | undefined;
4788
+ recipient?: string | undefined;
4789
+ } | {
3097
4790
  type: "offchainLookupIsm";
3098
4791
  owner: string;
3099
4792
  urls: string[];
3100
4793
  ownerOverrides?: Record<string, string> | undefined;
3101
- }>, z.ZodObject<{
3102
- owner: z.ZodString;
3103
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3104
- } & {
3105
- type: z.ZodLiteral<"interchainAccountRouting">;
3106
- isms: z.ZodRecord<z.ZodString, z.ZodString>;
3107
- }, "strip", z.ZodTypeAny, {
3108
- type: "interchainAccountRouting";
3109
- owner: string;
3110
- isms: Record<string, string>;
3111
- ownerOverrides?: Record<string, string> | undefined;
3112
- }, {
4794
+ } | {
3113
4795
  type: "interchainAccountRouting";
3114
4796
  owner: string;
3115
4797
  isms: Record<string, string>;
3116
4798
  ownerOverrides?: Record<string, string> | undefined;
3117
- }>, z.ZodObject<{
3118
- type: z.ZodLiteral<"unknownIsm">;
3119
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3120
- type: z.ZodLiteral<"unknownIsm">;
3121
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4799
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectInputType<{
3122
4800
  type: z.ZodLiteral<"unknownIsm">;
3123
- }, z.ZodTypeAny, "passthrough">>]>>;
3124
- } & {
3125
- foreignDeployment: z.ZodOptional<z.ZodString>;
3126
- } & {
3127
- remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
3128
- address: z.ZodString;
3129
- }, "strip", z.ZodTypeAny, {
3130
- address: string;
3131
- }, {
4801
+ }, z.ZodTypeAny, "passthrough"> | undefined;
4802
+ foreignDeployment?: string | undefined;
4803
+ remoteRouters?: Record<string | number, {
3132
4804
  address: string;
3133
- }>>>;
3134
- proxyAdmin: z.ZodOptional<z.ZodObject<{
3135
- owner: z.ZodString;
3136
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3137
- } & {
3138
- address: z.ZodOptional<z.ZodString>;
3139
- }, "strip", z.ZodTypeAny, {
3140
- owner: string;
3141
- address?: string | undefined;
3142
- ownerOverrides?: Record<string, string> | undefined;
3143
- }, {
3144
- owner: string;
3145
- address?: string | undefined;
3146
- ownerOverrides?: Record<string, string> | undefined;
3147
- }>>;
3148
- tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
3149
- owner: z.ZodString;
3150
- } & {
3151
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
3152
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
3153
- type: z.ZodLiteral<import("../index.js").TokenFeeType.LinearFee>;
3154
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
3155
- }, "strip", z.ZodTypeAny, {
3156
- type: import("../index.js").TokenFeeType.LinearFee;
3157
- owner: string;
3158
- maxFee?: bigint | undefined;
3159
- halfAmount?: bigint | undefined;
3160
- bps?: number | undefined;
3161
- }, {
3162
- type: import("../index.js").TokenFeeType.LinearFee;
3163
- owner: string;
3164
- maxFee?: string | number | bigint | undefined;
3165
- halfAmount?: string | number | bigint | undefined;
3166
- bps?: string | number | undefined;
3167
- }>, {
3168
- type: import("../index.js").TokenFeeType.LinearFee;
3169
- owner: string;
3170
- maxFee?: bigint | undefined;
3171
- halfAmount?: bigint | undefined;
3172
- bps?: number | undefined;
3173
- }, {
3174
- type: import("../index.js").TokenFeeType.LinearFee;
3175
- owner: string;
3176
- maxFee?: string | number | bigint | undefined;
3177
- halfAmount?: string | number | bigint | undefined;
3178
- bps?: string | number | undefined;
3179
- }>, {
3180
- bps: number;
3181
- type: import("../index.js").TokenFeeType.LinearFee;
3182
- owner: string;
3183
- maxFee?: bigint | undefined;
3184
- halfAmount?: bigint | undefined;
3185
- }, {
4805
+ }> | undefined;
4806
+ tokenFee?: {
3186
4807
  type: import("../index.js").TokenFeeType.LinearFee;
3187
4808
  owner: string;
3188
4809
  maxFee?: string | number | bigint | undefined;
3189
4810
  halfAmount?: string | number | bigint | undefined;
3190
- bps?: string | number | undefined;
3191
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
3192
- owner: z.ZodString;
3193
- } & {
3194
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3195
- } & {
3196
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
3197
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
3198
- type: z.ZodLiteral<import("../index.js").TokenFeeType.OffchainQuotedLinearFee>;
3199
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
3200
- }, "strip", z.ZodTypeAny, {
3201
- type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
3202
- owner: string;
3203
- maxFee?: bigint | undefined;
3204
- halfAmount?: bigint | undefined;
3205
- bps?: number | undefined;
3206
- quoteSigners?: string[] | undefined;
3207
- }, {
3208
- type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
3209
- owner: string;
3210
- maxFee?: string | number | bigint | undefined;
3211
- halfAmount?: string | number | bigint | undefined;
3212
- bps?: string | number | undefined;
3213
- quoteSigners?: string[] | undefined;
3214
- }>, {
3215
- type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
3216
- owner: string;
3217
- maxFee?: bigint | undefined;
3218
- halfAmount?: bigint | undefined;
3219
- bps?: number | undefined;
3220
- quoteSigners?: string[] | undefined;
3221
- }, {
3222
- type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
3223
- owner: string;
3224
- maxFee?: string | number | bigint | undefined;
3225
- halfAmount?: string | number | bigint | undefined;
3226
- bps?: string | number | undefined;
3227
- quoteSigners?: string[] | undefined;
3228
- }>, {
3229
- bps: number;
3230
- type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
3231
- owner: string;
3232
- maxFee?: bigint | undefined;
3233
- halfAmount?: bigint | undefined;
3234
- quoteSigners?: string[] | undefined;
3235
- }, {
4811
+ bps?: string | number | undefined;
4812
+ } | {
3236
4813
  type: import("../index.js").TokenFeeType.OffchainQuotedLinearFee;
3237
4814
  owner: string;
3238
4815
  maxFee?: string | number | bigint | undefined;
3239
4816
  halfAmount?: string | number | bigint | undefined;
3240
4817
  bps?: string | number | undefined;
3241
4818
  quoteSigners?: string[] | undefined;
3242
- }>, z.ZodEffects<z.ZodObject<{
3243
- owner: z.ZodString;
3244
- } & {
3245
- type: z.ZodLiteral<import("../index.js").TokenFeeType.ProgressiveFee>;
3246
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
3247
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
3248
- }, "strip", z.ZodTypeAny, {
3249
- type: import("../index.js").TokenFeeType.ProgressiveFee;
3250
- owner: string;
3251
- maxFee: bigint;
3252
- halfAmount: bigint;
3253
- }, {
3254
- type: import("../index.js").TokenFeeType.ProgressiveFee;
3255
- owner: string;
3256
- maxFee: string | number | bigint;
3257
- halfAmount: string | number | bigint;
3258
- }>, {
3259
- type: import("../index.js").TokenFeeType.ProgressiveFee;
3260
- owner: string;
3261
- maxFee: bigint;
3262
- halfAmount: bigint;
3263
- }, {
4819
+ } | {
3264
4820
  type: import("../index.js").TokenFeeType.ProgressiveFee;
3265
4821
  owner: string;
3266
4822
  maxFee: string | number | bigint;
3267
4823
  halfAmount: string | number | bigint;
3268
- }>, z.ZodEffects<z.ZodObject<{
3269
- owner: z.ZodString;
3270
- } & {
3271
- type: z.ZodLiteral<import("../index.js").TokenFeeType.RegressiveFee>;
3272
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
3273
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
3274
- }, "strip", z.ZodTypeAny, {
3275
- type: import("../index.js").TokenFeeType.RegressiveFee;
3276
- owner: string;
3277
- maxFee: bigint;
3278
- halfAmount: bigint;
3279
- }, {
3280
- type: import("../index.js").TokenFeeType.RegressiveFee;
3281
- owner: string;
3282
- maxFee: string | number | bigint;
3283
- halfAmount: string | number | bigint;
3284
- }>, {
3285
- type: import("../index.js").TokenFeeType.RegressiveFee;
3286
- owner: string;
3287
- maxFee: bigint;
3288
- halfAmount: bigint;
3289
- }, {
4824
+ } | {
3290
4825
  type: import("../index.js").TokenFeeType.RegressiveFee;
3291
4826
  owner: string;
3292
4827
  maxFee: string | number | bigint;
3293
4828
  halfAmount: string | number | bigint;
3294
- }>, z.ZodEffects<z.ZodObject<{
3295
- owner: z.ZodString;
3296
- } & {
3297
- type: z.ZodLiteral<import("../index.js").TokenFeeType.RoutingFee>;
3298
- feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
3299
- }, "strip", z.ZodTypeAny, {
3300
- type: import("../index.js").TokenFeeType.RoutingFee;
3301
- owner: string;
3302
- feeContracts: Record<string, any>;
3303
- }, {
3304
- type: import("../index.js").TokenFeeType.RoutingFee;
3305
- owner: string;
3306
- feeContracts: Record<string, any>;
3307
- }>, {
3308
- type: import("../index.js").TokenFeeType.RoutingFee;
3309
- owner: string;
3310
- feeContracts: Record<string, any>;
3311
- }, {
4829
+ } | {
3312
4830
  type: import("../index.js").TokenFeeType.RoutingFee;
3313
4831
  owner: string;
3314
4832
  feeContracts: Record<string, any>;
3315
- }>, z.ZodEffects<z.ZodObject<{
3316
- owner: z.ZodString;
3317
- } & {
3318
- type: z.ZodLiteral<import("../index.js").TokenFeeType.CrossCollateralRoutingFee>;
3319
- feeContracts: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, any>, Record<string, any>>>;
3320
- }, "strip", z.ZodTypeAny, {
3321
- type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
3322
- owner: string;
3323
- feeContracts: Record<string, Record<string, any>>;
3324
- }, {
3325
- type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
3326
- owner: string;
3327
- feeContracts: Record<string, Record<string, any>>;
3328
- }>, {
3329
- type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
3330
- owner: string;
3331
- feeContracts: Record<string, Record<string, any>>;
3332
- }, {
4833
+ } | {
3333
4834
  type: import("../index.js").TokenFeeType.CrossCollateralRoutingFee;
3334
4835
  owner: string;
3335
4836
  feeContracts: Record<string, Record<string, any>>;
3336
- }>]>>;
3337
- } & {
3338
- routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
3339
- commitmentIsm: z.ZodOptional<z.ZodObject<{
3340
- owner: z.ZodString;
3341
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3342
- } & {
3343
- type: z.ZodLiteral<"offchainLookupIsm">;
3344
- urls: z.ZodArray<z.ZodString, "many">;
3345
- }, "strip", z.ZodTypeAny, {
3346
- type: "offchainLookupIsm";
3347
- owner: string;
3348
- urls: string[];
3349
- ownerOverrides?: Record<string, string> | undefined;
3350
- }, {
4837
+ } | undefined;
4838
+ routerType?: import("../ica/types.js").IcaRouterType | undefined;
4839
+ commitmentIsm?: {
3351
4840
  type: "offchainLookupIsm";
3352
4841
  owner: string;
3353
4842
  urls: string[];
3354
4843
  ownerOverrides?: Record<string, string> | undefined;
3355
- }>>;
3356
- feeTokenApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
3357
- feeToken: z.ZodString;
3358
- hook: z.ZodString;
3359
- }, "strip", z.ZodTypeAny, {
3360
- hook: string;
3361
- feeToken: string;
3362
- }, {
4844
+ } | undefined;
4845
+ feeTokenApprovals?: {
3363
4846
  hook: string;
3364
4847
  feeToken: string;
3365
- }>, "many">>;
4848
+ }[] | undefined;
4849
+ }>>;
4850
+ }, "strip", z.ZodTypeAny, {
4851
+ owner: string;
4852
+ defaultHook: string | {
4853
+ type: "merkleTreeHook";
4854
+ } | {
4855
+ type: "interchainGasPaymaster";
4856
+ owner: string;
4857
+ beneficiary: string;
4858
+ oracleKey: string;
4859
+ overhead: Record<string, number>;
4860
+ oracleConfig: Record<string, {
4861
+ gasPrice: string;
4862
+ tokenExchangeRate: string;
4863
+ tokenDecimals?: number | undefined;
4864
+ typicalCost?: {
4865
+ handleGasAmount: number;
4866
+ totalGasAmount: number;
4867
+ totalUsdCost: number;
4868
+ } | undefined;
4869
+ }>;
4870
+ ownerOverrides?: Record<string, string> | undefined;
4871
+ quoteSigners?: string[] | undefined;
4872
+ contractVersion?: string | undefined;
4873
+ } | {
4874
+ type: "protocolFee";
4875
+ owner: string;
4876
+ protocolFee: string;
4877
+ beneficiary: string;
4878
+ maxProtocolFee: string;
4879
+ ownerOverrides?: Record<string, string> | undefined;
4880
+ } | {
4881
+ type: "pausableHook";
4882
+ owner: string;
4883
+ paused: boolean;
4884
+ ownerOverrides?: Record<string, string> | undefined;
4885
+ } | {
4886
+ type: "opStackHook";
4887
+ owner: string;
4888
+ nativeBridge: string;
4889
+ destinationChain: string;
4890
+ ownerOverrides?: Record<string, string> | undefined;
4891
+ } | {
4892
+ type: "arbL2ToL1Hook";
4893
+ destinationChain: string;
4894
+ arbSys: string;
4895
+ bridge?: string | undefined;
4896
+ childHook?: any;
4897
+ } | {
4898
+ type: "defaultHook";
4899
+ } | {
4900
+ type: "rateLimitedHook";
4901
+ owner: string;
4902
+ maxCapacity: string;
4903
+ ownerOverrides?: Record<string, string> | undefined;
4904
+ } | {
4905
+ type: "ccipHook";
4906
+ destinationChain: string;
4907
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
4908
+ type: "cctpHook";
4909
+ address: string;
4910
+ } | z.objectOutputType<{
4911
+ type: z.ZodLiteral<"unknownHook">;
4912
+ }, z.ZodTypeAny, "passthrough"> | {
4913
+ type: "predicateHook";
4914
+ address: string;
4915
+ };
4916
+ defaultIsm: string | ({
4917
+ threshold: number;
4918
+ validators: string[];
3366
4919
  } & {
3367
- address: z.ZodString;
3368
- }, "strip", z.ZodTypeAny, {
4920
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
4921
+ }) | ({
4922
+ validators: {
4923
+ signingAddress: string;
4924
+ weight: number;
4925
+ }[];
4926
+ thresholdWeight: number;
4927
+ } & {
4928
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
4929
+ }) | {
4930
+ type: "testIsm";
4931
+ } | ({
4932
+ owner: string;
4933
+ paused: boolean;
4934
+ ownerOverrides?: Record<string, string> | undefined;
4935
+ } & {
4936
+ type: "pausableIsm";
4937
+ }) | {
4938
+ type: "opStackIsm";
4939
+ origin: string;
4940
+ nativeBridge: string;
4941
+ } | {
4942
+ type: "trustedRelayerIsm";
4943
+ relayer: string;
4944
+ } | {
4945
+ type: "ccipIsm";
4946
+ originChain: string;
4947
+ } | {
4948
+ type: "arbL2ToL1Ism";
4949
+ bridge: string;
4950
+ } | {
4951
+ type: "rateLimitedIsm";
4952
+ maxCapacity: string;
4953
+ owner?: string | undefined;
4954
+ recipient?: string | undefined;
4955
+ } | {
4956
+ type: "offchainLookupIsm";
4957
+ owner: string;
4958
+ urls: string[];
4959
+ ownerOverrides?: Record<string, string> | undefined;
4960
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectOutputType<{
4961
+ type: z.ZodLiteral<"unknownIsm">;
4962
+ }, z.ZodTypeAny, "passthrough">;
4963
+ requiredHook: string | {
4964
+ type: "merkleTreeHook";
4965
+ } | {
4966
+ type: "interchainGasPaymaster";
4967
+ owner: string;
4968
+ beneficiary: string;
4969
+ oracleKey: string;
4970
+ overhead: Record<string, number>;
4971
+ oracleConfig: Record<string, {
4972
+ gasPrice: string;
4973
+ tokenExchangeRate: string;
4974
+ tokenDecimals?: number | undefined;
4975
+ typicalCost?: {
4976
+ handleGasAmount: number;
4977
+ totalGasAmount: number;
4978
+ totalUsdCost: number;
4979
+ } | undefined;
4980
+ }>;
4981
+ ownerOverrides?: Record<string, string> | undefined;
4982
+ quoteSigners?: string[] | undefined;
4983
+ contractVersion?: string | undefined;
4984
+ } | {
4985
+ type: "protocolFee";
4986
+ owner: string;
4987
+ protocolFee: string;
4988
+ beneficiary: string;
4989
+ maxProtocolFee: string;
4990
+ ownerOverrides?: Record<string, string> | undefined;
4991
+ } | {
4992
+ type: "pausableHook";
4993
+ owner: string;
4994
+ paused: boolean;
4995
+ ownerOverrides?: Record<string, string> | undefined;
4996
+ } | {
4997
+ type: "opStackHook";
4998
+ owner: string;
4999
+ nativeBridge: string;
5000
+ destinationChain: string;
5001
+ ownerOverrides?: Record<string, string> | undefined;
5002
+ } | {
5003
+ type: "arbL2ToL1Hook";
5004
+ destinationChain: string;
5005
+ arbSys: string;
5006
+ bridge?: string | undefined;
5007
+ childHook?: any;
5008
+ } | {
5009
+ type: "defaultHook";
5010
+ } | {
5011
+ type: "rateLimitedHook";
5012
+ owner: string;
5013
+ maxCapacity: string;
5014
+ ownerOverrides?: Record<string, string> | undefined;
5015
+ } | {
5016
+ type: "ccipHook";
5017
+ destinationChain: string;
5018
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
5019
+ type: "cctpHook";
5020
+ address: string;
5021
+ } | z.objectOutputType<{
5022
+ type: z.ZodLiteral<"unknownHook">;
5023
+ }, z.ZodTypeAny, "passthrough"> | {
5024
+ type: "predicateHook";
5025
+ address: string;
5026
+ };
5027
+ ownerOverrides?: Record<string, string> | undefined;
5028
+ permit2?: string | undefined;
5029
+ proxyAdmin?: {
5030
+ owner: string;
5031
+ address?: string | undefined;
5032
+ ownerOverrides?: Record<string, string> | undefined;
5033
+ } | undefined;
5034
+ interchainAccountRouter?: {
3369
5035
  address: string;
3370
5036
  owner: string;
3371
5037
  mailbox: string;
@@ -3422,6 +5088,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3422
5088
  childHook?: any;
3423
5089
  } | {
3424
5090
  type: "defaultHook";
5091
+ } | {
5092
+ type: "rateLimitedHook";
5093
+ owner: string;
5094
+ maxCapacity: string;
5095
+ ownerOverrides?: Record<string, string> | undefined;
3425
5096
  } | {
3426
5097
  type: "ccipHook";
3427
5098
  destinationChain: string;
@@ -3468,6 +5139,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3468
5139
  } | {
3469
5140
  type: "arbL2ToL1Ism";
3470
5141
  bridge: string;
5142
+ } | {
5143
+ type: "rateLimitedIsm";
5144
+ maxCapacity: string;
5145
+ owner?: string | undefined;
5146
+ recipient?: string | undefined;
3471
5147
  } | {
3472
5148
  type: "offchainLookupIsm";
3473
5149
  owner: string;
@@ -3523,7 +5199,197 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3523
5199
  hook: string;
3524
5200
  feeToken: string;
3525
5201
  }[] | undefined;
3526
- }, {
5202
+ } | undefined;
5203
+ }, {
5204
+ owner: string;
5205
+ defaultHook: string | {
5206
+ type: "merkleTreeHook";
5207
+ } | {
5208
+ type: "interchainGasPaymaster";
5209
+ owner: string;
5210
+ beneficiary: string;
5211
+ oracleKey: string;
5212
+ overhead: Record<string, number>;
5213
+ oracleConfig: Record<string, {
5214
+ gasPrice: string;
5215
+ tokenExchangeRate: string;
5216
+ tokenDecimals?: number | undefined;
5217
+ typicalCost?: {
5218
+ handleGasAmount: number;
5219
+ totalGasAmount: number;
5220
+ totalUsdCost: number;
5221
+ } | undefined;
5222
+ }>;
5223
+ ownerOverrides?: Record<string, string> | undefined;
5224
+ quoteSigners?: string[] | undefined;
5225
+ contractVersion?: string | undefined;
5226
+ } | {
5227
+ type: "protocolFee";
5228
+ owner: string;
5229
+ protocolFee: string;
5230
+ beneficiary: string;
5231
+ maxProtocolFee: string;
5232
+ ownerOverrides?: Record<string, string> | undefined;
5233
+ } | {
5234
+ type: "pausableHook";
5235
+ owner: string;
5236
+ paused: boolean;
5237
+ ownerOverrides?: Record<string, string> | undefined;
5238
+ } | {
5239
+ type: "opStackHook";
5240
+ owner: string;
5241
+ nativeBridge: string;
5242
+ destinationChain: string;
5243
+ ownerOverrides?: Record<string, string> | undefined;
5244
+ } | {
5245
+ type: "arbL2ToL1Hook";
5246
+ destinationChain: string;
5247
+ arbSys: string;
5248
+ bridge?: string | undefined;
5249
+ childHook?: any;
5250
+ } | {
5251
+ type: "defaultHook";
5252
+ } | {
5253
+ type: "rateLimitedHook";
5254
+ owner: string;
5255
+ maxCapacity: string;
5256
+ ownerOverrides?: Record<string, string> | undefined;
5257
+ } | {
5258
+ type: "ccipHook";
5259
+ destinationChain: string;
5260
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
5261
+ type: "cctpHook";
5262
+ address: string;
5263
+ } | z.objectInputType<{
5264
+ type: z.ZodLiteral<"unknownHook">;
5265
+ }, z.ZodTypeAny, "passthrough"> | {
5266
+ type: "predicateHook";
5267
+ address: string;
5268
+ };
5269
+ defaultIsm: string | ({
5270
+ threshold: number;
5271
+ validators: string[];
5272
+ } & {
5273
+ type: "merkleRootMultisigIsm" | "messageIdMultisigIsm" | "storageMerkleRootMultisigIsm" | "storageMessageIdMultisigIsm";
5274
+ }) | ({
5275
+ validators: {
5276
+ signingAddress: string;
5277
+ weight: number;
5278
+ }[];
5279
+ thresholdWeight: number;
5280
+ } & {
5281
+ type: "weightedMerkleRootMultisigIsm" | "weightedMessageIdMultisigIsm";
5282
+ }) | {
5283
+ type: "testIsm";
5284
+ } | ({
5285
+ owner: string;
5286
+ paused: boolean;
5287
+ ownerOverrides?: Record<string, string> | undefined;
5288
+ } & {
5289
+ type: "pausableIsm";
5290
+ }) | {
5291
+ type: "opStackIsm";
5292
+ origin: string;
5293
+ nativeBridge: string;
5294
+ } | {
5295
+ type: "trustedRelayerIsm";
5296
+ relayer: string;
5297
+ } | {
5298
+ type: "ccipIsm";
5299
+ originChain: string;
5300
+ } | {
5301
+ type: "arbL2ToL1Ism";
5302
+ bridge: string;
5303
+ } | {
5304
+ type: "rateLimitedIsm";
5305
+ maxCapacity: string;
5306
+ owner?: string | undefined;
5307
+ recipient?: string | undefined;
5308
+ } | {
5309
+ type: "offchainLookupIsm";
5310
+ owner: string;
5311
+ urls: string[];
5312
+ ownerOverrides?: Record<string, string> | undefined;
5313
+ } | {
5314
+ type: "interchainAccountRouting";
5315
+ owner: string;
5316
+ isms: Record<string, string>;
5317
+ ownerOverrides?: Record<string, string> | undefined;
5318
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | z.objectInputType<{
5319
+ type: z.ZodLiteral<"unknownIsm">;
5320
+ }, z.ZodTypeAny, "passthrough">;
5321
+ requiredHook: string | {
5322
+ type: "merkleTreeHook";
5323
+ } | {
5324
+ type: "interchainGasPaymaster";
5325
+ owner: string;
5326
+ beneficiary: string;
5327
+ oracleKey: string;
5328
+ overhead: Record<string, number>;
5329
+ oracleConfig: Record<string, {
5330
+ gasPrice: string;
5331
+ tokenExchangeRate: string;
5332
+ tokenDecimals?: number | undefined;
5333
+ typicalCost?: {
5334
+ handleGasAmount: number;
5335
+ totalGasAmount: number;
5336
+ totalUsdCost: number;
5337
+ } | undefined;
5338
+ }>;
5339
+ ownerOverrides?: Record<string, string> | undefined;
5340
+ quoteSigners?: string[] | undefined;
5341
+ contractVersion?: string | undefined;
5342
+ } | {
5343
+ type: "protocolFee";
5344
+ owner: string;
5345
+ protocolFee: string;
5346
+ beneficiary: string;
5347
+ maxProtocolFee: string;
5348
+ ownerOverrides?: Record<string, string> | undefined;
5349
+ } | {
5350
+ type: "pausableHook";
5351
+ owner: string;
5352
+ paused: boolean;
5353
+ ownerOverrides?: Record<string, string> | undefined;
5354
+ } | {
5355
+ type: "opStackHook";
5356
+ owner: string;
5357
+ nativeBridge: string;
5358
+ destinationChain: string;
5359
+ ownerOverrides?: Record<string, string> | undefined;
5360
+ } | {
5361
+ type: "arbL2ToL1Hook";
5362
+ destinationChain: string;
5363
+ arbSys: string;
5364
+ bridge?: string | undefined;
5365
+ childHook?: any;
5366
+ } | {
5367
+ type: "defaultHook";
5368
+ } | {
5369
+ type: "rateLimitedHook";
5370
+ owner: string;
5371
+ maxCapacity: string;
5372
+ ownerOverrides?: Record<string, string> | undefined;
5373
+ } | {
5374
+ type: "ccipHook";
5375
+ destinationChain: string;
5376
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | {
5377
+ type: "cctpHook";
5378
+ address: string;
5379
+ } | z.objectInputType<{
5380
+ type: z.ZodLiteral<"unknownHook">;
5381
+ }, z.ZodTypeAny, "passthrough"> | {
5382
+ type: "predicateHook";
5383
+ address: string;
5384
+ };
5385
+ ownerOverrides?: Record<string, string> | undefined;
5386
+ permit2?: string | undefined;
5387
+ proxyAdmin?: {
5388
+ owner: string;
5389
+ address?: string | undefined;
5390
+ ownerOverrides?: Record<string, string> | undefined;
5391
+ } | undefined;
5392
+ interchainAccountRouter?: {
3527
5393
  address: string;
3528
5394
  owner: string;
3529
5395
  mailbox: string;
@@ -3580,6 +5446,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3580
5446
  childHook?: any;
3581
5447
  } | {
3582
5448
  type: "defaultHook";
5449
+ } | {
5450
+ type: "rateLimitedHook";
5451
+ owner: string;
5452
+ maxCapacity: string;
5453
+ ownerOverrides?: Record<string, string> | undefined;
3583
5454
  } | {
3584
5455
  type: "ccipHook";
3585
5456
  destinationChain: string;
@@ -3626,6 +5497,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3626
5497
  } | {
3627
5498
  type: "arbL2ToL1Ism";
3628
5499
  bridge: string;
5500
+ } | {
5501
+ type: "rateLimitedIsm";
5502
+ maxCapacity: string;
5503
+ owner?: string | undefined;
5504
+ recipient?: string | undefined;
3629
5505
  } | {
3630
5506
  type: "offchainLookupIsm";
3631
5507
  owner: string;
@@ -3686,8 +5562,8 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3686
5562
  hook: string;
3687
5563
  feeToken: string;
3688
5564
  }[] | undefined;
3689
- }>>;
3690
- }, "strip", z.ZodTypeAny, {
5565
+ } | undefined;
5566
+ }>, {
3691
5567
  owner: string;
3692
5568
  defaultHook: string | {
3693
5569
  type: "merkleTreeHook";
@@ -3736,6 +5612,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3736
5612
  childHook?: any;
3737
5613
  } | {
3738
5614
  type: "defaultHook";
5615
+ } | {
5616
+ type: "rateLimitedHook";
5617
+ owner: string;
5618
+ maxCapacity: string;
5619
+ ownerOverrides?: Record<string, string> | undefined;
3739
5620
  } | {
3740
5621
  type: "ccipHook";
3741
5622
  destinationChain: string;
@@ -3782,6 +5663,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3782
5663
  } | {
3783
5664
  type: "arbL2ToL1Ism";
3784
5665
  bridge: string;
5666
+ } | {
5667
+ type: "rateLimitedIsm";
5668
+ maxCapacity: string;
5669
+ owner?: string | undefined;
5670
+ recipient?: string | undefined;
3785
5671
  } | {
3786
5672
  type: "offchainLookupIsm";
3787
5673
  owner: string;
@@ -3837,6 +5723,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3837
5723
  childHook?: any;
3838
5724
  } | {
3839
5725
  type: "defaultHook";
5726
+ } | {
5727
+ type: "rateLimitedHook";
5728
+ owner: string;
5729
+ maxCapacity: string;
5730
+ ownerOverrides?: Record<string, string> | undefined;
3840
5731
  } | {
3841
5732
  type: "ccipHook";
3842
5733
  destinationChain: string;
@@ -3913,6 +5804,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3913
5804
  childHook?: any;
3914
5805
  } | {
3915
5806
  type: "defaultHook";
5807
+ } | {
5808
+ type: "rateLimitedHook";
5809
+ owner: string;
5810
+ maxCapacity: string;
5811
+ ownerOverrides?: Record<string, string> | undefined;
3916
5812
  } | {
3917
5813
  type: "ccipHook";
3918
5814
  destinationChain: string;
@@ -3959,6 +5855,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
3959
5855
  } | {
3960
5856
  type: "arbL2ToL1Ism";
3961
5857
  bridge: string;
5858
+ } | {
5859
+ type: "rateLimitedIsm";
5860
+ maxCapacity: string;
5861
+ owner?: string | undefined;
5862
+ recipient?: string | undefined;
3962
5863
  } | {
3963
5864
  type: "offchainLookupIsm";
3964
5865
  owner: string;
@@ -4064,6 +5965,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
4064
5965
  childHook?: any;
4065
5966
  } | {
4066
5967
  type: "defaultHook";
5968
+ } | {
5969
+ type: "rateLimitedHook";
5970
+ owner: string;
5971
+ maxCapacity: string;
5972
+ ownerOverrides?: Record<string, string> | undefined;
4067
5973
  } | {
4068
5974
  type: "ccipHook";
4069
5975
  destinationChain: string;
@@ -4110,6 +6016,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
4110
6016
  } | {
4111
6017
  type: "arbL2ToL1Ism";
4112
6018
  bridge: string;
6019
+ } | {
6020
+ type: "rateLimitedIsm";
6021
+ maxCapacity: string;
6022
+ owner?: string | undefined;
6023
+ recipient?: string | undefined;
4113
6024
  } | {
4114
6025
  type: "offchainLookupIsm";
4115
6026
  owner: string;
@@ -4170,6 +6081,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
4170
6081
  childHook?: any;
4171
6082
  } | {
4172
6083
  type: "defaultHook";
6084
+ } | {
6085
+ type: "rateLimitedHook";
6086
+ owner: string;
6087
+ maxCapacity: string;
6088
+ ownerOverrides?: Record<string, string> | undefined;
4173
6089
  } | {
4174
6090
  type: "ccipHook";
4175
6091
  destinationChain: string;
@@ -4246,6 +6162,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
4246
6162
  childHook?: any;
4247
6163
  } | {
4248
6164
  type: "defaultHook";
6165
+ } | {
6166
+ type: "rateLimitedHook";
6167
+ owner: string;
6168
+ maxCapacity: string;
6169
+ ownerOverrides?: Record<string, string> | undefined;
4249
6170
  } | {
4250
6171
  type: "ccipHook";
4251
6172
  destinationChain: string;
@@ -4292,6 +6213,11 @@ export declare const DerivedCoreConfigSchema: z.ZodObject<{
4292
6213
  } | {
4293
6214
  type: "arbL2ToL1Ism";
4294
6215
  bridge: string;
6216
+ } | {
6217
+ type: "rateLimitedIsm";
6218
+ maxCapacity: string;
6219
+ owner?: string | undefined;
6220
+ recipient?: string | undefined;
4295
6221
  } | {
4296
6222
  type: "offchainLookupIsm";
4297
6223
  owner: string;