@hyperlane-xyz/sdk 41.3.1 → 43.0.0

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 (324) hide show
  1. package/dist/ccip/consts.d.ts.map +1 -1
  2. package/dist/ccip/consts.js +20 -0
  3. package/dist/ccip/consts.js.map +1 -1
  4. package/dist/consts/multisigIsm.d.ts.map +1 -1
  5. package/dist/consts/multisigIsm.js +32 -0
  6. package/dist/consts/multisigIsm.js.map +1 -1
  7. package/dist/contracts/contracts.d.ts.map +1 -1
  8. package/dist/contracts/contracts.js +15 -0
  9. package/dist/contracts/contracts.js.map +1 -1
  10. package/dist/contracts/contracts.test.d.ts +2 -0
  11. package/dist/contracts/contracts.test.d.ts.map +1 -0
  12. package/dist/contracts/contracts.test.js +88 -0
  13. package/dist/contracts/contracts.test.js.map +1 -0
  14. package/dist/core/types.d.ts +48 -4158
  15. package/dist/core/types.d.ts.map +1 -1
  16. package/dist/core/types.js +21 -3
  17. package/dist/core/types.js.map +1 -1
  18. package/dist/core/types.test.js +58 -0
  19. package/dist/core/types.test.js.map +1 -1
  20. package/dist/deploy/HyperlaneDeployer.js +1 -1
  21. package/dist/deploy/proxy.d.ts +8 -40
  22. package/dist/deploy/proxy.d.ts.map +1 -1
  23. package/dist/deploy/proxy.js +4 -4
  24. package/dist/deploy/proxy.js.map +1 -1
  25. package/dist/deploy/types.d.ts +1 -19
  26. package/dist/deploy/types.d.ts.map +1 -1
  27. package/dist/deploy/warp.d.ts +119 -3
  28. package/dist/deploy/warp.d.ts.map +1 -1
  29. package/dist/deploy/warp.js +696 -33
  30. package/dist/deploy/warp.js.map +1 -1
  31. package/dist/deploy/warp.test.d.ts +2 -0
  32. package/dist/deploy/warp.test.d.ts.map +1 -0
  33. package/dist/deploy/warp.test.js +358 -0
  34. package/dist/deploy/warp.test.js.map +1 -0
  35. package/dist/deploy/warpHybridPlan.d.ts +104 -0
  36. package/dist/deploy/warpHybridPlan.d.ts.map +1 -0
  37. package/dist/deploy/warpHybridPlan.js +178 -0
  38. package/dist/deploy/warpHybridPlan.js.map +1 -0
  39. package/dist/deploy/warpHybridPlan.test.d.ts +2 -0
  40. package/dist/deploy/warpHybridPlan.test.d.ts.map +1 -0
  41. package/dist/deploy/warpHybridPlan.test.js +141 -0
  42. package/dist/deploy/warpHybridPlan.test.js.map +1 -0
  43. package/dist/fee/EvmTokenFeeDeployer.d.ts.map +1 -1
  44. package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js +68 -0
  45. package/dist/fee/EvmTokenFeeDeployer.hardhat-test.js.map +1 -1
  46. package/dist/fee/EvmTokenFeeDeployer.js +18 -10
  47. package/dist/fee/EvmTokenFeeDeployer.js.map +1 -1
  48. package/dist/fee/EvmTokenFeeModule.d.ts.map +1 -1
  49. package/dist/fee/EvmTokenFeeModule.hardhat-test.js +18 -8
  50. package/dist/fee/EvmTokenFeeModule.hardhat-test.js.map +1 -1
  51. package/dist/fee/EvmTokenFeeModule.js +8 -1
  52. package/dist/fee/EvmTokenFeeModule.js.map +1 -1
  53. package/dist/fee/EvmTokenFeeReader.d.ts +2 -2
  54. package/dist/fee/EvmTokenFeeReader.d.ts.map +1 -1
  55. package/dist/fee/EvmTokenFeeReader.js.map +1 -1
  56. package/dist/fee/feeConfigMapping.d.ts.map +1 -1
  57. package/dist/fee/feeConfigMapping.js +1 -0
  58. package/dist/fee/feeConfigMapping.js.map +1 -1
  59. package/dist/fee/types.d.ts +147 -646
  60. package/dist/fee/types.d.ts.map +1 -1
  61. package/dist/fee/types.js +26 -17
  62. package/dist/fee/types.js.map +1 -1
  63. package/dist/fork/types.d.ts +125 -1924
  64. package/dist/fork/types.d.ts.map +1 -1
  65. package/dist/fork/types.js +3 -3
  66. package/dist/fork/types.js.map +1 -1
  67. package/dist/gas/oracle/types.d.ts +5 -56
  68. package/dist/gas/oracle/types.d.ts.map +1 -1
  69. package/dist/hook/EvmHookModule.d.ts +1 -1
  70. package/dist/hook/EvmHookModule.d.ts.map +1 -1
  71. package/dist/hook/EvmHookModule.hardhat-test.js +12 -1
  72. package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
  73. package/dist/hook/EvmHookModule.js +19 -3
  74. package/dist/hook/EvmHookModule.js.map +1 -1
  75. package/dist/hook/EvmHookReader.d.ts +10 -0
  76. package/dist/hook/EvmHookReader.d.ts.map +1 -1
  77. package/dist/hook/EvmHookReader.js +92 -11
  78. package/dist/hook/EvmHookReader.js.map +1 -1
  79. package/dist/hook/EvmHookReader.test.js +155 -1
  80. package/dist/hook/EvmHookReader.test.js.map +1 -1
  81. package/dist/hook/HyperlaneHookDeployer.d.ts +12 -0
  82. package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
  83. package/dist/hook/HyperlaneHookDeployer.hardhat-test.d.ts +2 -0
  84. package/dist/hook/HyperlaneHookDeployer.hardhat-test.d.ts.map +1 -0
  85. package/dist/hook/HyperlaneHookDeployer.hardhat-test.js +322 -0
  86. package/dist/hook/HyperlaneHookDeployer.hardhat-test.js.map +1 -0
  87. package/dist/hook/HyperlaneHookDeployer.js +262 -5
  88. package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
  89. package/dist/hook/types.d.ts +72 -2223
  90. package/dist/hook/types.d.ts.map +1 -1
  91. package/dist/hook/types.js +66 -10
  92. package/dist/hook/types.js.map +1 -1
  93. package/dist/hook/types.test.js +21 -1
  94. package/dist/hook/types.test.js.map +1 -1
  95. package/dist/hook/updates.d.ts +1 -0
  96. package/dist/hook/updates.d.ts.map +1 -1
  97. package/dist/hook/updates.js +2 -2
  98. package/dist/hook/updates.js.map +1 -1
  99. package/dist/hook/utils.d.ts +28 -1
  100. package/dist/hook/utils.d.ts.map +1 -1
  101. package/dist/hook/utils.js +89 -0
  102. package/dist/hook/utils.js.map +1 -1
  103. package/dist/ica/types.d.ts +35 -1570
  104. package/dist/ica/types.d.ts.map +1 -1
  105. package/dist/ica/types.js +1 -1
  106. package/dist/ica/types.js.map +1 -1
  107. package/dist/index.d.ts +7 -6
  108. package/dist/index.d.ts.map +1 -1
  109. package/dist/index.js +7 -6
  110. package/dist/index.js.map +1 -1
  111. package/dist/ism/EvmIsmModule.d.ts +29 -3
  112. package/dist/ism/EvmIsmModule.d.ts.map +1 -1
  113. package/dist/ism/EvmIsmModule.hardhat-test.js +512 -3
  114. package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
  115. package/dist/ism/EvmIsmModule.js +239 -21
  116. package/dist/ism/EvmIsmModule.js.map +1 -1
  117. package/dist/ism/EvmIsmReader.d.ts.map +1 -1
  118. package/dist/ism/EvmIsmReader.js +77 -1
  119. package/dist/ism/EvmIsmReader.js.map +1 -1
  120. package/dist/ism/EvmIsmReader.test.js +245 -4
  121. package/dist/ism/EvmIsmReader.test.js.map +1 -1
  122. package/dist/ism/HyperlaneIsmFactory.d.ts +17 -5
  123. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  124. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +431 -4
  125. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
  126. package/dist/ism/HyperlaneIsmFactory.js +121 -11
  127. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  128. package/dist/ism/delayedFlow.d.ts +31 -0
  129. package/dist/ism/delayedFlow.d.ts.map +1 -0
  130. package/dist/ism/delayedFlow.js +33 -0
  131. package/dist/ism/delayedFlow.js.map +1 -0
  132. package/dist/ism/types.d.ts +86 -237
  133. package/dist/ism/types.d.ts.map +1 -1
  134. package/dist/ism/types.js +270 -20
  135. package/dist/ism/types.js.map +1 -1
  136. package/dist/ism/types.test.js +433 -1
  137. package/dist/ism/types.test.js.map +1 -1
  138. package/dist/ism/utils.d.ts.map +1 -1
  139. package/dist/ism/utils.js +113 -3
  140. package/dist/ism/utils.js.map +1 -1
  141. package/dist/ism/utils.test.js +44 -0
  142. package/dist/ism/utils.test.js.map +1 -1
  143. package/dist/metadata/agentConfig.d.ts +537 -10384
  144. package/dist/metadata/agentConfig.d.ts.map +1 -1
  145. package/dist/metadata/agentConfig.js +14 -16
  146. package/dist/metadata/agentConfig.js.map +1 -1
  147. package/dist/metadata/chainMetadataTypes.d.ts +70 -4678
  148. package/dist/metadata/chainMetadataTypes.d.ts.map +1 -1
  149. package/dist/metadata/chainMetadataTypes.js +5 -5
  150. package/dist/metadata/chainMetadataTypes.js.map +1 -1
  151. package/dist/metadata/customZodTypes.d.ts +5 -5
  152. package/dist/metadata/customZodTypes.d.ts.map +1 -1
  153. package/dist/metadata/customZodTypes.js +4 -5
  154. package/dist/metadata/customZodTypes.js.map +1 -1
  155. package/dist/metadata/deploymentArtifacts.d.ts +1 -13
  156. package/dist/metadata/deploymentArtifacts.d.ts.map +1 -1
  157. package/dist/metadata/matchingList.d.ts +12 -40
  158. package/dist/metadata/matchingList.d.ts.map +1 -1
  159. package/dist/metadata/warpRouteConfig.d.ts +8 -114
  160. package/dist/metadata/warpRouteConfig.d.ts.map +1 -1
  161. package/dist/metadata/warpRouteConfig.js +3 -3
  162. package/dist/metadata/warpRouteConfig.js.map +1 -1
  163. package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
  164. package/dist/middleware/account/InterchainAccount.js +12 -8
  165. package/dist/middleware/account/InterchainAccount.js.map +1 -1
  166. package/dist/middleware/account/InterchainAccount.test.js +22 -3
  167. package/dist/middleware/account/InterchainAccount.test.js.map +1 -1
  168. package/dist/middleware/account/icaCalls.d.ts +13 -145
  169. package/dist/middleware/account/icaCalls.d.ts.map +1 -1
  170. package/dist/middleware/account/types.d.ts +11 -105
  171. package/dist/middleware/account/types.d.ts.map +1 -1
  172. package/dist/predicate/PredicateApiClient.d.ts +1 -11
  173. package/dist/predicate/PredicateApiClient.d.ts.map +1 -1
  174. package/dist/providers/MultiProvider.d.ts.map +1 -1
  175. package/dist/providers/MultiProvider.js +3 -2
  176. package/dist/providers/MultiProvider.js.map +1 -1
  177. package/dist/providers/MultiProviderAdapter.d.ts +3 -3
  178. package/dist/providers/MultiProviderAdapter.d.ts.map +1 -1
  179. package/dist/providers/MultiProviderAdapter.js +2 -1
  180. package/dist/providers/MultiProviderAdapter.js.map +1 -1
  181. package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.d.ts.map +1 -1
  182. package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.js +4 -0
  183. package/dist/providers/SmartProvider/HyperlaneJsonRpcProvider.js.map +1 -1
  184. package/dist/providers/transactionFeeEstimators.d.ts +16 -9
  185. package/dist/providers/transactionFeeEstimators.d.ts.map +1 -1
  186. package/dist/providers/transactionFeeEstimators.js +66 -17
  187. package/dist/providers/transactionFeeEstimators.js.map +1 -1
  188. package/dist/providers/transactionFeeEstimators.test.js +153 -1
  189. package/dist/providers/transactionFeeEstimators.test.js.map +1 -1
  190. package/dist/providers/transactions/submitter/builder/types.d.ts +13 -280
  191. package/dist/providers/transactions/submitter/builder/types.d.ts.map +1 -1
  192. package/dist/providers/transactions/submitter/builder/types.js +2 -4
  193. package/dist/providers/transactions/submitter/builder/types.js.map +1 -1
  194. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +2 -0
  195. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -1
  196. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js +15 -7
  197. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -1
  198. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.test.d.ts +2 -0
  199. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.test.d.ts.map +1 -0
  200. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.test.js +145 -0
  201. package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.test.js.map +1 -0
  202. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts +14 -1
  203. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.d.ts.map +1 -1
  204. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.js +46 -5
  205. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.js.map +1 -1
  206. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.test.d.ts +2 -0
  207. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.test.d.ts.map +1 -0
  208. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.test.js +125 -0
  209. package/dist/providers/transactions/submitter/ethersV5/EV5JsonRpcTxSubmitter.test.js.map +1 -0
  210. package/dist/providers/transactions/submitter/ethersV5/types.d.ts +30 -102
  211. package/dist/providers/transactions/submitter/ethersV5/types.d.ts.map +1 -1
  212. package/dist/providers/transactions/submitter/ethersV5/types.js +3 -21
  213. package/dist/providers/transactions/submitter/ethersV5/types.js.map +1 -1
  214. package/dist/providers/transactions/submitter/types.d.ts +5 -51
  215. package/dist/providers/transactions/submitter/types.d.ts.map +1 -1
  216. package/dist/providers/transactions/types.d.ts +1 -9
  217. package/dist/providers/transactions/types.d.ts.map +1 -1
  218. package/dist/router/HyperlaneRouterDeployer.d.ts +3 -1
  219. package/dist/router/HyperlaneRouterDeployer.d.ts.map +1 -1
  220. package/dist/router/HyperlaneRouterDeployer.js +4 -2
  221. package/dist/router/HyperlaneRouterDeployer.js.map +1 -1
  222. package/dist/router/types.d.ts +33 -1824
  223. package/dist/router/types.d.ts.map +1 -1
  224. package/dist/router/types.js +4 -4
  225. package/dist/router/types.js.map +1 -1
  226. package/dist/rpc/evm/EvmEventLogsReader.d.ts +19 -27
  227. package/dist/rpc/evm/EvmEventLogsReader.d.ts.map +1 -1
  228. package/dist/rpc/evm/EvmEventLogsReader.js +23 -0
  229. package/dist/rpc/evm/EvmEventLogsReader.js.map +1 -1
  230. package/dist/rpc/evm/EvmEventLogsReader.test.js +53 -1
  231. package/dist/rpc/evm/EvmEventLogsReader.test.js.map +1 -1
  232. package/dist/signers/turnkeyClient.d.ts +1 -15
  233. package/dist/signers/turnkeyClient.d.ts.map +1 -1
  234. package/dist/test/testUtils.d.ts +1 -1
  235. package/dist/test/testUtils.d.ts.map +1 -1
  236. package/dist/test/testUtils.js +17 -0
  237. package/dist/test/testUtils.js.map +1 -1
  238. package/dist/test/testUtils.test.d.ts +2 -0
  239. package/dist/test/testUtils.test.d.ts.map +1 -0
  240. package/dist/test/testUtils.test.js +28 -0
  241. package/dist/test/testUtils.test.js.map +1 -0
  242. package/dist/timelock/types.d.ts +8 -32
  243. package/dist/timelock/types.d.ts.map +1 -1
  244. package/dist/token/EvmWarpModule.d.ts +44 -8
  245. package/dist/token/EvmWarpModule.d.ts.map +1 -1
  246. package/dist/token/EvmWarpModule.hardhat-test.js +574 -4
  247. package/dist/token/EvmWarpModule.hardhat-test.js.map +1 -1
  248. package/dist/token/EvmWarpModule.js +237 -25
  249. package/dist/token/EvmWarpModule.js.map +1 -1
  250. package/dist/token/EvmWarpRouteReader.d.ts.map +1 -1
  251. package/dist/token/EvmWarpRouteReader.js +36 -19
  252. package/dist/token/EvmWarpRouteReader.js.map +1 -1
  253. package/dist/token/EvmWarpRouteReader.test.js +219 -2
  254. package/dist/token/EvmWarpRouteReader.test.js.map +1 -1
  255. package/dist/token/EvmXERC20Reader.d.ts +9 -21
  256. package/dist/token/EvmXERC20Reader.d.ts.map +1 -1
  257. package/dist/token/EvmXERC20Reader.js +24 -48
  258. package/dist/token/EvmXERC20Reader.js.map +1 -1
  259. package/dist/token/EvmXERC20Reader.test.js +97 -0
  260. package/dist/token/EvmXERC20Reader.test.js.map +1 -1
  261. package/dist/token/ITokenMetadata.d.ts +12 -130
  262. package/dist/token/ITokenMetadata.d.ts.map +1 -1
  263. package/dist/token/ITokenMetadata.js +2 -2
  264. package/dist/token/ITokenMetadata.js.map +1 -1
  265. package/dist/token/TokenConnection.d.ts +3 -35
  266. package/dist/token/TokenConnection.d.ts.map +1 -1
  267. package/dist/token/configUtils.d.ts +17 -7
  268. package/dist/token/configUtils.d.ts.map +1 -1
  269. package/dist/token/configUtils.js +124 -0
  270. package/dist/token/configUtils.js.map +1 -1
  271. package/dist/token/configUtils.test.js +212 -11
  272. package/dist/token/configUtils.test.js.map +1 -1
  273. package/dist/token/deploy.d.ts +3 -1
  274. package/dist/token/deploy.d.ts.map +1 -1
  275. package/dist/token/deploy.hardhat-test.js +617 -6
  276. package/dist/token/deploy.hardhat-test.js.map +1 -1
  277. package/dist/token/deploy.js +25 -6
  278. package/dist/token/deploy.js.map +1 -1
  279. package/dist/token/types.d.ts +4373 -25929
  280. package/dist/token/types.d.ts.map +1 -1
  281. package/dist/token/types.js +10 -12
  282. package/dist/token/types.js.map +1 -1
  283. package/dist/token/types.test.js +48 -0
  284. package/dist/token/types.test.js.map +1 -1
  285. package/dist/token/warpCheck.d.ts.map +1 -1
  286. package/dist/token/warpCheck.js +36 -1
  287. package/dist/token/warpCheck.js.map +1 -1
  288. package/dist/token/xerc20-abi.d.ts +31 -0
  289. package/dist/token/xerc20-abi.d.ts.map +1 -1
  290. package/dist/token/xerc20-abi.js +40 -0
  291. package/dist/token/xerc20-abi.js.map +1 -1
  292. package/dist/token/xerc20-limits.d.ts +63 -0
  293. package/dist/token/xerc20-limits.d.ts.map +1 -0
  294. package/dist/token/xerc20-limits.js +80 -0
  295. package/dist/token/xerc20-limits.js.map +1 -0
  296. package/dist/token/xerc20.d.ts +30 -1
  297. package/dist/token/xerc20.d.ts.map +1 -1
  298. package/dist/token/xerc20.js +137 -54
  299. package/dist/token/xerc20.js.map +1 -1
  300. package/dist/token/xerc20.test.js +461 -169
  301. package/dist/token/xerc20.test.js.map +1 -1
  302. package/dist/types.d.ts +6 -36
  303. package/dist/types.d.ts.map +1 -1
  304. package/dist/types.js +1 -1
  305. package/dist/types.js.map +1 -1
  306. package/dist/utils/cosmos.d.ts +113 -844
  307. package/dist/utils/cosmos.d.ts.map +1 -1
  308. package/dist/utils/cosmos.js +50 -91
  309. package/dist/utils/cosmos.js.map +1 -1
  310. package/dist/utils/ism.d.ts +167 -1
  311. package/dist/utils/ism.d.ts.map +1 -1
  312. package/dist/utils/ism.js +412 -2
  313. package/dist/utils/ism.js.map +1 -1
  314. package/dist/utils/ism.test.d.ts +2 -0
  315. package/dist/utils/ism.test.d.ts.map +1 -0
  316. package/dist/utils/ism.test.js +372 -0
  317. package/dist/utils/ism.test.js.map +1 -0
  318. package/dist/utils/schemas.d.ts +3 -3
  319. package/dist/utils/schemas.d.ts.map +1 -1
  320. package/dist/utils/schemas.js +2 -1
  321. package/dist/utils/schemas.js.map +1 -1
  322. package/dist/warp/types.d.ts +25 -367
  323. package/dist/warp/types.d.ts.map +1 -1
  324. package/package.json +11 -11
