@hyperlane-xyz/sdk 4.0.0 → 4.2.0-beta.2

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 (196) hide show
  1. package/dist/aws/validator.js +1 -1
  2. package/dist/aws/validator.js.map +1 -1
  3. package/dist/consts/multisigIsm.d.ts.map +1 -1
  4. package/dist/consts/multisigIsm.js +78 -19
  5. package/dist/consts/multisigIsm.js.map +1 -1
  6. package/dist/core/EvmCoreModule.d.ts +4 -0
  7. package/dist/core/EvmCoreModule.d.ts.map +1 -1
  8. package/dist/core/EvmCoreModule.js +8 -9
  9. package/dist/core/EvmCoreModule.js.map +1 -1
  10. package/dist/core/EvmCoreReader.d.ts +1 -0
  11. package/dist/core/EvmCoreReader.d.ts.map +1 -1
  12. package/dist/core/EvmCoreReader.js +11 -2
  13. package/dist/core/EvmCoreReader.js.map +1 -1
  14. package/dist/core/EvmIcaModule.d.ts +3 -1
  15. package/dist/core/EvmIcaModule.d.ts.map +1 -1
  16. package/dist/core/EvmIcaModule.js +2 -2
  17. package/dist/core/EvmIcaModule.js.map +1 -1
  18. package/dist/core/HyperlaneCore.d.ts +23 -7
  19. package/dist/core/HyperlaneCore.d.ts.map +1 -1
  20. package/dist/core/HyperlaneCore.js +82 -24
  21. package/dist/core/HyperlaneCore.js.map +1 -1
  22. package/dist/core/HyperlaneCoreChecker.d.ts.map +1 -1
  23. package/dist/core/HyperlaneCoreChecker.js +1 -1
  24. package/dist/core/HyperlaneCoreChecker.js.map +1 -1
  25. package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
  26. package/dist/core/HyperlaneCoreDeployer.js +6 -1
  27. package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
  28. package/dist/core/HyperlaneRelayer.d.ts +328 -0
  29. package/dist/core/HyperlaneRelayer.d.ts.map +1 -0
  30. package/dist/core/HyperlaneRelayer.js +144 -0
  31. package/dist/core/HyperlaneRelayer.js.map +1 -0
  32. package/dist/core/schemas.d.ts +842 -842
  33. package/dist/deploy/EvmModuleDeployer.d.ts +4 -3
  34. package/dist/deploy/EvmModuleDeployer.d.ts.map +1 -1
  35. package/dist/deploy/EvmModuleDeployer.js +11 -4
  36. package/dist/deploy/EvmModuleDeployer.js.map +1 -1
  37. package/dist/deploy/HyperlaneDeployer.d.ts +1 -1
  38. package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
  39. package/dist/deploy/HyperlaneDeployer.js +20 -9
  40. package/dist/deploy/HyperlaneDeployer.js.map +1 -1
  41. package/dist/deploy/proxy.d.ts +1 -0
  42. package/dist/deploy/proxy.d.ts.map +1 -1
  43. package/dist/deploy/proxy.js +6 -0
  44. package/dist/deploy/proxy.js.map +1 -1
  45. package/dist/deploy/schemas.d.ts +20 -0
  46. package/dist/deploy/schemas.d.ts.map +1 -1
  47. package/dist/deploy/schemas.js +7 -0
  48. package/dist/deploy/schemas.js.map +1 -1
  49. package/dist/deploy/verify/ContractVerifier.d.ts +20 -6
  50. package/dist/deploy/verify/ContractVerifier.d.ts.map +1 -1
  51. package/dist/deploy/verify/ContractVerifier.js +187 -97
  52. package/dist/deploy/verify/ContractVerifier.js.map +1 -1
  53. package/dist/deploy/verify/types.d.ts +15 -4
  54. package/dist/deploy/verify/types.d.ts.map +1 -1
  55. package/dist/deploy/verify/types.js +4 -3
  56. package/dist/deploy/verify/types.js.map +1 -1
  57. package/dist/deploy/verify/utils.d.ts +9 -2
  58. package/dist/deploy/verify/utils.d.ts.map +1 -1
  59. package/dist/deploy/verify/utils.js +4 -3
  60. package/dist/deploy/verify/utils.js.map +1 -1
  61. package/dist/hook/EvmHookModule.d.ts +45 -6
  62. package/dist/hook/EvmHookModule.d.ts.map +1 -1
  63. package/dist/hook/EvmHookModule.hardhat-test.js +334 -106
  64. package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
  65. package/dist/hook/EvmHookModule.js +293 -75
  66. package/dist/hook/EvmHookModule.js.map +1 -1
  67. package/dist/hook/EvmHookReader.d.ts +7 -12
  68. package/dist/hook/EvmHookReader.d.ts.map +1 -1
  69. package/dist/hook/EvmHookReader.js +44 -41
  70. package/dist/hook/EvmHookReader.js.map +1 -1
  71. package/dist/hook/EvmHookReader.test.js +7 -3
  72. package/dist/hook/EvmHookReader.test.js.map +1 -1
  73. package/dist/hook/schemas.d.ts +4 -4
  74. package/dist/hook/types.d.ts +1 -0
  75. package/dist/hook/types.d.ts.map +1 -1
  76. package/dist/hook/types.js +8 -0
  77. package/dist/hook/types.js.map +1 -1
  78. package/dist/index.d.ts +61 -58
  79. package/dist/index.d.ts.map +1 -1
  80. package/dist/index.js +46 -46
  81. package/dist/index.js.map +1 -1
  82. package/dist/ism/EvmIsmModule.d.ts +7 -7
  83. package/dist/ism/EvmIsmModule.d.ts.map +1 -1
  84. package/dist/ism/EvmIsmModule.hardhat-test.js +30 -28
  85. package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
  86. package/dist/ism/EvmIsmModule.js +42 -60
  87. package/dist/ism/EvmIsmModule.js.map +1 -1
  88. package/dist/ism/EvmIsmReader.d.ts +5 -4
  89. package/dist/ism/EvmIsmReader.d.ts.map +1 -1
  90. package/dist/ism/EvmIsmReader.js +56 -36
  91. package/dist/ism/EvmIsmReader.js.map +1 -1
  92. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  93. package/dist/ism/HyperlaneIsmFactory.js +2 -0
  94. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  95. package/dist/ism/metadata/aggregation.test.js +1 -1
  96. package/dist/ism/metadata/aggregation.test.js.map +1 -1
  97. package/dist/ism/metadata/builder.hardhat-test.js +29 -14
  98. package/dist/ism/metadata/builder.hardhat-test.js.map +1 -1
  99. package/dist/ism/metadata/multisig.d.ts.map +1 -1
  100. package/dist/ism/metadata/multisig.js +1 -1
  101. package/dist/ism/metadata/multisig.js.map +1 -1
  102. package/dist/ism/utils.js +2 -2
  103. package/dist/ism/utils.js.map +1 -1
  104. package/dist/metadata/ChainMetadataManager.d.ts +2 -0
  105. package/dist/metadata/ChainMetadataManager.d.ts.map +1 -1
  106. package/dist/metadata/ChainMetadataManager.js +6 -0
  107. package/dist/metadata/ChainMetadataManager.js.map +1 -1
  108. package/dist/metadata/agentConfig.d.ts +1968 -1723
  109. package/dist/metadata/agentConfig.d.ts.map +1 -1
  110. package/dist/metadata/chainMetadataTypes.d.ts +724 -618
  111. package/dist/metadata/chainMetadataTypes.d.ts.map +1 -1
  112. package/dist/metadata/chainMetadataTypes.js +63 -51
  113. package/dist/metadata/chainMetadataTypes.js.map +1 -1
  114. package/dist/metadata/deploymentArtifacts.d.ts +2 -2
  115. package/dist/providers/MultiProvider.d.ts +7 -0
  116. package/dist/providers/MultiProvider.d.ts.map +1 -1
  117. package/dist/providers/MultiProvider.js +9 -1
  118. package/dist/providers/MultiProvider.js.map +1 -1
  119. package/dist/providers/SmartProvider/SmartProvider.d.ts +2 -1
  120. package/dist/providers/SmartProvider/SmartProvider.d.ts.map +1 -1
  121. package/dist/providers/SmartProvider/SmartProvider.foundry-test.js +58 -0
  122. package/dist/providers/SmartProvider/SmartProvider.foundry-test.js.map +1 -1
  123. package/dist/providers/SmartProvider/SmartProvider.js +34 -9
  124. package/dist/providers/SmartProvider/SmartProvider.js.map +1 -1
  125. package/dist/providers/transactions/schemas.d.ts +15 -2
  126. package/dist/providers/transactions/schemas.d.ts.map +1 -1
  127. package/dist/providers/transactions/schemas.js +1 -0
  128. package/dist/providers/transactions/schemas.js.map +1 -1
  129. package/dist/providers/transactions/submitter/builder/schemas.d.ts +67 -146
  130. package/dist/providers/transactions/submitter/builder/schemas.d.ts.map +1 -1
  131. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +2 -2
  132. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -1
  133. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -1
  134. package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.d.ts +2 -2
  135. package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.d.ts.map +1 -1
  136. package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.js.map +1 -1
  137. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts +2 -2
  138. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts.map +1 -1
  139. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.js.map +1 -1
  140. package/dist/providers/transactions/submitter/schemas.d.ts +9 -34
  141. package/dist/providers/transactions/submitter/schemas.d.ts.map +1 -1
  142. package/dist/providers/transactions/submitter/schemas.js +2 -3
  143. package/dist/providers/transactions/submitter/schemas.js.map +1 -1
  144. package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.d.ts +2 -2
  145. package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.d.ts.map +1 -1
  146. package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.js +5 -5
  147. package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.js.map +1 -1
  148. package/dist/providers/transactions/transformer/schemas.d.ts +36 -76
  149. package/dist/providers/transactions/transformer/schemas.d.ts.map +1 -1
  150. package/dist/providers/transactions/transformer/schemas.js +1 -1
  151. package/dist/providers/transactions/transformer/schemas.js.map +1 -1
  152. package/dist/providers/transactions/types.d.ts +2 -1
  153. package/dist/providers/transactions/types.d.ts.map +1 -1
  154. package/dist/router/schemas.d.ts +196 -90
  155. package/dist/router/schemas.d.ts.map +1 -1
  156. package/dist/router/schemas.js +8 -1
  157. package/dist/router/schemas.js.map +1 -1
  158. package/dist/router/types.d.ts +2 -1
  159. package/dist/router/types.d.ts.map +1 -1
  160. package/dist/router/types.js.map +1 -1
  161. package/dist/test/testUtils.js +1 -1
  162. package/dist/test/testUtils.js.map +1 -1
  163. package/dist/token/EvmERC20WarpModule.d.ts +40 -5
  164. package/dist/token/EvmERC20WarpModule.d.ts.map +1 -1
  165. package/dist/token/EvmERC20WarpModule.hardhat-test.js +252 -1
  166. package/dist/token/EvmERC20WarpModule.hardhat-test.js.map +1 -1
  167. package/dist/token/EvmERC20WarpModule.js +136 -9
  168. package/dist/token/EvmERC20WarpModule.js.map +1 -1
  169. package/dist/token/EvmERC20WarpRouteReader.d.ts +4 -9
  170. package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -1
  171. package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js +27 -2
  172. package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js.map +1 -1
  173. package/dist/token/EvmERC20WarpRouteReader.js +19 -21
  174. package/dist/token/EvmERC20WarpRouteReader.js.map +1 -1
  175. package/dist/token/IToken.d.ts +6 -6
  176. package/dist/token/TokenConnection.d.ts +2 -2
  177. package/dist/token/deploy.d.ts +2 -2
  178. package/dist/token/deploy.d.ts.map +1 -1
  179. package/dist/token/deploy.js +20 -5
  180. package/dist/token/deploy.js.map +1 -1
  181. package/dist/token/schemas.d.ts +176 -88
  182. package/dist/token/schemas.d.ts.map +1 -1
  183. package/dist/utils/HyperlaneReader.d.ts +17 -0
  184. package/dist/utils/HyperlaneReader.d.ts.map +1 -0
  185. package/dist/utils/HyperlaneReader.js +21 -0
  186. package/dist/utils/HyperlaneReader.js.map +1 -0
  187. package/dist/utils/cosmos.d.ts +5 -0
  188. package/dist/utils/cosmos.d.ts.map +1 -1
  189. package/dist/utils/cosmos.js +7 -1
  190. package/dist/utils/cosmos.js.map +1 -1
  191. package/dist/warp/WarpCore.d.ts +12 -0
  192. package/dist/warp/WarpCore.d.ts.map +1 -1
  193. package/dist/warp/WarpCore.js +63 -32
  194. package/dist/warp/WarpCore.js.map +1 -1
  195. package/dist/warp/types.d.ts +10 -10
  196. package/package.json +3 -3
@@ -72,16 +72,16 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
72
72
  }, "strip", import("zod").ZodTypeAny, {
73
73
  type: import("../index.js").HookType.PROTOCOL_FEE;
74
74
  owner: string;
75
- protocolFee: string;
76
75
  beneficiary: string;
77
76
  maxProtocolFee: string;
77
+ protocolFee: string;
78
78
  ownerOverrides?: Record<string, string> | undefined;
79
79
  }, {
80
80
  type: import("../index.js").HookType.PROTOCOL_FEE;
81
81
  owner: string;
82
- protocolFee: string;
83
82
  beneficiary: string;
84
83
  maxProtocolFee: string;
84
+ protocolFee: string;
85
85
  ownerOverrides?: Record<string, string> | undefined;
86
86
  }>, import("zod").ZodObject<{
87
87
  owner: import("zod").ZodString;
@@ -172,16 +172,16 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
172
172
  }, "strip", import("zod").ZodTypeAny, {
173
173
  type: import("../index.js").HookType.PROTOCOL_FEE;
174
174
  owner: string;
175
- protocolFee: string;
176
175
  beneficiary: string;
177
176
  maxProtocolFee: string;
177
+ protocolFee: string;
178
178
  ownerOverrides?: Record<string, string> | undefined;
179
179
  }, {
180
180
  type: import("../index.js").HookType.PROTOCOL_FEE;
181
181
  owner: string;
182
- protocolFee: string;
183
182
  beneficiary: string;
184
183
  maxProtocolFee: string;
184
+ protocolFee: string;
185
185
  ownerOverrides?: Record<string, string> | undefined;
186
186
  }>, import("zod").ZodObject<{
187
187
  owner: import("zod").ZodString;
@@ -264,147 +264,26 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
264
264
  }>, import("zod").ZodType<import("../index.js").DomainRoutingHookConfig, import("zod").ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, import("zod").ZodType<import("../index.js").FallbackRoutingHookConfig, import("zod").ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, import("zod").ZodType<import("../index.js").AggregationHookConfig, import("zod").ZodTypeDef, import("../index.js").AggregationHookConfig>]>;
