@hyperlane-xyz/sdk 1.5.3 → 1.5.5-beta0

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 (225) hide show
  1. package/dist/consts/chainMetadata.d.ts +5 -0
  2. package/dist/consts/chainMetadata.d.ts.map +1 -1
  3. package/dist/consts/chainMetadata.js +133 -5
  4. package/dist/consts/chainMetadata.js.map +1 -1
  5. package/dist/consts/chains.d.ts +11 -6
  6. package/dist/consts/chains.d.ts.map +1 -1
  7. package/dist/consts/chains.js +15 -7
  8. package/dist/consts/chains.js.map +1 -1
  9. package/dist/consts/environments/index.d.ts +387 -61
  10. package/dist/consts/environments/index.d.ts.map +1 -1
  11. package/dist/consts/environments/index.js +7 -3
  12. package/dist/consts/environments/index.js.map +1 -1
  13. package/dist/consts/environments/mainnet.json +0 -17
  14. package/dist/consts/environments/testnet-sealevel.json +19 -0
  15. package/dist/consts/environments/testnet.json +181 -167
  16. package/dist/consts/multisigIsm.d.ts +2 -2
  17. package/dist/consts/multisigIsm.d.ts.map +1 -1
  18. package/dist/consts/multisigIsm.js +61 -58
  19. package/dist/consts/multisigIsm.js.map +1 -1
  20. package/dist/contracts/contracts.d.ts +2 -7
  21. package/dist/contracts/contracts.d.ts.map +1 -1
  22. package/dist/contracts/contracts.js +7 -31
  23. package/dist/contracts/contracts.js.map +1 -1
  24. package/dist/core/CoreDeployer.hardhat-test.js +4 -4
  25. package/dist/core/CoreDeployer.hardhat-test.js.map +1 -1
  26. package/dist/core/HyperlaneCore.d.ts +5 -1
  27. package/dist/core/HyperlaneCore.d.ts.map +1 -1
  28. package/dist/core/HyperlaneCore.js +13 -0
  29. package/dist/core/HyperlaneCore.js.map +1 -1
  30. package/dist/core/HyperlaneCoreChecker.d.ts.map +1 -1
  31. package/dist/core/HyperlaneCoreChecker.js +3 -3
  32. package/dist/core/HyperlaneCoreChecker.js.map +1 -1
  33. package/dist/core/HyperlaneCoreDeployer.d.ts +7 -2
  34. package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
  35. package/dist/core/HyperlaneCoreDeployer.js +47 -27
  36. package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
  37. package/dist/core/MultiProtocolCore.d.ts.map +1 -1
  38. package/dist/core/MultiProtocolCore.js +1 -0
  39. package/dist/core/MultiProtocolCore.js.map +1 -1
  40. package/dist/core/TestCoreApp.d.ts +0 -1
  41. package/dist/core/TestCoreApp.d.ts.map +1 -1
  42. package/dist/core/contracts.d.ts +3 -9
  43. package/dist/core/contracts.d.ts.map +1 -1
  44. package/dist/core/contracts.js +0 -1
  45. package/dist/core/contracts.js.map +1 -1
  46. package/dist/core/testHyperlaneDeploy.hardhat-test.js +3 -2
  47. package/dist/core/testHyperlaneDeploy.hardhat-test.js.map +1 -1
  48. package/dist/core/types.d.ts +4 -1
  49. package/dist/core/types.d.ts.map +1 -1
  50. package/dist/core/types.js.map +1 -1
  51. package/dist/deploy/HyperlaneAppChecker.d.ts +0 -1
  52. package/dist/deploy/HyperlaneAppChecker.d.ts.map +1 -1
  53. package/dist/deploy/HyperlaneAppChecker.js +5 -30
  54. package/dist/deploy/HyperlaneAppChecker.js.map +1 -1
  55. package/dist/deploy/HyperlaneDeployer.d.ts +7 -5
  56. package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
  57. package/dist/deploy/HyperlaneDeployer.js +28 -25
  58. package/dist/deploy/HyperlaneDeployer.js.map +1 -1
  59. package/dist/deploy/HyperlaneProxyFactoryDeployer.d.ts +10 -0
  60. package/dist/deploy/HyperlaneProxyFactoryDeployer.d.ts.map +1 -0
  61. package/dist/deploy/HyperlaneProxyFactoryDeployer.js +30 -0
  62. package/dist/deploy/HyperlaneProxyFactoryDeployer.js.map +1 -0
  63. package/dist/deploy/contracts.d.ts +13 -0
  64. package/dist/deploy/contracts.d.ts.map +1 -0
  65. package/dist/deploy/contracts.js +20 -0
  66. package/dist/deploy/contracts.js.map +1 -0
  67. package/dist/gas/HyperlaneIgp.js +1 -1
  68. package/dist/gas/HyperlaneIgp.js.map +1 -1
  69. package/dist/gas/HyperlaneIgpChecker.d.ts +2 -2
  70. package/dist/gas/HyperlaneIgpChecker.d.ts.map +1 -1
  71. package/dist/gas/HyperlaneIgpChecker.js +10 -27
  72. package/dist/gas/HyperlaneIgpChecker.js.map +1 -1
  73. package/dist/gas/HyperlaneIgpDeployer.d.ts +4 -6
  74. package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
  75. package/dist/gas/HyperlaneIgpDeployer.js +12 -43
  76. package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
  77. package/dist/gas/contracts.d.ts +2 -4
  78. package/dist/gas/contracts.d.ts.map +1 -1
  79. package/dist/gas/contracts.js +1 -3
  80. package/dist/gas/contracts.js.map +1 -1
  81. package/dist/gas/types.d.ts +2 -6
  82. package/dist/gas/types.d.ts.map +1 -1
  83. package/dist/gas/types.js.map +1 -1
  84. package/dist/hook/HyperlaneHookDeployer.d.ts +28 -10
  85. package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
  86. package/dist/hook/HyperlaneHookDeployer.js +51 -70
  87. package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
  88. package/dist/hook/contracts.d.ts +6 -17
  89. package/dist/hook/contracts.d.ts.map +1 -1
  90. package/dist/hook/contracts.js +6 -13
  91. package/dist/hook/contracts.js.map +1 -1
  92. package/dist/hook/types.d.ts +24 -13
  93. package/dist/hook/types.d.ts.map +1 -1
  94. package/dist/hook/types.js +8 -6
  95. package/dist/hook/types.js.map +1 -1
  96. package/dist/index.d.ts +18 -12
  97. package/dist/index.d.ts.map +1 -1
  98. package/dist/index.js +37 -21
  99. package/dist/index.js.map +1 -1
  100. package/dist/ism/HyperlaneIsmFactory.d.ts +5 -4
  101. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  102. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +3 -3
  103. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
  104. package/dist/ism/HyperlaneIsmFactory.js +18 -59
  105. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  106. package/dist/ism/contracts.d.ts +4 -3
  107. package/dist/ism/contracts.d.ts.map +1 -1
  108. package/dist/ism/contracts.js +3 -2
  109. package/dist/ism/contracts.js.map +1 -1
  110. package/dist/ism/types.d.ts +6 -4
  111. package/dist/ism/types.d.ts.map +1 -1
  112. package/dist/ism/types.js.map +1 -1
  113. package/dist/metadata/ChainMetadataManager.d.ts +0 -10
  114. package/dist/metadata/ChainMetadataManager.d.ts.map +1 -1
  115. package/dist/metadata/ChainMetadataManager.js +2 -14
  116. package/dist/metadata/ChainMetadataManager.js.map +1 -1
  117. package/dist/metadata/agentConfig.d.ts +523 -1348
  118. package/dist/metadata/agentConfig.d.ts.map +1 -1
  119. package/dist/metadata/agentConfig.js +61 -94
  120. package/dist/metadata/agentConfig.js.map +1 -1
  121. package/dist/metadata/agentConfig.test.js +9 -9
  122. package/dist/metadata/agentConfig.test.js.map +1 -1
  123. package/dist/metadata/chainMetadataTypes.d.ts +1 -1
  124. package/dist/metadata/chainMetadataTypes.js +4 -4
  125. package/dist/metadata/chainMetadataTypes.js.map +1 -1
  126. package/dist/metadata/deploymentArtifacts.d.ts +5 -2
  127. package/dist/metadata/deploymentArtifacts.d.ts.map +1 -1
  128. package/dist/metadata/deploymentArtifacts.js +1 -0
  129. package/dist/metadata/deploymentArtifacts.js.map +1 -1
  130. package/dist/metadata/matchingList.d.ts +1 -1
  131. package/dist/metadata/matchingList.d.ts.map +1 -1
  132. package/dist/metadata/matchingList.js +1 -1
  133. package/dist/metadata/matchingList.js.map +1 -1
  134. package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
  135. package/dist/middleware/account/InterchainAccount.js +1 -4
  136. package/dist/middleware/account/InterchainAccount.js.map +1 -1
  137. package/dist/middleware/account/InterchainAccountDeployer.d.ts +2 -7
  138. package/dist/middleware/account/InterchainAccountDeployer.d.ts.map +1 -1
  139. package/dist/middleware/account/InterchainAccountDeployer.js +4 -9
  140. package/dist/middleware/account/InterchainAccountDeployer.js.map +1 -1
  141. package/dist/middleware/account/accounts.hardhat-test.js +3 -5
  142. package/dist/middleware/account/accounts.hardhat-test.js.map +1 -1
  143. package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.d.ts +2 -7
  144. package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.d.ts.map +1 -1
  145. package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.js +7 -11
  146. package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.js.map +1 -1
  147. package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.js +3 -7
  148. package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.js.map +1 -1
  149. package/dist/middleware/query/InterchainQueryDeployer.d.ts +2 -7
  150. package/dist/middleware/query/InterchainQueryDeployer.d.ts.map +1 -1
  151. package/dist/middleware/query/InterchainQueryDeployer.js +3 -4
  152. package/dist/middleware/query/InterchainQueryDeployer.js.map +1 -1
  153. package/dist/middleware/query/queries.hardhat-test.js +4 -9
  154. package/dist/middleware/query/queries.hardhat-test.js.map +1 -1
  155. package/dist/providers/MultiProvider.d.ts +6 -1
  156. package/dist/providers/MultiProvider.d.ts.map +1 -1
  157. package/dist/providers/MultiProvider.js +11 -0
  158. package/dist/providers/MultiProvider.js.map +1 -1
  159. package/dist/router/GasRouterDeployer.d.ts.map +1 -1
  160. package/dist/router/GasRouterDeployer.js +1 -1
  161. package/dist/router/GasRouterDeployer.js.map +1 -1
  162. package/dist/router/HyperlaneRouterChecker.d.ts +2 -6
  163. package/dist/router/HyperlaneRouterChecker.d.ts.map +1 -1
  164. package/dist/router/HyperlaneRouterChecker.js +12 -47
  165. package/dist/router/HyperlaneRouterChecker.js.map +1 -1
  166. package/dist/router/HyperlaneRouterDeployer.d.ts +1 -1
  167. package/dist/router/HyperlaneRouterDeployer.d.ts.map +1 -1
  168. package/dist/router/HyperlaneRouterDeployer.js +15 -18
  169. package/dist/router/HyperlaneRouterDeployer.js.map +1 -1
  170. package/dist/router/ProxiedRouterChecker.js +1 -1
  171. package/dist/router/ProxiedRouterChecker.js.map +1 -1
  172. package/dist/router/RouterApps.d.ts +1 -7
  173. package/dist/router/RouterApps.d.ts.map +1 -1
  174. package/dist/router/RouterApps.js +0 -17
  175. package/dist/router/RouterApps.js.map +1 -1
  176. package/dist/router/types.d.ts +14 -23
  177. package/dist/router/types.d.ts.map +1 -1
  178. package/dist/router/types.js +7 -11
  179. package/dist/router/types.js.map +1 -1
  180. package/dist/test/testUtils.d.ts +0 -2
  181. package/dist/test/testUtils.d.ts.map +1 -1
  182. package/dist/test/testUtils.js +15 -20
  183. package/dist/test/testUtils.js.map +1 -1
  184. package/dist/token/adapters/EvmTokenAdapter.d.ts +65 -0
  185. package/dist/token/adapters/EvmTokenAdapter.d.ts.map +1 -0
  186. package/dist/token/adapters/EvmTokenAdapter.js +119 -0
  187. package/dist/token/adapters/EvmTokenAdapter.js.map +1 -0
  188. package/dist/token/adapters/ITokenAdapter.d.ts +30 -0
  189. package/dist/token/adapters/ITokenAdapter.d.ts.map +1 -0
  190. package/dist/token/adapters/ITokenAdapter.js +3 -0
  191. package/dist/token/adapters/ITokenAdapter.js.map +1 -0
  192. package/dist/token/adapters/SealevelTokenAdapter.d.ts +117 -0
  193. package/dist/token/adapters/SealevelTokenAdapter.d.ts.map +1 -0
  194. package/dist/token/adapters/SealevelTokenAdapter.js +423 -0
  195. package/dist/token/adapters/SealevelTokenAdapter.js.map +1 -0
  196. package/dist/token/adapters/serialization.d.ts +50 -0
  197. package/dist/token/adapters/serialization.d.ts.map +1 -0
  198. package/dist/token/adapters/serialization.js +117 -0
  199. package/dist/token/adapters/serialization.js.map +1 -0
  200. package/dist/token/config.d.ts +45 -0
  201. package/dist/token/config.d.ts.map +1 -0
  202. package/dist/token/config.js +26 -0
  203. package/dist/token/config.js.map +1 -0
  204. package/dist/token/contracts.d.ts +9 -0
  205. package/dist/token/contracts.d.ts.map +1 -0
  206. package/dist/token/contracts.js +3 -0
  207. package/dist/token/contracts.js.map +1 -0
  208. package/dist/token/deploy.d.ts +40 -0
  209. package/dist/token/deploy.d.ts.map +1 -0
  210. package/dist/token/deploy.js +243 -0
  211. package/dist/token/deploy.js.map +1 -0
  212. package/package.json +9 -7
  213. package/dist/consts/agentStartBlocks.d.ts +0 -3
  214. package/dist/consts/agentStartBlocks.d.ts.map +0 -1
  215. package/dist/consts/agentStartBlocks.js +0 -28
  216. package/dist/consts/agentStartBlocks.js.map +0 -1
  217. package/dist/consts/environments/test.json +0 -41
  218. package/dist/hook/config.d.ts +0 -4
  219. package/dist/hook/config.d.ts.map +0 -1
  220. package/dist/hook/config.js +0 -9
  221. package/dist/hook/config.js.map +0 -1
  222. package/dist/ism/HyperlaneIsmFactoryDeployer.d.ts +0 -11
  223. package/dist/ism/HyperlaneIsmFactoryDeployer.d.ts.map +0 -1
  224. package/dist/ism/HyperlaneIsmFactoryDeployer.js +0 -39
  225. package/dist/ism/HyperlaneIsmFactoryDeployer.js.map +0 -1
@@ -3,17 +3,11 @@
3
3
  * ANY CHANGES HERE NEED TO BE REFLECTED IN HYPERLANE-BASE CONFIG PARSING.
4
4
  */
5
5
  import { z } from 'zod';
6
- import { ProtocolType } from '@hyperlane-xyz/utils';
7
6
  import { MultiProvider } from '../providers/MultiProvider';
8
7
  import { ChainMap, ChainName } from '../types';
9
8
  import { HyperlaneDeploymentArtifacts } from './deploymentArtifacts';
