@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
@@ -4,63 +4,62 @@ export declare const TokenMetadataSchema: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  symbol: z.ZodString;
6
6
  totalSupply: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
7
+ decimals: z.ZodOptional<z.ZodNumber>;
8
+ scale: z.ZodOptional<z.ZodNumber>;
9
+ isNft: z.ZodOptional<z.ZodBoolean>;
7
10
  }, "strip", z.ZodTypeAny, {
8
11
  symbol: string;
9
12
  name: string;
10
13
  totalSupply: string | number;
14
+ decimals?: number | undefined;
15
+ scale?: number | undefined;
16
+ isNft?: boolean | undefined;
11
17
  }, {
12
18
  symbol: string;
13
19
  name: string;
14
20
  totalSupply: string | number;
15
- }>;
16
- export declare const TokenDecimalsSchema: z.ZodObject<{
17
- decimals: z.ZodNumber;
18
- scale: z.ZodOptional<z.ZodNumber>;
19
- }, "strip", z.ZodTypeAny, {
20
- decimals: number;
21
- scale?: number | undefined;
22
- }, {
23
- decimals: number;
21
+ decimals?: number | undefined;
24
22
  scale?: number | undefined;
23
+ isNft?: boolean | undefined;
25
24
  }>;
26
- export declare const ERC20MetadataSchema: z.ZodObject<{
25
+ export declare const CollateralConfigSchema: z.ZodObject<{
27
26
  symbol: z.ZodOptional<z.ZodString>;
28
27
  name: z.ZodOptional<z.ZodString>;
28
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
29
29
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
30
- decimals: z.ZodOptional<z.ZodNumber>;
31
30
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
31
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
32
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.XERC20, TokenType.XERC20Lockbox, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
33
+ token: z.ZodString;
32
34
  }, "strip", z.ZodTypeAny, {
35
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
36
+ token: string;
33
37
  symbol?: string | undefined;
34
38
  name?: string | undefined;
35
- totalSupply?: string | number | undefined;
36
39
  decimals?: number | undefined;
40
+ totalSupply?: string | number | undefined;
37
41
  scale?: number | undefined;
42
+ isNft?: boolean | undefined;
38
43
  }, {
44
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
45
+ token: string;
39
46
  symbol?: string | undefined;
40
47
  name?: string | undefined;
41
- totalSupply?: string | number | undefined;
42
48
  decimals?: number | undefined;
49
+ totalSupply?: string | number | undefined;
43
50
  scale?: number | undefined;
44
- }>;
45
- export declare const ERC721MetadataSchema: z.ZodObject<{
46
- isNft: z.ZodOptional<z.ZodBoolean>;
47
- }, "strip", z.ZodTypeAny, {
48
- isNft?: boolean | undefined;
49
- }, {
50
51
  isNft?: boolean | undefined;
51
52
  }>;
52
- export declare const CollateralConfigSchema: z.ZodObject<{
53
+ export declare const NativeConfigSchema: z.ZodObject<{
53
54
  symbol: z.ZodOptional<z.ZodString>;
54
55
  name: z.ZodOptional<z.ZodString>;
55
- decimals: z.ZodOptional<z.ZodNumber>;
56
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
56
57
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
57
58
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
58
- isNft: z.ZodOptional<z.ZodBoolean>;
59
- type: z.ZodEnum<[TokenType.collateral, TokenType.collateralUri, TokenType.fastCollateral, TokenType.collateralVault]>;
60
- token: z.ZodString;
59
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
60
+ type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
61
61
  }, "strip", z.ZodTypeAny, {
62
- type: TokenType.collateral | TokenType.collateralVault | TokenType.fastCollateral | TokenType.collateralUri;
63
- token: string;
62
+ type: TokenType.native | TokenType.nativeScaled;
64
63
  symbol?: string | undefined;
65
64
  name?: string | undefined;
66
65
  decimals?: number | undefined;
@@ -68,8 +67,7 @@ export declare const CollateralConfigSchema: z.ZodObject<{
68
67
  scale?: number | undefined;
69
68
  isNft?: boolean | undefined;
70
69
  }, {
71
- type: TokenType.collateral | TokenType.collateralVault | TokenType.fastCollateral | TokenType.collateralUri;
72
- token: string;
70
+ type: TokenType.native | TokenType.nativeScaled;
73
71
  symbol?: string | undefined;
74
72
  name?: string | undefined;
75
73
  decimals?: number | undefined;
@@ -77,34 +75,30 @@ export declare const CollateralConfigSchema: z.ZodObject<{
77
75
  scale?: number | undefined;
78
76
  isNft?: boolean | undefined;
79
77
  }>;
80
- export declare const NativeConfigSchema: z.ZodObject<{
81
- decimals: z.ZodOptional<z.ZodNumber>;
82
- scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
83
- type: z.ZodEnum<[TokenType.native]>;
84
- }, "strip", z.ZodTypeAny, {
85
- type: TokenType.native;
86
- decimals?: number | undefined;
87
- scale?: number | undefined;
88
- }, {
89
- type: TokenType.native;
90
- decimals?: number | undefined;
91
- scale?: number | undefined;
92
- }>;
93
78
  export declare const SyntheticConfigSchema: z.ZodObject<{
94
79
  symbol: z.ZodOptional<z.ZodString>;
95
80
  name: z.ZodOptional<z.ZodString>;
81
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
96
82
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
83
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
84
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
97
85
  type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri, TokenType.fastSynthetic]>;
98
86
  }, "strip", z.ZodTypeAny, {
99
87
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
100
88
  symbol?: string | undefined;
101
89
  name?: string | undefined;
90
+ decimals?: number | undefined;
102
91
  totalSupply?: string | number | undefined;
92
+ scale?: number | undefined;
93
+ isNft?: boolean | undefined;
103
94
  }, {
104
95
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
105
96
  symbol?: string | undefined;
106
97
  name?: string | undefined;
98
+ decimals?: number | undefined;
107
99
  totalSupply?: string | number | undefined;
100
+ scale?: number | undefined;
101
+ isNft?: boolean | undefined;
108
102
  }>;
109
103
  /**
110
104
  * @remarks
@@ -112,28 +106,40 @@ export declare const SyntheticConfigSchema: z.ZodObject<{
112
106
  * It uses the 'type' key to pick from the array of schemas to validate
113
107
  */
114
108
  export declare const TokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
115
- decimals: z.ZodOptional<z.ZodNumber>;
109
+ symbol: z.ZodOptional<z.ZodString>;
110
+ name: z.ZodOptional<z.ZodString>;
111
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
112
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
116
113
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
117
- type: z.ZodEnum<[TokenType.native]>;
114
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
115
+ type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
118
116
  }, "strip", z.ZodTypeAny, {
119
- type: TokenType.native;
117
+ type: TokenType.native | TokenType.nativeScaled;
118
+ symbol?: string | undefined;
119
+ name?: string | undefined;
120
120
  decimals?: number | undefined;
121
+ totalSupply?: string | number | undefined;
121
122
  scale?: number | undefined;
123
+ isNft?: boolean | undefined;
122
124
  }, {
123
- type: TokenType.native;
125
+ type: TokenType.native | TokenType.nativeScaled;
126
+ symbol?: string | undefined;
127
+ name?: string | undefined;
124
128
  decimals?: number | undefined;
129
+ totalSupply?: string | number | undefined;
125
130
  scale?: number | undefined;
131
+ isNft?: boolean | undefined;
126
132
  }>, z.ZodObject<{
127
133
  symbol: z.ZodOptional<z.ZodString>;
128
134
  name: z.ZodOptional<z.ZodString>;
129
- decimals: z.ZodOptional<z.ZodNumber>;
135
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
130
136
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
131
137
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
132
- isNft: z.ZodOptional<z.ZodBoolean>;
133
- type: z.ZodEnum<[TokenType.collateral, TokenType.collateralUri, TokenType.fastCollateral, TokenType.collateralVault]>;
138
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
139
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.XERC20, TokenType.XERC20Lockbox, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
134
140
  token: z.ZodString;
135
141
  }, "strip", z.ZodTypeAny, {
136
- type: TokenType.collateral | TokenType.collateralVault | TokenType.fastCollateral | TokenType.collateralUri;
142
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
137
143
  token: string;
138
144
  symbol?: string | undefined;
139
145
  name?: string | undefined;
@@ -142,7 +148,7 @@ export declare const TokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
142
148
  scale?: number | undefined;
143
149
  isNft?: boolean | undefined;
144
150
  }, {
145
- type: TokenType.collateral | TokenType.collateralVault | TokenType.fastCollateral | TokenType.collateralUri;
151
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
146
152
  token: string;
147
153
  symbol?: string | undefined;
148
154
  name?: string | undefined;
@@ -153,42 +159,63 @@ export declare const TokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
153
159
  }>, z.ZodObject<{
154
160
  symbol: z.ZodOptional<z.ZodString>;
155
161
  name: z.ZodOptional<z.ZodString>;
162
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
156
163
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
164
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
165
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
157
166
  type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri, TokenType.fastSynthetic]>;
158
167
  }, "strip", z.ZodTypeAny, {
159
168
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
160
169
  symbol?: string | undefined;
161
170
  name?: string | undefined;
171
+ decimals?: number | undefined;
162
172
  totalSupply?: string | number | undefined;
173
+ scale?: number | undefined;
174
+ isNft?: boolean | undefined;
163
175
  }, {
164
176
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
165
177
  symbol?: string | undefined;
166
178
  name?: string | undefined;
179
+ decimals?: number | undefined;
167
180
  totalSupply?: string | number | undefined;
181
+ scale?: number | undefined;
182
+ isNft?: boolean | undefined;
168
183
  }>]>;