@@ -18,7 +18,7 @@ export type DerivedMailboxClientConfig = MailboxClientConfig & {
18
18
  interchainSecurityModule: DerivedIsmConfig | Address;
19
19
  };
20
20
  export type RouterConfig = z.infer<typeof RouterConfigSchema>;
21
- export type DerivedRouterConfig = Omit<RouterConfig, 'tokenFee'> & {
21
+ export type DerivedRouterConfig = Omit<RouterConfig, 'hook' | 'interchainSecurityModule' | 'tokenFee'> & {
22
22
  tokenFee?: DerivedTokenFeeConfig;
23
23
  } & DerivedMailboxClientConfig;
24
24
  export type GasRouterConfig = z.infer<typeof GasRouterConfigSchema>;
@@ -68,1863 +68,72 @@ export type DestinationGas = z.infer<typeof DestinationGasSchema>;
68
68
  export declare const MailboxClientConfigSchema: z.ZodObject<{
69
69
  owner: z.ZodString;
70
70
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
71
- } & {
72
71
  mailbox: z.ZodString;
73
- hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
74
- owner: z.ZodString;
75
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
76
- } & {
77
- type: z.ZodLiteral<"protocolFee">;
78
- beneficiary: z.ZodString;
79
- maxProtocolFee: z.ZodString;
80
- protocolFee: z.ZodString;
81
- }, "strip", z.ZodTypeAny, {
82
- owner: string;
83
- ownerOverrides?: Record<string, string> | undefined;
84
- type: "protocolFee";
85
- beneficiary: string;
86
- maxProtocolFee: string;
87
- protocolFee: string;
88
- }, {
89
- owner: string;
90
- ownerOverrides?: Record<string, string> | undefined;
91
- type: "protocolFee";
92
- beneficiary: string;
93
- maxProtocolFee: string;
94
- protocolFee: string;
95
- }>, z.ZodObject<{
96
- owner: z.ZodString;
97
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
98
- } & {
99
- paused: z.ZodBoolean;
100
- } & {
101
- type: z.ZodLiteral<"pausableHook">;
102
- }, "strip", z.ZodTypeAny, {
103
- owner: string;
104
- ownerOverrides?: Record<string, string> | undefined;
105
- paused: boolean;
106
- type: "pausableHook";
107
- }, {
108
- owner: string;
109
- ownerOverrides?: Record<string, string> | undefined;
110
- paused: boolean;
111
- type: "pausableHook";
112
- }>, z.ZodObject<{
113
- owner: z.ZodString;
114
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
115
- } & {
116
- type: z.ZodLiteral<"opStackHook">;
117
- nativeBridge: z.ZodString;
118
- destinationChain: z.ZodString;
119
- }, "strip", z.ZodTypeAny, {
120
- owner: string;
121
- ownerOverrides?: Record<string, string> | undefined;
122
- type: "opStackHook";
123
- nativeBridge: string;
124
- destinationChain: string;
125
- }, {
126
- owner: string;
127
- ownerOverrides?: Record<string, string> | undefined;
128
- type: "opStackHook";
129
- nativeBridge: string;
130
- destinationChain: string;
131
- }>, z.ZodObject<{
132
- type: z.ZodLiteral<"merkleTreeHook">;
133
- }, "strip", z.ZodTypeAny, {
134
- type: "merkleTreeHook";
135
- }, {
136
- type: "merkleTreeHook";
137
- }>, z.ZodObject<{
138
- owner: z.ZodString;
139
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
140
- } & {
141
- type: z.ZodLiteral<"interchainGasPaymaster">;
142
- beneficiary: z.ZodString;
143
- oracleKey: z.ZodString;
144
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
145
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
146
- gasPrice: z.ZodString;
147
- tokenExchangeRate: z.ZodString;
148
- } & {
149
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
150
- } & {
151
- typicalCost: z.ZodOptional<z.ZodObject<{
152
- handleGasAmount: z.ZodNumber;
153
- totalGasAmount: z.ZodNumber;
154
- totalUsdCost: z.ZodNumber;
155
- }, "strip", z.ZodTypeAny, {
156
- handleGasAmount: number;
157
- totalGasAmount: number;
158
- totalUsdCost: number;
159
- }, {
160
- handleGasAmount: number;
161
- totalGasAmount: number;
162
- totalUsdCost: number;
163
- }>>;
164
- }, "strip", z.ZodTypeAny, {
165
- gasPrice: string;
166
- tokenExchangeRate: string;
167
- tokenDecimals?: number | undefined;
168
- typicalCost?: {
169
- handleGasAmount: number;
170
- totalGasAmount: number;
171
- totalUsdCost: number;
172
- } | undefined;
173
- }, {
174
- gasPrice: string;
175
- tokenExchangeRate: string;
176
- tokenDecimals?: number | undefined;
177
- typicalCost?: {
178
- handleGasAmount: number;
179
- totalGasAmount: number;
180
- totalUsdCost: number;
181
- } | undefined;
182
- }>>;
183
- igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
184
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
185
- contractVersion: z.ZodOptional<z.ZodString>;
186
- tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
187
- gasPrice: z.ZodString;
188
- tokenExchangeRate: z.ZodString;
189
- } & {
190
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
191
- }, "strip", z.ZodTypeAny, {
192
- gasPrice: string;
193
- tokenExchangeRate: string;
194
- tokenDecimals?: number | undefined;
195
- }, {
196
- gasPrice: string;
197
- tokenExchangeRate: string;
198
- tokenDecimals?: number | undefined;
199
- }>>>>;
200
- }, "strip", z.ZodTypeAny, {
201
- owner: string;
202
- ownerOverrides?: Record<string, string> | undefined;
203
- type: "interchainGasPaymaster";
204
- beneficiary: string;
205
- oracleKey: string;
206
- overhead: Record<string, number>;
207
- oracleConfig: Record<string, {
208
- gasPrice: string;
209
- tokenExchangeRate: string;
210
- tokenDecimals?: number | undefined;
211
- typicalCost?: {
212
- handleGasAmount: number;
213
- totalGasAmount: number;
214
- totalUsdCost: number;
215
- } | undefined;
216
- }>;
217
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
218
- quoteSigners?: string[] | undefined;
219
- contractVersion?: string | undefined;
220
- tokenOracleConfig?: Record<string, Record<string, {
221
- gasPrice: string;
222
- tokenExchangeRate: string;
223
- tokenDecimals?: number | undefined;
224
- }>> | undefined;
225
- }, {
226
- owner: string;
227
- ownerOverrides?: Record<string, string> | undefined;
228
- type: "interchainGasPaymaster";
229
- beneficiary: string;
230
- oracleKey: string;
231
- overhead: Record<string, number>;
232
- oracleConfig: Record<string, {
233
- gasPrice: string;
234
- tokenExchangeRate: string;
235
- tokenDecimals?: number | undefined;
236
- typicalCost?: {
237
- handleGasAmount: number;
238
- totalGasAmount: number;
239
- totalUsdCost: number;
240
- } | undefined;
241
- }>;
242
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
243
- quoteSigners?: string[] | undefined;
244
- contractVersion?: string | undefined;
245
- tokenOracleConfig?: Record<string, Record<string, {
246
- gasPrice: string;
247
- tokenExchangeRate: string;
248
- tokenDecimals?: number | undefined;
249
- }>> | undefined;
250
- }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
251
- type: z.ZodLiteral<"defaultHook">;
252
- }, "strip", z.ZodTypeAny, {
253
- type: "defaultHook";
254
- }, {
255
- type: "defaultHook";
256
- }>, z.ZodObject<{
257
- type: z.ZodLiteral<"ccipHook">;
258
- destinationChain: z.ZodString;
259
- }, "strip", z.ZodTypeAny, {
260
- type: "ccipHook";
261
- destinationChain: string;
262
- }, {
263
- type: "ccipHook";
264
- destinationChain: string;
265
- }>, z.ZodObject<{
266
- type: z.ZodLiteral<"cctpHook">;
267
- address: z.ZodString;
268
- }, "strip", z.ZodTypeAny, {
269
- type: "cctpHook";
270
- address: string;
271
- }, {
272
- type: "cctpHook";
273
- address: string;
274
- }>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
275
- owner: z.ZodString;
276
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
277
- } & {
278
- type: z.ZodLiteral<"rateLimitedHook">;
279
- maxCapacity: z.ZodString;
280
- duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
281
- }, "strip", z.ZodTypeAny, {
282
- owner: string;
283
- ownerOverrides?: Record<string, string> | undefined;
284
- type: "rateLimitedHook";
285
- maxCapacity: string;
286
- duration: bigint;
287
- }, {
288
- owner: string;
289
- ownerOverrides?: Record<string, string> | undefined;
290
- type: "rateLimitedHook";
291
- maxCapacity: string;
292
- duration?: string | number | bigint | undefined;
293
- }>, {
294
- owner: string;
295
- ownerOverrides?: Record<string, string> | undefined;
296
- type: "rateLimitedHook";
297
- maxCapacity: string;
298
- duration: bigint;
299
- }, {
300
- owner: string;
301
- ownerOverrides?: Record<string, string> | undefined;
302
- type: "rateLimitedHook";
303
- maxCapacity: string;
304
- duration?: string | number | bigint | undefined;
305
- }>, {
306
- owner: string;
307
- ownerOverrides?: Record<string, string> | undefined;
308
- type: "rateLimitedHook";
309
- maxCapacity: string;
310
- duration: bigint;
311
- }, {
312
- owner: string;
313
- ownerOverrides?: Record<string, string> | undefined;
314
- type: "rateLimitedHook";
315
- maxCapacity: string;
316
- duration?: string | number | bigint | undefined;
317
- }>, {
318
- owner: string;
319
- ownerOverrides?: Record<string, string> | undefined;
320
- type: "rateLimitedHook";
321
- maxCapacity: string;
322
- duration: bigint;
323
- }, {
324
- owner: string;
325
- ownerOverrides?: Record<string, string> | undefined;
326
- type: "rateLimitedHook";
327
- maxCapacity: string;
328
- duration?: string | number | bigint | undefined;
329
- }>, z.ZodObject<{
330
- type: z.ZodLiteral<"unknownHook">;
331
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
332
- type: z.ZodLiteral<"unknownHook">;
333
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
334
- type: z.ZodLiteral<"unknownHook">;
335
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
336
- type: z.ZodLiteral<"predicateHook">;
337
- address: z.ZodString;
338
- }, "strip", z.ZodTypeAny, {
339
- type: "predicateHook";
340
- address: string;
341
- }, {
342
- type: "predicateHook";
343
- address: string;
344
- }>]>>;
345
- interchainSecurityModule: z.ZodOptional<z.ZodType<import("../ism/types.js").IsmConfig, z.ZodTypeDef, unknown>>;
346
- }, "strip", z.ZodTypeAny, {
347
- owner: string;
348
- ownerOverrides?: Record<string, string> | undefined;
349
- mailbox: string;
350
- hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
351
- owner: string;
352
- ownerOverrides?: Record<string, string> | undefined;
353
- type: "protocolFee";
354
- beneficiary: string;
355
- maxProtocolFee: string;
356
- protocolFee: string;
357
- } | {
358
- owner: string;
359
- ownerOverrides?: Record<string, string> | undefined;
360
- paused: boolean;
361
- type: "pausableHook";
362
- } | {
363
- owner: string;
364
- ownerOverrides?: Record<string, string> | undefined;
365
- type: "opStackHook";
366
- nativeBridge: string;
367
- destinationChain: string;
368
- } | {
369
- type: "merkleTreeHook";
370
- } | {
371
- owner: string;
372
- ownerOverrides?: Record<string, string> | undefined;
373
- type: "interchainGasPaymaster";
374
- beneficiary: string;
375
- oracleKey: string;
376
- overhead: Record<string, number>;
377
- oracleConfig: Record<string, {
378
- gasPrice: string;
379
- tokenExchangeRate: string;
380
- tokenDecimals?: number | undefined;
381
- typicalCost?: {
382
- handleGasAmount: number;
383
- totalGasAmount: number;
384
- totalUsdCost: number;
385
- } | undefined;
386
- }>;
387
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
388
- quoteSigners?: string[] | undefined;
389
- contractVersion?: string | undefined;
390
- tokenOracleConfig?: Record<string, Record<string, {
391
- gasPrice: string;
392
- tokenExchangeRate: string;
393
- tokenDecimals?: number | undefined;
394
- }>> | undefined;
395
- } | {
396
- type: "defaultHook";
397
- } | {
398
- type: "ccipHook";
399
- destinationChain: string;
400
- } | {
401
- type: "cctpHook";
402
- address: string;
403
- } | {
404
- owner: string;
405
- ownerOverrides?: Record<string, string> | undefined;
406
- type: "rateLimitedHook";
407
- maxCapacity: string;
408
- duration: bigint;
409
- } | {
410
- type: "predicateHook";
411
- address: string;
412
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
413
- type: z.ZodLiteral<"unknownHook">;
414
- }, z.ZodTypeAny, "passthrough"> | undefined;
415
- interchainSecurityModule?: import("../ism/types.js").IsmConfig | undefined;
416
- }, {
417
- owner: string;
418
- ownerOverrides?: Record<string, string> | undefined;
419
- mailbox: string;
420
- hook?: unknown;
421
- interchainSecurityModule?: unknown;
422
- }>;
72
+ hook: z.ZodOptional<z.ZodType<import("../hook/types.js").HookConfig, unknown, z.core.$ZodTypeInternals<import("../hook/types.js").HookConfig, unknown>>>;
73
+ interchainSecurityModule: z.ZodOptional<z.ZodType<import("../ism/types.js").IsmConfig, unknown, z.core.$ZodTypeInternals<import("../ism/types.js").IsmConfig, unknown>>>;
74
+ }, z.core.$strip>;
423
75
  export declare const ForeignDeploymentConfigSchema: z.ZodObject<{
424
76
  foreignDeployment: z.ZodOptional<z.ZodString>;
425
- }, "strip", z.ZodTypeAny, {
426
- foreignDeployment?: string | undefined;
427
- }, {
428
- foreignDeployment?: string | undefined;
429
- }>;
77
+ }, z.core.$strip>;
430
78
  export declare const RemoteRouterDomainOrChainNameSchema: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