10
- export declare enum AgentConnectionType {
11
- Http = "http",
12
- Ws = "ws",
13
- HttpQuorum = "httpQuorum",
14
- HttpFallback = "httpFallback"
15
- }
16
- export declare enum AgentConsensusType {
9
+ export declare enum RpcConsensusType {
10
+ Single = "single",
17
11
  Fallback = "fallback",
18
12
  Quorum = "quorum"
19
13
  }
@@ -35,41 +29,78 @@ export declare enum AgentIndexMode {
35
29
  Block = "block",
36
30
  Sequence = "sequence"
37
31
  }
38
- export declare const AgentSignerSchema: z.ZodUnion<[z.ZodObject<{
39
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
32
+ export declare enum AgentSignerKeyType {
33
+ Aws = "aws",
34
+ Hex = "hexKey",
35
+ Node = "node"
36
+ }
37
+ declare const AgentSignerHexKeySchema: z.ZodObject<{
38
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
39
+ key: z.ZodString;
40
+ }, "strip", z.ZodTypeAny, {
41
+ key: string;
42
+ type?: AgentSignerKeyType.Hex | undefined;
43
+ }, {
44
+ key: string;
45
+ type?: AgentSignerKeyType.Hex | undefined;
46
+ }>;
47
+ declare const AgentSignerAwsKeySchema: z.ZodObject<{
48
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
49
+ id: z.ZodString;
50
+ region: z.ZodString;
51
+ }, "strip", z.ZodTypeAny, {
52
+ id: string;
53
+ region: string;
54
+ type?: AgentSignerKeyType.Aws | undefined;
55
+ }, {
56
+ id: string;
57
+ region: string;
58
+ type?: AgentSignerKeyType.Aws | undefined;
59
+ }>;
60
+ declare const AgentSignerNodeSchema: z.ZodObject<{
61
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ type: AgentSignerKeyType.Node;
64
+ }, {
65
+ type: AgentSignerKeyType.Node;
66
+ }>;
67
+ declare const AgentSignerSchema: z.ZodUnion<[z.ZodObject<{
68
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
40
69
  key: z.ZodString;
41
70
  }, "strip", z.ZodTypeAny, {
42
71
  key: string;
43
- type?: "hexKey" | undefined;
72
+ type?: AgentSignerKeyType.Hex | undefined;
44
73
  }, {
45
74
  key: string;
46
- type?: "hexKey" | undefined;
75
+ type?: AgentSignerKeyType.Hex | undefined;
47
76
  }>, z.ZodObject<{
48
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
77
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
49
78
  id: z.ZodString;
50
79
  region: z.ZodString;
51
80
  }, "strip", z.ZodTypeAny, {
52
81
  id: string;
53
82
  region: string;
54
- type?: "aws" | undefined;
83
+ type?: AgentSignerKeyType.Aws | undefined;
55
84
  }, {
56
85
  id: string;
57
86
  region: string;
58
- type?: "aws" | undefined;
87
+ type?: AgentSignerKeyType.Aws | undefined;
59
88
  }>, z.ZodObject<{
60
- type: z.ZodLiteral<"node">;
89
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
61
90
  }, "strip", z.ZodTypeAny, {
62
- type: "node";
91
+ type: AgentSignerKeyType.Node;
63
92
  }, {
64
- type: "node";
93
+ type: AgentSignerKeyType.Node;
65
94
  }>]>;
66
- export type AgentSignerV2 = z.infer<typeof AgentSignerSchema>;
95
+ export type AgentSignerHexKey = z.infer<typeof AgentSignerHexKeySchema>;
96
+ export type AgentSignerAwsKey = z.infer<typeof AgentSignerAwsKeySchema>;
97
+ export type AgentSignerNode = z.infer<typeof AgentSignerNodeSchema>;
98
+ export type AgentSigner = z.infer<typeof AgentSignerSchema>;
67
99
  export declare const AgentChainMetadataSchema: z.ZodObject<{
68
100
  name: z.ZodString;
69
- protocol: z.ZodNativeEnum<typeof ProtocolType>;
101
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
70
102
  chainId: z.ZodNumber;
71
103
  interchainSecurityModule: z.ZodOptional<z.ZodString>;
72
- interchainGasPaymaster: z.ZodString;
73
104
  mailbox: z.ZodString;
74
105
  domainId: z.ZodOptional<z.ZodNumber>;
75
106
  displayName: z.ZodOptional<z.ZodString>;
@@ -176,114 +207,37 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
176
207
  gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
177
208
  isTestnet: z.ZodOptional<z.ZodBoolean>;
178
209
  validatorAnnounce: z.ZodString;
179
- customRpcUrls: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
180
- http: z.ZodString;
181
- webSocket: z.ZodOptional<z.ZodString>;
182
- pagination: z.ZodOptional<z.ZodObject<{
183
- maxBlockRange: z.ZodOptional<z.ZodNumber>;
184
- minBlockNumber: z.ZodOptional<z.ZodNumber>;
185
- maxBlockAge: z.ZodOptional<z.ZodNumber>;
186
- }, "strip", z.ZodTypeAny, {
187
- maxBlockRange?: number | undefined;
188
- minBlockNumber?: number | undefined;
189
- maxBlockAge?: number | undefined;
190
- }, {
191
- maxBlockRange?: number | undefined;
192
- minBlockNumber?: number | undefined;
193
- maxBlockAge?: number | undefined;
194
- }>>;
195
- retry: z.ZodOptional<z.ZodObject<{
196
- maxRequests: z.ZodNumber;
197
- baseRetryMs: z.ZodNumber;
198
- }, "strip", z.ZodTypeAny, {
199
- maxRequests: number;
200
- baseRetryMs: number;
201
- }, {
202
- maxRequests: number;
203
- baseRetryMs: number;
204
- }>>;
205
- priority: z.ZodOptional<z.ZodNumber>;
206
- }, "strip", z.ZodTypeAny, {
207
- http: string;
208
- webSocket?: string | undefined;
209
- pagination?: {
210
- maxBlockRange?: number | undefined;
211
- minBlockNumber?: number | undefined;
212
- maxBlockAge?: number | undefined;
213
- } | undefined;
214
- retry?: {
215
- maxRequests: number;
216
- baseRetryMs: number;
217
- } | undefined;
218
- priority?: number | undefined;
219
- }, {
220
- http: string;
221
- webSocket?: string | undefined;
222
- pagination?: {
223
- maxBlockRange?: number | undefined;
224
- minBlockNumber?: number | undefined;
225
- maxBlockAge?: number | undefined;
226
- } | undefined;
227
- retry?: {
228
- maxRequests: number;
229
- baseRetryMs: number;
230
- } | undefined;
231
- priority?: number | undefined;
232
- }>>, Record<string, {
233
- http: string;
234
- webSocket?: string | undefined;
235
- pagination?: {
236
- maxBlockRange?: number | undefined;
237
- minBlockNumber?: number | undefined;
238
- maxBlockAge?: number | undefined;
239
- } | undefined;
240
- retry?: {
241
- maxRequests: number;
242
- baseRetryMs: number;
243
- } | undefined;
244
- priority?: number | undefined;
245
- }>, Record<string, {
246
- http: string;
247
- webSocket?: string | undefined;
248
- pagination?: {
249
- maxBlockRange?: number | undefined;
250
- minBlockNumber?: number | undefined;
251
- maxBlockAge?: number | undefined;
252
- } | undefined;
253
- retry?: {
254
- maxRequests: number;
255
- baseRetryMs: number;
256
- } | undefined;
257
- priority?: number | undefined;
258
- }>>>;
259
- rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
210
+ merkleTreeHook: z.ZodString;
211
+ interchainGasPaymaster: z.ZodString;
212
+ customRpcUrls: z.ZodOptional<z.ZodString>;
213
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
260
214
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
261
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
215
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
262
216
  key: z.ZodString;
263
217
  }, "strip", z.ZodTypeAny, {
264
218
  key: string;
265
- type?: "hexKey" | undefined;
219
+ type?: AgentSignerKeyType.Hex | undefined;
266
220
  }, {
267
221
  key: string;
268
- type?: "hexKey" | undefined;
222
+ type?: AgentSignerKeyType.Hex | undefined;
269
223
  }>, z.ZodObject<{
270
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
224
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
271
225
  id: z.ZodString;
272
226
  region: z.ZodString;
273
227
  }, "strip", z.ZodTypeAny, {
274
228
  id: string;
275
229
  region: string;
276
- type?: "aws" | undefined;
230
+ type?: AgentSignerKeyType.Aws | undefined;
277
231
  }, {
278
232
  id: string;
279
233
  region: string;
280
- type?: "aws" | undefined;
234
+ type?: AgentSignerKeyType.Aws | undefined;
281
235
  }>, z.ZodObject<{
282
- type: z.ZodLiteral<"node">;
236
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
283
237
  }, "strip", z.ZodTypeAny, {
284
- type: "node";
238
+ type: AgentSignerKeyType.Node;
285
239
  }, {
286
- type: "node";
240
+ type: AgentSignerKeyType.Node;
287
241
  }>]>>;
288
242
  index: z.ZodOptional<z.ZodObject<{
289
243
  from: z.ZodOptional<z.ZodNumber>;
@@ -300,9 +254,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
300
254
  }>>;
301
255
  }, "strip", z.ZodTypeAny, {
302
256
  name: string;
303
- protocol: ProtocolType;
257
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
304
258
  chainId: number;
305
- interchainGasPaymaster: string;
306
259
  mailbox: string;
307
260
  rpcUrls: [{
308
261
  http: string;
@@ -330,6 +283,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
330
283
  } | undefined;
331
284
  }[]];
332
285
  validatorAnnounce: string;
286
+ merkleTreeHook: string;
287
+ interchainGasPaymaster: string;
333
288
  interchainSecurityModule?: string | undefined;
334
289
  domainId?: number | undefined;
335
290
  displayName?: string | undefined;
@@ -356,30 +311,17 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
356
311
  gasCurrencyCoinGeckoId?: string | undefined;
357
312
  gnosisSafeTransactionServiceUrl?: string | undefined;
358
313
  isTestnet?: boolean | undefined;
359
- customRpcUrls?: Record<string, {
360
- http: string;
361
- webSocket?: string | undefined;
362
- pagination?: {
363
- maxBlockRange?: number | undefined;
364
- minBlockNumber?: number | undefined;
365
- maxBlockAge?: number | undefined;
366
- } | undefined;
367
- retry?: {
368
- maxRequests: number;
369
- baseRetryMs: number;
370
- } | undefined;
371
- priority?: number | undefined;
372
- }> | undefined;
373
- rpcConsensusType?: AgentConsensusType | undefined;
314
+ customRpcUrls?: string | undefined;
315
+ rpcConsensusType?: RpcConsensusType | undefined;
374
316
  signer?: {
375
317
  key: string;
376
- type?: "hexKey" | undefined;
318
+ type?: AgentSignerKeyType.Hex | undefined;
377
319
  } | {
378
320
  id: string;
379
321
  region: string;
380
- type?: "aws" | undefined;
322
+ type?: AgentSignerKeyType.Aws | undefined;
381
323
  } | {
382
- type: "node";
324
+ type: AgentSignerKeyType.Node;
383
325
  } | undefined;
384
326
  index?: {
385
327
  from?: number | undefined;
@@ -388,9 +330,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
388
330
  } | undefined;
389
331
  }, {
390
332
  name: string;
391
- protocol: ProtocolType;
333
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
392
334
  chainId: number;
393
- interchainGasPaymaster: string;
394
335
  mailbox: string;
395
336
  rpcUrls: [{
396
337
  http: string;
@@ -418,6 +359,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
418
359
  } | undefined;
419
360
  }[]];
420
361
  validatorAnnounce: string;
362
+ merkleTreeHook: string;
363
+ interchainGasPaymaster: string;
421
364
  interchainSecurityModule?: string | undefined;
422
365
  domainId?: number | undefined;
423
366
  displayName?: string | undefined;
@@ -444,30 +387,17 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
444
387
  gasCurrencyCoinGeckoId?: string | undefined;
445
388
  gnosisSafeTransactionServiceUrl?: string | undefined;
446
389
  isTestnet?: boolean | undefined;
447
- customRpcUrls?: Record<string, {
448
- http: string;
449
- webSocket?: string | undefined;
450
- pagination?: {
451
- maxBlockRange?: number | undefined;
452
- minBlockNumber?: number | undefined;
453
- maxBlockAge?: number | undefined;
454
- } | undefined;
455
- retry?: {
456
- maxRequests: number;
457
- baseRetryMs: number;
458
- } | undefined;
459
- priority?: number | undefined;
460
- }> | undefined;
461
- rpcConsensusType?: AgentConsensusType | undefined;
390
+ customRpcUrls?: string | undefined;
391
+ rpcConsensusType?: RpcConsensusType | undefined;
462
392
  signer?: {
463
393
  key: string;
464
- type?: "hexKey" | undefined;
394
+ type?: AgentSignerKeyType.Hex | undefined;
465
395
  } | {
466
396
  id: string;
467
397
  region: string;
468
- type?: "aws" | undefined;
398
+ type?: AgentSignerKeyType.Aws | undefined;
469
399
  } | {
470
- type: "node";
400
+ type: AgentSignerKeyType.Node;
471
401
  } | undefined;
472
402
  index?: {
473
403
  from?: number | undefined;
@@ -480,10 +410,9 @@ export declare const AgentConfigSchema: z.ZodObject<{
480
410
  metricsPort: z.ZodOptional<z.ZodNumber>;
481
411
  chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
482
412
  name: z.ZodString;
483
- protocol: z.ZodNativeEnum<typeof ProtocolType>;
413
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
484
414
  chainId: z.ZodNumber;
485
415
  interchainSecurityModule: z.ZodOptional<z.ZodString>;
486
- interchainGasPaymaster: z.ZodString;
487
416
  mailbox: z.ZodString;
488
417
  domainId: z.ZodOptional<z.ZodNumber>;
489
418
  displayName: z.ZodOptional<z.ZodString>;
@@ -590,114 +519,37 @@ export declare const AgentConfigSchema: z.ZodObject<{
590
519
  gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
591
520
  isTestnet: z.ZodOptional<z.ZodBoolean>;
592
521
  validatorAnnounce: z.ZodString;
593
- customRpcUrls: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
594
- http: z.ZodString;
595
- webSocket: z.ZodOptional<z.ZodString>;
596
- pagination: z.ZodOptional<z.ZodObject<{
597
- maxBlockRange: z.ZodOptional<z.ZodNumber>;
598
- minBlockNumber: z.ZodOptional<z.ZodNumber>;
599
- maxBlockAge: z.ZodOptional<z.ZodNumber>;
600
- }, "strip", z.ZodTypeAny, {
601
- maxBlockRange?: number | undefined;
602
- minBlockNumber?: number | undefined;
603
- maxBlockAge?: number | undefined;
604
- }, {
605
- maxBlockRange?: number | undefined;
606
- minBlockNumber?: number | undefined;
607
- maxBlockAge?: number | undefined;
608
- }>>;
609
- retry: z.ZodOptional<z.ZodObject<{
610
- maxRequests: z.ZodNumber;
611
- baseRetryMs: z.ZodNumber;
612
- }, "strip", z.ZodTypeAny, {
613
- maxRequests: number;
614
- baseRetryMs: number;
615
- }, {
616
- maxRequests: number;
617
- baseRetryMs: number;
618
- }>>;
619
- priority: z.ZodOptional<z.ZodNumber>;
620
- }, "strip", z.ZodTypeAny, {
621
- http: string;
622
- webSocket?: string | undefined;
623
- pagination?: {
624
- maxBlockRange?: number | undefined;
625
- minBlockNumber?: number | undefined;
626
- maxBlockAge?: number | undefined;
627
- } | undefined;
628
- retry?: {
629
- maxRequests: number;
630
- baseRetryMs: number;
631
- } | undefined;
632
- priority?: number | undefined;
633
- }, {
634
- http: string;
635
- webSocket?: string | undefined;
636
- pagination?: {
637
- maxBlockRange?: number | undefined;
638
- minBlockNumber?: number | undefined;
639
- maxBlockAge?: number | undefined;
640
- } | undefined;
641
- retry?: {
642
- maxRequests: number;
643
- baseRetryMs: number;
644
- } | undefined;
645
- priority?: number | undefined;
646
- }>>, Record<string, {
647
- http: string;
648
- webSocket?: string | undefined;
649
- pagination?: {
650
- maxBlockRange?: number | undefined;
651
- minBlockNumber?: number | undefined;
652
- maxBlockAge?: number | undefined;
653
- } | undefined;
654
- retry?: {
655
- maxRequests: number;
656
- baseRetryMs: number;
657
- } | undefined;
658
- priority?: number | undefined;
659
- }>, Record<string, {
660
- http: string;
661
- webSocket?: string | undefined;
662
- pagination?: {
663
- maxBlockRange?: number | undefined;
664
- minBlockNumber?: number | undefined;
665
- maxBlockAge?: number | undefined;
666
- } | undefined;
667
- retry?: {
668
- maxRequests: number;
669
- baseRetryMs: number;
670
- } | undefined;
671
- priority?: number | undefined;
672
- }>>>;
673
- rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
522
+ merkleTreeHook: z.ZodString;
523
+ interchainGasPaymaster: z.ZodString;
524
+ customRpcUrls: z.ZodOptional<z.ZodString>;
525
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
674
526
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
675
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
527
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
676
528
  key: z.ZodString;
677
529
  }, "strip", z.ZodTypeAny, {
678
530
  key: string;
679
- type?: "hexKey" | undefined;
531
+ type?: AgentSignerKeyType.Hex | undefined;
680
532
  }, {
681
533
  key: string;
682
- type?: "hexKey" | undefined;
534
+ type?: AgentSignerKeyType.Hex | undefined;
683
535
  }>, z.ZodObject<{
684
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
536
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
685
537
  id: z.ZodString;
686
538
  region: z.ZodString;
687
539
  }, "strip", z.ZodTypeAny, {
688
540
  id: string;
689
541
  region: string;
690
- type?: "aws" | undefined;
542
+ type?: AgentSignerKeyType.Aws | undefined;
691
543
  }, {
692
544
  id: string;
693
545
  region: string;
694
- type?: "aws" | undefined;
546
+ type?: AgentSignerKeyType.Aws | undefined;
695
547
  }>, z.ZodObject<{
696
- type: z.ZodLiteral<"node">;
548
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
697
549
  }, "strip", z.ZodTypeAny, {
698
- type: "node";
550
+ type: AgentSignerKeyType.Node;
699
551
  }, {
700
- type: "node";
552
+ type: AgentSignerKeyType.Node;
701
553
  }>]>>;
702
554
  index: z.ZodOptional<z.ZodObject<{
703
555
  from: z.ZodOptional<z.ZodNumber>;
@@ -714,9 +566,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
714
566
  }>>;
715
567
  }, "strip", z.ZodTypeAny, {
716
568
  name: string;
717
- protocol: ProtocolType;
569
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
718
570
  chainId: number;
719
- interchainGasPaymaster: string;
720
571
  mailbox: string;
721
572
  rpcUrls: [{
722
573
  http: string;
@@ -744,6 +595,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
744
595
  } | undefined;
745
596
  }[]];
746
597
  validatorAnnounce: string;
598
+ merkleTreeHook: string;
599
+ interchainGasPaymaster: string;
747
600
  interchainSecurityModule?: string | undefined;
748
601
  domainId?: number | undefined;
749
602
  displayName?: string | undefined;
@@ -770,30 +623,17 @@ export declare const AgentConfigSchema: z.ZodObject<{
770
623
  gasCurrencyCoinGeckoId?: string | undefined;
771
624
  gnosisSafeTransactionServiceUrl?: string | undefined;
772
625
  isTestnet?: boolean | undefined;
773
- customRpcUrls?: Record<string, {
774
- http: string;
775
- webSocket?: string | undefined;
776
- pagination?: {
777
- maxBlockRange?: number | undefined;
778
- minBlockNumber?: number | undefined;
779
- maxBlockAge?: number | undefined;
780
- } | undefined;
781
- retry?: {
782
- maxRequests: number;
783
- baseRetryMs: number;
784
- } | undefined;
785
- priority?: number | undefined;
786
- }> | undefined;
787
- rpcConsensusType?: AgentConsensusType | undefined;
626
+ customRpcUrls?: string | undefined;
627
+ rpcConsensusType?: RpcConsensusType | undefined;
788
628
  signer?: {
789
629
  key: string;
790
- type?: "hexKey" | undefined;
630
+ type?: AgentSignerKeyType.Hex | undefined;
791
631
  } | {
792
632
  id: string;
793
633
  region: string;
794
- type?: "aws" | undefined;
634
+ type?: AgentSignerKeyType.Aws | undefined;
795
635
  } | {
796
- type: "node";
636
+ type: AgentSignerKeyType.Node;
797
637
  } | undefined;
798
638
  index?: {
799
639
  from?: number | undefined;
@@ -802,9 +642,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
802
642
  } | undefined;
803
643
  }, {
804
644
  name: string;
805
- protocol: ProtocolType;
645
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
806
646
  chainId: number;
807
- interchainGasPaymaster: string;
808
647
  mailbox: string;
809
648
  rpcUrls: [{
810
649
  http: string;
@@ -832,6 +671,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
832
671
  } | undefined;
833
672
  }[]];
834
673
  validatorAnnounce: string;
674
+ merkleTreeHook: string;
675
+ interchainGasPaymaster: string;
835
676
  interchainSecurityModule?: string | undefined;
836
677
  domainId?: number | undefined;
837
678
  displayName?: string | undefined;
