@hyperlane-xyz/sdk 3.20.0-beta0 → 4.0.0-alpha

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 (450) hide show
  1. package/README.md +0 -15
  2. package/dist/aws/s3.d.ts +22 -0
  3. package/dist/aws/s3.d.ts.map +1 -0
  4. package/dist/aws/s3.js +61 -0
  5. package/dist/aws/s3.js.map +1 -0
  6. package/dist/aws/validator.d.ts +17 -0
  7. package/dist/aws/validator.d.ts.map +1 -0
  8. package/dist/aws/validator.js +76 -0
  9. package/dist/aws/validator.js.map +1 -0
  10. package/dist/consts/{crud.d.ts → concurrency.d.ts} +1 -1
  11. package/dist/consts/concurrency.d.ts.map +1 -0
  12. package/dist/consts/{crud.js → concurrency.js} +1 -1
  13. package/dist/consts/concurrency.js.map +1 -0
  14. package/dist/consts/multisigIsm.d.ts.map +1 -1
  15. package/dist/consts/multisigIsm.js +15 -0
  16. package/dist/consts/multisigIsm.js.map +1 -1
  17. package/dist/consts/testChains.d.ts +3 -1
  18. package/dist/consts/testChains.d.ts.map +1 -1
  19. package/dist/consts/testChains.js +14 -0
  20. package/dist/consts/testChains.js.map +1 -1
  21. package/dist/contracts/contracts.d.ts +1 -0
  22. package/dist/contracts/contracts.d.ts.map +1 -1
  23. package/dist/contracts/contracts.js +4 -0
  24. package/dist/contracts/contracts.js.map +1 -1
  25. package/dist/core/AbstractHyperlaneModule.d.ts +18 -0
  26. package/dist/core/AbstractHyperlaneModule.d.ts.map +1 -0
  27. package/dist/{crud/AbstractCrudModule.js → core/AbstractHyperlaneModule.js} +2 -2
  28. package/dist/core/AbstractHyperlaneModule.js.map +1 -0
  29. package/dist/core/CoreDeployer.hardhat-test.js +8 -11
  30. package/dist/core/CoreDeployer.hardhat-test.js.map +1 -1
  31. package/dist/core/EvmCoreModule.d.ts +71 -0
  32. package/dist/core/EvmCoreModule.d.ts.map +1 -0
  33. package/dist/core/EvmCoreModule.hardhat-test.d.ts +2 -0
  34. package/dist/core/EvmCoreModule.hardhat-test.d.ts.map +1 -0
  35. package/dist/core/EvmCoreModule.hardhat-test.js +101 -0
  36. package/dist/core/EvmCoreModule.hardhat-test.js.map +1 -0
  37. package/dist/core/EvmCoreModule.js +147 -0
  38. package/dist/core/EvmCoreModule.js.map +1 -0
  39. package/dist/core/{read.d.ts → EvmCoreReader.d.ts} +3 -3
  40. package/dist/core/EvmCoreReader.d.ts.map +1 -0
  41. package/dist/core/{read.js → EvmCoreReader.js} +4 -4
  42. package/dist/core/EvmCoreReader.js.map +1 -0
  43. package/dist/core/EvmIcaModule.d.ts +30 -0
  44. package/dist/core/EvmIcaModule.d.ts.map +1 -0
  45. package/dist/core/EvmIcaModule.hardhat-test.d.ts +2 -0
  46. package/dist/core/EvmIcaModule.hardhat-test.d.ts.map +1 -0
  47. package/dist/core/EvmIcaModule.hardhat-test.js +35 -0
  48. package/dist/core/EvmIcaModule.hardhat-test.js.map +1 -0
  49. package/dist/core/EvmIcaModule.js +36 -0
  50. package/dist/core/EvmIcaModule.js.map +1 -0
  51. package/dist/core/HyperlaneCore.d.ts +8 -3
  52. package/dist/core/HyperlaneCore.d.ts.map +1 -1
  53. package/dist/core/HyperlaneCore.js +24 -15
  54. package/dist/core/HyperlaneCore.js.map +1 -1
  55. package/dist/core/HyperlaneCoreDeployer.d.ts +1 -1
  56. package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
  57. package/dist/core/HyperlaneCoreDeployer.js +12 -8
  58. package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
  59. package/dist/core/schemas.d.ts +2222 -0
  60. package/dist/core/schemas.d.ts.map +1 -0
  61. package/dist/core/schemas.js +9 -0
  62. package/dist/core/schemas.js.map +1 -0
  63. package/dist/core/types.d.ts +4 -7
  64. package/dist/core/types.d.ts.map +1 -1
  65. package/dist/core/types.js.map +1 -1
  66. package/dist/deploy/HyperlaneAppChecker.d.ts +2 -2
  67. package/dist/deploy/HyperlaneAppChecker.d.ts.map +1 -1
  68. package/dist/deploy/HyperlaneAppChecker.js +2 -5
  69. package/dist/deploy/HyperlaneAppChecker.js.map +1 -1
  70. package/dist/deploy/HyperlaneDeployer.d.ts +8 -6
  71. package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
  72. package/dist/deploy/HyperlaneDeployer.js +35 -32
  73. package/dist/deploy/HyperlaneDeployer.js.map +1 -1
  74. package/dist/deploy/schemas.d.ts +2 -62
  75. package/dist/deploy/schemas.d.ts.map +1 -1
  76. package/dist/deploy/schemas.js +1 -2
  77. package/dist/deploy/schemas.js.map +1 -1
  78. package/dist/deploy/types.d.ts +2 -13
  79. package/dist/deploy/types.d.ts.map +1 -1
  80. package/dist/deploy/types.js +0 -16
  81. package/dist/deploy/types.js.map +1 -1
  82. package/dist/deploy/verify/ContractVerifier.js +2 -2
  83. package/dist/deploy/verify/ContractVerifier.js.map +1 -1
  84. package/dist/gas/HyperlaneIgpChecker.d.ts.map +1 -1
  85. package/dist/gas/HyperlaneIgpChecker.js +12 -2
  86. package/dist/gas/HyperlaneIgpChecker.js.map +1 -1
  87. package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
  88. package/dist/gas/HyperlaneIgpDeployer.js +20 -8
  89. package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
  90. package/dist/gas/oracle/configure-gas-oracles.hardhat-test.js +5 -4
  91. package/dist/gas/oracle/configure-gas-oracles.hardhat-test.js.map +1 -1
  92. package/dist/gas/oracle/types.d.ts +20 -7
  93. package/dist/gas/oracle/types.d.ts.map +1 -1
  94. package/dist/gas/oracle/types.js +10 -4
  95. package/dist/gas/oracle/types.js.map +1 -1
  96. package/dist/gas/types.d.ts +4 -10
  97. package/dist/gas/types.d.ts.map +1 -1
  98. package/dist/gas/types.js.map +1 -1
  99. package/dist/hook/EvmHookModule.d.ts +24 -0
  100. package/dist/hook/EvmHookModule.d.ts.map +1 -0
  101. package/dist/{crud → hook}/EvmHookModule.js +9 -10
  102. package/dist/hook/EvmHookModule.js.map +1 -0
  103. package/dist/hook/{read.d.ts → EvmHookReader.d.ts} +3 -2
  104. package/dist/hook/EvmHookReader.d.ts.map +1 -0
  105. package/dist/hook/{read.js → EvmHookReader.js} +10 -5
  106. package/dist/hook/EvmHookReader.js.map +1 -0
  107. package/dist/hook/EvmHookReader.test.d.ts +2 -0
  108. package/dist/hook/EvmHookReader.test.d.ts.map +1 -0
  109. package/dist/hook/{read.test.js → EvmHookReader.test.js} +6 -2
  110. package/dist/hook/EvmHookReader.test.js.map +1 -0
  111. package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
  112. package/dist/hook/HyperlaneHookDeployer.js +29 -6
  113. package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
  114. package/dist/hook/schemas.d.ts +210 -0
  115. package/dist/hook/schemas.d.ts.map +1 -0
  116. package/dist/hook/schemas.js +54 -0
  117. package/dist/hook/schemas.js.map +1 -0
  118. package/dist/hook/types.d.ts +9 -28
  119. package/dist/hook/types.d.ts.map +1 -1
  120. package/dist/hook/types.js.map +1 -1
  121. package/dist/index.d.ts +52 -20
  122. package/dist/index.d.ts.map +1 -1
  123. package/dist/index.js +39 -16
  124. package/dist/index.js.map +1 -1
  125. package/dist/ism/EvmIsmModule.d.ts +74 -0
  126. package/dist/ism/EvmIsmModule.d.ts.map +1 -0
  127. package/dist/ism/EvmIsmModule.hardhat-test.d.ts +2 -0
  128. package/dist/ism/EvmIsmModule.hardhat-test.d.ts.map +1 -0
  129. package/dist/ism/EvmIsmModule.hardhat-test.js +308 -0
  130. package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -0
  131. package/dist/ism/EvmIsmModule.js +359 -0
  132. package/dist/ism/EvmIsmModule.js.map +1 -0
  133. package/dist/ism/{read.d.ts → EvmIsmReader.d.ts} +5 -7
  134. package/dist/ism/EvmIsmReader.d.ts.map +1 -0
  135. package/dist/ism/{read.js → EvmIsmReader.js} +9 -4
  136. package/dist/ism/EvmIsmReader.js.map +1 -0
  137. package/dist/ism/EvmIsmReader.test.d.ts +2 -0
  138. package/dist/ism/EvmIsmReader.test.d.ts.map +1 -0
  139. package/dist/ism/{read.test.js → EvmIsmReader.test.js} +2 -2
  140. package/dist/ism/EvmIsmReader.test.js.map +1 -0
  141. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  142. package/dist/ism/HyperlaneIsmFactory.hardhat-test.d.ts +3 -1
  143. package/dist/ism/HyperlaneIsmFactory.hardhat-test.d.ts.map +1 -1
  144. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +22 -16
  145. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
  146. package/dist/ism/HyperlaneIsmFactory.js +3 -8
  147. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  148. package/dist/ism/metadata/aggregation.d.ts +22 -0
  149. package/dist/ism/metadata/aggregation.d.ts.map +1 -0
  150. package/dist/ism/metadata/aggregation.js +82 -0
  151. package/dist/ism/metadata/aggregation.js.map +1 -0
  152. package/dist/ism/metadata/aggregation.test.d.ts +2 -0
  153. package/dist/ism/metadata/aggregation.test.d.ts.map +1 -0
  154. package/dist/ism/metadata/aggregation.test.js +37 -0
  155. package/dist/ism/metadata/aggregation.test.js.map +1 -0
  156. package/dist/ism/metadata/builder.d.ts +32 -0
  157. package/dist/ism/metadata/builder.d.ts.map +1 -0
  158. package/dist/ism/metadata/builder.hardhat-test.d.ts +2 -0
  159. package/dist/ism/metadata/builder.hardhat-test.d.ts.map +1 -0
  160. package/dist/ism/metadata/builder.hardhat-test.js +120 -0
  161. package/dist/ism/metadata/builder.hardhat-test.js.map +1 -0
  162. package/dist/ism/metadata/builder.js +74 -0
  163. package/dist/ism/metadata/builder.js.map +1 -0
  164. package/dist/ism/metadata/multisig.d.ts +57 -0
  165. package/dist/ism/metadata/multisig.d.ts.map +1 -0
  166. package/dist/ism/metadata/multisig.js +188 -0
  167. package/dist/ism/metadata/multisig.js.map +1 -0
  168. package/dist/ism/metadata/multisig.test.d.ts +2 -0
  169. package/dist/ism/metadata/multisig.test.d.ts.map +1 -0
  170. package/dist/ism/metadata/multisig.test.js +55 -0
  171. package/dist/ism/metadata/multisig.test.js.map +1 -0
  172. package/dist/ism/metadata/null.d.ts +15 -0
  173. package/dist/ism/metadata/null.d.ts.map +1 -0
  174. package/dist/ism/metadata/null.js +20 -0
  175. package/dist/ism/metadata/null.js.map +1 -0
  176. package/dist/ism/metadata/routing.d.ts +16 -0
  177. package/dist/ism/metadata/routing.d.ts.map +1 -0
  178. package/dist/ism/metadata/routing.js +34 -0
  179. package/dist/ism/metadata/routing.js.map +1 -0
  180. package/dist/ism/metadata/types.test.d.ts +5 -0
  181. package/dist/ism/metadata/types.test.d.ts.map +1 -0
  182. package/dist/ism/metadata/types.test.js +2 -0
  183. package/dist/ism/metadata/types.test.js.map +1 -0
  184. package/dist/ism/schemas.d.ts +68 -104
  185. package/dist/ism/schemas.d.ts.map +1 -1
  186. package/dist/ism/schemas.js +14 -17
  187. package/dist/ism/schemas.js.map +1 -1
  188. package/dist/ism/schemas.test.js +1 -1
  189. package/dist/ism/schemas.test.js.map +1 -1
  190. package/dist/ism/types.d.ts +10 -20
  191. package/dist/ism/types.d.ts.map +1 -1
  192. package/dist/ism/types.js +6 -0
  193. package/dist/ism/types.js.map +1 -1
  194. package/dist/ism/utils.d.ts +4 -0
  195. package/dist/ism/utils.d.ts.map +1 -1
  196. package/dist/ism/utils.js +33 -5
  197. package/dist/ism/utils.js.map +1 -1
  198. package/dist/metadata/agentConfig.d.ts +87 -87
  199. package/dist/metadata/agentConfig.js +1 -1
  200. package/dist/metadata/agentConfig.js.map +1 -1
  201. package/dist/metadata/deploymentArtifacts.d.ts +4 -4
  202. package/dist/middleware/account/InterchainAccount.d.ts +6 -5
  203. package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
  204. package/dist/middleware/account/InterchainAccount.js +15 -6
  205. package/dist/middleware/account/InterchainAccount.js.map +1 -1
  206. package/dist/middleware/account/InterchainAccountDeployer.d.ts.map +1 -1
  207. package/dist/middleware/account/InterchainAccountDeployer.js +5 -1
  208. package/dist/middleware/account/InterchainAccountDeployer.js.map +1 -1
  209. package/dist/middleware/account/accounts.hardhat-test.js +8 -3
  210. package/dist/middleware/account/accounts.hardhat-test.js.map +1 -1
  211. package/dist/middleware/account/schemas.d.ts +69 -0
  212. package/dist/middleware/account/schemas.d.ts.map +1 -1
  213. package/dist/middleware/account/schemas.js +10 -2
  214. package/dist/middleware/account/schemas.js.map +1 -1
  215. package/dist/middleware/account/types.d.ts +4 -9
  216. package/dist/middleware/account/types.d.ts.map +1 -1
  217. package/dist/providers/MultiProvider.d.ts +2 -1
  218. package/dist/providers/MultiProvider.d.ts.map +1 -1
  219. package/dist/providers/MultiProvider.js +7 -3
  220. package/dist/providers/MultiProvider.js.map +1 -1
  221. package/dist/providers/ProviderType.d.ts +3 -0
  222. package/dist/providers/ProviderType.d.ts.map +1 -1
  223. package/dist/providers/ProviderType.js +0 -1
  224. package/dist/providers/ProviderType.js.map +1 -1
  225. package/dist/providers/transactions/schemas.d.ts +29 -0
  226. package/dist/providers/transactions/schemas.d.ts.map +1 -0
  227. package/dist/providers/transactions/schemas.js +14 -0
  228. package/dist/providers/transactions/schemas.js.map +1 -0
  229. package/dist/providers/transactions/schemas.test.d.ts +2 -0
  230. package/dist/providers/transactions/schemas.test.d.ts.map +1 -0
  231. package/dist/providers/transactions/schemas.test.js +58 -0
  232. package/dist/providers/transactions/schemas.test.js.map +1 -0
  233. package/dist/providers/transactions/submitter/TxSubmitterInterface.d.ts +19 -0
  234. package/dist/providers/transactions/submitter/TxSubmitterInterface.d.ts.map +1 -0
  235. package/dist/providers/transactions/submitter/TxSubmitterInterface.js +2 -0
  236. package/dist/providers/transactions/submitter/TxSubmitterInterface.js.map +1 -0
  237. package/dist/providers/transactions/submitter/TxSubmitterTypes.d.ts +6 -0
  238. package/dist/providers/transactions/submitter/TxSubmitterTypes.d.ts.map +1 -0
  239. package/dist/providers/transactions/submitter/TxSubmitterTypes.js +7 -0
  240. package/dist/providers/transactions/submitter/TxSubmitterTypes.js.map +1 -0
  241. package/dist/providers/transactions/submitter/builder/TxSubmitterBuilder.d.ts +48 -0
  242. package/dist/providers/transactions/submitter/builder/TxSubmitterBuilder.d.ts.map +1 -0
  243. package/dist/providers/transactions/submitter/builder/TxSubmitterBuilder.js +65 -0
  244. package/dist/providers/transactions/submitter/builder/TxSubmitterBuilder.js.map +1 -0
  245. package/dist/providers/transactions/submitter/builder/schemas.d.ts +206 -0
  246. package/dist/providers/transactions/submitter/builder/schemas.d.ts.map +1 -0
  247. package/dist/providers/transactions/submitter/builder/schemas.js +10 -0
  248. package/dist/providers/transactions/submitter/builder/schemas.js.map +1 -0
  249. package/dist/providers/transactions/submitter/builder/types.d.ts +4 -0
  250. package/dist/providers/transactions/submitter/builder/types.d.ts.map +1 -0
  251. package/dist/providers/transactions/submitter/builder/types.js +2 -0
  252. package/dist/providers/transactions/submitter/builder/types.js.map +1 -0
  253. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +15 -0
  254. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -0
  255. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js +44 -0
  256. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -0
  257. package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.d.ts +15 -0
  258. package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.d.ts.map +1 -0
  259. package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.js +23 -0
  260. package/dist/providers/transactions/submitter/ethersV5/EV5ImpersonatedAccountTxSubmitter.js.map +1 -0
  261. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts +14 -0
  262. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts.map +1 -0
  263. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.js +24 -0
  264. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.js.map +1 -0
  265. package/dist/providers/transactions/submitter/ethersV5/EV5TxSubmitterInterface.d.ts +10 -0
  266. package/dist/providers/transactions/submitter/ethersV5/EV5TxSubmitterInterface.d.ts.map +1 -0
  267. package/dist/providers/transactions/submitter/ethersV5/EV5TxSubmitterInterface.js +2 -0
  268. package/dist/providers/transactions/submitter/ethersV5/EV5TxSubmitterInterface.js.map +1 -0
  269. package/dist/providers/transactions/submitter/ethersV5/schemas.d.ts +19 -0
  270. package/dist/providers/transactions/submitter/ethersV5/schemas.d.ts.map +1 -0
  271. package/dist/providers/transactions/submitter/ethersV5/schemas.js +10 -0
  272. package/dist/providers/transactions/submitter/ethersV5/schemas.js.map +1 -0
  273. package/dist/providers/transactions/submitter/ethersV5/schemas.test.d.ts +2 -0
  274. package/dist/providers/transactions/submitter/ethersV5/schemas.test.d.ts.map +1 -0
  275. package/dist/providers/transactions/submitter/ethersV5/schemas.test.js +41 -0
  276. package/dist/providers/transactions/submitter/ethersV5/schemas.test.js.map +1 -0
  277. package/dist/providers/transactions/submitter/ethersV5/types.d.ts +5 -0
  278. package/dist/providers/transactions/submitter/ethersV5/types.d.ts.map +1 -0
  279. package/dist/providers/transactions/submitter/ethersV5/types.js +2 -0
  280. package/dist/providers/transactions/submitter/ethersV5/types.js.map +1 -0
  281. package/dist/providers/transactions/submitter/schemas.d.ts +56 -0
  282. package/dist/providers/transactions/submitter/schemas.d.ts.map +1 -0
  283. package/dist/providers/transactions/submitter/schemas.js +18 -0
  284. package/dist/providers/transactions/submitter/schemas.js.map +1 -0
  285. package/dist/providers/transactions/submitter/types.d.ts +4 -0
  286. package/dist/providers/transactions/submitter/types.d.ts.map +1 -0
  287. package/dist/providers/transactions/submitter/types.js +2 -0
  288. package/dist/providers/transactions/submitter/types.js.map +1 -0
  289. package/dist/providers/transactions/transformer/TxTransformerInterface.d.ts +15 -0
  290. package/dist/providers/transactions/transformer/TxTransformerInterface.d.ts.map +1 -0
  291. package/dist/providers/transactions/transformer/TxTransformerInterface.js +2 -0
  292. package/dist/providers/transactions/transformer/TxTransformerInterface.js.map +1 -0
  293. package/dist/providers/transactions/transformer/TxTransformerTypes.d.ts +4 -0
  294. package/dist/providers/transactions/transformer/TxTransformerTypes.d.ts.map +1 -0
  295. package/dist/providers/transactions/transformer/TxTransformerTypes.js +5 -0
  296. package/dist/providers/transactions/transformer/TxTransformerTypes.js.map +1 -0
  297. package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.d.ts +16 -0
  298. package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.d.ts.map +1 -0
  299. package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.js +37 -0
  300. package/dist/providers/transactions/transformer/ethersV5/EV5InterchainAccountTxTransformer.js.map +1 -0
  301. package/dist/providers/transactions/transformer/ethersV5/EV5TxTransformerInterface.d.ts +5 -0
  302. package/dist/providers/transactions/transformer/ethersV5/EV5TxTransformerInterface.d.ts.map +1 -0
  303. package/dist/providers/transactions/transformer/ethersV5/EV5TxTransformerInterface.js +2 -0
  304. package/dist/providers/transactions/transformer/ethersV5/EV5TxTransformerInterface.js.map +1 -0
  305. package/dist/providers/transactions/transformer/ethersV5/schemas.d.ts +58 -0
  306. package/dist/providers/transactions/transformer/ethersV5/schemas.d.ts.map +1 -0
  307. package/dist/providers/transactions/transformer/ethersV5/schemas.js +7 -0
  308. package/dist/providers/transactions/transformer/ethersV5/schemas.js.map +1 -0
  309. package/dist/providers/transactions/transformer/ethersV5/schemas.test.d.ts +2 -0
  310. package/dist/providers/transactions/transformer/ethersV5/schemas.test.d.ts.map +1 -0
  311. package/dist/providers/transactions/transformer/ethersV5/schemas.test.js +44 -0
  312. package/dist/providers/transactions/transformer/ethersV5/schemas.test.js.map +1 -0
  313. package/dist/providers/transactions/transformer/ethersV5/types.d.ts +4 -0
  314. package/dist/providers/transactions/transformer/ethersV5/types.d.ts.map +1 -0
  315. package/dist/providers/transactions/transformer/ethersV5/types.js +2 -0
  316. package/dist/providers/transactions/transformer/ethersV5/types.js.map +1 -0
  317. package/dist/providers/transactions/transformer/schemas.d.ts +89 -0
  318. package/dist/providers/transactions/transformer/schemas.d.ts.map +1 -0
  319. package/dist/providers/transactions/transformer/schemas.js +10 -0
  320. package/dist/providers/transactions/transformer/schemas.js.map +1 -0
  321. package/dist/providers/transactions/transformer/types.d.ts +4 -0
  322. package/dist/providers/transactions/transformer/types.d.ts.map +1 -0
  323. package/dist/providers/transactions/transformer/types.js +2 -0
  324. package/dist/providers/transactions/transformer/types.js.map +1 -0
  325. package/dist/providers/transactions/types.d.ts +6 -0
  326. package/dist/providers/transactions/types.d.ts.map +1 -0
  327. package/dist/providers/transactions/types.js +2 -0
  328. package/dist/providers/transactions/types.js.map +1 -0
  329. package/dist/router/GasRouterDeployer.d.ts +3 -3
  330. package/dist/router/GasRouterDeployer.d.ts.map +1 -1
  331. package/dist/router/GasRouterDeployer.js +2 -1
  332. package/dist/router/GasRouterDeployer.js.map +1 -1
  333. package/dist/router/HyperlaneRouterChecker.d.ts.map +1 -1
  334. package/dist/router/HyperlaneRouterChecker.js +36 -53
  335. package/dist/router/HyperlaneRouterChecker.js.map +1 -1
  336. package/dist/router/ProxiedRouterDeployer.d.ts +7 -4
  337. package/dist/router/ProxiedRouterDeployer.d.ts.map +1 -1
  338. package/dist/router/ProxiedRouterDeployer.js +8 -2
  339. package/dist/router/ProxiedRouterDeployer.js.map +1 -1
  340. package/dist/router/schemas.d.ts +828 -41
  341. package/dist/router/schemas.d.ts.map +1 -1
  342. package/dist/router/schemas.js +11 -9
  343. package/dist/router/schemas.js.map +1 -1
  344. package/dist/router/types.d.ts +6 -10
  345. package/dist/router/types.d.ts.map +1 -1
  346. package/dist/router/types.js.map +1 -1
  347. package/dist/schemas.d.ts +25 -0
  348. package/dist/schemas.d.ts.map +1 -0
  349. package/dist/schemas.js +10 -0
  350. package/dist/schemas.js.map +1 -0
  351. package/dist/test/multiProviderStubs.d.ts +9 -0
  352. package/dist/test/multiProviderStubs.d.ts.map +1 -0
  353. package/dist/test/multiProviderStubs.js +27 -0
  354. package/dist/test/multiProviderStubs.js.map +1 -0
  355. package/dist/test/testUtils.d.ts +0 -8
  356. package/dist/test/testUtils.d.ts.map +1 -1
  357. package/dist/test/testUtils.js +3 -28
  358. package/dist/test/testUtils.js.map +1 -1
  359. package/dist/token/{read.d.ts → EvmERC20WarpRouteReader.d.ts} +10 -10
  360. package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -0
  361. package/dist/token/{read.js → EvmERC20WarpRouteReader.js} +38 -30
  362. package/dist/token/EvmERC20WarpRouteReader.js.map +1 -0
  363. package/dist/token/Token.test.js +1 -10
  364. package/dist/token/Token.test.js.map +1 -1
  365. package/dist/token/TokenStandard.d.ts +0 -1
  366. package/dist/token/TokenStandard.d.ts.map +1 -1
  367. package/dist/token/TokenStandard.js +4 -3
  368. package/dist/token/TokenStandard.js.map +1 -1
  369. package/dist/token/adapters/CosmWasmTokenAdapter.d.ts +2 -2
  370. package/dist/token/adapters/CosmWasmTokenAdapter.d.ts.map +1 -1
  371. package/dist/token/adapters/CosmosTokenAdapter.d.ts +2 -2
  372. package/dist/token/adapters/CosmosTokenAdapter.d.ts.map +1 -1
  373. package/dist/token/adapters/EvmTokenAdapter.d.ts +4 -4
  374. package/dist/token/adapters/EvmTokenAdapter.d.ts.map +1 -1
  375. package/dist/token/adapters/EvmTokenAdapter.js +3 -2
  376. package/dist/token/adapters/EvmTokenAdapter.js.map +1 -1
  377. package/dist/token/adapters/ITokenAdapter.d.ts +2 -2
  378. package/dist/token/adapters/ITokenAdapter.d.ts.map +1 -1
  379. package/dist/token/adapters/SealevelTokenAdapter.d.ts +5 -5
  380. package/dist/token/adapters/SealevelTokenAdapter.d.ts.map +1 -1
  381. package/dist/token/adapters/SealevelTokenAdapter.js +2 -1
  382. package/dist/token/adapters/SealevelTokenAdapter.js.map +1 -1
  383. package/dist/token/app.d.ts.map +1 -1
  384. package/dist/token/app.js +2 -2
  385. package/dist/token/app.js.map +1 -1
  386. package/dist/token/checker.d.ts +2 -2
  387. package/dist/token/checker.d.ts.map +1 -1
  388. package/dist/token/checker.js +1 -1
  389. package/dist/token/checker.js.map +1 -1
  390. package/dist/token/config.d.ts +4 -44
  391. package/dist/token/config.d.ts.map +1 -1
  392. package/dist/token/config.js +14 -15
  393. package/dist/token/config.js.map +1 -1
  394. package/dist/token/contracts.d.ts +7 -14
  395. package/dist/token/contracts.d.ts.map +1 -1
  396. package/dist/token/contracts.js +8 -8
  397. package/dist/token/contracts.js.map +1 -1
  398. package/dist/token/deploy.d.ts +21 -45
  399. package/dist/token/deploy.d.ts.map +1 -1
  400. package/dist/token/deploy.hardhat-test.js +33 -48
  401. package/dist/token/deploy.hardhat-test.js.map +1 -1
  402. package/dist/token/deploy.js +74 -251
  403. package/dist/token/deploy.js.map +1 -1
  404. package/dist/token/schemas.d.ts +874 -136
  405. package/dist/token/schemas.d.ts.map +1 -1
  406. package/dist/token/schemas.js +29 -19
  407. package/dist/token/schemas.js.map +1 -1
  408. package/dist/token/schemas.test.js +26 -39
  409. package/dist/token/schemas.test.js.map +1 -1
  410. package/dist/token/types.d.ts +2 -1
  411. package/dist/token/types.d.ts.map +1 -1
  412. package/dist/utils/fork.d.ts.map +1 -1
  413. package/dist/utils/fork.js +10 -11
  414. package/dist/utils/fork.js.map +1 -1
  415. package/dist/utils/gnosisSafe.js +46 -0
  416. package/dist/utils/logUtils.d.ts +4 -0
  417. package/dist/utils/logUtils.d.ts.map +1 -0
  418. package/dist/utils/logUtils.js +13 -0
  419. package/dist/utils/logUtils.js.map +1 -0
  420. package/dist/utils/schemas.d.ts +3 -0
  421. package/dist/utils/schemas.d.ts.map +1 -0
  422. package/dist/utils/schemas.js +4 -0
  423. package/dist/utils/schemas.js.map +1 -0
  424. package/package.json +8 -4
  425. package/dist/consts/crud.d.ts.map +0 -1
  426. package/dist/consts/crud.js.map +0 -1
  427. package/dist/core/read.d.ts.map +0 -1
  428. package/dist/core/read.js.map +0 -1
  429. package/dist/crud/AbstractCrudModule.d.ts +0 -21
  430. package/dist/crud/AbstractCrudModule.d.ts.map +0 -1
  431. package/dist/crud/AbstractCrudModule.js.map +0 -1
  432. package/dist/crud/EvmHookModule.d.ts +0 -18
  433. package/dist/crud/EvmHookModule.d.ts.map +0 -1
  434. package/dist/crud/EvmHookModule.js.map +0 -1
  435. package/dist/crud/EvmIsmModule.d.ts +0 -18
  436. package/dist/crud/EvmIsmModule.d.ts.map +0 -1
  437. package/dist/crud/EvmIsmModule.js +0 -28
  438. package/dist/crud/EvmIsmModule.js.map +0 -1
  439. package/dist/hook/read.d.ts.map +0 -1
  440. package/dist/hook/read.js.map +0 -1
  441. package/dist/hook/read.test.d.ts +0 -2
  442. package/dist/hook/read.test.d.ts.map +0 -1
  443. package/dist/hook/read.test.js.map +0 -1
  444. package/dist/ism/read.d.ts.map +0 -1
  445. package/dist/ism/read.js.map +0 -1
  446. package/dist/ism/read.test.d.ts +0 -2
  447. package/dist/ism/read.test.d.ts.map +0 -1
  448. package/dist/ism/read.test.js.map +0 -1
  449. package/dist/token/read.d.ts.map +0 -1
  450. package/dist/token/read.js.map +0 -1
