@hyperlane-xyz/sdk 1.5.8 → 3.1.0-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 (294) hide show
  1. package/dist/app/HyperlaneApp.d.ts +1 -1
  2. package/dist/app/HyperlaneApp.d.ts.map +1 -1
  3. package/dist/app/HyperlaneApp.js +1 -1
  4. package/dist/app/HyperlaneApp.js.map +1 -1
  5. package/dist/app/MultiProtocolApp.d.ts +5 -1
  6. package/dist/app/MultiProtocolApp.d.ts.map +1 -1
  7. package/dist/app/MultiProtocolApp.js +11 -1
  8. package/dist/app/MultiProtocolApp.js.map +1 -1
  9. package/dist/app/MultiProtocolApp.test.js +2 -0
  10. package/dist/app/MultiProtocolApp.test.js.map +1 -1
  11. package/dist/consts/chainMetadata.d.ts +5 -0
  12. package/dist/consts/chainMetadata.d.ts.map +1 -1
  13. package/dist/consts/chainMetadata.js +137 -3
  14. package/dist/consts/chainMetadata.js.map +1 -1
  15. package/dist/consts/chains.d.ts +11 -6
  16. package/dist/consts/chains.d.ts.map +1 -1
  17. package/dist/consts/chains.js +15 -5
  18. package/dist/consts/chains.js.map +1 -1
  19. package/dist/consts/environments/index.d.ts +141 -168
  20. package/dist/consts/environments/index.d.ts.map +1 -1
  21. package/dist/consts/environments/index.js +1 -2
  22. package/dist/consts/environments/index.js.map +1 -1
  23. package/dist/consts/environments/testnet.json +181 -167
  24. package/dist/consts/multisigIsm.d.ts +2 -2
  25. package/dist/consts/multisigIsm.d.ts.map +1 -1
  26. package/dist/consts/multisigIsm.js +67 -48
  27. package/dist/consts/multisigIsm.js.map +1 -1
  28. package/dist/contracts/contracts.d.ts +1 -1
  29. package/dist/contracts/contracts.d.ts.map +1 -1
  30. package/dist/contracts/contracts.js +8 -2
  31. package/dist/contracts/contracts.js.map +1 -1
  32. package/dist/core/CoreDeployer.hardhat-test.js +65 -13
  33. package/dist/core/CoreDeployer.hardhat-test.js.map +1 -1
  34. package/dist/core/HyperlaneCore.d.ts +6 -2
  35. package/dist/core/HyperlaneCore.d.ts.map +1 -1
  36. package/dist/core/HyperlaneCore.js +15 -3
  37. package/dist/core/HyperlaneCore.js.map +1 -1
  38. package/dist/core/HyperlaneCoreChecker.d.ts.map +1 -1
  39. package/dist/core/HyperlaneCoreChecker.js +2 -2
  40. package/dist/core/HyperlaneCoreChecker.js.map +1 -1
  41. package/dist/core/HyperlaneCoreDeployer.d.ts +7 -2
  42. package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
  43. package/dist/core/HyperlaneCoreDeployer.js +51 -29
  44. package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
  45. package/dist/core/MultiProtocolCore.d.ts +1 -1
  46. package/dist/core/MultiProtocolCore.d.ts.map +1 -1
  47. package/dist/core/MultiProtocolCore.js +3 -3
  48. package/dist/core/MultiProtocolCore.js.map +1 -1
  49. package/dist/core/MultiProtocolCore.test.js +2 -2
  50. package/dist/core/MultiProtocolCore.test.js.map +1 -1
  51. package/dist/core/TestCoreApp.d.ts +0 -1
  52. package/dist/core/TestCoreApp.d.ts.map +1 -1
  53. package/dist/core/TestCoreDeployer.d.ts +1 -5
  54. package/dist/core/TestCoreDeployer.d.ts.map +1 -1
  55. package/dist/core/TestCoreDeployer.js +0 -20
  56. package/dist/core/TestCoreDeployer.js.map +1 -1
  57. package/dist/core/adapters/CosmWasmCoreAdapter.d.ts +26 -0
  58. package/dist/core/adapters/CosmWasmCoreAdapter.d.ts.map +1 -0
  59. package/dist/core/adapters/CosmWasmCoreAdapter.js +33 -0
  60. package/dist/core/adapters/CosmWasmCoreAdapter.js.map +1 -0
  61. package/dist/core/adapters/EvmCoreAdapter.d.ts +1 -1
  62. package/dist/core/adapters/EvmCoreAdapter.d.ts.map +1 -1
  63. package/dist/core/adapters/SealevelCoreAdapter.d.ts +1 -1
  64. package/dist/core/adapters/SealevelCoreAdapter.d.ts.map +1 -1
  65. package/dist/core/adapters/SealevelCoreAdapter.js +0 -1
  66. package/dist/core/adapters/SealevelCoreAdapter.js.map +1 -1
  67. package/dist/core/adapters/types.d.ts +1 -1
  68. package/dist/core/adapters/types.d.ts.map +1 -1
  69. package/dist/core/contracts.d.ts +3 -9
  70. package/dist/core/contracts.d.ts.map +1 -1
  71. package/dist/core/contracts.js +0 -1
  72. package/dist/core/contracts.js.map +1 -1
  73. package/dist/core/testHyperlaneDeploy.hardhat-test.js +8 -3
  74. package/dist/core/testHyperlaneDeploy.hardhat-test.js.map +1 -1
  75. package/dist/core/types.d.ts +3 -0
  76. package/dist/core/types.d.ts.map +1 -1
  77. package/dist/core/types.js.map +1 -1
  78. package/dist/cw-types/Cw20Base.types.d.ts +198 -0
  79. package/dist/cw-types/Cw20Base.types.d.ts.map +1 -0
  80. package/dist/cw-types/Cw20Base.types.js +8 -0
  81. package/dist/cw-types/Cw20Base.types.js.map +1 -0
  82. package/dist/cw-types/Mailbox.types.d.ts +131 -0
  83. package/dist/cw-types/Mailbox.types.d.ts.map +1 -0
  84. package/dist/cw-types/Mailbox.types.js +8 -0
  85. package/dist/cw-types/Mailbox.types.js.map +1 -0
  86. package/dist/cw-types/WarpCw20.types.d.ts +192 -0
  87. package/dist/cw-types/WarpCw20.types.d.ts.map +1 -0
  88. package/dist/cw-types/WarpCw20.types.js +8 -0
  89. package/dist/cw-types/WarpCw20.types.js.map +1 -0
  90. package/dist/deploy/HyperlaneAppChecker.d.ts.map +1 -1
  91. package/dist/deploy/HyperlaneAppChecker.js +3 -5
  92. package/dist/deploy/HyperlaneAppChecker.js.map +1 -1
  93. package/dist/deploy/HyperlaneDeployer.d.ts +14 -7
  94. package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
  95. package/dist/deploy/HyperlaneDeployer.js +89 -70
  96. package/dist/deploy/HyperlaneDeployer.js.map +1 -1
  97. package/dist/deploy/HyperlaneProxyFactoryDeployer.d.ts +10 -0
  98. package/dist/deploy/HyperlaneProxyFactoryDeployer.d.ts.map +1 -0
  99. package/dist/deploy/HyperlaneProxyFactoryDeployer.js +34 -0
  100. package/dist/deploy/HyperlaneProxyFactoryDeployer.js.map +1 -0
  101. package/dist/deploy/contracts.d.ts +13 -0
  102. package/dist/deploy/contracts.d.ts.map +1 -0
  103. package/dist/deploy/contracts.js +20 -0
  104. package/dist/deploy/contracts.js.map +1 -0
  105. package/dist/deploy/proxy.d.ts +1 -0
  106. package/dist/deploy/proxy.d.ts.map +1 -1
  107. package/dist/deploy/proxy.js +8 -1
  108. package/dist/deploy/proxy.js.map +1 -1
  109. package/dist/deploy/verify/ContractVerifier.d.ts.map +1 -1
  110. package/dist/deploy/verify/ContractVerifier.js +7 -2
  111. package/dist/deploy/verify/ContractVerifier.js.map +1 -1
  112. package/dist/gas/HyperlaneIgp.js +1 -1
  113. package/dist/gas/HyperlaneIgp.js.map +1 -1
  114. package/dist/gas/HyperlaneIgpChecker.d.ts +2 -2
  115. package/dist/gas/HyperlaneIgpChecker.d.ts.map +1 -1
  116. package/dist/gas/HyperlaneIgpChecker.js +5 -12
  117. package/dist/gas/HyperlaneIgpChecker.js.map +1 -1
  118. package/dist/gas/HyperlaneIgpDeployer.d.ts +4 -6
  119. package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
  120. package/dist/gas/HyperlaneIgpDeployer.js +12 -43
  121. package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
  122. package/dist/gas/contracts.d.ts +2 -4
  123. package/dist/gas/contracts.d.ts.map +1 -1
  124. package/dist/gas/contracts.js +1 -3
  125. package/dist/gas/contracts.js.map +1 -1
  126. package/dist/gas/types.d.ts +2 -6
  127. package/dist/gas/types.d.ts.map +1 -1
  128. package/dist/gas/types.js.map +1 -1
  129. package/dist/hook/HyperlaneHookDeployer.d.ts +28 -10
  130. package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
  131. package/dist/hook/HyperlaneHookDeployer.js +52 -70
  132. package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
  133. package/dist/hook/contracts.d.ts +6 -17
  134. package/dist/hook/contracts.d.ts.map +1 -1
  135. package/dist/hook/contracts.js +6 -13
  136. package/dist/hook/contracts.js.map +1 -1
  137. package/dist/hook/types.d.ts +24 -13
  138. package/dist/hook/types.d.ts.map +1 -1
  139. package/dist/hook/types.js +8 -6
  140. package/dist/hook/types.js.map +1 -1
  141. package/dist/index.d.ts +18 -11
  142. package/dist/index.d.ts.map +1 -1
  143. package/dist/index.js +43 -16
  144. package/dist/index.js.map +1 -1
  145. package/dist/ism/HyperlaneIsmFactory.d.ts +7 -5
  146. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  147. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +3 -3
  148. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
  149. package/dist/ism/HyperlaneIsmFactory.js +62 -57
  150. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  151. package/dist/ism/contracts.d.ts +4 -3
  152. package/dist/ism/contracts.d.ts.map +1 -1
  153. package/dist/ism/contracts.js +3 -2
  154. package/dist/ism/contracts.js.map +1 -1
  155. package/dist/ism/types.d.ts +12 -6
  156. package/dist/ism/types.d.ts.map +1 -1
  157. package/dist/ism/types.js +1 -0
  158. package/dist/ism/types.js.map +1 -1
  159. package/dist/metadata/ChainMetadataManager.d.ts +3 -13
  160. package/dist/metadata/ChainMetadataManager.d.ts.map +1 -1
  161. package/dist/metadata/ChainMetadataManager.js +16 -27
  162. package/dist/metadata/ChainMetadataManager.js.map +1 -1
  163. package/dist/metadata/agentConfig.d.ts +782 -1545
  164. package/dist/metadata/agentConfig.d.ts.map +1 -1
  165. package/dist/metadata/agentConfig.js +62 -95
  166. package/dist/metadata/agentConfig.js.map +1 -1
  167. package/dist/metadata/agentConfig.test.js +9 -9
  168. package/dist/metadata/agentConfig.test.js.map +1 -1
  169. package/dist/metadata/chainMetadata.test.js +16 -0
  170. package/dist/metadata/chainMetadata.test.js.map +1 -1
  171. package/dist/metadata/chainMetadataTypes.d.ts +570 -4
  172. package/dist/metadata/chainMetadataTypes.d.ts.map +1 -1
  173. package/dist/metadata/chainMetadataTypes.js +54 -8
  174. package/dist/metadata/chainMetadataTypes.js.map +1 -1
  175. package/dist/metadata/deploymentArtifacts.d.ts +5 -2
  176. package/dist/metadata/deploymentArtifacts.d.ts.map +1 -1
  177. package/dist/metadata/deploymentArtifacts.js +1 -0
  178. package/dist/metadata/deploymentArtifacts.js.map +1 -1
  179. package/dist/metadata/matchingList.d.ts +13 -13
  180. package/dist/metadata/matchingList.d.ts.map +1 -1
  181. package/dist/metadata/matchingList.js +2 -6
  182. package/dist/metadata/matchingList.js.map +1 -1
  183. package/dist/middleware/account/InterchainAccountDeployer.d.ts +2 -7
  184. package/dist/middleware/account/InterchainAccountDeployer.d.ts.map +1 -1
  185. package/dist/middleware/account/InterchainAccountDeployer.js +4 -9
  186. package/dist/middleware/account/InterchainAccountDeployer.js.map +1 -1
  187. package/dist/middleware/account/accounts.hardhat-test.js +8 -6
  188. package/dist/middleware/account/accounts.hardhat-test.js.map +1 -1
  189. package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.d.ts +2 -7
  190. package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.d.ts.map +1 -1
  191. package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.js +7 -11
  192. package/dist/middleware/liquidity-layer/LiquidityLayerRouterDeployer.js.map +1 -1
  193. package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.js +7 -7
  194. package/dist/middleware/liquidity-layer/liquidity-layer.hardhat-test.js.map +1 -1
  195. package/dist/middleware/query/InterchainQueryDeployer.d.ts +2 -7
  196. package/dist/middleware/query/InterchainQueryDeployer.d.ts.map +1 -1
  197. package/dist/middleware/query/InterchainQueryDeployer.js +3 -4
  198. package/dist/middleware/query/InterchainQueryDeployer.js.map +1 -1
  199. package/dist/middleware/query/queries.hardhat-test.js +8 -9
  200. package/dist/middleware/query/queries.hardhat-test.js.map +1 -1
  201. package/dist/providers/MultiProtocolProvider.d.ts +4 -1
  202. package/dist/providers/MultiProtocolProvider.d.ts.map +1 -1
  203. package/dist/providers/MultiProtocolProvider.js +16 -20
  204. package/dist/providers/MultiProtocolProvider.js.map +1 -1
  205. package/dist/providers/MultiProvider.d.ts +7 -2
  206. package/dist/providers/MultiProvider.d.ts.map +1 -1
  207. package/dist/providers/MultiProvider.js +12 -1
  208. package/dist/providers/MultiProvider.js.map +1 -1
  209. package/dist/providers/ProviderType.d.ts +45 -8
  210. package/dist/providers/ProviderType.d.ts.map +1 -1
  211. package/dist/providers/ProviderType.js +2 -0
  212. package/dist/providers/ProviderType.js.map +1 -1
  213. package/dist/providers/providerBuilders.d.ts +3 -1
  214. package/dist/providers/providerBuilders.d.ts.map +1 -1
  215. package/dist/providers/providerBuilders.js +24 -1
  216. package/dist/providers/providerBuilders.js.map +1 -1
  217. package/dist/router/GasRouterDeployer.d.ts.map +1 -1
  218. package/dist/router/GasRouterDeployer.js +1 -1
  219. package/dist/router/GasRouterDeployer.js.map +1 -1
  220. package/dist/router/HyperlaneRouterChecker.d.ts +1 -1
  221. package/dist/router/HyperlaneRouterChecker.d.ts.map +1 -1
  222. package/dist/router/HyperlaneRouterChecker.js +6 -6
  223. package/dist/router/HyperlaneRouterChecker.js.map +1 -1
  224. package/dist/router/HyperlaneRouterDeployer.d.ts +1 -1
  225. package/dist/router/HyperlaneRouterDeployer.d.ts.map +1 -1
  226. package/dist/router/HyperlaneRouterDeployer.js +15 -18
  227. package/dist/router/HyperlaneRouterDeployer.js.map +1 -1
  228. package/dist/router/MultiProtocolRouterApps.d.ts.map +1 -1
  229. package/dist/router/MultiProtocolRouterApps.js +1 -0
  230. package/dist/router/MultiProtocolRouterApps.js.map +1 -1
  231. package/dist/router/ProxiedRouterChecker.js +1 -1
  232. package/dist/router/ProxiedRouterChecker.js.map +1 -1
  233. package/dist/router/types.d.ts +14 -12
  234. package/dist/router/types.d.ts.map +1 -1
  235. package/dist/router/types.js +7 -7
  236. package/dist/router/types.js.map +1 -1
  237. package/dist/test/testUtils.d.ts +1 -3
  238. package/dist/test/testUtils.d.ts.map +1 -1
  239. package/dist/test/testUtils.js +18 -45
  240. package/dist/test/testUtils.js.map +1 -1
  241. package/dist/token/adapters/CosmWasmTokenAdapter.d.ts +107 -0
  242. package/dist/token/adapters/CosmWasmTokenAdapter.d.ts.map +1 -0
  243. package/dist/token/adapters/CosmWasmTokenAdapter.js +273 -0
  244. package/dist/token/adapters/CosmWasmTokenAdapter.js.map +1 -0
  245. package/dist/token/adapters/CosmWasmTokenAdapter.test.d.ts +10 -0
  246. package/dist/token/adapters/CosmWasmTokenAdapter.test.d.ts.map +1 -0
  247. package/dist/token/adapters/CosmWasmTokenAdapter.test.js +74 -0
  248. package/dist/token/adapters/CosmWasmTokenAdapter.test.js.map +1 -0
  249. package/dist/token/adapters/EvmTokenAdapter.d.ts +65 -0
  250. package/dist/token/adapters/EvmTokenAdapter.d.ts.map +1 -0
  251. package/dist/token/adapters/EvmTokenAdapter.js +119 -0
  252. package/dist/token/adapters/EvmTokenAdapter.js.map +1 -0
  253. package/dist/token/adapters/ITokenAdapter.d.ts +30 -0
  254. package/dist/token/adapters/ITokenAdapter.d.ts.map +1 -0
  255. package/dist/token/adapters/ITokenAdapter.js +3 -0
  256. package/dist/token/adapters/ITokenAdapter.js.map +1 -0
  257. package/dist/token/adapters/SealevelTokenAdapter.d.ts +117 -0
  258. package/dist/token/adapters/SealevelTokenAdapter.d.ts.map +1 -0
  259. package/dist/token/adapters/SealevelTokenAdapter.js +434 -0
  260. package/dist/token/adapters/SealevelTokenAdapter.js.map +1 -0
  261. package/dist/token/adapters/serialization.d.ts +50 -0
  262. package/dist/token/adapters/serialization.d.ts.map +1 -0
  263. package/dist/token/adapters/serialization.js +117 -0
  264. package/dist/token/adapters/serialization.js.map +1 -0
  265. package/dist/token/config.d.ts +48 -0
  266. package/dist/token/config.d.ts.map +1 -0
  267. package/dist/token/config.js +34 -0
  268. package/dist/token/config.js.map +1 -0
  269. package/dist/token/contracts.d.ts +9 -0
  270. package/dist/token/contracts.d.ts.map +1 -0
  271. package/dist/token/contracts.js +3 -0
  272. package/dist/token/contracts.js.map +1 -0
  273. package/dist/token/deploy.d.ts +40 -0
  274. package/dist/token/deploy.d.ts.map +1 -0
  275. package/dist/token/deploy.js +262 -0
  276. package/dist/token/deploy.js.map +1 -0
  277. package/dist/utils/wagmi.d.ts +1 -1
  278. package/dist/utils/wagmi.d.ts.map +1 -1
  279. package/dist/utils/wagmi.js +2 -1
  280. package/dist/utils/wagmi.js.map +1 -1
  281. package/package.json +12 -7
  282. package/dist/consts/agentStartBlocks.d.ts +0 -3
  283. package/dist/consts/agentStartBlocks.d.ts.map +0 -1
  284. package/dist/consts/agentStartBlocks.js +0 -28
  285. package/dist/consts/agentStartBlocks.js.map +0 -1
  286. package/dist/consts/environments/test.json +0 -41
  287. package/dist/hook/config.d.ts +0 -4
  288. package/dist/hook/config.d.ts.map +0 -1
  289. package/dist/hook/config.js +0 -9
  290. package/dist/hook/config.js.map +0 -1
  291. package/dist/ism/HyperlaneIsmFactoryDeployer.d.ts +0 -11
  292. package/dist/ism/HyperlaneIsmFactoryDeployer.d.ts.map +0 -1
  293. package/dist/ism/HyperlaneIsmFactoryDeployer.js +0 -39
  294. 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>;