@@ -858,30 +699,17 @@ export declare const AgentConfigSchema: z.ZodObject<{
858
699
  gasCurrencyCoinGeckoId?: string | undefined;
859
700
  gnosisSafeTransactionServiceUrl?: string | undefined;
860
701
  isTestnet?: boolean | undefined;
861
- customRpcUrls?: Record<string, {
862
- http: string;
863
- webSocket?: string | undefined;
864
- pagination?: {
865
- maxBlockRange?: number | undefined;
866
- minBlockNumber?: number | undefined;
867
- maxBlockAge?: number | undefined;
868
- } | undefined;
869
- retry?: {
870
- maxRequests: number;
871
- baseRetryMs: number;
872
- } | undefined;
873
- priority?: number | undefined;
874
- }> | undefined;
875
- rpcConsensusType?: AgentConsensusType | undefined;
702
+ customRpcUrls?: string | undefined;
703
+ rpcConsensusType?: RpcConsensusType | undefined;
876
704
  signer?: {
877
705
  key: string;
878
- type?: "hexKey" | undefined;
706
+ type?: AgentSignerKeyType.Hex | undefined;
879
707
  } | {
880
708
  id: string;
881
709
  region: string;
882
- type?: "aws" | undefined;
710
+ type?: AgentSignerKeyType.Aws | undefined;
883
711
  } | {
884
- type: "node";
712
+ type: AgentSignerKeyType.Node;
885
713
  } | undefined;
886
714
  index?: {
887
715
  from?: number | undefined;
@@ -890,9 +718,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
890
718
  } | undefined;
891
719
  }>>, Record<string, {
892
720
  name: string;
893
- protocol: ProtocolType;
721
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
894
722
  chainId: number;
895
- interchainGasPaymaster: string;
896
723
  mailbox: string;
897
724
  rpcUrls: [{
898
725
  http: string;
@@ -920,6 +747,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
920
747
  } | undefined;
921
748
  }[]];
922
749
  validatorAnnounce: string;
750
+ merkleTreeHook: string;
751
+ interchainGasPaymaster: string;
923
752
  interchainSecurityModule?: string | undefined;
924
753
  domainId?: number | undefined;
925
754
  displayName?: string | undefined;
@@ -946,30 +775,17 @@ export declare const AgentConfigSchema: z.ZodObject<{
946
775
  gasCurrencyCoinGeckoId?: string | undefined;
947
776
  gnosisSafeTransactionServiceUrl?: string | undefined;
948
777
  isTestnet?: boolean | undefined;
949
- customRpcUrls?: Record<string, {
950
- http: string;
951
- webSocket?: string | undefined;
952
- pagination?: {
953
- maxBlockRange?: number | undefined;
954
- minBlockNumber?: number | undefined;
955
- maxBlockAge?: number | undefined;
956
- } | undefined;
957
- retry?: {
958
- maxRequests: number;
959
- baseRetryMs: number;
960
- } | undefined;
961
- priority?: number | undefined;
962
- }> | undefined;
963
- rpcConsensusType?: AgentConsensusType | undefined;
778
+ customRpcUrls?: string | undefined;
779
+ rpcConsensusType?: RpcConsensusType | undefined;
964
780
  signer?: {
965
781
  key: string;
966
- type?: "hexKey" | undefined;
782
+ type?: AgentSignerKeyType.Hex | undefined;
967
783
  } | {
968
784
  id: string;
969
785
  region: string;
970
- type?: "aws" | undefined;
786
+ type?: AgentSignerKeyType.Aws | undefined;
971
787
  } | {
972
- type: "node";
788
+ type: AgentSignerKeyType.Node;
973
789
  } | undefined;
974
790
  index?: {
975
791
  from?: number | undefined;
@@ -978,9 +794,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
978
794
  } | undefined;
979
795
  }>, Record<string, {
980
796
  name: string;
981
- protocol: ProtocolType;
797
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
982
798
  chainId: number;
983
- interchainGasPaymaster: string;
984
799
  mailbox: string;
985
800
  rpcUrls: [{
986
801
  http: string;
@@ -1008,6 +823,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1008
823
  } | undefined;
1009
824
  }[]];
1010
825
  validatorAnnounce: string;
826
+ merkleTreeHook: string;
827
+ interchainGasPaymaster: string;
1011
828
  interchainSecurityModule?: string | undefined;
1012
829
  domainId?: number | undefined;
1013
830
  displayName?: string | undefined;
@@ -1034,30 +851,17 @@ export declare const AgentConfigSchema: z.ZodObject<{
1034
851
  gasCurrencyCoinGeckoId?: string | undefined;
1035
852
  gnosisSafeTransactionServiceUrl?: string | undefined;
1036
853
  isTestnet?: boolean | undefined;
1037
- customRpcUrls?: Record<string, {
1038
- http: string;
1039
- webSocket?: string | undefined;
1040
- pagination?: {
1041
- maxBlockRange?: number | undefined;
1042
- minBlockNumber?: number | undefined;
1043
- maxBlockAge?: number | undefined;
1044
- } | undefined;
1045
- retry?: {
1046
- maxRequests: number;
1047
- baseRetryMs: number;
1048
- } | undefined;
1049
- priority?: number | undefined;
1050
- }> | undefined;
1051
- rpcConsensusType?: AgentConsensusType | undefined;
854
+ customRpcUrls?: string | undefined;
855
+ rpcConsensusType?: RpcConsensusType | undefined;
1052
856
  signer?: {
1053
857
  key: string;
1054
- type?: "hexKey" | undefined;
858
+ type?: AgentSignerKeyType.Hex | undefined;
1055
859
  } | {
1056
860
  id: string;
1057
861
  region: string;
1058
- type?: "aws" | undefined;
862
+ type?: AgentSignerKeyType.Aws | undefined;
1059
863
  } | {
1060
- type: "node";
864
+ type: AgentSignerKeyType.Node;
1061
865
  } | undefined;
1062
866
  index?: {
1063
867
  from?: number | undefined;
@@ -1066,34 +870,34 @@ export declare const AgentConfigSchema: z.ZodObject<{
1066
870
  } | undefined;
1067
871
  }>>;
1068
872
  defaultSigner: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1069
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
873
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
1070
874
  key: z.ZodString;
1071
875
  }, "strip", z.ZodTypeAny, {
1072
876
  key: string;
1073
- type?: "hexKey" | undefined;
877
+ type?: AgentSignerKeyType.Hex | undefined;
1074
878
  }, {
1075
879
  key: string;
1076
- type?: "hexKey" | undefined;
880
+ type?: AgentSignerKeyType.Hex | undefined;
1077
881
  }>, z.ZodObject<{
1078
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
882
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
1079
883
  id: z.ZodString;
1080
884
  region: z.ZodString;
1081
885
  }, "strip", z.ZodTypeAny, {
1082
886
  id: string;
1083
887
  region: string;
1084
- type?: "aws" | undefined;
888
+ type?: AgentSignerKeyType.Aws | undefined;
1085
889
  }, {
1086
890
  id: string;
1087
891
  region: string;
1088
- type?: "aws" | undefined;
892
+ type?: AgentSignerKeyType.Aws | undefined;
1089
893
  }>, z.ZodObject<{
1090
- type: z.ZodLiteral<"node">;
894
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
1091
895
  }, "strip", z.ZodTypeAny, {
1092
- type: "node";
896
+ type: AgentSignerKeyType.Node;
1093
897
  }, {
1094
- type: "node";
898
+ type: AgentSignerKeyType.Node;
1095
899
  }>]>>;
1096
- defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
900
+ defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
1097
901
  log: z.ZodOptional<z.ZodObject<{
1098
902
  format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
1099
903
  level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
@@ -1107,9 +911,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1107
911
  }, "strip", z.ZodTypeAny, {
1108
912
  chains: Record<string, {
1109
913
  name: string;
1110
- protocol: ProtocolType;
914
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1111
915
  chainId: number;
1112
- interchainGasPaymaster: string;
1113
916
  mailbox: string;
1114
917
  rpcUrls: [{
1115
918
  http: string;
@@ -1137,6 +940,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1137
940
  } | undefined;
1138
941
  }[]];
1139
942
  validatorAnnounce: string;
943
+ merkleTreeHook: string;
944
+ interchainGasPaymaster: string;
1140
945
  interchainSecurityModule?: string | undefined;
1141
946
  domainId?: number | undefined;
1142
947
  displayName?: string | undefined;
@@ -1163,30 +968,17 @@ export declare const AgentConfigSchema: z.ZodObject<{
1163
968
  gasCurrencyCoinGeckoId?: string | undefined;
1164
969
  gnosisSafeTransactionServiceUrl?: string | undefined;
1165
970
  isTestnet?: boolean | undefined;
1166
- customRpcUrls?: Record<string, {
1167
- http: string;
1168
- webSocket?: string | undefined;
1169
- pagination?: {
1170
- maxBlockRange?: number | undefined;
1171
- minBlockNumber?: number | undefined;
1172
- maxBlockAge?: number | undefined;
1173
- } | undefined;
1174
- retry?: {
1175
- maxRequests: number;
1176
- baseRetryMs: number;
1177
- } | undefined;
1178
- priority?: number | undefined;
1179
- }> | undefined;
1180
- rpcConsensusType?: AgentConsensusType | undefined;
971
+ customRpcUrls?: string | undefined;
972
+ rpcConsensusType?: RpcConsensusType | undefined;
1181
973
  signer?: {
1182
974
  key: string;
1183
- type?: "hexKey" | undefined;
975
+ type?: AgentSignerKeyType.Hex | undefined;
1184
976
  } | {
1185
977
  id: string;
1186
978
  region: string;
1187
- type?: "aws" | undefined;
979
+ type?: AgentSignerKeyType.Aws | undefined;
1188
980
  } | {
1189
- type: "node";
981
+ type: AgentSignerKeyType.Node;
1190
982
  } | undefined;
1191
983
  index?: {
1192
984
  from?: number | undefined;
@@ -1197,15 +989,15 @@ export declare const AgentConfigSchema: z.ZodObject<{
1197
989
  metricsPort?: number | undefined;
1198
990
  defaultSigner?: {
1199
991
  key: string;
1200
- type?: "hexKey" | undefined;
992
+ type?: AgentSignerKeyType.Hex | undefined;
1201
993
  } | {
1202
994
  id: string;
1203
995
  region: string;
1204
- type?: "aws" | undefined;
996
+ type?: AgentSignerKeyType.Aws | undefined;
1205
997
  } | {
1206
- type: "node";
998
+ type: AgentSignerKeyType.Node;
1207
999
  } | undefined;
1208
- defaultRpcConsensusType?: AgentConsensusType | undefined;
1000
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
1209
1001
  log?: {
1210
1002
  format?: AgentLogFormat | undefined;
1211
1003
  level?: AgentLogLevel | undefined;
@@ -1213,9 +1005,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1213
1005
  }, {
1214
1006
  chains: Record<string, {
1215
1007
  name: string;
1216
- protocol: ProtocolType;
1008
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1217
1009
  chainId: number;
1218
- interchainGasPaymaster: string;
1219
1010
  mailbox: string;
1220
1011
  rpcUrls: [{
1221
1012
  http: string;
@@ -1243,6 +1034,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1243
1034
  } | undefined;
1244
1035
  }[]];
1245
1036
  validatorAnnounce: string;
1037
+ merkleTreeHook: string;
1038
+ interchainGasPaymaster: string;
1246
1039
  interchainSecurityModule?: string | undefined;
1247
1040
  domainId?: number | undefined;
1248
1041
  displayName?: string | undefined;
@@ -1269,30 +1062,17 @@ export declare const AgentConfigSchema: z.ZodObject<{
1269
1062
  gasCurrencyCoinGeckoId?: string | undefined;
1270
1063
  gnosisSafeTransactionServiceUrl?: string | undefined;
1271
1064
  isTestnet?: boolean | undefined;
1272
- customRpcUrls?: Record<string, {
1273
- http: string;
1274
- webSocket?: string | undefined;
1275
- pagination?: {
1276
- maxBlockRange?: number | undefined;
1277
- minBlockNumber?: number | undefined;
1278
- maxBlockAge?: number | undefined;
1279
- } | undefined;
1280
- retry?: {
1281
- maxRequests: number;
1282
- baseRetryMs: number;
1283
- } | undefined;
1284
- priority?: number | undefined;
1285
- }> | undefined;
1286
- rpcConsensusType?: AgentConsensusType | undefined;
1065
+ customRpcUrls?: string | undefined;
1066
+ rpcConsensusType?: RpcConsensusType | undefined;
1287
1067
  signer?: {
1288
1068
  key: string;
1289
- type?: "hexKey" | undefined;
1069
+ type?: AgentSignerKeyType.Hex | undefined;
1290
1070
  } | {
1291
1071
  id: string;
1292
1072
  region: string;
1293
- type?: "aws" | undefined;
1073
+ type?: AgentSignerKeyType.Aws | undefined;
1294
1074
  } | {
1295
- type: "node";
1075
+ type: AgentSignerKeyType.Node;
1296
1076
  } | undefined;
1297
1077
  index?: {
1298
1078
  from?: number | undefined;
@@ -1303,21 +1083,26 @@ export declare const AgentConfigSchema: z.ZodObject<{
1303
1083
  metricsPort?: number | undefined;
1304
1084
  defaultSigner?: {
1305
1085
  key: string;
1306
- type?: "hexKey" | undefined;
1086
+ type?: AgentSignerKeyType.Hex | undefined;
1307
1087
  } | {
1308
1088
  id: string;
1309
1089
  region: string;
1310
- type?: "aws" | undefined;
1090
+ type?: AgentSignerKeyType.Aws | undefined;
1311
1091
  } | {
1312
- type: "node";
1092
+ type: AgentSignerKeyType.Node;
1313
1093
  } | undefined;
1314
- defaultRpcConsensusType?: AgentConsensusType | undefined;
1094
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
1315
1095
  log?: {
1316
1096
  format?: AgentLogFormat | undefined;
1317
1097
  level?: AgentLogLevel | undefined;
1318
1098
  } | undefined;
1319
1099
  }>;
1320
- declare const GasPaymentEnforcementSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1100
+ export declare enum GasPaymentEnforcementPolicyType {
1101
+ None = "none",
1102
+ Minimum = "minimum",
1103
+ OnChainFeeQuoting = "onChainFeeQuoting"
1104
+ }
1105
+ declare const GasPaymentEnforcementSchema: z.ZodUnion<[z.ZodObject<{
1321
1106
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
1322
1107
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
1323
1108
  senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
@@ -1333,34 +1118,24 @@ declare const GasPaymentEnforcementSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1333
1118
  senderAddress?: string | [string, ...string[]] | undefined;
1334
1119
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1335
1120
  recipientAddress?: string | [string, ...string[]] | undefined;
1336
- }>, "atleastone">>;
1337
- type: z.ZodOptional<z.ZodLiteral<"none">>;
1121
+ }>, "many">>;
1122
+ type: z.ZodOptional<z.ZodLiteral<GasPaymentEnforcementPolicyType.None>>;
1338
1123
  }, "strip", z.ZodTypeAny, {
1339
- matchingList?: [{
1340
- originDomain?: number | "*" | [number, ...number[]] | undefined;
1341
- senderAddress?: string | [string, ...string[]] | undefined;
1342
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1343
- recipientAddress?: string | [string, ...string[]] | undefined;
1344
- }, ...{
1124
+ matchingList?: {
1345
1125
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1346
1126
  senderAddress?: string | [string, ...string[]] | undefined;
1347
1127
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1348
1128
  recipientAddress?: string | [string, ...string[]] | undefined;
1349
- }[]] | undefined;
1350
- type?: "none" | undefined;
1129
+ }[] | undefined;
1130
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
1351
1131
  }, {
1352
- matchingList?: [{
1353
- originDomain?: number | "*" | [number, ...number[]] | undefined;
1354
- senderAddress?: string | [string, ...string[]] | undefined;
1355
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1356
- recipientAddress?: string | [string, ...string[]] | undefined;
1357
- }, ...{
1132
+ matchingList?: {
1358
1133
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1359
1134
  senderAddress?: string | [string, ...string[]] | undefined;
1360
1135
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1361
1136
  recipientAddress?: string | [string, ...string[]] | undefined;
1362
- }[]] | undefined;
1363
- type?: "none" | undefined;
1137
+ }[] | undefined;
1138
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
1364
1139
  }>, z.ZodObject<{
1365
1140
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
1366
1141
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
@@ -1377,37 +1152,27 @@ declare const GasPaymentEnforcementSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1377
1152
  senderAddress?: string | [string, ...string[]] | undefined;
1378
1153
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1379
1154
  recipientAddress?: string | [string, ...string[]] | undefined;
1380
- }>, "atleastone">>;
1381
- type: z.ZodOptional<z.ZodLiteral<"minimum">>;
1155
+ }>, "many">>;
1156
+ type: z.ZodOptional<z.ZodLiteral<GasPaymentEnforcementPolicyType.Minimum>>;
1382
1157
  payment: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1383
1158
  }, "strip", z.ZodTypeAny, {
1384
1159
  payment: string | number;
1385
- matchingList?: [{
1160
+ matchingList?: {
1386
1161
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1387
1162
  senderAddress?: string | [string, ...string[]] | undefined;
1388
1163
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1389
1164
  recipientAddress?: string | [string, ...string[]] | undefined;
1390
- }, ...{
1391
- originDomain?: number | "*" | [number, ...number[]] | undefined;
1392
- senderAddress?: string | [string, ...string[]] | undefined;
1393
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1394
- recipientAddress?: string | [string, ...string[]] | undefined;
1395
- }[]] | undefined;
1396
- type?: "minimum" | undefined;
1165
+ }[] | undefined;
1166
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
1397
1167
  }, {
1398
1168
  payment: string | number;
1399
- matchingList?: [{
1169
+ matchingList?: {
1400
1170
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1401
1171
  senderAddress?: string | [string, ...string[]] | undefined;
1402
1172
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1403
1173
  recipientAddress?: string | [string, ...string[]] | undefined;
1404
- }, ...{
1405
- originDomain?: number | "*" | [number, ...number[]] | undefined;
1406
- senderAddress?: string | [string, ...string[]] | undefined;
1407
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1408
- recipientAddress?: string | [string, ...string[]] | undefined;
1409
- }[]] | undefined;
1410
- type?: "minimum" | undefined;
1174
+ }[] | undefined;
1175
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
1411
1176
  }>, z.ZodObject<{
1412
1177
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
1413
1178
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
@@ -1424,47 +1189,36 @@ declare const GasPaymentEnforcementSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1424
1189
  senderAddress?: string | [string, ...string[]] | undefined;
1425
1190
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1426
1191
  recipientAddress?: string | [string, ...string[]] | undefined;
1427
- }>, "atleastone">>;
1428
- type: z.ZodLiteral<"onChainFeeQuoting">;
1192
+ }>, "many">>;
1193
+ type: z.ZodLiteral<GasPaymentEnforcementPolicyType.OnChainFeeQuoting>;
1429
1194
  gasFraction: z.ZodOptional<z.ZodString>;
1430
1195
  }, "strip", z.ZodTypeAny, {
1431
- type: "onChainFeeQuoting";
1432
- matchingList?: [{
1196
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
1197
+ matchingList?: {
1433
1198
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1434
1199
  senderAddress?: string | [string, ...string[]] | undefined;
1435
1200
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1436
1201
  recipientAddress?: string | [string, ...string[]] | undefined;
1437
- }, ...{
1438
- originDomain?: number | "*" | [number, ...number[]] | undefined;
1439
- senderAddress?: string | [string, ...string[]] | undefined;
1440
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1441
- recipientAddress?: string | [string, ...string[]] | undefined;
1442
- }[]] | undefined;
1202
+ }[] | undefined;
1443
1203
  gasFraction?: string | undefined;
1444
1204
  }, {
1445
- type: "onChainFeeQuoting";
1446
- matchingList?: [{
1205
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
1206
+ matchingList?: {
1447
1207
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1448
1208
  senderAddress?: string | [string, ...string[]] | undefined;
1449
1209
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1450
1210
  recipientAddress?: string | [string, ...string[]] | undefined;
1451
- }, ...{
1452
- originDomain?: number | "*" | [number, ...number[]] | undefined;
1453
- senderAddress?: string | [string, ...string[]] | undefined;
1454
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1455
- recipientAddress?: string | [string, ...string[]] | undefined;
1456
- }[]] | undefined;
1211
+ }[] | undefined;
1457
1212
  gasFraction?: string | undefined;
1458
- }>]>, "many">;
1213
+ }>]>;
1459
1214
  export type GasPaymentEnforcement = z.infer<typeof GasPaymentEnforcementSchema>;