265
265
  }, "strip", import("zod").ZodTypeAny, {
266
266
  owner: string;
267
- defaultIsm: string | {
268
- type: import("../index.js").IsmType.TEST_ISM;
267
+ defaultHook: string | {
268
+ type: import("../index.js").HookType.PROTOCOL_FEE;
269
+ owner: string;
270
+ beneficiary: string;
271
+ maxProtocolFee: string;
272
+ protocolFee: string;
273
+ ownerOverrides?: Record<string, string> | undefined;
269
274
  } | {
270
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
271
- relayer: string;
275
+ type: import("../index.js").HookType.MERKLE_TREE;
272
276
  } | {
273
- type: import("../index.js").IsmType.OP_STACK;
274
- origin: string;
275
- nativeBridge: string;
276
- } | ({
277
+ type: import("../index.js").HookType.PAUSABLE;
277
278
  owner: string;
278
279
  paused: boolean;
279
280
  ownerOverrides?: Record<string, string> | undefined;
280
- } & {
281
- type: import("../index.js").IsmType.PAUSABLE;
282
- }) | ({
283
- validators: string[];
284
- threshold: number;
285
- } & {
286
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
287
- }) | import("../index.js").AggregationIsmConfig | (string & {
288
- type: import("../index.js").IsmType.TEST_ISM;
289
- }) | (string & {
290
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
291
- relayer: string;
292
- }) | (string & {
293
- type: import("../index.js").IsmType.OP_STACK;
294
- origin: string;
295
- nativeBridge: string;
296
- }) | (string & {
297
- owner: string;
298
- ownerOverrides?: Record<string, string> | undefined;
299
- } & {
300
- type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
301
- domains: import("../types.js").ChainMap<string | {
302
- type: import("../index.js").IsmType.TEST_ISM;
303
- } | {
304
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
305
- relayer: string;
306
- } | {
307
- type: import("../index.js").IsmType.OP_STACK;
308
- origin: string;
309
- nativeBridge: string;
310
- } | import("../index.js").RoutingIsmConfig | ({
311
- owner: string;
312
- paused: boolean;
313
- ownerOverrides?: Record<string, string> | undefined;
314
- } & {
315
- type: import("../index.js").IsmType.PAUSABLE;
316
- }) | ({
317
- validators: string[];
318
- threshold: number;
319
- } & {
320
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
321
- }) | import("../index.js").AggregationIsmConfig>;
322
- }) | (string & {
281
+ } | {
282
+ type: import("../index.js").HookType.OP_STACK;
323
283
  owner: string;
324
- paused: boolean;
325
- ownerOverrides?: Record<string, string> | undefined;
326
- } & {
327
- type: import("../index.js").IsmType.PAUSABLE;
328
- }) | (string & {
329
- validators: string[];
330
- threshold: number;
331
- } & {
332
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
333
- }) | (string & import("../index.js").AggregationIsmConfig) | ({
334
- type: import("../index.js").IsmType.TEST_ISM;
335
- } & string) | ({
336
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
337
- relayer: string;
338
- } & string) | ({
339
- type: import("../index.js").IsmType.OP_STACK;
340
- origin: string;
341
284
  nativeBridge: string;
342
- } & string) | ({
343
- owner: string;
344
- ownerOverrides?: Record<string, string> | undefined;
345
- } & {
346
- type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
347
- domains: import("../types.js").ChainMap<string | {
348
- type: import("../index.js").IsmType.TEST_ISM;
349
- } | {
350
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
351
- relayer: string;
352
- } | {
353
- type: import("../index.js").IsmType.OP_STACK;
354
- origin: string;
355
- nativeBridge: string;
356
- } | import("../index.js").RoutingIsmConfig | ({
357
- owner: string;
358
- paused: boolean;
359
- ownerOverrides?: Record<string, string> | undefined;
360
- } & {
361
- type: import("../index.js").IsmType.PAUSABLE;
362
- }) | ({
363
- validators: string[];
364
- threshold: number;
365
- } & {
366
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
367
- }) | import("../index.js").AggregationIsmConfig>;
368
- } & string) | ({
369
- owner: string;
370
- ownerOverrides?: Record<string, string> | undefined;
371
- } & {
372
- type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
373
- domains: import("../types.js").ChainMap<string | {
374
- type: import("../index.js").IsmType.TEST_ISM;
375
- } | {
376
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
377
- relayer: string;
378
- } | {
379
- type: import("../index.js").IsmType.OP_STACK;
380
- origin: string;
381
- nativeBridge: string;
382
- } | import("../index.js").RoutingIsmConfig | ({
383
- owner: string;
384
- paused: boolean;
385
- ownerOverrides?: Record<string, string> | undefined;
386
- } & {
387
- type: import("../index.js").IsmType.PAUSABLE;
388
- }) | ({
389
- validators: string[];
390
- threshold: number;
391
- } & {
392
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
393
- }) | import("../index.js").AggregationIsmConfig>;
394
- }) | ({
395
- owner: string;
396
- paused: boolean;
285
+ destinationChain: string;
397
286
  ownerOverrides?: Record<string, string> | undefined;
398
- } & {
399
- type: import("../index.js").IsmType.PAUSABLE;
400
- } & string) | ({
401
- validators: string[];
402
- threshold: number;
403
- } & {
404
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
405
- } & string) | (import("../index.js").AggregationIsmConfig & string);
406
- defaultHook: string | {
407
- type: import("../index.js").HookType.MERKLE_TREE;
408
287
  } | {
409
288
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
410
289
  owner: string;
@@ -416,26 +295,26 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
416
295
  tokenExchangeRate: string;
417
296
  }>;
418
297
  ownerOverrides?: Record<string, string> | undefined;
419
- } | {
298
+ } | import("../index.js").AggregationHookConfig | (string & {
420
299
  type: import("../index.js").HookType.PROTOCOL_FEE;
421
300
  owner: string;
422
- protocolFee: string;
423
301
  beneficiary: string;
424
302
  maxProtocolFee: string;
303
+ protocolFee: string;
425
304
  ownerOverrides?: Record<string, string> | undefined;
426
- } | {
305
+ }) | (string & {
306
+ type: import("../index.js").HookType.MERKLE_TREE;
307
+ }) | (string & {
427
308
  type: import("../index.js").HookType.PAUSABLE;
428
309
  owner: string;
429
310
  paused: boolean;
430
311
  ownerOverrides?: Record<string, string> | undefined;
431
- } | {
312
+ }) | (string & {
432
313
  type: import("../index.js").HookType.OP_STACK;
433
314
  owner: string;
434
315
  nativeBridge: string;
435
316
  destinationChain: string;
436
317
  ownerOverrides?: Record<string, string> | undefined;
437
- } | import("../index.js").AggregationHookConfig | (string & {
438
- type: import("../index.js").HookType.MERKLE_TREE;
439
318
  }) | (string & {
440
319
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
441
320
  owner: string;
@@ -447,48 +326,19 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
447
326
  tokenExchangeRate: string;
448
327
  }>;
449
328
  ownerOverrides?: Record<string, string> | undefined;
450
- }) | (string & {
451
- type: import("../index.js").HookType.PROTOCOL_FEE;
452
- owner: string;
453
- protocolFee: string;
454
- beneficiary: string;
455
- maxProtocolFee: string;
456
- ownerOverrides?: Record<string, string> | undefined;
457
- }) | (string & {
458
- type: import("../index.js").HookType.PAUSABLE;
459
- owner: string;
460
- paused: boolean;
461
- ownerOverrides?: Record<string, string> | undefined;
462
- }) | (string & {
463
- type: import("../index.js").HookType.OP_STACK;
464
- owner: string;
465
- nativeBridge: string;
466
- destinationChain: string;
467
- ownerOverrides?: Record<string, string> | undefined;
468
329
  }) | (string & {
469
330
  owner: string;
470
331
  ownerOverrides?: Record<string, string> | undefined;
471
332
  } & {
472
333
  domains: import("../types.js").ChainMap<string | {
473
- type: import("../index.js").HookType.MERKLE_TREE;
474
- } | {
475
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
476
- owner: string;
477
- beneficiary: string;
478
- oracleKey: string;
479
- overhead: Record<string, number>;
480
- oracleConfig: Record<string, {
481
- gasPrice: string;
482
- tokenExchangeRate: string;
483
- }>;
484
- ownerOverrides?: Record<string, string> | undefined;
485
- } | {
486
334
  type: import("../index.js").HookType.PROTOCOL_FEE;
487
335
  owner: string;
488
- protocolFee: string;
489
336
  beneficiary: string;
490
337
  maxProtocolFee: string;
338
+ protocolFee: string;
491
339
  ownerOverrides?: Record<string, string> | undefined;
340
+ } | {
341
+ type: import("../index.js").HookType.MERKLE_TREE;
492
342
  } | {
493
343
  type: import("../index.js").HookType.PAUSABLE;
494
344
  owner: string;
@@ -500,15 +350,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
500
350
  nativeBridge: string;
501
351
  destinationChain: string;
502
352
  ownerOverrides?: Record<string, string> | undefined;
503
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
504
- } & {
505
- type: import("../index.js").HookType.ROUTING;
506
- }) | (string & {
507
- owner: string;
508
- ownerOverrides?: Record<string, string> | undefined;
509
- } & {
510
- domains: import("../types.js").ChainMap<string | {
511
- type: import("../index.js").HookType.MERKLE_TREE;
512
353
  } | {
513
354
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
514
355
  owner: string;
@@ -520,13 +361,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
520
361
  tokenExchangeRate: string;
521
362
  }>;
522
363
  ownerOverrides?: Record<string, string> | undefined;
523
- } | {
364
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
365
+ } & {
366
+ type: import("../index.js").HookType.ROUTING;
367
+ }) | (string & {
368
+ owner: string;
369
+ ownerOverrides?: Record<string, string> | undefined;
370
+ } & {
371
+ domains: import("../types.js").ChainMap<string | {
524
372
  type: import("../index.js").HookType.PROTOCOL_FEE;
525
373
  owner: string;
526
- protocolFee: string;
527
374
  beneficiary: string;
528
375
  maxProtocolFee: string;
376
+ protocolFee: string;
529
377
  ownerOverrides?: Record<string, string> | undefined;
378
+ } | {
379
+ type: import("../index.js").HookType.MERKLE_TREE;
530
380
  } | {
531
381
  type: import("../index.js").HookType.PAUSABLE;
532
382
  owner: string;
@@ -538,11 +388,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
538
388
  nativeBridge: string;
539
389
  destinationChain: string;
540
390
  ownerOverrides?: Record<string, string> | undefined;
541
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
542
- } & {
543
- type: import("../index.js").HookType.FALLBACK_ROUTING;
544
- fallback: string | {
545
- type: import("../index.js").HookType.MERKLE_TREE;
546
391
  } | {
547
392
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
548
393
  owner: string;
@@ -554,13 +399,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
554
399
  tokenExchangeRate: string;
555
400
  }>;
556
401
  ownerOverrides?: Record<string, string> | undefined;
557
- } | {
402
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
403
+ } & {
404
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
405
+ fallback: string | {
558
406
  type: import("../index.js").HookType.PROTOCOL_FEE;
559
407
  owner: string;
560
- protocolFee: string;
561
408
  beneficiary: string;
562
409
  maxProtocolFee: string;
410
+ protocolFee: string;
563
411
  ownerOverrides?: Record<string, string> | undefined;
412
+ } | {
413
+ type: import("../index.js").HookType.MERKLE_TREE;
564
414
  } | {
565
415
  type: import("../index.js").HookType.PAUSABLE;
566
416
  owner: string;
@@ -572,29 +422,29 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
572
422
  nativeBridge: string;
573
423
  destinationChain: string;
574
424
  ownerOverrides?: Record<string, string> | undefined;
425
+ } | {
426
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
427
+ owner: string;
428
+ beneficiary: string;
429
+ oracleKey: string;
430
+ overhead: Record<string, number>;
431
+ oracleConfig: Record<string, {
432
+ gasPrice: string;
433
+ tokenExchangeRate: string;
434
+ }>;
435
+ ownerOverrides?: Record<string, string> | undefined;
575
436
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
576
437
  }) | (string & import("../index.js").AggregationHookConfig) | ({
438
+ type: import("../index.js").HookType.PROTOCOL_FEE;
439
+ owner: string;
440
+ beneficiary: string;
441
+ maxProtocolFee: string;
442
+ protocolFee: string;
443
+ ownerOverrides?: Record<string, string> | undefined;
444
+ } & string) | ({
577
445
  type: import("../index.js").HookType.MERKLE_TREE;
578
446
  } & string) | ({
579
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
580
- owner: string;
581
- beneficiary: string;
582
- oracleKey: string;
583
- overhead: Record<string, number>;
584
- oracleConfig: Record<string, {
585
- gasPrice: string;
586
- tokenExchangeRate: string;
587
- }>;
588
- ownerOverrides?: Record<string, string> | undefined;
589
- } & string) | ({
590
- type: import("../index.js").HookType.PROTOCOL_FEE;
591
- owner: string;
592
- protocolFee: string;
593
- beneficiary: string;
594
- maxProtocolFee: string;
595
- ownerOverrides?: Record<string, string> | undefined;
596
- } & string) | ({
597
- type: import("../index.js").HookType.PAUSABLE;
447
+ type: import("../index.js").HookType.PAUSABLE;
598
448
  owner: string;
599
449
  paused: boolean;
600
450
  ownerOverrides?: Record<string, string> | undefined;
@@ -604,30 +454,30 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
604
454
  nativeBridge: string;
605
455
  destinationChain: string;
606
456
  ownerOverrides?: Record<string, string> | undefined;
457
+ } & string) | ({
458
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
459
+ owner: string;
460
+ beneficiary: string;
461
+ oracleKey: string;
462
+ overhead: Record<string, number>;
463
+ oracleConfig: Record<string, {
464
+ gasPrice: string;
465
+ tokenExchangeRate: string;
466
+ }>;
467
+ ownerOverrides?: Record<string, string> | undefined;
607
468
  } & string) | ({
608
469
  owner: string;
609
470
  ownerOverrides?: Record<string, string> | undefined;
610
471
  } & {
611
472
  domains: import("../types.js").ChainMap<string | {
612
- type: import("../index.js").HookType.MERKLE_TREE;
613
- } | {
614
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
615
- owner: string;
616
- beneficiary: string;
617
- oracleKey: string;
618
- overhead: Record<string, number>;
619
- oracleConfig: Record<string, {
620
- gasPrice: string;
621
- tokenExchangeRate: string;
622
- }>;
623
- ownerOverrides?: Record<string, string> | undefined;
624
- } | {
625
473
  type: import("../index.js").HookType.PROTOCOL_FEE;
626
474
  owner: string;
627
- protocolFee: string;
628
475
  beneficiary: string;
629
476
  maxProtocolFee: string;
477
+ protocolFee: string;
630
478
  ownerOverrides?: Record<string, string> | undefined;
479
+ } | {
480
+ type: import("../index.js").HookType.MERKLE_TREE;
631
481
  } | {
632
482
  type: import("../index.js").HookType.PAUSABLE;
633
483
  owner: string;
@@ -639,15 +489,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
639
489
  nativeBridge: string;
640
490
  destinationChain: string;
641
491
  ownerOverrides?: Record<string, string> | undefined;
642
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
643
- } & {
644
- type: import("../index.js").HookType.ROUTING;
645
- } & string) | ({
646
- owner: string;
647
- ownerOverrides?: Record<string, string> | undefined;
648
- } & {
649
- domains: import("../types.js").ChainMap<string | {
650
- type: import("../index.js").HookType.MERKLE_TREE;
651
492
  } | {
652
493
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
653
494
  owner: string;
@@ -659,51 +500,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
659
500
  tokenExchangeRate: string;
660
501
  }>;
661
502
  ownerOverrides?: Record<string, string> | undefined;
662
- } | {
663
- type: import("../index.js").HookType.PROTOCOL_FEE;
664
- owner: string;
665
- protocolFee: string;
666
- beneficiary: string;
667
- maxProtocolFee: string;
668
- ownerOverrides?: Record<string, string> | undefined;
669
- } | {
670
- type: import("../index.js").HookType.PAUSABLE;
671
- owner: string;
672
- paused: boolean;
673
- ownerOverrides?: Record<string, string> | undefined;
674
- } | {
675
- type: import("../index.js").HookType.OP_STACK;
676
- owner: string;
677
- nativeBridge: string;
678
- destinationChain: string;
679
- ownerOverrides?: Record<string, string> | undefined;
680
503
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
681
504
  } & {
682
505
  type: import("../index.js").HookType.ROUTING;
683
- }) | ({
506
+ } & string) | ({
684
507
  owner: string;
685
508
  ownerOverrides?: Record<string, string> | undefined;
686
509
  } & {
687
510
  domains: import("../types.js").ChainMap<string | {
688
- type: import("../index.js").HookType.MERKLE_TREE;
689
- } | {
690
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
691
- owner: string;
692
- beneficiary: string;
693
- oracleKey: string;
694
- overhead: Record<string, number>;
695
- oracleConfig: Record<string, {
696
- gasPrice: string;
697
- tokenExchangeRate: string;
698
- }>;
699
- ownerOverrides?: Record<string, string> | undefined;
700
- } | {
701
511
  type: import("../index.js").HookType.PROTOCOL_FEE;
702
512
  owner: string;
703
- protocolFee: string;
704
513
  beneficiary: string;
705
514
  maxProtocolFee: string;
515
+ protocolFee: string;
706
516
  ownerOverrides?: Record<string, string> | undefined;
517
+ } | {
518
+ type: import("../index.js").HookType.MERKLE_TREE;
707
519
  } | {
708
520
  type: import("../index.js").HookType.PAUSABLE;
709
521
  owner: string;
@@ -715,11 +527,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
715
527
  nativeBridge: string;
716
528
  destinationChain: string;
717
529
  ownerOverrides?: Record<string, string> | undefined;
718
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
719
- } & {
720
- type: import("../index.js").HookType.FALLBACK_ROUTING;
721
- fallback: string | {
722
- type: import("../index.js").HookType.MERKLE_TREE;
723
530
  } | {
724
531
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
725
532
  owner: string;
@@ -731,13 +538,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
731
538
  tokenExchangeRate: string;
732
539
  }>;
733
540
  ownerOverrides?: Record<string, string> | undefined;
734
- } | {
541
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
542
+ } & {
543
+ type: import("../index.js").HookType.ROUTING;
544
+ }) | ({
545
+ owner: string;
546
+ ownerOverrides?: Record<string, string> | undefined;
547
+ } & {
548
+ domains: import("../types.js").ChainMap<string | {
735
549
  type: import("../index.js").HookType.PROTOCOL_FEE;
736
550
  owner: string;
737
- protocolFee: string;
738
551
  beneficiary: string;
739
552
  maxProtocolFee: string;
553
+ protocolFee: string;
740
554
  ownerOverrides?: Record<string, string> | undefined;
555
+ } | {
556
+ type: import("../index.js").HookType.MERKLE_TREE;
741
557
  } | {
742
558
  type: import("../index.js").HookType.PAUSABLE;
743
559
  owner: string;
@@ -749,13 +565,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
749
565
  nativeBridge: string;
750
566
  destinationChain: string;
751
567
  ownerOverrides?: Record<string, string> | undefined;
752
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
753
- } & string) | ({
754
- owner: string;
755
- ownerOverrides?: Record<string, string> | undefined;
756
- } & {
757
- domains: import("../types.js").ChainMap<string | {
758
- type: import("../index.js").HookType.MERKLE_TREE;
759
568
  } | {
760
569
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
761
570
  owner: string;
@@ -767,13 +576,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
767
576
  tokenExchangeRate: string;
768
577
  }>;
769
578
  ownerOverrides?: Record<string, string> | undefined;
770
- } | {
579
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
580
+ } & {
581
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
582
+ fallback: string | {
771
583
  type: import("../index.js").HookType.PROTOCOL_FEE;
772
584
  owner: string;
773
- protocolFee: string;
774
585
  beneficiary: string;
775
586
  maxProtocolFee: string;
587
+ protocolFee: string;
776
588
  ownerOverrides?: Record<string, string> | undefined;
589
+ } | {
590
+ type: import("../index.js").HookType.MERKLE_TREE;
777
591
  } | {
778
592
  type: import("../index.js").HookType.PAUSABLE;
779
593
  owner: string;
@@ -785,11 +599,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
785
599
  nativeBridge: string;
786
600
  destinationChain: string;
787
601
  ownerOverrides?: Record<string, string> | undefined;
788
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
789
- } & {
790
- type: import("../index.js").HookType.FALLBACK_ROUTING;
791
- fallback: string | {
792
- type: import("../index.js").HookType.MERKLE_TREE;
793
602
  } | {
794
603
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
795
604
  owner: string;
@@ -801,112 +610,20 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
801
610
  tokenExchangeRate: string;
802
611
  }>;
803
612
  ownerOverrides?: Record<string, string> | undefined;
804
- } | {
805
- type: import("../index.js").HookType.PROTOCOL_FEE;
806
- owner: string;
807
- protocolFee: string;
808
- beneficiary: string;
809
- maxProtocolFee: string;
810
- ownerOverrides?: Record<string, string> | undefined;
811
- } | {
812
- type: import("../index.js").HookType.PAUSABLE;
813
- owner: string;
814
- paused: boolean;
815
- ownerOverrides?: Record<string, string> | undefined;
816
- } | {
817
- type: import("../index.js").HookType.OP_STACK;
818
- owner: string;
819
- nativeBridge: string;
820
- destinationChain: string;
821
- ownerOverrides?: Record<string, string> | undefined;
822
613
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
823
- }) | (import("../index.js").AggregationHookConfig & string);
824
- requiredHook: string | {
825
- type: import("../index.js").HookType.MERKLE_TREE;
826
- } | {
827
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
828
- owner: string;
829
- beneficiary: string;
830
- oracleKey: string;
831
- overhead: Record<string, number>;
832
- oracleConfig: Record<string, {
833
- gasPrice: string;
834
- tokenExchangeRate: string;
835
- }>;
836
- ownerOverrides?: Record<string, string> | undefined;
837
- } | {
838
- type: import("../index.js").HookType.PROTOCOL_FEE;
839
- owner: string;
840
- protocolFee: string;
841
- beneficiary: string;
842
- maxProtocolFee: string;
843
- ownerOverrides?: Record<string, string> | undefined;
844
- } | {
845
- type: import("../index.js").HookType.PAUSABLE;
846
- owner: string;
847
- paused: boolean;
848
- ownerOverrides?: Record<string, string> | undefined;
849
- } | {
850
- type: import("../index.js").HookType.OP_STACK;
851
- owner: string;
852
- nativeBridge: string;
853
- destinationChain: string;
854
- ownerOverrides?: Record<string, string> | undefined;
855
- } | import("../index.js").AggregationHookConfig | (string & {
856
- type: import("../index.js").HookType.MERKLE_TREE;
857
- }) | (string & {
858
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
859
- owner: string;
860
- beneficiary: string;
861
- oracleKey: string;
862
- overhead: Record<string, number>;
863
- oracleConfig: Record<string, {
864
- gasPrice: string;
865
- tokenExchangeRate: string;
866
- }>;
867
- ownerOverrides?: Record<string, string> | undefined;
868
- }) | (string & {
869
- type: import("../index.js").HookType.PROTOCOL_FEE;
870
- owner: string;
871
- protocolFee: string;
872
- beneficiary: string;
873
- maxProtocolFee: string;
874
- ownerOverrides?: Record<string, string> | undefined;
875
- }) | (string & {
876
- type: import("../index.js").HookType.PAUSABLE;
877
- owner: string;
878
- paused: boolean;
879
- ownerOverrides?: Record<string, string> | undefined;
880
- }) | (string & {
881
- type: import("../index.js").HookType.OP_STACK;
882
- owner: string;
883
- nativeBridge: string;
884
- destinationChain: string;
885
- ownerOverrides?: Record<string, string> | undefined;
886
- }) | (string & {
614
+ } & string) | ({
887
615
  owner: string;
888
616
  ownerOverrides?: Record<string, string> | undefined;
889
617
  } & {
890
618
  domains: import("../types.js").ChainMap<string | {
891
- type: import("../index.js").HookType.MERKLE_TREE;
892
- } | {
893
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
894
- owner: string;
895
- beneficiary: string;
896
- oracleKey: string;
897
- overhead: Record<string, number>;
898
- oracleConfig: Record<string, {
899
- gasPrice: string;
900
- tokenExchangeRate: string;
901
- }>;
902
- ownerOverrides?: Record<string, string> | undefined;
903
- } | {
904
619
  type: import("../index.js").HookType.PROTOCOL_FEE;
905
620
  owner: string;
906
- protocolFee: string;
907
621
  beneficiary: string;
908
622
  maxProtocolFee: string;
623
+ protocolFee: string;
909
624
  ownerOverrides?: Record<string, string> | undefined;
625
+ } | {
626
+ type: import("../index.js").HookType.MERKLE_TREE;
910
627
  } | {
911
628
  type: import("../index.js").HookType.PAUSABLE;
912
629
  owner: string;
@@ -918,15 +635,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
918
635
  nativeBridge: string;
919
636
  destinationChain: string;
920
637
  ownerOverrides?: Record<string, string> | undefined;
921
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
922
- } & {
923
- type: import("../index.js").HookType.ROUTING;
924
- }) | (string & {
925
- owner: string;
926
- ownerOverrides?: Record<string, string> | undefined;
927
- } & {
928
- domains: import("../types.js").ChainMap<string | {
929
- type: import("../index.js").HookType.MERKLE_TREE;
930
638
  } | {
931
639
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
932
640
  owner: string;
@@ -938,13 +646,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
938
646
  tokenExchangeRate: string;
939
647
  }>;
940
648
  ownerOverrides?: Record<string, string> | undefined;
941
- } | {
649
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
650
+ } & {
651
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
652
+ fallback: string | {
942
653
  type: import("../index.js").HookType.PROTOCOL_FEE;
943
654
  owner: string;
944
- protocolFee: string;
945
655
  beneficiary: string;
946
656
  maxProtocolFee: string;
657
+ protocolFee: string;
947
658
  ownerOverrides?: Record<string, string> | undefined;
659
+ } | {
660
+ type: import("../index.js").HookType.MERKLE_TREE;
948
661
  } | {
949
662
  type: import("../index.js").HookType.PAUSABLE;
950
663
  owner: string;
@@ -956,11 +669,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
956
669
  nativeBridge: string;
957
670
  destinationChain: string;
958
671
  ownerOverrides?: Record<string, string> | undefined;
959
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
960
- } & {
961
- type: import("../index.js").HookType.FALLBACK_ROUTING;
962
- fallback: string | {
963
- type: import("../index.js").HookType.MERKLE_TREE;
964
672
  } | {
965
673
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
966
674
  owner: string;
@@ -972,28 +680,168 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
972
680
  tokenExchangeRate: string;
973
681
  }>;
974
682
  ownerOverrides?: Record<string, string> | undefined;
975
- } | {
976
- type: import("../index.js").HookType.PROTOCOL_FEE;
683
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
684
+ }) | (import("../index.js").AggregationHookConfig & string);
685
+ defaultIsm: string | {
686
+ type: import("../index.js").IsmType.TEST_ISM;
687
+ } | {
688
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
689
+ relayer: string;
690
+ } | {
691
+ type: import("../index.js").IsmType.OP_STACK;
692
+ origin: string;
693
+ nativeBridge: string;
694
+ } | ({
695
+ owner: string;
696
+ paused: boolean;
697
+ ownerOverrides?: Record<string, string> | undefined;
698
+ } & {
699
+ type: import("../index.js").IsmType.PAUSABLE;
700
+ }) | ({
701
+ validators: string[];
702
+ threshold: number;
703
+ } & {
704
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
705
+ }) | import("../index.js").AggregationIsmConfig | (string & {
706
+ type: import("../index.js").IsmType.TEST_ISM;
707
+ }) | (string & {
708
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
709
+ relayer: string;
710
+ }) | (string & {
711
+ type: import("../index.js").IsmType.OP_STACK;
712
+ origin: string;
713
+ nativeBridge: string;
714
+ }) | (string & {
715
+ owner: string;
716
+ ownerOverrides?: Record<string, string> | undefined;
717
+ } & {
718
+ type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
719
+ domains: import("../types.js").ChainMap<string | {
720
+ type: import("../index.js").IsmType.TEST_ISM;
721
+ } | {
722
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
723
+ relayer: string;
724
+ } | {
725
+ type: import("../index.js").IsmType.OP_STACK;
726
+ origin: string;
727
+ nativeBridge: string;
728
+ } | import("../index.js").RoutingIsmConfig | ({
977
729
  owner: string;
978
- protocolFee: string;
979
- beneficiary: string;
980
- maxProtocolFee: string;
730
+ paused: boolean;
981
731
  ownerOverrides?: Record<string, string> | undefined;
732
+ } & {
733
+ type: import("../index.js").IsmType.PAUSABLE;
734
+ }) | ({
735
+ validators: string[];
736
+ threshold: number;
737
+ } & {
738
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
739
+ }) | import("../index.js").AggregationIsmConfig>;
740
+ }) | (string & {
741
+ owner: string;
742
+ paused: boolean;
743
+ ownerOverrides?: Record<string, string> | undefined;
744
+ } & {
745
+ type: import("../index.js").IsmType.PAUSABLE;
746
+ }) | (string & {
747
+ validators: string[];
748
+ threshold: number;
749
+ } & {
750
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
751
+ }) | (string & import("../index.js").AggregationIsmConfig) | ({
752
+ type: import("../index.js").IsmType.TEST_ISM;
753
+ } & string) | ({
754
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
755
+ relayer: string;
756
+ } & string) | ({
757
+ type: import("../index.js").IsmType.OP_STACK;
758
+ origin: string;
759
+ nativeBridge: string;
760
+ } & string) | ({
761
+ owner: string;
762
+ ownerOverrides?: Record<string, string> | undefined;
763
+ } & {
764
+ type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
765
+ domains: import("../types.js").ChainMap<string | {
766
+ type: import("../index.js").IsmType.TEST_ISM;
982
767
  } | {
983
- type: import("../index.js").HookType.PAUSABLE;
768
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
769
+ relayer: string;
770
+ } | {
771
+ type: import("../index.js").IsmType.OP_STACK;
772
+ origin: string;
773
+ nativeBridge: string;
774
+ } | import("../index.js").RoutingIsmConfig | ({
984
775
  owner: string;
985
776
  paused: boolean;
986
777
  ownerOverrides?: Record<string, string> | undefined;
778
+ } & {
779
+ type: import("../index.js").IsmType.PAUSABLE;
780
+ }) | ({
781
+ validators: string[];
782
+ threshold: number;
783
+ } & {
784
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
785
+ }) | import("../index.js").AggregationIsmConfig>;
786
+ } & string) | ({
787
+ owner: string;
788
+ ownerOverrides?: Record<string, string> | undefined;
789
+ } & {
790
+ type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
791
+ domains: import("../types.js").ChainMap<string | {
792
+ type: import("../index.js").IsmType.TEST_ISM;
987
793
  } | {
988
- type: import("../index.js").HookType.OP_STACK;
989
- owner: string;
794
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
795
+ relayer: string;
796
+ } | {
797
+ type: import("../index.js").IsmType.OP_STACK;
798
+ origin: string;
990
799
  nativeBridge: string;
991
- destinationChain: string;
800
+ } | import("../index.js").RoutingIsmConfig | ({
801
+ owner: string;
802
+ paused: boolean;
992
803
  ownerOverrides?: Record<string, string> | undefined;
993
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
994
- }) | (string & import("../index.js").AggregationHookConfig) | ({
995
- type: import("../index.js").HookType.MERKLE_TREE;
804
+ } & {
805
+ type: import("../index.js").IsmType.PAUSABLE;
806
+ }) | ({
807
+ validators: string[];
808
+ threshold: number;
809
+ } & {
810
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
811
+ }) | import("../index.js").AggregationIsmConfig>;
812
+ }) | ({
813
+ owner: string;
814
+ paused: boolean;
815
+ ownerOverrides?: Record<string, string> | undefined;
816
+ } & {
817
+ type: import("../index.js").IsmType.PAUSABLE;
996
818
  } & string) | ({
819
+ validators: string[];
820
+ threshold: number;
821
+ } & {
822
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
823
+ } & string) | (import("../index.js").AggregationIsmConfig & string);
824
+ requiredHook: string | {
825
+ type: import("../index.js").HookType.PROTOCOL_FEE;
826
+ owner: string;
827
+ beneficiary: string;
828
+ maxProtocolFee: string;
829
+ protocolFee: string;
830
+ ownerOverrides?: Record<string, string> | undefined;
831
+ } | {
832
+ type: import("../index.js").HookType.MERKLE_TREE;
833
+ } | {
834
+ type: import("../index.js").HookType.PAUSABLE;
835
+ owner: string;
836
+ paused: boolean;
837
+ ownerOverrides?: Record<string, string> | undefined;
838
+ } | {
839
+ type: import("../index.js").HookType.OP_STACK;
840
+ owner: string;
841
+ nativeBridge: string;
842
+ destinationChain: string;
843
+ ownerOverrides?: Record<string, string> | undefined;
844
+ } | {
997
845
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
998
846
  owner: string;
999
847
  beneficiary: string;
@@ -1004,48 +852,50 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1004
852
  tokenExchangeRate: string;
1005
853
  }>;
1006
854
  ownerOverrides?: Record<string, string> | undefined;
1007
- } & string) | ({
855
+ } | import("../index.js").AggregationHookConfig | (string & {
1008
856
  type: import("../index.js").HookType.PROTOCOL_FEE;
1009
857
  owner: string;
1010
- protocolFee: string;
1011
858
  beneficiary: string;
1012
859
  maxProtocolFee: string;
860
+ protocolFee: string;
1013
861
  ownerOverrides?: Record<string, string> | undefined;
1014
- } & string) | ({
862
+ }) | (string & {
863
+ type: import("../index.js").HookType.MERKLE_TREE;
864
+ }) | (string & {
1015
865
  type: import("../index.js").HookType.PAUSABLE;
1016
866
  owner: string;
1017
867
  paused: boolean;
1018
868
  ownerOverrides?: Record<string, string> | undefined;
1019
- } & string) | ({
869
+ }) | (string & {
1020
870
  type: import("../index.js").HookType.OP_STACK;
1021
871
  owner: string;
1022
872
  nativeBridge: string;
1023
873
  destinationChain: string;
1024
874
  ownerOverrides?: Record<string, string> | undefined;
1025
- } & string) | ({
875
+ }) | (string & {
876
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
877
+ owner: string;
878
+ beneficiary: string;
879
+ oracleKey: string;
880
+ overhead: Record<string, number>;
881
+ oracleConfig: Record<string, {
882
+ gasPrice: string;
883
+ tokenExchangeRate: string;
884
+ }>;
885
+ ownerOverrides?: Record<string, string> | undefined;
886
+ }) | (string & {
1026
887
  owner: string;
1027
888
  ownerOverrides?: Record<string, string> | undefined;
1028
889
  } & {
1029
890
  domains: import("../types.js").ChainMap<string | {
1030
- type: import("../index.js").HookType.MERKLE_TREE;
1031
- } | {
1032
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1033
- owner: string;
1034
- beneficiary: string;
1035
- oracleKey: string;
1036
- overhead: Record<string, number>;
1037
- oracleConfig: Record<string, {
1038
- gasPrice: string;
1039
- tokenExchangeRate: string;
1040
- }>;
1041
- ownerOverrides?: Record<string, string> | undefined;
1042
- } | {
1043
891
  type: import("../index.js").HookType.PROTOCOL_FEE;
1044
892
  owner: string;
1045
- protocolFee: string;
1046
893
  beneficiary: string;
1047
894
  maxProtocolFee: string;
895
+ protocolFee: string;
1048
896
  ownerOverrides?: Record<string, string> | undefined;
897
+ } | {
898
+ type: import("../index.js").HookType.MERKLE_TREE;
1049
899
  } | {
1050
900
  type: import("../index.js").HookType.PAUSABLE;
1051
901
  owner: string;
@@ -1057,15 +907,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1057
907
  nativeBridge: string;
1058
908
  destinationChain: string;
1059
909
  ownerOverrides?: Record<string, string> | undefined;
1060
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1061
- } & {
1062
- type: import("../index.js").HookType.ROUTING;
1063
- } & string) | ({
1064
- owner: string;
1065
- ownerOverrides?: Record<string, string> | undefined;
1066
- } & {
1067
- domains: import("../types.js").ChainMap<string | {
1068
- type: import("../index.js").HookType.MERKLE_TREE;
1069
910
  } | {
1070
911
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1071
912
  owner: string;
@@ -1077,13 +918,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1077
918
  tokenExchangeRate: string;
1078
919
  }>;
1079
920
  ownerOverrides?: Record<string, string> | undefined;
1080
- } | {
921
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
922
+ } & {
923
+ type: import("../index.js").HookType.ROUTING;
924
+ }) | (string & {
925
+ owner: string;
926
+ ownerOverrides?: Record<string, string> | undefined;
927
+ } & {
928
+ domains: import("../types.js").ChainMap<string | {
1081
929
  type: import("../index.js").HookType.PROTOCOL_FEE;
1082
930
  owner: string;
1083
- protocolFee: string;
1084
931
  beneficiary: string;
1085
932
  maxProtocolFee: string;
933
+ protocolFee: string;
1086
934
  ownerOverrides?: Record<string, string> | undefined;
935
+ } | {
936
+ type: import("../index.js").HookType.MERKLE_TREE;
1087
937
  } | {
1088
938
  type: import("../index.js").HookType.PAUSABLE;
1089
939
  owner: string;
@@ -1095,15 +945,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1095
945
  nativeBridge: string;
1096
946
  destinationChain: string;
1097
947
  ownerOverrides?: Record<string, string> | undefined;
1098
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1099
- } & {
1100
- type: import("../index.js").HookType.ROUTING;
1101
- }) | ({
1102
- owner: string;
1103
- ownerOverrides?: Record<string, string> | undefined;
1104
- } & {
1105
- domains: import("../types.js").ChainMap<string | {
1106
- type: import("../index.js").HookType.MERKLE_TREE;
1107
948
  } | {
1108
949
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1109
950
  owner: string;
@@ -1115,13 +956,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1115
956
  tokenExchangeRate: string;
1116
957
  }>;
1117
958
  ownerOverrides?: Record<string, string> | undefined;
1118
- } | {
959
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
960
+ } & {
961
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
962
+ fallback: string | {
1119
963
  type: import("../index.js").HookType.PROTOCOL_FEE;
1120
964
  owner: string;
1121
- protocolFee: string;
1122
965
  beneficiary: string;
1123
966
  maxProtocolFee: string;
967
+ protocolFee: string;
1124
968
  ownerOverrides?: Record<string, string> | undefined;
969
+ } | {
970
+ type: import("../index.js").HookType.MERKLE_TREE;
1125
971
  } | {
1126
972
  type: import("../index.js").HookType.PAUSABLE;
1127
973
  owner: string;
@@ -1133,11 +979,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1133
979
  nativeBridge: string;
1134
980
  destinationChain: string;
1135
981
  ownerOverrides?: Record<string, string> | undefined;
1136
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1137
- } & {
1138
- type: import("../index.js").HookType.FALLBACK_ROUTING;
1139
- fallback: string | {
1140
- type: import("../index.js").HookType.MERKLE_TREE;
1141
982
  } | {
1142
983
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1143
984
  owner: string;
@@ -1149,13 +990,51 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1149
990
  tokenExchangeRate: string;
1150
991
  }>;
1151
992
  ownerOverrides?: Record<string, string> | undefined;
1152
- } | {
993
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
994
+ }) | (string & import("../index.js").AggregationHookConfig) | ({
995
+ type: import("../index.js").HookType.PROTOCOL_FEE;
996
+ owner: string;
997
+ beneficiary: string;
998
+ maxProtocolFee: string;
999
+ protocolFee: string;
1000
+ ownerOverrides?: Record<string, string> | undefined;
1001
+ } & string) | ({
1002
+ type: import("../index.js").HookType.MERKLE_TREE;
1003
+ } & string) | ({
1004
+ type: import("../index.js").HookType.PAUSABLE;
1005
+ owner: string;
1006
+ paused: boolean;
1007
+ ownerOverrides?: Record<string, string> | undefined;
1008
+ } & string) | ({
1009
+ type: import("../index.js").HookType.OP_STACK;
1010
+ owner: string;
1011
+ nativeBridge: string;
1012
+ destinationChain: string;
1013
+ ownerOverrides?: Record<string, string> | undefined;
1014
+ } & string) | ({
1015
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1016
+ owner: string;
1017
+ beneficiary: string;
1018
+ oracleKey: string;
1019
+ overhead: Record<string, number>;
1020
+ oracleConfig: Record<string, {
1021
+ gasPrice: string;
1022
+ tokenExchangeRate: string;
1023
+ }>;
1024
+ ownerOverrides?: Record<string, string> | undefined;
1025
+ } & string) | ({
1026
+ owner: string;
1027
+ ownerOverrides?: Record<string, string> | undefined;
1028
+ } & {
1029
+ domains: import("../types.js").ChainMap<string | {
1153
1030
  type: import("../index.js").HookType.PROTOCOL_FEE;
1154
1031
  owner: string;
1155
- protocolFee: string;
1156
1032
  beneficiary: string;
1157
1033
  maxProtocolFee: string;
1034
+ protocolFee: string;
1158
1035
  ownerOverrides?: Record<string, string> | undefined;
1036
+ } | {
1037
+ type: import("../index.js").HookType.MERKLE_TREE;
1159
1038
  } | {
1160
1039
  type: import("../index.js").HookType.PAUSABLE;
1161
1040
  owner: string;
@@ -1167,13 +1046,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1167
1046
  nativeBridge: string;
1168
1047
  destinationChain: string;
1169
1048
  ownerOverrides?: Record<string, string> | undefined;
1170
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1171
- } & string) | ({
1172
- owner: string;
1173
- ownerOverrides?: Record<string, string> | undefined;
1174
- } & {
1175
- domains: import("../types.js").ChainMap<string | {
1176
- type: import("../index.js").HookType.MERKLE_TREE;
1177
1049
  } | {
1178
1050
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1179
1051
  owner: string;
@@ -1185,13 +1057,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1185
1057
  tokenExchangeRate: string;
1186
1058
  }>;
1187
1059
  ownerOverrides?: Record<string, string> | undefined;
1188
- } | {
1060
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1061
+ } & {
1062
+ type: import("../index.js").HookType.ROUTING;
1063
+ } & string) | ({
1064
+ owner: string;
1065
+ ownerOverrides?: Record<string, string> | undefined;
1066
+ } & {
1067
+ domains: import("../types.js").ChainMap<string | {
1189
1068
  type: import("../index.js").HookType.PROTOCOL_FEE;
1190
1069
  owner: string;
1191
- protocolFee: string;
1192
1070
  beneficiary: string;
1193
1071
  maxProtocolFee: string;
1072
+ protocolFee: string;
1194
1073
  ownerOverrides?: Record<string, string> | undefined;
1074
+ } | {
1075
+ type: import("../index.js").HookType.MERKLE_TREE;
1195
1076
  } | {
1196
1077
  type: import("../index.js").HookType.PAUSABLE;
1197
1078
  owner: string;
@@ -1203,11 +1084,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1203
1084
  nativeBridge: string;
1204
1085
  destinationChain: string;
1205
1086
  ownerOverrides?: Record<string, string> | undefined;
1206
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1207
- } & {
1208
- type: import("../index.js").HookType.FALLBACK_ROUTING;
1209
- fallback: string | {
1210
- type: import("../index.js").HookType.MERKLE_TREE;
1211
1087
  } | {
1212
1088
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1213
1089
  owner: string;
@@ -1219,13 +1095,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1219
1095
  tokenExchangeRate: string;
1220
1096
  }>;
1221
1097
  ownerOverrides?: Record<string, string> | undefined;
1222
- } | {
1098
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1099
+ } & {
1100
+ type: import("../index.js").HookType.ROUTING;
1101
+ }) | ({
1102
+ owner: string;
1103
+ ownerOverrides?: Record<string, string> | undefined;
1104
+ } & {
1105
+ domains: import("../types.js").ChainMap<string | {
1223
1106
  type: import("../index.js").HookType.PROTOCOL_FEE;
1224
1107
  owner: string;
1225
- protocolFee: string;
1226
1108
  beneficiary: string;
1227
1109
  maxProtocolFee: string;
1110
+ protocolFee: string;
1228
1111
  ownerOverrides?: Record<string, string> | undefined;
1112
+ } | {
1113
+ type: import("../index.js").HookType.MERKLE_TREE;
1229
1114
  } | {
1230
1115
  type: import("../index.js").HookType.PAUSABLE;
1231
1116
  owner: string;
@@ -1237,170 +1122,135 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1237
1122
  nativeBridge: string;
1238
1123
  destinationChain: string;
1239
1124
  ownerOverrides?: Record<string, string> | undefined;
1240
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1241
- }) | (import("../index.js").AggregationHookConfig & string);
1242
- ownerOverrides?: Record<string, string> | undefined;
1243
- }, {
1244
- owner: string;
1245
- defaultIsm: string | {
1246
- type: import("../index.js").IsmType.TEST_ISM;
1247
- } | {
1248
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1249
- relayer: string;
1250
- } | {
1251
- type: import("../index.js").IsmType.OP_STACK;
1252
- origin: string;
1253
- nativeBridge: string;
1254
- } | ({
1255
- owner: string;
1256
- paused: boolean;
1257
- ownerOverrides?: Record<string, string> | undefined;
1258
- } & {
1259
- type: import("../index.js").IsmType.PAUSABLE;
1260
- }) | ({
1261
- validators: string[];
1262
- threshold: number;
1263
- } & {
1264
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1265
- }) | import("../index.js").AggregationIsmConfig | (string & {
1266
- owner: string;
1267
- ownerOverrides?: Record<string, string> | undefined;
1125
+ } | {
1126
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1127
+ owner: string;
1128
+ beneficiary: string;
1129
+ oracleKey: string;
1130
+ overhead: Record<string, number>;
1131
+ oracleConfig: Record<string, {
1132
+ gasPrice: string;
1133
+ tokenExchangeRate: string;
1134
+ }>;
1135
+ ownerOverrides?: Record<string, string> | undefined;
1136
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1268
1137
  } & {
1269
- type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
1270
- domains: import("../types.js").ChainMap<string | {
1271
- type: import("../index.js").IsmType.TEST_ISM;
1138
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
1139
+ fallback: string | {
1140
+ type: import("../index.js").HookType.PROTOCOL_FEE;
1141
+ owner: string;
1142
+ beneficiary: string;
1143
+ maxProtocolFee: string;
1144
+ protocolFee: string;
1145
+ ownerOverrides?: Record<string, string> | undefined;
1272
1146
  } | {
1273
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1274
- relayer: string;
1147
+ type: import("../index.js").HookType.MERKLE_TREE;
1275
1148
  } | {
1276
- type: import("../index.js").IsmType.OP_STACK;
1277
- origin: string;
1278
- nativeBridge: string;
1279
- } | import("../index.js").RoutingIsmConfig | ({
1149
+ type: import("../index.js").HookType.PAUSABLE;
1280
1150
  owner: string;
1281
1151
  paused: boolean;
1282
1152
  ownerOverrides?: Record<string, string> | undefined;
1283
- } & {
1284
- type: import("../index.js").IsmType.PAUSABLE;
1285
- }) | ({
1286
- validators: string[];
1287
- threshold: number;
1288
- } & {
1289
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1290
- }) | import("../index.js").AggregationIsmConfig>;
1291
- }) | (string & import("../index.js").AggregationIsmConfig) | ({
1292
- owner: string;
1293
- ownerOverrides?: Record<string, string> | undefined;
1294
- } & {
1295
- type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
1296
- domains: import("../types.js").ChainMap<string | {
1297
- type: import("../index.js").IsmType.TEST_ISM;
1298
- } | {
1299
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1300
- relayer: string;
1301
1153
  } | {
1302
- type: import("../index.js").IsmType.OP_STACK;
1303
- origin: string;
1154
+ type: import("../index.js").HookType.OP_STACK;
1155
+ owner: string;
1304
1156
  nativeBridge: string;
1305
- } | import("../index.js").RoutingIsmConfig | ({
1157
+ destinationChain: string;
1158
+ ownerOverrides?: Record<string, string> | undefined;
1159
+ } | {
1160
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1306
1161
  owner: string;
1307
- paused: boolean;
1162
+ beneficiary: string;
1163
+ oracleKey: string;
1164
+ overhead: Record<string, number>;
1165
+ oracleConfig: Record<string, {
1166
+ gasPrice: string;
1167
+ tokenExchangeRate: string;
1168
+ }>;
1308
1169
  ownerOverrides?: Record<string, string> | undefined;
1309
- } & {
1310
- type: import("../index.js").IsmType.PAUSABLE;
1311
- }) | ({
1312
- validators: string[];
1313
- threshold: number;
1314
- } & {
1315
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1316
- }) | import("../index.js").AggregationIsmConfig>;
1170
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1317
1171
  } & string) | ({
1318
1172
  owner: string;
1319
1173
  ownerOverrides?: Record<string, string> | undefined;
1320
1174
  } & {
1321
- type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
1322
1175
  domains: import("../types.js").ChainMap<string | {
1323
- type: import("../index.js").IsmType.TEST_ISM;
1176
+ type: import("../index.js").HookType.PROTOCOL_FEE;
1177
+ owner: string;
1178
+ beneficiary: string;
1179
+ maxProtocolFee: string;
1180
+ protocolFee: string;
1181
+ ownerOverrides?: Record<string, string> | undefined;
1324
1182
  } | {
1325
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1326
- relayer: string;
1183
+ type: import("../index.js").HookType.MERKLE_TREE;
1327
1184
  } | {
1328
- type: import("../index.js").IsmType.OP_STACK;
1329
- origin: string;
1330
- nativeBridge: string;
1331
- } | import("../index.js").RoutingIsmConfig | ({
1185
+ type: import("../index.js").HookType.PAUSABLE;
1332
1186
  owner: string;
1333
1187
  paused: boolean;
1334
1188
  ownerOverrides?: Record<string, string> | undefined;
1335
- } & {
1336
- type: import("../index.js").IsmType.PAUSABLE;
1337
- }) | ({
1338
- validators: string[];
1339
- threshold: number;
1340
- } & {
1341
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1342
- }) | import("../index.js").AggregationIsmConfig>;
1343
- }) | (import("../index.js").AggregationIsmConfig & string) | (string & {
1344
- type: import("../index.js").IsmType.TEST_ISM;
1345
- }) | (string & {
1346
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1347
- relayer: string;
1348
- }) | (string & {
1349
- type: import("../index.js").IsmType.OP_STACK;
1350
- origin: string;
1351
- nativeBridge: string;
1352
- }) | (string & {
1353
- owner: string;
1354
- paused: boolean;
1355
- ownerOverrides?: Record<string, string> | undefined;
1356
- } & {
1357
- type: import("../index.js").IsmType.PAUSABLE;
1358
- }) | (string & {
1359
- validators: string[];
1360
- threshold: number;
1361
- } & {
1362
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1363
- }) | ({
1364
- type: import("../index.js").IsmType.TEST_ISM;
1365
- } & string) | ({
1366
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1367
- relayer: string;
1368
- } & string) | ({
1369
- type: import("../index.js").IsmType.OP_STACK;
1370
- origin: string;
1371
- nativeBridge: string;
1372
- } & string) | ({
1373
- owner: string;
1374
- paused: boolean;
1375
- ownerOverrides?: Record<string, string> | undefined;
1376
- } & {
1377
- type: import("../index.js").IsmType.PAUSABLE;
1378
- } & string) | ({
1379
- validators: string[];
1380
- threshold: number;
1189
+ } | {
1190
+ type: import("../index.js").HookType.OP_STACK;
1191
+ owner: string;
1192
+ nativeBridge: string;
1193
+ destinationChain: string;
1194
+ ownerOverrides?: Record<string, string> | undefined;
1195
+ } | {
1196
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1197
+ owner: string;
1198
+ beneficiary: string;
1199
+ oracleKey: string;
1200
+ overhead: Record<string, number>;
1201
+ oracleConfig: Record<string, {
1202
+ gasPrice: string;
1203
+ tokenExchangeRate: string;
1204
+ }>;
1205
+ ownerOverrides?: Record<string, string> | undefined;
1206
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1381
1207
  } & {
1382
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1383
- } & string);
1208
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
1209
+ fallback: string | {
1210
+ type: import("../index.js").HookType.PROTOCOL_FEE;
1211
+ owner: string;
1212
+ beneficiary: string;
1213
+ maxProtocolFee: string;
1214
+ protocolFee: string;
1215
+ ownerOverrides?: Record<string, string> | undefined;
1216
+ } | {
1217
+ type: import("../index.js").HookType.MERKLE_TREE;
1218
+ } | {
1219
+ type: import("../index.js").HookType.PAUSABLE;
1220
+ owner: string;
1221
+ paused: boolean;
1222
+ ownerOverrides?: Record<string, string> | undefined;
1223
+ } | {
1224
+ type: import("../index.js").HookType.OP_STACK;
1225
+ owner: string;
1226
+ nativeBridge: string;
1227
+ destinationChain: string;
1228
+ ownerOverrides?: Record<string, string> | undefined;
1229
+ } | {
1230
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1231
+ owner: string;
1232
+ beneficiary: string;
1233
+ oracleKey: string;
1234
+ overhead: Record<string, number>;
1235
+ oracleConfig: Record<string, {
1236
+ gasPrice: string;
1237
+ tokenExchangeRate: string;
1238
+ }>;
1239
+ ownerOverrides?: Record<string, string> | undefined;
1240
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1241
+ }) | (import("../index.js").AggregationHookConfig & string);
1242
+ ownerOverrides?: Record<string, string> | undefined;
1243
+ }, {
1244
+ owner: string;
1384
1245
  defaultHook: string | {
1385
- type: import("../index.js").HookType.MERKLE_TREE;
1386
- } | {
1387
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1388
- owner: string;
1389
- beneficiary: string;
1390
- oracleKey: string;
1391
- overhead: Record<string, number>;
1392
- oracleConfig: Record<string, {
1393
- gasPrice: string;
1394
- tokenExchangeRate: string;
1395
- }>;
1396
- ownerOverrides?: Record<string, string> | undefined;
1397
- } | {
1398
1246
  type: import("../index.js").HookType.PROTOCOL_FEE;
1399
1247
  owner: string;
1400
- protocolFee: string;
1401
1248
  beneficiary: string;
1402
1249
  maxProtocolFee: string;
1250
+ protocolFee: string;
1403
1251
  ownerOverrides?: Record<string, string> | undefined;
1252
+ } | {
1253
+ type: import("../index.js").HookType.MERKLE_TREE;
1404
1254
  } | {
1405
1255
  type: import("../index.js").HookType.PAUSABLE;
1406
1256
  owner: string;
@@ -1412,30 +1262,30 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1412
1262
  nativeBridge: string;
1413
1263
  destinationChain: string;
1414
1264
  ownerOverrides?: Record<string, string> | undefined;
1265
+ } | {
1266
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1267
+ owner: string;
1268
+ beneficiary: string;
1269
+ oracleKey: string;
1270
+ overhead: Record<string, number>;
1271
+ oracleConfig: Record<string, {
1272
+ gasPrice: string;
1273
+ tokenExchangeRate: string;
1274
+ }>;
1275
+ ownerOverrides?: Record<string, string> | undefined;
1415
1276
  } | import("../index.js").AggregationHookConfig | (string & {
1416
1277
  owner: string;
1417
1278
  ownerOverrides?: Record<string, string> | undefined;
1418
1279
  } & {
1419
1280
  domains: import("../types.js").ChainMap<string | {
1420
- type: import("../index.js").HookType.MERKLE_TREE;
1421
- } | {
1422
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1423
- owner: string;
1424
- beneficiary: string;
1425
- oracleKey: string;
1426
- overhead: Record<string, number>;
1427
- oracleConfig: Record<string, {
1428
- gasPrice: string;
1429
- tokenExchangeRate: string;
1430
- }>;
1431
- ownerOverrides?: Record<string, string> | undefined;
1432
- } | {
1433
1281
  type: import("../index.js").HookType.PROTOCOL_FEE;
1434
1282
  owner: string;
1435
- protocolFee: string;
1436
1283
  beneficiary: string;
1437
1284
  maxProtocolFee: string;
1285
+ protocolFee: string;
1438
1286
  ownerOverrides?: Record<string, string> | undefined;
1287
+ } | {
1288
+ type: import("../index.js").HookType.MERKLE_TREE;
1439
1289
  } | {
1440
1290
  type: import("../index.js").HookType.PAUSABLE;
1441
1291
  owner: string;
@@ -1447,15 +1297,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1447
1297
  nativeBridge: string;
1448
1298
  destinationChain: string;
1449
1299
  ownerOverrides?: Record<string, string> | undefined;
1450
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1451
- } & {
1452
- type: import("../index.js").HookType.ROUTING;
1453
- }) | (string & {
1454
- owner: string;
1455
- ownerOverrides?: Record<string, string> | undefined;
1456
- } & {
1457
- domains: import("../types.js").ChainMap<string | {
1458
- type: import("../index.js").HookType.MERKLE_TREE;
1459
1300
  } | {
1460
1301
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1461
1302
  owner: string;
@@ -1467,13 +1308,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1467
1308
  tokenExchangeRate: string;
1468
1309
  }>;
1469
1310
  ownerOverrides?: Record<string, string> | undefined;
1470
- } | {
1311
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1312
+ } & {
1313
+ type: import("../index.js").HookType.ROUTING;
1314
+ }) | (string & {
1315
+ owner: string;
1316
+ ownerOverrides?: Record<string, string> | undefined;
1317
+ } & {
1318
+ domains: import("../types.js").ChainMap<string | {
1471
1319
  type: import("../index.js").HookType.PROTOCOL_FEE;
1472
1320
  owner: string;
1473
- protocolFee: string;
1474
1321
  beneficiary: string;
1475
1322
  maxProtocolFee: string;
1323
+ protocolFee: string;
1476
1324
  ownerOverrides?: Record<string, string> | undefined;
1325
+ } | {
1326
+ type: import("../index.js").HookType.MERKLE_TREE;
1477
1327
  } | {
1478
1328
  type: import("../index.js").HookType.PAUSABLE;
1479
1329
  owner: string;
@@ -1485,11 +1335,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1485
1335
  nativeBridge: string;
1486
1336
  destinationChain: string;
1487
1337
  ownerOverrides?: Record<string, string> | undefined;
1488
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1489
- } & {
1490
- type: import("../index.js").HookType.FALLBACK_ROUTING;
1491
- fallback: string | {
1492
- type: import("../index.js").HookType.MERKLE_TREE;
1493
1338
  } | {
1494
1339
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1495
1340
  owner: string;
@@ -1501,13 +1346,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1501
1346
  tokenExchangeRate: string;
1502
1347
  }>;
1503
1348
  ownerOverrides?: Record<string, string> | undefined;
1504
- } | {
1349
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1350
+ } & {
1351
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
1352
+ fallback: string | {
1505
1353
  type: import("../index.js").HookType.PROTOCOL_FEE;
1506
1354
  owner: string;
1507
- protocolFee: string;
1508
1355
  beneficiary: string;
1509
1356
  maxProtocolFee: string;
1357
+ protocolFee: string;
1510
1358
  ownerOverrides?: Record<string, string> | undefined;
1359
+ } | {
1360
+ type: import("../index.js").HookType.MERKLE_TREE;
1511
1361
  } | {
1512
1362
  type: import("../index.js").HookType.PAUSABLE;
1513
1363
  owner: string;
@@ -1519,13 +1369,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1519
1369
  nativeBridge: string;
1520
1370
  destinationChain: string;
1521
1371
  ownerOverrides?: Record<string, string> | undefined;
1522
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1523
- }) | (string & import("../index.js").AggregationHookConfig) | ({
1524
- owner: string;
1525
- ownerOverrides?: Record<string, string> | undefined;
1526
- } & {
1527
- domains: import("../types.js").ChainMap<string | {
1528
- type: import("../index.js").HookType.MERKLE_TREE;
1529
1372
  } | {
1530
1373
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1531
1374
  owner: string;
@@ -1537,13 +1380,20 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1537
1380
  tokenExchangeRate: string;
1538
1381
  }>;
1539
1382
  ownerOverrides?: Record<string, string> | undefined;
1540
- } | {
1383
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1384
+ }) | (string & import("../index.js").AggregationHookConfig) | ({
1385
+ owner: string;
1386
+ ownerOverrides?: Record<string, string> | undefined;
1387
+ } & {
1388
+ domains: import("../types.js").ChainMap<string | {
1541
1389
  type: import("../index.js").HookType.PROTOCOL_FEE;
1542
1390
  owner: string;
1543
- protocolFee: string;
1544
1391
  beneficiary: string;
1545
1392
  maxProtocolFee: string;
1393
+ protocolFee: string;
1546
1394
  ownerOverrides?: Record<string, string> | undefined;
1395
+ } | {
1396
+ type: import("../index.js").HookType.MERKLE_TREE;
1547
1397
  } | {
1548
1398
  type: import("../index.js").HookType.PAUSABLE;
1549
1399
  owner: string;
@@ -1555,15 +1405,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1555
1405
  nativeBridge: string;
1556
1406
  destinationChain: string;
1557
1407
  ownerOverrides?: Record<string, string> | undefined;
1558
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1559
- } & {
1560
- type: import("../index.js").HookType.ROUTING;
1561
- } & string) | ({
1562
- owner: string;
1563
- ownerOverrides?: Record<string, string> | undefined;
1564
- } & {
1565
- domains: import("../types.js").ChainMap<string | {
1566
- type: import("../index.js").HookType.MERKLE_TREE;
1567
1408
  } | {
1568
1409
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1569
1410
  owner: string;
@@ -1575,13 +1416,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1575
1416
  tokenExchangeRate: string;
1576
1417
  }>;
1577
1418
  ownerOverrides?: Record<string, string> | undefined;
1578
- } | {
1419
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1420
+ } & {
1421
+ type: import("../index.js").HookType.ROUTING;
1422
+ } & string) | ({
1423
+ owner: string;
1424
+ ownerOverrides?: Record<string, string> | undefined;
1425
+ } & {
1426
+ domains: import("../types.js").ChainMap<string | {
1579
1427
  type: import("../index.js").HookType.PROTOCOL_FEE;
1580
1428
  owner: string;
1581
- protocolFee: string;
1582
1429
  beneficiary: string;
1583
1430
  maxProtocolFee: string;
1431
+ protocolFee: string;
1584
1432
  ownerOverrides?: Record<string, string> | undefined;
1433
+ } | {
1434
+ type: import("../index.js").HookType.MERKLE_TREE;
1585
1435
  } | {
1586
1436
  type: import("../index.js").HookType.PAUSABLE;
1587
1437
  owner: string;
@@ -1593,15 +1443,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1593
1443
  nativeBridge: string;
1594
1444
  destinationChain: string;
1595
1445
  ownerOverrides?: Record<string, string> | undefined;
1596
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1597
- } & {
1598
- type: import("../index.js").HookType.ROUTING;
1599
- }) | ({
1600
- owner: string;
1601
- ownerOverrides?: Record<string, string> | undefined;
1602
- } & {
1603
- domains: import("../types.js").ChainMap<string | {
1604
- type: import("../index.js").HookType.MERKLE_TREE;
1605
1446
  } | {
1606
1447
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1607
1448
  owner: string;
@@ -1613,13 +1454,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1613
1454
  tokenExchangeRate: string;
1614
1455
  }>;
1615
1456
  ownerOverrides?: Record<string, string> | undefined;
1616
- } | {
1457
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1458
+ } & {
1459
+ type: import("../index.js").HookType.ROUTING;
1460
+ }) | ({
1461
+ owner: string;
1462
+ ownerOverrides?: Record<string, string> | undefined;
1463
+ } & {
1464
+ domains: import("../types.js").ChainMap<string | {
1617
1465
  type: import("../index.js").HookType.PROTOCOL_FEE;
1618
1466
  owner: string;
1619
- protocolFee: string;
1620
1467
  beneficiary: string;
1621
1468
  maxProtocolFee: string;
1469
+ protocolFee: string;
1622
1470
  ownerOverrides?: Record<string, string> | undefined;
1471
+ } | {
1472
+ type: import("../index.js").HookType.MERKLE_TREE;
1623
1473
  } | {
1624
1474
  type: import("../index.js").HookType.PAUSABLE;
1625
1475
  owner: string;
@@ -1631,11 +1481,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1631
1481
  nativeBridge: string;
1632
1482
  destinationChain: string;
1633
1483
  ownerOverrides?: Record<string, string> | undefined;
1634
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1635
- } & {
1636
- type: import("../index.js").HookType.FALLBACK_ROUTING;
1637
- fallback: string | {
1638
- type: import("../index.js").HookType.MERKLE_TREE;
1639
1484
  } | {
1640
1485
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1641
1486
  owner: string;
@@ -1647,13 +1492,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1647
1492
  tokenExchangeRate: string;
1648
1493
  }>;
1649
1494
  ownerOverrides?: Record<string, string> | undefined;
1650
- } | {
1495
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1496
+ } & {
1497
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
1498
+ fallback: string | {
1651
1499
  type: import("../index.js").HookType.PROTOCOL_FEE;
1652
1500
  owner: string;
1653
- protocolFee: string;
1654
1501
  beneficiary: string;
1655
1502
  maxProtocolFee: string;
1503
+ protocolFee: string;
1656
1504
  ownerOverrides?: Record<string, string> | undefined;
1505
+ } | {
1506
+ type: import("../index.js").HookType.MERKLE_TREE;
1657
1507
  } | {
1658
1508
  type: import("../index.js").HookType.PAUSABLE;
1659
1509
  owner: string;
@@ -1665,13 +1515,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1665
1515
  nativeBridge: string;
1666
1516
  destinationChain: string;
1667
1517
  ownerOverrides?: Record<string, string> | undefined;
1668
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1669
- } & string) | ({
1670
- owner: string;
1671
- ownerOverrides?: Record<string, string> | undefined;
1672
- } & {
1673
- domains: import("../types.js").ChainMap<string | {
1674
- type: import("../index.js").HookType.MERKLE_TREE;
1675
1518
  } | {
1676
1519
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1677
1520
  owner: string;
@@ -1683,13 +1526,20 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1683
1526
  tokenExchangeRate: string;
1684
1527
  }>;
1685
1528
  ownerOverrides?: Record<string, string> | undefined;
1686
- } | {
1529
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1530
+ } & string) | ({
1531
+ owner: string;
1532
+ ownerOverrides?: Record<string, string> | undefined;
1533
+ } & {
1534
+ domains: import("../types.js").ChainMap<string | {
1687
1535
  type: import("../index.js").HookType.PROTOCOL_FEE;
1688
1536
  owner: string;
1689
- protocolFee: string;
1690
1537
  beneficiary: string;
1691
1538
  maxProtocolFee: string;
1539
+ protocolFee: string;
1692
1540
  ownerOverrides?: Record<string, string> | undefined;
1541
+ } | {
1542
+ type: import("../index.js").HookType.MERKLE_TREE;
1693
1543
  } | {
1694
1544
  type: import("../index.js").HookType.PAUSABLE;
1695
1545
  owner: string;
@@ -1701,11 +1551,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1701
1551
  nativeBridge: string;
1702
1552
  destinationChain: string;
1703
1553
  ownerOverrides?: Record<string, string> | undefined;
1704
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1705
- } & {
1706
- type: import("../index.js").HookType.FALLBACK_ROUTING;
1707
- fallback: string | {
1708
- type: import("../index.js").HookType.MERKLE_TREE;
1709
1554
  } | {
1710
1555
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1711
1556
  owner: string;
@@ -1717,13 +1562,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1717
1562
  tokenExchangeRate: string;
1718
1563
  }>;
1719
1564
  ownerOverrides?: Record<string, string> | undefined;
1720
- } | {
1565
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1566
+ } & {
1567
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
1568
+ fallback: string | {
1721
1569
  type: import("../index.js").HookType.PROTOCOL_FEE;
1722
1570
  owner: string;
1723
- protocolFee: string;
1724
1571
  beneficiary: string;
1725
1572
  maxProtocolFee: string;
1573
+ protocolFee: string;
1726
1574
  ownerOverrides?: Record<string, string> | undefined;
1575
+ } | {
1576
+ type: import("../index.js").HookType.MERKLE_TREE;
1727
1577
  } | {
1728
1578
  type: import("../index.js").HookType.PAUSABLE;
1729
1579
  owner: string;
@@ -1735,9 +1585,38 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1735
1585
  nativeBridge: string;
1736
1586
  destinationChain: string;
1737
1587
  ownerOverrides?: Record<string, string> | undefined;
1588
+ } | {
1589
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1590
+ owner: string;
1591
+ beneficiary: string;
1592
+ oracleKey: string;
1593
+ overhead: Record<string, number>;
1594
+ oracleConfig: Record<string, {
1595
+ gasPrice: string;
1596
+ tokenExchangeRate: string;
1597
+ }>;
1598
+ ownerOverrides?: Record<string, string> | undefined;
1738
1599
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1739
1600
  }) | (import("../index.js").AggregationHookConfig & string) | (string & {
1601
+ type: import("../index.js").HookType.PROTOCOL_FEE;
1602
+ owner: string;
1603
+ beneficiary: string;
1604
+ maxProtocolFee: string;
1605
+ protocolFee: string;
1606
+ ownerOverrides?: Record<string, string> | undefined;
1607
+ }) | (string & {
1740
1608
  type: import("../index.js").HookType.MERKLE_TREE;
1609
+ }) | (string & {
1610
+ type: import("../index.js").HookType.PAUSABLE;
1611
+ owner: string;
1612
+ paused: boolean;
1613
+ ownerOverrides?: Record<string, string> | undefined;
1614
+ }) | (string & {
1615
+ type: import("../index.js").HookType.OP_STACK;
1616
+ owner: string;
1617
+ nativeBridge: string;
1618
+ destinationChain: string;
1619
+ ownerOverrides?: Record<string, string> | undefined;
1741
1620
  }) | (string & {
1742
1621
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1743
1622
  owner: string;
@@ -1749,58 +1628,197 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1749
1628
  tokenExchangeRate: string;
1750
1629
  }>;
1751
1630
  ownerOverrides?: Record<string, string> | undefined;
1752
- }) | (string & {
1631
+ }) | ({
1753
1632
  type: import("../index.js").HookType.PROTOCOL_FEE;
1754
1633
  owner: string;
1755
- protocolFee: string;
1756
1634
  beneficiary: string;
1757
1635
  maxProtocolFee: string;
1636
+ protocolFee: string;
1758
1637
  ownerOverrides?: Record<string, string> | undefined;
1759
- }) | (string & {
1638
+ } & string) | ({
1639
+ type: import("../index.js").HookType.MERKLE_TREE;
1640
+ } & string) | ({
1760
1641
  type: import("../index.js").HookType.PAUSABLE;
1761
1642
  owner: string;
1762
1643
  paused: boolean;
1763
1644
  ownerOverrides?: Record<string, string> | undefined;
1764
- }) | (string & {
1645
+ } & string) | ({
1765
1646
  type: import("../index.js").HookType.OP_STACK;
1766
1647
  owner: string;
1767
1648
  nativeBridge: string;
1768
1649
  destinationChain: string;
1769
1650
  ownerOverrides?: Record<string, string> | undefined;
1651
+ } & string) | ({
1652
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1653
+ owner: string;
1654
+ beneficiary: string;
1655
+ oracleKey: string;
1656
+ overhead: Record<string, number>;
1657
+ oracleConfig: Record<string, {
1658
+ gasPrice: string;
1659
+ tokenExchangeRate: string;
1660
+ }>;
1661
+ ownerOverrides?: Record<string, string> | undefined;
1662
+ } & string);
1663
+ defaultIsm: string | {
1664
+ type: import("../index.js").IsmType.TEST_ISM;
1665
+ } | {
1666
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
1667
+ relayer: string;
1668
+ } | {
1669
+ type: import("../index.js").IsmType.OP_STACK;
1670
+ origin: string;
1671
+ nativeBridge: string;
1672
+ } | ({
1673
+ owner: string;
1674
+ paused: boolean;
1675
+ ownerOverrides?: Record<string, string> | undefined;
1676
+ } & {
1677
+ type: import("../index.js").IsmType.PAUSABLE;
1770
1678
  }) | ({
1771
- type: import("../index.js").HookType.MERKLE_TREE;
1679
+ validators: string[];
1680
+ threshold: number;
1681
+ } & {
1682
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1683
+ }) | import("../index.js").AggregationIsmConfig | (string & {
1684
+ owner: string;
1685
+ ownerOverrides?: Record<string, string> | undefined;
1686
+ } & {
1687
+ type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
1688
+ domains: import("../types.js").ChainMap<string | {
1689
+ type: import("../index.js").IsmType.TEST_ISM;
1690
+ } | {
1691
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
1692
+ relayer: string;
1693
+ } | {
1694
+ type: import("../index.js").IsmType.OP_STACK;
1695
+ origin: string;
1696
+ nativeBridge: string;
1697
+ } | import("../index.js").RoutingIsmConfig | ({
1698
+ owner: string;
1699
+ paused: boolean;
1700
+ ownerOverrides?: Record<string, string> | undefined;
1701
+ } & {
1702
+ type: import("../index.js").IsmType.PAUSABLE;
1703
+ }) | ({
1704
+ validators: string[];
1705
+ threshold: number;
1706
+ } & {
1707
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1708
+ }) | import("../index.js").AggregationIsmConfig>;
1709
+ }) | (string & import("../index.js").AggregationIsmConfig) | ({
1710
+ owner: string;
1711
+ ownerOverrides?: Record<string, string> | undefined;
1712
+ } & {
1713
+ type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
1714
+ domains: import("../types.js").ChainMap<string | {
1715
+ type: import("../index.js").IsmType.TEST_ISM;
1716
+ } | {
1717
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
1718
+ relayer: string;
1719
+ } | {
1720
+ type: import("../index.js").IsmType.OP_STACK;
1721
+ origin: string;
1722
+ nativeBridge: string;
1723
+ } | import("../index.js").RoutingIsmConfig | ({
1724
+ owner: string;
1725
+ paused: boolean;
1726
+ ownerOverrides?: Record<string, string> | undefined;
1727
+ } & {
1728
+ type: import("../index.js").IsmType.PAUSABLE;
1729
+ }) | ({
1730
+ validators: string[];
1731
+ threshold: number;
1732
+ } & {
1733
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1734
+ }) | import("../index.js").AggregationIsmConfig>;
1735
+ } & string) | ({
1736
+ owner: string;
1737
+ ownerOverrides?: Record<string, string> | undefined;
1738
+ } & {
1739
+ type: import("../index.js").IsmType.ROUTING | import("../index.js").IsmType.FALLBACK_ROUTING;
1740
+ domains: import("../types.js").ChainMap<string | {
1741
+ type: import("../index.js").IsmType.TEST_ISM;
1742
+ } | {
1743
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
1744
+ relayer: string;
1745
+ } | {
1746
+ type: import("../index.js").IsmType.OP_STACK;
1747
+ origin: string;
1748
+ nativeBridge: string;
1749
+ } | import("../index.js").RoutingIsmConfig | ({
1750
+ owner: string;
1751
+ paused: boolean;
1752
+ ownerOverrides?: Record<string, string> | undefined;
1753
+ } & {
1754
+ type: import("../index.js").IsmType.PAUSABLE;
1755
+ }) | ({
1756
+ validators: string[];
1757
+ threshold: number;
1758
+ } & {
1759
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1760
+ }) | import("../index.js").AggregationIsmConfig>;
1761
+ }) | (import("../index.js").AggregationIsmConfig & string) | (string & {
1762
+ type: import("../index.js").IsmType.TEST_ISM;
1763
+ }) | (string & {
1764
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
1765
+ relayer: string;
1766
+ }) | (string & {
1767
+ type: import("../index.js").IsmType.OP_STACK;
1768
+ origin: string;
1769
+ nativeBridge: string;
1770
+ }) | (string & {
1771
+ owner: string;
1772
+ paused: boolean;
1773
+ ownerOverrides?: Record<string, string> | undefined;
1774
+ } & {
1775
+ type: import("../index.js").IsmType.PAUSABLE;
1776
+ }) | (string & {
1777
+ validators: string[];
1778
+ threshold: number;
1779
+ } & {
1780
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1781
+ }) | ({
1782
+ type: import("../index.js").IsmType.TEST_ISM;
1783
+ } & string) | ({
1784
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
1785
+ relayer: string;
1786
+ } & string) | ({
1787
+ type: import("../index.js").IsmType.OP_STACK;
1788
+ origin: string;
1789
+ nativeBridge: string;
1772
1790
  } & string) | ({
1773
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1774
1791
  owner: string;
1775
- beneficiary: string;
1776
- oracleKey: string;
1777
- overhead: Record<string, number>;
1778
- oracleConfig: Record<string, {
1779
- gasPrice: string;
1780
- tokenExchangeRate: string;
1781
- }>;
1792
+ paused: boolean;
1782
1793
  ownerOverrides?: Record<string, string> | undefined;
1794
+ } & {
1795
+ type: import("../index.js").IsmType.PAUSABLE;
1783
1796
  } & string) | ({
1797
+ validators: string[];
1798
+ threshold: number;
1799
+ } & {
1800
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1801
+ } & string);
1802
+ requiredHook: string | {
1784
1803
  type: import("../index.js").HookType.PROTOCOL_FEE;
1785
1804
  owner: string;
1786
- protocolFee: string;
1787
1805
  beneficiary: string;
1788
1806
  maxProtocolFee: string;
1807
+ protocolFee: string;
1789
1808
  ownerOverrides?: Record<string, string> | undefined;
1790
- } & string) | ({
1809
+ } | {
1810
+ type: import("../index.js").HookType.MERKLE_TREE;
1811
+ } | {
1791
1812
  type: import("../index.js").HookType.PAUSABLE;
1792
1813
  owner: string;
1793
1814
  paused: boolean;
1794
1815
  ownerOverrides?: Record<string, string> | undefined;
1795
- } & string) | ({
1816
+ } | {
1796
1817
  type: import("../index.js").HookType.OP_STACK;
1797
1818
  owner: string;
1798
1819
  nativeBridge: string;
1799
1820
  destinationChain: string;
1800
1821
  ownerOverrides?: Record<string, string> | undefined;
1801
- } & string);
1802
- requiredHook: string | {
1803
- type: import("../index.js").HookType.MERKLE_TREE;
1804
1822
  } | {
1805
1823
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1806
1824
  owner: string;
@@ -1812,48 +1830,19 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1812
1830
  tokenExchangeRate: string;
1813
1831
  }>;
1814
1832
  ownerOverrides?: Record<string, string> | undefined;
1815
- } | {
1816
- type: import("../index.js").HookType.PROTOCOL_FEE;
1817
- owner: string;
1818
- protocolFee: string;
1819
- beneficiary: string;
1820
- maxProtocolFee: string;
1821
- ownerOverrides?: Record<string, string> | undefined;
1822
- } | {
1823
- type: import("../index.js").HookType.PAUSABLE;
1824
- owner: string;
1825
- paused: boolean;
1826
- ownerOverrides?: Record<string, string> | undefined;
1827
- } | {
1828
- type: import("../index.js").HookType.OP_STACK;
1829
- owner: string;
1830
- nativeBridge: string;
1831
- destinationChain: string;
1832
- ownerOverrides?: Record<string, string> | undefined;
1833
1833
  } | import("../index.js").AggregationHookConfig | (string & {
1834
1834
  owner: string;
1835
1835
  ownerOverrides?: Record<string, string> | undefined;
1836
1836
  } & {
1837
1837
  domains: import("../types.js").ChainMap<string | {
1838
- type: import("../index.js").HookType.MERKLE_TREE;
1839
- } | {
1840
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1841
- owner: string;
1842
- beneficiary: string;
1843
- oracleKey: string;
1844
- overhead: Record<string, number>;
1845
- oracleConfig: Record<string, {
1846
- gasPrice: string;
1847
- tokenExchangeRate: string;
1848
- }>;
1849
- ownerOverrides?: Record<string, string> | undefined;
1850
- } | {
1851
1838
  type: import("../index.js").HookType.PROTOCOL_FEE;
1852
1839
  owner: string;
1853
- protocolFee: string;
1854
1840
  beneficiary: string;
1855
1841
  maxProtocolFee: string;
1842
+ protocolFee: string;
1856
1843
  ownerOverrides?: Record<string, string> | undefined;
1844
+ } | {
1845
+ type: import("../index.js").HookType.MERKLE_TREE;
1857
1846
  } | {
1858
1847
  type: import("../index.js").HookType.PAUSABLE;
1859
1848
  owner: string;
@@ -1865,15 +1854,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1865
1854
  nativeBridge: string;
1866
1855
  destinationChain: string;
1867
1856
  ownerOverrides?: Record<string, string> | undefined;
1868
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1869
- } & {
1870
- type: import("../index.js").HookType.ROUTING;
1871
- }) | (string & {
1872
- owner: string;
1873
- ownerOverrides?: Record<string, string> | undefined;
1874
- } & {
1875
- domains: import("../types.js").ChainMap<string | {
1876
- type: import("../index.js").HookType.MERKLE_TREE;
1877
1857
  } | {
1878
1858
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1879
1859
  owner: string;
@@ -1885,13 +1865,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1885
1865
  tokenExchangeRate: string;
1886
1866
  }>;
1887
1867
  ownerOverrides?: Record<string, string> | undefined;
1888
- } | {
1868
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1869
+ } & {
1870
+ type: import("../index.js").HookType.ROUTING;
1871
+ }) | (string & {
1872
+ owner: string;
1873
+ ownerOverrides?: Record<string, string> | undefined;
1874
+ } & {
1875
+ domains: import("../types.js").ChainMap<string | {
1889
1876
  type: import("../index.js").HookType.PROTOCOL_FEE;
1890
1877
  owner: string;
1891
- protocolFee: string;
1892
1878
  beneficiary: string;
1893
1879
  maxProtocolFee: string;
1880
+ protocolFee: string;
1894
1881
  ownerOverrides?: Record<string, string> | undefined;
1882
+ } | {
1883
+ type: import("../index.js").HookType.MERKLE_TREE;
1895
1884
  } | {
1896
1885
  type: import("../index.js").HookType.PAUSABLE;
1897
1886
  owner: string;
@@ -1903,11 +1892,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1903
1892
  nativeBridge: string;
1904
1893
  destinationChain: string;
1905
1894
  ownerOverrides?: Record<string, string> | undefined;
1906
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1907
- } & {
1908
- type: import("../index.js").HookType.FALLBACK_ROUTING;
1909
- fallback: string | {
1910
- type: import("../index.js").HookType.MERKLE_TREE;
1911
1895
  } | {
1912
1896
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1913
1897
  owner: string;
@@ -1919,13 +1903,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1919
1903
  tokenExchangeRate: string;
1920
1904
  }>;
1921
1905
  ownerOverrides?: Record<string, string> | undefined;
1922
- } | {
1906
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1907
+ } & {
1908
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
1909
+ fallback: string | {
1923
1910
  type: import("../index.js").HookType.PROTOCOL_FEE;
1924
1911
  owner: string;
1925
- protocolFee: string;
1926
1912
  beneficiary: string;
1927
1913
  maxProtocolFee: string;
1914
+ protocolFee: string;
1928
1915
  ownerOverrides?: Record<string, string> | undefined;
1916
+ } | {
1917
+ type: import("../index.js").HookType.MERKLE_TREE;
1929
1918
  } | {
1930
1919
  type: import("../index.js").HookType.PAUSABLE;
1931
1920
  owner: string;
@@ -1937,13 +1926,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1937
1926
  nativeBridge: string;
1938
1927
  destinationChain: string;
1939
1928
  ownerOverrides?: Record<string, string> | undefined;
1940
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1941
- }) | (string & import("../index.js").AggregationHookConfig) | ({
1942
- owner: string;
1943
- ownerOverrides?: Record<string, string> | undefined;
1944
- } & {
1945
- domains: import("../types.js").ChainMap<string | {
1946
- type: import("../index.js").HookType.MERKLE_TREE;
1947
1929
  } | {
1948
1930
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1949
1931
  owner: string;
@@ -1955,13 +1937,20 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1955
1937
  tokenExchangeRate: string;
1956
1938
  }>;
1957
1939
  ownerOverrides?: Record<string, string> | undefined;
1958
- } | {
1940
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
1941
+ }) | (string & import("../index.js").AggregationHookConfig) | ({
1942
+ owner: string;
1943
+ ownerOverrides?: Record<string, string> | undefined;
1944
+ } & {
1945
+ domains: import("../types.js").ChainMap<string | {
1959
1946
  type: import("../index.js").HookType.PROTOCOL_FEE;
1960
1947
  owner: string;
1961
- protocolFee: string;
1962
1948
  beneficiary: string;
1963
1949
  maxProtocolFee: string;
1950
+ protocolFee: string;
1964
1951
  ownerOverrides?: Record<string, string> | undefined;
1952
+ } | {
1953
+ type: import("../index.js").HookType.MERKLE_TREE;
1965
1954
  } | {
1966
1955
  type: import("../index.js").HookType.PAUSABLE;
1967
1956
  owner: string;
@@ -1973,15 +1962,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1973
1962
  nativeBridge: string;
1974
1963
  destinationChain: string;
1975
1964
  ownerOverrides?: Record<string, string> | undefined;
1976
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1977
- } & {
1978
- type: import("../index.js").HookType.ROUTING;
1979
- } & string) | ({
1980
- owner: string;
1981
- ownerOverrides?: Record<string, string> | undefined;
1982
- } & {
1983
- domains: import("../types.js").ChainMap<string | {
1984
- type: import("../index.js").HookType.MERKLE_TREE;
1985
1965
  } | {
1986
1966
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1987
1967
  owner: string;
@@ -1993,13 +1973,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
1993
1973
  tokenExchangeRate: string;
1994
1974
  }>;
1995
1975
  ownerOverrides?: Record<string, string> | undefined;
1996
- } | {
1976
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
1977
+ } & {
1978
+ type: import("../index.js").HookType.ROUTING;
1979
+ } & string) | ({
1980
+ owner: string;
1981
+ ownerOverrides?: Record<string, string> | undefined;
1982
+ } & {
1983
+ domains: import("../types.js").ChainMap<string | {
1997
1984
  type: import("../index.js").HookType.PROTOCOL_FEE;
1998
1985
  owner: string;
1999
- protocolFee: string;
2000
1986
  beneficiary: string;
2001
1987
  maxProtocolFee: string;
1988
+ protocolFee: string;
2002
1989
  ownerOverrides?: Record<string, string> | undefined;
1990
+ } | {
1991
+ type: import("../index.js").HookType.MERKLE_TREE;
2003
1992
  } | {
2004
1993
  type: import("../index.js").HookType.PAUSABLE;
2005
1994
  owner: string;
@@ -2011,15 +2000,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2011
2000
  nativeBridge: string;
2012
2001
  destinationChain: string;
2013
2002
  ownerOverrides?: Record<string, string> | undefined;
2014
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
2015
- } & {
2016
- type: import("../index.js").HookType.ROUTING;
2017
- }) | ({
2018
- owner: string;
2019
- ownerOverrides?: Record<string, string> | undefined;
2020
- } & {
2021
- domains: import("../types.js").ChainMap<string | {
2022
- type: import("../index.js").HookType.MERKLE_TREE;
2023
2003
  } | {
2024
2004
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
2025
2005
  owner: string;
@@ -2031,13 +2011,22 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2031
2011
  tokenExchangeRate: string;
2032
2012
  }>;
2033
2013
  ownerOverrides?: Record<string, string> | undefined;
2034
- } | {
2014
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
2015
+ } & {
2016
+ type: import("../index.js").HookType.ROUTING;
2017
+ }) | ({
2018
+ owner: string;
2019
+ ownerOverrides?: Record<string, string> | undefined;
2020
+ } & {
2021
+ domains: import("../types.js").ChainMap<string | {
2035
2022
  type: import("../index.js").HookType.PROTOCOL_FEE;
2036
2023
  owner: string;
2037
- protocolFee: string;
2038
2024
  beneficiary: string;
2039
2025
  maxProtocolFee: string;
2026
+ protocolFee: string;
2040
2027
  ownerOverrides?: Record<string, string> | undefined;
2028
+ } | {
2029
+ type: import("../index.js").HookType.MERKLE_TREE;
2041
2030
  } | {
2042
2031
  type: import("../index.js").HookType.PAUSABLE;
2043
2032
  owner: string;
@@ -2049,11 +2038,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2049
2038
  nativeBridge: string;
2050
2039
  destinationChain: string;
2051
2040
  ownerOverrides?: Record<string, string> | undefined;
2052
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
2053
- } & {
2054
- type: import("../index.js").HookType.FALLBACK_ROUTING;
2055
- fallback: string | {
2056
- type: import("../index.js").HookType.MERKLE_TREE;
2057
2041
  } | {
2058
2042
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
2059
2043
  owner: string;
@@ -2065,13 +2049,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2065
2049
  tokenExchangeRate: string;
2066
2050
  }>;
2067
2051
  ownerOverrides?: Record<string, string> | undefined;
2068
- } | {
2052
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
2053
+ } & {
2054
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
2055
+ fallback: string | {
2069
2056
  type: import("../index.js").HookType.PROTOCOL_FEE;
2070
2057
  owner: string;
2071
- protocolFee: string;
2072
2058
  beneficiary: string;
2073
2059
  maxProtocolFee: string;
2060
+ protocolFee: string;
2074
2061
  ownerOverrides?: Record<string, string> | undefined;
2062
+ } | {
2063
+ type: import("../index.js").HookType.MERKLE_TREE;
2075
2064
  } | {
2076
2065
  type: import("../index.js").HookType.PAUSABLE;
2077
2066
  owner: string;
@@ -2083,13 +2072,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2083
2072
  nativeBridge: string;
2084
2073
  destinationChain: string;
2085
2074
  ownerOverrides?: Record<string, string> | undefined;
2086
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
2087
- } & string) | ({
2088
- owner: string;
2089
- ownerOverrides?: Record<string, string> | undefined;
2090
- } & {
2091
- domains: import("../types.js").ChainMap<string | {
2092
- type: import("../index.js").HookType.MERKLE_TREE;
2093
2075
  } | {
2094
2076
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
2095
2077
  owner: string;
@@ -2101,13 +2083,20 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2101
2083
  tokenExchangeRate: string;
2102
2084
  }>;
2103
2085
  ownerOverrides?: Record<string, string> | undefined;
2104
- } | {
2086
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
2087
+ } & string) | ({
2088
+ owner: string;
2089
+ ownerOverrides?: Record<string, string> | undefined;
2090
+ } & {
2091
+ domains: import("../types.js").ChainMap<string | {
2105
2092
  type: import("../index.js").HookType.PROTOCOL_FEE;
2106
2093
  owner: string;
2107
- protocolFee: string;
2108
2094
  beneficiary: string;
2109
2095
  maxProtocolFee: string;
2096
+ protocolFee: string;
2110
2097
  ownerOverrides?: Record<string, string> | undefined;
2098
+ } | {
2099
+ type: import("../index.js").HookType.MERKLE_TREE;
2111
2100
  } | {
2112
2101
  type: import("../index.js").HookType.PAUSABLE;
2113
2102
  owner: string;
@@ -2119,11 +2108,6 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2119
2108
  nativeBridge: string;
2120
2109
  destinationChain: string;
2121
2110
  ownerOverrides?: Record<string, string> | undefined;
2122
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
2123
- } & {
2124
- type: import("../index.js").HookType.FALLBACK_ROUTING;
2125
- fallback: string | {
2126
- type: import("../index.js").HookType.MERKLE_TREE;
2127
2111
  } | {
2128
2112
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
2129
2113
  owner: string;
@@ -2135,13 +2119,18 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2135
2119
  tokenExchangeRate: string;
2136
2120
  }>;
2137
2121
  ownerOverrides?: Record<string, string> | undefined;
2138
- } | {
2122
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig>;
2123
+ } & {
2124
+ type: import("../index.js").HookType.FALLBACK_ROUTING;
2125
+ fallback: string | {
2139
2126
  type: import("../index.js").HookType.PROTOCOL_FEE;
2140
2127
  owner: string;
2141
- protocolFee: string;
2142
2128
  beneficiary: string;
2143
2129
  maxProtocolFee: string;
2130
+ protocolFee: string;
2144
2131
  ownerOverrides?: Record<string, string> | undefined;
2132
+ } | {
2133
+ type: import("../index.js").HookType.MERKLE_TREE;
2145
2134
  } | {
2146
2135
  type: import("../index.js").HookType.PAUSABLE;
2147
2136
  owner: string;
@@ -2153,27 +2142,27 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2153
2142
  nativeBridge: string;
2154
2143
  destinationChain: string;
2155
2144
  ownerOverrides?: Record<string, string> | undefined;
2145
+ } | {
2146
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
2147
+ owner: string;
2148
+ beneficiary: string;
2149
+ oracleKey: string;
2150
+ overhead: Record<string, number>;
2151
+ oracleConfig: Record<string, {
2152
+ gasPrice: string;
2153
+ tokenExchangeRate: string;
2154
+ }>;
2155
+ ownerOverrides?: Record<string, string> | undefined;
2156
2156
  } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig;
2157
2157
  }) | (import("../index.js").AggregationHookConfig & string) | (string & {
2158
- type: import("../index.js").HookType.MERKLE_TREE;
2159
- }) | (string & {
2160
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
2161
- owner: string;
2162
- beneficiary: string;
2163
- oracleKey: string;
2164
- overhead: Record<string, number>;
2165
- oracleConfig: Record<string, {
2166
- gasPrice: string;
2167
- tokenExchangeRate: string;
2168
- }>;
2169
- ownerOverrides?: Record<string, string> | undefined;
2170
- }) | (string & {
2171
2158
  type: import("../index.js").HookType.PROTOCOL_FEE;
2172
2159
  owner: string;
2173
- protocolFee: string;
2174
2160
  beneficiary: string;
2175
2161
  maxProtocolFee: string;
2162
+ protocolFee: string;
2176
2163
  ownerOverrides?: Record<string, string> | undefined;
2164
+ }) | (string & {
2165
+ type: import("../index.js").HookType.MERKLE_TREE;
2177
2166
  }) | (string & {
2178
2167
  type: import("../index.js").HookType.PAUSABLE;
2179
2168
  owner: string;
@@ -2185,9 +2174,7 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2185
2174
  nativeBridge: string;
2186
2175
  destinationChain: string;
2187
2176
  ownerOverrides?: Record<string, string> | undefined;
2188
- }) | ({
2189
- type: import("../index.js").HookType.MERKLE_TREE;
2190
- } & string) | ({
2177
+ }) | (string & {
2191
2178
  type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
2192
2179
  owner: string;
2193
2180
  beneficiary: string;
@@ -2198,13 +2185,15 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2198
2185
  tokenExchangeRate: string;
2199
2186
  }>;
2200
2187
  ownerOverrides?: Record<string, string> | undefined;
2201
- } & string) | ({
2188
+ }) | ({
2202
2189
  type: import("../index.js").HookType.PROTOCOL_FEE;
2203
2190
  owner: string;
2204
- protocolFee: string;
2205
2191
  beneficiary: string;
2206
2192
  maxProtocolFee: string;
2193
+ protocolFee: string;
2207
2194
  ownerOverrides?: Record<string, string> | undefined;
2195
+ } & string) | ({
2196
+ type: import("../index.js").HookType.MERKLE_TREE;
2208
2197
  } & string) | ({
2209
2198
  type: import("../index.js").HookType.PAUSABLE;
2210
2199
  owner: string;
@@ -2216,6 +2205,17 @@ export declare const CoreConfigSchema: import("zod").ZodObject<{
2216
2205
  nativeBridge: string;
2217
2206
  destinationChain: string;
2218
2207
  ownerOverrides?: Record<string, string> | undefined;
2208
+ } & string) | ({
2209
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
2210
+ owner: string;
2211
+ beneficiary: string;
2212
+ oracleKey: string;
2213
+ overhead: Record<string, number>;
2214
+ oracleConfig: Record<string, {
2215
+ gasPrice: string;
2216
+ tokenExchangeRate: string;
2217
+ }>;
2218
+ ownerOverrides?: Record<string, string> | undefined;
2219
2219
  } & string);
2220
2220
  ownerOverrides?: Record<string, string> | undefined;
2221
2221
  }>;