@@ -1,4 +1,284 @@
1
1
  import { z } from 'zod';
2
+ export declare const MailboxClientConfigSchema: z.ZodObject<{
3
+ owner: z.ZodString;
4
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5
+ mailbox: z.ZodString;
6
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
7
+ owner: z.ZodString;
8
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9
+ type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>;
10
+ beneficiary: z.ZodString;
11
+ maxProtocolFee: z.ZodString;
12
+ protocolFee: z.ZodString;
13
+ }, "strip", z.ZodTypeAny, {
14
+ type: import("../index.js").HookType.PROTOCOL_FEE;
15
+ owner: string;
16
+ protocolFee: string;
17
+ beneficiary: string;
18
+ maxProtocolFee: string;
19
+ ownerOverrides?: Record<string, string> | undefined;
20
+ }, {
21
+ type: import("../index.js").HookType.PROTOCOL_FEE;
22
+ owner: string;
23
+ protocolFee: string;
24
+ beneficiary: string;
25
+ maxProtocolFee: string;
26
+ ownerOverrides?: Record<string, string> | undefined;
27
+ }>, z.ZodObject<{
28
+ owner: z.ZodString;
29
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
30
+ paused: z.ZodBoolean;
31
+ type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ type: import("../index.js").HookType.PAUSABLE;
34
+ owner: string;
35
+ paused: boolean;
36
+ ownerOverrides?: Record<string, string> | undefined;
37
+ }, {
38
+ type: import("../index.js").HookType.PAUSABLE;
39
+ owner: string;
40
+ paused: boolean;
41
+ ownerOverrides?: Record<string, string> | undefined;
42
+ }>, z.ZodObject<{
43
+ owner: z.ZodString;
44
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
45
+ type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>;
46
+ nativeBridge: z.ZodString;
47
+ destinationChain: z.ZodString;
48
+ }, "strip", z.ZodTypeAny, {
49
+ type: import("../index.js").HookType.OP_STACK;
50
+ owner: string;
51
+ nativeBridge: string;
52
+ destinationChain: string;
53
+ ownerOverrides?: Record<string, string> | undefined;
54
+ }, {
55
+ type: import("../index.js").HookType.OP_STACK;
56
+ owner: string;
57
+ nativeBridge: string;
58
+ destinationChain: string;
59
+ ownerOverrides?: Record<string, string> | undefined;
60
+ }>, z.ZodObject<{
61
+ type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ type: import("../index.js").HookType.MERKLE_TREE;
64
+ }, {
65
+ type: import("../index.js").HookType.MERKLE_TREE;
66
+ }>, z.ZodObject<{
67
+ owner: z.ZodString;
68
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
69
+ type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>;
70
+ beneficiary: z.ZodString;
71
+ oracleKey: z.ZodString;
72
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
73
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
74
+ gasPrice: z.ZodString;
75
+ tokenExchangeRate: z.ZodString;
76
+ }, "strip", z.ZodTypeAny, {
77
+ gasPrice: string;
78
+ tokenExchangeRate: string;
79
+ }, {
80
+ gasPrice: string;
81
+ tokenExchangeRate: string;
82
+ }>>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
85
+ owner: string;
86
+ beneficiary: string;
87
+ oracleKey: string;
88
+ overhead: Record<string, number>;
89
+ oracleConfig: Record<string, {
90
+ gasPrice: string;
91
+ tokenExchangeRate: string;
92
+ }>;
93
+ ownerOverrides?: Record<string, string> | undefined;
94
+ }, {
95
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
96
+ owner: string;
97
+ beneficiary: string;
98
+ oracleKey: string;
99
+ overhead: Record<string, number>;
100
+ oracleConfig: Record<string, {
101
+ gasPrice: string;
102
+ tokenExchangeRate: string;
103
+ }>;
104
+ ownerOverrides?: Record<string, string> | undefined;
105
+ }>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>]>>;
106
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
107
+ type: z.ZodLiteral<import("../index.js").IsmType.TEST_ISM>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ type: import("../index.js").IsmType.TEST_ISM;
110
+ }, {
111
+ type: import("../index.js").IsmType.TEST_ISM;
112
+ }>, z.ZodObject<{
113
+ type: z.ZodLiteral<import("../index.js").IsmType.OP_STACK>;
114
+ origin: z.ZodString;
115
+ nativeBridge: z.ZodString;
116
+ }, "strip", z.ZodTypeAny, {
117
+ type: import("../index.js").IsmType.OP_STACK;
118
+ origin: string;
119
+ nativeBridge: string;
120
+ }, {
121
+ type: import("../index.js").IsmType.OP_STACK;
122
+ origin: string;
123
+ nativeBridge: string;
124
+ }>, z.ZodIntersection<z.ZodObject<{
125
+ owner: z.ZodString;
126
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
127
+ paused: z.ZodBoolean;
128
+ }, "strip", z.ZodTypeAny, {
129
+ owner: string;
130
+ paused: boolean;
131
+ ownerOverrides?: Record<string, string> | undefined;
132
+ }, {
133
+ owner: string;
134
+ paused: boolean;
135
+ ownerOverrides?: Record<string, string> | undefined;
136
+ }>, z.ZodObject<{
137
+ type: z.ZodLiteral<import("../index.js").IsmType.PAUSABLE>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ type: import("../index.js").IsmType.PAUSABLE;
140
+ }, {
141
+ type: import("../index.js").IsmType.PAUSABLE;
142
+ }>>, z.ZodObject<{
143
+ type: z.ZodLiteral<import("../index.js").IsmType.TRUSTED_RELAYER>;
144
+ relayer: z.ZodString;
145
+ }, "strip", z.ZodTypeAny, {
146
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
147
+ relayer: string;
148
+ }, {
149
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
150
+ relayer: string;
151
+ }>, z.ZodIntersection<z.ZodObject<{
152
+ validators: z.ZodArray<z.ZodString, "many">;
153
+ threshold: z.ZodNumber;
154
+ }, "strip", z.ZodTypeAny, {
155
+ validators: string[];
156
+ threshold: number;
157
+ }, {
158
+ validators: string[];
159
+ threshold: number;
160
+ }>, z.ZodObject<{
161
+ type: z.ZodUnion<[z.ZodLiteral<import("../index.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.MESSAGE_ID_MULTISIG>]>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
164
+ }, {
165
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
166
+ }>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>]>>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ owner: string;
169
+ mailbox: string;
170
+ ownerOverrides?: Record<string, string> | undefined;
171
+ hook?: string | {
172
+ type: import("../index.js").HookType.MERKLE_TREE;
173
+ } | {
174
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
175
+ owner: string;
176
+ beneficiary: string;
177
+ oracleKey: string;
178
+ overhead: Record<string, number>;
179
+ oracleConfig: Record<string, {
180
+ gasPrice: string;
181
+ tokenExchangeRate: string;
182
+ }>;
183
+ ownerOverrides?: Record<string, string> | undefined;
184
+ } | {
185
+ type: import("../index.js").HookType.PROTOCOL_FEE;
186
+ owner: string;
187
+ protocolFee: string;
188
+ beneficiary: string;
189
+ maxProtocolFee: string;
190
+ ownerOverrides?: Record<string, string> | undefined;
191
+ } | {
192
+ type: import("../index.js").HookType.PAUSABLE;
193
+ owner: string;
194
+ paused: boolean;
195
+ ownerOverrides?: Record<string, string> | undefined;
196
+ } | {
197
+ type: import("../index.js").HookType.OP_STACK;
198
+ owner: string;
199
+ nativeBridge: string;
200
+ destinationChain: string;
201
+ ownerOverrides?: Record<string, string> | undefined;
202
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
203
+ interchainSecurityModule?: string | {
204
+ type: import("../index.js").IsmType.TEST_ISM;
205
+ } | {
206
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
207
+ relayer: string;
208
+ } | {
209
+ type: import("../index.js").IsmType.OP_STACK;
210
+ origin: string;
211
+ nativeBridge: string;
212
+ } | import("../index.js").RoutingIsmConfig | ({
213
+ owner: string;
214
+ paused: boolean;
215
+ ownerOverrides?: Record<string, string> | undefined;
216
+ } & {
217
+ type: import("../index.js").IsmType.PAUSABLE;
218
+ }) | ({
219
+ validators: string[];
220
+ threshold: number;
221
+ } & {
222
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
223
+ }) | import("../index.js").AggregationIsmConfig | undefined;
224
+ }, {
225
+ owner: string;
226
+ mailbox: string;
227
+ ownerOverrides?: Record<string, string> | undefined;
228
+ hook?: string | {
229
+ type: import("../index.js").HookType.MERKLE_TREE;
230
+ } | {
231
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
232
+ owner: string;
233
+ beneficiary: string;
234
+ oracleKey: string;
235
+ overhead: Record<string, number>;
236
+ oracleConfig: Record<string, {
237
+ gasPrice: string;
238
+ tokenExchangeRate: string;
239
+ }>;
240
+ ownerOverrides?: Record<string, string> | undefined;
241
+ } | {
242
+ type: import("../index.js").HookType.PROTOCOL_FEE;
243
+ owner: string;
244
+ protocolFee: string;
245
+ beneficiary: string;
246
+ maxProtocolFee: string;
247
+ ownerOverrides?: Record<string, string> | undefined;
248
+ } | {
249
+ type: import("../index.js").HookType.PAUSABLE;
250
+ owner: string;
251
+ paused: boolean;
252
+ ownerOverrides?: Record<string, string> | undefined;
253
+ } | {
254
+ type: import("../index.js").HookType.OP_STACK;
255
+ owner: string;
256
+ nativeBridge: string;
257
+ destinationChain: string;
258
+ ownerOverrides?: Record<string, string> | undefined;
259
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
260
+ interchainSecurityModule?: string | {
261
+ type: import("../index.js").IsmType.TEST_ISM;
262
+ } | {
263
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
264
+ relayer: string;
265
+ } | {
266
+ type: import("../index.js").IsmType.OP_STACK;
267
+ origin: string;
268
+ nativeBridge: string;
269
+ } | import("../index.js").RoutingIsmConfig | ({
270
+ owner: string;
271
+ paused: boolean;
272
+ ownerOverrides?: Record<string, string> | undefined;
273
+ } & {
274
+ type: import("../index.js").IsmType.PAUSABLE;
275
+ }) | ({
276
+ validators: string[];
277
+ threshold: number;
278
+ } & {
279
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
280
+ }) | import("../index.js").AggregationIsmConfig | undefined;
281
+ }>;
2
282
  export declare const ForeignDeploymentConfigSchema: z.ZodObject<{
3
283
  foreignDeployment: z.ZodOptional<z.ZodString>;
4
284
  }, "strip", z.ZodTypeAny, {
@@ -6,66 +286,573 @@ export declare const ForeignDeploymentConfigSchema: z.ZodObject<{
6
286
  }, {
7
287
  foreignDeployment?: string | undefined;
8
288
  }>;
9
- export declare const MailboxClientConfigSchema: z.ZodObject<{
289
+ export declare const RouterConfigSchema: z.ZodObject<{
290
+ owner: z.ZodString;
291
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10
292
  mailbox: z.ZodString;
11
- hook: z.ZodOptional<z.ZodString>;
12
- interchainSecurityModule: z.ZodOptional<z.ZodType<import("../index.js").IsmConfig, z.ZodTypeDef, import("../index.js").IsmConfig>>;
293
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
294
+ owner: z.ZodString;
295
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
296
+ type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>;
297
+ beneficiary: z.ZodString;
298
+ maxProtocolFee: z.ZodString;
299
+ protocolFee: z.ZodString;
300
+ }, "strip", z.ZodTypeAny, {
301
+ type: import("../index.js").HookType.PROTOCOL_FEE;
302
+ owner: string;
303
+ protocolFee: string;
304
+ beneficiary: string;
305
+ maxProtocolFee: string;
306
+ ownerOverrides?: Record<string, string> | undefined;
307
+ }, {
308
+ type: import("../index.js").HookType.PROTOCOL_FEE;
309
+ owner: string;
310
+ protocolFee: string;
311
+ beneficiary: string;
312
+ maxProtocolFee: string;
313
+ ownerOverrides?: Record<string, string> | undefined;
314
+ }>, z.ZodObject<{
315
+ owner: z.ZodString;
316
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
317
+ paused: z.ZodBoolean;
318
+ type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>;
319
+ }, "strip", z.ZodTypeAny, {
320
+ type: import("../index.js").HookType.PAUSABLE;
321
+ owner: string;
322
+ paused: boolean;
323
+ ownerOverrides?: Record<string, string> | undefined;
324
+ }, {
325
+ type: import("../index.js").HookType.PAUSABLE;
326
+ owner: string;
327
+ paused: boolean;
328
+ ownerOverrides?: Record<string, string> | undefined;
329
+ }>, z.ZodObject<{
330
+ owner: z.ZodString;
331
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
332
+ type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>;
333
+ nativeBridge: z.ZodString;
334
+ destinationChain: z.ZodString;
335
+ }, "strip", z.ZodTypeAny, {
336
+ type: import("../index.js").HookType.OP_STACK;
337
+ owner: string;
338
+ nativeBridge: string;
339
+ destinationChain: string;
340
+ ownerOverrides?: Record<string, string> | undefined;
341
+ }, {
342
+ type: import("../index.js").HookType.OP_STACK;
343
+ owner: string;
344
+ nativeBridge: string;
345
+ destinationChain: string;
346
+ ownerOverrides?: Record<string, string> | undefined;
347
+ }>, z.ZodObject<{
348
+ type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ type: import("../index.js").HookType.MERKLE_TREE;
351
+ }, {
352
+ type: import("../index.js").HookType.MERKLE_TREE;
353
+ }>, z.ZodObject<{
354
+ owner: z.ZodString;
355
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
356
+ type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>;
357
+ beneficiary: z.ZodString;
358
+ oracleKey: z.ZodString;
359
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
360
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
361
+ gasPrice: z.ZodString;
362
+ tokenExchangeRate: z.ZodString;
363
+ }, "strip", z.ZodTypeAny, {
364
+ gasPrice: string;
365
+ tokenExchangeRate: string;
366
+ }, {
367
+ gasPrice: string;
368
+ tokenExchangeRate: string;
369
+ }>>;
370
+ }, "strip", z.ZodTypeAny, {
371
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
372
+ owner: string;
373
+ beneficiary: string;
374
+ oracleKey: string;
375
+ overhead: Record<string, number>;
376
+ oracleConfig: Record<string, {
377
+ gasPrice: string;
378
+ tokenExchangeRate: string;
379
+ }>;
380
+ ownerOverrides?: Record<string, string> | undefined;
381
+ }, {
382
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
383
+ owner: string;
384
+ beneficiary: string;
385
+ oracleKey: string;
386
+ overhead: Record<string, number>;
387
+ oracleConfig: Record<string, {
388
+ gasPrice: string;
389
+ tokenExchangeRate: string;
390
+ }>;
391
+ ownerOverrides?: Record<string, string> | undefined;
392
+ }>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>]>>;
393
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
394
+ type: z.ZodLiteral<import("../index.js").IsmType.TEST_ISM>;
395
+ }, "strip", z.ZodTypeAny, {
396
+ type: import("../index.js").IsmType.TEST_ISM;
397
+ }, {
398
+ type: import("../index.js").IsmType.TEST_ISM;
399
+ }>, z.ZodObject<{
400
+ type: z.ZodLiteral<import("../index.js").IsmType.OP_STACK>;
401
+ origin: z.ZodString;
402
+ nativeBridge: z.ZodString;
403
+ }, "strip", z.ZodTypeAny, {
404
+ type: import("../index.js").IsmType.OP_STACK;
405
+ origin: string;
406
+ nativeBridge: string;
407
+ }, {
408
+ type: import("../index.js").IsmType.OP_STACK;
409
+ origin: string;
410
+ nativeBridge: string;
411
+ }>, z.ZodIntersection<z.ZodObject<{
412
+ owner: z.ZodString;
413
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
414
+ paused: z.ZodBoolean;
415
+ }, "strip", z.ZodTypeAny, {
416
+ owner: string;
417
+ paused: boolean;
418
+ ownerOverrides?: Record<string, string> | undefined;
419
+ }, {
420
+ owner: string;
421
+ paused: boolean;
422
+ ownerOverrides?: Record<string, string> | undefined;
423
+ }>, z.ZodObject<{
424
+ type: z.ZodLiteral<import("../index.js").IsmType.PAUSABLE>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ type: import("../index.js").IsmType.PAUSABLE;
427
+ }, {
428
+ type: import("../index.js").IsmType.PAUSABLE;
429
+ }>>, z.ZodObject<{
430
+ type: z.ZodLiteral<import("../index.js").IsmType.TRUSTED_RELAYER>;
431
+ relayer: z.ZodString;
432
+ }, "strip", z.ZodTypeAny, {
433
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
434
+ relayer: string;
435
+ }, {
436
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
437
+ relayer: string;
438
+ }>, z.ZodIntersection<z.ZodObject<{
439
+ validators: z.ZodArray<z.ZodString, "many">;
440
+ threshold: z.ZodNumber;
441
+ }, "strip", z.ZodTypeAny, {
442
+ validators: string[];
443
+ threshold: number;
444
+ }, {
445
+ validators: string[];
446
+ threshold: number;
447
+ }>, z.ZodObject<{
448
+ type: z.ZodUnion<[z.ZodLiteral<import("../index.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.MESSAGE_ID_MULTISIG>]>;
449
+ }, "strip", z.ZodTypeAny, {
450
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
451
+ }, {
452
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
453
+ }>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>]>>;
454
+ foreignDeployment: z.ZodOptional<z.ZodString>;
13
455
  }, "strip", z.ZodTypeAny, {
456
+ owner: string;
14
457
  mailbox: string;
15
- hook?: string | undefined;
16
- interchainSecurityModule?: import("../index.js").IsmConfig | undefined;
458
+ ownerOverrides?: Record<string, string> | undefined;
459
+ hook?: string | {
460
+ type: import("../index.js").HookType.MERKLE_TREE;
461
+ } | {
462
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
463
+ owner: string;
464
+ beneficiary: string;
465
+ oracleKey: string;
466
+ overhead: Record<string, number>;
467
+ oracleConfig: Record<string, {
468
+ gasPrice: string;
469
+ tokenExchangeRate: string;
470
+ }>;
471
+ ownerOverrides?: Record<string, string> | undefined;
472
+ } | {
473
+ type: import("../index.js").HookType.PROTOCOL_FEE;
474
+ owner: string;
475
+ protocolFee: string;
476
+ beneficiary: string;
477
+ maxProtocolFee: string;
478
+ ownerOverrides?: Record<string, string> | undefined;
479
+ } | {
480
+ type: import("../index.js").HookType.PAUSABLE;
481
+ owner: string;
482
+ paused: boolean;
483
+ ownerOverrides?: Record<string, string> | undefined;
484
+ } | {
485
+ type: import("../index.js").HookType.OP_STACK;
486
+ owner: string;
487
+ nativeBridge: string;
488
+ destinationChain: string;
489
+ ownerOverrides?: Record<string, string> | undefined;
490
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
491
+ interchainSecurityModule?: string | {
492
+ type: import("../index.js").IsmType.TEST_ISM;
493
+ } | {
494
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
495
+ relayer: string;
496
+ } | {
497
+ type: import("../index.js").IsmType.OP_STACK;
498
+ origin: string;
499
+ nativeBridge: string;
500
+ } | import("../index.js").RoutingIsmConfig | ({
501
+ owner: string;
502
+ paused: boolean;
503
+ ownerOverrides?: Record<string, string> | undefined;
504
+ } & {
505
+ type: import("../index.js").IsmType.PAUSABLE;
506
+ }) | ({
507
+ validators: string[];
508
+ threshold: number;
509
+ } & {
510
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
511
+ }) | import("../index.js").AggregationIsmConfig | undefined;
512
+ foreignDeployment?: string | undefined;
17
513
  }, {
514
+ owner: string;
18
515
  mailbox: string;
19
- hook?: string | undefined;
20
- interchainSecurityModule?: import("../index.js").IsmConfig | undefined;
516
+ ownerOverrides?: Record<string, string> | undefined;
517
+ hook?: string | {
518
+ type: import("../index.js").HookType.MERKLE_TREE;
519
+ } | {
520
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
521
+ owner: string;
522
+ beneficiary: string;
523
+ oracleKey: string;
524
+ overhead: Record<string, number>;
525
+ oracleConfig: Record<string, {
526
+ gasPrice: string;
527
+ tokenExchangeRate: string;
528
+ }>;
529
+ ownerOverrides?: Record<string, string> | undefined;
530
+ } | {
531
+ type: import("../index.js").HookType.PROTOCOL_FEE;
532
+ owner: string;
533
+ protocolFee: string;
534
+ beneficiary: string;
535
+ maxProtocolFee: string;
536
+ ownerOverrides?: Record<string, string> | undefined;
537
+ } | {
538
+ type: import("../index.js").HookType.PAUSABLE;
539
+ owner: string;
540
+ paused: boolean;
541
+ ownerOverrides?: Record<string, string> | undefined;
542
+ } | {
543
+ type: import("../index.js").HookType.OP_STACK;
544
+ owner: string;
545
+ nativeBridge: string;
546
+ destinationChain: string;
547
+ ownerOverrides?: Record<string, string> | undefined;
548
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
549
+ interchainSecurityModule?: string | {
550
+ type: import("../index.js").IsmType.TEST_ISM;
551
+ } | {
552
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
553
+ relayer: string;
554
+ } | {
555
+ type: import("../index.js").IsmType.OP_STACK;
556
+ origin: string;
557
+ nativeBridge: string;
558
+ } | import("../index.js").RoutingIsmConfig | ({
559
+ owner: string;
560
+ paused: boolean;
561
+ ownerOverrides?: Record<string, string> | undefined;
562
+ } & {
563
+ type: import("../index.js").IsmType.PAUSABLE;
564
+ }) | ({
565
+ validators: string[];
566
+ threshold: number;
567
+ } & {
568
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
569
+ }) | import("../index.js").AggregationIsmConfig | undefined;
570
+ foreignDeployment?: string | undefined;
21
571
  }>;
22
- export declare const routerConfigSchema: z.ZodObject<{
23
- owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
24
- origin: z.ZodString;
572
+ export declare const GasRouterConfigSchema: z.ZodObject<{
573
+ owner: z.ZodString;
574
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
575
+ mailbox: z.ZodString;
576
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
25
577
  owner: z.ZodString;
26
- localRouter: z.ZodOptional<z.ZodString>;
27
- routerOverride: z.ZodOptional<z.ZodString>;
28
- ismOverride: z.ZodOptional<z.ZodString>;
578
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
579
+ type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>;
580
+ beneficiary: z.ZodString;
581
+ maxProtocolFee: z.ZodString;
582
+ protocolFee: z.ZodString;
29
583
  }, "strip", z.ZodTypeAny, {
584
+ type: import("../index.js").HookType.PROTOCOL_FEE;
30
585
  owner: string;
31
- origin: string;
32
- localRouter?: string | undefined;
33
- routerOverride?: string | undefined;
34
- ismOverride?: string | undefined;
586
+ protocolFee: string;
587
+ beneficiary: string;
588
+ maxProtocolFee: string;
589
+ ownerOverrides?: Record<string, string> | undefined;
590
+ }, {
591
+ type: import("../index.js").HookType.PROTOCOL_FEE;
592
+ owner: string;
593
+ protocolFee: string;
594
+ beneficiary: string;
595
+ maxProtocolFee: string;
596
+ ownerOverrides?: Record<string, string> | undefined;
597
+ }>, z.ZodObject<{
598
+ owner: z.ZodString;
599
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
600
+ paused: z.ZodBoolean;
601
+ type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>;
602
+ }, "strip", z.ZodTypeAny, {
603
+ type: import("../index.js").HookType.PAUSABLE;
604
+ owner: string;
605
+ paused: boolean;
606
+ ownerOverrides?: Record<string, string> | undefined;
35
607
  }, {
608
+ type: import("../index.js").HookType.PAUSABLE;
36
609
  owner: string;
610
+ paused: boolean;
611
+ ownerOverrides?: Record<string, string> | undefined;
612
+ }>, z.ZodObject<{
613
+ owner: z.ZodString;
614
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
615
+ type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>;
616
+ nativeBridge: z.ZodString;
617
+ destinationChain: z.ZodString;
618
+ }, "strip", z.ZodTypeAny, {
619
+ type: import("../index.js").HookType.OP_STACK;
620
+ owner: string;
621
+ nativeBridge: string;
622
+ destinationChain: string;
623
+ ownerOverrides?: Record<string, string> | undefined;
624
+ }, {
625
+ type: import("../index.js").HookType.OP_STACK;
626
+ owner: string;
627
+ nativeBridge: string;
628
+ destinationChain: string;
629
+ ownerOverrides?: Record<string, string> | undefined;
630
+ }>, z.ZodObject<{
631
+ type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>;
632
+ }, "strip", z.ZodTypeAny, {
633
+ type: import("../index.js").HookType.MERKLE_TREE;
634
+ }, {
635
+ type: import("../index.js").HookType.MERKLE_TREE;
636
+ }>, z.ZodObject<{
637
+ owner: z.ZodString;
638
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
639
+ type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>;
640
+ beneficiary: z.ZodString;
641
+ oracleKey: z.ZodString;
642
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
643
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
644
+ gasPrice: z.ZodString;
645
+ tokenExchangeRate: z.ZodString;
646
+ }, "strip", z.ZodTypeAny, {
647
+ gasPrice: string;
648
+ tokenExchangeRate: string;
649
+ }, {
650
+ gasPrice: string;
651
+ tokenExchangeRate: string;
652
+ }>>;
653
+ }, "strip", z.ZodTypeAny, {
654
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
655
+ owner: string;
656
+ beneficiary: string;
657
+ oracleKey: string;
658
+ overhead: Record<string, number>;
659
+ oracleConfig: Record<string, {
660
+ gasPrice: string;
661
+ tokenExchangeRate: string;
662
+ }>;
663
+ ownerOverrides?: Record<string, string> | undefined;
664
+ }, {
665
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
666
+ owner: string;
667
+ beneficiary: string;
668
+ oracleKey: string;
669
+ overhead: Record<string, number>;
670
+ oracleConfig: Record<string, {
671
+ gasPrice: string;
672
+ tokenExchangeRate: string;
673
+ }>;
674
+ ownerOverrides?: Record<string, string> | undefined;
675
+ }>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>]>>;
676
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
677
+ type: z.ZodLiteral<import("../index.js").IsmType.TEST_ISM>;
678
+ }, "strip", z.ZodTypeAny, {
679
+ type: import("../index.js").IsmType.TEST_ISM;
680
+ }, {
681
+ type: import("../index.js").IsmType.TEST_ISM;
682
+ }>, z.ZodObject<{
683
+ type: z.ZodLiteral<import("../index.js").IsmType.OP_STACK>;
684
+ origin: z.ZodString;
685
+ nativeBridge: z.ZodString;
686
+ }, "strip", z.ZodTypeAny, {
687
+ type: import("../index.js").IsmType.OP_STACK;
37
688
  origin: string;
38
- localRouter?: string | undefined;
39
- routerOverride?: string | undefined;
40
- ismOverride?: string | undefined;
41
- }>]>>;
42
- hook: z.ZodOptional<z.ZodOptional<z.ZodString>>;
43
- interchainSecurityModule: z.ZodOptional<z.ZodOptional<z.ZodType<import("../index.js").IsmConfig, z.ZodTypeDef, import("../index.js").IsmConfig>>>;
44
- mailbox: z.ZodOptional<z.ZodString>;
45
- foreignDeployment: z.ZodOptional<z.ZodOptional<z.ZodString>>;
689
+ nativeBridge: string;
690
+ }, {
691
+ type: import("../index.js").IsmType.OP_STACK;
692
+ origin: string;
693
+ nativeBridge: string;
694
+ }>, z.ZodIntersection<z.ZodObject<{
695
+ owner: z.ZodString;
696
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
697
+ paused: z.ZodBoolean;
698
+ }, "strip", z.ZodTypeAny, {
699
+ owner: string;
700
+ paused: boolean;
701
+ ownerOverrides?: Record<string, string> | undefined;
702
+ }, {
703
+ owner: string;
704
+ paused: boolean;
705
+ ownerOverrides?: Record<string, string> | undefined;
706
+ }>, z.ZodObject<{
707
+ type: z.ZodLiteral<import("../index.js").IsmType.PAUSABLE>;
708
+ }, "strip", z.ZodTypeAny, {
709
+ type: import("../index.js").IsmType.PAUSABLE;
710
+ }, {
711
+ type: import("../index.js").IsmType.PAUSABLE;
712
+ }>>, z.ZodObject<{
713
+ type: z.ZodLiteral<import("../index.js").IsmType.TRUSTED_RELAYER>;
714
+ relayer: z.ZodString;
715
+ }, "strip", z.ZodTypeAny, {
716
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
717
+ relayer: string;
718
+ }, {
719
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
720
+ relayer: string;
721
+ }>, z.ZodIntersection<z.ZodObject<{
722
+ validators: z.ZodArray<z.ZodString, "many">;
723
+ threshold: z.ZodNumber;
724
+ }, "strip", z.ZodTypeAny, {
725
+ validators: string[];
726
+ threshold: number;
727
+ }, {
728
+ validators: string[];
729
+ threshold: number;
730
+ }>, z.ZodObject<{
731
+ type: z.ZodUnion<[z.ZodLiteral<import("../index.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.MESSAGE_ID_MULTISIG>]>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
734
+ }, {
735
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
736
+ }>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>]>>;
737
+ foreignDeployment: z.ZodOptional<z.ZodString>;
738
+ gas: z.ZodOptional<z.ZodNumber>;
46
739
  }, "strip", z.ZodTypeAny, {
47
- owner?: string | {
740
+ owner: string;
741
+ mailbox: string;
742
+ ownerOverrides?: Record<string, string> | undefined;
743
+ hook?: string | {
744
+ type: import("../index.js").HookType.MERKLE_TREE;
745
+ } | {
746
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
747
+ owner: string;
748
+ beneficiary: string;
749
+ oracleKey: string;
750
+ overhead: Record<string, number>;
751
+ oracleConfig: Record<string, {
752
+ gasPrice: string;
753
+ tokenExchangeRate: string;
754
+ }>;
755
+ ownerOverrides?: Record<string, string> | undefined;
756
+ } | {
757
+ type: import("../index.js").HookType.PROTOCOL_FEE;
758
+ owner: string;
759
+ protocolFee: string;
760
+ beneficiary: string;
761
+ maxProtocolFee: string;
762
+ ownerOverrides?: Record<string, string> | undefined;
763
+ } | {
764
+ type: import("../index.js").HookType.PAUSABLE;
48
765
  owner: string;
766
+ paused: boolean;
767
+ ownerOverrides?: Record<string, string> | undefined;
768
+ } | {
769
+ type: import("../index.js").HookType.OP_STACK;
770
+ owner: string;
771
+ nativeBridge: string;
772
+ destinationChain: string;
773
+ ownerOverrides?: Record<string, string> | undefined;
774
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
775
+ interchainSecurityModule?: string | {
776
+ type: import("../index.js").IsmType.TEST_ISM;
777
+ } | {
778
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
779
+ relayer: string;
780
+ } | {
781
+ type: import("../index.js").IsmType.OP_STACK;
49
782
  origin: string;
50
- localRouter?: string | undefined;
51
- routerOverride?: string | undefined;
52
- ismOverride?: string | undefined;
53
- } | undefined;
54
- hook?: string | undefined;
55
- interchainSecurityModule?: import("../index.js").IsmConfig | undefined;
56
- mailbox?: string | undefined;
783
+ nativeBridge: string;
784
+ } | import("../index.js").RoutingIsmConfig | ({
785
+ owner: string;
786
+ paused: boolean;
787
+ ownerOverrides?: Record<string, string> | undefined;
788
+ } & {
789
+ type: import("../index.js").IsmType.PAUSABLE;
790
+ }) | ({
791
+ validators: string[];
792
+ threshold: number;
793
+ } & {
794
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
795
+ }) | import("../index.js").AggregationIsmConfig | undefined;
57
796
  foreignDeployment?: string | undefined;
797
+ gas?: number | undefined;
58
798
  }, {
59
- owner?: string | {
799
+ owner: string;
800
+ mailbox: string;
801
+ ownerOverrides?: Record<string, string> | undefined;
802
+ hook?: string | {
803
+ type: import("../index.js").HookType.MERKLE_TREE;
804
+ } | {
805
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
806
+ owner: string;
807
+ beneficiary: string;
808
+ oracleKey: string;
809
+ overhead: Record<string, number>;
810
+ oracleConfig: Record<string, {
811
+ gasPrice: string;
812
+ tokenExchangeRate: string;
813
+ }>;
814
+ ownerOverrides?: Record<string, string> | undefined;
815
+ } | {
816
+ type: import("../index.js").HookType.PROTOCOL_FEE;
817
+ owner: string;
818
+ protocolFee: string;
819
+ beneficiary: string;
820
+ maxProtocolFee: string;
821
+ ownerOverrides?: Record<string, string> | undefined;
822
+ } | {
823
+ type: import("../index.js").HookType.PAUSABLE;
60
824
  owner: string;
825
+ paused: boolean;
826
+ ownerOverrides?: Record<string, string> | undefined;
827
+ } | {
828
+ type: import("../index.js").HookType.OP_STACK;
829
+ owner: string;
830
+ nativeBridge: string;
831
+ destinationChain: string;
832
+ ownerOverrides?: Record<string, string> | undefined;
833
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
834
+ interchainSecurityModule?: string | {
835
+ type: import("../index.js").IsmType.TEST_ISM;
836
+ } | {
837
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
838
+ relayer: string;
839
+ } | {
840
+ type: import("../index.js").IsmType.OP_STACK;
61
841
  origin: string;
62
- localRouter?: string | undefined;
63
- routerOverride?: string | undefined;
64
- ismOverride?: string | undefined;
65
- } | undefined;
66
- hook?: string | undefined;
67
- interchainSecurityModule?: import("../index.js").IsmConfig | undefined;
68
- mailbox?: string | undefined;
842
+ nativeBridge: string;
843
+ } | import("../index.js").RoutingIsmConfig | ({
844
+ owner: string;
845
+ paused: boolean;
846
+ ownerOverrides?: Record<string, string> | undefined;
847
+ } & {
848
+ type: import("../index.js").IsmType.PAUSABLE;
849
+ }) | ({
850
+ validators: string[];
851
+ threshold: number;
852
+ } & {
853
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
854
+ }) | import("../index.js").AggregationIsmConfig | undefined;
69
855
  foreignDeployment?: string | undefined;
856
+ gas?: number | undefined;
70
857
  }>;
71
858
  //# sourceMappingURL=schemas.d.ts.map