1460
1215
  export declare const RelayerAgentConfigSchema: z.ZodObject<{
1461
1216
  metricsPort: z.ZodOptional<z.ZodNumber>;
1462
1217
  chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
1463
1218
  name: z.ZodString;
1464
- protocol: z.ZodNativeEnum<typeof ProtocolType>;
1219
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
1465
1220
  chainId: z.ZodNumber;
1466
1221
  interchainSecurityModule: z.ZodOptional<z.ZodString>;
1467
- interchainGasPaymaster: z.ZodString;
1468
1222
  mailbox: z.ZodString;
1469
1223
  domainId: z.ZodOptional<z.ZodNumber>;
1470
1224
  displayName: z.ZodOptional<z.ZodString>;
@@ -1571,114 +1325,37 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1571
1325
  gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
1572
1326
  isTestnet: z.ZodOptional<z.ZodBoolean>;
1573
1327
  validatorAnnounce: z.ZodString;
1574
- customRpcUrls: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
1575
- http: z.ZodString;
1576
- webSocket: z.ZodOptional<z.ZodString>;
1577
- pagination: z.ZodOptional<z.ZodObject<{
1578
- maxBlockRange: z.ZodOptional<z.ZodNumber>;
1579
- minBlockNumber: z.ZodOptional<z.ZodNumber>;
1580
- maxBlockAge: z.ZodOptional<z.ZodNumber>;
1581
- }, "strip", z.ZodTypeAny, {
1582
- maxBlockRange?: number | undefined;
1583
- minBlockNumber?: number | undefined;
1584
- maxBlockAge?: number | undefined;
1585
- }, {
1586
- maxBlockRange?: number | undefined;
1587
- minBlockNumber?: number | undefined;
1588
- maxBlockAge?: number | undefined;
1589
- }>>;
1590
- retry: z.ZodOptional<z.ZodObject<{
1591
- maxRequests: z.ZodNumber;
1592
- baseRetryMs: z.ZodNumber;
1593
- }, "strip", z.ZodTypeAny, {
1594
- maxRequests: number;
1595
- baseRetryMs: number;
1596
- }, {
1597
- maxRequests: number;
1598
- baseRetryMs: number;
1599
- }>>;
1600
- priority: z.ZodOptional<z.ZodNumber>;
1601
- }, "strip", z.ZodTypeAny, {
1602
- http: string;
1603
- webSocket?: string | undefined;
1604
- pagination?: {
1605
- maxBlockRange?: number | undefined;
1606
- minBlockNumber?: number | undefined;
1607
- maxBlockAge?: number | undefined;
1608
- } | undefined;
1609
- retry?: {
1610
- maxRequests: number;
1611
- baseRetryMs: number;
1612
- } | undefined;
1613
- priority?: number | undefined;
1614
- }, {
1615
- http: string;
1616
- webSocket?: string | undefined;
1617
- pagination?: {
1618
- maxBlockRange?: number | undefined;
1619
- minBlockNumber?: number | undefined;
1620
- maxBlockAge?: number | undefined;
1621
- } | undefined;
1622
- retry?: {
1623
- maxRequests: number;
1624
- baseRetryMs: number;
1625
- } | undefined;
1626
- priority?: number | undefined;
1627
- }>>, Record<string, {
1628
- http: string;
1629
- webSocket?: string | undefined;
1630
- pagination?: {
1631
- maxBlockRange?: number | undefined;
1632
- minBlockNumber?: number | undefined;
1633
- maxBlockAge?: number | undefined;
1634
- } | undefined;
1635
- retry?: {
1636
- maxRequests: number;
1637
- baseRetryMs: number;
1638
- } | undefined;
1639
- priority?: number | undefined;
1640
- }>, Record<string, {
1641
- http: string;
1642
- webSocket?: string | undefined;
1643
- pagination?: {
1644
- maxBlockRange?: number | undefined;
1645
- minBlockNumber?: number | undefined;
1646
- maxBlockAge?: number | undefined;
1647
- } | undefined;
1648
- retry?: {
1649
- maxRequests: number;
1650
- baseRetryMs: number;
1651
- } | undefined;
1652
- priority?: number | undefined;
1653
- }>>>;
1654
- rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
1328
+ merkleTreeHook: z.ZodString;
1329
+ interchainGasPaymaster: z.ZodString;
1330
+ customRpcUrls: z.ZodOptional<z.ZodString>;
1331
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
1655
1332
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1656
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
1333
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
1657
1334
  key: z.ZodString;
1658
1335
  }, "strip", z.ZodTypeAny, {
1659
1336
  key: string;
1660
- type?: "hexKey" | undefined;
1337
+ type?: AgentSignerKeyType.Hex | undefined;
1661
1338
  }, {
1662
1339
  key: string;
1663
- type?: "hexKey" | undefined;
1340
+ type?: AgentSignerKeyType.Hex | undefined;
1664
1341
  }>, z.ZodObject<{
1665
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
1342
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
1666
1343
  id: z.ZodString;
1667
1344
  region: z.ZodString;
1668
1345
  }, "strip", z.ZodTypeAny, {
1669
1346
  id: string;
1670
1347
  region: string;
1671
- type?: "aws" | undefined;
1348
+ type?: AgentSignerKeyType.Aws | undefined;
1672
1349
  }, {
1673
1350
  id: string;
1674
1351
  region: string;
1675
- type?: "aws" | undefined;
1352
+ type?: AgentSignerKeyType.Aws | undefined;
1676
1353
  }>, z.ZodObject<{
1677
- type: z.ZodLiteral<"node">;
1354
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
1678
1355
  }, "strip", z.ZodTypeAny, {
1679
- type: "node";
1356
+ type: AgentSignerKeyType.Node;
1680
1357
  }, {
1681
- type: "node";
1358
+ type: AgentSignerKeyType.Node;
1682
1359
  }>]>>;
1683
1360
  index: z.ZodOptional<z.ZodObject<{
1684
1361
  from: z.ZodOptional<z.ZodNumber>;
@@ -1695,9 +1372,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1695
1372
  }>>;
1696
1373
  }, "strip", z.ZodTypeAny, {
1697
1374
  name: string;
1698
- protocol: ProtocolType;
1375
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1699
1376
  chainId: number;
1700
- interchainGasPaymaster: string;
1701
1377
  mailbox: string;
1702
1378
  rpcUrls: [{
1703
1379
  http: string;
@@ -1725,6 +1401,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1725
1401
  } | undefined;
1726
1402
  }[]];
1727
1403
  validatorAnnounce: string;
1404
+ merkleTreeHook: string;
1405
+ interchainGasPaymaster: string;
1728
1406
  interchainSecurityModule?: string | undefined;
1729
1407
  domainId?: number | undefined;
1730
1408
  displayName?: string | undefined;
@@ -1751,30 +1429,17 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1751
1429
  gasCurrencyCoinGeckoId?: string | undefined;
1752
1430
  gnosisSafeTransactionServiceUrl?: string | undefined;
1753
1431
  isTestnet?: boolean | undefined;
1754
- customRpcUrls?: Record<string, {
1755
- http: string;
1756
- webSocket?: string | undefined;
1757
- pagination?: {
1758
- maxBlockRange?: number | undefined;
1759
- minBlockNumber?: number | undefined;
1760
- maxBlockAge?: number | undefined;
1761
- } | undefined;
1762
- retry?: {
1763
- maxRequests: number;
1764
- baseRetryMs: number;
1765
- } | undefined;
1766
- priority?: number | undefined;
1767
- }> | undefined;
1768
- rpcConsensusType?: AgentConsensusType | undefined;
1432
+ customRpcUrls?: string | undefined;
1433
+ rpcConsensusType?: RpcConsensusType | undefined;
1769
1434
  signer?: {
1770
1435
  key: string;
1771
- type?: "hexKey" | undefined;
1436
+ type?: AgentSignerKeyType.Hex | undefined;
1772
1437
  } | {
1773
1438
  id: string;
1774
1439
  region: string;
1775
- type?: "aws" | undefined;
1440
+ type?: AgentSignerKeyType.Aws | undefined;
1776
1441
  } | {
1777
- type: "node";
1442
+ type: AgentSignerKeyType.Node;
1778
1443
  } | undefined;
1779
1444
  index?: {
1780
1445
  from?: number | undefined;
@@ -1783,9 +1448,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1783
1448
  } | undefined;
1784
1449
  }, {
1785
1450
  name: string;
1786
- protocol: ProtocolType;
1451
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1787
1452
  chainId: number;
1788
- interchainGasPaymaster: string;
1789
1453
  mailbox: string;
1790
1454
  rpcUrls: [{
1791
1455
  http: string;
@@ -1813,6 +1477,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1813
1477
  } | undefined;
1814
1478
  }[]];
1815
1479
  validatorAnnounce: string;
1480
+ merkleTreeHook: string;
1481
+ interchainGasPaymaster: string;
1816
1482
  interchainSecurityModule?: string | undefined;
1817
1483
  domainId?: number | undefined;
1818
1484
  displayName?: string | undefined;
@@ -1839,30 +1505,17 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1839
1505
  gasCurrencyCoinGeckoId?: string | undefined;
1840
1506
  gnosisSafeTransactionServiceUrl?: string | undefined;
1841
1507
  isTestnet?: boolean | undefined;
1842
- customRpcUrls?: Record<string, {
1843
- http: string;
1844
- webSocket?: string | undefined;
1845
- pagination?: {
1846
- maxBlockRange?: number | undefined;
1847
- minBlockNumber?: number | undefined;
1848
- maxBlockAge?: number | undefined;
1849
- } | undefined;
1850
- retry?: {
1851
- maxRequests: number;
1852
- baseRetryMs: number;
1853
- } | undefined;
1854
- priority?: number | undefined;
1855
- }> | undefined;
1856
- rpcConsensusType?: AgentConsensusType | undefined;
1508
+ customRpcUrls?: string | undefined;
1509
+ rpcConsensusType?: RpcConsensusType | undefined;
1857
1510
  signer?: {
1858
1511
  key: string;
1859
- type?: "hexKey" | undefined;
1512
+ type?: AgentSignerKeyType.Hex | undefined;
1860
1513
  } | {
1861
1514
  id: string;
1862
1515
  region: string;
1863
- type?: "aws" | undefined;
1516
+ type?: AgentSignerKeyType.Aws | undefined;
1864
1517
  } | {
1865
- type: "node";
1518
+ type: AgentSignerKeyType.Node;
1866
1519
  } | undefined;
1867
1520
  index?: {
1868
1521
  from?: number | undefined;
@@ -1871,9 +1524,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1871
1524
  } | undefined;
1872
1525
  }>>, Record<string, {
1873
1526
  name: string;
1874
- protocol: ProtocolType;
1527
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1875
1528
  chainId: number;
1876
- interchainGasPaymaster: string;
1877
1529
  mailbox: string;
1878
1530
  rpcUrls: [{
1879
1531
  http: string;
@@ -1901,6 +1553,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1901
1553
  } | undefined;
1902
1554
  }[]];
1903
1555
  validatorAnnounce: string;
1556
+ merkleTreeHook: string;
1557
+ interchainGasPaymaster: string;
1904
1558
  interchainSecurityModule?: string | undefined;
1905
1559
  domainId?: number | undefined;
1906
1560
  displayName?: string | undefined;
@@ -1927,30 +1581,17 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1927
1581
  gasCurrencyCoinGeckoId?: string | undefined;
1928
1582
  gnosisSafeTransactionServiceUrl?: string | undefined;
1929
1583
  isTestnet?: boolean | undefined;
1930
- customRpcUrls?: Record<string, {
1931
- http: string;
1932
- webSocket?: string | undefined;
1933
- pagination?: {
1934
- maxBlockRange?: number | undefined;
1935
- minBlockNumber?: number | undefined;
1936
- maxBlockAge?: number | undefined;
1937
- } | undefined;
1938
- retry?: {
1939
- maxRequests: number;
1940
- baseRetryMs: number;
1941
- } | undefined;
1942
- priority?: number | undefined;
1943
- }> | undefined;
1944
- rpcConsensusType?: AgentConsensusType | undefined;
1584
+ customRpcUrls?: string | undefined;
1585
+ rpcConsensusType?: RpcConsensusType | undefined;
1945
1586
  signer?: {
1946
1587
  key: string;
1947
- type?: "hexKey" | undefined;
1588
+ type?: AgentSignerKeyType.Hex | undefined;
1948
1589
  } | {
1949
1590
  id: string;
1950
1591
  region: string;
1951
- type?: "aws" | undefined;
1592
+ type?: AgentSignerKeyType.Aws | undefined;
1952
1593
  } | {
1953
- type: "node";
1594
+ type: AgentSignerKeyType.Node;
1954
1595
  } | undefined;
1955
1596
  index?: {
1956
1597
  from?: number | undefined;
@@ -1959,9 +1600,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1959
1600
  } | undefined;
1960
1601
  }>, Record<string, {
1961
1602
  name: string;
1962
- protocol: ProtocolType;
1603
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1963
1604
  chainId: number;
1964
- interchainGasPaymaster: string;
1965
1605
  mailbox: string;
1966
1606
  rpcUrls: [{
1967
1607
  http: string;
@@ -1989,6 +1629,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1989
1629
  } | undefined;
1990
1630
  }[]];
1991
1631
  validatorAnnounce: string;
1632
+ merkleTreeHook: string;
1633
+ interchainGasPaymaster: string;
1992
1634
  interchainSecurityModule?: string | undefined;
1993
1635
  domainId?: number | undefined;
1994
1636
  displayName?: string | undefined;
@@ -2015,30 +1657,17 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2015
1657
  gasCurrencyCoinGeckoId?: string | undefined;
2016
1658
  gnosisSafeTransactionServiceUrl?: string | undefined;
2017
1659
  isTestnet?: boolean | undefined;
2018
- customRpcUrls?: Record<string, {
2019
- http: string;
2020
- webSocket?: string | undefined;
2021
- pagination?: {
2022
- maxBlockRange?: number | undefined;
2023
- minBlockNumber?: number | undefined;
2024
- maxBlockAge?: number | undefined;
2025
- } | undefined;
2026
- retry?: {
2027
- maxRequests: number;
2028
- baseRetryMs: number;
2029
- } | undefined;
2030
- priority?: number | undefined;
2031
- }> | undefined;
2032
- rpcConsensusType?: AgentConsensusType | undefined;
1660
+ customRpcUrls?: string | undefined;
1661
+ rpcConsensusType?: RpcConsensusType | undefined;
2033
1662
  signer?: {
2034
1663
  key: string;
2035
- type?: "hexKey" | undefined;
1664
+ type?: AgentSignerKeyType.Hex | undefined;
2036
1665
  } | {
2037
1666
  id: string;
2038
1667
  region: string;
2039
- type?: "aws" | undefined;
1668
+ type?: AgentSignerKeyType.Aws | undefined;
2040
1669
  } | {
2041
- type: "node";
1670
+ type: AgentSignerKeyType.Node;
2042
1671
  } | undefined;
2043
1672
  index?: {
2044
1673
  from?: number | undefined;
@@ -2047,34 +1676,34 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2047
1676
  } | undefined;
2048
1677
  }>>;
2049
1678
  defaultSigner: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2050
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
1679
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
2051
1680
  key: z.ZodString;
2052
1681
  }, "strip", z.ZodTypeAny, {
2053
1682
  key: string;
2054
- type?: "hexKey" | undefined;
1683
+ type?: AgentSignerKeyType.Hex | undefined;
2055
1684
  }, {
2056
1685
  key: string;
2057
- type?: "hexKey" | undefined;
1686
+ type?: AgentSignerKeyType.Hex | undefined;
2058
1687
  }>, z.ZodObject<{
2059
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
1688
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
2060
1689
  id: z.ZodString;
2061
1690
  region: z.ZodString;
2062
1691
  }, "strip", z.ZodTypeAny, {
2063
1692
  id: string;
2064
1693
  region: string;
2065
- type?: "aws" | undefined;
1694
+ type?: AgentSignerKeyType.Aws | undefined;
2066
1695
  }, {
2067
1696
  id: string;
2068
1697
  region: string;
2069
- type?: "aws" | undefined;
1698
+ type?: AgentSignerKeyType.Aws | undefined;
2070
1699
  }>, z.ZodObject<{
2071
- type: z.ZodLiteral<"node">;
1700
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
2072
1701
  }, "strip", z.ZodTypeAny, {
2073
- type: "node";
1702
+ type: AgentSignerKeyType.Node;
2074
1703
  }, {
2075
- type: "node";
1704
+ type: AgentSignerKeyType.Node;
2076
1705
  }>]>>;