169
184
  export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
170
- decimals: z.ZodOptional<z.ZodNumber>;
185
+ symbol: z.ZodOptional<z.ZodString>;
186
+ name: z.ZodOptional<z.ZodString>;
187
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
188
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
171
189
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
172
- type: z.ZodEnum<[TokenType.native]>;
190
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
191
+ type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
173
192
  }, "strip", z.ZodTypeAny, {
174
- type: TokenType.native;
193
+ type: TokenType.native | TokenType.nativeScaled;
194
+ symbol?: string | undefined;
195
+ name?: string | undefined;
175
196
  decimals?: number | undefined;
197
+ totalSupply?: string | number | undefined;
176
198
  scale?: number | undefined;
199
+ isNft?: boolean | undefined;
177
200
  }, {
178
- type: TokenType.native;
201
+ type: TokenType.native | TokenType.nativeScaled;
202
+ symbol?: string | undefined;
203
+ name?: string | undefined;
179
204
  decimals?: number | undefined;
205
+ totalSupply?: string | number | undefined;
180
206
  scale?: number | undefined;
207
+ isNft?: boolean | undefined;
181
208
  }>, z.ZodObject<{
182
209
  symbol: z.ZodOptional<z.ZodString>;
183
210
  name: z.ZodOptional<z.ZodString>;
184
- decimals: z.ZodOptional<z.ZodNumber>;
211
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
185
212
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
186
213
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
187
- isNft: z.ZodOptional<z.ZodBoolean>;
188
- type: z.ZodEnum<[TokenType.collateral, TokenType.collateralUri, TokenType.fastCollateral, TokenType.collateralVault]>;
214
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
215
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.XERC20, TokenType.XERC20Lockbox, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
189
216
  token: z.ZodString;
190
217
  }, "strip", z.ZodTypeAny, {
191
- type: TokenType.collateral | TokenType.collateralVault | TokenType.fastCollateral | TokenType.collateralUri;
218
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
192
219
  token: string;
193
220
  symbol?: string | undefined;
194
221
  name?: string | undefined;
@@ -197,7 +224,7 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
197
224
  scale?: number | undefined;
198
225
  isNft?: boolean | undefined;
199
226
  }, {
200
- type: TokenType.collateral | TokenType.collateralVault | TokenType.fastCollateral | TokenType.collateralUri;
227
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
201
228
  token: string;
202
229
  symbol?: string | undefined;
203
230
  name?: string | undefined;
@@ -208,90 +235,387 @@ export declare const TokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscriminat
208
235
  }>, z.ZodObject<{
209
236
  symbol: z.ZodOptional<z.ZodString>;
210
237
  name: z.ZodOptional<z.ZodString>;
238
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
211
239
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
240
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
241
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
212
242
  type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri, TokenType.fastSynthetic]>;