70
- chainId: z.ZodNumber;
101
+ chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
102
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
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>;
@@ -174,116 +205,41 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
174
205
  transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
175
206
  gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
176
207
  gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
208
+ bech32Prefix: z.ZodOptional<z.ZodString>;
209
+ slip44: z.ZodOptional<z.ZodNumber>;
177
210
  isTestnet: z.ZodOptional<z.ZodBoolean>;
178
211
  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>>;
212
+ merkleTreeHook: z.ZodString;
213
+ interchainGasPaymaster: z.ZodString;
214
+ customRpcUrls: z.ZodOptional<z.ZodString>;
215
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
260
216
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
261
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
217
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
262
218
  key: z.ZodString;
263
219
  }, "strip", z.ZodTypeAny, {
264
220
  key: string;
265
- type?: "hexKey" | undefined;
221
+ type?: AgentSignerKeyType.Hex | undefined;
266
222
  }, {
267
223
  key: string;
268
- type?: "hexKey" | undefined;
224
+ type?: AgentSignerKeyType.Hex | undefined;
269
225
  }>, z.ZodObject<{
270
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
226
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
271
227
  id: z.ZodString;
272
228
  region: z.ZodString;
273
229
  }, "strip", z.ZodTypeAny, {
274
230
  id: string;
275
231
  region: string;
276
- type?: "aws" | undefined;
232
+ type?: AgentSignerKeyType.Aws | undefined;
277
233
  }, {
278
234
  id: string;
279
235
  region: string;
280
- type?: "aws" | undefined;
236
+ type?: AgentSignerKeyType.Aws | undefined;
281
237
  }>, z.ZodObject<{
282
- type: z.ZodLiteral<"node">;
238
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
283
239
  }, "strip", z.ZodTypeAny, {
284
- type: "node";
240
+ type: AgentSignerKeyType.Node;
285
241
  }, {
286
- type: "node";
242
+ type: AgentSignerKeyType.Node;
287
243
  }>]>>;
288
244
  index: z.ZodOptional<z.ZodObject<{
289
245
  from: z.ZodOptional<z.ZodNumber>;
@@ -300,9 +256,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
300
256
  }>>;
301
257
  }, "strip", z.ZodTypeAny, {
302
258
  name: string;
303
- protocol: ProtocolType;
304
- chainId: number;
305
- interchainGasPaymaster: string;
259
+ chainId: string | number;
260
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
306
261
  mailbox: string;
307
262
  rpcUrls: [{
308
263
  http: string;
@@ -330,6 +285,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
330
285
  } | undefined;
331
286
  }[]];
332
287
  validatorAnnounce: string;
288
+ merkleTreeHook: string;
289
+ interchainGasPaymaster: string;
333
290
  interchainSecurityModule?: string | undefined;
334
291
  domainId?: number | undefined;
335
292
  displayName?: string | undefined;
@@ -355,31 +312,20 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
355
312
  transactionOverrides?: {} | undefined;
356
313
  gasCurrencyCoinGeckoId?: string | undefined;
357
314
  gnosisSafeTransactionServiceUrl?: string | undefined;
315
+ bech32Prefix?: string | undefined;
316
+ slip44?: number | undefined;
358
317
  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;
318
+ customRpcUrls?: string | undefined;
319
+ rpcConsensusType?: RpcConsensusType | undefined;
374
320
  signer?: {
375
321
  key: string;
376
- type?: "hexKey" | undefined;
322
+ type?: AgentSignerKeyType.Hex | undefined;
377
323
  } | {
378
324
  id: string;
379
325
  region: string;
380
- type?: "aws" | undefined;
326
+ type?: AgentSignerKeyType.Aws | undefined;
381
327
  } | {
382
- type: "node";
328
+ type: AgentSignerKeyType.Node;
383
329
  } | undefined;
384
330
  index?: {
385
331
  from?: number | undefined;
@@ -388,9 +334,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
388
334
  } | undefined;
389
335
  }, {
390
336
  name: string;
391
- protocol: ProtocolType;
392
- chainId: number;
393
- interchainGasPaymaster: string;
337
+ chainId: string | number;
338
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
394
339
  mailbox: string;
395
340
  rpcUrls: [{
396
341
  http: string;
@@ -418,6 +363,8 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
418
363
  } | undefined;
419
364
  }[]];
420
365
  validatorAnnounce: string;
366
+ merkleTreeHook: string;
367
+ interchainGasPaymaster: string;
421
368
  interchainSecurityModule?: string | undefined;
422
369
  domainId?: number | undefined;
423
370
  displayName?: string | undefined;
@@ -443,31 +390,20 @@ export declare const AgentChainMetadataSchema: z.ZodObject<{
443
390
  transactionOverrides?: {} | undefined;
444
391
  gasCurrencyCoinGeckoId?: string | undefined;
445
392
  gnosisSafeTransactionServiceUrl?: string | undefined;
393
+ bech32Prefix?: string | undefined;
394
+ slip44?: number | undefined;
446
395
  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;
396
+ customRpcUrls?: string | undefined;
397
+ rpcConsensusType?: RpcConsensusType | undefined;
462
398
  signer?: {
463
399
  key: string;
464
- type?: "hexKey" | undefined;
400
+ type?: AgentSignerKeyType.Hex | undefined;
465
401
  } | {
466
402
  id: string;
467
403
  region: string;
468
- type?: "aws" | undefined;
404
+ type?: AgentSignerKeyType.Aws | undefined;
469
405
  } | {
470
- type: "node";
406
+ type: AgentSignerKeyType.Node;
471
407
  } | undefined;
472
408
  index?: {
473
409
  from?: number | undefined;
@@ -480,10 +416,9 @@ export declare const AgentConfigSchema: z.ZodObject<{
480
416
  metricsPort: z.ZodOptional<z.ZodNumber>;
481
417
  chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
482
418
  name: z.ZodString;
483
- protocol: z.ZodNativeEnum<typeof ProtocolType>;
484
- chainId: z.ZodNumber;
419
+ chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
420
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
485
421
  interchainSecurityModule: z.ZodOptional<z.ZodString>;
486
- interchainGasPaymaster: z.ZodString;
487
422
  mailbox: z.ZodString;
488
423
  domainId: z.ZodOptional<z.ZodNumber>;
489
424
  displayName: z.ZodOptional<z.ZodString>;
@@ -588,116 +523,41 @@ export declare const AgentConfigSchema: z.ZodObject<{
588
523
  transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
589
524
  gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
590
525
  gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
526
+ bech32Prefix: z.ZodOptional<z.ZodString>;
527
+ slip44: z.ZodOptional<z.ZodNumber>;
591
528
  isTestnet: z.ZodOptional<z.ZodBoolean>;
592
529
  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>>;
530
+ merkleTreeHook: z.ZodString;
531
+ interchainGasPaymaster: z.ZodString;
532
+ customRpcUrls: z.ZodOptional<z.ZodString>;
533
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
674
534
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
675
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
535
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
676
536
  key: z.ZodString;
677
537
  }, "strip", z.ZodTypeAny, {
678
538
  key: string;
679
- type?: "hexKey" | undefined;
539
+ type?: AgentSignerKeyType.Hex | undefined;
680
540
  }, {
681
541
  key: string;
682
- type?: "hexKey" | undefined;
542
+ type?: AgentSignerKeyType.Hex | undefined;
683
543
  }>, z.ZodObject<{
684
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
544
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
685
545
  id: z.ZodString;
686
546
  region: z.ZodString;
687
547
  }, "strip", z.ZodTypeAny, {
688
548
  id: string;
689
549
  region: string;
690
- type?: "aws" | undefined;
550
+ type?: AgentSignerKeyType.Aws | undefined;
691
551
  }, {
692
552
  id: string;
693
553
  region: string;
694
- type?: "aws" | undefined;
554
+ type?: AgentSignerKeyType.Aws | undefined;
695
555
  }>, z.ZodObject<{
696
- type: z.ZodLiteral<"node">;
556
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
697
557
  }, "strip", z.ZodTypeAny, {
698
- type: "node";
558
+ type: AgentSignerKeyType.Node;
699
559
  }, {
700
- type: "node";
560
+ type: AgentSignerKeyType.Node;
701
561
  }>]>>;
702
562
  index: z.ZodOptional<z.ZodObject<{
703
563
  from: z.ZodOptional<z.ZodNumber>;
@@ -714,9 +574,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
714
574
  }>>;
715
575
  }, "strip", z.ZodTypeAny, {
716
576
  name: string;
717
- protocol: ProtocolType;
718
- chainId: number;
719
- interchainGasPaymaster: string;
577
+ chainId: string | number;
578
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
720
579
  mailbox: string;
721
580
  rpcUrls: [{
722
581
  http: string;
@@ -744,6 +603,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
744
603
  } | undefined;
745
604
  }[]];
746
605
  validatorAnnounce: string;
606
+ merkleTreeHook: string;
607
+ interchainGasPaymaster: string;
747
608
  interchainSecurityModule?: string | undefined;
748
609
  domainId?: number | undefined;
749
610
  displayName?: string | undefined;
@@ -769,31 +630,20 @@ export declare const AgentConfigSchema: z.ZodObject<{
769
630
  transactionOverrides?: {} | undefined;
770
631
  gasCurrencyCoinGeckoId?: string | undefined;
771
632
  gnosisSafeTransactionServiceUrl?: string | undefined;
633
+ bech32Prefix?: string | undefined;
634
+ slip44?: number | undefined;
772
635
  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;
636
+ customRpcUrls?: string | undefined;
637
+ rpcConsensusType?: RpcConsensusType | undefined;
788
638
  signer?: {
789
639
  key: string;
790
- type?: "hexKey" | undefined;
640
+ type?: AgentSignerKeyType.Hex | undefined;
791
641
  } | {
792
642
  id: string;
793
643
  region: string;
794
- type?: "aws" | undefined;
644
+ type?: AgentSignerKeyType.Aws | undefined;
795
645
  } | {
796
- type: "node";
646
+ type: AgentSignerKeyType.Node;
797
647
  } | undefined;
798
648
  index?: {
799
649
  from?: number | undefined;
@@ -802,9 +652,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
802
652
  } | undefined;
803
653
  }, {
804
654
  name: string;
805
- protocol: ProtocolType;
806
- chainId: number;
807
- interchainGasPaymaster: string;
655
+ chainId: string | number;
656
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
808
657
  mailbox: string;
809
658
  rpcUrls: [{
810
659
  http: string;
@@ -832,6 +681,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
832
681
  } | undefined;
833
682
  }[]];
834
683
  validatorAnnounce: string;
684
+ merkleTreeHook: string;
685
+ interchainGasPaymaster: string;
835
686
  interchainSecurityModule?: string | undefined;
836
687
  domainId?: number | undefined;
837
688
  displayName?: string | undefined;
@@ -857,31 +708,20 @@ export declare const AgentConfigSchema: z.ZodObject<{
857
708
  transactionOverrides?: {} | undefined;
858
709
  gasCurrencyCoinGeckoId?: string | undefined;
859
710
  gnosisSafeTransactionServiceUrl?: string | undefined;
711
+ bech32Prefix?: string | undefined;
712
+ slip44?: number | undefined;
860
713
  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;
714
+ customRpcUrls?: string | undefined;
715
+ rpcConsensusType?: RpcConsensusType | undefined;
876
716
  signer?: {
877
717
  key: string;
878
- type?: "hexKey" | undefined;
718
+ type?: AgentSignerKeyType.Hex | undefined;
879
719
  } | {
880
720
  id: string;
881
721
  region: string;
882
- type?: "aws" | undefined;
722
+ type?: AgentSignerKeyType.Aws | undefined;
883
723
  } | {
884
- type: "node";
724
+ type: AgentSignerKeyType.Node;
885
725
  } | undefined;
886
726
  index?: {
887
727
  from?: number | undefined;
@@ -890,9 +730,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
890
730
  } | undefined;
891
731
  }>>, Record<string, {
892
732
  name: string;
893
- protocol: ProtocolType;
894
- chainId: number;
895
- interchainGasPaymaster: string;
733
+ chainId: string | number;
734
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
896
735
  mailbox: string;
897
736
  rpcUrls: [{
898
737
  http: string;
@@ -920,6 +759,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
920
759
  } | undefined;
921
760
  }[]];
922
761
  validatorAnnounce: string;
762
+ merkleTreeHook: string;
763
+ interchainGasPaymaster: string;
923
764
  interchainSecurityModule?: string | undefined;
924
765
  domainId?: number | undefined;
925
766
  displayName?: string | undefined;
@@ -945,31 +786,20 @@ export declare const AgentConfigSchema: z.ZodObject<{
945
786
  transactionOverrides?: {} | undefined;
946
787
  gasCurrencyCoinGeckoId?: string | undefined;
947
788
  gnosisSafeTransactionServiceUrl?: string | undefined;
789
+ bech32Prefix?: string | undefined;
790
+ slip44?: number | undefined;
948
791
  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;
792
+ customRpcUrls?: string | undefined;
793
+ rpcConsensusType?: RpcConsensusType | undefined;
964
794
  signer?: {
965
795
  key: string;
966
- type?: "hexKey" | undefined;
796
+ type?: AgentSignerKeyType.Hex | undefined;
967
797
  } | {
968
798
  id: string;
969
799
  region: string;
970
- type?: "aws" | undefined;
800
+ type?: AgentSignerKeyType.Aws | undefined;
971
801
  } | {
972
- type: "node";
802
+ type: AgentSignerKeyType.Node;
973
803
  } | undefined;
974
804
  index?: {
975
805
  from?: number | undefined;
@@ -978,9 +808,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
978
808
  } | undefined;
979
809
  }>, Record<string, {
980
810
  name: string;
981
- protocol: ProtocolType;
982
- chainId: number;
983
- interchainGasPaymaster: string;
811
+ chainId: string | number;
812
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
984
813
  mailbox: string;
985
814
  rpcUrls: [{
986
815
  http: string;
@@ -1008,6 +837,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1008
837
  } | undefined;
1009
838
  }[]];
1010
839
  validatorAnnounce: string;
840
+ merkleTreeHook: string;
841
+ interchainGasPaymaster: string;
1011
842
  interchainSecurityModule?: string | undefined;
1012
843
  domainId?: number | undefined;
1013
844
  displayName?: string | undefined;
@@ -1033,31 +864,20 @@ export declare const AgentConfigSchema: z.ZodObject<{
1033
864
  transactionOverrides?: {} | undefined;
1034
865
  gasCurrencyCoinGeckoId?: string | undefined;
1035
866
  gnosisSafeTransactionServiceUrl?: string | undefined;
867
+ bech32Prefix?: string | undefined;
868
+ slip44?: number | undefined;
1036
869
  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;
870
+ customRpcUrls?: string | undefined;
871
+ rpcConsensusType?: RpcConsensusType | undefined;
1052
872
  signer?: {
1053
873
  key: string;
1054
- type?: "hexKey" | undefined;
874
+ type?: AgentSignerKeyType.Hex | undefined;
1055
875
  } | {
1056
876
  id: string;
1057
877
  region: string;
1058
- type?: "aws" | undefined;
878
+ type?: AgentSignerKeyType.Aws | undefined;
1059
879
  } | {
1060
- type: "node";
880
+ type: AgentSignerKeyType.Node;
1061
881
  } | undefined;
1062
882
  index?: {
1063
883
  from?: number | undefined;
@@ -1066,34 +886,34 @@ export declare const AgentConfigSchema: z.ZodObject<{
1066
886
  } | undefined;
1067
887
  }>>;
1068
888
  defaultSigner: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1069
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
889
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
1070
890
  key: z.ZodString;
1071
891
  }, "strip", z.ZodTypeAny, {
1072
892
  key: string;
1073
- type?: "hexKey" | undefined;
893
+ type?: AgentSignerKeyType.Hex | undefined;
1074
894
  }, {
1075
895
  key: string;
1076
- type?: "hexKey" | undefined;
896
+ type?: AgentSignerKeyType.Hex | undefined;
1077
897
  }>, z.ZodObject<{
1078
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
898
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
1079
899
  id: z.ZodString;
1080
900
  region: z.ZodString;
1081
901
  }, "strip", z.ZodTypeAny, {
1082
902
  id: string;
1083
903
  region: string;
1084
- type?: "aws" | undefined;
904
+ type?: AgentSignerKeyType.Aws | undefined;
1085
905
  }, {
1086
906
  id: string;
1087
907
  region: string;
1088
- type?: "aws" | undefined;
908
+ type?: AgentSignerKeyType.Aws | undefined;
1089
909
  }>, z.ZodObject<{
1090
- type: z.ZodLiteral<"node">;
910
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
1091
911
  }, "strip", z.ZodTypeAny, {
1092
- type: "node";
912
+ type: AgentSignerKeyType.Node;
1093
913
  }, {
1094
- type: "node";
914
+ type: AgentSignerKeyType.Node;
1095
915
  }>]>>;