2077
- defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
1706
+ defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
2078
1707
  log: z.ZodOptional<z.ZodObject<{
2079
1708
  format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
2080
1709
  level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
@@ -2103,34 +1732,24 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2103
1732
  senderAddress?: string | [string, ...string[]] | undefined;
2104
1733
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2105
1734
  recipientAddress?: string | [string, ...string[]] | undefined;
2106
- }>, "atleastone">>;
2107
- type: z.ZodOptional<z.ZodLiteral<"none">>;
1735
+ }>, "many">>;
1736
+ type: z.ZodOptional<z.ZodLiteral<GasPaymentEnforcementPolicyType.None>>;
2108
1737
  }, "strip", z.ZodTypeAny, {
2109
- matchingList?: [{
2110
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2111
- senderAddress?: string | [string, ...string[]] | undefined;
2112
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2113
- recipientAddress?: string | [string, ...string[]] | undefined;
2114
- }, ...{
1738
+ matchingList?: {
2115
1739
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2116
1740
  senderAddress?: string | [string, ...string[]] | undefined;
2117
1741
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2118
1742
  recipientAddress?: string | [string, ...string[]] | undefined;
2119
- }[]] | undefined;
2120
- type?: "none" | undefined;
1743
+ }[] | undefined;
1744
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
2121
1745
  }, {
2122
- matchingList?: [{
2123
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2124
- senderAddress?: string | [string, ...string[]] | undefined;
2125
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2126
- recipientAddress?: string | [string, ...string[]] | undefined;
2127
- }, ...{
1746
+ matchingList?: {
2128
1747
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2129
1748
  senderAddress?: string | [string, ...string[]] | undefined;
2130
1749
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2131
1750
  recipientAddress?: string | [string, ...string[]] | undefined;
2132
- }[]] | undefined;
2133
- type?: "none" | undefined;
1751
+ }[] | undefined;
1752
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
2134
1753
  }>, z.ZodObject<{
2135
1754
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
2136
1755
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
@@ -2147,37 +1766,27 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2147
1766
  senderAddress?: string | [string, ...string[]] | undefined;
2148
1767
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2149
1768
  recipientAddress?: string | [string, ...string[]] | undefined;
2150
- }>, "atleastone">>;
2151
- type: z.ZodOptional<z.ZodLiteral<"minimum">>;
1769
+ }>, "many">>;
1770
+ type: z.ZodOptional<z.ZodLiteral<GasPaymentEnforcementPolicyType.Minimum>>;
2152
1771
  payment: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2153
1772
  }, "strip", z.ZodTypeAny, {
2154
1773
  payment: string | number;
2155
- matchingList?: [{
1774
+ matchingList?: {
2156
1775
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2157
1776
  senderAddress?: string | [string, ...string[]] | undefined;
2158
1777
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2159
1778
  recipientAddress?: string | [string, ...string[]] | undefined;
2160
- }, ...{
2161
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2162
- senderAddress?: string | [string, ...string[]] | undefined;
2163
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2164
- recipientAddress?: string | [string, ...string[]] | undefined;
2165
- }[]] | undefined;
2166
- type?: "minimum" | undefined;
1779
+ }[] | undefined;
1780
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
2167
1781
  }, {
2168
1782
  payment: string | number;
2169
- matchingList?: [{
1783
+ matchingList?: {
2170
1784
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2171
1785
  senderAddress?: string | [string, ...string[]] | undefined;
2172
1786
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2173
1787
  recipientAddress?: string | [string, ...string[]] | undefined;
2174
- }, ...{
2175
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2176
- senderAddress?: string | [string, ...string[]] | undefined;
2177
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2178
- recipientAddress?: string | [string, ...string[]] | undefined;
2179
- }[]] | undefined;
2180
- type?: "minimum" | undefined;
1788
+ }[] | undefined;
1789
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
2181
1790
  }>, z.ZodObject<{
2182
1791
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
2183
1792
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
@@ -2194,36 +1803,26 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2194
1803
  senderAddress?: string | [string, ...string[]] | undefined;
2195
1804
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2196
1805
  recipientAddress?: string | [string, ...string[]] | undefined;
2197
- }>, "atleastone">>;
2198
- type: z.ZodLiteral<"onChainFeeQuoting">;
1806
+ }>, "many">>;
1807
+ type: z.ZodLiteral<GasPaymentEnforcementPolicyType.OnChainFeeQuoting>;
2199
1808
  gasFraction: z.ZodOptional<z.ZodString>;
2200
1809
  }, "strip", z.ZodTypeAny, {
2201
- type: "onChainFeeQuoting";
2202
- matchingList?: [{
1810
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
1811
+ matchingList?: {
2203
1812
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2204
1813
  senderAddress?: string | [string, ...string[]] | undefined;
2205
1814
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2206
1815
  recipientAddress?: string | [string, ...string[]] | undefined;
2207
- }, ...{
2208
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2209
- senderAddress?: string | [string, ...string[]] | undefined;
2210
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2211
- recipientAddress?: string | [string, ...string[]] | undefined;
2212
- }[]] | undefined;
1816
+ }[] | undefined;
2213
1817
  gasFraction?: string | undefined;
2214
1818
  }, {
2215
- type: "onChainFeeQuoting";
2216
- matchingList?: [{
2217
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2218
- senderAddress?: string | [string, ...string[]] | undefined;
2219
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2220
- recipientAddress?: string | [string, ...string[]] | undefined;
2221
- }, ...{
1819
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
1820
+ matchingList?: {
2222
1821
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2223
1822
  senderAddress?: string | [string, ...string[]] | undefined;
2224
1823
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2225
1824
  recipientAddress?: string | [string, ...string[]] | undefined;
2226
- }[]] | undefined;
1825
+ }[] | undefined;
2227
1826
  gasFraction?: string | undefined;
2228
1827
  }>]>, "many">, z.ZodString]>>;
2229
1828
  whitelist: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
@@ -2241,7 +1840,7 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2241
1840
  senderAddress?: string | [string, ...string[]] | undefined;
2242
1841
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2243
1842
  recipientAddress?: string | [string, ...string[]] | undefined;
2244
- }>, "atleastone">, z.ZodString]>>;
1843
+ }>, "many">, z.ZodString]>>;
2245
1844
  blacklist: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2246
1845
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2247
1846
  senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
@@ -2257,16 +1856,15 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2257
1856
  senderAddress?: string | [string, ...string[]] | undefined;
2258
1857
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2259
1858
  recipientAddress?: string | [string, ...string[]] | undefined;
2260
- }>, "atleastone">, z.ZodString]>>;
1859
+ }>, "many">, z.ZodString]>>;
2261
1860
  transactionGasLimit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2262
1861
  skipTransactionGasLimitFor: z.ZodOptional<z.ZodString>;
2263
1862
  allowLocalCheckpointSyncers: z.ZodOptional<z.ZodBoolean>;
2264
1863
  }, "strip", z.ZodTypeAny, {
2265
1864
  chains: Record<string, {
2266
1865
  name: string;
2267
- protocol: ProtocolType;
1866
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
2268
1867
  chainId: number;
2269
- interchainGasPaymaster: string;
2270
1868
  mailbox: string;
2271
1869
  rpcUrls: [{
2272
1870
  http: string;
@@ -2294,6 +1892,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2294
1892
  } | undefined;
2295
1893
  }[]];
2296
1894
  validatorAnnounce: string;
1895
+ merkleTreeHook: string;
1896
+ interchainGasPaymaster: string;
2297
1897
  interchainSecurityModule?: string | undefined;
2298
1898
  domainId?: number | undefined;
2299
1899
  displayName?: string | undefined;
@@ -2320,30 +1920,17 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2320
1920
  gasCurrencyCoinGeckoId?: string | undefined;
2321
1921
  gnosisSafeTransactionServiceUrl?: string | undefined;
2322
1922
  isTestnet?: boolean | undefined;
2323
- customRpcUrls?: Record<string, {
2324
- http: string;
2325
- webSocket?: string | undefined;
2326
- pagination?: {
2327
- maxBlockRange?: number | undefined;
2328
- minBlockNumber?: number | undefined;
2329
- maxBlockAge?: number | undefined;
2330
- } | undefined;
2331
- retry?: {
2332
- maxRequests: number;
2333
- baseRetryMs: number;
2334
- } | undefined;
2335
- priority?: number | undefined;
2336
- }> | undefined;
2337
- rpcConsensusType?: AgentConsensusType | undefined;
1923
+ customRpcUrls?: string | undefined;
1924
+ rpcConsensusType?: RpcConsensusType | undefined;
2338
1925
  signer?: {
2339
1926
  key: string;
2340
- type?: "hexKey" | undefined;
1927
+ type?: AgentSignerKeyType.Hex | undefined;
2341
1928
  } | {
2342
1929
  id: string;
2343
1930
  region: string;
2344
- type?: "aws" | undefined;
1931
+ type?: AgentSignerKeyType.Aws | undefined;
2345
1932
  } | {
2346
- type: "node";
1933
+ type: AgentSignerKeyType.Node;
2347
1934
  } | undefined;
2348
1935
  index?: {
2349
1936
  from?: number | undefined;
@@ -2355,93 +1942,67 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2355
1942
  metricsPort?: number | undefined;
2356
1943
  defaultSigner?: {
2357
1944
  key: string;
2358
- type?: "hexKey" | undefined;
1945
+ type?: AgentSignerKeyType.Hex | undefined;
2359
1946
  } | {
2360
1947
  id: string;
2361
1948
  region: string;
2362
- type?: "aws" | undefined;
1949
+ type?: AgentSignerKeyType.Aws | undefined;
2363
1950
  } | {
2364
- type: "node";
1951
+ type: AgentSignerKeyType.Node;
2365
1952
  } | undefined;
2366
- defaultRpcConsensusType?: AgentConsensusType | undefined;
1953
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
2367
1954
  log?: {
2368
1955
  format?: AgentLogFormat | undefined;
2369
1956
  level?: AgentLogLevel | undefined;
2370
1957
  } | undefined;
2371
1958
  db?: string | undefined;
2372
1959
  gasPaymentEnforcement?: string | ({
2373
- matchingList?: [{
1960
+ matchingList?: {
2374
1961
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2375
1962
  senderAddress?: string | [string, ...string[]] | undefined;
2376
1963
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2377
1964
  recipientAddress?: string | [string, ...string[]] | undefined;
2378
- }, ...{
2379
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2380
- senderAddress?: string | [string, ...string[]] | undefined;
2381
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2382
- recipientAddress?: string | [string, ...string[]] | undefined;
2383
- }[]] | undefined;
2384
- type?: "none" | undefined;
1965
+ }[] | undefined;
1966
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
2385
1967
  } | {
2386
1968
  payment: string | number;
2387
- matchingList?: [{
1969
+ matchingList?: {
2388
1970
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2389
1971
  senderAddress?: string | [string, ...string[]] | undefined;
2390
1972
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2391
1973
  recipientAddress?: string | [string, ...string[]] | undefined;
2392
- }, ...{
2393
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2394
- senderAddress?: string | [string, ...string[]] | undefined;
2395
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2396
- recipientAddress?: string | [string, ...string[]] | undefined;
2397
- }[]] | undefined;
2398
- type?: "minimum" | undefined;
1974
+ }[] | undefined;
1975
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
2399
1976
  } | {
2400
- type: "onChainFeeQuoting";
2401
- matchingList?: [{
1977
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
1978
+ matchingList?: {
2402
1979
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2403
1980
  senderAddress?: string | [string, ...string[]] | undefined;
2404
1981
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2405
1982
  recipientAddress?: string | [string, ...string[]] | undefined;
2406
- }, ...{
2407
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2408
- senderAddress?: string | [string, ...string[]] | undefined;
2409
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2410
- recipientAddress?: string | [string, ...string[]] | undefined;
2411
- }[]] | undefined;
1983
+ }[] | undefined;
2412
1984
  gasFraction?: string | undefined;
2413
1985
  })[] | undefined;
2414
- whitelist?: string | [{
1986
+ whitelist?: string | {
2415
1987
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2416
1988
  senderAddress?: string | [string, ...string[]] | undefined;
2417
1989
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2418
1990
  recipientAddress?: string | [string, ...string[]] | undefined;
2419
- }, ...{
2420
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2421
- senderAddress?: string | [string, ...string[]] | undefined;
2422
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2423
- recipientAddress?: string | [string, ...string[]] | undefined;
2424
- }[]] | undefined;
2425
- blacklist?: string | [{
2426
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2427
- senderAddress?: string | [string, ...string[]] | undefined;
2428
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2429
- recipientAddress?: string | [string, ...string[]] | undefined;
2430
- }, ...{
1991
+ }[] | undefined;
1992
+ blacklist?: string | {
2431
1993
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2432
1994
  senderAddress?: string | [string, ...string[]] | undefined;
2433
1995
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2434
1996
  recipientAddress?: string | [string, ...string[]] | undefined;
2435
- }[]] | undefined;
1997
+ }[] | undefined;
2436
1998
  transactionGasLimit?: string | number | undefined;
2437
1999
  skipTransactionGasLimitFor?: string | undefined;
2438
2000
  allowLocalCheckpointSyncers?: boolean | undefined;
2439
2001
  }, {
2440
2002
  chains: Record<string, {
2441
2003
  name: string;
2442
- protocol: ProtocolType;
2004
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
2443
2005
  chainId: number;
2444
- interchainGasPaymaster: string;
2445
2006
  mailbox: string;
2446
2007
  rpcUrls: [{
2447
2008
  http: string;
@@ -2469,6 +2030,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2469
2030
  } | undefined;
2470
2031
  }[]];
2471
2032
  validatorAnnounce: string;
2033
+ merkleTreeHook: string;
2034
+ interchainGasPaymaster: string;
2472
2035
  interchainSecurityModule?: string | undefined;
2473
2036
  domainId?: number | undefined;
2474
2037
  displayName?: string | undefined;
@@ -2495,30 +2058,17 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2495
2058
  gasCurrencyCoinGeckoId?: string | undefined;
2496
2059
  gnosisSafeTransactionServiceUrl?: string | undefined;
2497
2060
  isTestnet?: boolean | undefined;
2498
- customRpcUrls?: Record<string, {
2499
- http: string;
2500
- webSocket?: string | undefined;
2501
- pagination?: {
2502
- maxBlockRange?: number | undefined;
2503
- minBlockNumber?: number | undefined;
2504
- maxBlockAge?: number | undefined;
2505
- } | undefined;
2506
- retry?: {
2507
- maxRequests: number;
2508
- baseRetryMs: number;
2509
- } | undefined;
2510
- priority?: number | undefined;
2511
- }> | undefined;
2512
- rpcConsensusType?: AgentConsensusType | undefined;
2061
+ customRpcUrls?: string | undefined;
2062
+ rpcConsensusType?: RpcConsensusType | undefined;
2513
2063
  signer?: {
2514
2064
  key: string;
2515
- type?: "hexKey" | undefined;
2065
+ type?: AgentSignerKeyType.Hex | undefined;
2516
2066
  } | {
2517
2067
  id: string;
2518
2068
  region: string;
2519
- type?: "aws" | undefined;
2069
+ type?: AgentSignerKeyType.Aws | undefined;
2520
2070
  } | {
2521
- type: "node";
2071
+ type: AgentSignerKeyType.Node;
2522
2072
  } | undefined;
2523
2073
  index?: {
2524
2074
  from?: number | undefined;
@@ -2530,84 +2080,59 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2530
2080
  metricsPort?: number | undefined;
2531
2081
  defaultSigner?: {
2532
2082
  key: string;
2533
- type?: "hexKey" | undefined;
2083
+ type?: AgentSignerKeyType.Hex | undefined;
2534
2084
  } | {
2535
2085
  id: string;
2536
2086
  region: string;
2537
- type?: "aws" | undefined;
2087
+ type?: AgentSignerKeyType.Aws | undefined;
2538
2088
  } | {
2539
- type: "node";
2089
+ type: AgentSignerKeyType.Node;
2540
2090
  } | undefined;
2541
- defaultRpcConsensusType?: AgentConsensusType | undefined;
2091
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
2542
2092
  log?: {
2543
2093
  format?: AgentLogFormat | undefined;
2544
2094
  level?: AgentLogLevel | undefined;
2545
2095
  } | undefined;
2546
2096
  db?: string | undefined;
2547
2097
  gasPaymentEnforcement?: string | ({
2548
- matchingList?: [{
2098
+ matchingList?: {
2549
2099
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2550
2100
  senderAddress?: string | [string, ...string[]] | undefined;
2551
2101
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2552
2102
  recipientAddress?: string | [string, ...string[]] | undefined;
2553
- }, ...{
2554
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2555
- senderAddress?: string | [string, ...string[]] | undefined;
2556
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2557
- recipientAddress?: string | [string, ...string[]] | undefined;
2558
- }[]] | undefined;
2559
- type?: "none" | undefined;
2103
+ }[] | undefined;
2104
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
2560
2105
  } | {
2561
2106
  payment: string | number;
2562
- matchingList?: [{
2107
+ matchingList?: {
2563
2108
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2564
2109
  senderAddress?: string | [string, ...string[]] | undefined;
2565
2110
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2566
2111
  recipientAddress?: string | [string, ...string[]] | undefined;
2567
- }, ...{
2568
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2569
- senderAddress?: string | [string, ...string[]] | undefined;
2570
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2571
- recipientAddress?: string | [string, ...string[]] | undefined;
2572
- }[]] | undefined;
2573
- type?: "minimum" | undefined;
2112
+ }[] | undefined;
2113
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
2574
2114
  } | {
2575
- type: "onChainFeeQuoting";
2576
- matchingList?: [{
2115
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
2116
+ matchingList?: {
2577
2117
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2578
2118
  senderAddress?: string | [string, ...string[]] | undefined;
2579
2119
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2580
2120
  recipientAddress?: string | [string, ...string[]] | undefined;
2581
- }, ...{
2582
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2583
- senderAddress?: string | [string, ...string[]] | undefined;
2584
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2585
- recipientAddress?: string | [string, ...string[]] | undefined;
2586
- }[]] | undefined;
2121
+ }[] | undefined;
2587
2122
  gasFraction?: string | undefined;
2588
2123
  })[] | undefined;
2589
- whitelist?: string | [{
2124
+ whitelist?: string | {
2590
2125
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2591
2126
  senderAddress?: string | [string, ...string[]] | undefined;
2592
2127
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2593
2128
  recipientAddress?: string | [string, ...string[]] | undefined;
2594
- }, ...{
2595
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2596
- senderAddress?: string | [string, ...string[]] | undefined;
2597
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2598
- recipientAddress?: string | [string, ...string[]] | undefined;
2599
- }[]] | undefined;
2600
- blacklist?: string | [{
2601
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2602
- senderAddress?: string | [string, ...string[]] | undefined;
2603
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2604
- recipientAddress?: string | [string, ...string[]] | undefined;
2605
- }, ...{
2129
+ }[] | undefined;
2130
+ blacklist?: string | {
2606
2131
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2607
2132
  senderAddress?: string | [string, ...string[]] | undefined;
2608
2133
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2609
2134
  recipientAddress?: string | [string, ...string[]] | undefined;
2610
- }[]] | undefined;
2135
+ }[] | undefined;
2611
2136
  transactionGasLimit?: string | number | undefined;
2612
2137
  skipTransactionGasLimitFor?: string | undefined;
2613
2138
  allowLocalCheckpointSyncers?: boolean | undefined;
@@ -2617,10 +2142,9 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2617
2142
  metricsPort: z.ZodOptional<z.ZodNumber>;
2618
2143
  chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
2619
2144
  name: z.ZodString;
2620
- protocol: z.ZodNativeEnum<typeof ProtocolType>;
2145
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
2621
2146
  chainId: z.ZodNumber;
2622
2147
  interchainSecurityModule: z.ZodOptional<z.ZodString>;
2623
- interchainGasPaymaster: z.ZodString;
2624
2148
  mailbox: z.ZodString;
2625
2149
  domainId: z.ZodOptional<z.ZodNumber>;
2626
2150
  displayName: z.ZodOptional<z.ZodString>;
@@ -2713,128 +2237,51 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2713
2237
  confirmations: z.ZodNumber;
2714
2238
  reorgPeriod: z.ZodOptional<z.ZodNumber>;
2715
2239
  estimateBlockTime: z.ZodOptional<z.ZodNumber>;
2716
- }, "strip", z.ZodTypeAny, {
2717
- confirmations: number;
2718
- reorgPeriod?: number | undefined;
2719
- estimateBlockTime?: number | undefined;
2720
- }, {
2721
- confirmations: number;
2722
- reorgPeriod?: number | undefined;
2723
- estimateBlockTime?: number | undefined;
2724
- }>>;
2725
- transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
2726
- gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
2727
- gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
2728
- isTestnet: z.ZodOptional<z.ZodBoolean>;
2729
- validatorAnnounce: z.ZodString;
2730
- customRpcUrls: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
2731
- http: z.ZodString;
2732
- webSocket: z.ZodOptional<z.ZodString>;
2733
- pagination: z.ZodOptional<z.ZodObject<{
2734
- maxBlockRange: z.ZodOptional<z.ZodNumber>;
2735
- minBlockNumber: z.ZodOptional<z.ZodNumber>;
2736
- maxBlockAge: z.ZodOptional<z.ZodNumber>;
2737
- }, "strip", z.ZodTypeAny, {
2738
- maxBlockRange?: number | undefined;
2739
- minBlockNumber?: number | undefined;
2740
- maxBlockAge?: number | undefined;
2741
- }, {
2742
- maxBlockRange?: number | undefined;
2743
- minBlockNumber?: number | undefined;
2744
- maxBlockAge?: number | undefined;
2745
- }>>;
2746
- retry: z.ZodOptional<z.ZodObject<{
2747
- maxRequests: z.ZodNumber;
2748
- baseRetryMs: z.ZodNumber;
2749
- }, "strip", z.ZodTypeAny, {
2750
- maxRequests: number;
2751
- baseRetryMs: number;
2752
- }, {
2753
- maxRequests: number;
2754
- baseRetryMs: number;
2755
- }>>;
2756
- priority: z.ZodOptional<z.ZodNumber>;
2757
- }, "strip", z.ZodTypeAny, {
2758
- http: string;
2759
- webSocket?: string | undefined;
2760
- pagination?: {
2761
- maxBlockRange?: number | undefined;
2762
- minBlockNumber?: number | undefined;
2763
- maxBlockAge?: number | undefined;
2764
- } | undefined;
2765
- retry?: {
2766
- maxRequests: number;
2767
- baseRetryMs: number;
2768
- } | undefined;
2769
- priority?: number | undefined;
2770
- }, {
2771
- http: string;
2772
- webSocket?: string | undefined;
2773
- pagination?: {
2774
- maxBlockRange?: number | undefined;
2775
- minBlockNumber?: number | undefined;
2776
- maxBlockAge?: number | undefined;
2777
- } | undefined;
2778
- retry?: {
2779
- maxRequests: number;
2780
- baseRetryMs: number;
2781
- } | undefined;
2782
- priority?: number | undefined;
2783
- }>>, Record<string, {
2784
- http: string;
2785
- webSocket?: string | undefined;
2786
- pagination?: {
2787
- maxBlockRange?: number | undefined;
2788
- minBlockNumber?: number | undefined;
2789
- maxBlockAge?: number | undefined;
2790
- } | undefined;
2791
- retry?: {
2792
- maxRequests: number;
2793
- baseRetryMs: number;
2794
- } | undefined;
2795
- priority?: number | undefined;
2796
- }>, Record<string, {
2797
- http: string;
2798
- webSocket?: string | undefined;
2799
- pagination?: {
2800
- maxBlockRange?: number | undefined;
2801
- minBlockNumber?: number | undefined;
2802
- maxBlockAge?: number | undefined;
2803
- } | undefined;
2804
- retry?: {
2805
- maxRequests: number;
2806
- baseRetryMs: number;
2807
- } | undefined;
2808
- priority?: number | undefined;
2809
- }>>>;
2810
- rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
2240
+ }, "strip", z.ZodTypeAny, {
2241
+ confirmations: number;
2242
+ reorgPeriod?: number | undefined;
2243
+ estimateBlockTime?: number | undefined;
2244
+ }, {
2245
+ confirmations: number;
2246
+ reorgPeriod?: number | undefined;
2247
+ estimateBlockTime?: number | undefined;
2248
+ }>>;
2249
+ transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
2250
+ gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
2251
+ gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
2252
+ isTestnet: z.ZodOptional<z.ZodBoolean>;
2253
+ validatorAnnounce: z.ZodString;
2254
+ merkleTreeHook: z.ZodString;
2255
+ interchainGasPaymaster: z.ZodString;
2256
+ customRpcUrls: z.ZodOptional<z.ZodString>;
2257
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
2811
2258
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2812
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
2259
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
2813
2260
  key: z.ZodString;