431
79
  export type RemoteRouterDomainOrChainName = z.infer<typeof RemoteRouterDomainOrChainNameSchema>;
432
80
  export declare function resolveRouterMapConfig<T>(multiProvider: MultiProvider, routerMap: Record<RemoteRouterDomainOrChainName, T>): Record<number, T>;
433
81
  export declare const RemoteRouterRouter: z.ZodObject<{
434
82
  address: z.ZodString;
435
- }, "strip", z.ZodTypeAny, {
436
- address: string;
437
- }, {
438
- address: string;
439
- }>;
83
+ }, z.core.$strip>;
440
84
  export declare const RemoteRoutersSchema: z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
441
85
  address: z.ZodString;
442
- }, "strip", z.ZodTypeAny, {
443
- address: string;
444
- }, {
445
- address: string;
446
- }>>;
86
+ }, z.core.$strip>>;
447
87
  export declare const RouterConfigSchema: z.ZodObject<{
448
88
  owner: z.ZodString;
449
89
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
450
- } & {
451
- mailbox: z.ZodString;
452
- hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
453
- owner: z.ZodString;
454
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
455
- } & {
456
- type: z.ZodLiteral<"protocolFee">;
457
- beneficiary: z.ZodString;
458
- maxProtocolFee: z.ZodString;
459
- protocolFee: z.ZodString;
460
- }, "strip", z.ZodTypeAny, {
461
- owner: string;
462
- ownerOverrides?: Record<string, string> | undefined;
463
- type: "protocolFee";
464
- beneficiary: string;
465
- maxProtocolFee: string;
466
- protocolFee: string;
467
- }, {
468
- owner: string;
469
- ownerOverrides?: Record<string, string> | undefined;
470
- type: "protocolFee";
471
- beneficiary: string;
472
- maxProtocolFee: string;
473
- protocolFee: string;
474
- }>, z.ZodObject<{
475
- owner: z.ZodString;
476
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
477
- } & {
478
- paused: z.ZodBoolean;
479
- } & {
480
- type: z.ZodLiteral<"pausableHook">;
481
- }, "strip", z.ZodTypeAny, {
482
- owner: string;
483
- ownerOverrides?: Record<string, string> | undefined;
484
- paused: boolean;
485
- type: "pausableHook";
486
- }, {
487
- owner: string;
488
- ownerOverrides?: Record<string, string> | undefined;
489
- paused: boolean;
490
- type: "pausableHook";
491
- }>, z.ZodObject<{
492
- owner: z.ZodString;
493
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
494
- } & {
495
- type: z.ZodLiteral<"opStackHook">;
496
- nativeBridge: z.ZodString;
497
- destinationChain: z.ZodString;
498
- }, "strip", z.ZodTypeAny, {
499
- owner: string;
500
- ownerOverrides?: Record<string, string> | undefined;
501
- type: "opStackHook";
502
- nativeBridge: string;
503
- destinationChain: string;
504
- }, {
505
- owner: string;
506
- ownerOverrides?: Record<string, string> | undefined;
507
- type: "opStackHook";
508
- nativeBridge: string;
509
- destinationChain: string;
510
- }>, z.ZodObject<{
511
- type: z.ZodLiteral<"merkleTreeHook">;
512
- }, "strip", z.ZodTypeAny, {
513
- type: "merkleTreeHook";
514
- }, {
515
- type: "merkleTreeHook";
516
- }>, z.ZodObject<{
517
- owner: z.ZodString;
518
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
519
- } & {
520
- type: z.ZodLiteral<"interchainGasPaymaster">;
521
- beneficiary: z.ZodString;
522
- oracleKey: z.ZodString;
523
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
524
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
525
- gasPrice: z.ZodString;
526
- tokenExchangeRate: z.ZodString;
527
- } & {
528
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
529
- } & {
530
- typicalCost: z.ZodOptional<z.ZodObject<{
531
- handleGasAmount: z.ZodNumber;
532
- totalGasAmount: z.ZodNumber;
533
- totalUsdCost: z.ZodNumber;
534
- }, "strip", z.ZodTypeAny, {
535
- handleGasAmount: number;
536
- totalGasAmount: number;
537
- totalUsdCost: number;
538
- }, {
539
- handleGasAmount: number;
540
- totalGasAmount: number;
541
- totalUsdCost: number;
542
- }>>;
543
- }, "strip", z.ZodTypeAny, {
544
- gasPrice: string;
545
- tokenExchangeRate: string;
546
- tokenDecimals?: number | undefined;
547
- typicalCost?: {
548
- handleGasAmount: number;
549
- totalGasAmount: number;
550
- totalUsdCost: number;
551
- } | undefined;
552
- }, {
553
- gasPrice: string;
554
- tokenExchangeRate: string;
555
- tokenDecimals?: number | undefined;
556
- typicalCost?: {
557
- handleGasAmount: number;
558
- totalGasAmount: number;
559
- totalUsdCost: number;
560
- } | undefined;
561
- }>>;
562
- igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
563
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
564
- contractVersion: z.ZodOptional<z.ZodString>;
565
- tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
566
- gasPrice: z.ZodString;
567
- tokenExchangeRate: z.ZodString;
568
- } & {
569
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
570
- }, "strip", z.ZodTypeAny, {
571
- gasPrice: string;
572
- tokenExchangeRate: string;
573
- tokenDecimals?: number | undefined;
574
- }, {
575
- gasPrice: string;
576
- tokenExchangeRate: string;
577
- tokenDecimals?: number | undefined;
578
- }>>>>;
579
- }, "strip", z.ZodTypeAny, {
580
- owner: string;
581
- ownerOverrides?: Record<string, string> | undefined;
582
- type: "interchainGasPaymaster";
583
- beneficiary: string;
584
- oracleKey: string;
585
- overhead: Record<string, number>;
586
- oracleConfig: Record<string, {
587
- gasPrice: string;
588
- tokenExchangeRate: string;
589
- tokenDecimals?: number | undefined;
590
- typicalCost?: {
591
- handleGasAmount: number;
592
- totalGasAmount: number;
593
- totalUsdCost: number;
594
- } | undefined;
595
- }>;
596
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
597
- quoteSigners?: string[] | undefined;
598
- contractVersion?: string | undefined;
599
- tokenOracleConfig?: Record<string, Record<string, {
600
- gasPrice: string;
601
- tokenExchangeRate: string;
602
- tokenDecimals?: number | undefined;
603
- }>> | undefined;
604
- }, {
605
- owner: string;
606
- ownerOverrides?: Record<string, string> | undefined;
607
- type: "interchainGasPaymaster";
608
- beneficiary: string;
609
- oracleKey: string;
610
- overhead: Record<string, number>;
611
- oracleConfig: Record<string, {
612
- gasPrice: string;
613
- tokenExchangeRate: string;
614
- tokenDecimals?: number | undefined;
615
- typicalCost?: {
616
- handleGasAmount: number;
617
- totalGasAmount: number;
618
- totalUsdCost: number;
619
- } | undefined;
620
- }>;
621
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
622
- quoteSigners?: string[] | undefined;
623
- contractVersion?: string | undefined;
624
- tokenOracleConfig?: Record<string, Record<string, {
625
- gasPrice: string;
626
- tokenExchangeRate: string;
627
- tokenDecimals?: number | undefined;
628
- }>> | undefined;
629
- }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
630
- type: z.ZodLiteral<"defaultHook">;
631
- }, "strip", z.ZodTypeAny, {
632
- type: "defaultHook";
633
- }, {
634
- type: "defaultHook";
635
- }>, z.ZodObject<{
636
- type: z.ZodLiteral<"ccipHook">;
637
- destinationChain: z.ZodString;
638
- }, "strip", z.ZodTypeAny, {
639
- type: "ccipHook";
640
- destinationChain: string;
641
- }, {
642
- type: "ccipHook";
643
- destinationChain: string;
644
- }>, z.ZodObject<{
645
- type: z.ZodLiteral<"cctpHook">;
646
- address: z.ZodString;
647
- }, "strip", z.ZodTypeAny, {
648
- type: "cctpHook";
649
- address: string;
650
- }, {
651
- type: "cctpHook";
652
- address: string;
653
- }>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
654
- owner: z.ZodString;
655
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
656
- } & {
657
- type: z.ZodLiteral<"rateLimitedHook">;
658
- maxCapacity: z.ZodString;
659
- duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
660
- }, "strip", z.ZodTypeAny, {
661
- owner: string;
662
- ownerOverrides?: Record<string, string> | undefined;
663
- type: "rateLimitedHook";
664
- maxCapacity: string;
665
- duration: bigint;
666
- }, {
667
- owner: string;
668
- ownerOverrides?: Record<string, string> | undefined;
669
- type: "rateLimitedHook";
670
- maxCapacity: string;
671
- duration?: string | number | bigint | undefined;
672
- }>, {
673
- owner: string;
674
- ownerOverrides?: Record<string, string> | undefined;
675
- type: "rateLimitedHook";
676
- maxCapacity: string;
677
- duration: bigint;
678
- }, {
679
- owner: string;
680
- ownerOverrides?: Record<string, string> | undefined;
681
- type: "rateLimitedHook";
682
- maxCapacity: string;
683
- duration?: string | number | bigint | undefined;
684
- }>, {
685
- owner: string;
686
- ownerOverrides?: Record<string, string> | undefined;
687
- type: "rateLimitedHook";
688
- maxCapacity: string;
689
- duration: bigint;
690
- }, {
691
- owner: string;
692
- ownerOverrides?: Record<string, string> | undefined;
693
- type: "rateLimitedHook";
694
- maxCapacity: string;
695
- duration?: string | number | bigint | undefined;
696
- }>, {
697
- owner: string;
698
- ownerOverrides?: Record<string, string> | undefined;
699
- type: "rateLimitedHook";
700
- maxCapacity: string;
701
- duration: bigint;
702
- }, {
703
- owner: string;
704
- ownerOverrides?: Record<string, string> | undefined;
705
- type: "rateLimitedHook";
706
- maxCapacity: string;
707
- duration?: string | number | bigint | undefined;
708
- }>, z.ZodObject<{
709
- type: z.ZodLiteral<"unknownHook">;
710
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
711
- type: z.ZodLiteral<"unknownHook">;
712
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
713
- type: z.ZodLiteral<"unknownHook">;
714
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
715
- type: z.ZodLiteral<"predicateHook">;
716
- address: z.ZodString;
717
- }, "strip", z.ZodTypeAny, {
718
- type: "predicateHook";
719
- address: string;
720
- }, {
721
- type: "predicateHook";
722
- address: string;
723
- }>]>>;
724
- interchainSecurityModule: z.ZodOptional<z.ZodType<import("../ism/types.js").IsmConfig, z.ZodTypeDef, unknown>>;
725
- } & {
726
- foreignDeployment: z.ZodOptional<z.ZodString>;
727
- } & {
728
90
  timelock: z.ZodOptional<z.ZodObject<{
729
- delay: z.ZodEffects<z.ZodNumber, number, number>;
91
+ delay: z.ZodNumber;
730
92
  roles: z.ZodObject<{
731
- executor: z.ZodEffects<z.ZodString, string, string>;
732
- proposer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
733
- }, "strip", z.ZodTypeAny, {
734
- executor: string;
735
- proposer: string;
736
- }, {
737
- executor: string;
738
- proposer: string;
739
- }>;
740
- }, "strip", z.ZodTypeAny, {
741
- delay: number;
742
- roles: {
743
- executor: string;
744
- proposer: string;
745
- };
746
- }, {
747
- delay: number;
748
- roles: {
749
- executor: string;
750
- proposer: string;
751
- };
752
- }>>;
753
- } & {
93
+ executor: z.ZodString;
94
+ proposer: z.ZodString;
95
+ }, z.core.$strip>;
96
+ }, z.core.$strip>>;
97
+ mailbox: z.ZodString;
98
+ hook: z.ZodOptional<z.ZodType<import("../hook/types.js").HookConfig, unknown, z.core.$ZodTypeInternals<import("../hook/types.js").HookConfig, unknown>>>;
99
+ interchainSecurityModule: z.ZodOptional<z.ZodType<import("../ism/types.js").IsmConfig, unknown, z.core.$ZodTypeInternals<import("../ism/types.js").IsmConfig, unknown>>>;
100
+ foreignDeployment: z.ZodOptional<z.ZodString>;
754
101
  remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