1096
- defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
916
+ defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
1097
917
  log: z.ZodOptional<z.ZodObject<{
1098
918
  format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
1099
919
  level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
@@ -1107,9 +927,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1107
927
  }, "strip", z.ZodTypeAny, {
1108
928
  chains: Record<string, {
1109
929
  name: string;
1110
- protocol: ProtocolType;
1111
- chainId: number;
1112
- interchainGasPaymaster: string;
930
+ chainId: string | number;
931
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1113
932
  mailbox: string;
1114
933
  rpcUrls: [{
1115
934
  http: string;
@@ -1137,6 +956,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1137
956
  } | undefined;
1138
957
  }[]];
1139
958
  validatorAnnounce: string;
959
+ merkleTreeHook: string;
960
+ interchainGasPaymaster: string;
1140
961
  interchainSecurityModule?: string | undefined;
1141
962
  domainId?: number | undefined;
1142
963
  displayName?: string | undefined;
@@ -1162,31 +983,20 @@ export declare const AgentConfigSchema: z.ZodObject<{
1162
983
  transactionOverrides?: {} | undefined;
1163
984
  gasCurrencyCoinGeckoId?: string | undefined;
1164
985
  gnosisSafeTransactionServiceUrl?: string | undefined;
986
+ bech32Prefix?: string | undefined;
987
+ slip44?: number | undefined;
1165
988
  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;
989
+ customRpcUrls?: string | undefined;
990
+ rpcConsensusType?: RpcConsensusType | undefined;
1181
991
  signer?: {
1182
992
  key: string;
1183
- type?: "hexKey" | undefined;
993
+ type?: AgentSignerKeyType.Hex | undefined;
1184
994
  } | {
1185
995
  id: string;
1186
996
  region: string;
1187
- type?: "aws" | undefined;
997
+ type?: AgentSignerKeyType.Aws | undefined;
1188
998
  } | {
1189
- type: "node";
999
+ type: AgentSignerKeyType.Node;
1190
1000
  } | undefined;
1191
1001
  index?: {
1192
1002
  from?: number | undefined;
@@ -1197,15 +1007,15 @@ export declare const AgentConfigSchema: z.ZodObject<{
1197
1007
  metricsPort?: number | undefined;
1198
1008
  defaultSigner?: {
1199
1009
  key: string;
1200
- type?: "hexKey" | undefined;
1010
+ type?: AgentSignerKeyType.Hex | undefined;
1201
1011
  } | {
1202
1012
  id: string;
1203
1013
  region: string;
1204
- type?: "aws" | undefined;
1014
+ type?: AgentSignerKeyType.Aws | undefined;
1205
1015
  } | {
1206
- type: "node";
1016
+ type: AgentSignerKeyType.Node;
1207
1017
  } | undefined;
1208
- defaultRpcConsensusType?: AgentConsensusType | undefined;
1018
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
1209
1019
  log?: {
1210
1020
  format?: AgentLogFormat | undefined;
1211
1021
  level?: AgentLogLevel | undefined;
@@ -1213,9 +1023,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1213
1023
  }, {
1214
1024
  chains: Record<string, {
1215
1025
  name: string;
1216
- protocol: ProtocolType;
1217
- chainId: number;
1218
- interchainGasPaymaster: string;
1026
+ chainId: string | number;
1027
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1219
1028
  mailbox: string;
1220
1029
  rpcUrls: [{
1221
1030
  http: string;
@@ -1243,6 +1052,8 @@ export declare const AgentConfigSchema: z.ZodObject<{
1243
1052
  } | undefined;
1244
1053
  }[]];
1245
1054
  validatorAnnounce: string;
1055
+ merkleTreeHook: string;
1056
+ interchainGasPaymaster: string;
1246
1057
  interchainSecurityModule?: string | undefined;
1247
1058
  domainId?: number | undefined;
1248
1059
  displayName?: string | undefined;
@@ -1268,31 +1079,20 @@ export declare const AgentConfigSchema: z.ZodObject<{
1268
1079
  transactionOverrides?: {} | undefined;
1269
1080
  gasCurrencyCoinGeckoId?: string | undefined;
1270
1081
  gnosisSafeTransactionServiceUrl?: string | undefined;
1082
+ bech32Prefix?: string | undefined;
1083
+ slip44?: number | undefined;
1271
1084
  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;
1085
+ customRpcUrls?: string | undefined;
1086
+ rpcConsensusType?: RpcConsensusType | undefined;
1287
1087
  signer?: {
1288
1088
  key: string;
1289
- type?: "hexKey" | undefined;
1089
+ type?: AgentSignerKeyType.Hex | undefined;
1290
1090
  } | {
1291
1091
  id: string;
1292
1092
  region: string;
1293
- type?: "aws" | undefined;
1093
+ type?: AgentSignerKeyType.Aws | undefined;
1294
1094
  } | {
1295
- type: "node";
1095
+ type: AgentSignerKeyType.Node;
1296
1096
  } | undefined;
1297
1097
  index?: {
1298
1098
  from?: number | undefined;
@@ -1303,168 +1103,152 @@ export declare const AgentConfigSchema: z.ZodObject<{
1303
1103
  metricsPort?: number | undefined;
1304
1104
  defaultSigner?: {
1305
1105
  key: string;
1306
- type?: "hexKey" | undefined;
1106
+ type?: AgentSignerKeyType.Hex | undefined;
1307
1107
  } | {
1308
1108
  id: string;
1309
1109
  region: string;
1310
- type?: "aws" | undefined;
1110
+ type?: AgentSignerKeyType.Aws | undefined;
1311
1111
  } | {
1312
- type: "node";
1112
+ type: AgentSignerKeyType.Node;
1313
1113
  } | undefined;
1314
- defaultRpcConsensusType?: AgentConsensusType | undefined;
1114
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
1315
1115
  log?: {
1316
1116
  format?: AgentLogFormat | undefined;
1317
1117
  level?: AgentLogLevel | undefined;
1318
1118
  } | undefined;
1319
1119
  }>;
1320
- declare const GasPaymentEnforcementSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1120
+ export declare enum GasPaymentEnforcementPolicyType {
1121
+ None = "none",
1122
+ Minimum = "minimum",
1123
+ OnChainFeeQuoting = "onChainFeeQuoting"
1124
+ }
1125
+ declare const GasPaymentEnforcementSchema: z.ZodUnion<[z.ZodObject<{
1321
1126
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
1322
1127
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
1323
- senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1128
+ senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1324
1129
  destinationDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
1325
- recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1130
+ recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1326
1131
  }, "strip", z.ZodTypeAny, {
1327
1132
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1328
- senderAddress?: string | [string, ...string[]] | undefined;
1133
+ senderAddress?: string | string[] | undefined;
1329
1134
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1330
- recipientAddress?: string | [string, ...string[]] | undefined;
1135
+ recipientAddress?: string | string[] | undefined;
1331
1136
  }, {
1332
1137
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1333
- senderAddress?: string | [string, ...string[]] | undefined;
1138
+ senderAddress?: string | string[] | undefined;
1334
1139
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1335
- recipientAddress?: string | [string, ...string[]] | undefined;
1336
- }>, "atleastone">>;
1337
- type: z.ZodOptional<z.ZodLiteral<"none">>;
1140
+ recipientAddress?: string | string[] | undefined;
1141
+ }>, "many">>;
1142
+ type: z.ZodOptional<z.ZodLiteral<GasPaymentEnforcementPolicyType.None>>;
1338
1143
  }, "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
- }, ...{
1144
+ matchingList?: {
1345
1145
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1346
- senderAddress?: string | [string, ...string[]] | undefined;
1146
+ senderAddress?: string | string[] | undefined;
1347
1147
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1348
- recipientAddress?: string | [string, ...string[]] | undefined;
1349
- }[]] | undefined;
1350
- type?: "none" | undefined;
1148
+ recipientAddress?: string | string[] | undefined;
1149
+ }[] | undefined;
1150
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
1351
1151
  }, {
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
- }, ...{
1152
+ matchingList?: {
1358
1153
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1359
- senderAddress?: string | [string, ...string[]] | undefined;
1154
+ senderAddress?: string | string[] | undefined;
1360
1155
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1361
- recipientAddress?: string | [string, ...string[]] | undefined;
1362
- }[]] | undefined;
1363
- type?: "none" | undefined;
1156
+ recipientAddress?: string | string[] | undefined;
1157
+ }[] | undefined;
1158
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
1364
1159
  }>, z.ZodObject<{
1365
1160
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
1366
1161
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
1367
- senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1162
+ senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1368
1163
  destinationDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
1369
- recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1164
+ recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1370
1165
  }, "strip", z.ZodTypeAny, {
1371
1166
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1372
- senderAddress?: string | [string, ...string[]] | undefined;
1167
+ senderAddress?: string | string[] | undefined;
1373
1168
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1374
- recipientAddress?: string | [string, ...string[]] | undefined;
1169
+ recipientAddress?: string | string[] | undefined;
1375
1170
  }, {
1376
1171
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1377
- senderAddress?: string | [string, ...string[]] | undefined;
1172
+ senderAddress?: string | string[] | undefined;
1378
1173
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1379
- recipientAddress?: string | [string, ...string[]] | undefined;
1380
- }>, "atleastone">>;
1381
- type: z.ZodOptional<z.ZodLiteral<"minimum">>;
1174
+ recipientAddress?: string | string[] | undefined;
1175
+ }>, "many">>;
1176
+ type: z.ZodOptional<z.ZodLiteral<GasPaymentEnforcementPolicyType.Minimum>>;
1382
1177
  payment: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1383
1178
  }, "strip", z.ZodTypeAny, {
1384
1179
  payment: string | number;
1385
- matchingList?: [{
1386
- originDomain?: number | "*" | [number, ...number[]] | undefined;
1387
- senderAddress?: string | [string, ...string[]] | undefined;
1388
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1389
- recipientAddress?: string | [string, ...string[]] | undefined;
1390
- }, ...{
1180
+ matchingList?: {
1391
1181
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1392
- senderAddress?: string | [string, ...string[]] | undefined;
1182
+ senderAddress?: string | string[] | undefined;
1393
1183
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1394
- recipientAddress?: string | [string, ...string[]] | undefined;
1395
- }[]] | undefined;
1396
- type?: "minimum" | undefined;
1184
+ recipientAddress?: string | string[] | undefined;
1185
+ }[] | undefined;
1186
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
1397
1187
  }, {
1398
1188
  payment: string | number;
1399
- matchingList?: [{
1400
- originDomain?: number | "*" | [number, ...number[]] | undefined;
1401
- senderAddress?: string | [string, ...string[]] | undefined;
1402
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1403
- recipientAddress?: string | [string, ...string[]] | undefined;
1404
- }, ...{
1189
+ matchingList?: {
1405
1190
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1406
- senderAddress?: string | [string, ...string[]] | undefined;
1191
+ senderAddress?: string | string[] | undefined;
1407
1192
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1408
- recipientAddress?: string | [string, ...string[]] | undefined;
1409
- }[]] | undefined;
1410
- type?: "minimum" | undefined;
1193
+ recipientAddress?: string | string[] | undefined;
1194
+ }[] | undefined;
1195
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
1411
1196
  }>, z.ZodObject<{
1412
1197
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
1413
1198
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
1414
- senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1199
+ senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1415
1200
  destinationDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
1416
- recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1201
+ recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1417
1202
  }, "strip", z.ZodTypeAny, {
1418
1203
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1419
- senderAddress?: string | [string, ...string[]] | undefined;
1204
+ senderAddress?: string | string[] | undefined;
1420
1205
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1421
- recipientAddress?: string | [string, ...string[]] | undefined;
1206
+ recipientAddress?: string | string[] | undefined;
1422
1207
  }, {
1423
1208
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1424
- senderAddress?: string | [string, ...string[]] | undefined;
1209
+ senderAddress?: string | string[] | undefined;
1425
1210
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1426
- recipientAddress?: string | [string, ...string[]] | undefined;
1427
- }>, "atleastone">>;
1428
- type: z.ZodLiteral<"onChainFeeQuoting">;
1211
+ recipientAddress?: string | string[] | undefined;
1212
+ }>, "many">>;
1213
+ type: z.ZodLiteral<GasPaymentEnforcementPolicyType.OnChainFeeQuoting>;
1429
1214
  gasFraction: z.ZodOptional<z.ZodString>;