2814
2261
  }, "strip", z.ZodTypeAny, {
2815
2262
  key: string;
2816
- type?: "hexKey" | undefined;
2263
+ type?: AgentSignerKeyType.Hex | undefined;
2817
2264
  }, {
2818
2265
  key: string;
2819
- type?: "hexKey" | undefined;
2266
+ type?: AgentSignerKeyType.Hex | undefined;
2820
2267
  }>, z.ZodObject<{
2821
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
2268
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
2822
2269
  id: z.ZodString;
2823
2270
  region: z.ZodString;
2824
2271
  }, "strip", z.ZodTypeAny, {
2825
2272
  id: string;
2826
2273
  region: string;
2827
- type?: "aws" | undefined;
2274
+ type?: AgentSignerKeyType.Aws | undefined;
2828
2275
  }, {
2829
2276
  id: string;
2830
2277
  region: string;
2831
- type?: "aws" | undefined;
2278
+ type?: AgentSignerKeyType.Aws | undefined;
2832
2279
  }>, z.ZodObject<{
2833
- type: z.ZodLiteral<"node">;
2280
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
2834
2281
  }, "strip", z.ZodTypeAny, {
2835
- type: "node";
2282
+ type: AgentSignerKeyType.Node;
2836
2283
  }, {
2837
- type: "node";
2284
+ type: AgentSignerKeyType.Node;
2838
2285
  }>]>>;
2839
2286
  index: z.ZodOptional<z.ZodObject<{
2840
2287
  from: z.ZodOptional<z.ZodNumber>;
@@ -2851,9 +2298,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2851
2298
  }>>;
2852
2299
  }, "strip", z.ZodTypeAny, {
2853
2300
  name: string;
2854
- protocol: ProtocolType;
2301
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
2855
2302
  chainId: number;
2856
- interchainGasPaymaster: string;
2857
2303
  mailbox: string;
2858
2304
  rpcUrls: [{
2859
2305
  http: string;
@@ -2881,6 +2327,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2881
2327
  } | undefined;
2882
2328
  }[]];
2883
2329
  validatorAnnounce: string;
2330
+ merkleTreeHook: string;
2331
+ interchainGasPaymaster: string;
2884
2332
  interchainSecurityModule?: string | undefined;
2885
2333
  domainId?: number | undefined;
2886
2334
  displayName?: string | undefined;
@@ -2907,30 +2355,17 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2907
2355
  gasCurrencyCoinGeckoId?: string | undefined;
2908
2356
  gnosisSafeTransactionServiceUrl?: string | undefined;
2909
2357
  isTestnet?: boolean | undefined;
2910
- customRpcUrls?: Record<string, {
2911
- http: string;
2912
- webSocket?: string | undefined;
2913
- pagination?: {
2914
- maxBlockRange?: number | undefined;
2915
- minBlockNumber?: number | undefined;
2916
- maxBlockAge?: number | undefined;
2917
- } | undefined;
2918
- retry?: {
2919
- maxRequests: number;
2920
- baseRetryMs: number;
2921
- } | undefined;
2922
- priority?: number | undefined;
2923
- }> | undefined;
2924
- rpcConsensusType?: AgentConsensusType | undefined;
2358
+ customRpcUrls?: string | undefined;
2359
+ rpcConsensusType?: RpcConsensusType | undefined;
2925
2360
  signer?: {
2926
2361
  key: string;
2927
- type?: "hexKey" | undefined;
2362
+ type?: AgentSignerKeyType.Hex | undefined;
2928
2363
  } | {
2929
2364
  id: string;
2930
2365
  region: string;
2931
- type?: "aws" | undefined;
2366
+ type?: AgentSignerKeyType.Aws | undefined;
2932
2367
  } | {
2933
- type: "node";
2368
+ type: AgentSignerKeyType.Node;
2934
2369
  } | undefined;
2935
2370
  index?: {
2936
2371
  from?: number | undefined;
@@ -2939,9 +2374,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2939
2374
  } | undefined;
2940
2375
  }, {
2941
2376
  name: string;
2942
- protocol: ProtocolType;
2377
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
2943
2378
  chainId: number;
2944
- interchainGasPaymaster: string;
2945
2379
  mailbox: string;
2946
2380
  rpcUrls: [{
2947
2381
  http: string;
@@ -2969,6 +2403,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2969
2403
  } | undefined;
2970
2404
  }[]];
2971
2405
  validatorAnnounce: string;
2406
+ merkleTreeHook: string;
2407
+ interchainGasPaymaster: string;
2972
2408
  interchainSecurityModule?: string | undefined;
2973
2409
  domainId?: number | undefined;
2974
2410
  displayName?: string | undefined;
@@ -2995,30 +2431,17 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2995
2431
  gasCurrencyCoinGeckoId?: string | undefined;
2996
2432
  gnosisSafeTransactionServiceUrl?: string | undefined;
2997
2433
  isTestnet?: boolean | undefined;
2998
- customRpcUrls?: Record<string, {
2999
- http: string;
3000
- webSocket?: string | undefined;
3001
- pagination?: {
3002
- maxBlockRange?: number | undefined;
3003
- minBlockNumber?: number | undefined;
3004
- maxBlockAge?: number | undefined;
3005
- } | undefined;
3006
- retry?: {
3007
- maxRequests: number;
3008
- baseRetryMs: number;
3009
- } | undefined;
3010
- priority?: number | undefined;
3011
- }> | undefined;
3012
- rpcConsensusType?: AgentConsensusType | undefined;
2434
+ customRpcUrls?: string | undefined;
2435
+ rpcConsensusType?: RpcConsensusType | undefined;
3013
2436
  signer?: {
3014
2437
  key: string;
3015
- type?: "hexKey" | undefined;
2438
+ type?: AgentSignerKeyType.Hex | undefined;
3016
2439
  } | {
3017
2440
  id: string;
3018
2441
  region: string;
3019
- type?: "aws" | undefined;
2442
+ type?: AgentSignerKeyType.Aws | undefined;
3020
2443
  } | {
3021
- type: "node";
2444
+ type: AgentSignerKeyType.Node;
3022
2445
  } | undefined;
3023
2446
  index?: {
3024
2447
  from?: number | undefined;
@@ -3027,9 +2450,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3027
2450
  } | undefined;
3028
2451
  }>>, Record<string, {
3029
2452
  name: string;
3030
- protocol: ProtocolType;
2453
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3031
2454
  chainId: number;
3032
- interchainGasPaymaster: string;
3033
2455
  mailbox: string;
3034
2456
  rpcUrls: [{
3035
2457
  http: string;
@@ -3057,6 +2479,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3057
2479
  } | undefined;
3058
2480
  }[]];
3059
2481
  validatorAnnounce: string;
2482
+ merkleTreeHook: string;
2483
+ interchainGasPaymaster: string;
3060
2484
  interchainSecurityModule?: string | undefined;
3061
2485
  domainId?: number | undefined;
3062
2486
  displayName?: string | undefined;
@@ -3083,30 +2507,17 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3083
2507
  gasCurrencyCoinGeckoId?: string | undefined;
3084
2508
  gnosisSafeTransactionServiceUrl?: string | undefined;
3085
2509
  isTestnet?: boolean | undefined;
3086
- customRpcUrls?: Record<string, {
3087
- http: string;
3088
- webSocket?: string | undefined;
3089
- pagination?: {
3090
- maxBlockRange?: number | undefined;
3091
- minBlockNumber?: number | undefined;
3092
- maxBlockAge?: number | undefined;
3093
- } | undefined;
3094
- retry?: {
3095
- maxRequests: number;
3096
- baseRetryMs: number;
3097
- } | undefined;
3098
- priority?: number | undefined;
3099
- }> | undefined;
3100
- rpcConsensusType?: AgentConsensusType | undefined;
2510
+ customRpcUrls?: string | undefined;
2511
+ rpcConsensusType?: RpcConsensusType | undefined;
3101
2512
  signer?: {
3102
2513
  key: string;
3103
- type?: "hexKey" | undefined;
2514
+ type?: AgentSignerKeyType.Hex | undefined;
3104
2515
  } | {
3105
2516
  id: string;
3106
2517
  region: string;
3107
- type?: "aws" | undefined;
2518
+ type?: AgentSignerKeyType.Aws | undefined;
3108
2519
  } | {
3109
- type: "node";
2520
+ type: AgentSignerKeyType.Node;
3110
2521
  } | undefined;
3111
2522
  index?: {
3112
2523
  from?: number | undefined;
@@ -3115,9 +2526,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3115
2526
  } | undefined;
3116
2527
  }>, Record<string, {
3117
2528
  name: string;
3118
- protocol: ProtocolType;
2529
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3119
2530
  chainId: number;
3120
- interchainGasPaymaster: string;
3121
2531
  mailbox: string;
3122
2532
  rpcUrls: [{
3123
2533
  http: string;
@@ -3145,6 +2555,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3145
2555
  } | undefined;
3146
2556
  }[]];
3147
2557
  validatorAnnounce: string;
2558
+ merkleTreeHook: string;
2559
+ interchainGasPaymaster: string;
3148
2560
  interchainSecurityModule?: string | undefined;
3149
2561
  domainId?: number | undefined;
3150
2562
  displayName?: string | undefined;
@@ -3171,30 +2583,17 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3171
2583
  gasCurrencyCoinGeckoId?: string | undefined;
3172
2584
  gnosisSafeTransactionServiceUrl?: string | undefined;
3173
2585
  isTestnet?: boolean | undefined;
3174
- customRpcUrls?: Record<string, {
3175
- http: string;
3176
- webSocket?: string | undefined;
3177
- pagination?: {
3178
- maxBlockRange?: number | undefined;
3179
- minBlockNumber?: number | undefined;
3180
- maxBlockAge?: number | undefined;
3181
- } | undefined;
3182
- retry?: {
3183
- maxRequests: number;
3184
- baseRetryMs: number;
3185
- } | undefined;
3186
- priority?: number | undefined;
3187
- }> | undefined;
3188
- rpcConsensusType?: AgentConsensusType | undefined;
2586
+ customRpcUrls?: string | undefined;
2587
+ rpcConsensusType?: RpcConsensusType | undefined;
3189
2588
  signer?: {
3190
2589
  key: string;
3191
- type?: "hexKey" | undefined;
2590
+ type?: AgentSignerKeyType.Hex | undefined;
3192
2591
  } | {
3193
2592
  id: string;
3194
2593
  region: string;
3195
- type?: "aws" | undefined;
2594
+ type?: AgentSignerKeyType.Aws | undefined;
3196
2595
  } | {
3197
- type: "node";
2596
+ type: AgentSignerKeyType.Node;
3198
2597
  } | undefined;
3199
2598
  index?: {
3200
2599
  from?: number | undefined;
@@ -3203,34 +2602,34 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3203
2602
  } | undefined;
3204
2603
  }>>;
3205
2604
  defaultSigner: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3206
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
2605
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
3207
2606
  key: z.ZodString;
3208
2607
  }, "strip", z.ZodTypeAny, {
3209
2608
  key: string;
3210
- type?: "hexKey" | undefined;
2609
+ type?: AgentSignerKeyType.Hex | undefined;
3211
2610
  }, {
3212
2611
  key: string;
3213
- type?: "hexKey" | undefined;
2612
+ type?: AgentSignerKeyType.Hex | undefined;
3214
2613
  }>, z.ZodObject<{
3215
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
2614
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
3216
2615
  id: z.ZodString;
3217
2616
  region: z.ZodString;
3218
2617
  }, "strip", z.ZodTypeAny, {
3219
2618
  id: string;
3220
2619
  region: string;
3221
- type?: "aws" | undefined;
2620
+ type?: AgentSignerKeyType.Aws | undefined;
3222
2621
  }, {
3223
2622
  id: string;
3224
2623
  region: string;
3225
- type?: "aws" | undefined;
2624
+ type?: AgentSignerKeyType.Aws | undefined;
3226
2625
  }>, z.ZodObject<{
3227
- type: z.ZodLiteral<"node">;
2626
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
3228
2627
  }, "strip", z.ZodTypeAny, {
3229
- type: "node";
2628
+ type: AgentSignerKeyType.Node;
3230
2629
  }, {
3231
- type: "node";
2630
+ type: AgentSignerKeyType.Node;
3232
2631
  }>]>>;