755
102
  address: z.ZodString;
756
- }, "strip", z.ZodTypeAny, {
757
- address: string;
758
- }, {
759
- address: string;
760
- }>>>;
103
+ }, z.core.$strip>>>;
761
104
  proxyAdmin: z.ZodOptional<z.ZodObject<{
762
105
  owner: z.ZodString;
763
106
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
764
- } & {
765
107
  address: z.ZodOptional<z.ZodString>;
766
- }, "strip", z.ZodTypeAny, {
767
- owner: string;
768
- ownerOverrides?: Record<string, string> | undefined;
769
- address?: string | undefined;
770
- }, {
771
- owner: string;
772
- ownerOverrides?: Record<string, string> | undefined;
773
- address?: string | undefined;
774
- }>>;
775
- tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
776
- owner: z.ZodString;
777
- beneficiary: z.ZodOptional<z.ZodString>;
778
- } & {
779
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
780
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
781
- type: z.ZodLiteral<"LinearFee">;
782
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
783
- }, "strip", z.ZodTypeAny, {
784
- owner: string;
785
- beneficiary?: string | undefined;
786
- maxFee?: bigint | undefined;
787
- halfAmount?: bigint | undefined;
788
- type: "LinearFee";
789
- bps?: number | undefined;
790
- }, {
791
- owner: string;
792
- beneficiary?: string | undefined;
793
- maxFee?: string | number | bigint | undefined;
794
- halfAmount?: string | number | bigint | undefined;
795
- type: "LinearFee";
796
- bps?: string | number | undefined;
797
- }>, {
798
- owner: string;
799
- beneficiary?: string | undefined;
800
- maxFee?: bigint | undefined;
801
- halfAmount?: bigint | undefined;
802
- type: "LinearFee";
803
- bps?: number | undefined;
804
- }, {
805
- owner: string;
806
- beneficiary?: string | undefined;
807
- maxFee?: string | number | bigint | undefined;
808
- halfAmount?: string | number | bigint | undefined;
809
- type: "LinearFee";
810
- bps?: string | number | undefined;
811
- }>, {
812
- owner: string;
813
- beneficiary?: string | undefined;
814
- maxFee?: bigint | undefined;
815
- halfAmount?: bigint | undefined;
816
- type: "LinearFee";
817
- bps: number;
818
- }, {
819
- owner: string;
820
- beneficiary?: string | undefined;
821
- maxFee?: string | number | bigint | undefined;
822
- halfAmount?: string | number | bigint | undefined;
823
- type: "LinearFee";
824
- bps?: string | number | undefined;
825
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
826
- owner: z.ZodString;
827
- beneficiary: z.ZodOptional<z.ZodString>;
828
- } & {
829
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
830
- } & {
831
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
832
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
833
- type: z.ZodLiteral<"OffchainQuotedLinearFee">;
834
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
835
- }, "strip", z.ZodTypeAny, {
836
- owner: string;
837
- beneficiary?: string | undefined;
838
- maxFee?: bigint | undefined;
839
- halfAmount?: bigint | undefined;
840
- quoteSigners?: string[] | undefined;
841
- type: "OffchainQuotedLinearFee";
842
- bps?: number | undefined;
843
- }, {
844
- owner: string;
845
- beneficiary?: string | undefined;
846
- maxFee?: string | number | bigint | undefined;
847
- halfAmount?: string | number | bigint | undefined;
848
- quoteSigners?: string[] | undefined;
849
- type: "OffchainQuotedLinearFee";
850
- bps?: string | number | undefined;
851
- }>, {
852
- owner: string;
853
- beneficiary?: string | undefined;
854
- maxFee?: bigint | undefined;
855
- halfAmount?: bigint | undefined;
856
- quoteSigners?: string[] | undefined;
857
- type: "OffchainQuotedLinearFee";
858
- bps?: number | undefined;
859
- }, {
860
- owner: string;
861
- beneficiary?: string | undefined;
862
- maxFee?: string | number | bigint | undefined;
863
- halfAmount?: string | number | bigint | undefined;
864
- quoteSigners?: string[] | undefined;
865
- type: "OffchainQuotedLinearFee";
866
- bps?: string | number | undefined;
867
- }>, {
868
- owner: string;
869
- beneficiary?: string | undefined;
870
- maxFee?: bigint | undefined;
871
- halfAmount?: bigint | undefined;
872
- quoteSigners?: string[] | undefined;
873
- type: "OffchainQuotedLinearFee";
874
- bps: number;
875
- }, {
876
- owner: string;
877
- beneficiary?: string | undefined;
878
- maxFee?: string | number | bigint | undefined;
879
- halfAmount?: string | number | bigint | undefined;
880
- quoteSigners?: string[] | undefined;
881
- type: "OffchainQuotedLinearFee";
882
- bps?: string | number | undefined;
883
- }>, z.ZodEffects<z.ZodObject<{
884
- owner: z.ZodString;
885
- beneficiary: z.ZodOptional<z.ZodString>;
886
- } & {
887
- type: z.ZodLiteral<"ProgressiveFee">;
888
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
889
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
890
- }, "strip", z.ZodTypeAny, {
891
- owner: string;
892
- beneficiary?: string | undefined;
893
- type: "ProgressiveFee";
894
- maxFee: bigint;
895
- halfAmount: bigint;
896
- }, {
897
- owner: string;
898
- beneficiary?: string | undefined;
899
- type: "ProgressiveFee";
900
- maxFee: string | number | bigint;
901
- halfAmount: string | number | bigint;
902
- }>, {
903
- owner: string;
904
- beneficiary?: string | undefined;
905
- type: "ProgressiveFee";
906
- maxFee: bigint;
907
- halfAmount: bigint;
908
- }, {
909
- owner: string;
910
- beneficiary?: string | undefined;
911
- type: "ProgressiveFee";
912
- maxFee: string | number | bigint;
913
- halfAmount: string | number | bigint;
914
- }>, z.ZodEffects<z.ZodObject<{
915
- owner: z.ZodString;
916
- beneficiary: z.ZodOptional<z.ZodString>;
917
- } & {
918
- type: z.ZodLiteral<"RegressiveFee">;
919
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
920
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
921
- }, "strip", z.ZodTypeAny, {
922
- owner: string;
923
- beneficiary?: string | undefined;
924
- type: "RegressiveFee";
925
- maxFee: bigint;
926
- halfAmount: bigint;
927
- }, {
928
- owner: string;
929
- beneficiary?: string | undefined;
930
- type: "RegressiveFee";
931
- maxFee: string | number | bigint;
932
- halfAmount: string | number | bigint;
933
- }>, {
934
- owner: string;
935
- beneficiary?: string | undefined;
936
- type: "RegressiveFee";
937
- maxFee: bigint;
938
- halfAmount: bigint;
939
- }, {
940
- owner: string;
941
- beneficiary?: string | undefined;
942
- type: "RegressiveFee";
943
- maxFee: string | number | bigint;
944
- halfAmount: string | number | bigint;
945
- }>, z.ZodEffects<z.ZodObject<{
946
- owner: z.ZodString;
947
- beneficiary: z.ZodOptional<z.ZodString>;
948
- } & {
949
- type: z.ZodLiteral<"RoutingFee">;
950
- feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
951
- }, "strip", z.ZodTypeAny, {
952
- owner: string;
953
- beneficiary?: string | undefined;
954
- type: "RoutingFee";
955
- feeContracts: Record<string, any>;
956
- }, {
957
- owner: string;
958
- beneficiary?: string | undefined;
959
- type: "RoutingFee";
960
- feeContracts: Record<string, any>;
961
- }>, {
962
- owner: string;
963
- beneficiary?: string | undefined;
964
- type: "RoutingFee";
965
- feeContracts: Record<string, any>;
966
- }, {
967
- owner: string;
968
- beneficiary?: string | undefined;
969
- type: "RoutingFee";
970
- feeContracts: Record<string, any>;
971
- }>, z.ZodEffects<z.ZodObject<{
972
- owner: z.ZodString;
973
- beneficiary: z.ZodOptional<z.ZodString>;
974
- } & {
975
- type: z.ZodLiteral<"CrossCollateralRoutingFee">;
976
- feeContracts: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, any>, Record<string, any>>>;
977
- }, "strip", z.ZodTypeAny, {
978
- owner: string;
979
- beneficiary?: string | undefined;
980
- type: "CrossCollateralRoutingFee";
981
- feeContracts: Record<string, Record<string, any>>;
982
- }, {
983
- owner: string;
984
- beneficiary?: string | undefined;
985
- type: "CrossCollateralRoutingFee";
986
- feeContracts: Record<string, Record<string, any>>;
987
- }>, {
988
- owner: string;
989
- beneficiary?: string | undefined;
990
- type: "CrossCollateralRoutingFee";
991
- feeContracts: Record<string, Record<string, any>>;
992
- }, {
993
- owner: string;
994
- beneficiary?: string | undefined;
995
- type: "CrossCollateralRoutingFee";
996
- feeContracts: Record<string, Record<string, any>>;
997
- }>]>>;
998
- }, "strip", z.ZodTypeAny, {
999
- owner: string;
1000
- ownerOverrides?: Record<string, string> | undefined;
1001
- timelock?: {
1002
- delay: number;
1003
- roles: {
1004
- executor: string;
1005
- proposer: string;
1006
- };
1007
- } | undefined;
1008
- mailbox: string;
1009
- hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
1010
- owner: string;
1011
- ownerOverrides?: Record<string, string> | undefined;
1012
- type: "protocolFee";
1013
- beneficiary: string;
1014
- maxProtocolFee: string;
1015
- protocolFee: string;
1016
- } | {
1017
- owner: string;
1018
- ownerOverrides?: Record<string, string> | undefined;
1019
- paused: boolean;
1020
- type: "pausableHook";
1021
- } | {
1022
- owner: string;
1023
- ownerOverrides?: Record<string, string> | undefined;
1024
- type: "opStackHook";
1025
- nativeBridge: string;
1026
- destinationChain: string;
1027
- } | {
1028
- type: "merkleTreeHook";
1029
- } | {
1030
- owner: string;
1031
- ownerOverrides?: Record<string, string> | undefined;
1032
- type: "interchainGasPaymaster";
1033
- beneficiary: string;
1034
- oracleKey: string;
1035
- overhead: Record<string, number>;
1036
- oracleConfig: Record<string, {
1037
- gasPrice: string;
1038
- tokenExchangeRate: string;
1039
- tokenDecimals?: number | undefined;
1040
- typicalCost?: {
1041
- handleGasAmount: number;
1042
- totalGasAmount: number;
1043
- totalUsdCost: number;
1044
- } | undefined;
1045
- }>;
1046
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1047
- quoteSigners?: string[] | undefined;
1048
- contractVersion?: string | undefined;
1049
- tokenOracleConfig?: Record<string, Record<string, {
1050
- gasPrice: string;
1051
- tokenExchangeRate: string;
1052
- tokenDecimals?: number | undefined;
1053
- }>> | undefined;
1054
- } | {
1055
- type: "defaultHook";
1056
- } | {
1057
- type: "ccipHook";
1058
- destinationChain: string;
1059
- } | {
1060
- type: "cctpHook";
1061
- address: string;
1062
- } | {
1063
- owner: string;
1064
- ownerOverrides?: Record<string, string> | undefined;
1065
- type: "rateLimitedHook";
1066
- maxCapacity: string;
1067
- duration: bigint;
1068
- } | {
1069
- type: "predicateHook";
1070
- address: string;
1071
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
1072
- type: z.ZodLiteral<"unknownHook">;
1073
- }, z.ZodTypeAny, "passthrough"> | undefined;
1074
- interchainSecurityModule?: import("../ism/types.js").IsmConfig | undefined;
1075
- foreignDeployment?: string | undefined;
1076
- remoteRouters?: Record<string | number, {
1077
- address: string;
1078
- }> | undefined;
1079
- proxyAdmin?: {
1080
- owner: string;
1081
- ownerOverrides?: Record<string, string> | undefined;
1082
- address?: string | undefined;
1083
- } | undefined;
1084
- tokenFee?: {
1085
- owner: string;
1086
- beneficiary?: string | undefined;
1087
- type: "ProgressiveFee";
1088
- maxFee: bigint;
1089
- halfAmount: bigint;
1090
- } | {
1091
- owner: string;
1092
- beneficiary?: string | undefined;
1093
- type: "RegressiveFee";
1094
- maxFee: bigint;
1095
- halfAmount: bigint;
1096
- } | {
1097
- owner: string;
1098
- beneficiary?: string | undefined;
1099
- type: "RoutingFee";
1100
- feeContracts: Record<string, any>;
1101
- } | {
1102
- owner: string;
1103
- beneficiary?: string | undefined;
1104
- type: "CrossCollateralRoutingFee";
1105
- feeContracts: Record<string, Record<string, any>>;
1106
- } | {
1107
- owner: string;
1108
- beneficiary?: string | undefined;
1109
- maxFee?: bigint | undefined;
1110
- halfAmount?: bigint | undefined;
1111
- type: "LinearFee";
1112
- bps: number;
1113
- } | {
1114
- owner: string;
1115
- beneficiary?: string | undefined;
1116
- maxFee?: bigint | undefined;
1117
- halfAmount?: bigint | undefined;
1118
- quoteSigners?: string[] | undefined;
1119
- type: "OffchainQuotedLinearFee";
1120
- bps: number;
1121
- } | undefined;
1122
- }, {
1123
- owner: string;
1124
- ownerOverrides?: Record<string, string> | undefined;
1125
- timelock?: {
1126
- delay: number;
1127
- roles: {
1128
- executor: string;
1129
- proposer: string;
1130
- };
1131
- } | undefined;
1132
- mailbox: string;
1133
- hook?: unknown;
1134
- interchainSecurityModule?: unknown;
1135
- foreignDeployment?: string | undefined;
1136
- remoteRouters?: Record<string | number, {
1137
- address: string;
1138
- }> | undefined;
1139
- proxyAdmin?: {
1140
- owner: string;
1141
- ownerOverrides?: Record<string, string> | undefined;
1142
- address?: string | undefined;
1143
- } | undefined;
1144
- tokenFee?: {
1145
- owner: string;
1146
- beneficiary?: string | undefined;
1147
- maxFee?: string | number | bigint | undefined;
1148
- halfAmount?: string | number | bigint | undefined;
1149
- type: "LinearFee";
1150
- bps?: string | number | undefined;
1151
- } | {
1152
- owner: string;
1153
- beneficiary?: string | undefined;
1154
- maxFee?: string | number | bigint | undefined;
1155
- halfAmount?: string | number | bigint | undefined;
1156
- quoteSigners?: string[] | undefined;
1157
- type: "OffchainQuotedLinearFee";
1158
- bps?: string | number | undefined;
1159
- } | {
1160
- owner: string;
1161
- beneficiary?: string | undefined;
1162
- type: "ProgressiveFee";
1163
- maxFee: string | number | bigint;
1164
- halfAmount: string | number | bigint;
1165
- } | {
1166
- owner: string;
1167
- beneficiary?: string | undefined;
1168
- type: "RegressiveFee";
1169
- maxFee: string | number | bigint;
1170
- halfAmount: string | number | bigint;
1171
- } | {
1172
- owner: string;
1173
- beneficiary?: string | undefined;
1174
- type: "RoutingFee";
1175
- feeContracts: Record<string, any>;
1176
- } | {
1177
- owner: string;
1178
- beneficiary?: string | undefined;
1179
- type: "CrossCollateralRoutingFee";
1180
- feeContracts: Record<string, Record<string, any>>;
1181
- } | undefined;
1182
- }>;
108
+ }, z.core.$strip>>;
109
+ tokenFee: z.ZodOptional<z.ZodType<import("../fee/types.js").TokenFeeConfigInput, unknown, z.core.$ZodTypeInternals<import("../fee/types.js").TokenFeeConfigInput, unknown>>>;
110
+ }, z.core.$strip>;
1183
111
  export declare const DestinationGasSchema: z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>;