1430
1215
  }, "strip", z.ZodTypeAny, {
1431
- type: "onChainFeeQuoting";
1432
- matchingList?: [{
1216
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
1217
+ matchingList?: {
1433
1218
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1434
- senderAddress?: string | [string, ...string[]] | undefined;
1219
+ senderAddress?: string | string[] | undefined;
1435
1220
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1436
- 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;
1221
+ recipientAddress?: string | string[] | undefined;
1222
+ }[] | undefined;
1443
1223
  gasFraction?: string | undefined;
1444
1224
  }, {
1445
- type: "onChainFeeQuoting";
1446
- matchingList?: [{
1225
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
1226
+ matchingList?: {
1447
1227
  originDomain?: number | "*" | [number, ...number[]] | undefined;
1448
- senderAddress?: string | [string, ...string[]] | undefined;
1228
+ senderAddress?: string | string[] | undefined;
1449
1229
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
1450
- 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;
1230
+ recipientAddress?: string | string[] | undefined;
1231
+ }[] | undefined;
1457
1232
  gasFraction?: string | undefined;
1458
- }>]>, "many">;
1233
+ }>]>;
1459
1234
  export type GasPaymentEnforcement = z.infer<typeof GasPaymentEnforcementSchema>;
1460
1235
  export declare const RelayerAgentConfigSchema: z.ZodObject<{
1236
+ log: z.ZodOptional<z.ZodObject<{
1237
+ format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
1238
+ level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ format?: AgentLogFormat | undefined;
1241
+ level?: AgentLogLevel | undefined;
1242
+ }, {
1243
+ format?: AgentLogFormat | undefined;
1244
+ level?: AgentLogLevel | undefined;
1245
+ }>>;
1461
1246
  metricsPort: z.ZodOptional<z.ZodNumber>;
1462
1247
  chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
1463
1248
  name: z.ZodString;
1464
- protocol: z.ZodNativeEnum<typeof ProtocolType>;
1465
- chainId: z.ZodNumber;
1249
+ chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1250
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
1466
1251
  interchainSecurityModule: z.ZodOptional<z.ZodString>;
1467
- interchainGasPaymaster: z.ZodString;
1468
1252
  mailbox: z.ZodString;
1469
1253
  domainId: z.ZodOptional<z.ZodNumber>;
1470
1254
  displayName: z.ZodOptional<z.ZodString>;
@@ -1569,116 +1353,41 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1569
1353
  transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
1570
1354
  gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
1571
1355
  gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
1356
+ bech32Prefix: z.ZodOptional<z.ZodString>;
1357
+ slip44: z.ZodOptional<z.ZodNumber>;
1572
1358
  isTestnet: z.ZodOptional<z.ZodBoolean>;
1573
1359
  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>>;
1360
+ merkleTreeHook: z.ZodString;
1361
+ interchainGasPaymaster: z.ZodString;
1362
+ customRpcUrls: z.ZodOptional<z.ZodString>;
1363
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
1655
1364
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1656
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
1365
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
1657
1366
  key: z.ZodString;
1658
1367
  }, "strip", z.ZodTypeAny, {
1659
1368
  key: string;
1660
- type?: "hexKey" | undefined;
1369
+ type?: AgentSignerKeyType.Hex | undefined;
1661
1370
  }, {
1662
1371
  key: string;
1663
- type?: "hexKey" | undefined;
1372
+ type?: AgentSignerKeyType.Hex | undefined;
1664
1373
  }>, z.ZodObject<{
1665
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
1374
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
1666
1375
  id: z.ZodString;
1667
1376
  region: z.ZodString;
1668
1377
  }, "strip", z.ZodTypeAny, {
1669
1378
  id: string;
1670
1379
  region: string;
1671
- type?: "aws" | undefined;
1380
+ type?: AgentSignerKeyType.Aws | undefined;
1672
1381
  }, {
1673
1382
  id: string;
1674
1383
  region: string;
1675
- type?: "aws" | undefined;
1384
+ type?: AgentSignerKeyType.Aws | undefined;
1676
1385
  }>, z.ZodObject<{
1677
- type: z.ZodLiteral<"node">;
1386
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
1678
1387
  }, "strip", z.ZodTypeAny, {
1679
- type: "node";
1388
+ type: AgentSignerKeyType.Node;
1680
1389
  }, {
1681
- type: "node";
1390
+ type: AgentSignerKeyType.Node;
1682
1391
  }>]>>;
1683
1392
  index: z.ZodOptional<z.ZodObject<{
1684
1393
  from: z.ZodOptional<z.ZodNumber>;
@@ -1695,9 +1404,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1695
1404
  }>>;
1696
1405
  }, "strip", z.ZodTypeAny, {
1697
1406
  name: string;
1698
- protocol: ProtocolType;
1699
- chainId: number;
1700
- interchainGasPaymaster: string;
1407
+ chainId: string | number;
1408
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1701
1409
  mailbox: string;
1702
1410
  rpcUrls: [{
1703
1411
  http: string;
@@ -1725,6 +1433,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1725
1433
  } | undefined;
1726
1434
  }[]];
1727
1435
  validatorAnnounce: string;
1436
+ merkleTreeHook: string;
1437
+ interchainGasPaymaster: string;
1728
1438
  interchainSecurityModule?: string | undefined;
1729
1439
  domainId?: number | undefined;
1730
1440
  displayName?: string | undefined;
@@ -1750,31 +1460,20 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1750
1460
  transactionOverrides?: {} | undefined;
1751
1461
  gasCurrencyCoinGeckoId?: string | undefined;
1752
1462
  gnosisSafeTransactionServiceUrl?: string | undefined;
1463
+ bech32Prefix?: string | undefined;
1464
+ slip44?: number | undefined;
1753
1465
  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;
1466
+ customRpcUrls?: string | undefined;
1467
+ rpcConsensusType?: RpcConsensusType | undefined;
1769
1468
  signer?: {
1770
1469
  key: string;
1771
- type?: "hexKey" | undefined;
1470
+ type?: AgentSignerKeyType.Hex | undefined;
1772
1471
  } | {
1773
1472
  id: string;
1774
1473
  region: string;
1775
- type?: "aws" | undefined;
1474
+ type?: AgentSignerKeyType.Aws | undefined;
1776
1475
  } | {
1777
- type: "node";
1476
+ type: AgentSignerKeyType.Node;
1778
1477
  } | undefined;
1779
1478
  index?: {
1780
1479
  from?: number | undefined;
@@ -1783,9 +1482,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1783
1482
  } | undefined;
1784
1483
  }, {
1785
1484
  name: string;
1786
- protocol: ProtocolType;
1787
- chainId: number;
1788
- interchainGasPaymaster: string;
1485
+ chainId: string | number;
1486
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1789
1487
  mailbox: string;
1790
1488
  rpcUrls: [{
1791
1489
  http: string;
@@ -1813,6 +1511,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1813
1511
  } | undefined;
1814
1512
  }[]];
1815
1513
  validatorAnnounce: string;
1514
+ merkleTreeHook: string;
1515
+ interchainGasPaymaster: string;
1816
1516
  interchainSecurityModule?: string | undefined;
1817
1517
  domainId?: number | undefined;
1818
1518
  displayName?: string | undefined;
@@ -1838,31 +1538,20 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1838
1538
  transactionOverrides?: {} | undefined;
1839
1539
  gasCurrencyCoinGeckoId?: string | undefined;
1840
1540
  gnosisSafeTransactionServiceUrl?: string | undefined;
1541
+ bech32Prefix?: string | undefined;
1542
+ slip44?: number | undefined;
1841
1543
  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;
1544
+ customRpcUrls?: string | undefined;
1545
+ rpcConsensusType?: RpcConsensusType | undefined;
1857
1546
  signer?: {
1858
1547
  key: string;
1859
- type?: "hexKey" | undefined;
1548
+ type?: AgentSignerKeyType.Hex | undefined;
1860
1549
  } | {
1861
1550
  id: string;
1862
1551
  region: string;
1863
- type?: "aws" | undefined;
1552
+ type?: AgentSignerKeyType.Aws | undefined;
1864
1553
  } | {
1865
- type: "node";
1554
+ type: AgentSignerKeyType.Node;
1866
1555
  } | undefined;
1867
1556
  index?: {
1868
1557
  from?: number | undefined;
@@ -1871,9 +1560,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1871
1560
  } | undefined;
1872
1561
  }>>, Record<string, {
1873
1562
  name: string;
1874
- protocol: ProtocolType;
1875
- chainId: number;
1876
- interchainGasPaymaster: string;
1563
+ chainId: string | number;
1564
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1877
1565
  mailbox: string;
1878
1566
  rpcUrls: [{
1879
1567
  http: string;
@@ -1901,6 +1589,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1901
1589
  } | undefined;
1902
1590
  }[]];
1903
1591
  validatorAnnounce: string;
1592
+ merkleTreeHook: string;
1593
+ interchainGasPaymaster: string;
1904
1594
  interchainSecurityModule?: string | undefined;
1905
1595
  domainId?: number | undefined;
1906
1596
  displayName?: string | undefined;
@@ -1926,31 +1616,20 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1926
1616
  transactionOverrides?: {} | undefined;
1927
1617
  gasCurrencyCoinGeckoId?: string | undefined;
1928
1618
  gnosisSafeTransactionServiceUrl?: string | undefined;
1619
+ bech32Prefix?: string | undefined;
1620
+ slip44?: number | undefined;
1929
1621
  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;
1622
+ customRpcUrls?: string | undefined;
1623
+ rpcConsensusType?: RpcConsensusType | undefined;
1945
1624
  signer?: {
1946
1625
  key: string;
1947
- type?: "hexKey" | undefined;
1626
+ type?: AgentSignerKeyType.Hex | undefined;
1948
1627
  } | {
1949
1628
  id: string;
1950
1629
  region: string;
1951
- type?: "aws" | undefined;
1630
+ type?: AgentSignerKeyType.Aws | undefined;
1952
1631
  } | {
1953
- type: "node";
1632
+ type: AgentSignerKeyType.Node;
1954
1633
  } | undefined;
1955
1634
  index?: {
1956
1635
  from?: number | undefined;
@@ -1959,9 +1638,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1959
1638
  } | undefined;
1960
1639
  }>, Record<string, {
1961
1640
  name: string;
1962
- protocol: ProtocolType;
1963
- chainId: number;
1964
- interchainGasPaymaster: string;
1641
+ chainId: string | number;
1642
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
1965
1643
  mailbox: string;
1966
1644
  rpcUrls: [{
1967
1645
  http: string;
@@ -1989,6 +1667,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
1989
1667
  } | undefined;
1990
1668
  }[]];
1991
1669
  validatorAnnounce: string;
1670
+ merkleTreeHook: string;
1671
+ interchainGasPaymaster: string;
1992
1672
  interchainSecurityModule?: string | undefined;
1993
1673
  domainId?: number | undefined;
1994
1674
  displayName?: string | undefined;
@@ -2014,31 +1694,20 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2014
1694
  transactionOverrides?: {} | undefined;
2015
1695
  gasCurrencyCoinGeckoId?: string | undefined;
2016
1696
  gnosisSafeTransactionServiceUrl?: string | undefined;
1697
+ bech32Prefix?: string | undefined;
1698
+ slip44?: number | undefined;
2017
1699
  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;
1700
+ customRpcUrls?: string | undefined;
1701
+ rpcConsensusType?: RpcConsensusType | undefined;
2033
1702
  signer?: {
2034
1703
  key: string;
2035
- type?: "hexKey" | undefined;
1704
+ type?: AgentSignerKeyType.Hex | undefined;
2036
1705
  } | {
2037
1706
  id: string;
2038
1707
  region: string;
2039
- type?: "aws" | undefined;
1708
+ type?: AgentSignerKeyType.Aws | undefined;
2040
1709
  } | {
2041
- type: "node";
1710
+ type: AgentSignerKeyType.Node;
2042
1711
  } | undefined;
2043
1712
  index?: {
2044
1713
  from?: number | undefined;
@@ -2047,226 +1716,185 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2047
1716
  } | undefined;
2048
1717
  }>>;
2049
1718
  defaultSigner: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2050
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
1719
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
2051
1720
  key: z.ZodString;
2052
1721
  }, "strip", z.ZodTypeAny, {
2053
1722
  key: string;
2054
- type?: "hexKey" | undefined;
1723
+ type?: AgentSignerKeyType.Hex | undefined;
2055
1724
  }, {
2056
1725
  key: string;
2057
- type?: "hexKey" | undefined;
1726
+ type?: AgentSignerKeyType.Hex | undefined;
2058
1727
  }>, z.ZodObject<{
2059
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
1728
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
2060
1729
  id: z.ZodString;
2061
1730
  region: z.ZodString;
2062
1731
  }, "strip", z.ZodTypeAny, {
2063
1732
  id: string;
2064
1733
  region: string;
2065
- type?: "aws" | undefined;
1734
+ type?: AgentSignerKeyType.Aws | undefined;
2066
1735
  }, {
2067
1736
  id: string;
2068
1737
  region: string;
2069
- type?: "aws" | undefined;
1738
+ type?: AgentSignerKeyType.Aws | undefined;
2070
1739
  }>, z.ZodObject<{
2071
- type: z.ZodLiteral<"node">;
1740
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
2072
1741
  }, "strip", z.ZodTypeAny, {
2073
- type: "node";
1742
+ type: AgentSignerKeyType.Node;
2074
1743
  }, {
2075
- type: "node";
1744
+ type: AgentSignerKeyType.Node;
2076
1745
  }>]>>;
2077
- defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
2078
- log: z.ZodOptional<z.ZodObject<{
2079
- format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
2080
- level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
2081
- }, "strip", z.ZodTypeAny, {
2082
- format?: AgentLogFormat | undefined;
2083
- level?: AgentLogLevel | undefined;
2084
- }, {
2085
- format?: AgentLogFormat | undefined;
2086
- level?: AgentLogLevel | undefined;
2087
- }>>;
1746
+ defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
2088
1747
  db: z.ZodOptional<z.ZodString>;
2089
1748
  relayChains: z.ZodString;
2090
1749
  gasPaymentEnforcement: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodObject<{
2091
1750
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
2092
1751
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2093
- senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1752
+ senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2094
1753
  destinationDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2095
- recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1754
+ recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2096
1755
  }, "strip", z.ZodTypeAny, {
2097
1756
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2098
- senderAddress?: string | [string, ...string[]] | undefined;
1757
+ senderAddress?: string | string[] | undefined;
2099
1758
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2100
- recipientAddress?: string | [string, ...string[]] | undefined;
1759
+ recipientAddress?: string | string[] | undefined;
2101
1760
  }, {
2102
1761
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2103
- senderAddress?: string | [string, ...string[]] | undefined;
1762
+ senderAddress?: string | string[] | undefined;
2104
1763
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2105
- recipientAddress?: string | [string, ...string[]] | undefined;
2106
- }>, "atleastone">>;
2107
- type: z.ZodOptional<z.ZodLiteral<"none">>;
1764
+ recipientAddress?: string | string[] | undefined;
1765
+ }>, "many">>;
1766
+ type: z.ZodOptional<z.ZodLiteral<GasPaymentEnforcementPolicyType.None>>;
2108
1767
  }, "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