3233
- defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
2632
+ defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
3234
2633
  log: z.ZodOptional<z.ZodObject<{
3235
2634
  format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
3236
2635
  level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
@@ -3246,9 +2645,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3246
2645
  }, "strip", z.ZodTypeAny, {
3247
2646
  chains: Record<string, {
3248
2647
  name: string;
3249
- protocol: ProtocolType;
2648
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3250
2649
  chainId: number;
3251
- interchainGasPaymaster: string;
3252
2650
  mailbox: string;
3253
2651
  rpcUrls: [{
3254
2652
  http: string;
@@ -3276,6 +2674,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3276
2674
  } | undefined;
3277
2675
  }[]];
3278
2676
  validatorAnnounce: string;
2677
+ merkleTreeHook: string;
2678
+ interchainGasPaymaster: string;
3279
2679
  interchainSecurityModule?: string | undefined;
3280
2680
  domainId?: number | undefined;
3281
2681
  displayName?: string | undefined;
@@ -3302,30 +2702,17 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3302
2702
  gasCurrencyCoinGeckoId?: string | undefined;
3303
2703
  gnosisSafeTransactionServiceUrl?: string | undefined;
3304
2704
  isTestnet?: boolean | undefined;
3305
- customRpcUrls?: Record<string, {
3306
- http: string;
3307
- webSocket?: string | undefined;
3308
- pagination?: {
3309
- maxBlockRange?: number | undefined;
3310
- minBlockNumber?: number | undefined;
3311
- maxBlockAge?: number | undefined;
3312
- } | undefined;
3313
- retry?: {
3314
- maxRequests: number;
3315
- baseRetryMs: number;
3316
- } | undefined;
3317
- priority?: number | undefined;
3318
- }> | undefined;
3319
- rpcConsensusType?: AgentConsensusType | undefined;
2705
+ customRpcUrls?: string | undefined;
2706
+ rpcConsensusType?: RpcConsensusType | undefined;
3320
2707
  signer?: {
3321
2708
  key: string;
3322
- type?: "hexKey" | undefined;
2709
+ type?: AgentSignerKeyType.Hex | undefined;
3323
2710
  } | {
3324
2711
  id: string;
3325
2712
  region: string;
3326
- type?: "aws" | undefined;
2713
+ type?: AgentSignerKeyType.Aws | undefined;
3327
2714
  } | {
3328
- type: "node";
2715
+ type: AgentSignerKeyType.Node;
3329
2716
  } | undefined;
3330
2717
  index?: {
3331
2718
  from?: number | undefined;
@@ -3338,15 +2725,15 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3338
2725
  metricsPort?: number | undefined;
3339
2726
  defaultSigner?: {
3340
2727
  key: string;
3341
- type?: "hexKey" | undefined;
2728
+ type?: AgentSignerKeyType.Hex | undefined;
3342
2729
  } | {
3343
2730
  id: string;
3344
2731
  region: string;
3345
- type?: "aws" | undefined;
2732
+ type?: AgentSignerKeyType.Aws | undefined;
3346
2733
  } | {
3347
- type: "node";
2734
+ type: AgentSignerKeyType.Node;
3348
2735
  } | undefined;
3349
- defaultRpcConsensusType?: AgentConsensusType | undefined;
2736
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
3350
2737
  log?: {
3351
2738
  format?: AgentLogFormat | undefined;
3352
2739
  level?: AgentLogLevel | undefined;
@@ -3354,9 +2741,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3354
2741
  }, {
3355
2742
  chains: Record<string, {
3356
2743
  name: string;
3357
- protocol: ProtocolType;
2744
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3358
2745
  chainId: number;
3359
- interchainGasPaymaster: string;
3360
2746
  mailbox: string;
3361
2747
  rpcUrls: [{
3362
2748
  http: string;
@@ -3384,6 +2770,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3384
2770
  } | undefined;
3385
2771
  }[]];
3386
2772
  validatorAnnounce: string;
2773
+ merkleTreeHook: string;
2774
+ interchainGasPaymaster: string;
3387
2775
  interchainSecurityModule?: string | undefined;
3388
2776
  domainId?: number | undefined;
3389
2777
  displayName?: string | undefined;
@@ -3410,30 +2798,17 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3410
2798
  gasCurrencyCoinGeckoId?: string | undefined;
3411
2799
  gnosisSafeTransactionServiceUrl?: string | undefined;
3412
2800
  isTestnet?: boolean | undefined;
3413
- customRpcUrls?: Record<string, {
3414
- http: string;
3415
- webSocket?: string | undefined;
3416
- pagination?: {
3417
- maxBlockRange?: number | undefined;
3418
- minBlockNumber?: number | undefined;
3419
- maxBlockAge?: number | undefined;
3420
- } | undefined;
3421
- retry?: {
3422
- maxRequests: number;
3423
- baseRetryMs: number;
3424
- } | undefined;
3425
- priority?: number | undefined;
3426
- }> | undefined;
3427
- rpcConsensusType?: AgentConsensusType | undefined;
2801
+ customRpcUrls?: string | undefined;
2802
+ rpcConsensusType?: RpcConsensusType | undefined;
3428
2803
  signer?: {
3429
2804
  key: string;
3430
- type?: "hexKey" | undefined;
2805
+ type?: AgentSignerKeyType.Hex | undefined;
3431
2806
  } | {
3432
2807
  id: string;
3433
2808
  region: string;
3434
- type?: "aws" | undefined;
2809
+ type?: AgentSignerKeyType.Aws | undefined;
3435
2810
  } | {
3436
- type: "node";
2811
+ type: AgentSignerKeyType.Node;
3437
2812
  } | undefined;
3438
2813
  index?: {
3439
2814
  from?: number | undefined;
@@ -3446,15 +2821,15 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3446
2821
  metricsPort?: number | undefined;
3447
2822
  defaultSigner?: {
3448
2823
  key: string;
3449
- type?: "hexKey" | undefined;
2824
+ type?: AgentSignerKeyType.Hex | undefined;
3450
2825
  } | {
3451
2826
  id: string;
3452
2827
  region: string;
3453
- type?: "aws" | undefined;
2828
+ type?: AgentSignerKeyType.Aws | undefined;
3454
2829
  } | {
3455
- type: "node";
2830
+ type: AgentSignerKeyType.Node;
3456
2831
  } | undefined;
3457
- defaultRpcConsensusType?: AgentConsensusType | undefined;
2832
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
3458
2833
  log?: {
3459
2834
  format?: AgentLogFormat | undefined;
3460
2835
  level?: AgentLogLevel | undefined;
@@ -3465,10 +2840,9 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3465
2840
  metricsPort: z.ZodOptional<z.ZodNumber>;
3466
2841
  chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
3467
2842
  name: z.ZodString;
3468
- protocol: z.ZodNativeEnum<typeof ProtocolType>;
2843
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
3469
2844
  chainId: z.ZodNumber;
3470
2845
  interchainSecurityModule: z.ZodOptional<z.ZodString>;
3471
- interchainGasPaymaster: z.ZodString;
3472
2846
  mailbox: z.ZodString;
3473
2847
  domainId: z.ZodOptional<z.ZodNumber>;
3474
2848
  displayName: z.ZodOptional<z.ZodString>;
@@ -3575,114 +2949,37 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3575
2949
  gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
3576
2950
  isTestnet: z.ZodOptional<z.ZodBoolean>;
3577
2951
  validatorAnnounce: z.ZodString;
3578
- customRpcUrls: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
3579
- http: z.ZodString;
3580
- webSocket: z.ZodOptional<z.ZodString>;
3581
- pagination: z.ZodOptional<z.ZodObject<{
3582
- maxBlockRange: z.ZodOptional<z.ZodNumber>;
3583
- minBlockNumber: z.ZodOptional<z.ZodNumber>;
3584
- maxBlockAge: z.ZodOptional<z.ZodNumber>;
3585
- }, "strip", z.ZodTypeAny, {
3586
- maxBlockRange?: number | undefined;
3587
- minBlockNumber?: number | undefined;
3588
- maxBlockAge?: number | undefined;
3589
- }, {
3590
- maxBlockRange?: number | undefined;
3591
- minBlockNumber?: number | undefined;
3592
- maxBlockAge?: number | undefined;
3593
- }>>;
3594
- retry: z.ZodOptional<z.ZodObject<{
3595
- maxRequests: z.ZodNumber;
3596
- baseRetryMs: z.ZodNumber;
3597
- }, "strip", z.ZodTypeAny, {
3598
- maxRequests: number;
3599
- baseRetryMs: number;
3600
- }, {
3601
- maxRequests: number;
3602
- baseRetryMs: number;
3603
- }>>;
3604
- priority: z.ZodOptional<z.ZodNumber>;
3605
- }, "strip", z.ZodTypeAny, {
3606
- http: string;
3607
- webSocket?: string | undefined;
3608
- pagination?: {
3609
- maxBlockRange?: number | undefined;
3610
- minBlockNumber?: number | undefined;
3611
- maxBlockAge?: number | undefined;
3612
- } | undefined;
3613
- retry?: {
3614
- maxRequests: number;
3615
- baseRetryMs: number;
3616
- } | undefined;
3617
- priority?: number | undefined;
3618
- }, {
3619
- http: string;
3620
- webSocket?: string | undefined;
3621
- pagination?: {
3622
- maxBlockRange?: number | undefined;
3623
- minBlockNumber?: number | undefined;
3624
- maxBlockAge?: number | undefined;
3625
- } | undefined;
3626
- retry?: {
3627
- maxRequests: number;
3628
- baseRetryMs: number;
3629
- } | undefined;
3630
- priority?: number | undefined;
3631
- }>>, Record<string, {
3632
- http: string;
3633
- webSocket?: string | undefined;
3634
- pagination?: {
3635
- maxBlockRange?: number | undefined;
3636
- minBlockNumber?: number | undefined;
3637
- maxBlockAge?: number | undefined;
3638
- } | undefined;
3639
- retry?: {
3640
- maxRequests: number;
3641
- baseRetryMs: number;
3642
- } | undefined;
3643
- priority?: number | undefined;
3644
- }>, Record<string, {
3645
- http: string;
3646
- webSocket?: string | undefined;
3647
- pagination?: {
3648
- maxBlockRange?: number | undefined;
3649
- minBlockNumber?: number | undefined;
3650
- maxBlockAge?: number | undefined;
3651
- } | undefined;
3652
- retry?: {
3653
- maxRequests: number;
3654
- baseRetryMs: number;
3655
- } | undefined;
3656
- priority?: number | undefined;
3657
- }>>>;
3658
- rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
2952
+ merkleTreeHook: z.ZodString;
2953
+ interchainGasPaymaster: z.ZodString;
2954
+ customRpcUrls: z.ZodOptional<z.ZodString>;
2955
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
3659
2956
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3660
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
2957
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
3661
2958
  key: z.ZodString;
3662
2959
  }, "strip", z.ZodTypeAny, {
3663
2960
  key: string;
3664
- type?: "hexKey" | undefined;
2961
+ type?: AgentSignerKeyType.Hex | undefined;
3665
2962
  }, {
3666
2963
  key: string;
3667
- type?: "hexKey" | undefined;
2964
+ type?: AgentSignerKeyType.Hex | undefined;
3668
2965
  }>, z.ZodObject<{
3669
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
2966
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
3670
2967
  id: z.ZodString;
3671
2968
  region: z.ZodString;
3672
2969
  }, "strip", z.ZodTypeAny, {
3673
2970
  id: string;
3674
2971
  region: string;
3675
- type?: "aws" | undefined;
2972
+ type?: AgentSignerKeyType.Aws | undefined;
3676
2973
  }, {
3677
2974
  id: string;
3678
2975
  region: string;
3679
- type?: "aws" | undefined;
2976
+ type?: AgentSignerKeyType.Aws | undefined;
3680
2977
  }>, z.ZodObject<{
3681
- type: z.ZodLiteral<"node">;
2978
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
3682
2979
  }, "strip", z.ZodTypeAny, {
3683
- type: "node";
2980
+ type: AgentSignerKeyType.Node;
3684
2981
  }, {
3685
- type: "node";
2982
+ type: AgentSignerKeyType.Node;
3686
2983
  }>]>>;
3687
2984
  index: z.ZodOptional<z.ZodObject<{
3688
2985
  from: z.ZodOptional<z.ZodNumber>;
@@ -3699,9 +2996,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3699
2996
  }>>;
3700
2997
  }, "strip", z.ZodTypeAny, {
3701
2998
  name: string;
3702
- protocol: ProtocolType;
2999
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3703
3000
  chainId: number;
3704
- interchainGasPaymaster: string;
3705
3001
  mailbox: string;
3706
3002
  rpcUrls: [{
3707
3003
  http: string;
@@ -3729,6 +3025,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3729
3025
  } | undefined;
3730
3026
  }[]];
3731
3027
  validatorAnnounce: string;
3028
+ merkleTreeHook: string;
3029
+ interchainGasPaymaster: string;
3732
3030
  interchainSecurityModule?: string | undefined;
3733
3031
  domainId?: number | undefined;
3734
3032
  displayName?: string | undefined;
@@ -3755,30 +3053,17 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3755
3053
  gasCurrencyCoinGeckoId?: string | undefined;
3756
3054
  gnosisSafeTransactionServiceUrl?: string | undefined;
3757
3055
  isTestnet?: boolean | undefined;
3758
- customRpcUrls?: Record<string, {
3759
- http: string;
3760
- webSocket?: string | undefined;
3761
- pagination?: {
3762
- maxBlockRange?: number | undefined;
3763
- minBlockNumber?: number | undefined;
3764
- maxBlockAge?: number | undefined;
3765
- } | undefined;
3766
- retry?: {
3767
- maxRequests: number;
3768
- baseRetryMs: number;
3769
- } | undefined;
3770
- priority?: number | undefined;
3771
- }> | undefined;
3772
- rpcConsensusType?: AgentConsensusType | undefined;
3056
+ customRpcUrls?: string | undefined;
3057
+ rpcConsensusType?: RpcConsensusType | undefined;
3773
3058
  signer?: {
3774
3059
  key: string;
3775
- type?: "hexKey" | undefined;
3060
+ type?: AgentSignerKeyType.Hex | undefined;
3776
3061
  } | {
3777
3062
  id: string;
3778
3063
  region: string;
3779
- type?: "aws" | undefined;
3064
+ type?: AgentSignerKeyType.Aws | undefined;
3780
3065
  } | {
3781
- type: "node";
3066
+ type: AgentSignerKeyType.Node;
3782
3067
  } | undefined;
3783
3068
  index?: {
3784
3069
  from?: number | undefined;
@@ -3787,9 +3072,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3787
3072
  } | undefined;
3788
3073
  }, {
3789
3074
  name: string;
3790
- protocol: ProtocolType;
3075
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3791
3076
  chainId: number;
3792
- interchainGasPaymaster: string;
3793
3077
  mailbox: string;
3794
3078
  rpcUrls: [{
3795
3079
  http: string;
@@ -3817,6 +3101,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3817
3101
  } | undefined;
3818
3102
  }[]];
3819
3103
  validatorAnnounce: string;
3104
+ merkleTreeHook: string;
3105
+ interchainGasPaymaster: string;
3820
3106
  interchainSecurityModule?: string | undefined;
3821
3107
  domainId?: number | undefined;
3822
3108
  displayName?: string | undefined;
@@ -3843,30 +3129,17 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3843
3129
  gasCurrencyCoinGeckoId?: string | undefined;
3844
3130
  gnosisSafeTransactionServiceUrl?: string | undefined;
3845
3131
  isTestnet?: boolean | undefined;
3846
- customRpcUrls?: Record<string, {
3847
- http: string;
3848
- webSocket?: string | undefined;
3849
- pagination?: {
3850
- maxBlockRange?: number | undefined;
3851
- minBlockNumber?: number | undefined;
3852
- maxBlockAge?: number | undefined;
3853
- } | undefined;
3854
- retry?: {
3855
- maxRequests: number;
3856
- baseRetryMs: number;
3857
- } | undefined;
3858
- priority?: number | undefined;
3859
- }> | undefined;
3860
- rpcConsensusType?: AgentConsensusType | undefined;
3132
+ customRpcUrls?: string | undefined;
3133
+ rpcConsensusType?: RpcConsensusType | undefined;
3861
3134
  signer?: {
3862
3135
  key: string;
3863
- type?: "hexKey" | undefined;
3136
+ type?: AgentSignerKeyType.Hex | undefined;
3864
3137
  } | {
3865
3138
  id: string;
3866
3139
  region: string;
3867
- type?: "aws" | undefined;
3140
+ type?: AgentSignerKeyType.Aws | undefined;
3868
3141
  } | {
3869
- type: "node";
3142
+ type: AgentSignerKeyType.Node;
3870
3143
  } | undefined;
3871
3144
  index?: {
3872
3145
  from?: number | undefined;
@@ -3875,9 +3148,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3875
3148
  } | undefined;
3876
3149
  }>>, Record<string, {
3877
3150
  name: string;
3878
- protocol: ProtocolType;
3151
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3879
3152
  chainId: number;
3880
- interchainGasPaymaster: string;
3881
3153
  mailbox: string;
3882
3154
  rpcUrls: [{
3883
3155
  http: string;
@@ -3905,6 +3177,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3905
3177
  } | undefined;
3906
3178
  }[]];
3907
3179
  validatorAnnounce: string;
3180
+ merkleTreeHook: string;
3181
+ interchainGasPaymaster: string;
3908
3182
  interchainSecurityModule?: string | undefined;
3909
3183
  domainId?: number | undefined;
3910
3184
  displayName?: string | undefined;
@@ -3931,30 +3205,17 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3931
3205
  gasCurrencyCoinGeckoId?: string | undefined;
3932
3206
  gnosisSafeTransactionServiceUrl?: string | undefined;
3933
3207
  isTestnet?: boolean | undefined;
3934
- customRpcUrls?: Record<string, {
3935
- http: string;
3936
- webSocket?: string | undefined;
3937
- pagination?: {
3938
- maxBlockRange?: number | undefined;
3939
- minBlockNumber?: number | undefined;
3940
- maxBlockAge?: number | undefined;
3941
- } | undefined;
3942
- retry?: {
3943
- maxRequests: number;
3944
- baseRetryMs: number;
3945
- } | undefined;
3946
- priority?: number | undefined;
3947
- }> | undefined;
3948
- rpcConsensusType?: AgentConsensusType | undefined;
3208
+ customRpcUrls?: string | undefined;
3209
+ rpcConsensusType?: RpcConsensusType | undefined;
3949
3210
  signer?: {
3950
3211
  key: string;
3951
- type?: "hexKey" | undefined;
3212
+ type?: AgentSignerKeyType.Hex | undefined;
3952
3213
  } | {
3953
3214
  id: string;
3954
3215
  region: string;
3955
- type?: "aws" | undefined;
3216
+ type?: AgentSignerKeyType.Aws | undefined;
3956
3217
  } | {
3957
- type: "node";
3218
+ type: AgentSignerKeyType.Node;
3958
3219
  } | undefined;