1184
112
  export declare const GasRouterConfigSchema: z.ZodObject<{
1185
113
  owner: z.ZodString;
1186
114
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1187
- } & {
1188
- mailbox: z.ZodString;
1189
- hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1190
- owner: z.ZodString;
1191
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1192
- } & {
1193
- type: z.ZodLiteral<"protocolFee">;
1194
- beneficiary: z.ZodString;
1195
- maxProtocolFee: z.ZodString;
1196
- protocolFee: z.ZodString;
1197
- }, "strip", z.ZodTypeAny, {
1198
- owner: string;
1199
- ownerOverrides?: Record<string, string> | undefined;
1200
- type: "protocolFee";
1201
- beneficiary: string;
1202
- maxProtocolFee: string;
1203
- protocolFee: string;
1204
- }, {
1205
- owner: string;
1206
- ownerOverrides?: Record<string, string> | undefined;
1207
- type: "protocolFee";
1208
- beneficiary: string;
1209
- maxProtocolFee: string;
1210
- protocolFee: string;
1211
- }>, z.ZodObject<{
1212
- owner: z.ZodString;
1213
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1214
- } & {
1215
- paused: z.ZodBoolean;
1216
- } & {
1217
- type: z.ZodLiteral<"pausableHook">;
1218
- }, "strip", z.ZodTypeAny, {
1219
- owner: string;
1220
- ownerOverrides?: Record<string, string> | undefined;
1221
- paused: boolean;
1222
- type: "pausableHook";
1223
- }, {
1224
- owner: string;
1225
- ownerOverrides?: Record<string, string> | undefined;
1226
- paused: boolean;
1227
- type: "pausableHook";
1228
- }>, z.ZodObject<{
1229
- owner: z.ZodString;
1230
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1231
- } & {
1232
- type: z.ZodLiteral<"opStackHook">;
1233
- nativeBridge: z.ZodString;
1234
- destinationChain: z.ZodString;
1235
- }, "strip", z.ZodTypeAny, {
1236
- owner: string;
1237
- ownerOverrides?: Record<string, string> | undefined;
1238
- type: "opStackHook";
1239
- nativeBridge: string;
1240
- destinationChain: string;
1241
- }, {
1242
- owner: string;
1243
- ownerOverrides?: Record<string, string> | undefined;
1244
- type: "opStackHook";
1245
- nativeBridge: string;
1246
- destinationChain: string;
1247
- }>, z.ZodObject<{
1248
- type: z.ZodLiteral<"merkleTreeHook">;
1249
- }, "strip", z.ZodTypeAny, {
1250
- type: "merkleTreeHook";
1251
- }, {
1252
- type: "merkleTreeHook";
1253
- }>, z.ZodObject<{
1254
- owner: z.ZodString;
1255
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1256
- } & {
1257
- type: z.ZodLiteral<"interchainGasPaymaster">;
1258
- beneficiary: z.ZodString;
1259
- oracleKey: z.ZodString;
1260
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
1261
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
1262
- gasPrice: z.ZodString;
1263
- tokenExchangeRate: z.ZodString;
1264
- } & {
1265
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
1266
- } & {
1267
- typicalCost: z.ZodOptional<z.ZodObject<{
1268
- handleGasAmount: z.ZodNumber;
1269
- totalGasAmount: z.ZodNumber;
1270
- totalUsdCost: z.ZodNumber;
1271
- }, "strip", z.ZodTypeAny, {
1272
- handleGasAmount: number;
1273
- totalGasAmount: number;
1274
- totalUsdCost: number;
1275
- }, {
1276
- handleGasAmount: number;
1277
- totalGasAmount: number;
1278
- totalUsdCost: number;
1279
- }>>;
1280
- }, "strip", z.ZodTypeAny, {
1281
- gasPrice: string;
1282
- tokenExchangeRate: string;
1283
- tokenDecimals?: number | undefined;
1284
- typicalCost?: {
1285
- handleGasAmount: number;
1286
- totalGasAmount: number;
1287
- totalUsdCost: number;
1288
- } | undefined;
1289
- }, {
1290
- gasPrice: string;
1291
- tokenExchangeRate: string;
1292
- tokenDecimals?: number | undefined;
1293
- typicalCost?: {
1294
- handleGasAmount: number;
1295
- totalGasAmount: number;
1296
- totalUsdCost: number;
1297
- } | undefined;
1298
- }>>;
1299
- igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
1300
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1301
- contractVersion: z.ZodOptional<z.ZodString>;
1302
- tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
1303
- gasPrice: z.ZodString;
1304
- tokenExchangeRate: z.ZodString;
1305
- } & {
1306
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
1307
- }, "strip", z.ZodTypeAny, {
1308
- gasPrice: string;
1309
- tokenExchangeRate: string;
1310
- tokenDecimals?: number | undefined;
1311
- }, {
1312
- gasPrice: string;
1313
- tokenExchangeRate: string;
1314
- tokenDecimals?: number | undefined;
1315
- }>>>>;
1316
- }, "strip", z.ZodTypeAny, {
1317
- owner: string;
1318
- ownerOverrides?: Record<string, string> | undefined;
1319
- type: "interchainGasPaymaster";
1320
- beneficiary: string;
1321
- oracleKey: string;
1322
- overhead: Record<string, number>;
1323
- oracleConfig: Record<string, {
1324
- gasPrice: string;
1325
- tokenExchangeRate: string;
1326
- tokenDecimals?: number | undefined;
1327
- typicalCost?: {
1328
- handleGasAmount: number;
1329
- totalGasAmount: number;
1330
- totalUsdCost: number;
1331
- } | undefined;
1332
- }>;
1333
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1334
- quoteSigners?: string[] | undefined;
1335
- contractVersion?: string | undefined;
1336
- tokenOracleConfig?: Record<string, Record<string, {
1337
- gasPrice: string;
1338
- tokenExchangeRate: string;
1339
- tokenDecimals?: number | undefined;
1340
- }>> | undefined;
1341
- }, {
1342
- owner: string;
1343
- ownerOverrides?: Record<string, string> | undefined;
1344
- type: "interchainGasPaymaster";
1345
- beneficiary: string;
1346
- oracleKey: string;
1347
- overhead: Record<string, number>;
1348
- oracleConfig: Record<string, {
1349
- gasPrice: string;
1350
- tokenExchangeRate: string;
1351
- tokenDecimals?: number | undefined;
1352
- typicalCost?: {
1353
- handleGasAmount: number;
1354
- totalGasAmount: number;
1355
- totalUsdCost: number;
1356
- } | undefined;
1357
- }>;
1358
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1359
- quoteSigners?: string[] | undefined;
1360
- contractVersion?: string | undefined;
1361
- tokenOracleConfig?: Record<string, Record<string, {
1362
- gasPrice: string;
1363
- tokenExchangeRate: string;
1364
- tokenDecimals?: number | undefined;
1365
- }>> | undefined;
1366
- }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, unknown>, z.ZodType<import("../hook/types.js").ArbL2ToL1HookConfig, z.ZodTypeDef, unknown>, z.ZodObject<{
1367
- type: z.ZodLiteral<"defaultHook">;
1368
- }, "strip", z.ZodTypeAny, {
1369
- type: "defaultHook";
1370
- }, {
1371
- type: "defaultHook";
1372
- }>, z.ZodObject<{
1373
- type: z.ZodLiteral<"ccipHook">;
1374
- destinationChain: z.ZodString;
1375
- }, "strip", z.ZodTypeAny, {
1376
- type: "ccipHook";
1377
- destinationChain: string;
1378
- }, {
1379
- type: "ccipHook";
1380
- destinationChain: string;
1381
- }>, z.ZodObject<{
1382
- type: z.ZodLiteral<"cctpHook">;
1383
- address: z.ZodString;
1384
- }, "strip", z.ZodTypeAny, {
1385
- type: "cctpHook";
1386
- address: string;
1387
- }, {
1388
- type: "cctpHook";
1389
- address: string;
1390
- }>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1391
- owner: z.ZodString;
1392
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1393
- } & {
1394
- type: z.ZodLiteral<"rateLimitedHook">;
1395
- maxCapacity: z.ZodString;
1396
- duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
1397
- }, "strip", z.ZodTypeAny, {
1398
- owner: string;
1399
- ownerOverrides?: Record<string, string> | undefined;
1400
- type: "rateLimitedHook";
1401
- maxCapacity: string;
1402
- duration: bigint;
1403
- }, {
1404
- owner: string;
1405
- ownerOverrides?: Record<string, string> | undefined;
1406
- type: "rateLimitedHook";
1407
- maxCapacity: string;
1408
- duration?: string | number | bigint | undefined;
1409
- }>, {
1410
- owner: string;
1411
- ownerOverrides?: Record<string, string> | undefined;
1412
- type: "rateLimitedHook";
1413
- maxCapacity: string;
1414
- duration: bigint;
1415
- }, {
1416
- owner: string;
1417
- ownerOverrides?: Record<string, string> | undefined;
1418
- type: "rateLimitedHook";
1419
- maxCapacity: string;
1420
- duration?: string | number | bigint | undefined;
1421
- }>, {
1422
- owner: string;
1423
- ownerOverrides?: Record<string, string> | undefined;
1424
- type: "rateLimitedHook";
1425
- maxCapacity: string;
1426
- duration: bigint;
1427
- }, {
1428
- owner: string;
1429
- ownerOverrides?: Record<string, string> | undefined;
1430
- type: "rateLimitedHook";
1431
- maxCapacity: string;
1432
- duration?: string | number | bigint | undefined;
1433
- }>, {
1434
- owner: string;
1435
- ownerOverrides?: Record<string, string> | undefined;
1436
- type: "rateLimitedHook";
1437
- maxCapacity: string;
1438
- duration: bigint;
1439
- }, {
1440
- owner: string;
1441
- ownerOverrides?: Record<string, string> | undefined;
1442
- type: "rateLimitedHook";
1443
- maxCapacity: string;
1444
- duration?: string | number | bigint | undefined;
1445
- }>, z.ZodObject<{
1446
- type: z.ZodLiteral<"unknownHook">;
1447
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1448
- type: z.ZodLiteral<"unknownHook">;
1449
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1450
- type: z.ZodLiteral<"unknownHook">;
1451
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1452
- type: z.ZodLiteral<"predicateHook">;
1453
- address: z.ZodString;
1454
- }, "strip", z.ZodTypeAny, {
1455
- type: "predicateHook";
1456
- address: string;
1457
- }, {
1458
- type: "predicateHook";
1459
- address: string;
1460
- }>]>>;
1461
- interchainSecurityModule: z.ZodOptional<z.ZodType<import("../ism/types.js").IsmConfig, z.ZodTypeDef, unknown>>;
1462
- } & {
1463
- foreignDeployment: z.ZodOptional<z.ZodString>;
1464
- } & {
1465
115
  timelock: z.ZodOptional<z.ZodObject<{
1466
- delay: z.ZodEffects<z.ZodNumber, number, number>;
116
+ delay: z.ZodNumber;
1467
117
  roles: z.ZodObject<{
1468
- executor: z.ZodEffects<z.ZodString, string, string>;
1469
- proposer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1470
- }, "strip", z.ZodTypeAny, {
1471
- executor: string;
1472
- proposer: string;
1473
- }, {
1474
- executor: string;
1475
- proposer: string;
1476
- }>;
1477
- }, "strip", z.ZodTypeAny, {
1478
- delay: number;
1479
- roles: {
1480
- executor: string;
1481
- proposer: string;
1482
- };
1483
- }, {
1484
- delay: number;
1485
- roles: {
1486
- executor: string;
1487
- proposer: string;
1488
- };
1489
- }>>;
1490
- } & {
118
+ executor: z.ZodString;
119
+ proposer: z.ZodString;
120
+ }, z.core.$strip>;
121
+ }, z.core.$strip>>;
122
+ mailbox: z.ZodString;
123
+ hook: z.ZodOptional<z.ZodType<import("../hook/types.js").HookConfig, unknown, z.core.$ZodTypeInternals<import("../hook/types.js").HookConfig, unknown>>>;
124
+ interchainSecurityModule: z.ZodOptional<z.ZodType<import("../ism/types.js").IsmConfig, unknown, z.core.$ZodTypeInternals<import("../ism/types.js").IsmConfig, unknown>>>;
125
+ foreignDeployment: z.ZodOptional<z.ZodString>;
1491
126
  remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