- }, ...{
1768
+ matchingList?: {
2115
1769
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2116
- senderAddress?: string | [string, ...string[]] | undefined;
1770
+ senderAddress?: string | string[] | undefined;
2117
1771
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2118
- recipientAddress?: string | [string, ...string[]] | undefined;
2119
- }[]] | undefined;
2120
- type?: "none" | undefined;
1772
+ recipientAddress?: string | string[] | undefined;
1773
+ }[] | undefined;
1774
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
2121
1775
  }, {
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
- }, ...{
1776
+ matchingList?: {
2128
1777
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2129
- senderAddress?: string | [string, ...string[]] | undefined;
1778
+ senderAddress?: string | string[] | undefined;
2130
1779
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2131
- recipientAddress?: string | [string, ...string[]] | undefined;
2132
- }[]] | undefined;
2133
- type?: "none" | undefined;
1780
+ recipientAddress?: string | string[] | undefined;
1781
+ }[] | undefined;
1782
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
2134
1783
  }>, z.ZodObject<{
2135
1784
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
2136
1785
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2137
- senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1786
+ senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2138
1787
  destinationDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2139
- recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1788
+ recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2140
1789
  }, "strip", z.ZodTypeAny, {
2141
1790
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2142
- senderAddress?: string | [string, ...string[]] | undefined;
1791
+ senderAddress?: string | string[] | undefined;
2143
1792
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2144
- recipientAddress?: string | [string, ...string[]] | undefined;
1793
+ recipientAddress?: string | string[] | undefined;
2145
1794
  }, {
2146
1795
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2147
- senderAddress?: string | [string, ...string[]] | undefined;
1796
+ senderAddress?: string | string[] | undefined;
2148
1797
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2149
- recipientAddress?: string | [string, ...string[]] | undefined;
2150
- }>, "atleastone">>;
2151
- type: z.ZodOptional<z.ZodLiteral<"minimum">>;
1798
+ recipientAddress?: string | string[] | undefined;
1799
+ }>, "many">>;
1800
+ type: z.ZodOptional<z.ZodLiteral<GasPaymentEnforcementPolicyType.Minimum>>;
2152
1801
  payment: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2153
1802
  }, "strip", z.ZodTypeAny, {
2154
1803
  payment: string | number;
2155
- matchingList?: [{
1804
+ matchingList?: {
2156
1805
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2157
- senderAddress?: string | [string, ...string[]] | undefined;
1806
+ senderAddress?: string | string[] | undefined;
2158
1807
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2159
- 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;
1808
+ recipientAddress?: string | string[] | undefined;
1809
+ }[] | undefined;
1810
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
2167
1811
  }, {
2168
1812
  payment: string | number;
2169
- matchingList?: [{
1813
+ matchingList?: {
2170
1814
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2171
- senderAddress?: string | [string, ...string[]] | undefined;
1815
+ senderAddress?: string | string[] | undefined;
2172
1816
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2173
- 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;
1817
+ recipientAddress?: string | string[] | undefined;
1818
+ }[] | undefined;
1819
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
2181
1820
  }>, z.ZodObject<{
2182
1821
  matchingList: z.ZodOptional<z.ZodArray<z.ZodObject<{
2183
1822
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2184
- senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1823
+ senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2185
1824
  destinationDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2186
- recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1825
+ recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2187
1826
  }, "strip", z.ZodTypeAny, {
2188
1827
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2189
- senderAddress?: string | [string, ...string[]] | undefined;
1828
+ senderAddress?: string | string[] | undefined;
2190
1829
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2191
- recipientAddress?: string | [string, ...string[]] | undefined;
1830
+ recipientAddress?: string | string[] | undefined;
2192
1831
  }, {
2193
1832
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2194
- senderAddress?: string | [string, ...string[]] | undefined;
1833
+ senderAddress?: string | string[] | undefined;
2195
1834
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2196
- recipientAddress?: string | [string, ...string[]] | undefined;
2197
- }>, "atleastone">>;
2198
- type: z.ZodLiteral<"onChainFeeQuoting">;
1835
+ recipientAddress?: string | string[] | undefined;
1836
+ }>, "many">>;
1837
+ type: z.ZodLiteral<GasPaymentEnforcementPolicyType.OnChainFeeQuoting>;
2199
1838
  gasFraction: z.ZodOptional<z.ZodString>;
2200
1839
  }, "strip", z.ZodTypeAny, {
2201
- type: "onChainFeeQuoting";
2202
- matchingList?: [{
2203
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2204
- senderAddress?: string | [string, ...string[]] | undefined;
2205
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2206
- recipientAddress?: string | [string, ...string[]] | undefined;
2207
- }, ...{
1840
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
1841
+ matchingList?: {
2208
1842
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2209
- senderAddress?: string | [string, ...string[]] | undefined;
1843
+ senderAddress?: string | string[] | undefined;
2210
1844
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2211
- recipientAddress?: string | [string, ...string[]] | undefined;
2212
- }[]] | undefined;
1845
+ recipientAddress?: string | string[] | undefined;
1846
+ }[] | undefined;
2213
1847
  gasFraction?: string | undefined;
2214
1848
  }, {
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
- }, ...{
1849
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
1850
+ matchingList?: {
2222
1851
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2223
- senderAddress?: string | [string, ...string[]] | undefined;
1852
+ senderAddress?: string | string[] | undefined;
2224
1853
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2225
- recipientAddress?: string | [string, ...string[]] | undefined;
2226
- }[]] | undefined;
1854
+ recipientAddress?: string | string[] | undefined;
1855
+ }[] | undefined;
2227
1856
  gasFraction?: string | undefined;
2228
1857
  }>]>, "many">, z.ZodString]>>;
2229
1858
  whitelist: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2230
1859
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2231
- senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1860
+ senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2232
1861
  destinationDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2233
- recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1862
+ recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2234
1863
  }, "strip", z.ZodTypeAny, {
2235
1864
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2236
- senderAddress?: string | [string, ...string[]] | undefined;
1865
+ senderAddress?: string | string[] | undefined;
2237
1866
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2238
- recipientAddress?: string | [string, ...string[]] | undefined;
1867
+ recipientAddress?: string | string[] | undefined;
2239
1868
  }, {
2240
1869
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2241
- senderAddress?: string | [string, ...string[]] | undefined;
1870
+ senderAddress?: string | string[] | undefined;
2242
1871
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2243
- recipientAddress?: string | [string, ...string[]] | undefined;
2244
- }>, "atleastone">, z.ZodString]>>;
1872
+ recipientAddress?: string | string[] | undefined;
1873
+ }>, "many">, z.ZodString]>>;
2245
1874
  blacklist: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2246
1875
  originDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2247
- senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1876
+ senderAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2248
1877
  destinationDomain: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodNumber, z.ZodArray<z.ZodNumber, "atleastone">]>>;
2249
- recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "atleastone">]>>;
1878
+ recipientAddress: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"*">, z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2250
1879
  }, "strip", z.ZodTypeAny, {
2251
1880
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2252
- senderAddress?: string | [string, ...string[]] | undefined;
1881
+ senderAddress?: string | string[] | undefined;
2253
1882
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2254
- recipientAddress?: string | [string, ...string[]] | undefined;
1883
+ recipientAddress?: string | string[] | undefined;
2255
1884
  }, {
2256
1885
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2257
- senderAddress?: string | [string, ...string[]] | undefined;
1886
+ senderAddress?: string | string[] | undefined;
2258
1887
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2259
- recipientAddress?: string | [string, ...string[]] | undefined;
2260
- }>, "atleastone">, z.ZodString]>>;
1888
+ recipientAddress?: string | string[] | undefined;
1889
+ }>, "many">, z.ZodString]>>;
2261
1890
  transactionGasLimit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
2262
1891
  skipTransactionGasLimitFor: z.ZodOptional<z.ZodString>;
2263
1892
  allowLocalCheckpointSyncers: z.ZodOptional<z.ZodBoolean>;
2264
1893
  }, "strip", z.ZodTypeAny, {
2265
1894
  chains: Record<string, {
2266
1895
  name: string;
2267
- protocol: ProtocolType;
2268
- chainId: number;
2269
- interchainGasPaymaster: string;
1896
+ chainId: string | number;
1897
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
2270
1898
  mailbox: string;
2271
1899
  rpcUrls: [{
2272
1900
  http: string;
@@ -2294,6 +1922,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2294
1922
  } | undefined;
2295
1923
  }[]];
2296
1924
  validatorAnnounce: string;
1925
+ merkleTreeHook: string;
1926
+ interchainGasPaymaster: string;
2297
1927
  interchainSecurityModule?: string | undefined;
2298
1928
  domainId?: number | undefined;
2299
1929
  displayName?: string | undefined;
@@ -2319,31 +1949,20 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2319
1949
  transactionOverrides?: {} | undefined;
2320
1950
  gasCurrencyCoinGeckoId?: string | undefined;
2321
1951
  gnosisSafeTransactionServiceUrl?: string | undefined;
1952
+ bech32Prefix?: string | undefined;
1953
+ slip44?: number | undefined;
2322
1954
  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;
1955
+ customRpcUrls?: string | undefined;
1956
+ rpcConsensusType?: RpcConsensusType | undefined;
2338
1957
  signer?: {
2339
1958
  key: string;
2340
- type?: "hexKey" | undefined;
1959
+ type?: AgentSignerKeyType.Hex | undefined;
2341
1960
  } | {
2342
1961
  id: string;
2343
1962
  region: string;
2344
- type?: "aws" | undefined;
1963
+ type?: AgentSignerKeyType.Aws | undefined;
2345
1964
  } | {
2346
- type: "node";
1965
+ type: AgentSignerKeyType.Node;
2347
1966
  } | undefined;
2348
1967
  index?: {
2349
1968
  from?: number | undefined;
@@ -2352,96 +1971,70 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2352
1971
  } | undefined;
2353
1972
  }>;
2354
1973
  relayChains: string;
1974
+ log?: {
1975
+ format?: AgentLogFormat | undefined;
1976
+ level?: AgentLogLevel | undefined;
1977
+ } | undefined;
2355
1978
  metricsPort?: number | undefined;
2356
1979
  defaultSigner?: {
2357
1980
  key: string;
2358
- type?: "hexKey" | undefined;
1981
+ type?: AgentSignerKeyType.Hex | undefined;
2359
1982
  } | {
2360
1983
  id: string;
2361
1984
  region: string;
2362
- type?: "aws" | undefined;
1985
+ type?: AgentSignerKeyType.Aws | undefined;
2363
1986
  } | {
2364
- type: "node";
2365
- } | undefined;
2366
- defaultRpcConsensusType?: AgentConsensusType | undefined;
2367
- log?: {
2368
- format?: AgentLogFormat | undefined;
2369
- level?: AgentLogLevel | undefined;
1987
+ type: AgentSignerKeyType.Node;
2370
1988
  } | undefined;
1989
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
2371
1990
  db?: string | undefined;
2372
1991
  gasPaymentEnforcement?: string | ({
2373
- matchingList?: [{
2374
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2375
- senderAddress?: string | [string, ...string[]] | undefined;
2376
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2377
- recipientAddress?: string | [string, ...string[]] | undefined;
2378
- }, ...{
1992
+ matchingList?: {
2379
1993
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2380
- senderAddress?: string | [string, ...string[]] | undefined;
1994
+ senderAddress?: string | string[] | undefined;
2381
1995
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2382
- recipientAddress?: string | [string, ...string[]] | undefined;
2383
- }[]] | undefined;
2384
- type?: "none" | undefined;
1996
+ recipientAddress?: string | string[] | undefined;
1997
+ }[] | undefined;
1998
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
2385
1999
  } | {
2386
2000
  payment: string | number;
2387
- matchingList?: [{
2388
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2389
- senderAddress?: string | [string, ...string[]] | undefined;
2390
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2391
- recipientAddress?: string | [string, ...string[]] | undefined;
2392
- }, ...{
2001
+ matchingList?: {
2393
2002
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2394
- senderAddress?: string | [string, ...string[]] | undefined;
2003
+ senderAddress?: string | string[] | undefined;
2395
2004
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2396
- recipientAddress?: string | [string, ...string[]] | undefined;
2397
- }[]] | undefined;
2398
- type?: "minimum" | undefined;
2005
+ recipientAddress?: string | string[] | undefined;
2006
+ }[] | undefined;
2007
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
2399
2008
  } | {
2400
- type: "onChainFeeQuoting";
2401
- matchingList?: [{
2402
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2403
- senderAddress?: string | [string, ...string[]] | undefined;
2404
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2405
- recipientAddress?: string | [string, ...string[]] | undefined;
2406
- }, ...{
2009
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
2010
+ matchingList?: {
2407
2011
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2408
- senderAddress?: string | [string, ...string[]] | undefined;
2012
+ senderAddress?: string | string[] | undefined;
2409
2013
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2410
- recipientAddress?: string | [string, ...string[]] | undefined;
2411
- }[]] | undefined;
2014
+ recipientAddress?: string | string[] | undefined;
2015
+ }[] | undefined;
2412
2016
  gasFraction?: string | undefined;
2413
2017
  })[] | undefined;
2414
- whitelist?: string | [{
2415
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2416
- senderAddress?: string | [string, ...string[]] | undefined;
2417
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2418
- recipientAddress?: string | [string, ...string[]] | undefined;
2419
- }, ...{
2018
+ whitelist?: string | {
2420
2019
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2421
- senderAddress?: string | [string, ...string[]] | undefined;
2020
+ senderAddress?: string | string[] | undefined;
2422
2021
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2423
- recipientAddress?: string | [string, ...string[]] | undefined;
2424
- }[]] | undefined;
2425
- blacklist?: string | [{
2022
+ recipientAddress?: string | string[] | undefined;
2023
+ }[] | undefined;
2024
+ blacklist?: string | {
2426
2025
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2427
- senderAddress?: string | [string, ...string[]] | undefined;
2026
+ senderAddress?: string | string[] | undefined;
2428
2027
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2429
- recipientAddress?: string | [string, ...string[]] | undefined;
2430
- }, ...{
2431
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2432
- senderAddress?: string | [string, ...string[]] | undefined;
2433
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2434
- recipientAddress?: string | [string, ...string[]] | undefined;
2435
- }[]] | undefined;
2028
+ recipientAddress?: string | string[] | undefined;
2029
+ }[] | undefined;
2436
2030
  transactionGasLimit?: string | number | undefined;
2437
2031
  skipTransactionGasLimitFor?: string | undefined;
2438
2032
  allowLocalCheckpointSyncers?: boolean | undefined;