3959
3220
  index?: {
3960
3221
  from?: number | undefined;
@@ -3963,9 +3224,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3963
3224
  } | undefined;
3964
3225
  }>, Record<string, {
3965
3226
  name: string;
3966
- protocol: ProtocolType;
3227
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3967
3228
  chainId: number;
3968
- interchainGasPaymaster: string;
3969
3229
  mailbox: string;
3970
3230
  rpcUrls: [{
3971
3231
  http: string;
@@ -3993,6 +3253,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3993
3253
  } | undefined;
3994
3254
  }[]];
3995
3255
  validatorAnnounce: string;
3256
+ merkleTreeHook: string;
3257
+ interchainGasPaymaster: string;
3996
3258
  interchainSecurityModule?: string | undefined;
3997
3259
  domainId?: number | undefined;
3998
3260
  displayName?: string | undefined;
@@ -4019,30 +3281,17 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4019
3281
  gasCurrencyCoinGeckoId?: string | undefined;
4020
3282
  gnosisSafeTransactionServiceUrl?: string | undefined;
4021
3283
  isTestnet?: boolean | undefined;
4022
- customRpcUrls?: Record<string, {
4023
- http: string;
4024
- webSocket?: string | undefined;
4025
- pagination?: {
4026
- maxBlockRange?: number | undefined;
4027
- minBlockNumber?: number | undefined;
4028
- maxBlockAge?: number | undefined;
4029
- } | undefined;
4030
- retry?: {
4031
- maxRequests: number;
4032
- baseRetryMs: number;
4033
- } | undefined;
4034
- priority?: number | undefined;
4035
- }> | undefined;
4036
- rpcConsensusType?: AgentConsensusType | undefined;
3284
+ customRpcUrls?: string | undefined;
3285
+ rpcConsensusType?: RpcConsensusType | undefined;
4037
3286
  signer?: {
4038
3287
  key: string;
4039
- type?: "hexKey" | undefined;
3288
+ type?: AgentSignerKeyType.Hex | undefined;
4040
3289
  } | {
4041
3290
  id: string;
4042
3291
  region: string;
4043
- type?: "aws" | undefined;
3292
+ type?: AgentSignerKeyType.Aws | undefined;
4044
3293
  } | {
4045
- type: "node";
3294
+ type: AgentSignerKeyType.Node;
4046
3295
  } | undefined;
4047
3296
  index?: {
4048
3297
  from?: number | undefined;
@@ -4051,34 +3300,34 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4051
3300
  } | undefined;
4052
3301
  }>>;
4053
3302
  defaultSigner: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4054
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
3303
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
4055
3304
  key: z.ZodString;
4056
3305
  }, "strip", z.ZodTypeAny, {
4057
3306
  key: string;
4058
- type?: "hexKey" | undefined;
3307
+ type?: AgentSignerKeyType.Hex | undefined;
4059
3308
  }, {
4060
3309
  key: string;
4061
- type?: "hexKey" | undefined;
3310
+ type?: AgentSignerKeyType.Hex | undefined;
4062
3311
  }>, z.ZodObject<{
4063
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
3312
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
4064
3313
  id: z.ZodString;
4065
3314
  region: z.ZodString;
4066
3315
  }, "strip", z.ZodTypeAny, {
4067
3316
  id: string;
4068
3317
  region: string;
4069
- type?: "aws" | undefined;
3318
+ type?: AgentSignerKeyType.Aws | undefined;
4070
3319
  }, {
4071
3320
  id: string;
4072
3321
  region: string;
4073
- type?: "aws" | undefined;
3322
+ type?: AgentSignerKeyType.Aws | undefined;
4074
3323
  }>, z.ZodObject<{
4075
- type: z.ZodLiteral<"node">;
3324
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
4076
3325
  }, "strip", z.ZodTypeAny, {
4077
- type: "node";
3326
+ type: AgentSignerKeyType.Node;
4078
3327
  }, {
4079
- type: "node";
3328
+ type: AgentSignerKeyType.Node;
4080
3329
  }>]>>;
4081
- defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
3330
+ defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
4082
3331
  log: z.ZodOptional<z.ZodObject<{
4083
3332
  format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
4084
3333
  level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
@@ -4092,32 +3341,32 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4092
3341
  db: z.ZodOptional<z.ZodString>;
4093
3342
  originChainName: z.ZodString;
4094
3343
  validator: z.ZodUnion<[z.ZodObject<{
4095
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
3344
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
4096
3345
  key: z.ZodString;
4097
3346
  }, "strip", z.ZodTypeAny, {
4098
3347
  key: string;
4099
- type?: "hexKey" | undefined;
3348
+ type?: AgentSignerKeyType.Hex | undefined;
4100
3349
  }, {
4101
3350
  key: string;
4102
- type?: "hexKey" | undefined;
3351
+ type?: AgentSignerKeyType.Hex | undefined;
4103
3352
  }>, z.ZodObject<{
4104
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
3353
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
4105
3354
  id: z.ZodString;
4106
3355
  region: z.ZodString;
4107
3356
  }, "strip", z.ZodTypeAny, {
4108
3357
  id: string;
4109
3358
  region: string;
4110
- type?: "aws" | undefined;
3359
+ type?: AgentSignerKeyType.Aws | undefined;
4111
3360
  }, {
4112
3361
  id: string;
4113
3362
  region: string;
4114
- type?: "aws" | undefined;
3363
+ type?: AgentSignerKeyType.Aws | undefined;
4115
3364
  }>, z.ZodObject<{
4116
- type: z.ZodLiteral<"node">;
3365
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
4117
3366
  }, "strip", z.ZodTypeAny, {
4118
- type: "node";
3367
+ type: AgentSignerKeyType.Node;
4119
3368
  }, {
4120
- type: "node";
3369
+ type: AgentSignerKeyType.Node;
4121
3370
  }>]>;
4122
3371
  checkpointSyncer: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4123
3372
  type: z.ZodLiteral<"localStorage">;
@@ -4148,9 +3397,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4148
3397
  }, "strip", z.ZodTypeAny, {
4149
3398
  chains: Record<string, {
4150
3399
  name: string;
4151
- protocol: ProtocolType;
3400
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
4152
3401
  chainId: number;
4153
- interchainGasPaymaster: string;
4154
3402
  mailbox: string;
4155
3403
  rpcUrls: [{
4156
3404
  http: string;
@@ -4178,6 +3426,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4178
3426
  } | undefined;
4179
3427
  }[]];
4180
3428
  validatorAnnounce: string;
3429
+ merkleTreeHook: string;
3430
+ interchainGasPaymaster: string;
4181
3431
  interchainSecurityModule?: string | undefined;
4182
3432
  domainId?: number | undefined;
4183
3433
  displayName?: string | undefined;
@@ -4204,30 +3454,17 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4204
3454
  gasCurrencyCoinGeckoId?: string | undefined;
4205
3455
  gnosisSafeTransactionServiceUrl?: string | undefined;
4206
3456
  isTestnet?: boolean | undefined;
4207
- customRpcUrls?: Record<string, {
4208
- http: string;
4209
- webSocket?: string | undefined;
4210
- pagination?: {
4211
- maxBlockRange?: number | undefined;
4212
- minBlockNumber?: number | undefined;
4213
- maxBlockAge?: number | undefined;
4214
- } | undefined;
4215
- retry?: {
4216
- maxRequests: number;
4217
- baseRetryMs: number;
4218
- } | undefined;
4219
- priority?: number | undefined;
4220
- }> | undefined;
4221
- rpcConsensusType?: AgentConsensusType | undefined;
3457
+ customRpcUrls?: string | undefined;
3458
+ rpcConsensusType?: RpcConsensusType | undefined;
4222
3459
  signer?: {
4223
3460
  key: string;
4224
- type?: "hexKey" | undefined;
3461
+ type?: AgentSignerKeyType.Hex | undefined;
4225
3462
  } | {
4226
3463
  id: string;
4227
3464
  region: string;
4228
- type?: "aws" | undefined;
3465
+ type?: AgentSignerKeyType.Aws | undefined;
4229
3466
  } | {
4230
- type: "node";
3467
+ type: AgentSignerKeyType.Node;
4231
3468
  } | undefined;
4232
3469
  index?: {
4233
3470
  from?: number | undefined;
@@ -4238,27 +3475,27 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4238
3475
  originChainName: string;
4239
3476
  validator: {
4240
3477
  key: string;
4241
- type?: "hexKey" | undefined;
3478
+ type?: AgentSignerKeyType.Hex | undefined;
4242
3479
  } | {
4243
3480
  id: string;
4244
3481
  region: string;
4245
- type?: "aws" | undefined;
3482
+ type?: AgentSignerKeyType.Aws | undefined;
4246
3483
  } | {
4247
- type: "node";
3484
+ type: AgentSignerKeyType.Node;
4248
3485
  } | ({
4249
3486
  key: string;
4250
- type?: "hexKey" | undefined;
3487
+ type?: AgentSignerKeyType.Hex | undefined;
4251
3488
  } & {
4252
3489
  id: string;
4253
3490
  region: string;
4254
- type?: "aws" | undefined;
3491
+ type?: AgentSignerKeyType.Aws | undefined;
4255
3492
  }) | ({
4256
3493
  id: string;
4257
3494
  region: string;
4258
- type?: "aws" | undefined;
3495
+ type?: AgentSignerKeyType.Aws | undefined;
4259
3496
  } & {
4260
3497
  key: string;
4261
- type?: "hexKey" | undefined;
3498
+ type?: AgentSignerKeyType.Hex | undefined;
4262
3499
  });
4263
3500
  checkpointSyncer: {
4264
3501
  type: "localStorage";
@@ -4272,15 +3509,15 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4272
3509
  metricsPort?: number | undefined;
4273
3510
  defaultSigner?: {
4274
3511
  key: string;
4275
- type?: "hexKey" | undefined;
3512
+ type?: AgentSignerKeyType.Hex | undefined;
4276
3513
  } | {
4277
3514
  id: string;
4278
3515
  region: string;
4279
- type?: "aws" | undefined;
3516
+ type?: AgentSignerKeyType.Aws | undefined;
4280
3517
  } | {
4281
- type: "node";
3518
+ type: AgentSignerKeyType.Node;
4282
3519
  } | undefined;
4283
- defaultRpcConsensusType?: AgentConsensusType | undefined;
3520
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
4284
3521
  log?: {
4285
3522
  format?: AgentLogFormat | undefined;
4286
3523
  level?: AgentLogLevel | undefined;
@@ -4290,9 +3527,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4290
3527
  }, {
4291
3528
  chains: Record<string, {
4292
3529
  name: string;
4293
- protocol: ProtocolType;
3530
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
4294
3531
  chainId: number;
4295
- interchainGasPaymaster: string;
4296
3532
  mailbox: string;
4297
3533
  rpcUrls: [{
4298
3534
  http: string;
@@ -4320,6 +3556,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4320
3556
  } | undefined;
4321
3557
  }[]];
4322
3558
  validatorAnnounce: string;
3559
+ merkleTreeHook: string;
3560
+ interchainGasPaymaster: string;
4323
3561
  interchainSecurityModule?: string | undefined;
4324
3562
  domainId?: number | undefined;
4325
3563
  displayName?: string | undefined;
@@ -4346,30 +3584,17 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4346
3584
  gasCurrencyCoinGeckoId?: string | undefined;
4347
3585
  gnosisSafeTransactionServiceUrl?: string | undefined;
4348
3586
  isTestnet?: boolean | undefined;
4349
- customRpcUrls?: Record<string, {
4350
- http: string;
4351
- webSocket?: string | undefined;
4352
- pagination?: {
4353
- maxBlockRange?: number | undefined;
4354
- minBlockNumber?: number | undefined;
4355
- maxBlockAge?: number | undefined;
4356
- } | undefined;
4357
- retry?: {
4358
- maxRequests: number;
4359
- baseRetryMs: number;
4360
- } | undefined;
4361
- priority?: number | undefined;
4362
- }> | undefined;
4363
- rpcConsensusType?: AgentConsensusType | undefined;
3587
+ customRpcUrls?: string | undefined;
3588
+ rpcConsensusType?: RpcConsensusType | undefined;
4364
3589
  signer?: {
4365
3590
  key: string;
4366
- type?: "hexKey" | undefined;
3591
+ type?: AgentSignerKeyType.Hex | undefined;
4367
3592
  } | {
4368
3593
  id: string;
4369
3594
  region: string;
4370
- type?: "aws" | undefined;
3595
+ type?: AgentSignerKeyType.Aws | undefined;
4371
3596
  } | {
4372
- type: "node";
3597
+ type: AgentSignerKeyType.Node;
4373
3598
  } | undefined;
4374
3599
  index?: {
4375
3600
  from?: number | undefined;
@@ -4380,27 +3605,27 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4380
3605
  originChainName: string;
4381
3606
  validator: {
4382
3607
  key: string;
4383
- type?: "hexKey" | undefined;
3608
+ type?: AgentSignerKeyType.Hex | undefined;
4384
3609
  } | {
4385
3610
  id: string;
4386
3611
  region: string;
4387
- type?: "aws" | undefined;
3612
+ type?: AgentSignerKeyType.Aws | undefined;
4388
3613
  } | {
4389
- type: "node";
3614
+ type: AgentSignerKeyType.Node;
4390
3615
  } | ({
4391
3616
  key: string;
4392
- type?: "hexKey" | undefined;
3617
+ type?: AgentSignerKeyType.Hex | undefined;
4393
3618
  } & {
4394
3619
  id: string;
4395
3620
  region: string;
4396
- type?: "aws" | undefined;
3621
+ type?: AgentSignerKeyType.Aws | undefined;
4397
3622
  }) | ({
4398
3623
  id: string;
4399
3624
  region: string;
4400
- type?: "aws" | undefined;
3625
+ type?: AgentSignerKeyType.Aws | undefined;
4401
3626
  } & {
4402
3627
  key: string;
4403
- type?: "hexKey" | undefined;
3628
+ type?: AgentSignerKeyType.Hex | undefined;
4404
3629
  });
4405
3630
  checkpointSyncer: {
4406
3631
  type: "localStorage";
@@ -4414,15 +3639,15 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4414
3639
  metricsPort?: number | undefined;
4415
3640
  defaultSigner?: {
4416
3641
  key: string;
4417
- type?: "hexKey" | undefined;
3642
+ type?: AgentSignerKeyType.Hex | undefined;
4418
3643
  } | {
4419
3644
  id: string;
4420
3645
  region: string;
4421
- type?: "aws" | undefined;
3646
+ type?: AgentSignerKeyType.Aws | undefined;
4422
3647
  } | {
4423
- type: "node";
3648
+ type: AgentSignerKeyType.Node;
4424
3649
  } | undefined;
4425
- defaultRpcConsensusType?: AgentConsensusType | undefined;
3650
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
4426
3651
  log?: {
4427
3652
  format?: AgentLogFormat | undefined;
4428
3653
  level?: AgentLogLevel | undefined;
@@ -4431,57 +3656,7 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4431
3656
  interval?: number | undefined;
4432
3657
  }>;
4433
3658
  export type ValidatorConfig = z.infer<typeof ValidatorAgentConfigSchema>;
4434
- export type AgentConfigV2 = z.infer<typeof AgentConfigSchema>;
4435
- /**
4436
- * Deprecated agent config shapes.
4437
- * See https://github.com/hyperlane-xyz/hyperlane-monorepo/issues/2215
4438
- */
4439
- export interface AgentSigner {
4440
- key: string;
4441
- type: string;
4442
- }
4443
- export type AgentConnection = {
4444
- type: AgentConnectionType.Http;
4445
- url: string;
4446
- } | {
4447
- type: AgentConnectionType.Ws;
4448
- url: string;
4449
- } | {
4450
- type: AgentConnectionType.HttpQuorum;
4451
- urls: string;
4452
- } | {
4453
- type: AgentConnectionType.HttpFallback;
4454
- urls: string;
4455
- };
4456
- export interface AgentChainSetupBase {
4457
- name: ChainName;
4458
- domain: number;
4459
- signer?: AgentSigner;
4460
- finalityBlocks: number;
4461
- addresses: HyperlaneDeploymentArtifacts;
4462
- protocol: ProtocolType;
4463
- connection?: AgentConnection;
4464
- index?: {
4465
- from: number;
4466
- };
4467
- }
4468
- export interface AgentChainSetup extends AgentChainSetupBase {
4469
- signer: AgentSigner;
4470
- connection: AgentConnection;
4471
- }
4472
- export interface AgentConfig {
4473
- chains: Partial<ChainMap<AgentChainSetupBase>>;
4474
- tracing?: {
4475
- level?: string;
4476
- fmt?: 'json';
4477
- };
4478
- }
4479
- /**
4480
- * Utilities for generating agent configs from metadata / artifacts.
4481
- */
4482
- export declare function buildAgentConfigNew(chains: ChainName[], multiProvider: MultiProvider, addresses: ChainMap<HyperlaneDeploymentArtifacts>, startBlocks: ChainMap<number>): ChainMap<AgentChainMetadata>;
4483
- export declare function buildAgentConfigDeprecated(chains: ChainName[], multiProvider: MultiProvider, addresses: ChainMap<HyperlaneDeploymentArtifacts>, startBlocks: ChainMap<number>): AgentConfig;
4484
- export type CombinedAgentConfig = AgentConfigV2['chains'] | AgentConfig;
4485
- export declare function buildAgentConfig(chains: ChainName[], multiProvider: MultiProvider, addresses: ChainMap<HyperlaneDeploymentArtifacts>, startBlocks: ChainMap<number>): CombinedAgentConfig;
3659
+ export type AgentConfig = z.infer<typeof AgentConfigSchema>;
3660
+ export declare function buildAgentConfig(chains: ChainName[], multiProvider: MultiProvider, addresses: ChainMap<HyperlaneDeploymentArtifacts>, startBlocks: ChainMap<number>): AgentConfig;
4486
3661
  export {};
4487
3662
  //# sourceMappingURL=agentConfig.d.ts.map