1492
127
  address: z.ZodString;
1493
- }, "strip", z.ZodTypeAny, {
1494
- address: string;
1495
- }, {
1496
- address: string;
1497
- }>>>;
128
+ }, z.core.$strip>>>;
1498
129
  proxyAdmin: z.ZodOptional<z.ZodObject<{
1499
130
  owner: z.ZodString;
1500
131
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1501
- } & {
1502
132
  address: z.ZodOptional<z.ZodString>;
1503
- }, "strip", z.ZodTypeAny, {
1504
- owner: string;
1505
- ownerOverrides?: Record<string, string> | undefined;
1506
- address?: string | undefined;
1507
- }, {
1508
- owner: string;
1509
- ownerOverrides?: Record<string, string> | undefined;
1510
- address?: string | undefined;
1511
- }>>;
1512
- tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
1513
- owner: z.ZodString;
1514
- beneficiary: z.ZodOptional<z.ZodString>;
1515
- } & {
1516
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
1517
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
1518
- type: z.ZodLiteral<"LinearFee">;
1519
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
1520
- }, "strip", z.ZodTypeAny, {
1521
- owner: string;
1522
- beneficiary?: string | undefined;
1523
- maxFee?: bigint | undefined;
1524
- halfAmount?: bigint | undefined;
1525
- type: "LinearFee";
1526
- bps?: number | undefined;
1527
- }, {
1528
- owner: string;
1529
- beneficiary?: string | undefined;
1530
- maxFee?: string | number | bigint | undefined;
1531
- halfAmount?: string | number | bigint | undefined;
1532
- type: "LinearFee";
1533
- bps?: string | number | undefined;
1534
- }>, {
1535
- owner: string;
1536
- beneficiary?: string | undefined;
1537
- maxFee?: bigint | undefined;
1538
- halfAmount?: bigint | undefined;
1539
- type: "LinearFee";
1540
- bps?: number | undefined;
1541
- }, {
1542
- owner: string;
1543
- beneficiary?: string | undefined;
1544
- maxFee?: string | number | bigint | undefined;
1545
- halfAmount?: string | number | bigint | undefined;
1546
- type: "LinearFee";
1547
- bps?: string | number | undefined;
1548
- }>, {
1549
- owner: string;
1550
- beneficiary?: string | undefined;
1551
- maxFee?: bigint | undefined;
1552
- halfAmount?: bigint | undefined;
1553
- type: "LinearFee";
1554
- bps: number;
1555
- }, {
1556
- owner: string;
1557
- beneficiary?: string | undefined;
1558
- maxFee?: string | number | bigint | undefined;
1559
- halfAmount?: string | number | bigint | undefined;
1560
- type: "LinearFee";
1561
- bps?: string | number | undefined;
1562
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
1563
- owner: z.ZodString;
1564
- beneficiary: z.ZodOptional<z.ZodString>;
1565
- } & {
1566
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1567
- } & {
1568
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
1569
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
1570
- type: z.ZodLiteral<"OffchainQuotedLinearFee">;
1571
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
1572
- }, "strip", z.ZodTypeAny, {
1573
- owner: string;
1574
- beneficiary?: string | undefined;
1575
- maxFee?: bigint | undefined;
1576
- halfAmount?: bigint | undefined;
1577
- quoteSigners?: string[] | undefined;
1578
- type: "OffchainQuotedLinearFee";
1579
- bps?: number | undefined;
1580
- }, {
1581
- owner: string;
1582
- beneficiary?: string | undefined;
1583
- maxFee?: string | number | bigint | undefined;
1584
- halfAmount?: string | number | bigint | undefined;
1585
- quoteSigners?: string[] | undefined;
1586
- type: "OffchainQuotedLinearFee";
1587
- bps?: string | number | undefined;
1588
- }>, {
1589
- owner: string;
1590
- beneficiary?: string | undefined;
1591
- maxFee?: bigint | undefined;
1592
- halfAmount?: bigint | undefined;
1593
- quoteSigners?: string[] | undefined;
1594
- type: "OffchainQuotedLinearFee";
1595
- bps?: number | undefined;
1596
- }, {
1597
- owner: string;
1598
- beneficiary?: string | undefined;
1599
- maxFee?: string | number | bigint | undefined;
1600
- halfAmount?: string | number | bigint | undefined;
1601
- quoteSigners?: string[] | undefined;
1602
- type: "OffchainQuotedLinearFee";
1603
- bps?: string | number | undefined;
1604
- }>, {
1605
- owner: string;
1606
- beneficiary?: string | undefined;
1607
- maxFee?: bigint | undefined;
1608
- halfAmount?: bigint | undefined;
1609
- quoteSigners?: string[] | undefined;
1610
- type: "OffchainQuotedLinearFee";
1611
- bps: number;
1612
- }, {
1613
- owner: string;
1614
- beneficiary?: string | undefined;
1615
- maxFee?: string | number | bigint | undefined;
1616
- halfAmount?: string | number | bigint | undefined;
1617
- quoteSigners?: string[] | undefined;
1618
- type: "OffchainQuotedLinearFee";
1619
- bps?: string | number | undefined;
1620
- }>, z.ZodEffects<z.ZodObject<{
1621
- owner: z.ZodString;
1622
- beneficiary: z.ZodOptional<z.ZodString>;
1623
- } & {
1624
- type: z.ZodLiteral<"ProgressiveFee">;
1625
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
1626
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
1627
- }, "strip", z.ZodTypeAny, {
1628
- owner: string;
1629
- beneficiary?: string | undefined;
1630
- type: "ProgressiveFee";
1631
- maxFee: bigint;
1632
- halfAmount: bigint;
1633
- }, {
1634
- owner: string;
1635
- beneficiary?: string | undefined;
1636
- type: "ProgressiveFee";
1637
- maxFee: string | number | bigint;
1638
- halfAmount: string | number | bigint;
1639
- }>, {
1640
- owner: string;
1641
- beneficiary?: string | undefined;
1642
- type: "ProgressiveFee";
1643
- maxFee: bigint;
1644
- halfAmount: bigint;
1645
- }, {
1646
- owner: string;
1647
- beneficiary?: string | undefined;
1648
- type: "ProgressiveFee";
1649
- maxFee: string | number | bigint;
1650
- halfAmount: string | number | bigint;
1651
- }>, z.ZodEffects<z.ZodObject<{
1652
- owner: z.ZodString;
1653
- beneficiary: z.ZodOptional<z.ZodString>;
1654
- } & {
1655
- type: z.ZodLiteral<"RegressiveFee">;
1656
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
1657
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
1658
- }, "strip", z.ZodTypeAny, {
1659
- owner: string;
1660
- beneficiary?: string | undefined;
1661
- type: "RegressiveFee";
1662
- maxFee: bigint;
1663
- halfAmount: bigint;
1664
- }, {
1665
- owner: string;
1666
- beneficiary?: string | undefined;
1667
- type: "RegressiveFee";
1668
- maxFee: string | number | bigint;
1669
- halfAmount: string | number | bigint;
1670
- }>, {
1671
- owner: string;
1672
- beneficiary?: string | undefined;
1673
- type: "RegressiveFee";
1674
- maxFee: bigint;
1675
- halfAmount: bigint;
1676
- }, {
1677
- owner: string;
1678
- beneficiary?: string | undefined;
1679
- type: "RegressiveFee";
1680
- maxFee: string | number | bigint;
1681
- halfAmount: string | number | bigint;
1682
- }>, z.ZodEffects<z.ZodObject<{
1683
- owner: z.ZodString;
1684
- beneficiary: z.ZodOptional<z.ZodString>;
1685
- } & {
1686
- type: z.ZodLiteral<"RoutingFee">;
1687
- feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
1688
- }, "strip", z.ZodTypeAny, {
1689
- owner: string;
1690
- beneficiary?: string | undefined;
1691
- type: "RoutingFee";
1692
- feeContracts: Record<string, any>;
1693
- }, {
1694
- owner: string;
1695
- beneficiary?: string | undefined;
1696
- type: "RoutingFee";
1697
- feeContracts: Record<string, any>;
1698
- }>, {
1699
- owner: string;
1700
- beneficiary?: string | undefined;
1701
- type: "RoutingFee";
1702
- feeContracts: Record<string, any>;
1703
- }, {
1704
- owner: string;
1705
- beneficiary?: string | undefined;
1706
- type: "RoutingFee";
1707
- feeContracts: Record<string, any>;
1708
- }>, z.ZodEffects<z.ZodObject<{
1709
- owner: z.ZodString;
1710
- beneficiary: z.ZodOptional<z.ZodString>;
1711
- } & {
1712
- type: z.ZodLiteral<"CrossCollateralRoutingFee">;
1713
- feeContracts: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>, Record<string, any>, Record<string, any>>>;
1714
- }, "strip", z.ZodTypeAny, {
1715
- owner: string;
1716
- beneficiary?: string | undefined;
1717
- type: "CrossCollateralRoutingFee";
1718
- feeContracts: Record<string, Record<string, any>>;
1719
- }, {
1720
- owner: string;
1721
- beneficiary?: string | undefined;
1722
- type: "CrossCollateralRoutingFee";
1723
- feeContracts: Record<string, Record<string, any>>;
1724
- }>, {
1725
- owner: string;
1726
- beneficiary?: string | undefined;
1727
- type: "CrossCollateralRoutingFee";
1728
- feeContracts: Record<string, Record<string, any>>;
1729
- }, {
1730
- owner: string;
1731
- beneficiary?: string | undefined;
1732
- type: "CrossCollateralRoutingFee";
1733
- feeContracts: Record<string, Record<string, any>>;
1734
- }>]>>;
1735
- } & {
133
+ }, z.core.$strip>>;
134
+ tokenFee: z.ZodOptional<z.ZodType<import("../fee/types.js").TokenFeeConfigInput, unknown, z.core.$ZodTypeInternals<import("../fee/types.js").TokenFeeConfigInput, unknown>>>;
1736
135
  gas: z.ZodOptional<z.ZodNumber>;