213
243
  }, "strip", z.ZodTypeAny, {
214
244
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
215
245
  symbol?: string | undefined;
216
246
  name?: string | undefined;
247
+ decimals?: number | undefined;
217
248
  totalSupply?: string | number | undefined;
249
+ scale?: number | undefined;
250
+ isNft?: boolean | undefined;
218
251
  }, {
219
252
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
220
253
  symbol?: string | undefined;
221
254
  name?: string | undefined;
255
+ decimals?: number | undefined;
222
256
  totalSupply?: string | number | undefined;
257
+ scale?: number | undefined;
258
+ isNft?: boolean | undefined;
223
259
  }>]>, z.ZodObject<{
224
- owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
225
- origin: z.ZodString;
260
+ owner: z.ZodString;
261
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
262
+ mailbox: z.ZodString;
263
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
226
264
  owner: z.ZodString;
227
- localRouter: z.ZodOptional<z.ZodString>;
228
- routerOverride: z.ZodOptional<z.ZodString>;
229
- ismOverride: z.ZodOptional<z.ZodString>;
265
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
266
+ type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>;
267
+ beneficiary: z.ZodString;
268
+ maxProtocolFee: z.ZodString;
269
+ protocolFee: z.ZodString;
230
270
  }, "strip", z.ZodTypeAny, {
271
+ type: import("../index.js").HookType.PROTOCOL_FEE;
231
272
  owner: string;
232
- origin: string;
233
- localRouter?: string | undefined;
234
- routerOverride?: string | undefined;
235
- ismOverride?: string | undefined;
273
+ protocolFee: string;
274
+ beneficiary: string;
275
+ maxProtocolFee: string;
276
+ ownerOverrides?: Record<string, string> | undefined;
277
+ }, {
278
+ type: import("../index.js").HookType.PROTOCOL_FEE;
279
+ owner: string;
280
+ protocolFee: string;
281
+ beneficiary: string;
282
+ maxProtocolFee: string;
283
+ ownerOverrides?: Record<string, string> | undefined;
284
+ }>, z.ZodObject<{
285
+ owner: z.ZodString;
286
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
287
+ paused: z.ZodBoolean;
288
+ type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ type: import("../index.js").HookType.PAUSABLE;
291
+ owner: string;
292
+ paused: boolean;
293
+ ownerOverrides?: Record<string, string> | undefined;
294
+ }, {
295
+ type: import("../index.js").HookType.PAUSABLE;
296
+ owner: string;
297
+ paused: boolean;
298
+ ownerOverrides?: Record<string, string> | undefined;
299
+ }>, z.ZodObject<{
300
+ owner: z.ZodString;
301
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
302
+ type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>;
303
+ nativeBridge: z.ZodString;
304
+ destinationChain: z.ZodString;
305
+ }, "strip", z.ZodTypeAny, {
306
+ type: import("../index.js").HookType.OP_STACK;
307
+ owner: string;
308
+ nativeBridge: string;
309
+ destinationChain: string;
310
+ ownerOverrides?: Record<string, string> | undefined;
311
+ }, {
312
+ type: import("../index.js").HookType.OP_STACK;
313
+ owner: string;
314
+ nativeBridge: string;
315
+ destinationChain: string;
316
+ ownerOverrides?: Record<string, string> | undefined;
317
+ }>, z.ZodObject<{
318
+ type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>;
319
+ }, "strip", z.ZodTypeAny, {
320
+ type: import("../index.js").HookType.MERKLE_TREE;
321
+ }, {
322
+ type: import("../index.js").HookType.MERKLE_TREE;
323
+ }>, z.ZodObject<{
324
+ owner: z.ZodString;
325
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
326
+ type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>;
327
+ beneficiary: z.ZodString;
328
+ oracleKey: z.ZodString;
329
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
330
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
331
+ gasPrice: z.ZodString;
332
+ tokenExchangeRate: z.ZodString;
333
+ }, "strip", z.ZodTypeAny, {
334
+ gasPrice: string;
335
+ tokenExchangeRate: string;
336
+ }, {
337
+ gasPrice: string;
338
+ tokenExchangeRate: string;
339
+ }>>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
342
+ owner: string;
343
+ beneficiary: string;
344
+ oracleKey: string;
345
+ overhead: Record<string, number>;
346
+ oracleConfig: Record<string, {
347
+ gasPrice: string;
348
+ tokenExchangeRate: string;
349
+ }>;
350
+ ownerOverrides?: Record<string, string> | undefined;
236
351
  }, {
352
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
237
353
  owner: string;
354
+ beneficiary: string;
355
+ oracleKey: string;
356
+ overhead: Record<string, number>;
357
+ oracleConfig: Record<string, {
358
+ gasPrice: string;
359
+ tokenExchangeRate: string;
360
+ }>;
361
+ ownerOverrides?: Record<string, string> | undefined;
362
+ }>, 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>]>>;
363
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
364
+ type: z.ZodLiteral<import("../index.js").IsmType.TEST_ISM>;
365
+ }, "strip", z.ZodTypeAny, {
366
+ type: import("../index.js").IsmType.TEST_ISM;
367
+ }, {
368
+ type: import("../index.js").IsmType.TEST_ISM;
369
+ }>, z.ZodObject<{
370
+ type: z.ZodLiteral<import("../index.js").IsmType.OP_STACK>;
371
+ origin: z.ZodString;
372
+ nativeBridge: z.ZodString;
373
+ }, "strip", z.ZodTypeAny, {
374
+ type: import("../index.js").IsmType.OP_STACK;
238
375
  origin: string;
239
- localRouter?: string | undefined;
240
- routerOverride?: string | undefined;
241
- ismOverride?: string | undefined;
242
- }>]>>;
243
- hook: z.ZodOptional<z.ZodOptional<z.ZodString>>;
244
- interchainSecurityModule: z.ZodOptional<z.ZodOptional<z.ZodType<import("../index.js").IsmConfig, z.ZodTypeDef, import("../index.js").IsmConfig>>>;
245
- mailbox: z.ZodOptional<z.ZodString>;
246
- foreignDeployment: z.ZodOptional<z.ZodOptional<z.ZodString>>;
376
+ nativeBridge: string;
377
+ }, {
378
+ type: import("../index.js").IsmType.OP_STACK;
379
+ origin: string;
380
+ nativeBridge: string;
381
+ }>, z.ZodIntersection<z.ZodObject<{
382
+ owner: z.ZodString;
383
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
384
+ paused: z.ZodBoolean;
385
+ }, "strip", z.ZodTypeAny, {
386
+ owner: string;
387
+ paused: boolean;
388
+ ownerOverrides?: Record<string, string> | undefined;
389
+ }, {
390
+ owner: string;
391
+ paused: boolean;
392
+ ownerOverrides?: Record<string, string> | undefined;
393
+ }>, z.ZodObject<{
394
+ type: z.ZodLiteral<import("../index.js").IsmType.PAUSABLE>;
395
+ }, "strip", z.ZodTypeAny, {
396
+ type: import("../index.js").IsmType.PAUSABLE;
397
+ }, {
398
+ type: import("../index.js").IsmType.PAUSABLE;
399
+ }>>, z.ZodObject<{
400
+ type: z.ZodLiteral<import("../index.js").IsmType.TRUSTED_RELAYER>;
401
+ relayer: z.ZodString;
402
+ }, "strip", z.ZodTypeAny, {
403
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
404
+ relayer: string;
405
+ }, {
406
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
407
+ relayer: string;
408
+ }>, z.ZodIntersection<z.ZodObject<{
409
+ validators: z.ZodArray<z.ZodString, "many">;
410
+ threshold: z.ZodNumber;
411
+ }, "strip", z.ZodTypeAny, {
412
+ validators: string[];
413
+ threshold: number;
414
+ }, {
415
+ validators: string[];
416
+ threshold: number;
417
+ }>, z.ZodObject<{
418
+ type: z.ZodUnion<[z.ZodLiteral<import("../index.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.MESSAGE_ID_MULTISIG>]>;
419
+ }, "strip", z.ZodTypeAny, {
420
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
421
+ }, {
422
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
423
+ }>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>]>>;
424
+ foreignDeployment: z.ZodOptional<z.ZodString>;
425
+ gas: z.ZodOptional<z.ZodNumber>;
247
426
  }, "strip", z.ZodTypeAny, {
248
- owner?: string | {
427
+ owner: string;
428
+ mailbox: string;
429
+ ownerOverrides?: Record<string, string> | undefined;
430
+ hook?: string | {
431
+ type: import("../index.js").HookType.MERKLE_TREE;
432
+ } | {
433
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
434
+ owner: string;
435
+ beneficiary: string;
436
+ oracleKey: string;
437
+ overhead: Record<string, number>;
438
+ oracleConfig: Record<string, {
439
+ gasPrice: string;
440
+ tokenExchangeRate: string;
441
+ }>;
442
+ ownerOverrides?: Record<string, string> | undefined;
443
+ } | {
444
+ type: import("../index.js").HookType.PROTOCOL_FEE;
445
+ owner: string;
446
+ protocolFee: string;
447
+ beneficiary: string;
448
+ maxProtocolFee: string;
449
+ ownerOverrides?: Record<string, string> | undefined;
450
+ } | {
451
+ type: import("../index.js").HookType.PAUSABLE;
452
+ owner: string;
453
+ paused: boolean;
454
+ ownerOverrides?: Record<string, string> | undefined;
455
+ } | {
456
+ type: import("../index.js").HookType.OP_STACK;
249
457
  owner: string;
458
+ nativeBridge: string;
459
+ destinationChain: string;
460
+ ownerOverrides?: Record<string, string> | undefined;
461
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
462
+ interchainSecurityModule?: string | {
463
+ type: import("../index.js").IsmType.TEST_ISM;
464
+ } | {
465
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
466
+ relayer: string;
467
+ } | {
468
+ type: import("../index.js").IsmType.OP_STACK;
250
469
  origin: string;
251
- localRouter?: string | undefined;
252
- routerOverride?: string | undefined;
253
- ismOverride?: string | undefined;
254
- } | undefined;
255
- hook?: string | undefined;
256
- interchainSecurityModule?: import("../index.js").IsmConfig | undefined;
257
- mailbox?: string | undefined;
470
+ nativeBridge: string;
471
+ } | import("../index.js").RoutingIsmConfig | ({
472
+ owner: string;
473
+ paused: boolean;
474
+ ownerOverrides?: Record<string, string> | undefined;
475
+ } & {
476
+ type: import("../index.js").IsmType.PAUSABLE;
477
+ }) | ({
478
+ validators: string[];
479
+ threshold: number;
480
+ } & {
481
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
482
+ }) | import("../index.js").AggregationIsmConfig | undefined;
258
483
  foreignDeployment?: string | undefined;
484
+ gas?: number | undefined;
259
485
  }, {
260
- owner?: string | {
486
+ owner: string;
487
+ mailbox: string;
488
+ ownerOverrides?: Record<string, string> | undefined;
489
+ hook?: string | {
490
+ type: import("../index.js").HookType.MERKLE_TREE;
491
+ } | {
492
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
493
+ owner: string;
494
+ beneficiary: string;
495
+ oracleKey: string;
496
+ overhead: Record<string, number>;
497
+ oracleConfig: Record<string, {
498
+ gasPrice: string;
499
+ tokenExchangeRate: string;
500
+ }>;
501
+ ownerOverrides?: Record<string, string> | undefined;
502
+ } | {
503
+ type: import("../index.js").HookType.PROTOCOL_FEE;
504
+ owner: string;
505
+ protocolFee: string;
506
+ beneficiary: string;
507
+ maxProtocolFee: string;
508
+ ownerOverrides?: Record<string, string> | undefined;
509
+ } | {
510
+ type: import("../index.js").HookType.PAUSABLE;
261
511
  owner: string;
512
+ paused: boolean;
513
+ ownerOverrides?: Record<string, string> | undefined;
514
+ } | {
515
+ type: import("../index.js").HookType.OP_STACK;
516
+ owner: string;
517
+ nativeBridge: string;
518
+ destinationChain: string;
519
+ ownerOverrides?: Record<string, string> | undefined;
520
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
521
+ interchainSecurityModule?: string | {
522
+ type: import("../index.js").IsmType.TEST_ISM;
523
+ } | {
524
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
525
+ relayer: string;
526
+ } | {
527
+ type: import("../index.js").IsmType.OP_STACK;
262
528
  origin: string;
263
- localRouter?: string | undefined;
264
- routerOverride?: string | undefined;
265
- ismOverride?: string | undefined;
266
- } | undefined;
267
- hook?: string | undefined;
268
- interchainSecurityModule?: import("../index.js").IsmConfig | undefined;
269
- mailbox?: string | undefined;
529
+ nativeBridge: string;
530
+ } | import("../index.js").RoutingIsmConfig | ({
531
+ owner: string;
532
+ paused: boolean;
533
+ ownerOverrides?: Record<string, string> | undefined;
534
+ } & {
535
+ type: import("../index.js").IsmType.PAUSABLE;
536
+ }) | ({
537
+ validators: string[];
538
+ threshold: number;
539
+ } & {
540
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
541
+ }) | import("../index.js").AggregationIsmConfig | undefined;
270
542
  foreignDeployment?: string | undefined;
543
+ gas?: number | undefined;
271
544
  }>>;
272
- export declare const WarpRouteDeployConfigSchema: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
273
- decimals: z.ZodOptional<z.ZodNumber>;
545
+ export type TokenRouterConfig = z.infer<typeof TokenRouterConfigSchema>;
546
+ export type NativeConfig = z.infer<typeof NativeConfigSchema>;
547
+ export type CollateralConfig = z.infer<typeof CollateralConfigSchema>;
548
+ export declare const isSyntheticConfig: (config: unknown) => config is {
549
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
550
+ symbol?: string | undefined;
551
+ name?: string | undefined;
552
+ decimals?: number | undefined;
553
+ totalSupply?: string | number | undefined;
554
+ scale?: number | undefined;
555
+ isNft?: boolean | undefined;
556
+ };
557
+ export declare const isCollateralConfig: (config: unknown) => config is {
558
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
559
+ token: string;
560
+ symbol?: string | undefined;
561
+ name?: string | undefined;
562
+ decimals?: number | undefined;
563
+ totalSupply?: string | number | undefined;
564
+ scale?: number | undefined;
565
+ isNft?: boolean | undefined;
566
+ };
567
+ export declare const isNativeConfig: (config: unknown) => config is {
568
+ type: TokenType.native | TokenType.nativeScaled;
569
+ symbol?: string | undefined;
570
+ name?: string | undefined;
571
+ decimals?: number | undefined;
572
+ totalSupply?: string | number | undefined;
573
+ scale?: number | undefined;
574
+ isNft?: boolean | undefined;
575
+ };
576
+ export declare const isTokenMetadata: (config: unknown) => config is {
577
+ symbol: string;
578
+ name: string;
579
+ totalSupply: string | number;
580
+ decimals?: number | undefined;
581
+ scale?: number | undefined;
582
+ isNft?: boolean | undefined;
583
+ };
584
+ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
585
+ symbol: z.ZodOptional<z.ZodString>;
586
+ name: z.ZodOptional<z.ZodString>;
587
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
588
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
274
589
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
275
- type: z.ZodEnum<[TokenType.native]>;
590
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
591
+ type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
276
592
  }, "strip", z.ZodTypeAny, {
277
- type: TokenType.native;
593
+ type: TokenType.native | TokenType.nativeScaled;
594
+ symbol?: string | undefined;
595
+ name?: string | undefined;
278
596
  decimals?: number | undefined;
597
+ totalSupply?: string | number | undefined;
279
598
  scale?: number | undefined;
599
+ isNft?: boolean | undefined;
280
600
  }, {
281
- type: TokenType.native;
601
+ type: TokenType.native | TokenType.nativeScaled;
602
+ symbol?: string | undefined;
603
+ name?: string | undefined;
282
604
  decimals?: number | undefined;
605
+ totalSupply?: string | number | undefined;
283
606
  scale?: number | undefined;
607
+ isNft?: boolean | undefined;
284
608
  }>, z.ZodObject<{
285
609
  symbol: z.ZodOptional<z.ZodString>;
286
610
  name: z.ZodOptional<z.ZodString>;
287
- decimals: z.ZodOptional<z.ZodNumber>;
611
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
288
612
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
289
613
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
290
- isNft: z.ZodOptional<z.ZodBoolean>;
291
- type: z.ZodEnum<[TokenType.collateral, TokenType.collateralUri, TokenType.fastCollateral, TokenType.collateralVault]>;
614
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
615
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.XERC20, TokenType.XERC20Lockbox, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
292
616
  token: z.ZodString;
293
617
  }, "strip", z.ZodTypeAny, {
294
- type: TokenType.collateral | TokenType.collateralVault | TokenType.fastCollateral | TokenType.collateralUri;
618
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
295
619
  token: string;
296
620
  symbol?: string | undefined;
297
621
  name?: string | undefined;
@@ -300,7 +624,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodRecord<z.ZodString, z.Zod
300
624
  scale?: number | undefined;
301
625
  isNft?: boolean | undefined;
302
626
  }, {
303
- type: TokenType.collateral | TokenType.collateralVault | TokenType.fastCollateral | TokenType.collateralUri;
627
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
304
628
  token: string;
305
629
  symbol?: string | undefined;
306
630
  name?: string | undefined;
@@ -311,65 +635,479 @@ export declare const WarpRouteDeployConfigSchema: z.ZodRecord<z.ZodString, z.Zod
311
635
  }>, z.ZodObject<{
312
636
  symbol: z.ZodOptional<z.ZodString>;
313
637
  name: z.ZodOptional<z.ZodString>;
638
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
314
639
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
640
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
641
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
315
642
  type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri, TokenType.fastSynthetic]>;
316
643
  }, "strip", z.ZodTypeAny, {
317
644
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
318
645
  symbol?: string | undefined;
319
646
  name?: string | undefined;
647
+ decimals?: number | undefined;
320
648
  totalSupply?: string | number | undefined;
649
+ scale?: number | undefined;
650
+ isNft?: boolean | undefined;
321
651
  }, {
322
652
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
323
653
  symbol?: string | undefined;
324
654
  name?: string | undefined;
655
+ decimals?: number | undefined;
325
656
  totalSupply?: string | number | undefined;
657
+ scale?: number | undefined;
658
+ isNft?: boolean | undefined;
326
659
  }>]>, z.ZodObject<{
327
- owner: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
328
- origin: z.ZodString;
660
+ owner: z.ZodString;
661
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
662
+ mailbox: z.ZodString;
663
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
329
664
  owner: z.ZodString;
330
- localRouter: z.ZodOptional<z.ZodString>;
331
- routerOverride: z.ZodOptional<z.ZodString>;
332
- ismOverride: z.ZodOptional<z.ZodString>;
665
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
666
+ type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>;
667
+ beneficiary: z.ZodString;
668
+ maxProtocolFee: z.ZodString;
669
+ protocolFee: z.ZodString;
333
670
  }, "strip", z.ZodTypeAny, {
671
+ type: import("../index.js").HookType.PROTOCOL_FEE;
334
672
  owner: string;
335
- origin: string;
336
- localRouter?: string | undefined;
337
- routerOverride?: string | undefined;
338
- ismOverride?: string | undefined;
673
+ protocolFee: string;
674
+ beneficiary: string;
675
+ maxProtocolFee: string;
676
+ ownerOverrides?: Record<string, string> | undefined;
677
+ }, {
678
+ type: import("../index.js").HookType.PROTOCOL_FEE;
679
+ owner: string;
680
+ protocolFee: string;
681
+ beneficiary: string;
682
+ maxProtocolFee: string;
683
+ ownerOverrides?: Record<string, string> | undefined;
684
+ }>, z.ZodObject<{
685
+ owner: z.ZodString;
686
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
687
+ paused: z.ZodBoolean;
688
+ type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ type: import("../index.js").HookType.PAUSABLE;
691
+ owner: string;
692
+ paused: boolean;
693
+ ownerOverrides?: Record<string, string> | undefined;
694
+ }, {
695
+ type: import("../index.js").HookType.PAUSABLE;
696
+ owner: string;
697
+ paused: boolean;
698
+ ownerOverrides?: Record<string, string> | undefined;
699
+ }>, z.ZodObject<{
700
+ owner: z.ZodString;
701
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
702
+ type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>;
703
+ nativeBridge: z.ZodString;
704
+ destinationChain: z.ZodString;
705
+ }, "strip", z.ZodTypeAny, {
706
+ type: import("../index.js").HookType.OP_STACK;
707
+ owner: string;
708
+ nativeBridge: string;
709
+ destinationChain: string;
710
+ ownerOverrides?: Record<string, string> | undefined;
339
711
  }, {
712
+ type: import("../index.js").HookType.OP_STACK;
340
713
  owner: string;
714
+ nativeBridge: string;
715
+ destinationChain: string;
716
+ ownerOverrides?: Record<string, string> | undefined;
717
+ }>, z.ZodObject<{
718
+ type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>;
719
+ }, "strip", z.ZodTypeAny, {
720
+ type: import("../index.js").HookType.MERKLE_TREE;
721
+ }, {
722
+ type: import("../index.js").HookType.MERKLE_TREE;
723
+ }>, z.ZodObject<{
724
+ owner: z.ZodString;
725
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
726
+ type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>;
727
+ beneficiary: z.ZodString;
728
+ oracleKey: z.ZodString;
729
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
730
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
731
+ gasPrice: z.ZodString;
732
+ tokenExchangeRate: z.ZodString;
733
+ }, "strip", z.ZodTypeAny, {
734
+ gasPrice: string;
735
+ tokenExchangeRate: string;
736
+ }, {
737
+ gasPrice: string;
738
+ tokenExchangeRate: string;
739
+ }>>;
740
+ }, "strip", z.ZodTypeAny, {
741
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
742
+ owner: string;
743
+ beneficiary: string;
744
+ oracleKey: string;
745
+ overhead: Record<string, number>;
746
+ oracleConfig: Record<string, {
747
+ gasPrice: string;
748
+ tokenExchangeRate: string;
749
+ }>;
750
+ ownerOverrides?: Record<string, string> | undefined;
751
+ }, {
752
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
753
+ owner: string;
754
+ beneficiary: string;
755
+ oracleKey: string;
756
+ overhead: Record<string, number>;
757
+ oracleConfig: Record<string, {
758
+ gasPrice: string;
759
+ tokenExchangeRate: string;
760
+ }>;
761
+ ownerOverrides?: Record<string, string> | undefined;
762
+ }>, 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>]>>;
763
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
764
+ type: z.ZodLiteral<import("../index.js").IsmType.TEST_ISM>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ type: import("../index.js").IsmType.TEST_ISM;
767
+ }, {
768
+ type: import("../index.js").IsmType.TEST_ISM;
769
+ }>, z.ZodObject<{
770
+ type: z.ZodLiteral<import("../index.js").IsmType.OP_STACK>;
771
+ origin: z.ZodString;
772
+ nativeBridge: z.ZodString;
773
+ }, "strip", z.ZodTypeAny, {
774
+ type: import("../index.js").IsmType.OP_STACK;
775
+ origin: string;
776
+ nativeBridge: string;
777
+ }, {
778
+ type: import("../index.js").IsmType.OP_STACK;
341
779
  origin: string;
342
- localRouter?: string | undefined;
343
- routerOverride?: string | undefined;
344
- ismOverride?: string | undefined;
345
- }>]>>;
346
- hook: z.ZodOptional<z.ZodOptional<z.ZodString>>;
347
- interchainSecurityModule: z.ZodOptional<z.ZodOptional<z.ZodType<import("../index.js").IsmConfig, z.ZodTypeDef, import("../index.js").IsmConfig>>>;
348
- mailbox: z.ZodOptional<z.ZodString>;
349
- foreignDeployment: z.ZodOptional<z.ZodOptional<z.ZodString>>;
780
+ nativeBridge: string;
781
+ }>, z.ZodIntersection<z.ZodObject<{
782
+ owner: z.ZodString;
783
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
784
+ paused: z.ZodBoolean;
785
+ }, "strip", z.ZodTypeAny, {
786
+ owner: string;
787
+ paused: boolean;
788
+ ownerOverrides?: Record<string, string> | undefined;
789
+ }, {
790
+ owner: string;
791
+ paused: boolean;
792
+ ownerOverrides?: Record<string, string> | undefined;
793
+ }>, z.ZodObject<{
794
+ type: z.ZodLiteral<import("../index.js").IsmType.PAUSABLE>;
795
+ }, "strip", z.ZodTypeAny, {
796
+ type: import("../index.js").IsmType.PAUSABLE;
797
+ }, {
798
+ type: import("../index.js").IsmType.PAUSABLE;
799
+ }>>, z.ZodObject<{
800
+ type: z.ZodLiteral<import("../index.js").IsmType.TRUSTED_RELAYER>;
801
+ relayer: z.ZodString;
802
+ }, "strip", z.ZodTypeAny, {
803
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
804
+ relayer: string;
805
+ }, {
806
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
807
+ relayer: string;
808
+ }>, z.ZodIntersection<z.ZodObject<{
809
+ validators: z.ZodArray<z.ZodString, "many">;
810
+ threshold: z.ZodNumber;
811
+ }, "strip", z.ZodTypeAny, {
812
+ validators: string[];
813
+ threshold: number;
814
+ }, {
815
+ validators: string[];
816
+ threshold: number;
817
+ }>, z.ZodObject<{
818
+ type: z.ZodUnion<[z.ZodLiteral<import("../index.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.MESSAGE_ID_MULTISIG>]>;
819
+ }, "strip", z.ZodTypeAny, {
820
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
821
+ }, {
822
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
823
+ }>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>]>>;
824
+ foreignDeployment: z.ZodOptional<z.ZodString>;
825
+ gas: z.ZodOptional<z.ZodNumber>;
350
826
  }, "strip", z.ZodTypeAny, {
351
- owner?: string | {
827
+ owner: string;
828
+ mailbox: string;
829
+ ownerOverrides?: Record<string, string> | undefined;
830
+ hook?: string | {
831
+ type: import("../index.js").HookType.MERKLE_TREE;
832
+ } | {
833
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
352
834
  owner: string;
835
+ beneficiary: string;
836
+ oracleKey: string;
837
+ overhead: Record<string, number>;
838
+ oracleConfig: Record<string, {
839
+ gasPrice: string;
840
+ tokenExchangeRate: string;
841
+ }>;
842
+ ownerOverrides?: Record<string, string> | undefined;
843
+ } | {
844
+ type: import("../index.js").HookType.PROTOCOL_FEE;
845
+ owner: string;
846
+ protocolFee: string;
847
+ beneficiary: string;
848
+ maxProtocolFee: string;
849
+ ownerOverrides?: Record<string, string> | undefined;
850
+ } | {
851
+ type: import("../index.js").HookType.PAUSABLE;
852
+ owner: string;
853
+ paused: boolean;
854
+ ownerOverrides?: Record<string, string> | undefined;
855
+ } | {
856
+ type: import("../index.js").HookType.OP_STACK;
857
+ owner: string;
858
+ nativeBridge: string;
859
+ destinationChain: string;
860
+ ownerOverrides?: Record<string, string> | undefined;
861
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
862
+ interchainSecurityModule?: string | {
863
+ type: import("../index.js").IsmType.TEST_ISM;
864
+ } | {
865
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
866
+ relayer: string;
867
+ } | {
868
+ type: import("../index.js").IsmType.OP_STACK;
353
869
  origin: string;
354
- localRouter?: string | undefined;
355
- routerOverride?: string | undefined;
356
- ismOverride?: string | undefined;
357
- } | undefined;
358
- hook?: string | undefined;
359
- interchainSecurityModule?: import("../index.js").IsmConfig | undefined;
360
- mailbox?: string | undefined;
870
+ nativeBridge: string;
871
+ } | import("../index.js").RoutingIsmConfig | ({
872
+ owner: string;
873
+ paused: boolean;
874
+ ownerOverrides?: Record<string, string> | undefined;
875
+ } & {
876
+ type: import("../index.js").IsmType.PAUSABLE;
877
+ }) | ({
878
+ validators: string[];
879
+ threshold: number;
880
+ } & {
881
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
882
+ }) | import("../index.js").AggregationIsmConfig | undefined;
361
883
  foreignDeployment?: string | undefined;
884
+ gas?: number | undefined;
362
885
  }, {
363
- owner?: string | {
886
+ owner: string;
887
+ mailbox: string;
888
+ ownerOverrides?: Record<string, string> | undefined;
889
+ hook?: string | {
890
+ type: import("../index.js").HookType.MERKLE_TREE;
891
+ } | {
892
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
893
+ owner: string;
894
+ beneficiary: string;
895
+ oracleKey: string;
896
+ overhead: Record<string, number>;
897
+ oracleConfig: Record<string, {
898
+ gasPrice: string;
899
+ tokenExchangeRate: string;
900
+ }>;
901
+ ownerOverrides?: Record<string, string> | undefined;
902
+ } | {
903
+ type: import("../index.js").HookType.PROTOCOL_FEE;
904
+ owner: string;
905
+ protocolFee: string;
906
+ beneficiary: string;
907
+ maxProtocolFee: string;
908
+ ownerOverrides?: Record<string, string> | undefined;
909
+ } | {
910
+ type: import("../index.js").HookType.PAUSABLE;
911
+ owner: string;
912
+ paused: boolean;
913
+ ownerOverrides?: Record<string, string> | undefined;
914
+ } | {
915
+ type: import("../index.js").HookType.OP_STACK;
916
+ owner: string;
917
+ nativeBridge: string;
918
+ destinationChain: string;
919
+ ownerOverrides?: Record<string, string> | undefined;
920
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
921
+ interchainSecurityModule?: string | {
922
+ type: import("../index.js").IsmType.TEST_ISM;
923
+ } | {
924
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
925
+ relayer: string;
926
+ } | {
927
+ type: import("../index.js").IsmType.OP_STACK;
928
+ origin: string;
929
+ nativeBridge: string;
930
+ } | import("../index.js").RoutingIsmConfig | ({
931
+ owner: string;
932
+ paused: boolean;
933
+ ownerOverrides?: Record<string, string> | undefined;
934
+ } & {
935
+ type: import("../index.js").IsmType.PAUSABLE;
936
+ }) | ({
937
+ validators: string[];
938
+ threshold: number;
939
+ } & {
940
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
941
+ }) | import("../index.js").AggregationIsmConfig | undefined;
942
+ foreignDeployment?: string | undefined;
943
+ gas?: number | undefined;
944
+ }>>>, Record<string, ({
945
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
946
+ token: string;
947
+ symbol?: string | undefined;
948
+ name?: string | undefined;
949
+ decimals?: number | undefined;
950
+ totalSupply?: string | number | undefined;
951
+ scale?: number | undefined;
952
+ isNft?: boolean | undefined;
953
+ } | {
954
+ type: TokenType.native | TokenType.nativeScaled;
955
+ symbol?: string | undefined;
956
+ name?: string | undefined;
957
+ decimals?: number | undefined;
958
+ totalSupply?: string | number | undefined;
959
+ scale?: number | undefined;
960
+ isNft?: boolean | undefined;
961
+ } | {
962
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
963
+ symbol?: string | undefined;
964
+ name?: string | undefined;
965
+ decimals?: number | undefined;
966
+ totalSupply?: string | number | undefined;
967
+ scale?: number | undefined;
968
+ isNft?: boolean | undefined;
969
+ }) & {
970
+ owner: string;
971
+ mailbox: string;
972
+ ownerOverrides?: Record<string, string> | undefined;
973
+ hook?: string | {
974
+ type: import("../index.js").HookType.MERKLE_TREE;
975
+ } | {
976
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
977
+ owner: string;
978
+ beneficiary: string;
979
+ oracleKey: string;
980
+ overhead: Record<string, number>;
981
+ oracleConfig: Record<string, {
982
+ gasPrice: string;
983
+ tokenExchangeRate: string;
984
+ }>;
985
+ ownerOverrides?: Record<string, string> | undefined;
986
+ } | {
987
+ type: import("../index.js").HookType.PROTOCOL_FEE;
988
+ owner: string;
989
+ protocolFee: string;
990
+ beneficiary: string;
991
+ maxProtocolFee: string;
992
+ ownerOverrides?: Record<string, string> | undefined;
993
+ } | {
994
+ type: import("../index.js").HookType.PAUSABLE;
995
+ owner: string;
996
+ paused: boolean;
997
+ ownerOverrides?: Record<string, string> | undefined;
998
+ } | {
999
+ type: import("../index.js").HookType.OP_STACK;
1000
+ owner: string;
1001
+ nativeBridge: string;
1002
+ destinationChain: string;
1003
+ ownerOverrides?: Record<string, string> | undefined;
1004
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1005
+ interchainSecurityModule?: string | {
1006
+ type: import("../index.js").IsmType.TEST_ISM;
1007
+ } | {
1008
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
1009
+ relayer: string;
1010
+ } | {
1011
+ type: import("../index.js").IsmType.OP_STACK;
1012
+ origin: string;
1013
+ nativeBridge: string;
1014
+ } | import("../index.js").RoutingIsmConfig | ({
1015
+ owner: string;
1016
+ paused: boolean;
1017
+ ownerOverrides?: Record<string, string> | undefined;
1018
+ } & {
1019
+ type: import("../index.js").IsmType.PAUSABLE;
1020
+ }) | ({
1021
+ validators: string[];
1022
+ threshold: number;
1023
+ } & {
1024
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1025
+ }) | import("../index.js").AggregationIsmConfig | undefined;
1026
+ foreignDeployment?: string | undefined;
1027
+ gas?: number | undefined;
1028
+ }>, Record<string, ({
1029
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1030
+ token: string;
1031
+ symbol?: string | undefined;
1032
+ name?: string | undefined;
1033
+ decimals?: number | undefined;
1034
+ totalSupply?: string | number | undefined;
1035
+ scale?: number | undefined;
1036
+ isNft?: boolean | undefined;
1037
+ } | {
1038
+ type: TokenType.native | TokenType.nativeScaled;
1039
+ symbol?: string | undefined;
1040
+ name?: string | undefined;
1041
+ decimals?: number | undefined;
1042
+ totalSupply?: string | number | undefined;
1043
+ scale?: number | undefined;
1044
+ isNft?: boolean | undefined;
1045
+ } | {
1046
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
1047
+ symbol?: string | undefined;
1048
+ name?: string | undefined;
1049
+ decimals?: number | undefined;
1050
+ totalSupply?: string | number | undefined;
1051
+ scale?: number | undefined;
1052
+ isNft?: boolean | undefined;
1053
+ }) & {
1054
+ owner: string;
1055
+ mailbox: string;
1056
+ ownerOverrides?: Record<string, string> | undefined;
1057
+ hook?: string | {
1058
+ type: import("../index.js").HookType.MERKLE_TREE;
1059
+ } | {
1060
+ type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1061
+ owner: string;
1062
+ beneficiary: string;
1063
+ oracleKey: string;
1064
+ overhead: Record<string, number>;
1065
+ oracleConfig: Record<string, {
1066
+ gasPrice: string;
1067
+ tokenExchangeRate: string;
1068
+ }>;
1069
+ ownerOverrides?: Record<string, string> | undefined;
1070
+ } | {
1071
+ type: import("../index.js").HookType.PROTOCOL_FEE;
364
1072
  owner: string;
1073
+ protocolFee: string;
1074
+ beneficiary: string;
1075
+ maxProtocolFee: string;
1076
+ ownerOverrides?: Record<string, string> | undefined;
1077
+ } | {
1078
+ type: import("../index.js").HookType.PAUSABLE;
1079
+ owner: string;
1080
+ paused: boolean;
1081
+ ownerOverrides?: Record<string, string> | undefined;
1082
+ } | {
1083
+ type: import("../index.js").HookType.OP_STACK;
1084
+ owner: string;
1085
+ nativeBridge: string;
1086
+ destinationChain: string;
1087
+ ownerOverrides?: Record<string, string> | undefined;
1088
+ } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1089
+ interchainSecurityModule?: string | {
1090
+ type: import("../index.js").IsmType.TEST_ISM;
1091
+ } | {
1092
+ type: import("../index.js").IsmType.TRUSTED_RELAYER;
1093
+ relayer: string;
1094
+ } | {
1095
+ type: import("../index.js").IsmType.OP_STACK;
365
1096
  origin: string;
366
- localRouter?: string | undefined;
367
- routerOverride?: string | undefined;
368
- ismOverride?: string | undefined;
369
- } | undefined;
370
- hook?: string | undefined;
371
- interchainSecurityModule?: import("../index.js").IsmConfig | undefined;
372
- mailbox?: string | undefined;
1097
+ nativeBridge: string;
1098
+ } | import("../index.js").RoutingIsmConfig | ({
1099
+ owner: string;
1100
+ paused: boolean;
1101
+ ownerOverrides?: Record<string, string> | undefined;
1102
+ } & {
1103
+ type: import("../index.js").IsmType.PAUSABLE;
1104
+ }) | ({
1105
+ validators: string[];
1106
+ threshold: number;
1107
+ } & {
1108
+ type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG;
1109
+ }) | import("../index.js").AggregationIsmConfig | undefined;
373
1110
  foreignDeployment?: string | undefined;
374
- }>>>;
1111
+ gas?: number | undefined;
1112
+ }>>;
375
1113
  //# sourceMappingURL=schemas.d.ts.map