2439
2033
  }, {
2440
2034
  chains: Record<string, {
2441
2035
  name: string;
2442
- protocol: ProtocolType;
2443
- chainId: number;
2444
- interchainGasPaymaster: string;
2036
+ chainId: string | number;
2037
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
2445
2038
  mailbox: string;
2446
2039
  rpcUrls: [{
2447
2040
  http: string;
@@ -2469,6 +2062,8 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2469
2062
  } | undefined;
2470
2063
  }[]];
2471
2064
  validatorAnnounce: string;
2065
+ merkleTreeHook: string;
2066
+ interchainGasPaymaster: string;
2472
2067
  interchainSecurityModule?: string | undefined;
2473
2068
  domainId?: number | undefined;
2474
2069
  displayName?: string | undefined;
@@ -2494,31 +2089,20 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2494
2089
  transactionOverrides?: {} | undefined;
2495
2090
  gasCurrencyCoinGeckoId?: string | undefined;
2496
2091
  gnosisSafeTransactionServiceUrl?: string | undefined;
2092
+ bech32Prefix?: string | undefined;
2093
+ slip44?: number | undefined;
2497
2094
  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;
2095
+ customRpcUrls?: string | undefined;
2096
+ rpcConsensusType?: RpcConsensusType | undefined;
2513
2097
  signer?: {
2514
2098
  key: string;
2515
- type?: "hexKey" | undefined;
2099
+ type?: AgentSignerKeyType.Hex | undefined;
2516
2100
  } | {
2517
2101
  id: string;
2518
2102
  region: string;
2519
- type?: "aws" | undefined;
2103
+ type?: AgentSignerKeyType.Aws | undefined;
2520
2104
  } | {
2521
- type: "node";
2105
+ type: AgentSignerKeyType.Node;
2522
2106
  } | undefined;
2523
2107
  index?: {
2524
2108
  from?: number | undefined;
@@ -2527,100 +2111,84 @@ export declare const RelayerAgentConfigSchema: z.ZodObject<{
2527
2111
  } | undefined;
2528
2112
  }>;
2529
2113
  relayChains: string;
2114
+ log?: {
2115
+ format?: AgentLogFormat | undefined;
2116
+ level?: AgentLogLevel | undefined;
2117
+ } | undefined;
2530
2118
  metricsPort?: number | undefined;
2531
2119
  defaultSigner?: {
2532
2120
  key: string;
2533
- type?: "hexKey" | undefined;
2121
+ type?: AgentSignerKeyType.Hex | undefined;
2534
2122
  } | {
2535
2123
  id: string;
2536
2124
  region: string;
2537
- type?: "aws" | undefined;
2125
+ type?: AgentSignerKeyType.Aws | undefined;
2538
2126
  } | {
2539
- type: "node";
2540
- } | undefined;
2541
- defaultRpcConsensusType?: AgentConsensusType | undefined;
2542
- log?: {
2543
- format?: AgentLogFormat | undefined;
2544
- level?: AgentLogLevel | undefined;
2127
+ type: AgentSignerKeyType.Node;
2545
2128
  } | undefined;
2129
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
2546
2130
  db?: string | undefined;
2547
2131
  gasPaymentEnforcement?: string | ({
2548
- matchingList?: [{
2549
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2550
- senderAddress?: string | [string, ...string[]] | undefined;
2551
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2552
- recipientAddress?: string | [string, ...string[]] | undefined;
2553
- }, ...{
2132
+ matchingList?: {
2554
2133
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2555
- senderAddress?: string | [string, ...string[]] | undefined;
2134
+ senderAddress?: string | string[] | undefined;
2556
2135
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2557
- recipientAddress?: string | [string, ...string[]] | undefined;
2558
- }[]] | undefined;
2559
- type?: "none" | undefined;
2136
+ recipientAddress?: string | string[] | undefined;
2137
+ }[] | undefined;
2138
+ type?: GasPaymentEnforcementPolicyType.None | undefined;
2560
2139
  } | {
2561
2140
  payment: string | number;
2562
- matchingList?: [{
2563
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2564
- senderAddress?: string | [string, ...string[]] | undefined;
2565
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2566
- recipientAddress?: string | [string, ...string[]] | undefined;
2567
- }, ...{
2141
+ matchingList?: {
2568
2142
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2569
- senderAddress?: string | [string, ...string[]] | undefined;
2143
+ senderAddress?: string | string[] | undefined;
2570
2144
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2571
- recipientAddress?: string | [string, ...string[]] | undefined;
2572
- }[]] | undefined;
2573
- type?: "minimum" | undefined;
2145
+ recipientAddress?: string | string[] | undefined;
2146
+ }[] | undefined;
2147
+ type?: GasPaymentEnforcementPolicyType.Minimum | undefined;
2574
2148
  } | {
2575
- type: "onChainFeeQuoting";
2576
- matchingList?: [{
2149
+ type: GasPaymentEnforcementPolicyType.OnChainFeeQuoting;
2150
+ matchingList?: {
2577
2151
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2578
- senderAddress?: string | [string, ...string[]] | undefined;
2152
+ senderAddress?: string | string[] | undefined;
2579
2153
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2580
- 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;
2154
+ recipientAddress?: string | string[] | undefined;
2155
+ }[] | undefined;
2587
2156
  gasFraction?: string | undefined;
2588
2157
  })[] | undefined;
2589
- whitelist?: string | [{
2590
- originDomain?: number | "*" | [number, ...number[]] | undefined;
2591
- senderAddress?: string | [string, ...string[]] | undefined;
2592
- destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2593
- 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 | [{
2158
+ whitelist?: string | {
2601
2159
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2602
- senderAddress?: string | [string, ...string[]] | undefined;
2160
+ senderAddress?: string | string[] | undefined;
2603
2161
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2604
- recipientAddress?: string | [string, ...string[]] | undefined;
2605
- }, ...{
2162
+ recipientAddress?: string | string[] | undefined;
2163
+ }[] | undefined;
2164
+ blacklist?: string | {
2606
2165
  originDomain?: number | "*" | [number, ...number[]] | undefined;
2607
- senderAddress?: string | [string, ...string[]] | undefined;
2166
+ senderAddress?: string | string[] | undefined;
2608
2167
  destinationDomain?: number | "*" | [number, ...number[]] | undefined;
2609
- recipientAddress?: string | [string, ...string[]] | undefined;
2610
- }[]] | undefined;
2168
+ recipientAddress?: string | string[] | undefined;
2169
+ }[] | undefined;
2611
2170
  transactionGasLimit?: string | number | undefined;
2612
2171
  skipTransactionGasLimitFor?: string | undefined;
2613
2172
  allowLocalCheckpointSyncers?: boolean | undefined;
2614
2173
  }>;
2615
2174
  export type RelayerConfig = z.infer<typeof RelayerAgentConfigSchema>;
2616
2175
  export declare const ScraperAgentConfigSchema: z.ZodObject<{
2176
+ log: z.ZodOptional<z.ZodObject<{
2177
+ format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
2178
+ level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
2179
+ }, "strip", z.ZodTypeAny, {
2180
+ format?: AgentLogFormat | undefined;
2181
+ level?: AgentLogLevel | undefined;
2182
+ }, {
2183
+ format?: AgentLogFormat | undefined;
2184
+ level?: AgentLogLevel | undefined;
2185
+ }>>;
2617
2186
  metricsPort: z.ZodOptional<z.ZodNumber>;
2618
2187
  chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
2619
2188
  name: z.ZodString;
2620
- protocol: z.ZodNativeEnum<typeof ProtocolType>;
2621
- chainId: z.ZodNumber;
2189
+ chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2190
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
2622
2191
  interchainSecurityModule: z.ZodOptional<z.ZodString>;
2623
- interchainGasPaymaster: z.ZodString;
2624
2192
  mailbox: z.ZodString;
2625
2193
  domainId: z.ZodOptional<z.ZodNumber>;
2626
2194
  displayName: z.ZodOptional<z.ZodString>;
@@ -2725,116 +2293,41 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2725
2293
  transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
2726
2294
  gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
2727
2295
  gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
2296
+ bech32Prefix: z.ZodOptional<z.ZodString>;
2297
+ slip44: z.ZodOptional<z.ZodNumber>;
2728
2298
  isTestnet: z.ZodOptional<z.ZodBoolean>;
2729
2299
  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>>;
2300
+ merkleTreeHook: z.ZodString;
2301
+ interchainGasPaymaster: z.ZodString;
2302
+ customRpcUrls: z.ZodOptional<z.ZodString>;
2303
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
2811
2304
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2812
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
2305
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
2813
2306
  key: z.ZodString;
2814
2307
  }, "strip", z.ZodTypeAny, {
2815
2308
  key: string;
2816
- type?: "hexKey" | undefined;
2309
+ type?: AgentSignerKeyType.Hex | undefined;
2817
2310
  }, {
2818
2311
  key: string;
2819
- type?: "hexKey" | undefined;
2312
+ type?: AgentSignerKeyType.Hex | undefined;
2820
2313
  }>, z.ZodObject<{
2821
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
2314
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
2822
2315
  id: z.ZodString;
2823
2316
  region: z.ZodString;
2824
2317
  }, "strip", z.ZodTypeAny, {
2825
2318
  id: string;
2826
2319
  region: string;
2827
- type?: "aws" | undefined;
2320
+ type?: AgentSignerKeyType.Aws | undefined;
2828
2321
  }, {
2829
2322
  id: string;
2830
2323
  region: string;
2831
- type?: "aws" | undefined;
2324
+ type?: AgentSignerKeyType.Aws | undefined;
2832
2325
  }>, z.ZodObject<{
2833
- type: z.ZodLiteral<"node">;
2326
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
2834
2327
  }, "strip", z.ZodTypeAny, {
2835
- type: "node";
2328
+ type: AgentSignerKeyType.Node;
2836
2329
  }, {
2837
- type: "node";
2330
+ type: AgentSignerKeyType.Node;
2838
2331
  }>]>>;
2839
2332
  index: z.ZodOptional<z.ZodObject<{
2840
2333
  from: z.ZodOptional<z.ZodNumber>;
@@ -2851,9 +2344,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2851
2344
  }>>;
2852
2345
  }, "strip", z.ZodTypeAny, {
2853
2346
  name: string;
2854
- protocol: ProtocolType;
2855
- chainId: number;
2856
- interchainGasPaymaster: string;
2347
+ chainId: string | number;
2348
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
2857
2349
  mailbox: string;
2858
2350
  rpcUrls: [{
2859
2351
  http: string;
@@ -2881,6 +2373,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2881
2373
  } | undefined;
2882
2374
  }[]];
2883
2375
  validatorAnnounce: string;
2376
+ merkleTreeHook: string;
2377
+ interchainGasPaymaster: string;
2884
2378
  interchainSecurityModule?: string | undefined;
2885
2379
  domainId?: number | undefined;
2886
2380
  displayName?: string | undefined;
@@ -2906,31 +2400,20 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2906
2400
  transactionOverrides?: {} | undefined;
2907
2401
  gasCurrencyCoinGeckoId?: string | undefined;
2908
2402
  gnosisSafeTransactionServiceUrl?: string | undefined;
2403
+ bech32Prefix?: string | undefined;
2404
+ slip44?: number | undefined;
2909
2405
  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;
2406
+ customRpcUrls?: string | undefined;
2407
+ rpcConsensusType?: RpcConsensusType | undefined;
2925
2408
  signer?: {
2926
2409
  key: string;
2927
- type?: "hexKey" | undefined;
2410
+ type?: AgentSignerKeyType.Hex | undefined;
2928
2411
  } | {
2929
2412
  id: string;
2930
2413
  region: string;
2931
- type?: "aws" | undefined;
2414
+ type?: AgentSignerKeyType.Aws | undefined;
2932
2415
  } | {
2933
- type: "node";
2416
+ type: AgentSignerKeyType.Node;
2934
2417
  } | undefined;
2935
2418
  index?: {
2936
2419
  from?: number | undefined;
@@ -2939,9 +2422,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2939
2422
  } | undefined;
2940
2423
  }, {
2941
2424
  name: string;
2942
- protocol: ProtocolType;
2943
- chainId: number;
2944
- interchainGasPaymaster: string;
2425
+ chainId: string | number;
2426
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
2945
2427
  mailbox: string;
2946
2428
  rpcUrls: [{
2947
2429
  http: string;
@@ -2969,6 +2451,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2969
2451
  } | undefined;
2970
2452
  }[]];
2971
2453
  validatorAnnounce: string;
2454
+ merkleTreeHook: string;
2455
+ interchainGasPaymaster: string;
2972
2456
  interchainSecurityModule?: string | undefined;
2973
2457
  domainId?: number | undefined;
2974
2458
  displayName?: string | undefined;
@@ -2994,31 +2478,20 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
2994
2478
  transactionOverrides?: {} | undefined;
2995
2479
  gasCurrencyCoinGeckoId?: string | undefined;
2996
2480
  gnosisSafeTransactionServiceUrl?: string | undefined;
2481
+ bech32Prefix?: string | undefined;
2482
+ slip44?: number | undefined;
2997
2483
  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;
2484
+ customRpcUrls?: string | undefined;
2485
+ rpcConsensusType?: RpcConsensusType | undefined;
3013
2486
  signer?: {
3014
2487
  key: string;
3015
- type?: "hexKey" | undefined;
2488
+ type?: AgentSignerKeyType.Hex | undefined;
3016
2489
  } | {
3017
2490
  id: string;
3018
2491
  region: string;
3019
- type?: "aws" | undefined;
2492
+ type?: AgentSignerKeyType.Aws | undefined;
3020
2493
  } | {
3021
- type: "node";
2494
+ type: AgentSignerKeyType.Node;
3022
2495
  } | undefined;
3023
2496
  index?: {
3024
2497
  from?: number | undefined;
@@ -3027,9 +2500,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3027
2500
  } | undefined;
3028
2501
  }>>, Record<string, {
3029
2502
  name: string;
3030
- protocol: ProtocolType;
3031
- chainId: number;
3032
- interchainGasPaymaster: string;
2503
+ chainId: string | number;
2504
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3033
2505
  mailbox: string;
3034
2506
  rpcUrls: [{
3035
2507
  http: string;
@@ -3057,6 +2529,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3057
2529
  } | undefined;
3058
2530
  }[]];
3059
2531
  validatorAnnounce: string;
2532
+ merkleTreeHook: string;
2533
+ interchainGasPaymaster: string;
3060
2534
  interchainSecurityModule?: string | undefined;
3061
2535
  domainId?: number | undefined;
3062
2536
  displayName?: string | undefined;
@@ -3082,31 +2556,20 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3082
2556
  transactionOverrides?: {} | undefined;
3083
2557
  gasCurrencyCoinGeckoId?: string | undefined;
3084
2558
  gnosisSafeTransactionServiceUrl?: string | undefined;
2559
+ bech32Prefix?: string | undefined;
2560
+ slip44?: number | undefined;
3085
2561
  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;
2562
+ customRpcUrls?: string | undefined;
2563
+ rpcConsensusType?: RpcConsensusType | undefined;
3101
2564
  signer?: {
3102
2565
  key: string;
3103
- type?: "hexKey" | undefined;
2566
+ type?: AgentSignerKeyType.Hex | undefined;
3104
2567
  } | {
3105
2568
  id: string;
3106
2569
  region: string;
3107
- type?: "aws" | undefined;
2570
+ type?: AgentSignerKeyType.Aws | undefined;
3108
2571
  } | {
3109
- type: "node";
2572
+ type: AgentSignerKeyType.Node;
3110
2573
  } | undefined;
3111
2574
  index?: {
3112
2575
  from?: number | undefined;
@@ -3115,9 +2578,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3115
2578
  } | undefined;
3116
2579
  }>, Record<string, {
3117
2580
  name: string;
3118
- protocol: ProtocolType;
3119
- chainId: number;
3120
- interchainGasPaymaster: string;
2581
+ chainId: string | number;
2582
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3121
2583
  mailbox: string;
3122
2584
  rpcUrls: [{
3123
2585
  http: string;
@@ -3145,6 +2607,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3145
2607
  } | undefined;
3146
2608
  }[]];
3147
2609
  validatorAnnounce: string;
2610
+ merkleTreeHook: string;
2611
+ interchainGasPaymaster: string;
3148
2612
  interchainSecurityModule?: string | undefined;
3149
2613
  domainId?: number | undefined;
3150
2614
  displayName?: string | undefined;
@@ -3170,31 +2634,20 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3170
2634
  transactionOverrides?: {} | undefined;
3171
2635
  gasCurrencyCoinGeckoId?: string | undefined;
3172
2636
  gnosisSafeTransactionServiceUrl?: string | undefined;
2637
+ bech32Prefix?: string | undefined;
2638
+ slip44?: number | undefined;
3173
2639
  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;
2640
+ customRpcUrls?: string | undefined;
2641
+ rpcConsensusType?: RpcConsensusType | undefined;
3189
2642
  signer?: {
3190
2643
  key: string;
3191
- type?: "hexKey" | undefined;
2644
+ type?: AgentSignerKeyType.Hex | undefined;
3192
2645
  } | {
3193
2646
  id: string;
3194
2647
  region: string;
3195
- type?: "aws" | undefined;
2648
+ type?: AgentSignerKeyType.Aws | undefined;
3196
2649
  } | {
3197
- type: "node";
2650
+ type: AgentSignerKeyType.Node;
3198
2651
  } | undefined;
3199
2652
  index?: {
3200
2653
  from?: number | undefined;
@@ -3203,52 +2656,41 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3203
2656
  } | undefined;
3204
2657
  }>>;
3205
2658
  defaultSigner: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3206
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
2659
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
3207
2660
  key: z.ZodString;
3208
2661
  }, "strip", z.ZodTypeAny, {
3209
2662
  key: string;
3210
- type?: "hexKey" | undefined;
2663
+ type?: AgentSignerKeyType.Hex | undefined;
3211
2664
  }, {
3212
2665
  key: string;
3213
- type?: "hexKey" | undefined;
2666
+ type?: AgentSignerKeyType.Hex | undefined;
3214
2667
  }>, z.ZodObject<{
3215
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
2668
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
3216
2669
  id: z.ZodString;
3217
2670
  region: z.ZodString;
3218
2671
  }, "strip", z.ZodTypeAny, {
3219
2672
  id: string;
3220
2673
  region: string;
3221
- type?: "aws" | undefined;
2674
+ type?: AgentSignerKeyType.Aws | undefined;
3222
2675
  }, {
3223
2676
  id: string;
3224
2677
  region: string;
3225
- type?: "aws" | undefined;
2678
+ type?: AgentSignerKeyType.Aws | undefined;
3226
2679
  }>, z.ZodObject<{
3227
- type: z.ZodLiteral<"node">;
2680
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
3228
2681
  }, "strip", z.ZodTypeAny, {
3229
- type: "node";
2682
+ type: AgentSignerKeyType.Node;
3230
2683
  }, {
3231
- type: "node";
2684
+ type: AgentSignerKeyType.Node;
3232
2685
  }>]>>;