1737
136
  destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
1738
137
  feeHook: z.ZodOptional<z.ZodString>;
1739
- }, "strip", z.ZodTypeAny, {
1740
- owner: string;
1741
- ownerOverrides?: Record<string, string> | undefined;
1742
- timelock?: {
1743
- delay: number;
1744
- roles: {
1745
- executor: string;
1746
- proposer: string;
1747
- };
1748
- } | undefined;
1749
- mailbox: string;
1750
- hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
1751
- owner: string;
1752
- ownerOverrides?: Record<string, string> | undefined;
1753
- type: "protocolFee";
1754
- beneficiary: string;
1755
- maxProtocolFee: string;
1756
- protocolFee: string;
1757
- } | {
1758
- owner: string;
1759
- ownerOverrides?: Record<string, string> | undefined;
1760
- paused: boolean;
1761
- type: "pausableHook";
1762
- } | {
1763
- owner: string;
1764
- ownerOverrides?: Record<string, string> | undefined;
1765
- type: "opStackHook";
1766
- nativeBridge: string;
1767
- destinationChain: string;
1768
- } | {
1769
- type: "merkleTreeHook";
1770
- } | {
1771
- owner: string;
1772
- ownerOverrides?: Record<string, string> | undefined;
1773
- type: "interchainGasPaymaster";
1774
- beneficiary: string;
1775
- oracleKey: string;
1776
- overhead: Record<string, number>;
1777
- oracleConfig: Record<string, {
1778
- gasPrice: string;
1779
- tokenExchangeRate: string;
1780
- tokenDecimals?: number | undefined;
1781
- typicalCost?: {
1782
- handleGasAmount: number;
1783
- totalGasAmount: number;
1784
- totalUsdCost: number;
1785
- } | undefined;
1786
- }>;
1787
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1788
- quoteSigners?: string[] | undefined;
1789
- contractVersion?: string | undefined;
1790
- tokenOracleConfig?: Record<string, Record<string, {
1791
- gasPrice: string;
1792
- tokenExchangeRate: string;
1793
- tokenDecimals?: number | undefined;
1794
- }>> | undefined;
1795
- } | {
1796
- type: "defaultHook";
1797
- } | {
1798
- type: "ccipHook";
1799
- destinationChain: string;
1800
- } | {
1801
- type: "cctpHook";
1802
- address: string;
1803
- } | {
1804
- owner: string;
1805
- ownerOverrides?: Record<string, string> | undefined;
1806
- type: "rateLimitedHook";
1807
- maxCapacity: string;
1808
- duration: bigint;
1809
- } | {
1810
- type: "predicateHook";
1811
- address: string;
1812
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
1813
- type: z.ZodLiteral<"unknownHook">;
1814
- }, z.ZodTypeAny, "passthrough"> | undefined;
1815
- interchainSecurityModule?: import("../ism/types.js").IsmConfig | undefined;
1816
- foreignDeployment?: string | undefined;
1817
- remoteRouters?: Record<string | number, {
1818
- address: string;
1819
- }> | undefined;
1820
- proxyAdmin?: {
1821
- owner: string;
1822
- ownerOverrides?: Record<string, string> | undefined;
1823
- address?: string | undefined;
1824
- } | undefined;
1825
- tokenFee?: {
1826
- owner: string;
1827
- beneficiary?: string | undefined;
1828
- type: "ProgressiveFee";
1829
- maxFee: bigint;
1830
- halfAmount: bigint;
1831
- } | {
1832
- owner: string;
1833
- beneficiary?: string | undefined;
1834
- type: "RegressiveFee";
1835
- maxFee: bigint;
1836
- halfAmount: bigint;
1837
- } | {
1838
- owner: string;
1839
- beneficiary?: string | undefined;
1840
- type: "RoutingFee";
1841
- feeContracts: Record<string, any>;
1842
- } | {
1843
- owner: string;
1844
- beneficiary?: string | undefined;
1845
- type: "CrossCollateralRoutingFee";
1846
- feeContracts: Record<string, Record<string, any>>;
1847
- } | {
1848
- owner: string;
1849
- beneficiary?: string | undefined;
1850
- maxFee?: bigint | undefined;
1851
- halfAmount?: bigint | undefined;
1852
- type: "LinearFee";
1853
- bps: number;
1854
- } | {
1855
- owner: string;
1856
- beneficiary?: string | undefined;
1857
- maxFee?: bigint | undefined;
1858
- halfAmount?: bigint | undefined;
1859
- quoteSigners?: string[] | undefined;
1860
- type: "OffchainQuotedLinearFee";
1861
- bps: number;
1862
- } | undefined;
1863
- gas?: number | undefined;
1864
- destinationGas?: Record<string | number, string> | undefined;
1865
- feeHook?: string | undefined;
1866
- }, {
1867
- owner: string;
1868
- ownerOverrides?: Record<string, string> | undefined;
1869
- timelock?: {
1870
- delay: number;
1871
- roles: {
1872
- executor: string;
1873
- proposer: string;
1874
- };
1875
- } | undefined;
1876
- mailbox: string;
1877
- hook?: unknown;
1878
- interchainSecurityModule?: unknown;
1879
- foreignDeployment?: string | undefined;
1880
- remoteRouters?: Record<string | number, {
1881
- address: string;
1882
- }> | undefined;
1883
- proxyAdmin?: {
1884
- owner: string;
1885
- ownerOverrides?: Record<string, string> | undefined;
1886
- address?: string | undefined;
1887
- } | undefined;
1888
- tokenFee?: {
1889
- owner: string;
1890
- beneficiary?: string | undefined;
1891
- maxFee?: string | number | bigint | undefined;
1892
- halfAmount?: string | number | bigint | undefined;
1893
- type: "LinearFee";
1894
- bps?: string | number | undefined;
1895
- } | {
1896
- owner: string;
1897
- beneficiary?: string | undefined;
1898
- maxFee?: string | number | bigint | undefined;
1899
- halfAmount?: string | number | bigint | undefined;
1900
- quoteSigners?: string[] | undefined;
1901
- type: "OffchainQuotedLinearFee";
1902
- bps?: string | number | undefined;
1903
- } | {
1904
- owner: string;
1905
- beneficiary?: string | undefined;
1906
- type: "ProgressiveFee";
1907
- maxFee: string | number | bigint;
1908
- halfAmount: string | number | bigint;
1909
- } | {
1910
- owner: string;
1911
- beneficiary?: string | undefined;
1912
- type: "RegressiveFee";
1913
- maxFee: string | number | bigint;
1914
- halfAmount: string | number | bigint;
1915
- } | {
1916
- owner: string;
1917
- beneficiary?: string | undefined;
1918
- type: "RoutingFee";
1919
- feeContracts: Record<string, any>;
1920
- } | {
1921
- owner: string;
1922
- beneficiary?: string | undefined;
1923
- type: "CrossCollateralRoutingFee";
1924
- feeContracts: Record<string, Record<string, any>>;
1925
- } | undefined;
1926
- gas?: number | undefined;
1927
- destinationGas?: Record<string | number, string> | undefined;
1928
- feeHook?: string | undefined;
1929
- }>;
138
+ }, z.core.$strip>;
1930
139
  //# sourceMappingURL=types.d.ts.map