3233
- defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
3234
- log: z.ZodOptional<z.ZodObject<{
3235
- format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
3236
- level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
3237
- }, "strip", z.ZodTypeAny, {
3238
- format?: AgentLogFormat | undefined;
3239
- level?: AgentLogLevel | undefined;
3240
- }, {
3241
- format?: AgentLogFormat | undefined;
3242
- level?: AgentLogLevel | undefined;
3243
- }>>;
2686
+ defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
3244
2687
  db: z.ZodString;
3245
2688
  chainsToScrape: z.ZodString;
3246
2689
  }, "strip", z.ZodTypeAny, {
3247
2690
  chains: Record<string, {
3248
2691
  name: string;
3249
- protocol: ProtocolType;
3250
- chainId: number;
3251
- interchainGasPaymaster: string;
2692
+ chainId: string | number;
2693
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3252
2694
  mailbox: string;
3253
2695
  rpcUrls: [{
3254
2696
  http: string;
@@ -3276,6 +2718,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3276
2718
  } | undefined;
3277
2719
  }[]];
3278
2720
  validatorAnnounce: string;
2721
+ merkleTreeHook: string;
2722
+ interchainGasPaymaster: string;
3279
2723
  interchainSecurityModule?: string | undefined;
3280
2724
  domainId?: number | undefined;
3281
2725
  displayName?: string | undefined;
@@ -3301,31 +2745,20 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3301
2745
  transactionOverrides?: {} | undefined;
3302
2746
  gasCurrencyCoinGeckoId?: string | undefined;
3303
2747
  gnosisSafeTransactionServiceUrl?: string | undefined;
2748
+ bech32Prefix?: string | undefined;
2749
+ slip44?: number | undefined;
3304
2750
  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;
2751
+ customRpcUrls?: string | undefined;
2752
+ rpcConsensusType?: RpcConsensusType | undefined;
3320
2753
  signer?: {
3321
2754
  key: string;
3322
- type?: "hexKey" | undefined;
2755
+ type?: AgentSignerKeyType.Hex | undefined;
3323
2756
  } | {
3324
2757
  id: string;
3325
2758
  region: string;
3326
- type?: "aws" | undefined;
2759
+ type?: AgentSignerKeyType.Aws | undefined;
3327
2760
  } | {
3328
- type: "node";
2761
+ type: AgentSignerKeyType.Node;
3329
2762
  } | undefined;
3330
2763
  index?: {
3331
2764
  from?: number | undefined;
@@ -3335,28 +2768,27 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3335
2768
  }>;
3336
2769
  db: string;
3337
2770
  chainsToScrape: string;
2771
+ log?: {
2772
+ format?: AgentLogFormat | undefined;
2773
+ level?: AgentLogLevel | undefined;
2774
+ } | undefined;
3338
2775
  metricsPort?: number | undefined;
3339
2776
  defaultSigner?: {
3340
2777
  key: string;
3341
- type?: "hexKey" | undefined;
2778
+ type?: AgentSignerKeyType.Hex | undefined;
3342
2779
  } | {
3343
2780
  id: string;
3344
2781
  region: string;
3345
- type?: "aws" | undefined;
2782
+ type?: AgentSignerKeyType.Aws | undefined;
3346
2783
  } | {
3347
- type: "node";
3348
- } | undefined;
3349
- defaultRpcConsensusType?: AgentConsensusType | undefined;
3350
- log?: {
3351
- format?: AgentLogFormat | undefined;
3352
- level?: AgentLogLevel | undefined;
2784
+ type: AgentSignerKeyType.Node;
3353
2785
  } | undefined;
2786
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
3354
2787
  }, {
3355
2788
  chains: Record<string, {
3356
2789
  name: string;
3357
- protocol: ProtocolType;
3358
- chainId: number;
3359
- interchainGasPaymaster: string;
2790
+ chainId: string | number;
2791
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3360
2792
  mailbox: string;
3361
2793
  rpcUrls: [{
3362
2794
  http: string;
@@ -3384,6 +2816,8 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3384
2816
  } | undefined;
3385
2817
  }[]];
3386
2818
  validatorAnnounce: string;
2819
+ merkleTreeHook: string;
2820
+ interchainGasPaymaster: string;
3387
2821
  interchainSecurityModule?: string | undefined;
3388
2822
  domainId?: number | undefined;
3389
2823
  displayName?: string | undefined;
@@ -3409,31 +2843,20 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3409
2843
  transactionOverrides?: {} | undefined;
3410
2844
  gasCurrencyCoinGeckoId?: string | undefined;
3411
2845
  gnosisSafeTransactionServiceUrl?: string | undefined;
2846
+ bech32Prefix?: string | undefined;
2847
+ slip44?: number | undefined;
3412
2848
  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;
2849
+ customRpcUrls?: string | undefined;
2850
+ rpcConsensusType?: RpcConsensusType | undefined;
3428
2851
  signer?: {
3429
2852
  key: string;
3430
- type?: "hexKey" | undefined;
2853
+ type?: AgentSignerKeyType.Hex | undefined;
3431
2854
  } | {
3432
2855
  id: string;
3433
2856
  region: string;
3434
- type?: "aws" | undefined;
2857
+ type?: AgentSignerKeyType.Aws | undefined;
3435
2858
  } | {
3436
- type: "node";
2859
+ type: AgentSignerKeyType.Node;
3437
2860
  } | undefined;
3438
2861
  index?: {
3439
2862
  from?: number | undefined;
@@ -3443,32 +2866,41 @@ export declare const ScraperAgentConfigSchema: z.ZodObject<{
3443
2866
  }>;
3444
2867
  db: string;
3445
2868
  chainsToScrape: string;
2869
+ log?: {
2870
+ format?: AgentLogFormat | undefined;
2871
+ level?: AgentLogLevel | undefined;
2872
+ } | undefined;
3446
2873
  metricsPort?: number | undefined;
3447
2874
  defaultSigner?: {
3448
2875
  key: string;
3449
- type?: "hexKey" | undefined;
2876
+ type?: AgentSignerKeyType.Hex | undefined;
3450
2877
  } | {
3451
2878
  id: string;
3452
2879
  region: string;
3453
- type?: "aws" | undefined;
2880
+ type?: AgentSignerKeyType.Aws | undefined;
3454
2881
  } | {
3455
- type: "node";
3456
- } | undefined;
3457
- defaultRpcConsensusType?: AgentConsensusType | undefined;
3458
- log?: {
3459
- format?: AgentLogFormat | undefined;
3460
- level?: AgentLogLevel | undefined;
2882
+ type: AgentSignerKeyType.Node;
3461
2883
  } | undefined;
2884
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
3462
2885
  }>;
3463
2886
  export type ScraperConfig = z.infer<typeof ScraperAgentConfigSchema>;
3464
2887
  export declare const ValidatorAgentConfigSchema: z.ZodObject<{
2888
+ log: z.ZodOptional<z.ZodObject<{
2889
+ format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
2890
+ level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
2891
+ }, "strip", z.ZodTypeAny, {
2892
+ format?: AgentLogFormat | undefined;
2893
+ level?: AgentLogLevel | undefined;
2894
+ }, {
2895
+ format?: AgentLogFormat | undefined;
2896
+ level?: AgentLogLevel | undefined;
2897
+ }>>;
3465
2898
  metricsPort: z.ZodOptional<z.ZodNumber>;
3466
2899
  chains: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
3467
2900
  name: z.ZodString;
3468
- protocol: z.ZodNativeEnum<typeof ProtocolType>;
3469
- chainId: z.ZodNumber;
2901
+ chainId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2902
+ protocol: z.ZodNativeEnum<typeof import("@hyperlane-xyz/utils").ProtocolType>;
3470
2903
  interchainSecurityModule: z.ZodOptional<z.ZodString>;
3471
- interchainGasPaymaster: z.ZodString;
3472
2904
  mailbox: z.ZodString;
3473
2905
  domainId: z.ZodOptional<z.ZodNumber>;
3474
2906
  displayName: z.ZodOptional<z.ZodString>;
@@ -3573,116 +3005,41 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3573
3005
  transactionOverrides: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
3574
3006
  gasCurrencyCoinGeckoId: z.ZodOptional<z.ZodString>;
3575
3007
  gnosisSafeTransactionServiceUrl: z.ZodOptional<z.ZodString>;
3008
+ bech32Prefix: z.ZodOptional<z.ZodString>;
3009
+ slip44: z.ZodOptional<z.ZodNumber>;
3576
3010
  isTestnet: z.ZodOptional<z.ZodBoolean>;
3577
3011
  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>>;
3012
+ merkleTreeHook: z.ZodString;
3013
+ interchainGasPaymaster: z.ZodString;
3014
+ customRpcUrls: z.ZodOptional<z.ZodString>;
3015
+ rpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
3659
3016
  signer: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3660
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
3017
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
3661
3018
  key: z.ZodString;
3662
3019
  }, "strip", z.ZodTypeAny, {
3663
3020
  key: string;
3664
- type?: "hexKey" | undefined;
3021
+ type?: AgentSignerKeyType.Hex | undefined;
3665
3022
  }, {
3666
3023
  key: string;
3667
- type?: "hexKey" | undefined;
3024
+ type?: AgentSignerKeyType.Hex | undefined;
3668
3025
  }>, z.ZodObject<{
3669
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
3026
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
3670
3027
  id: z.ZodString;
3671
3028
  region: z.ZodString;
3672
3029
  }, "strip", z.ZodTypeAny, {
3673
3030
  id: string;
3674
3031
  region: string;
3675
- type?: "aws" | undefined;
3032
+ type?: AgentSignerKeyType.Aws | undefined;
3676
3033
  }, {
3677
3034
  id: string;
3678
3035
  region: string;
3679
- type?: "aws" | undefined;
3036
+ type?: AgentSignerKeyType.Aws | undefined;
3680
3037
  }>, z.ZodObject<{
3681
- type: z.ZodLiteral<"node">;
3038
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
3682
3039
  }, "strip", z.ZodTypeAny, {
3683
- type: "node";
3040
+ type: AgentSignerKeyType.Node;
3684
3041
  }, {
3685
- type: "node";
3042
+ type: AgentSignerKeyType.Node;
3686
3043
  }>]>>;
3687
3044
  index: z.ZodOptional<z.ZodObject<{
3688
3045
  from: z.ZodOptional<z.ZodNumber>;
@@ -3699,9 +3056,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3699
3056
  }>>;
3700
3057
  }, "strip", z.ZodTypeAny, {
3701
3058
  name: string;
3702
- protocol: ProtocolType;
3703
- chainId: number;
3704
- interchainGasPaymaster: string;
3059
+ chainId: string | number;
3060
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3705
3061
  mailbox: string;
3706
3062
  rpcUrls: [{
3707
3063
  http: string;
@@ -3729,6 +3085,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3729
3085
  } | undefined;
3730
3086
  }[]];
3731
3087
  validatorAnnounce: string;
3088
+ merkleTreeHook: string;
3089
+ interchainGasPaymaster: string;
3732
3090
  interchainSecurityModule?: string | undefined;
3733
3091
  domainId?: number | undefined;
3734
3092
  displayName?: string | undefined;
@@ -3754,31 +3112,20 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3754
3112
  transactionOverrides?: {} | undefined;
3755
3113
  gasCurrencyCoinGeckoId?: string | undefined;
3756
3114
  gnosisSafeTransactionServiceUrl?: string | undefined;
3115
+ bech32Prefix?: string | undefined;
3116
+ slip44?: number | undefined;
3757
3117
  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;
3118
+ customRpcUrls?: string | undefined;
3119
+ rpcConsensusType?: RpcConsensusType | undefined;
3773
3120
  signer?: {
3774
3121
  key: string;
3775
- type?: "hexKey" | undefined;
3122
+ type?: AgentSignerKeyType.Hex | undefined;
3776
3123
  } | {
3777
3124
  id: string;
3778
3125
  region: string;
3779
- type?: "aws" | undefined;
3126
+ type?: AgentSignerKeyType.Aws | undefined;
3780
3127
  } | {
3781
- type: "node";
3128
+ type: AgentSignerKeyType.Node;
3782
3129
  } | undefined;
3783
3130
  index?: {
3784
3131
  from?: number | undefined;
@@ -3787,9 +3134,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3787
3134
  } | undefined;
3788
3135
  }, {
3789
3136
  name: string;
3790
- protocol: ProtocolType;
3791
- chainId: number;
3792
- interchainGasPaymaster: string;
3137
+ chainId: string | number;
3138
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3793
3139
  mailbox: string;
3794
3140
  rpcUrls: [{
3795
3141
  http: string;
@@ -3817,6 +3163,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3817
3163
  } | undefined;
3818
3164
  }[]];
3819
3165
  validatorAnnounce: string;
3166
+ merkleTreeHook: string;
3167
+ interchainGasPaymaster: string;
3820
3168
  interchainSecurityModule?: string | undefined;
3821
3169
  domainId?: number | undefined;
3822
3170
  displayName?: string | undefined;
@@ -3842,31 +3190,20 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3842
3190
  transactionOverrides?: {} | undefined;
3843
3191
  gasCurrencyCoinGeckoId?: string | undefined;
3844
3192
  gnosisSafeTransactionServiceUrl?: string | undefined;
3193
+ bech32Prefix?: string | undefined;
3194
+ slip44?: number | undefined;
3845
3195
  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;
3196
+ customRpcUrls?: string | undefined;
3197
+ rpcConsensusType?: RpcConsensusType | undefined;
3861
3198
  signer?: {
3862
3199
  key: string;
3863
- type?: "hexKey" | undefined;
3200
+ type?: AgentSignerKeyType.Hex | undefined;
3864
3201
  } | {
3865
3202
  id: string;
3866
3203
  region: string;
3867
- type?: "aws" | undefined;
3204
+ type?: AgentSignerKeyType.Aws | undefined;
3868
3205
  } | {
3869
- type: "node";
3206
+ type: AgentSignerKeyType.Node;
3870
3207
  } | undefined;
3871
3208
  index?: {
3872
3209
  from?: number | undefined;
@@ -3875,9 +3212,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3875
3212
  } | undefined;
3876
3213
  }>>, Record<string, {
3877
3214
  name: string;
3878
- protocol: ProtocolType;
3879
- chainId: number;
3880
- interchainGasPaymaster: string;
3215
+ chainId: string | number;
3216
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3881
3217
  mailbox: string;
3882
3218
  rpcUrls: [{
3883
3219
  http: string;
@@ -3905,6 +3241,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3905
3241
  } | undefined;
3906
3242
  }[]];
3907
3243
  validatorAnnounce: string;
3244
+ merkleTreeHook: string;
3245
+ interchainGasPaymaster: string;
3908
3246
  interchainSecurityModule?: string | undefined;
3909
3247
  domainId?: number | undefined;
3910
3248
  displayName?: string | undefined;
@@ -3930,31 +3268,20 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3930
3268
  transactionOverrides?: {} | undefined;
3931
3269
  gasCurrencyCoinGeckoId?: string | undefined;
3932
3270
  gnosisSafeTransactionServiceUrl?: string | undefined;
3271
+ bech32Prefix?: string | undefined;
3272
+ slip44?: number | undefined;
3933
3273
  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;
3274
+ customRpcUrls?: string | undefined;
3275
+ rpcConsensusType?: RpcConsensusType | undefined;
3949
3276
  signer?: {
3950
3277
  key: string;
3951
- type?: "hexKey" | undefined;
3278
+ type?: AgentSignerKeyType.Hex | undefined;
3952
3279
  } | {
3953
3280
  id: string;
3954
3281
  region: string;
3955
- type?: "aws" | undefined;
3282
+ type?: AgentSignerKeyType.Aws | undefined;
3956
3283
  } | {
3957
- type: "node";
3284
+ type: AgentSignerKeyType.Node;
3958
3285
  } | undefined;
3959
3286
  index?: {
3960
3287
  from?: number | undefined;
@@ -3963,9 +3290,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3963
3290
  } | undefined;
3964
3291
  }>, Record<string, {
3965
3292
  name: string;
3966
- protocol: ProtocolType;
3967
- chainId: number;
3968
- interchainGasPaymaster: string;
3293
+ chainId: string | number;
3294
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
3969
3295
  mailbox: string;
3970
3296
  rpcUrls: [{
3971
3297
  http: string;
@@ -3993,6 +3319,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
3993
3319
  } | undefined;
3994
3320
  }[]];
3995
3321
  validatorAnnounce: string;
3322
+ merkleTreeHook: string;
3323
+ interchainGasPaymaster: string;
3996
3324
  interchainSecurityModule?: string | undefined;
3997
3325
  domainId?: number | undefined;
3998
3326
  displayName?: string | undefined;
@@ -4018,31 +3346,20 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4018
3346
  transactionOverrides?: {} | undefined;
4019
3347
  gasCurrencyCoinGeckoId?: string | undefined;
4020
3348
  gnosisSafeTransactionServiceUrl?: string | undefined;
3349
+ bech32Prefix?: string | undefined;
3350
+ slip44?: number | undefined;
4021
3351
  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;
3352
+ customRpcUrls?: string | undefined;
3353
+ rpcConsensusType?: RpcConsensusType | undefined;
4037
3354
  signer?: {
4038
3355
  key: string;
4039
- type?: "hexKey" | undefined;
3356
+ type?: AgentSignerKeyType.Hex | undefined;
4040
3357
  } | {
4041
3358
  id: string;
4042
3359
  region: string;
4043
- type?: "aws" | undefined;
3360
+ type?: AgentSignerKeyType.Aws | undefined;
4044
3361
  } | {
4045
- type: "node";
3362
+ type: AgentSignerKeyType.Node;
4046
3363
  } | undefined;
4047
3364
  index?: {
4048
3365
  from?: number | undefined;
@@ -4051,73 +3368,63 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4051
3368
  } | undefined;
4052
3369
  }>>;
4053
3370
  defaultSigner: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
4054
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
3371
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
4055
3372
  key: z.ZodString;
4056
3373
  }, "strip", z.ZodTypeAny, {
4057
3374
  key: string;
4058
- type?: "hexKey" | undefined;
3375
+ type?: AgentSignerKeyType.Hex | undefined;
4059
3376
  }, {
4060
3377
  key: string;
4061
- type?: "hexKey" | undefined;
3378
+ type?: AgentSignerKeyType.Hex | undefined;
4062
3379
  }>, z.ZodObject<{
4063
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
3380
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
4064
3381
  id: z.ZodString;
4065
3382
  region: z.ZodString;
4066
3383
  }, "strip", z.ZodTypeAny, {
4067
3384
  id: string;
4068
3385
  region: string;
4069
- type?: "aws" | undefined;
3386
+ type?: AgentSignerKeyType.Aws | undefined;
4070
3387
  }, {
4071
3388
  id: string;
4072
3389
  region: string;
4073
- type?: "aws" | undefined;
3390
+ type?: AgentSignerKeyType.Aws | undefined;
4074
3391
  }>, z.ZodObject<{
4075
- type: z.ZodLiteral<"node">;
3392
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
4076
3393
  }, "strip", z.ZodTypeAny, {
4077
- type: "node";
3394
+ type: AgentSignerKeyType.Node;
4078
3395
  }, {
4079
- type: "node";
3396
+ type: AgentSignerKeyType.Node;
4080
3397
  }>]>>;
4081
- defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof AgentConsensusType>>;
4082
- log: z.ZodOptional<z.ZodObject<{
4083
- format: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogFormat>>;
4084
- level: z.ZodOptional<z.ZodNativeEnum<typeof AgentLogLevel>>;
4085
- }, "strip", z.ZodTypeAny, {
4086
- format?: AgentLogFormat | undefined;
4087
- level?: AgentLogLevel | undefined;
4088
- }, {
4089
- format?: AgentLogFormat | undefined;
4090
- level?: AgentLogLevel | undefined;
4091
- }>>;
3398
+ defaultRpcConsensusType: z.ZodOptional<z.ZodNativeEnum<typeof RpcConsensusType>>;
4092
3399
  db: z.ZodOptional<z.ZodString>;
4093
3400
  originChainName: z.ZodString;
4094
3401
  validator: z.ZodUnion<[z.ZodObject<{
4095
- type: z.ZodOptional<z.ZodLiteral<"hexKey">>;
3402
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Hex>>;
4096
3403
  key: z.ZodString;
4097
3404
  }, "strip", z.ZodTypeAny, {
4098
3405
  key: string;
4099
- type?: "hexKey" | undefined;
3406
+ type?: AgentSignerKeyType.Hex | undefined;
4100
3407
  }, {
4101
3408
  key: string;
4102
- type?: "hexKey" | undefined;
3409
+ type?: AgentSignerKeyType.Hex | undefined;
4103
3410
  }>, z.ZodObject<{
4104
- type: z.ZodOptional<z.ZodLiteral<"aws">>;
3411
+ type: z.ZodOptional<z.ZodLiteral<AgentSignerKeyType.Aws>>;
4105
3412
  id: z.ZodString;
4106
3413
  region: z.ZodString;
4107
3414
  }, "strip", z.ZodTypeAny, {
4108
3415
  id: string;
4109
3416
  region: string;
4110
- type?: "aws" | undefined;
3417
+ type?: AgentSignerKeyType.Aws | undefined;
4111
3418
  }, {
4112
3419
  id: string;
4113
3420
  region: string;
4114
- type?: "aws" | undefined;
3421
+ type?: AgentSignerKeyType.Aws | undefined;
4115
3422
  }>, z.ZodObject<{
4116
- type: z.ZodLiteral<"node">;
3423
+ type: z.ZodLiteral<AgentSignerKeyType.Node>;
4117
3424
  }, "strip", z.ZodTypeAny, {
4118
- type: "node";
3425
+ type: AgentSignerKeyType.Node;
4119
3426
  }, {
4120
- type: "node";
3427
+ type: AgentSignerKeyType.Node;
4121
3428
  }>]>;
4122
3429
  checkpointSyncer: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4123
3430
  type: z.ZodLiteral<"localStorage">;
@@ -4146,11 +3453,34 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4146
3453
  }>]>;
4147
3454
  interval: z.ZodOptional<z.ZodNumber>;
4148
3455
  }, "strip", z.ZodTypeAny, {
3456
+ validator: {
3457
+ key: string;
3458
+ type?: AgentSignerKeyType.Hex | undefined;
3459
+ } | {
3460
+ id: string;
3461
+ region: string;
3462
+ type?: AgentSignerKeyType.Aws | undefined;
3463
+ } | {
3464
+ type: AgentSignerKeyType.Node;
3465
+ } | ({
3466
+ key: string;
3467
+ type?: AgentSignerKeyType.Hex | undefined;
3468
+ } & {
3469
+ id: string;
3470
+ region: string;
3471
+ type?: AgentSignerKeyType.Aws | undefined;
3472
+ }) | ({
3473
+ id: string;
3474
+ region: string;
3475
+ type?: AgentSignerKeyType.Aws | undefined;
3476
+ } & {
3477
+ key: string;
3478
+ type?: AgentSignerKeyType.Hex | undefined;
3479
+ });
4149
3480
  chains: Record<string, {
4150
3481
  name: string;
4151
- protocol: ProtocolType;
4152
- chainId: number;
4153
- interchainGasPaymaster: string;
3482
+ chainId: string | number;
3483
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
4154
3484
  mailbox: string;
4155
3485
  rpcUrls: [{
4156
3486
  http: string;
@@ -4178,6 +3508,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4178
3508
  } | undefined;
4179
3509
  }[]];
4180
3510
  validatorAnnounce: string;
3511
+ merkleTreeHook: string;
3512
+ interchainGasPaymaster: string;
4181
3513
  interchainSecurityModule?: string | undefined;
4182
3514
  domainId?: number | undefined;
4183
3515
  displayName?: string | undefined;
@@ -4203,31 +3535,20 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4203
3535
  transactionOverrides?: {} | undefined;
4204
3536
  gasCurrencyCoinGeckoId?: string | undefined;
4205
3537
  gnosisSafeTransactionServiceUrl?: string | undefined;
3538
+ bech32Prefix?: string | undefined;
3539
+ slip44?: number | undefined;
4206
3540
  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;
3541
+ customRpcUrls?: string | undefined;
3542
+ rpcConsensusType?: RpcConsensusType | undefined;
4222
3543
  signer?: {
4223
3544
  key: string;
4224
- type?: "hexKey" | undefined;
3545
+ type?: AgentSignerKeyType.Hex | undefined;
4225
3546
  } | {
4226
3547
  id: string;
4227
3548
  region: string;
4228
- type?: "aws" | undefined;
3549
+ type?: AgentSignerKeyType.Aws | undefined;
4229
3550
  } | {
4230
- type: "node";
3551
+ type: AgentSignerKeyType.Node;
4231
3552
  } | undefined;
4232
3553
  index?: {
4233
3554
  from?: number | undefined;
@@ -4236,30 +3557,6 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4236
3557
  } | undefined;
4237
3558
  }>;
4238
3559
  originChainName: string;
4239
- validator: {
4240
- key: string;
4241
- type?: "hexKey" | undefined;
4242
- } | {
4243
- id: string;
4244
- region: string;
4245
- type?: "aws" | undefined;
4246
- } | {
4247
- type: "node";
4248
- } | ({
4249
- key: string;
4250
- type?: "hexKey" | undefined;
4251
- } & {
4252
- id: string;
4253
- region: string;
4254
- type?: "aws" | undefined;
4255
- }) | ({
4256
- id: string;
4257
- region: string;
4258
- type?: "aws" | undefined;
4259
- } & {
4260
- key: string;
4261
- type?: "hexKey" | undefined;
4262
- });
4263
3560
  checkpointSyncer: {
4264
3561
  type: "localStorage";
4265
3562
  path: string;
@@ -4269,30 +3566,53 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4269
3566
  bucket: string;
4270
3567
  folder?: string | undefined;
4271
3568
  };
3569
+ log?: {
3570
+ format?: AgentLogFormat | undefined;
3571
+ level?: AgentLogLevel | undefined;
3572
+ } | undefined;
4272
3573
  metricsPort?: number | undefined;
4273
3574
  defaultSigner?: {
4274
3575
  key: string;
4275
- type?: "hexKey" | undefined;
3576
+ type?: AgentSignerKeyType.Hex | undefined;
4276
3577
  } | {
4277
3578
  id: string;
4278
3579
  region: string;
4279
- type?: "aws" | undefined;
3580
+ type?: AgentSignerKeyType.Aws | undefined;
4280
3581
  } | {
4281
- type: "node";
4282
- } | undefined;
4283
- defaultRpcConsensusType?: AgentConsensusType | undefined;
4284
- log?: {
4285
- format?: AgentLogFormat | undefined;
4286
- level?: AgentLogLevel | undefined;
3582
+ type: AgentSignerKeyType.Node;
4287
3583
  } | undefined;
3584
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
4288
3585
  db?: string | undefined;
4289
3586
  interval?: number | undefined;
4290
3587
  }, {
3588
+ validator: {
3589
+ key: string;
3590
+ type?: AgentSignerKeyType.Hex | undefined;
3591
+ } | {
3592
+ id: string;
3593
+ region: string;
3594
+ type?: AgentSignerKeyType.Aws | undefined;
3595
+ } | {
3596
+ type: AgentSignerKeyType.Node;
3597
+ } | ({
3598
+ key: string;
3599
+ type?: AgentSignerKeyType.Hex | undefined;
3600
+ } & {
3601
+ id: string;
3602
+ region: string;
3603
+ type?: AgentSignerKeyType.Aws | undefined;
3604
+ }) | ({
3605
+ id: string;
3606
+ region: string;
3607
+ type?: AgentSignerKeyType.Aws | undefined;
3608
+ } & {
3609
+ key: string;
3610
+ type?: AgentSignerKeyType.Hex | undefined;
3611
+ });
4291
3612
  chains: Record<string, {
4292
3613
  name: string;
4293
- protocol: ProtocolType;
4294
- chainId: number;
4295
- interchainGasPaymaster: string;
3614
+ chainId: string | number;
3615
+ protocol: import("@hyperlane-xyz/utils").ProtocolType;
4296
3616
  mailbox: string;
4297
3617
  rpcUrls: [{
4298
3618
  http: string;
@@ -4320,6 +3640,8 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4320
3640
  } | undefined;
4321
3641
  }[]];
4322
3642
  validatorAnnounce: string;
3643
+ merkleTreeHook: string;
3644
+ interchainGasPaymaster: string;
4323
3645
  interchainSecurityModule?: string | undefined;
4324
3646
  domainId?: number | undefined;
4325
3647
  displayName?: string | undefined;
@@ -4345,31 +3667,20 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4345
3667
  transactionOverrides?: {} | undefined;
4346
3668
  gasCurrencyCoinGeckoId?: string | undefined;
4347
3669
  gnosisSafeTransactionServiceUrl?: string | undefined;
3670
+ bech32Prefix?: string | undefined;
3671
+ slip44?: number | undefined;
4348
3672
  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;
3673
+ customRpcUrls?: string | undefined;
3674
+ rpcConsensusType?: RpcConsensusType | undefined;
4364
3675
  signer?: {
4365
3676
  key: string;
4366
- type?: "hexKey" | undefined;
3677
+ type?: AgentSignerKeyType.Hex | undefined;
4367
3678
  } | {
4368
3679
  id: string;
4369
3680
  region: string;
4370
- type?: "aws" | undefined;
3681
+ type?: AgentSignerKeyType.Aws | undefined;
4371
3682
  } | {
4372
- type: "node";
3683
+ type: AgentSignerKeyType.Node;
4373
3684
  } | undefined;
4374
3685
  index?: {
4375
3686
  from?: number | undefined;
@@ -4378,30 +3689,6 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4378
3689
  } | undefined;
4379
3690
  }>;
4380
3691
  originChainName: string;
4381
- validator: {
4382
- key: string;
4383
- type?: "hexKey" | undefined;
4384
- } | {
4385
- id: string;
4386
- region: string;
4387
- type?: "aws" | undefined;
4388
- } | {
4389
- type: "node";
4390
- } | ({
4391
- key: string;
4392
- type?: "hexKey" | undefined;
4393
- } & {
4394
- id: string;
4395
- region: string;
4396
- type?: "aws" | undefined;
4397
- }) | ({
4398
- id: string;
4399
- region: string;
4400
- type?: "aws" | undefined;
4401
- } & {
4402
- key: string;
4403
- type?: "hexKey" | undefined;
4404
- });
4405
3692
  checkpointSyncer: {
4406
3693
  type: "localStorage";
4407
3694
  path: string;
@@ -4411,77 +3698,27 @@ export declare const ValidatorAgentConfigSchema: z.ZodObject<{
4411
3698
  bucket: string;
4412
3699
  folder?: string | undefined;
4413
3700
  };
3701
+ log?: {
3702
+ format?: AgentLogFormat | undefined;
3703
+ level?: AgentLogLevel | undefined;
3704
+ } | undefined;
4414
3705
  metricsPort?: number | undefined;
4415
3706
  defaultSigner?: {
4416
3707
  key: string;
4417
- type?: "hexKey" | undefined;
3708
+ type?: AgentSignerKeyType.Hex | undefined;
4418
3709
  } | {
4419
3710
  id: string;
4420
3711
  region: string;
4421
- type?: "aws" | undefined;
3712
+ type?: AgentSignerKeyType.Aws | undefined;
4422
3713
  } | {
4423
- type: "node";
4424
- } | undefined;
4425
- defaultRpcConsensusType?: AgentConsensusType | undefined;
4426
- log?: {
4427
- format?: AgentLogFormat | undefined;
4428
- level?: AgentLogLevel | undefined;
3714
+ type: AgentSignerKeyType.Node;
4429
3715
  } | undefined;
3716
+ defaultRpcConsensusType?: RpcConsensusType | undefined;
4430
3717
  db?: string | undefined;
4431
3718
  interval?: number | undefined;
4432
3719
  }>;
4433
3720
  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;
3721
+ export type AgentConfig = z.infer<typeof AgentConfigSchema>;
3722
+ export declare function buildAgentConfig(chains: ChainName[], multiProvider: MultiProvider, addresses: ChainMap<HyperlaneDeploymentArtifacts>, startBlocks: ChainMap<number>): AgentConfig;
4486
3723
  export {};
4487
3724
  //# sourceMappingURL=agentConfig.d.ts.map