@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
@@ -3,4181 +3,110 @@ import type { Mailbox } from '@hyperlane-xyz/core';
3
3
  import type { Address, ParsedMessage } from '@hyperlane-xyz/utils';
4
4
  import type { UpgradeConfig } from '../deploy/proxy.js';
5
5
  import type { CheckerViolation } from '../deploy/types.js';
6
- import type { DerivedHookConfig } from '../hook/types.js';
6
+ import type { DerivedHookConfig, HookConfig } from '../hook/types.js';
7
7
  import type { DerivedIsmConfig, IsmConfig } from '../ism/types.js';
8
8
  import type { ChainName } from '../types.js';
9
- export declare const CoreConfigSchema: z.ZodEffects<z.ZodObject<{
9
+ export declare const CoreConfigSchema: z.ZodObject<{
10
10
  owner: z.ZodString;
11
11
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
12
- } & {
13
- defaultIsm: z.ZodType<IsmConfig, z.ZodTypeDef, unknown>;
14
- defaultHook: z.ZodUnion<[z.ZodString, z.ZodObject<{
15
- owner: z.ZodString;
16
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17
- } & {
18
- type: z.ZodLiteral<"protocolFee">;
19
- beneficiary: z.ZodString;
20
- maxProtocolFee: z.ZodString;
21
- protocolFee: z.ZodString;
22
- }, "strip", z.ZodTypeAny, {
23
- owner: string;
24
- ownerOverrides?: Record<string, string> | undefined;
25
- type: "protocolFee";
26
- beneficiary: string;
27
- maxProtocolFee: string;
28
- protocolFee: string;
29
- }, {
30
- owner: string;
31
- ownerOverrides?: Record<string, string> | undefined;
32
- type: "protocolFee";
33
- beneficiary: string;
34
- maxProtocolFee: string;
35
- protocolFee: string;
36
- }>, z.ZodObject<{
37
- owner: z.ZodString;
38
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
39
- } & {
40
- paused: z.ZodBoolean;
41
- } & {
42
- type: z.ZodLiteral<"pausableHook">;
43
- }, "strip", z.ZodTypeAny, {
44
- owner: string;
45
- ownerOverrides?: Record<string, string> | undefined;
46
- paused: boolean;
47
- type: "pausableHook";
48
- }, {
49
- owner: string;
50
- ownerOverrides?: Record<string, string> | undefined;
51
- paused: boolean;
52
- type: "pausableHook";
53
- }>, z.ZodObject<{
54
- owner: z.ZodString;
55
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
56
- } & {
57
- type: z.ZodLiteral<"opStackHook">;
58
- nativeBridge: z.ZodString;
59
- destinationChain: z.ZodString;
60
- }, "strip", z.ZodTypeAny, {
61
- owner: string;
62
- ownerOverrides?: Record<string, string> | undefined;
63
- type: "opStackHook";
64
- nativeBridge: string;
65
- destinationChain: string;
66
- }, {
67
- owner: string;
68
- ownerOverrides?: Record<string, string> | undefined;
69
- type: "opStackHook";
70
- nativeBridge: string;
71
- destinationChain: string;
72
- }>, z.ZodObject<{
73
- type: z.ZodLiteral<"merkleTreeHook">;
74
- }, "strip", z.ZodTypeAny, {
75
- type: "merkleTreeHook";
76
- }, {
77
- type: "merkleTreeHook";
78
- }>, z.ZodObject<{
79
- owner: z.ZodString;
80
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
81
- } & {
82
- type: z.ZodLiteral<"interchainGasPaymaster">;
83
- beneficiary: z.ZodString;
84
- oracleKey: z.ZodString;
85
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
86
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
87
- gasPrice: z.ZodString;
88
- tokenExchangeRate: z.ZodString;
89
- } & {
90
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
91
- } & {
92
- typicalCost: z.ZodOptional<z.ZodObject<{
93
- handleGasAmount: z.ZodNumber;
94
- totalGasAmount: z.ZodNumber;
95
- totalUsdCost: z.ZodNumber;
96
- }, "strip", z.ZodTypeAny, {
97
- handleGasAmount: number;
98
- totalGasAmount: number;
99
- totalUsdCost: number;
100
- }, {
101
- handleGasAmount: number;
102
- totalGasAmount: number;
103
- totalUsdCost: number;
104
- }>>;
105
- }, "strip", z.ZodTypeAny, {
106
- gasPrice: string;
107
- tokenExchangeRate: string;
108
- tokenDecimals?: number | undefined;
109
- typicalCost?: {
110
- handleGasAmount: number;
111
- totalGasAmount: number;
112
- totalUsdCost: number;
113
- } | undefined;
114
- }, {
115
- gasPrice: string;
116
- tokenExchangeRate: string;
117
- tokenDecimals?: number | undefined;
118
- typicalCost?: {
119
- handleGasAmount: number;
120
- totalGasAmount: number;
121
- totalUsdCost: number;
122
- } | undefined;
123
- }>>;
124
- igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
125
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
126
- contractVersion: z.ZodOptional<z.ZodString>;
127
- tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
128
- gasPrice: z.ZodString;
129
- tokenExchangeRate: z.ZodString;
130
- } & {
131
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
132
- }, "strip", z.ZodTypeAny, {
133
- gasPrice: string;
134
- tokenExchangeRate: string;
135
- tokenDecimals?: number | undefined;
136
- }, {
137
- gasPrice: string;
138
- tokenExchangeRate: string;
139
- tokenDecimals?: number | undefined;
140
- }>>>>;
141
- }, "strip", z.ZodTypeAny, {
142
- owner: string;
143
- ownerOverrides?: Record<string, string> | undefined;
144
- type: "interchainGasPaymaster";
145
- beneficiary: string;
146
- oracleKey: string;
147
- overhead: Record<string, number>;
148
- oracleConfig: Record<string, {
149
- gasPrice: string;
150
- tokenExchangeRate: string;
151
- tokenDecimals?: number | undefined;
152
- typicalCost?: {
153
- handleGasAmount: number;
154
- totalGasAmount: number;
155
- totalUsdCost: number;
156
- } | undefined;
157
- }>;
158
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
159
- quoteSigners?: string[] | undefined;
160
- contractVersion?: string | undefined;
161
- tokenOracleConfig?: Record<string, Record<string, {
162
- gasPrice: string;
163
- tokenExchangeRate: string;
164
- tokenDecimals?: number | undefined;
165
- }>> | undefined;
166
- }, {
167
- owner: string;
168
- ownerOverrides?: Record<string, string> | undefined;
169
- type: "interchainGasPaymaster";
170
- beneficiary: string;
171
- oracleKey: string;
172
- overhead: Record<string, number>;
173
- oracleConfig: Record<string, {
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?: import("../hook/types.js").IgpVersion | undefined;
184
- quoteSigners?: string[] | undefined;
185
- contractVersion?: string | undefined;
186
- tokenOracleConfig?: Record<string, Record<string, {
187
- gasPrice: string;
188
- tokenExchangeRate: string;
189
- tokenDecimals?: number | undefined;
190
- }>> | undefined;
191
- }>, 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<{
192
- type: z.ZodLiteral<"defaultHook">;
193
- }, "strip", z.ZodTypeAny, {
194
- type: "defaultHook";
195
- }, {
196
- type: "defaultHook";
197
- }>, z.ZodObject<{
198
- type: z.ZodLiteral<"ccipHook">;
199
- destinationChain: z.ZodString;
200
- }, "strip", z.ZodTypeAny, {
201
- type: "ccipHook";
202
- destinationChain: string;
203
- }, {
204
- type: "ccipHook";
205
- destinationChain: string;
206
- }>, z.ZodObject<{
207
- type: z.ZodLiteral<"cctpHook">;
208
- address: z.ZodString;
209
- }, "strip", z.ZodTypeAny, {
210
- type: "cctpHook";
211
- address: string;
212
- }, {
213
- type: "cctpHook";
214
- address: string;
215
- }>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
216
- owner: z.ZodString;
217
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
218
- } & {
219
- type: z.ZodLiteral<"rateLimitedHook">;
220
- maxCapacity: z.ZodString;
221
- duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
222
- }, "strip", z.ZodTypeAny, {
223
- owner: string;
224
- ownerOverrides?: Record<string, string> | undefined;
225
- type: "rateLimitedHook";
226
- maxCapacity: string;
227
- duration: bigint;
228
- }, {
229
- owner: string;
230
- ownerOverrides?: Record<string, string> | undefined;
231
- type: "rateLimitedHook";
232
- maxCapacity: string;
233
- duration?: string | number | bigint | undefined;
234
- }>, {
235
- owner: string;
236
- ownerOverrides?: Record<string, string> | undefined;
237
- type: "rateLimitedHook";
238
- maxCapacity: string;
239
- duration: bigint;
240
- }, {
241
- owner: string;
242
- ownerOverrides?: Record<string, string> | undefined;
243
- type: "rateLimitedHook";
244
- maxCapacity: string;
245
- duration?: string | number | bigint | undefined;
246
- }>, {
247
- owner: string;
248
- ownerOverrides?: Record<string, string> | undefined;
249
- type: "rateLimitedHook";
250
- maxCapacity: string;
251
- duration: bigint;
252
- }, {
253
- owner: string;
254
- ownerOverrides?: Record<string, string> | undefined;
255
- type: "rateLimitedHook";
256
- maxCapacity: string;
257
- duration?: string | number | bigint | undefined;
258
- }>, {
259
- owner: string;
260
- ownerOverrides?: Record<string, string> | undefined;
261
- type: "rateLimitedHook";
262
- maxCapacity: string;
263
- duration: bigint;
264
- }, {
265
- owner: string;
266
- ownerOverrides?: Record<string, string> | undefined;
267
- type: "rateLimitedHook";
268
- maxCapacity: string;
269
- duration?: string | number | bigint | undefined;
270
- }>, z.ZodObject<{
271
- type: z.ZodLiteral<"unknownHook">;
272
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
273
- type: z.ZodLiteral<"unknownHook">;
274
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
275
- type: z.ZodLiteral<"unknownHook">;
276
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
277
- type: z.ZodLiteral<"predicateHook">;
278
- address: z.ZodString;
279
- }, "strip", z.ZodTypeAny, {
280
- type: "predicateHook";
281
- address: string;
282
- }, {
283
- type: "predicateHook";
284
- address: string;
285
- }>]>;
286
- requiredHook: z.ZodUnion<[z.ZodString, z.ZodObject<{
287
- owner: z.ZodString;
288
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
289
- } & {
290
- type: z.ZodLiteral<"protocolFee">;
291
- beneficiary: z.ZodString;
292
- maxProtocolFee: z.ZodString;
293
- protocolFee: z.ZodString;
294
- }, "strip", z.ZodTypeAny, {
295
- owner: string;
296
- ownerOverrides?: Record<string, string> | undefined;
297
- type: "protocolFee";
298
- beneficiary: string;
299
- maxProtocolFee: string;
300
- protocolFee: string;
301
- }, {
302
- owner: string;
303
- ownerOverrides?: Record<string, string> | undefined;
304
- type: "protocolFee";
305
- beneficiary: string;
306
- maxProtocolFee: string;
307
- protocolFee: string;
308
- }>, z.ZodObject<{
309
- owner: z.ZodString;
310
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
311
- } & {
312
- paused: z.ZodBoolean;
313
- } & {
314
- type: z.ZodLiteral<"pausableHook">;
315
- }, "strip", z.ZodTypeAny, {
316
- owner: string;
317
- ownerOverrides?: Record<string, string> | undefined;
318
- paused: boolean;
319
- type: "pausableHook";
320
- }, {
321
- owner: string;
322
- ownerOverrides?: Record<string, string> | undefined;
323
- paused: boolean;
324
- type: "pausableHook";
325
- }>, z.ZodObject<{
326
- owner: z.ZodString;
327
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
328
- } & {
329
- type: z.ZodLiteral<"opStackHook">;
330
- nativeBridge: z.ZodString;
331
- destinationChain: z.ZodString;
332
- }, "strip", z.ZodTypeAny, {
333
- owner: string;
334
- ownerOverrides?: Record<string, string> | undefined;
335
- type: "opStackHook";
336
- nativeBridge: string;
337
- destinationChain: string;
338
- }, {
339
- owner: string;
340
- ownerOverrides?: Record<string, string> | undefined;
341
- type: "opStackHook";
342
- nativeBridge: string;
343
- destinationChain: string;
344
- }>, z.ZodObject<{
345
- type: z.ZodLiteral<"merkleTreeHook">;
346
- }, "strip", z.ZodTypeAny, {
347
- type: "merkleTreeHook";
348
- }, {
349
- type: "merkleTreeHook";
350
- }>, z.ZodObject<{
351
- owner: z.ZodString;
352
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
353
- } & {
354
- type: z.ZodLiteral<"interchainGasPaymaster">;
355
- beneficiary: z.ZodString;
356
- oracleKey: z.ZodString;
357
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
358
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
359
- gasPrice: z.ZodString;
360
- tokenExchangeRate: z.ZodString;
361
- } & {
362
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
363
- } & {
364
- typicalCost: z.ZodOptional<z.ZodObject<{
365
- handleGasAmount: z.ZodNumber;
366
- totalGasAmount: z.ZodNumber;
367
- totalUsdCost: z.ZodNumber;
368
- }, "strip", z.ZodTypeAny, {
369
- handleGasAmount: number;
370
- totalGasAmount: number;
371
- totalUsdCost: number;
372
- }, {
373
- handleGasAmount: number;
374
- totalGasAmount: number;
375
- totalUsdCost: number;
376
- }>>;
377
- }, "strip", z.ZodTypeAny, {
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
- gasPrice: string;
388
- tokenExchangeRate: string;
389
- tokenDecimals?: number | undefined;
390
- typicalCost?: {
391
- handleGasAmount: number;
392
- totalGasAmount: number;
393
- totalUsdCost: number;
394
- } | undefined;
395
- }>>;
396
- igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
397
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
398
- contractVersion: z.ZodOptional<z.ZodString>;
399
- tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
400
- gasPrice: z.ZodString;
401
- tokenExchangeRate: z.ZodString;
402
- } & {
403
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
404
- }, "strip", z.ZodTypeAny, {
405
- gasPrice: string;
406
- tokenExchangeRate: string;
407
- tokenDecimals?: number | undefined;
408
- }, {
409
- gasPrice: string;
410
- tokenExchangeRate: string;
411
- tokenDecimals?: number | undefined;
412
- }>>>>;
413
- }, "strip", z.ZodTypeAny, {
414
- owner: string;
415
- ownerOverrides?: Record<string, string> | undefined;
416
- type: "interchainGasPaymaster";
417
- beneficiary: string;
418
- oracleKey: string;
419
- overhead: Record<string, number>;
420
- oracleConfig: Record<string, {
421
- gasPrice: string;
422
- tokenExchangeRate: string;
423
- tokenDecimals?: number | undefined;
424
- typicalCost?: {
425
- handleGasAmount: number;
426
- totalGasAmount: number;
427
- totalUsdCost: number;
428
- } | undefined;
429
- }>;
430
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
431
- quoteSigners?: string[] | undefined;
432
- contractVersion?: string | undefined;
433
- tokenOracleConfig?: Record<string, Record<string, {
434
- gasPrice: string;
435
- tokenExchangeRate: string;
436
- tokenDecimals?: number | undefined;
437
- }>> | undefined;
438
- }, {
439
- owner: string;
440
- ownerOverrides?: Record<string, string> | undefined;
441
- type: "interchainGasPaymaster";
442
- beneficiary: string;
443
- oracleKey: string;
444
- overhead: Record<string, number>;
445
- oracleConfig: Record<string, {
446
- gasPrice: string;
447
- tokenExchangeRate: string;
448
- tokenDecimals?: number | undefined;
449
- typicalCost?: {
450
- handleGasAmount: number;
451
- totalGasAmount: number;
452
- totalUsdCost: number;
453
- } | undefined;
454
- }>;
455
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
456
- quoteSigners?: string[] | undefined;
457
- contractVersion?: string | undefined;
458
- tokenOracleConfig?: Record<string, Record<string, {
459
- gasPrice: string;
460
- tokenExchangeRate: string;
461
- tokenDecimals?: number | undefined;
462
- }>> | undefined;
463
- }>, 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<{
464
- type: z.ZodLiteral<"defaultHook">;
465
- }, "strip", z.ZodTypeAny, {
466
- type: "defaultHook";
467
- }, {
468
- type: "defaultHook";
469
- }>, z.ZodObject<{
470
- type: z.ZodLiteral<"ccipHook">;
471
- destinationChain: z.ZodString;
472
- }, "strip", z.ZodTypeAny, {
473
- type: "ccipHook";
474
- destinationChain: string;
475
- }, {
476
- type: "ccipHook";
477
- destinationChain: string;
478
- }>, z.ZodObject<{
479
- type: z.ZodLiteral<"cctpHook">;
480
- address: z.ZodString;
481
- }, "strip", z.ZodTypeAny, {
482
- type: "cctpHook";
483
- address: string;
484
- }, {
485
- type: "cctpHook";
486
- address: string;
487
- }>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
488
- owner: z.ZodString;
489
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
490
- } & {
491
- type: z.ZodLiteral<"rateLimitedHook">;
492
- maxCapacity: z.ZodString;
493
- duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
494
- }, "strip", z.ZodTypeAny, {
495
- owner: string;
496
- ownerOverrides?: Record<string, string> | undefined;
497
- type: "rateLimitedHook";
498
- maxCapacity: string;
499
- duration: bigint;
500
- }, {
501
- owner: string;
502
- ownerOverrides?: Record<string, string> | undefined;
503
- type: "rateLimitedHook";
504
- maxCapacity: string;
505
- duration?: string | number | bigint | undefined;
506
- }>, {
507
- owner: string;
508
- ownerOverrides?: Record<string, string> | undefined;
509
- type: "rateLimitedHook";
510
- maxCapacity: string;
511
- duration: bigint;
512
- }, {
513
- owner: string;
514
- ownerOverrides?: Record<string, string> | undefined;
515
- type: "rateLimitedHook";
516
- maxCapacity: string;
517
- duration?: string | number | bigint | undefined;
518
- }>, {
519
- owner: string;
520
- ownerOverrides?: Record<string, string> | undefined;
521
- type: "rateLimitedHook";
522
- maxCapacity: string;
523
- duration: bigint;
524
- }, {
525
- owner: string;
526
- ownerOverrides?: Record<string, string> | undefined;
527
- type: "rateLimitedHook";
528
- maxCapacity: string;
529
- duration?: string | number | bigint | undefined;
530
- }>, {
531
- owner: string;
532
- ownerOverrides?: Record<string, string> | undefined;
533
- type: "rateLimitedHook";
534
- maxCapacity: string;
535
- duration: bigint;
536
- }, {
537
- owner: string;
538
- ownerOverrides?: Record<string, string> | undefined;
539
- type: "rateLimitedHook";
540
- maxCapacity: string;
541
- duration?: string | number | bigint | undefined;
542
- }>, z.ZodObject<{
543
- type: z.ZodLiteral<"unknownHook">;
544
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
545
- type: z.ZodLiteral<"unknownHook">;
546
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
547
- type: z.ZodLiteral<"unknownHook">;
548
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
549
- type: z.ZodLiteral<"predicateHook">;
550
- address: z.ZodString;
551
- }, "strip", z.ZodTypeAny, {
552
- type: "predicateHook";
553
- address: string;
554
- }, {
555
- type: "predicateHook";
556
- address: string;
557
- }>]>;
12
+ defaultIsm: z.ZodType<IsmConfig, unknown, z.core.$ZodTypeInternals<IsmConfig, unknown>>;
13
+ defaultHook: z.ZodType<HookConfig, unknown, z.core.$ZodTypeInternals<HookConfig, unknown>>;
14
+ requiredHook: z.ZodType<HookConfig, unknown, z.core.$ZodTypeInternals<HookConfig, unknown>>;
558
15
  proxyAdmin: z.ZodOptional<z.ZodObject<{
559
16
  owner: z.ZodString;
560
17
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
561
- } & {
562
18
  address: z.ZodOptional<z.ZodString>;
563
- }, "strip", z.ZodTypeAny, {
564
- owner: string;
565
- ownerOverrides?: Record<string, string> | undefined;
566
- address?: string | undefined;
567
- }, {
568
- owner: string;
569
- ownerOverrides?: Record<string, string> | undefined;
570
- address?: string | undefined;
571
- }>>;
19
+ }, z.core.$strip>>;
572
20
  interchainAccountRouter: z.ZodOptional<z.ZodObject<{
573
21
  owner: z.ZodString;
574
22
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
575
- } & {
576
- mailbox: z.ZodString;
577
- hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
578
- owner: z.ZodString;
579
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
580
- } & {
581
- type: z.ZodLiteral<"protocolFee">;
582
- beneficiary: z.ZodString;
583
- maxProtocolFee: z.ZodString;
584
- protocolFee: z.ZodString;
585
- }, "strip", z.ZodTypeAny, {
586
- owner: string;
587
- ownerOverrides?: Record<string, string> | undefined;
588
- type: "protocolFee";
589
- beneficiary: string;
590
- maxProtocolFee: string;
591
- protocolFee: string;
592
- }, {
593
- owner: string;
594
- ownerOverrides?: Record<string, string> | undefined;
595
- type: "protocolFee";
596
- beneficiary: string;
597
- maxProtocolFee: string;
598
- protocolFee: string;
599
- }>, z.ZodObject<{
600
- owner: z.ZodString;
601
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
602
- } & {
603
- paused: z.ZodBoolean;
604
- } & {
605
- type: z.ZodLiteral<"pausableHook">;
606
- }, "strip", z.ZodTypeAny, {
607
- owner: string;
608
- ownerOverrides?: Record<string, string> | undefined;
609
- paused: boolean;
610
- type: "pausableHook";
611
- }, {
612
- owner: string;
613
- ownerOverrides?: Record<string, string> | undefined;
614
- paused: boolean;
615
- type: "pausableHook";
616
- }>, z.ZodObject<{
617
- owner: z.ZodString;
618
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
619
- } & {
620
- type: z.ZodLiteral<"opStackHook">;
621
- nativeBridge: z.ZodString;
622
- destinationChain: z.ZodString;
623
- }, "strip", z.ZodTypeAny, {
624
- owner: string;
625
- ownerOverrides?: Record<string, string> | undefined;
626
- type: "opStackHook";
627
- nativeBridge: string;
628
- destinationChain: string;
629
- }, {
630
- owner: string;
631
- ownerOverrides?: Record<string, string> | undefined;
632
- type: "opStackHook";
633
- nativeBridge: string;
634
- destinationChain: string;
635
- }>, z.ZodObject<{
636
- type: z.ZodLiteral<"merkleTreeHook">;
637
- }, "strip", z.ZodTypeAny, {
638
- type: "merkleTreeHook";
639
- }, {
640
- type: "merkleTreeHook";
641
- }>, z.ZodObject<{
642
- owner: z.ZodString;
643
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
644
- } & {
645
- type: z.ZodLiteral<"interchainGasPaymaster">;
646
- beneficiary: z.ZodString;
647
- oracleKey: z.ZodString;
648
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
649
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
650
- gasPrice: z.ZodString;
651
- tokenExchangeRate: z.ZodString;
652
- } & {
653
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
654
- } & {
655
- typicalCost: z.ZodOptional<z.ZodObject<{
656
- handleGasAmount: z.ZodNumber;
657
- totalGasAmount: z.ZodNumber;
658
- totalUsdCost: z.ZodNumber;
659
- }, "strip", z.ZodTypeAny, {
660
- handleGasAmount: number;
661
- totalGasAmount: number;
662
- totalUsdCost: number;
663
- }, {
664
- handleGasAmount: number;
665
- totalGasAmount: number;
666
- totalUsdCost: number;
667
- }>>;
668
- }, "strip", z.ZodTypeAny, {
669
- gasPrice: string;
670
- tokenExchangeRate: string;
671
- tokenDecimals?: number | undefined;
672
- typicalCost?: {
673
- handleGasAmount: number;
674
- totalGasAmount: number;
675
- totalUsdCost: number;
676
- } | undefined;
677
- }, {
678
- gasPrice: string;
679
- tokenExchangeRate: string;
680
- tokenDecimals?: number | undefined;
681
- typicalCost?: {
682
- handleGasAmount: number;
683
- totalGasAmount: number;
684
- totalUsdCost: number;
685
- } | undefined;
686
- }>>;
687
- igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
688
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
689
- contractVersion: z.ZodOptional<z.ZodString>;
690
- tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
691
- gasPrice: z.ZodString;
692
- tokenExchangeRate: z.ZodString;
693
- } & {
694
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
695
- }, "strip", z.ZodTypeAny, {
696
- gasPrice: string;
697
- tokenExchangeRate: string;
698
- tokenDecimals?: number | undefined;
699
- }, {
700
- gasPrice: string;
701
- tokenExchangeRate: string;
702
- tokenDecimals?: number | undefined;
703
- }>>>>;
704
- }, "strip", z.ZodTypeAny, {
705
- owner: string;
706
- ownerOverrides?: Record<string, string> | undefined;
707
- type: "interchainGasPaymaster";
708
- beneficiary: string;
709
- oracleKey: string;
710
- overhead: Record<string, number>;
711
- oracleConfig: Record<string, {
712
- gasPrice: string;
713
- tokenExchangeRate: string;
714
- tokenDecimals?: number | undefined;
715
- typicalCost?: {
716
- handleGasAmount: number;
717
- totalGasAmount: number;
718
- totalUsdCost: number;
719
- } | undefined;
720
- }>;
721
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
722
- quoteSigners?: string[] | undefined;
723
- contractVersion?: string | undefined;
724
- tokenOracleConfig?: Record<string, Record<string, {
725
- gasPrice: string;
726
- tokenExchangeRate: string;
727
- tokenDecimals?: number | undefined;
728
- }>> | undefined;
729
- }, {
730
- owner: string;
731
- ownerOverrides?: Record<string, string> | undefined;
732
- type: "interchainGasPaymaster";
733
- beneficiary: string;
734
- oracleKey: string;
735
- overhead: Record<string, number>;
736
- oracleConfig: Record<string, {
737
- gasPrice: string;
738
- tokenExchangeRate: string;
739
- tokenDecimals?: number | undefined;
740
- typicalCost?: {
741
- handleGasAmount: number;
742
- totalGasAmount: number;
743
- totalUsdCost: number;
744
- } | undefined;
745
- }>;
746
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
747
- quoteSigners?: string[] | undefined;
748
- contractVersion?: string | undefined;
749
- tokenOracleConfig?: Record<string, Record<string, {
750
- gasPrice: string;
751
- tokenExchangeRate: string;
752
- tokenDecimals?: number | undefined;
753
- }>> | undefined;
754
- }>, 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<{
755
- type: z.ZodLiteral<"defaultHook">;
756
- }, "strip", z.ZodTypeAny, {
757
- type: "defaultHook";
758
- }, {
759
- type: "defaultHook";
760
- }>, z.ZodObject<{
761
- type: z.ZodLiteral<"ccipHook">;
762
- destinationChain: z.ZodString;
763
- }, "strip", z.ZodTypeAny, {
764
- type: "ccipHook";
765
- destinationChain: string;
766
- }, {
767
- type: "ccipHook";
768
- destinationChain: string;
769
- }>, z.ZodObject<{
770
- type: z.ZodLiteral<"cctpHook">;
771
- address: z.ZodString;
772
- }, "strip", z.ZodTypeAny, {
773
- type: "cctpHook";
774
- address: string;
775
- }, {
776
- type: "cctpHook";
777
- address: string;
778
- }>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
779
- owner: z.ZodString;
780
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
781
- } & {
782
- type: z.ZodLiteral<"rateLimitedHook">;
783
- maxCapacity: z.ZodString;
784
- duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
785
- }, "strip", z.ZodTypeAny, {
786
- owner: string;
787
- ownerOverrides?: Record<string, string> | undefined;
788
- type: "rateLimitedHook";
789
- maxCapacity: string;
790
- duration: bigint;
791
- }, {
792
- owner: string;
793
- ownerOverrides?: Record<string, string> | undefined;
794
- type: "rateLimitedHook";
795
- maxCapacity: string;
796
- duration?: string | number | bigint | undefined;
797
- }>, {
798
- owner: string;
799
- ownerOverrides?: Record<string, string> | undefined;
800
- type: "rateLimitedHook";
801
- maxCapacity: string;
802
- duration: bigint;
803
- }, {
804
- owner: string;
805
- ownerOverrides?: Record<string, string> | undefined;
806
- type: "rateLimitedHook";
807
- maxCapacity: string;
808
- duration?: string | number | bigint | undefined;
809
- }>, {
810
- owner: string;
811
- ownerOverrides?: Record<string, string> | undefined;
812
- type: "rateLimitedHook";
813
- maxCapacity: string;
814
- duration: bigint;
815
- }, {
816
- owner: string;
817
- ownerOverrides?: Record<string, string> | undefined;
818
- type: "rateLimitedHook";
819
- maxCapacity: string;
820
- duration?: string | number | bigint | undefined;
821
- }>, {
822
- owner: string;
823
- ownerOverrides?: Record<string, string> | undefined;
824
- type: "rateLimitedHook";
825
- maxCapacity: string;
826
- duration: bigint;
827
- }, {
828
- owner: string;
829
- ownerOverrides?: Record<string, string> | undefined;
830
- type: "rateLimitedHook";
831
- maxCapacity: string;
832
- duration?: string | number | bigint | undefined;
833
- }>, z.ZodObject<{
834
- type: z.ZodLiteral<"unknownHook">;
835
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
836
- type: z.ZodLiteral<"unknownHook">;
837
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
838
- type: z.ZodLiteral<"unknownHook">;
839
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
840
- type: z.ZodLiteral<"predicateHook">;
841
- address: z.ZodString;
842
- }, "strip", z.ZodTypeAny, {
843
- type: "predicateHook";
844
- address: string;
845
- }, {
846
- type: "predicateHook";
847
- address: string;
848
- }>]>>;
849
- interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, z.ZodTypeDef, unknown>>;
850
- } & {
851
- foreignDeployment: z.ZodOptional<z.ZodString>;
852
- } & {
853
23
  timelock: z.ZodOptional<z.ZodObject<{
854
- delay: z.ZodEffects<z.ZodNumber, number, number>;
24
+ delay: z.ZodNumber;
855
25
  roles: z.ZodObject<{
856
- executor: z.ZodEffects<z.ZodString, string, string>;
857
- proposer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
858
- }, "strip", z.ZodTypeAny, {
859
- executor: string;
860
- proposer: string;
861
- }, {
862
- executor: string;
863
- proposer: string;
864
- }>;
865
- }, "strip", z.ZodTypeAny, {
866
- delay: number;
867
- roles: {
868
- executor: string;
869
- proposer: string;
870
- };
871
- }, {
872
- delay: number;
873
- roles: {
874
- executor: string;
875
- proposer: string;
876
- };
877
- }>>;
878
- } & {
26
+ executor: z.ZodString;
27
+ proposer: z.ZodString;
28
+ }, z.core.$strip>;
29
+ }, z.core.$strip>>;
30
+ mailbox: z.ZodString;
31
+ hook: z.ZodOptional<z.ZodType<HookConfig, unknown, z.core.$ZodTypeInternals<HookConfig, unknown>>>;
32
+ interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, unknown, z.core.$ZodTypeInternals<IsmConfig, unknown>>>;
33
+ foreignDeployment: z.ZodOptional<z.ZodString>;
879
34
  remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
880
35
  address: z.ZodString;
881
- }, "strip", z.ZodTypeAny, {
882
- address: string;
883
- }, {
884
- address: string;
885
- }>>>;
36
+ }, z.core.$strip>>>;
886
37
  proxyAdmin: z.ZodOptional<z.ZodObject<{
887
38
  owner: z.ZodString;
888
39
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
889
- } & {
890
40
  address: z.ZodOptional<z.ZodString>;
891
- }, "strip", z.ZodTypeAny, {
892
- owner: string;
893
- ownerOverrides?: Record<string, string> | undefined;
894
- address?: string | undefined;
895
- }, {
896
- owner: string;
897
- ownerOverrides?: Record<string, string> | undefined;
898
- address?: string | undefined;
899
- }>>;
900
- tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
901
- owner: z.ZodString;
902
- beneficiary: z.ZodOptional<z.ZodString>;
903
- } & {
904
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
905
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
906
- type: z.ZodLiteral<"LinearFee">;
907
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
908
- }, "strip", z.ZodTypeAny, {
909
- owner: string;
910
- beneficiary?: string | undefined;
911
- maxFee?: bigint | undefined;
912
- halfAmount?: bigint | undefined;
913
- type: "LinearFee";
914
- bps?: number | undefined;
915
- }, {
916
- owner: string;
917
- beneficiary?: string | undefined;
918
- maxFee?: string | number | bigint | undefined;
919
- halfAmount?: string | number | bigint | undefined;
920
- type: "LinearFee";
921
- bps?: string | number | undefined;
922
- }>, {
923
- owner: string;
924
- beneficiary?: string | undefined;
925
- maxFee?: bigint | undefined;
926
- halfAmount?: bigint | undefined;
927
- type: "LinearFee";
928
- bps?: number | undefined;
929
- }, {
930
- owner: string;
931
- beneficiary?: string | undefined;
932
- maxFee?: string | number | bigint | undefined;
933
- halfAmount?: string | number | bigint | undefined;
934
- type: "LinearFee";
935
- bps?: string | number | undefined;
936
- }>, {
937
- owner: string;
938
- beneficiary?: string | undefined;
939
- maxFee?: bigint | undefined;
940
- halfAmount?: bigint | undefined;
941
- type: "LinearFee";
942
- bps: number;
943
- }, {
944
- owner: string;
945
- beneficiary?: string | undefined;
946
- maxFee?: string | number | bigint | undefined;
947
- halfAmount?: string | number | bigint | undefined;
948
- type: "LinearFee";
949
- bps?: string | number | undefined;
950
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
951
- owner: z.ZodString;
952
- beneficiary: z.ZodOptional<z.ZodString>;
953
- } & {
954
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
955
- } & {
956
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
957
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
958
- type: z.ZodLiteral<"OffchainQuotedLinearFee">;
959
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
960
- }, "strip", z.ZodTypeAny, {
961
- owner: string;
962
- beneficiary?: string | undefined;
963
- maxFee?: bigint | undefined;
964
- halfAmount?: bigint | undefined;
965
- quoteSigners?: string[] | undefined;
966
- type: "OffchainQuotedLinearFee";
967
- bps?: number | undefined;
968
- }, {
969
- owner: string;
970
- beneficiary?: string | undefined;
971
- maxFee?: string | number | bigint | undefined;
972
- halfAmount?: string | number | bigint | undefined;
973
- quoteSigners?: string[] | undefined;
974
- type: "OffchainQuotedLinearFee";
975
- bps?: string | number | undefined;
976
- }>, {
977
- owner: string;
978
- beneficiary?: string | undefined;
979
- maxFee?: bigint | undefined;
980
- halfAmount?: bigint | undefined;
981
- quoteSigners?: string[] | undefined;
982
- type: "OffchainQuotedLinearFee";
983
- bps?: number | undefined;
984
- }, {
985
- owner: string;
986
- beneficiary?: string | undefined;
987
- maxFee?: string | number | bigint | undefined;
988
- halfAmount?: string | number | bigint | undefined;
989
- quoteSigners?: string[] | undefined;
990
- type: "OffchainQuotedLinearFee";
991
- bps?: string | number | undefined;
992
- }>, {
993
- owner: string;
994
- beneficiary?: string | undefined;
995
- maxFee?: bigint | undefined;
996
- halfAmount?: bigint | undefined;
997
- quoteSigners?: string[] | undefined;
998
- type: "OffchainQuotedLinearFee";
999
- bps: number;
1000
- }, {
1001
- owner: string;
1002
- beneficiary?: string | undefined;
1003
- maxFee?: string | number | bigint | undefined;
1004
- halfAmount?: string | number | bigint | undefined;
1005
- quoteSigners?: string[] | undefined;
1006
- type: "OffchainQuotedLinearFee";
1007
- bps?: string | number | undefined;
1008
- }>, z.ZodEffects<z.ZodObject<{
1009
- owner: z.ZodString;
1010
- beneficiary: z.ZodOptional<z.ZodString>;
1011
- } & {
1012
- type: z.ZodLiteral<"ProgressiveFee">;
1013
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
1014
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
1015
- }, "strip", z.ZodTypeAny, {
1016
- owner: string;
1017
- beneficiary?: string | undefined;
1018
- type: "ProgressiveFee";
1019
- maxFee: bigint;
1020
- halfAmount: bigint;
1021
- }, {
1022
- owner: string;
1023
- beneficiary?: string | undefined;
1024
- type: "ProgressiveFee";
1025
- maxFee: string | number | bigint;
1026
- halfAmount: string | number | bigint;
1027
- }>, {
1028
- owner: string;
1029
- beneficiary?: string | undefined;
1030
- type: "ProgressiveFee";
1031
- maxFee: bigint;
1032
- halfAmount: bigint;
1033
- }, {
1034
- owner: string;
1035
- beneficiary?: string | undefined;
1036
- type: "ProgressiveFee";
1037
- maxFee: string | number | bigint;
1038
- halfAmount: string | number | bigint;
1039
- }>, z.ZodEffects<z.ZodObject<{
1040
- owner: z.ZodString;
1041
- beneficiary: z.ZodOptional<z.ZodString>;
1042
- } & {
1043
- type: z.ZodLiteral<"RegressiveFee">;
1044
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
1045
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
1046
- }, "strip", z.ZodTypeAny, {
1047
- owner: string;
1048
- beneficiary?: string | undefined;
1049
- type: "RegressiveFee";
1050
- maxFee: bigint;
1051
- halfAmount: bigint;
1052
- }, {
1053
- owner: string;
1054
- beneficiary?: string | undefined;
1055
- type: "RegressiveFee";
1056
- maxFee: string | number | bigint;
1057
- halfAmount: string | number | bigint;
1058
- }>, {
1059
- owner: string;
1060
- beneficiary?: string | undefined;
1061
- type: "RegressiveFee";
1062
- maxFee: bigint;
1063
- halfAmount: bigint;
1064
- }, {
1065
- owner: string;
1066
- beneficiary?: string | undefined;
1067
- type: "RegressiveFee";
1068
- maxFee: string | number | bigint;
1069
- halfAmount: string | number | bigint;
1070
- }>, z.ZodEffects<z.ZodObject<{
1071
- owner: z.ZodString;
1072
- beneficiary: z.ZodOptional<z.ZodString>;
1073
- } & {
1074
- type: z.ZodLiteral<"RoutingFee">;
1075
- feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
1076
- }, "strip", z.ZodTypeAny, {
1077
- owner: string;
1078
- beneficiary?: string | undefined;
1079
- type: "RoutingFee";
1080
- feeContracts: Record<string, any>;
1081
- }, {
1082
- owner: string;
1083
- beneficiary?: string | undefined;
1084
- type: "RoutingFee";
1085
- feeContracts: Record<string, any>;
1086
- }>, {
1087
- owner: string;
1088
- beneficiary?: string | undefined;
1089
- type: "RoutingFee";
1090
- feeContracts: Record<string, any>;
1091
- }, {
1092
- owner: string;
1093
- beneficiary?: string | undefined;
1094
- type: "RoutingFee";
1095
- feeContracts: Record<string, any>;
1096
- }>, z.ZodEffects<z.ZodObject<{
1097
- owner: z.ZodString;
1098
- beneficiary: z.ZodOptional<z.ZodString>;
1099
- } & {
1100
- type: z.ZodLiteral<"CrossCollateralRoutingFee">;
1101
- 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>>>;
1102
- }, "strip", z.ZodTypeAny, {
1103
- owner: string;
1104
- beneficiary?: string | undefined;
1105
- type: "CrossCollateralRoutingFee";
1106
- feeContracts: Record<string, Record<string, any>>;
1107
- }, {
1108
- owner: string;
1109
- beneficiary?: string | undefined;
1110
- type: "CrossCollateralRoutingFee";
1111
- feeContracts: Record<string, Record<string, any>>;
1112
- }>, {
1113
- owner: string;
1114
- beneficiary?: string | undefined;
1115
- type: "CrossCollateralRoutingFee";
1116
- feeContracts: Record<string, Record<string, any>>;
1117
- }, {
1118
- owner: string;
1119
- beneficiary?: string | undefined;
1120
- type: "CrossCollateralRoutingFee";
1121
- feeContracts: Record<string, Record<string, any>>;
1122
- }>]>>;
1123
- } & {
1124
- routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
41
+ }, z.core.$strip>>;
42
+ tokenFee: z.ZodOptional<z.ZodType<import("../index.js").TokenFeeConfigInput, unknown, z.core.$ZodTypeInternals<import("../index.js").TokenFeeConfigInput, unknown>>>;
43
+ routerType: z.ZodOptional<z.ZodEnum<typeof import("../ica/types.js").IcaRouterType>>;
1125
44
  commitmentIsm: z.ZodOptional<z.ZodObject<{
1126
45
  owner: z.ZodString;
1127
46
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1128
- } & {
1129
47
  type: z.ZodLiteral<"offchainLookupIsm">;
1130
- urls: z.ZodArray<z.ZodString, "many">;
1131
- }, "strip", z.ZodTypeAny, {
1132
- owner: string;
1133
- ownerOverrides?: Record<string, string> | undefined;
1134
- type: "offchainLookupIsm";
1135
- urls: string[];
1136
- }, {
1137
- owner: string;
1138
- ownerOverrides?: Record<string, string> | undefined;
1139
- type: "offchainLookupIsm";
1140
- urls: string[];
1141
- }>>;
48
+ urls: z.ZodArray<z.ZodURL>;
49
+ }, z.core.$strip>>;
1142
50
  feeTokenApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
1143
51
  feeToken: z.ZodString;
1144
52
  hook: z.ZodString;
1145
- }, "strip", z.ZodTypeAny, {
1146
- feeToken: string;
1147
- hook: string;
1148
- }, {
1149
- feeToken: string;
1150
- hook: string;
1151
- }>, "many">>;
1152
- }, "strip", z.ZodTypeAny, {
1153
- owner: string;
1154
- ownerOverrides?: Record<string, string> | undefined;
1155
- timelock?: {
1156
- delay: number;
1157
- roles: {
1158
- executor: string;
1159
- proposer: string;
1160
- };
1161
- } | undefined;
1162
- mailbox: string;
1163
- hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
1164
- owner: string;
1165
- ownerOverrides?: Record<string, string> | undefined;
1166
- type: "protocolFee";
1167
- beneficiary: string;
1168
- maxProtocolFee: string;
1169
- protocolFee: string;
1170
- } | {
1171
- owner: string;
1172
- ownerOverrides?: Record<string, string> | undefined;
1173
- paused: boolean;
1174
- type: "pausableHook";
1175
- } | {
1176
- owner: string;
1177
- ownerOverrides?: Record<string, string> | undefined;
1178
- type: "opStackHook";
1179
- nativeBridge: string;
1180
- destinationChain: string;
1181
- } | {
1182
- type: "merkleTreeHook";
1183
- } | {
1184
- owner: string;
1185
- ownerOverrides?: Record<string, string> | undefined;
1186
- type: "interchainGasPaymaster";
1187
- beneficiary: string;
1188
- oracleKey: string;
1189
- overhead: Record<string, number>;
1190
- oracleConfig: Record<string, {
1191
- gasPrice: string;
1192
- tokenExchangeRate: string;
1193
- tokenDecimals?: number | undefined;
1194
- typicalCost?: {
1195
- handleGasAmount: number;
1196
- totalGasAmount: number;
1197
- totalUsdCost: number;
1198
- } | undefined;
1199
- }>;
1200
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1201
- quoteSigners?: string[] | undefined;
1202
- contractVersion?: string | undefined;
1203
- tokenOracleConfig?: Record<string, Record<string, {
1204
- gasPrice: string;
1205
- tokenExchangeRate: string;
1206
- tokenDecimals?: number | undefined;
1207
- }>> | undefined;
1208
- } | {
1209
- type: "defaultHook";
1210
- } | {
1211
- type: "ccipHook";
1212
- destinationChain: string;
1213
- } | {
1214
- type: "cctpHook";
1215
- address: string;
1216
- } | {
1217
- owner: string;
1218
- ownerOverrides?: Record<string, string> | undefined;
1219
- type: "rateLimitedHook";
1220
- maxCapacity: string;
1221
- duration: bigint;
1222
- } | {
1223
- type: "predicateHook";
1224
- address: string;
1225
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
1226
- type: z.ZodLiteral<"unknownHook">;
1227
- }, z.ZodTypeAny, "passthrough"> | undefined;
1228
- interchainSecurityModule?: IsmConfig | undefined;
1229
- foreignDeployment?: string | undefined;
1230
- remoteRouters?: Record<string | number, {
1231
- address: string;
1232
- }> | undefined;
1233
- proxyAdmin?: {
1234
- owner: string;
1235
- ownerOverrides?: Record<string, string> | undefined;
1236
- address?: string | undefined;
1237
- } | undefined;
1238
- tokenFee?: {
1239
- owner: string;
1240
- beneficiary?: string | undefined;
1241
- type: "ProgressiveFee";
1242
- maxFee: bigint;
1243
- halfAmount: bigint;
1244
- } | {
1245
- owner: string;
1246
- beneficiary?: string | undefined;
1247
- type: "RegressiveFee";
1248
- maxFee: bigint;
1249
- halfAmount: bigint;
1250
- } | {
1251
- owner: string;
1252
- beneficiary?: string | undefined;
1253
- type: "RoutingFee";
1254
- feeContracts: Record<string, any>;
1255
- } | {
1256
- owner: string;
1257
- beneficiary?: string | undefined;
1258
- type: "CrossCollateralRoutingFee";
1259
- feeContracts: Record<string, Record<string, any>>;
1260
- } | {
1261
- owner: string;
1262
- beneficiary?: string | undefined;
1263
- maxFee?: bigint | undefined;
1264
- halfAmount?: bigint | undefined;
1265
- type: "LinearFee";
1266
- bps: number;
1267
- } | {
1268
- owner: string;
1269
- beneficiary?: string | undefined;
1270
- maxFee?: bigint | undefined;
1271
- halfAmount?: bigint | undefined;
1272
- quoteSigners?: string[] | undefined;
1273
- type: "OffchainQuotedLinearFee";
1274
- bps: number;
1275
- } | undefined;
1276
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
1277
- commitmentIsm?: {
1278
- owner: string;
1279
- ownerOverrides?: Record<string, string> | undefined;
1280
- type: "offchainLookupIsm";
1281
- urls: string[];
1282
- } | undefined;
1283
- feeTokenApprovals?: {
1284
- feeToken: string;
1285
- hook: string;
1286
- }[] | undefined;
1287
- }, {
1288
- owner: string;
1289
- ownerOverrides?: Record<string, string> | undefined;
1290
- timelock?: {
1291
- delay: number;
1292
- roles: {
1293
- executor: string;
1294
- proposer: string;
1295
- };
1296
- } | undefined;
1297
- mailbox: string;
1298
- hook?: unknown;
1299
- interchainSecurityModule?: unknown;
1300
- foreignDeployment?: string | undefined;
1301
- remoteRouters?: Record<string | number, {
1302
- address: string;
1303
- }> | undefined;
1304
- proxyAdmin?: {
1305
- owner: string;
1306
- ownerOverrides?: Record<string, string> | undefined;
1307
- address?: string | undefined;
1308
- } | undefined;
1309
- tokenFee?: {
1310
- owner: string;
1311
- beneficiary?: string | undefined;
1312
- maxFee?: string | number | bigint | undefined;
1313
- halfAmount?: string | number | bigint | undefined;
1314
- type: "LinearFee";
1315
- bps?: string | number | undefined;
1316
- } | {
1317
- owner: string;
1318
- beneficiary?: string | undefined;
1319
- maxFee?: string | number | bigint | undefined;
1320
- halfAmount?: string | number | bigint | undefined;
1321
- quoteSigners?: string[] | undefined;
1322
- type: "OffchainQuotedLinearFee";
1323
- bps?: string | number | undefined;
1324
- } | {
1325
- owner: string;
1326
- beneficiary?: string | undefined;
1327
- type: "ProgressiveFee";
1328
- maxFee: string | number | bigint;
1329
- halfAmount: string | number | bigint;
1330
- } | {
1331
- owner: string;
1332
- beneficiary?: string | undefined;
1333
- type: "RegressiveFee";
1334
- maxFee: string | number | bigint;
1335
- halfAmount: string | number | bigint;
1336
- } | {
1337
- owner: string;
1338
- beneficiary?: string | undefined;
1339
- type: "RoutingFee";
1340
- feeContracts: Record<string, any>;
1341
- } | {
1342
- owner: string;
1343
- beneficiary?: string | undefined;
1344
- type: "CrossCollateralRoutingFee";
1345
- feeContracts: Record<string, Record<string, any>>;
1346
- } | undefined;
1347
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
1348
- commitmentIsm?: {
1349
- owner: string;
1350
- ownerOverrides?: Record<string, string> | undefined;
1351
- type: "offchainLookupIsm";
1352
- urls: string[];
1353
- } | undefined;
1354
- feeTokenApprovals?: {
1355
- feeToken: string;
1356
- hook: string;
1357
- }[] | undefined;
1358
- }>>;
53
+ }, z.core.$strip>>>;
54
+ }, z.core.$strip>>;
1359
55
  permit2: z.ZodOptional<z.ZodString>;
1360
56
  deployQuotedCalls: z.ZodOptional<z.ZodBoolean>;
1361
57
  contractVersion: z.ZodOptional<z.ZodString>;
1362
- }, "strip", z.ZodTypeAny, {
1363
- owner: string;
1364
- ownerOverrides?: Record<string, string> | undefined;
1365
- defaultIsm: IsmConfig;
1366
- defaultHook: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
1367
- owner: string;
1368
- ownerOverrides?: Record<string, string> | undefined;
1369
- type: "protocolFee";
1370
- beneficiary: string;
1371
- maxProtocolFee: string;
1372
- protocolFee: string;
1373
- } | {
1374
- owner: string;
1375
- ownerOverrides?: Record<string, string> | undefined;
1376
- paused: boolean;
1377
- type: "pausableHook";
1378
- } | {
1379
- owner: string;
1380
- ownerOverrides?: Record<string, string> | undefined;
1381
- type: "opStackHook";
1382
- nativeBridge: string;
1383
- destinationChain: string;
1384
- } | {
1385
- type: "merkleTreeHook";
1386
- } | {
1387
- owner: string;
1388
- ownerOverrides?: Record<string, string> | undefined;
1389
- type: "interchainGasPaymaster";
1390
- beneficiary: string;
1391
- oracleKey: string;
1392
- overhead: Record<string, number>;
1393
- oracleConfig: Record<string, {
1394
- gasPrice: string;
1395
- tokenExchangeRate: string;
1396
- tokenDecimals?: number | undefined;
1397
- typicalCost?: {
1398
- handleGasAmount: number;
1399
- totalGasAmount: number;
1400
- totalUsdCost: number;
1401
- } | undefined;
1402
- }>;
1403
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1404
- quoteSigners?: string[] | undefined;
1405
- contractVersion?: string | undefined;
1406
- tokenOracleConfig?: Record<string, Record<string, {
1407
- gasPrice: string;
1408
- tokenExchangeRate: string;
1409
- tokenDecimals?: number | undefined;
1410
- }>> | undefined;
1411
- } | {
1412
- type: "defaultHook";
1413
- } | {
1414
- type: "ccipHook";
1415
- destinationChain: string;
1416
- } | {
1417
- type: "cctpHook";
1418
- address: string;
1419
- } | {
1420
- owner: string;
1421
- ownerOverrides?: Record<string, string> | undefined;
1422
- type: "rateLimitedHook";
1423
- maxCapacity: string;
1424
- duration: bigint;
1425
- } | {
1426
- type: "predicateHook";
1427
- address: string;
1428
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
1429
- type: z.ZodLiteral<"unknownHook">;
1430
- }, z.ZodTypeAny, "passthrough">;
1431
- requiredHook: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
1432
- owner: string;
1433
- ownerOverrides?: Record<string, string> | undefined;
1434
- type: "protocolFee";
1435
- beneficiary: string;
1436
- maxProtocolFee: string;
1437
- protocolFee: string;
1438
- } | {
1439
- owner: string;
1440
- ownerOverrides?: Record<string, string> | undefined;
1441
- paused: boolean;
1442
- type: "pausableHook";
1443
- } | {
1444
- owner: string;
1445
- ownerOverrides?: Record<string, string> | undefined;
1446
- type: "opStackHook";
1447
- nativeBridge: string;
1448
- destinationChain: string;
1449
- } | {
1450
- type: "merkleTreeHook";
1451
- } | {
1452
- owner: string;
1453
- ownerOverrides?: Record<string, string> | undefined;
1454
- type: "interchainGasPaymaster";
1455
- beneficiary: string;
1456
- oracleKey: string;
1457
- overhead: Record<string, number>;
1458
- oracleConfig: Record<string, {
1459
- gasPrice: string;
1460
- tokenExchangeRate: string;
1461
- tokenDecimals?: number | undefined;
1462
- typicalCost?: {
1463
- handleGasAmount: number;
1464
- totalGasAmount: number;
1465
- totalUsdCost: number;
1466
- } | undefined;
1467
- }>;
1468
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1469
- quoteSigners?: string[] | undefined;
1470
- contractVersion?: string | undefined;
1471
- tokenOracleConfig?: Record<string, Record<string, {
1472
- gasPrice: string;
1473
- tokenExchangeRate: string;
1474
- tokenDecimals?: number | undefined;
1475
- }>> | undefined;
1476
- } | {
1477
- type: "defaultHook";
1478
- } | {
1479
- type: "ccipHook";
1480
- destinationChain: string;
1481
- } | {
1482
- type: "cctpHook";
1483
- address: string;
1484
- } | {
1485
- owner: string;
1486
- ownerOverrides?: Record<string, string> | undefined;
1487
- type: "rateLimitedHook";
1488
- maxCapacity: string;
1489
- duration: bigint;
1490
- } | {
1491
- type: "predicateHook";
1492
- address: string;
1493
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
1494
- type: z.ZodLiteral<"unknownHook">;
1495
- }, z.ZodTypeAny, "passthrough">;
1496
- proxyAdmin?: {
1497
- owner: string;
1498
- ownerOverrides?: Record<string, string> | undefined;
1499
- address?: string | undefined;
1500
- } | undefined;
1501
- interchainAccountRouter?: {
1502
- owner: string;
1503
- ownerOverrides?: Record<string, string> | undefined;
1504
- timelock?: {
1505
- delay: number;
1506
- roles: {
1507
- executor: string;
1508
- proposer: string;
1509
- };
1510
- } | undefined;
1511
- mailbox: string;
1512
- hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
1513
- owner: string;
1514
- ownerOverrides?: Record<string, string> | undefined;
1515
- type: "protocolFee";
1516
- beneficiary: string;
1517
- maxProtocolFee: string;
1518
- protocolFee: string;
1519
- } | {
1520
- owner: string;
1521
- ownerOverrides?: Record<string, string> | undefined;
1522
- paused: boolean;
1523
- type: "pausableHook";
1524
- } | {
1525
- owner: string;
1526
- ownerOverrides?: Record<string, string> | undefined;
1527
- type: "opStackHook";
1528
- nativeBridge: string;
1529
- destinationChain: string;
1530
- } | {
1531
- type: "merkleTreeHook";
1532
- } | {
1533
- owner: string;
1534
- ownerOverrides?: Record<string, string> | undefined;
1535
- type: "interchainGasPaymaster";
1536
- beneficiary: string;
1537
- oracleKey: string;
1538
- overhead: Record<string, number>;
1539
- oracleConfig: Record<string, {
1540
- gasPrice: string;
1541
- tokenExchangeRate: string;
1542
- tokenDecimals?: number | undefined;
1543
- typicalCost?: {
1544
- handleGasAmount: number;
1545
- totalGasAmount: number;
1546
- totalUsdCost: number;
1547
- } | undefined;
1548
- }>;
1549
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1550
- quoteSigners?: string[] | undefined;
1551
- contractVersion?: string | undefined;
1552
- tokenOracleConfig?: Record<string, Record<string, {
1553
- gasPrice: string;
1554
- tokenExchangeRate: string;
1555
- tokenDecimals?: number | undefined;
1556
- }>> | undefined;
1557
- } | {
1558
- type: "defaultHook";
1559
- } | {
1560
- type: "ccipHook";
1561
- destinationChain: string;
1562
- } | {
1563
- type: "cctpHook";
1564
- address: string;
1565
- } | {
1566
- owner: string;
1567
- ownerOverrides?: Record<string, string> | undefined;
1568
- type: "rateLimitedHook";
1569
- maxCapacity: string;
1570
- duration: bigint;
1571
- } | {
1572
- type: "predicateHook";
1573
- address: string;
1574
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
1575
- type: z.ZodLiteral<"unknownHook">;
1576
- }, z.ZodTypeAny, "passthrough"> | undefined;
1577
- interchainSecurityModule?: IsmConfig | undefined;
1578
- foreignDeployment?: string | undefined;
1579
- remoteRouters?: Record<string | number, {
1580
- address: string;
1581
- }> | undefined;
1582
- proxyAdmin?: {
1583
- owner: string;
1584
- ownerOverrides?: Record<string, string> | undefined;
1585
- address?: string | undefined;
1586
- } | undefined;
1587
- tokenFee?: {
1588
- owner: string;
1589
- beneficiary?: string | undefined;
1590
- type: "ProgressiveFee";
1591
- maxFee: bigint;
1592
- halfAmount: bigint;
1593
- } | {
1594
- owner: string;
1595
- beneficiary?: string | undefined;
1596
- type: "RegressiveFee";
1597
- maxFee: bigint;
1598
- halfAmount: bigint;
1599
- } | {
1600
- owner: string;
1601
- beneficiary?: string | undefined;
1602
- type: "RoutingFee";
1603
- feeContracts: Record<string, any>;
1604
- } | {
1605
- owner: string;
1606
- beneficiary?: string | undefined;
1607
- type: "CrossCollateralRoutingFee";
1608
- feeContracts: Record<string, Record<string, any>>;
1609
- } | {
1610
- owner: string;
1611
- beneficiary?: string | undefined;
1612
- maxFee?: bigint | undefined;
1613
- halfAmount?: bigint | undefined;
1614
- type: "LinearFee";
1615
- bps: number;
1616
- } | {
1617
- owner: string;
1618
- beneficiary?: string | undefined;
1619
- maxFee?: bigint | undefined;
1620
- halfAmount?: bigint | undefined;
1621
- quoteSigners?: string[] | undefined;
1622
- type: "OffchainQuotedLinearFee";
1623
- bps: number;
1624
- } | undefined;
1625
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
1626
- commitmentIsm?: {
1627
- owner: string;
1628
- ownerOverrides?: Record<string, string> | undefined;
1629
- type: "offchainLookupIsm";
1630
- urls: string[];
1631
- } | undefined;
1632
- feeTokenApprovals?: {
1633
- feeToken: string;
1634
- hook: string;
1635
- }[] | undefined;
1636
- } | undefined;
1637
- permit2?: string | undefined;
1638
- deployQuotedCalls?: boolean | undefined;
1639
- contractVersion?: string | undefined;
1640
- }, {
1641
- owner: string;
1642
- ownerOverrides?: Record<string, string> | undefined;
1643
- defaultIsm?: unknown;
1644
- defaultHook?: unknown;
1645
- requiredHook?: unknown;
1646
- proxyAdmin?: {
1647
- owner: string;
1648
- ownerOverrides?: Record<string, string> | undefined;
1649
- address?: string | undefined;
1650
- } | undefined;
1651
- interchainAccountRouter?: {
1652
- owner: string;
1653
- ownerOverrides?: Record<string, string> | undefined;
1654
- timelock?: {
1655
- delay: number;
1656
- roles: {
1657
- executor: string;
1658
- proposer: string;
1659
- };
1660
- } | undefined;
1661
- mailbox: string;
1662
- hook?: unknown;
1663
- interchainSecurityModule?: unknown;
1664
- foreignDeployment?: string | undefined;
1665
- remoteRouters?: Record<string | number, {
1666
- address: string;
1667
- }> | undefined;
1668
- proxyAdmin?: {
1669
- owner: string;
1670
- ownerOverrides?: Record<string, string> | undefined;
1671
- address?: string | undefined;
1672
- } | undefined;
1673
- tokenFee?: {
1674
- owner: string;
1675
- beneficiary?: string | undefined;
1676
- maxFee?: string | number | bigint | undefined;
1677
- halfAmount?: string | number | bigint | undefined;
1678
- type: "LinearFee";
1679
- bps?: string | number | undefined;
1680
- } | {
1681
- owner: string;
1682
- beneficiary?: string | undefined;
1683
- maxFee?: string | number | bigint | undefined;
1684
- halfAmount?: string | number | bigint | undefined;
1685
- quoteSigners?: string[] | undefined;
1686
- type: "OffchainQuotedLinearFee";
1687
- bps?: string | number | undefined;
1688
- } | {
1689
- owner: string;
1690
- beneficiary?: string | undefined;
1691
- type: "ProgressiveFee";
1692
- maxFee: string | number | bigint;
1693
- halfAmount: string | number | bigint;
1694
- } | {
1695
- owner: string;
1696
- beneficiary?: string | undefined;
1697
- type: "RegressiveFee";
1698
- maxFee: string | number | bigint;
1699
- halfAmount: string | number | bigint;
1700
- } | {
1701
- owner: string;
1702
- beneficiary?: string | undefined;
1703
- type: "RoutingFee";
1704
- feeContracts: Record<string, any>;
1705
- } | {
1706
- owner: string;
1707
- beneficiary?: string | undefined;
1708
- type: "CrossCollateralRoutingFee";
1709
- feeContracts: Record<string, Record<string, any>>;
1710
- } | undefined;
1711
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
1712
- commitmentIsm?: {
1713
- owner: string;
1714
- ownerOverrides?: Record<string, string> | undefined;
1715
- type: "offchainLookupIsm";
1716
- urls: string[];
1717
- } | undefined;
1718
- feeTokenApprovals?: {
1719
- feeToken: string;
1720
- hook: string;
1721
- }[] | undefined;
1722
- } | undefined;
1723
- permit2?: string | undefined;
1724
- deployQuotedCalls?: boolean | undefined;
1725
- contractVersion?: string | undefined;
1726
- }>, {
1727
- owner: string;
1728
- ownerOverrides?: Record<string, string> | undefined;
1729
- defaultIsm: IsmConfig;
1730
- defaultHook: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
1731
- owner: string;
1732
- ownerOverrides?: Record<string, string> | undefined;
1733
- type: "protocolFee";
1734
- beneficiary: string;
1735
- maxProtocolFee: string;
1736
- protocolFee: string;
1737
- } | {
1738
- owner: string;
1739
- ownerOverrides?: Record<string, string> | undefined;
1740
- paused: boolean;
1741
- type: "pausableHook";
1742
- } | {
1743
- owner: string;
1744
- ownerOverrides?: Record<string, string> | undefined;
1745
- type: "opStackHook";
1746
- nativeBridge: string;
1747
- destinationChain: string;
1748
- } | {
1749
- type: "merkleTreeHook";
1750
- } | {
1751
- owner: string;
1752
- ownerOverrides?: Record<string, string> | undefined;
1753
- type: "interchainGasPaymaster";
1754
- beneficiary: string;
1755
- oracleKey: string;
1756
- overhead: Record<string, number>;
1757
- oracleConfig: Record<string, {
1758
- gasPrice: string;
1759
- tokenExchangeRate: string;
1760
- tokenDecimals?: number | undefined;
1761
- typicalCost?: {
1762
- handleGasAmount: number;
1763
- totalGasAmount: number;
1764
- totalUsdCost: number;
1765
- } | undefined;
1766
- }>;
1767
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1768
- quoteSigners?: string[] | undefined;
1769
- contractVersion?: string | undefined;
1770
- tokenOracleConfig?: Record<string, Record<string, {
1771
- gasPrice: string;
1772
- tokenExchangeRate: string;
1773
- tokenDecimals?: number | undefined;
1774
- }>> | undefined;
1775
- } | {
1776
- type: "defaultHook";
1777
- } | {
1778
- type: "ccipHook";
1779
- destinationChain: string;
1780
- } | {
1781
- type: "cctpHook";
1782
- address: string;
1783
- } | {
1784
- owner: string;
1785
- ownerOverrides?: Record<string, string> | undefined;
1786
- type: "rateLimitedHook";
1787
- maxCapacity: string;
1788
- duration: bigint;
1789
- } | {
1790
- type: "predicateHook";
1791
- address: string;
1792
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
1793
- type: z.ZodLiteral<"unknownHook">;
1794
- }, z.ZodTypeAny, "passthrough">;
1795
- requiredHook: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
1796
- owner: string;
1797
- ownerOverrides?: Record<string, string> | undefined;
1798
- type: "protocolFee";
1799
- beneficiary: string;
1800
- maxProtocolFee: string;
1801
- protocolFee: string;
1802
- } | {
1803
- owner: string;
1804
- ownerOverrides?: Record<string, string> | undefined;
1805
- paused: boolean;
1806
- type: "pausableHook";
1807
- } | {
1808
- owner: string;
1809
- ownerOverrides?: Record<string, string> | undefined;
1810
- type: "opStackHook";
1811
- nativeBridge: string;
1812
- destinationChain: string;
1813
- } | {
1814
- type: "merkleTreeHook";
1815
- } | {
1816
- owner: string;
1817
- ownerOverrides?: Record<string, string> | undefined;
1818
- type: "interchainGasPaymaster";
1819
- beneficiary: string;
1820
- oracleKey: string;
1821
- overhead: Record<string, number>;
1822
- oracleConfig: Record<string, {
1823
- gasPrice: string;
1824
- tokenExchangeRate: string;
1825
- tokenDecimals?: number | undefined;
1826
- typicalCost?: {
1827
- handleGasAmount: number;
1828
- totalGasAmount: number;
1829
- totalUsdCost: number;
1830
- } | undefined;
1831
- }>;
1832
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1833
- quoteSigners?: string[] | undefined;
1834
- contractVersion?: string | undefined;
1835
- tokenOracleConfig?: Record<string, Record<string, {
1836
- gasPrice: string;
1837
- tokenExchangeRate: string;
1838
- tokenDecimals?: number | undefined;
1839
- }>> | undefined;
1840
- } | {
1841
- type: "defaultHook";
1842
- } | {
1843
- type: "ccipHook";
1844
- destinationChain: string;
1845
- } | {
1846
- type: "cctpHook";
1847
- address: string;
1848
- } | {
1849
- owner: string;
1850
- ownerOverrides?: Record<string, string> | undefined;
1851
- type: "rateLimitedHook";
1852
- maxCapacity: string;
1853
- duration: bigint;
1854
- } | {
1855
- type: "predicateHook";
1856
- address: string;
1857
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
1858
- type: z.ZodLiteral<"unknownHook">;
1859
- }, z.ZodTypeAny, "passthrough">;
1860
- proxyAdmin?: {
1861
- owner: string;
1862
- ownerOverrides?: Record<string, string> | undefined;
1863
- address?: string | undefined;
1864
- } | undefined;
1865
- interchainAccountRouter?: {
1866
- owner: string;
1867
- ownerOverrides?: Record<string, string> | undefined;
1868
- timelock?: {
1869
- delay: number;
1870
- roles: {
1871
- executor: string;
1872
- proposer: string;
1873
- };
1874
- } | undefined;
1875
- mailbox: string;
1876
- hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
1877
- owner: string;
1878
- ownerOverrides?: Record<string, string> | undefined;
1879
- type: "protocolFee";
1880
- beneficiary: string;
1881
- maxProtocolFee: string;
1882
- protocolFee: string;
1883
- } | {
1884
- owner: string;
1885
- ownerOverrides?: Record<string, string> | undefined;
1886
- paused: boolean;
1887
- type: "pausableHook";
1888
- } | {
1889
- owner: string;
1890
- ownerOverrides?: Record<string, string> | undefined;
1891
- type: "opStackHook";
1892
- nativeBridge: string;
1893
- destinationChain: string;
1894
- } | {
1895
- type: "merkleTreeHook";
1896
- } | {
1897
- owner: string;
1898
- ownerOverrides?: Record<string, string> | undefined;
1899
- type: "interchainGasPaymaster";
1900
- beneficiary: string;
1901
- oracleKey: string;
1902
- overhead: Record<string, number>;
1903
- oracleConfig: Record<string, {
1904
- gasPrice: string;
1905
- tokenExchangeRate: string;
1906
- tokenDecimals?: number | undefined;
1907
- typicalCost?: {
1908
- handleGasAmount: number;
1909
- totalGasAmount: number;
1910
- totalUsdCost: number;
1911
- } | undefined;
1912
- }>;
1913
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
1914
- quoteSigners?: string[] | undefined;
1915
- contractVersion?: string | undefined;
1916
- tokenOracleConfig?: Record<string, Record<string, {
1917
- gasPrice: string;
1918
- tokenExchangeRate: string;
1919
- tokenDecimals?: number | undefined;
1920
- }>> | undefined;
1921
- } | {
1922
- type: "defaultHook";
1923
- } | {
1924
- type: "ccipHook";
1925
- destinationChain: string;
1926
- } | {
1927
- type: "cctpHook";
1928
- address: string;
1929
- } | {
1930
- owner: string;
1931
- ownerOverrides?: Record<string, string> | undefined;
1932
- type: "rateLimitedHook";
1933
- maxCapacity: string;
1934
- duration: bigint;
1935
- } | {
1936
- type: "predicateHook";
1937
- address: string;
1938
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
1939
- type: z.ZodLiteral<"unknownHook">;
1940
- }, z.ZodTypeAny, "passthrough"> | undefined;
1941
- interchainSecurityModule?: IsmConfig | undefined;
1942
- foreignDeployment?: string | undefined;
1943
- remoteRouters?: Record<string | number, {
1944
- address: string;
1945
- }> | undefined;
1946
- proxyAdmin?: {
1947
- owner: string;
1948
- ownerOverrides?: Record<string, string> | undefined;
1949
- address?: string | undefined;
1950
- } | undefined;
1951
- tokenFee?: {
1952
- owner: string;
1953
- beneficiary?: string | undefined;
1954
- type: "ProgressiveFee";
1955
- maxFee: bigint;
1956
- halfAmount: bigint;
1957
- } | {
1958
- owner: string;
1959
- beneficiary?: string | undefined;
1960
- type: "RegressiveFee";
1961
- maxFee: bigint;
1962
- halfAmount: bigint;
1963
- } | {
1964
- owner: string;
1965
- beneficiary?: string | undefined;
1966
- type: "RoutingFee";
1967
- feeContracts: Record<string, any>;
1968
- } | {
1969
- owner: string;
1970
- beneficiary?: string | undefined;
1971
- type: "CrossCollateralRoutingFee";
1972
- feeContracts: Record<string, Record<string, any>>;
1973
- } | {
1974
- owner: string;
1975
- beneficiary?: string | undefined;
1976
- maxFee?: bigint | undefined;
1977
- halfAmount?: bigint | undefined;
1978
- type: "LinearFee";
1979
- bps: number;
1980
- } | {
1981
- owner: string;
1982
- beneficiary?: string | undefined;
1983
- maxFee?: bigint | undefined;
1984
- halfAmount?: bigint | undefined;
1985
- quoteSigners?: string[] | undefined;
1986
- type: "OffchainQuotedLinearFee";
1987
- bps: number;
1988
- } | undefined;
1989
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
1990
- commitmentIsm?: {
1991
- owner: string;
1992
- ownerOverrides?: Record<string, string> | undefined;
1993
- type: "offchainLookupIsm";
1994
- urls: string[];
1995
- } | undefined;
1996
- feeTokenApprovals?: {
1997
- feeToken: string;
1998
- hook: string;
1999
- }[] | undefined;
2000
- } | undefined;
2001
- permit2?: string | undefined;
2002
- deployQuotedCalls?: boolean | undefined;
2003
- contractVersion?: string | undefined;
2004
- }, {
2005
- owner: string;
2006
- ownerOverrides?: Record<string, string> | undefined;
2007
- defaultIsm?: unknown;
2008
- defaultHook?: unknown;
2009
- requiredHook?: unknown;
2010
- proxyAdmin?: {
2011
- owner: string;
2012
- ownerOverrides?: Record<string, string> | undefined;
2013
- address?: string | undefined;
2014
- } | undefined;
2015
- interchainAccountRouter?: {
2016
- owner: string;
2017
- ownerOverrides?: Record<string, string> | undefined;
2018
- timelock?: {
2019
- delay: number;
2020
- roles: {
2021
- executor: string;
2022
- proposer: string;
2023
- };
2024
- } | undefined;
2025
- mailbox: string;
2026
- hook?: unknown;
2027
- interchainSecurityModule?: unknown;
2028
- foreignDeployment?: string | undefined;
2029
- remoteRouters?: Record<string | number, {
2030
- address: string;
2031
- }> | undefined;
2032
- proxyAdmin?: {
2033
- owner: string;
2034
- ownerOverrides?: Record<string, string> | undefined;
2035
- address?: string | undefined;
2036
- } | undefined;
2037
- tokenFee?: {
2038
- owner: string;
2039
- beneficiary?: string | undefined;
2040
- maxFee?: string | number | bigint | undefined;
2041
- halfAmount?: string | number | bigint | undefined;
2042
- type: "LinearFee";
2043
- bps?: string | number | undefined;
2044
- } | {
2045
- owner: string;
2046
- beneficiary?: string | undefined;
2047
- maxFee?: string | number | bigint | undefined;
2048
- halfAmount?: string | number | bigint | undefined;
2049
- quoteSigners?: string[] | undefined;
2050
- type: "OffchainQuotedLinearFee";
2051
- bps?: string | number | undefined;
2052
- } | {
2053
- owner: string;
2054
- beneficiary?: string | undefined;
2055
- type: "ProgressiveFee";
2056
- maxFee: string | number | bigint;
2057
- halfAmount: string | number | bigint;
2058
- } | {
2059
- owner: string;
2060
- beneficiary?: string | undefined;
2061
- type: "RegressiveFee";
2062
- maxFee: string | number | bigint;
2063
- halfAmount: string | number | bigint;
2064
- } | {
2065
- owner: string;
2066
- beneficiary?: string | undefined;
2067
- type: "RoutingFee";
2068
- feeContracts: Record<string, any>;
2069
- } | {
2070
- owner: string;
2071
- beneficiary?: string | undefined;
2072
- type: "CrossCollateralRoutingFee";
2073
- feeContracts: Record<string, Record<string, any>>;
2074
- } | undefined;
2075
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
2076
- commitmentIsm?: {
2077
- owner: string;
2078
- ownerOverrides?: Record<string, string> | undefined;
2079
- type: "offchainLookupIsm";
2080
- urls: string[];
2081
- } | undefined;
2082
- feeTokenApprovals?: {
2083
- feeToken: string;
2084
- hook: string;
2085
- }[] | undefined;
2086
- } | undefined;
2087
- permit2?: string | undefined;
2088
- deployQuotedCalls?: boolean | undefined;
2089
- contractVersion?: string | undefined;
2090
- }>;
2091
- export declare const DerivedCoreConfigSchema: z.ZodEffects<z.ZodObject<{
58
+ }, z.core.$strip>;
59
+ export declare const DerivedCoreConfigSchema: z.ZodObject<{
2092
60
  owner: z.ZodString;
2093
61
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2094
- defaultIsm: z.ZodType<IsmConfig, z.ZodTypeDef, unknown>;
2095
- defaultHook: z.ZodUnion<[z.ZodString, z.ZodObject<{
2096
- owner: z.ZodString;
2097
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2098
- } & {
2099
- type: z.ZodLiteral<"protocolFee">;
2100
- beneficiary: z.ZodString;
2101
- maxProtocolFee: z.ZodString;
2102
- protocolFee: z.ZodString;
2103
- }, "strip", z.ZodTypeAny, {
2104
- owner: string;
2105
- ownerOverrides?: Record<string, string> | undefined;
2106
- type: "protocolFee";
2107
- beneficiary: string;
2108
- maxProtocolFee: string;
2109
- protocolFee: string;
2110
- }, {
2111
- owner: string;
2112
- ownerOverrides?: Record<string, string> | undefined;
2113
- type: "protocolFee";
2114
- beneficiary: string;
2115
- maxProtocolFee: string;
2116
- protocolFee: string;
2117
- }>, z.ZodObject<{
2118
- owner: z.ZodString;
2119
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2120
- } & {
2121
- paused: z.ZodBoolean;
2122
- } & {
2123
- type: z.ZodLiteral<"pausableHook">;
2124
- }, "strip", z.ZodTypeAny, {
2125
- owner: string;
2126
- ownerOverrides?: Record<string, string> | undefined;
2127
- paused: boolean;
2128
- type: "pausableHook";
2129
- }, {
2130
- owner: string;
2131
- ownerOverrides?: Record<string, string> | undefined;
2132
- paused: boolean;
2133
- type: "pausableHook";
2134
- }>, z.ZodObject<{
2135
- owner: z.ZodString;
2136
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2137
- } & {
2138
- type: z.ZodLiteral<"opStackHook">;
2139
- nativeBridge: z.ZodString;
2140
- destinationChain: z.ZodString;
2141
- }, "strip", z.ZodTypeAny, {
2142
- owner: string;
2143
- ownerOverrides?: Record<string, string> | undefined;
2144
- type: "opStackHook";
2145
- nativeBridge: string;
2146
- destinationChain: string;
2147
- }, {
2148
- owner: string;
2149
- ownerOverrides?: Record<string, string> | undefined;
2150
- type: "opStackHook";
2151
- nativeBridge: string;
2152
- destinationChain: string;
2153
- }>, z.ZodObject<{
2154
- type: z.ZodLiteral<"merkleTreeHook">;
2155
- }, "strip", z.ZodTypeAny, {
2156
- type: "merkleTreeHook";
2157
- }, {
2158
- type: "merkleTreeHook";
2159
- }>, z.ZodObject<{
2160
- owner: z.ZodString;
2161
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2162
- } & {
2163
- type: z.ZodLiteral<"interchainGasPaymaster">;
2164
- beneficiary: z.ZodString;
2165
- oracleKey: z.ZodString;
2166
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
2167
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
2168
- gasPrice: z.ZodString;
2169
- tokenExchangeRate: z.ZodString;
2170
- } & {
2171
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
2172
- } & {
2173
- typicalCost: z.ZodOptional<z.ZodObject<{
2174
- handleGasAmount: z.ZodNumber;
2175
- totalGasAmount: z.ZodNumber;
2176
- totalUsdCost: z.ZodNumber;
2177
- }, "strip", z.ZodTypeAny, {
2178
- handleGasAmount: number;
2179
- totalGasAmount: number;
2180
- totalUsdCost: number;
2181
- }, {
2182
- handleGasAmount: number;
2183
- totalGasAmount: number;
2184
- totalUsdCost: number;
2185
- }>>;
2186
- }, "strip", z.ZodTypeAny, {
2187
- gasPrice: string;
2188
- tokenExchangeRate: string;
2189
- tokenDecimals?: number | undefined;
2190
- typicalCost?: {
2191
- handleGasAmount: number;
2192
- totalGasAmount: number;
2193
- totalUsdCost: number;
2194
- } | undefined;
2195
- }, {
2196
- gasPrice: string;
2197
- tokenExchangeRate: string;
2198
- tokenDecimals?: number | undefined;
2199
- typicalCost?: {
2200
- handleGasAmount: number;
2201
- totalGasAmount: number;
2202
- totalUsdCost: number;
2203
- } | undefined;
2204
- }>>;
2205
- igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
2206
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2207
- contractVersion: z.ZodOptional<z.ZodString>;
2208
- tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
2209
- gasPrice: z.ZodString;
2210
- tokenExchangeRate: z.ZodString;
2211
- } & {
2212
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
2213
- }, "strip", z.ZodTypeAny, {
2214
- gasPrice: string;
2215
- tokenExchangeRate: string;
2216
- tokenDecimals?: number | undefined;
2217
- }, {
2218
- gasPrice: string;
2219
- tokenExchangeRate: string;
2220
- tokenDecimals?: number | undefined;
2221
- }>>>>;
2222
- }, "strip", z.ZodTypeAny, {
2223
- owner: string;
2224
- ownerOverrides?: Record<string, string> | undefined;
2225
- type: "interchainGasPaymaster";
2226
- beneficiary: string;
2227
- oracleKey: string;
2228
- overhead: Record<string, number>;
2229
- oracleConfig: Record<string, {
2230
- gasPrice: string;
2231
- tokenExchangeRate: string;
2232
- tokenDecimals?: number | undefined;
2233
- typicalCost?: {
2234
- handleGasAmount: number;
2235
- totalGasAmount: number;
2236
- totalUsdCost: number;
2237
- } | undefined;
2238
- }>;
2239
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
2240
- quoteSigners?: string[] | undefined;
2241
- contractVersion?: string | undefined;
2242
- tokenOracleConfig?: Record<string, Record<string, {
2243
- gasPrice: string;
2244
- tokenExchangeRate: string;
2245
- tokenDecimals?: number | undefined;
2246
- }>> | undefined;
2247
- }, {
2248
- owner: string;
2249
- ownerOverrides?: Record<string, string> | undefined;
2250
- type: "interchainGasPaymaster";
2251
- beneficiary: string;
2252
- oracleKey: string;
2253
- overhead: Record<string, number>;
2254
- oracleConfig: Record<string, {
2255
- gasPrice: string;
2256
- tokenExchangeRate: string;
2257
- tokenDecimals?: number | undefined;
2258
- typicalCost?: {
2259
- handleGasAmount: number;
2260
- totalGasAmount: number;
2261
- totalUsdCost: number;
2262
- } | undefined;
2263
- }>;
2264
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
2265
- quoteSigners?: string[] | undefined;
2266
- contractVersion?: string | undefined;
2267
- tokenOracleConfig?: Record<string, Record<string, {
2268
- gasPrice: string;
2269
- tokenExchangeRate: string;
2270
- tokenDecimals?: number | undefined;
2271
- }>> | undefined;
2272
- }>, 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<{
2273
- type: z.ZodLiteral<"defaultHook">;
2274
- }, "strip", z.ZodTypeAny, {
2275
- type: "defaultHook";
2276
- }, {
2277
- type: "defaultHook";
2278
- }>, z.ZodObject<{
2279
- type: z.ZodLiteral<"ccipHook">;
2280
- destinationChain: z.ZodString;
2281
- }, "strip", z.ZodTypeAny, {
2282
- type: "ccipHook";
2283
- destinationChain: string;
2284
- }, {
2285
- type: "ccipHook";
2286
- destinationChain: string;
2287
- }>, z.ZodObject<{
2288
- type: z.ZodLiteral<"cctpHook">;
2289
- address: z.ZodString;
2290
- }, "strip", z.ZodTypeAny, {
2291
- type: "cctpHook";
2292
- address: string;
2293
- }, {
2294
- type: "cctpHook";
2295
- address: string;
2296
- }>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
2297
- owner: z.ZodString;
2298
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2299
- } & {
2300
- type: z.ZodLiteral<"rateLimitedHook">;
2301
- maxCapacity: z.ZodString;
2302
- duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
2303
- }, "strip", z.ZodTypeAny, {
2304
- owner: string;
2305
- ownerOverrides?: Record<string, string> | undefined;
2306
- type: "rateLimitedHook";
2307
- maxCapacity: string;
2308
- duration: bigint;
2309
- }, {
2310
- owner: string;
2311
- ownerOverrides?: Record<string, string> | undefined;
2312
- type: "rateLimitedHook";
2313
- maxCapacity: string;
2314
- duration?: string | number | bigint | undefined;
2315
- }>, {
2316
- owner: string;
2317
- ownerOverrides?: Record<string, string> | undefined;
2318
- type: "rateLimitedHook";
2319
- maxCapacity: string;
2320
- duration: bigint;
2321
- }, {
2322
- owner: string;
2323
- ownerOverrides?: Record<string, string> | undefined;
2324
- type: "rateLimitedHook";
2325
- maxCapacity: string;
2326
- duration?: string | number | bigint | undefined;
2327
- }>, {
2328
- owner: string;
2329
- ownerOverrides?: Record<string, string> | undefined;
2330
- type: "rateLimitedHook";
2331
- maxCapacity: string;
2332
- duration: bigint;
2333
- }, {
2334
- owner: string;
2335
- ownerOverrides?: Record<string, string> | undefined;
2336
- type: "rateLimitedHook";
2337
- maxCapacity: string;
2338
- duration?: string | number | bigint | undefined;
2339
- }>, {
2340
- owner: string;
2341
- ownerOverrides?: Record<string, string> | undefined;
2342
- type: "rateLimitedHook";
2343
- maxCapacity: string;
2344
- duration: bigint;
2345
- }, {
2346
- owner: string;
2347
- ownerOverrides?: Record<string, string> | undefined;
2348
- type: "rateLimitedHook";
2349
- maxCapacity: string;
2350
- duration?: string | number | bigint | undefined;
2351
- }>, z.ZodObject<{
2352
- type: z.ZodLiteral<"unknownHook">;
2353
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2354
- type: z.ZodLiteral<"unknownHook">;
2355
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2356
- type: z.ZodLiteral<"unknownHook">;
2357
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2358
- type: z.ZodLiteral<"predicateHook">;
2359
- address: z.ZodString;
2360
- }, "strip", z.ZodTypeAny, {
2361
- type: "predicateHook";
2362
- address: string;
2363
- }, {
2364
- type: "predicateHook";
2365
- address: string;
2366
- }>]>;
2367
- requiredHook: z.ZodUnion<[z.ZodString, z.ZodObject<{
2368
- owner: z.ZodString;
2369
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2370
- } & {
2371
- type: z.ZodLiteral<"protocolFee">;
2372
- beneficiary: z.ZodString;
2373
- maxProtocolFee: z.ZodString;
2374
- protocolFee: z.ZodString;
2375
- }, "strip", z.ZodTypeAny, {
2376
- owner: string;
2377
- ownerOverrides?: Record<string, string> | undefined;
2378
- type: "protocolFee";
2379
- beneficiary: string;
2380
- maxProtocolFee: string;
2381
- protocolFee: string;
2382
- }, {
2383
- owner: string;
2384
- ownerOverrides?: Record<string, string> | undefined;
2385
- type: "protocolFee";
2386
- beneficiary: string;
2387
- maxProtocolFee: string;
2388
- protocolFee: string;
2389
- }>, z.ZodObject<{
2390
- owner: z.ZodString;
2391
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2392
- } & {
2393
- paused: z.ZodBoolean;
2394
- } & {
2395
- type: z.ZodLiteral<"pausableHook">;
2396
- }, "strip", z.ZodTypeAny, {
2397
- owner: string;
2398
- ownerOverrides?: Record<string, string> | undefined;
2399
- paused: boolean;
2400
- type: "pausableHook";
2401
- }, {
2402
- owner: string;
2403
- ownerOverrides?: Record<string, string> | undefined;
2404
- paused: boolean;
2405
- type: "pausableHook";
2406
- }>, z.ZodObject<{
2407
- owner: z.ZodString;
2408
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2409
- } & {
2410
- type: z.ZodLiteral<"opStackHook">;
2411
- nativeBridge: z.ZodString;
2412
- destinationChain: z.ZodString;
2413
- }, "strip", z.ZodTypeAny, {
2414
- owner: string;
2415
- ownerOverrides?: Record<string, string> | undefined;
2416
- type: "opStackHook";
2417
- nativeBridge: string;
2418
- destinationChain: string;
2419
- }, {
2420
- owner: string;
2421
- ownerOverrides?: Record<string, string> | undefined;
2422
- type: "opStackHook";
2423
- nativeBridge: string;
2424
- destinationChain: string;
2425
- }>, z.ZodObject<{
2426
- type: z.ZodLiteral<"merkleTreeHook">;
2427
- }, "strip", z.ZodTypeAny, {
2428
- type: "merkleTreeHook";
2429
- }, {
2430
- type: "merkleTreeHook";
2431
- }>, z.ZodObject<{
2432
- owner: z.ZodString;
2433
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2434
- } & {
2435
- type: z.ZodLiteral<"interchainGasPaymaster">;
2436
- beneficiary: z.ZodString;
2437
- oracleKey: z.ZodString;
2438
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
2439
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
2440
- gasPrice: z.ZodString;
2441
- tokenExchangeRate: z.ZodString;
2442
- } & {
2443
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
2444
- } & {
2445
- typicalCost: z.ZodOptional<z.ZodObject<{
2446
- handleGasAmount: z.ZodNumber;
2447
- totalGasAmount: z.ZodNumber;
2448
- totalUsdCost: z.ZodNumber;
2449
- }, "strip", z.ZodTypeAny, {
2450
- handleGasAmount: number;
2451
- totalGasAmount: number;
2452
- totalUsdCost: number;
2453
- }, {
2454
- handleGasAmount: number;
2455
- totalGasAmount: number;
2456
- totalUsdCost: number;
2457
- }>>;
2458
- }, "strip", z.ZodTypeAny, {
2459
- gasPrice: string;
2460
- tokenExchangeRate: string;
2461
- tokenDecimals?: number | undefined;
2462
- typicalCost?: {
2463
- handleGasAmount: number;
2464
- totalGasAmount: number;
2465
- totalUsdCost: number;
2466
- } | undefined;
2467
- }, {
2468
- gasPrice: string;
2469
- tokenExchangeRate: string;
2470
- tokenDecimals?: number | undefined;
2471
- typicalCost?: {
2472
- handleGasAmount: number;
2473
- totalGasAmount: number;
2474
- totalUsdCost: number;
2475
- } | undefined;
2476
- }>>;
2477
- igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
2478
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2479
- contractVersion: z.ZodOptional<z.ZodString>;
2480
- tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
2481
- gasPrice: z.ZodString;
2482
- tokenExchangeRate: z.ZodString;
2483
- } & {
2484
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
2485
- }, "strip", z.ZodTypeAny, {
2486
- gasPrice: string;
2487
- tokenExchangeRate: string;
2488
- tokenDecimals?: number | undefined;
2489
- }, {
2490
- gasPrice: string;
2491
- tokenExchangeRate: string;
2492
- tokenDecimals?: number | undefined;
2493
- }>>>>;
2494
- }, "strip", z.ZodTypeAny, {
2495
- owner: string;
2496
- ownerOverrides?: Record<string, string> | undefined;
2497
- type: "interchainGasPaymaster";
2498
- beneficiary: string;
2499
- oracleKey: string;
2500
- overhead: Record<string, number>;
2501
- oracleConfig: Record<string, {
2502
- gasPrice: string;
2503
- tokenExchangeRate: string;
2504
- tokenDecimals?: number | undefined;
2505
- typicalCost?: {
2506
- handleGasAmount: number;
2507
- totalGasAmount: number;
2508
- totalUsdCost: number;
2509
- } | undefined;
2510
- }>;
2511
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
2512
- quoteSigners?: string[] | undefined;
2513
- contractVersion?: string | undefined;
2514
- tokenOracleConfig?: Record<string, Record<string, {
2515
- gasPrice: string;
2516
- tokenExchangeRate: string;
2517
- tokenDecimals?: number | undefined;
2518
- }>> | undefined;
2519
- }, {
2520
- owner: string;
2521
- ownerOverrides?: Record<string, string> | undefined;
2522
- type: "interchainGasPaymaster";
2523
- beneficiary: string;
2524
- oracleKey: string;
2525
- overhead: Record<string, number>;
2526
- oracleConfig: Record<string, {
2527
- gasPrice: string;
2528
- tokenExchangeRate: string;
2529
- tokenDecimals?: number | undefined;
2530
- typicalCost?: {
2531
- handleGasAmount: number;
2532
- totalGasAmount: number;
2533
- totalUsdCost: number;
2534
- } | undefined;
2535
- }>;
2536
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
2537
- quoteSigners?: string[] | undefined;
2538
- contractVersion?: string | undefined;
2539
- tokenOracleConfig?: Record<string, Record<string, {
2540
- gasPrice: string;
2541
- tokenExchangeRate: string;
2542
- tokenDecimals?: number | undefined;
2543
- }>> | undefined;
2544
- }>, 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<{
2545
- type: z.ZodLiteral<"defaultHook">;
2546
- }, "strip", z.ZodTypeAny, {
2547
- type: "defaultHook";
2548
- }, {
2549
- type: "defaultHook";
2550
- }>, z.ZodObject<{
2551
- type: z.ZodLiteral<"ccipHook">;
2552
- destinationChain: z.ZodString;
2553
- }, "strip", z.ZodTypeAny, {
2554
- type: "ccipHook";
2555
- destinationChain: string;
2556
- }, {
2557
- type: "ccipHook";
2558
- destinationChain: string;
2559
- }>, z.ZodObject<{
2560
- type: z.ZodLiteral<"cctpHook">;
2561
- address: z.ZodString;
2562
- }, "strip", z.ZodTypeAny, {
2563
- type: "cctpHook";
2564
- address: string;
2565
- }, {
2566
- type: "cctpHook";
2567
- address: string;
2568
- }>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
2569
- owner: z.ZodString;
2570
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2571
- } & {
2572
- type: z.ZodLiteral<"rateLimitedHook">;
2573
- maxCapacity: z.ZodString;
2574
- duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
2575
- }, "strip", z.ZodTypeAny, {
2576
- owner: string;
2577
- ownerOverrides?: Record<string, string> | undefined;
2578
- type: "rateLimitedHook";
2579
- maxCapacity: string;
2580
- duration: bigint;
2581
- }, {
2582
- owner: string;
2583
- ownerOverrides?: Record<string, string> | undefined;
2584
- type: "rateLimitedHook";
2585
- maxCapacity: string;
2586
- duration?: string | number | bigint | undefined;
2587
- }>, {
2588
- owner: string;
2589
- ownerOverrides?: Record<string, string> | undefined;
2590
- type: "rateLimitedHook";
2591
- maxCapacity: string;
2592
- duration: bigint;
2593
- }, {
2594
- owner: string;
2595
- ownerOverrides?: Record<string, string> | undefined;
2596
- type: "rateLimitedHook";
2597
- maxCapacity: string;
2598
- duration?: string | number | bigint | undefined;
2599
- }>, {
2600
- owner: string;
2601
- ownerOverrides?: Record<string, string> | undefined;
2602
- type: "rateLimitedHook";
2603
- maxCapacity: string;
2604
- duration: bigint;
2605
- }, {
2606
- owner: string;
2607
- ownerOverrides?: Record<string, string> | undefined;
2608
- type: "rateLimitedHook";
2609
- maxCapacity: string;
2610
- duration?: string | number | bigint | undefined;
2611
- }>, {
2612
- owner: string;
2613
- ownerOverrides?: Record<string, string> | undefined;
2614
- type: "rateLimitedHook";
2615
- maxCapacity: string;
2616
- duration: bigint;
2617
- }, {
2618
- owner: string;
2619
- ownerOverrides?: Record<string, string> | undefined;
2620
- type: "rateLimitedHook";
2621
- maxCapacity: string;
2622
- duration?: string | number | bigint | undefined;
2623
- }>, z.ZodObject<{
2624
- type: z.ZodLiteral<"unknownHook">;
2625
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2626
- type: z.ZodLiteral<"unknownHook">;
2627
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2628
- type: z.ZodLiteral<"unknownHook">;
2629
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2630
- type: z.ZodLiteral<"predicateHook">;
2631
- address: z.ZodString;
2632
- }, "strip", z.ZodTypeAny, {
2633
- type: "predicateHook";
2634
- address: string;
2635
- }, {
2636
- type: "predicateHook";
2637
- address: string;
2638
- }>]>;
62
+ defaultIsm: z.ZodType<IsmConfig, unknown, z.core.$ZodTypeInternals<IsmConfig, unknown>>;
63
+ defaultHook: z.ZodType<HookConfig, unknown, z.core.$ZodTypeInternals<HookConfig, unknown>>;
64
+ requiredHook: z.ZodType<HookConfig, unknown, z.core.$ZodTypeInternals<HookConfig, unknown>>;
2639
65
  proxyAdmin: z.ZodOptional<z.ZodObject<{
2640
66
  owner: z.ZodString;
2641
67
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2642
- } & {
2643
68
  address: z.ZodOptional<z.ZodString>;
2644
- }, "strip", z.ZodTypeAny, {
2645
- owner: string;
2646
- ownerOverrides?: Record<string, string> | undefined;
2647
- address?: string | undefined;
2648
- }, {
2649
- owner: string;
2650
- ownerOverrides?: Record<string, string> | undefined;
2651
- address?: string | undefined;
2652
- }>>;
69
+ }, z.core.$strip>>;
2653
70
  permit2: z.ZodOptional<z.ZodString>;
2654
71
  deployQuotedCalls: z.ZodOptional<z.ZodBoolean>;
2655
72
  contractVersion: z.ZodOptional<z.ZodString>;
2656
- } & {
2657
73
  interchainAccountRouter: z.ZodOptional<z.ZodObject<{
2658
74
  owner: z.ZodString;
2659
75
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2660
- } & {
2661
- mailbox: z.ZodString;
2662
- hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2663
- owner: z.ZodString;
2664
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2665
- } & {
2666
- type: z.ZodLiteral<"protocolFee">;
2667
- beneficiary: z.ZodString;
2668
- maxProtocolFee: z.ZodString;
2669
- protocolFee: z.ZodString;
2670
- }, "strip", z.ZodTypeAny, {
2671
- owner: string;
2672
- ownerOverrides?: Record<string, string> | undefined;
2673
- type: "protocolFee";
2674
- beneficiary: string;
2675
- maxProtocolFee: string;
2676
- protocolFee: string;
2677
- }, {
2678
- owner: string;
2679
- ownerOverrides?: Record<string, string> | undefined;
2680
- type: "protocolFee";
2681
- beneficiary: string;
2682
- maxProtocolFee: string;
2683
- protocolFee: string;
2684
- }>, z.ZodObject<{
2685
- owner: z.ZodString;
2686
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2687
- } & {
2688
- paused: z.ZodBoolean;
2689
- } & {
2690
- type: z.ZodLiteral<"pausableHook">;
2691
- }, "strip", z.ZodTypeAny, {
2692
- owner: string;
2693
- ownerOverrides?: Record<string, string> | undefined;
2694
- paused: boolean;
2695
- type: "pausableHook";
2696
- }, {
2697
- owner: string;
2698
- ownerOverrides?: Record<string, string> | undefined;
2699
- paused: boolean;
2700
- type: "pausableHook";
2701
- }>, z.ZodObject<{
2702
- owner: z.ZodString;
2703
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2704
- } & {
2705
- type: z.ZodLiteral<"opStackHook">;
2706
- nativeBridge: z.ZodString;
2707
- destinationChain: z.ZodString;
2708
- }, "strip", z.ZodTypeAny, {
2709
- owner: string;
2710
- ownerOverrides?: Record<string, string> | undefined;
2711
- type: "opStackHook";
2712
- nativeBridge: string;
2713
- destinationChain: string;
2714
- }, {
2715
- owner: string;
2716
- ownerOverrides?: Record<string, string> | undefined;
2717
- type: "opStackHook";
2718
- nativeBridge: string;
2719
- destinationChain: string;
2720
- }>, z.ZodObject<{
2721
- type: z.ZodLiteral<"merkleTreeHook">;
2722
- }, "strip", z.ZodTypeAny, {
2723
- type: "merkleTreeHook";
2724
- }, {
2725
- type: "merkleTreeHook";
2726
- }>, z.ZodObject<{
2727
- owner: z.ZodString;
2728
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2729
- } & {
2730
- type: z.ZodLiteral<"interchainGasPaymaster">;
2731
- beneficiary: z.ZodString;
2732
- oracleKey: z.ZodString;
2733
- overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
2734
- oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
2735
- gasPrice: z.ZodString;
2736
- tokenExchangeRate: z.ZodString;
2737
- } & {
2738
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
2739
- } & {
2740
- typicalCost: z.ZodOptional<z.ZodObject<{
2741
- handleGasAmount: z.ZodNumber;
2742
- totalGasAmount: z.ZodNumber;
2743
- totalUsdCost: z.ZodNumber;
2744
- }, "strip", z.ZodTypeAny, {
2745
- handleGasAmount: number;
2746
- totalGasAmount: number;
2747
- totalUsdCost: number;
2748
- }, {
2749
- handleGasAmount: number;
2750
- totalGasAmount: number;
2751
- totalUsdCost: number;
2752
- }>>;
2753
- }, "strip", z.ZodTypeAny, {
2754
- gasPrice: string;
2755
- tokenExchangeRate: string;
2756
- tokenDecimals?: number | undefined;
2757
- typicalCost?: {
2758
- handleGasAmount: number;
2759
- totalGasAmount: number;
2760
- totalUsdCost: number;
2761
- } | undefined;
2762
- }, {
2763
- gasPrice: string;
2764
- tokenExchangeRate: string;
2765
- tokenDecimals?: number | undefined;
2766
- typicalCost?: {
2767
- handleGasAmount: number;
2768
- totalGasAmount: number;
2769
- totalUsdCost: number;
2770
- } | undefined;
2771
- }>>;
2772
- igpVersion: z.ZodOptional<z.ZodNativeEnum<typeof import("../hook/types.js").IgpVersion>>;
2773
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2774
- contractVersion: z.ZodOptional<z.ZodString>;
2775
- tokenOracleConfig: z.ZodOptional<z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodRecord<z.ZodString, z.ZodObject<{
2776
- gasPrice: z.ZodString;
2777
- tokenExchangeRate: z.ZodString;
2778
- } & {
2779
- tokenDecimals: z.ZodOptional<z.ZodNumber>;
2780
- }, "strip", z.ZodTypeAny, {
2781
- gasPrice: string;
2782
- tokenExchangeRate: string;
2783
- tokenDecimals?: number | undefined;
2784
- }, {
2785
- gasPrice: string;
2786
- tokenExchangeRate: string;
2787
- tokenDecimals?: number | undefined;
2788
- }>>>>;
2789
- }, "strip", z.ZodTypeAny, {
2790
- owner: string;
2791
- ownerOverrides?: Record<string, string> | undefined;
2792
- type: "interchainGasPaymaster";
2793
- beneficiary: string;
2794
- oracleKey: string;
2795
- overhead: Record<string, number>;
2796
- oracleConfig: Record<string, {
2797
- gasPrice: string;
2798
- tokenExchangeRate: string;
2799
- tokenDecimals?: number | undefined;
2800
- typicalCost?: {
2801
- handleGasAmount: number;
2802
- totalGasAmount: number;
2803
- totalUsdCost: number;
2804
- } | undefined;
2805
- }>;
2806
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
2807
- quoteSigners?: string[] | undefined;
2808
- contractVersion?: string | undefined;
2809
- tokenOracleConfig?: Record<string, Record<string, {
2810
- gasPrice: string;
2811
- tokenExchangeRate: string;
2812
- tokenDecimals?: number | undefined;
2813
- }>> | undefined;
2814
- }, {
2815
- owner: string;
2816
- ownerOverrides?: Record<string, string> | undefined;
2817
- type: "interchainGasPaymaster";
2818
- beneficiary: string;
2819
- oracleKey: string;
2820
- overhead: Record<string, number>;
2821
- oracleConfig: Record<string, {
2822
- gasPrice: string;
2823
- tokenExchangeRate: string;
2824
- tokenDecimals?: number | undefined;
2825
- typicalCost?: {
2826
- handleGasAmount: number;
2827
- totalGasAmount: number;
2828
- totalUsdCost: number;
2829
- } | undefined;
2830
- }>;
2831
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
2832
- quoteSigners?: string[] | undefined;
2833
- contractVersion?: string | undefined;
2834
- tokenOracleConfig?: Record<string, Record<string, {
2835
- gasPrice: string;
2836
- tokenExchangeRate: string;
2837
- tokenDecimals?: number | undefined;
2838
- }>> | undefined;
2839
- }>, 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<{
2840
- type: z.ZodLiteral<"defaultHook">;
2841
- }, "strip", z.ZodTypeAny, {
2842
- type: "defaultHook";
2843
- }, {
2844
- type: "defaultHook";
2845
- }>, z.ZodObject<{
2846
- type: z.ZodLiteral<"ccipHook">;
2847
- destinationChain: z.ZodString;
2848
- }, "strip", z.ZodTypeAny, {
2849
- type: "ccipHook";
2850
- destinationChain: string;
2851
- }, {
2852
- type: "ccipHook";
2853
- destinationChain: string;
2854
- }>, z.ZodObject<{
2855
- type: z.ZodLiteral<"cctpHook">;
2856
- address: z.ZodString;
2857
- }, "strip", z.ZodTypeAny, {
2858
- type: "cctpHook";
2859
- address: string;
2860
- }, {
2861
- type: "cctpHook";
2862
- address: string;
2863
- }>, z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
2864
- owner: z.ZodString;
2865
- ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2866
- } & {
2867
- type: z.ZodLiteral<"rateLimitedHook">;
2868
- maxCapacity: z.ZodString;
2869
- duration: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
2870
- }, "strip", z.ZodTypeAny, {
2871
- owner: string;
2872
- ownerOverrides?: Record<string, string> | undefined;
2873
- type: "rateLimitedHook";
2874
- maxCapacity: string;
2875
- duration: bigint;
2876
- }, {
2877
- owner: string;
2878
- ownerOverrides?: Record<string, string> | undefined;
2879
- type: "rateLimitedHook";
2880
- maxCapacity: string;
2881
- duration?: string | number | bigint | undefined;
2882
- }>, {
2883
- owner: string;
2884
- ownerOverrides?: Record<string, string> | undefined;
2885
- type: "rateLimitedHook";
2886
- maxCapacity: string;
2887
- duration: bigint;
2888
- }, {
2889
- owner: string;
2890
- ownerOverrides?: Record<string, string> | undefined;
2891
- type: "rateLimitedHook";
2892
- maxCapacity: string;
2893
- duration?: string | number | bigint | undefined;
2894
- }>, {
2895
- owner: string;
2896
- ownerOverrides?: Record<string, string> | undefined;
2897
- type: "rateLimitedHook";
2898
- maxCapacity: string;
2899
- duration: bigint;
2900
- }, {
2901
- owner: string;
2902
- ownerOverrides?: Record<string, string> | undefined;
2903
- type: "rateLimitedHook";
2904
- maxCapacity: string;
2905
- duration?: string | number | bigint | undefined;
2906
- }>, {
2907
- owner: string;
2908
- ownerOverrides?: Record<string, string> | undefined;
2909
- type: "rateLimitedHook";
2910
- maxCapacity: string;
2911
- duration: bigint;
2912
- }, {
2913
- owner: string;
2914
- ownerOverrides?: Record<string, string> | undefined;
2915
- type: "rateLimitedHook";
2916
- maxCapacity: string;
2917
- duration?: string | number | bigint | undefined;
2918
- }>, z.ZodObject<{
2919
- type: z.ZodLiteral<"unknownHook">;
2920
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2921
- type: z.ZodLiteral<"unknownHook">;
2922
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2923
- type: z.ZodLiteral<"unknownHook">;
2924
- }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
2925
- type: z.ZodLiteral<"predicateHook">;
2926
- address: z.ZodString;
2927
- }, "strip", z.ZodTypeAny, {
2928
- type: "predicateHook";
2929
- address: string;
2930
- }, {
2931
- type: "predicateHook";
2932
- address: string;
2933
- }>]>>;
2934
- interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, z.ZodTypeDef, unknown>>;
2935
- } & {
2936
- foreignDeployment: z.ZodOptional<z.ZodString>;
2937
- } & {
2938
76
  timelock: z.ZodOptional<z.ZodObject<{
2939
- delay: z.ZodEffects<z.ZodNumber, number, number>;
77
+ delay: z.ZodNumber;
2940
78
  roles: z.ZodObject<{
2941
- executor: z.ZodEffects<z.ZodString, string, string>;
2942
- proposer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2943
- }, "strip", z.ZodTypeAny, {
2944
- executor: string;
2945
- proposer: string;
2946
- }, {
2947
- executor: string;
2948
- proposer: string;
2949
- }>;
2950
- }, "strip", z.ZodTypeAny, {
2951
- delay: number;
2952
- roles: {
2953
- executor: string;
2954
- proposer: string;
2955
- };
2956
- }, {
2957
- delay: number;
2958
- roles: {
2959
- executor: string;
2960
- proposer: string;
2961
- };
2962
- }>>;
2963
- } & {
79
+ executor: z.ZodString;
80
+ proposer: z.ZodString;
81
+ }, z.core.$strip>;
82
+ }, z.core.$strip>>;
83
+ mailbox: z.ZodString;
84
+ hook: z.ZodOptional<z.ZodType<HookConfig, unknown, z.core.$ZodTypeInternals<HookConfig, unknown>>>;
85
+ interchainSecurityModule: z.ZodOptional<z.ZodType<IsmConfig, unknown, z.core.$ZodTypeInternals<IsmConfig, unknown>>>;
86
+ foreignDeployment: z.ZodOptional<z.ZodString>;
2964
87
  remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
2965
88
  address: z.ZodString;
2966
- }, "strip", z.ZodTypeAny, {
2967
- address: string;
2968
- }, {
2969
- address: string;
2970
- }>>>;
89
+ }, z.core.$strip>>>;
2971
90
  proxyAdmin: z.ZodOptional<z.ZodObject<{
2972
91
  owner: z.ZodString;
2973
92
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2974
- } & {
2975
93
  address: z.ZodOptional<z.ZodString>;
2976
- }, "strip", z.ZodTypeAny, {
2977
- owner: string;
2978
- ownerOverrides?: Record<string, string> | undefined;
2979
- address?: string | undefined;
2980
- }, {
2981
- owner: string;
2982
- ownerOverrides?: Record<string, string> | undefined;
2983
- address?: string | undefined;
2984
- }>>;
2985
- tokenFee: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
2986
- owner: z.ZodString;
2987
- beneficiary: z.ZodOptional<z.ZodString>;
2988
- } & {
2989
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
2990
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
2991
- type: z.ZodLiteral<"LinearFee">;
2992
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
2993
- }, "strip", z.ZodTypeAny, {
2994
- owner: string;
2995
- beneficiary?: string | undefined;
2996
- maxFee?: bigint | undefined;
2997
- halfAmount?: bigint | undefined;
2998
- type: "LinearFee";
2999
- bps?: number | undefined;
3000
- }, {
3001
- owner: string;
3002
- beneficiary?: string | undefined;
3003
- maxFee?: string | number | bigint | undefined;
3004
- halfAmount?: string | number | bigint | undefined;
3005
- type: "LinearFee";
3006
- bps?: string | number | undefined;
3007
- }>, {
3008
- owner: string;
3009
- beneficiary?: string | undefined;
3010
- maxFee?: bigint | undefined;
3011
- halfAmount?: bigint | undefined;
3012
- type: "LinearFee";
3013
- bps?: number | undefined;
3014
- }, {
3015
- owner: string;
3016
- beneficiary?: string | undefined;
3017
- maxFee?: string | number | bigint | undefined;
3018
- halfAmount?: string | number | bigint | undefined;
3019
- type: "LinearFee";
3020
- bps?: string | number | undefined;
3021
- }>, {
3022
- owner: string;
3023
- beneficiary?: string | undefined;
3024
- maxFee?: bigint | undefined;
3025
- halfAmount?: bigint | undefined;
3026
- type: "LinearFee";
3027
- bps: number;
3028
- }, {
3029
- owner: string;
3030
- beneficiary?: string | undefined;
3031
- maxFee?: string | number | bigint | undefined;
3032
- halfAmount?: string | number | bigint | undefined;
3033
- type: "LinearFee";
3034
- bps?: string | number | undefined;
3035
- }>, z.ZodEffects<z.ZodEffects<z.ZodObject<{
3036
- owner: z.ZodString;
3037
- beneficiary: z.ZodOptional<z.ZodString>;
3038
- } & {
3039
- quoteSigners: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3040
- } & {
3041
- maxFee: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
3042
- halfAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>>;
3043
- type: z.ZodLiteral<"OffchainQuotedLinearFee">;
3044
- bps: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>, number, string | number>>;
3045
- }, "strip", z.ZodTypeAny, {
3046
- owner: string;
3047
- beneficiary?: string | undefined;
3048
- maxFee?: bigint | undefined;
3049
- halfAmount?: bigint | undefined;
3050
- quoteSigners?: string[] | undefined;
3051
- type: "OffchainQuotedLinearFee";
3052
- bps?: number | undefined;
3053
- }, {
3054
- owner: string;
3055
- beneficiary?: string | undefined;
3056
- maxFee?: string | number | bigint | undefined;
3057
- halfAmount?: string | number | bigint | undefined;
3058
- quoteSigners?: string[] | undefined;
3059
- type: "OffchainQuotedLinearFee";
3060
- bps?: string | number | undefined;
3061
- }>, {
3062
- owner: string;
3063
- beneficiary?: string | undefined;
3064
- maxFee?: bigint | undefined;
3065
- halfAmount?: bigint | undefined;
3066
- quoteSigners?: string[] | undefined;
3067
- type: "OffchainQuotedLinearFee";
3068
- bps?: number | undefined;
3069
- }, {
3070
- owner: string;
3071
- beneficiary?: string | undefined;
3072
- maxFee?: string | number | bigint | undefined;
3073
- halfAmount?: string | number | bigint | undefined;
3074
- quoteSigners?: string[] | undefined;
3075
- type: "OffchainQuotedLinearFee";
3076
- bps?: string | number | undefined;
3077
- }>, {
3078
- owner: string;
3079
- beneficiary?: string | undefined;
3080
- maxFee?: bigint | undefined;
3081
- halfAmount?: bigint | undefined;
3082
- quoteSigners?: string[] | undefined;
3083
- type: "OffchainQuotedLinearFee";
3084
- bps: number;
3085
- }, {
3086
- owner: string;
3087
- beneficiary?: string | undefined;
3088
- maxFee?: string | number | bigint | undefined;
3089
- halfAmount?: string | number | bigint | undefined;
3090
- quoteSigners?: string[] | undefined;
3091
- type: "OffchainQuotedLinearFee";
3092
- bps?: string | number | undefined;
3093
- }>, z.ZodEffects<z.ZodObject<{
3094
- owner: z.ZodString;
3095
- beneficiary: z.ZodOptional<z.ZodString>;
3096
- } & {
3097
- type: z.ZodLiteral<"ProgressiveFee">;
3098
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
3099
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
3100
- }, "strip", z.ZodTypeAny, {
3101
- owner: string;
3102
- beneficiary?: string | undefined;
3103
- type: "ProgressiveFee";
3104
- maxFee: bigint;
3105
- halfAmount: bigint;
3106
- }, {
3107
- owner: string;
3108
- beneficiary?: string | undefined;
3109
- type: "ProgressiveFee";
3110
- maxFee: string | number | bigint;
3111
- halfAmount: string | number | bigint;
3112
- }>, {
3113
- owner: string;
3114
- beneficiary?: string | undefined;
3115
- type: "ProgressiveFee";
3116
- maxFee: bigint;
3117
- halfAmount: bigint;
3118
- }, {
3119
- owner: string;
3120
- beneficiary?: string | undefined;
3121
- type: "ProgressiveFee";
3122
- maxFee: string | number | bigint;
3123
- halfAmount: string | number | bigint;
3124
- }>, z.ZodEffects<z.ZodObject<{
3125
- owner: z.ZodString;
3126
- beneficiary: z.ZodOptional<z.ZodString>;
3127
- } & {
3128
- type: z.ZodLiteral<"RegressiveFee">;
3129
- maxFee: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
3130
- halfAmount: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodBigInt, z.ZodNumber]>, z.ZodString]>, bigint, string | number | bigint>;
3131
- }, "strip", z.ZodTypeAny, {
3132
- owner: string;
3133
- beneficiary?: string | undefined;
3134
- type: "RegressiveFee";
3135
- maxFee: bigint;
3136
- halfAmount: bigint;
3137
- }, {
3138
- owner: string;
3139
- beneficiary?: string | undefined;
3140
- type: "RegressiveFee";
3141
- maxFee: string | number | bigint;
3142
- halfAmount: string | number | bigint;
3143
- }>, {
3144
- owner: string;
3145
- beneficiary?: string | undefined;
3146
- type: "RegressiveFee";
3147
- maxFee: bigint;
3148
- halfAmount: bigint;
3149
- }, {
3150
- owner: string;
3151
- beneficiary?: string | undefined;
3152
- type: "RegressiveFee";
3153
- maxFee: string | number | bigint;
3154
- halfAmount: string | number | bigint;
3155
- }>, z.ZodEffects<z.ZodObject<{
3156
- owner: z.ZodString;
3157
- beneficiary: z.ZodOptional<z.ZodString>;
3158
- } & {
3159
- type: z.ZodLiteral<"RoutingFee">;
3160
- feeContracts: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>>;
3161
- }, "strip", z.ZodTypeAny, {
3162
- owner: string;
3163
- beneficiary?: string | undefined;
3164
- type: "RoutingFee";
3165
- feeContracts: Record<string, any>;
3166
- }, {
3167
- owner: string;
3168
- beneficiary?: string | undefined;
3169
- type: "RoutingFee";
3170
- feeContracts: Record<string, any>;
3171
- }>, {
3172
- owner: string;
3173
- beneficiary?: string | undefined;
3174
- type: "RoutingFee";
3175
- feeContracts: Record<string, any>;
3176
- }, {
3177
- owner: string;
3178
- beneficiary?: string | undefined;
3179
- type: "RoutingFee";
3180
- feeContracts: Record<string, any>;
3181
- }>, z.ZodEffects<z.ZodObject<{
3182
- owner: z.ZodString;
3183
- beneficiary: z.ZodOptional<z.ZodString>;
3184
- } & {
3185
- type: z.ZodLiteral<"CrossCollateralRoutingFee">;
3186
- 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>>>;
3187
- }, "strip", z.ZodTypeAny, {
3188
- owner: string;
3189
- beneficiary?: string | undefined;
3190
- type: "CrossCollateralRoutingFee";
3191
- feeContracts: Record<string, Record<string, any>>;
3192
- }, {
3193
- owner: string;
3194
- beneficiary?: string | undefined;
3195
- type: "CrossCollateralRoutingFee";
3196
- feeContracts: Record<string, Record<string, any>>;
3197
- }>, {
3198
- owner: string;
3199
- beneficiary?: string | undefined;
3200
- type: "CrossCollateralRoutingFee";
3201
- feeContracts: Record<string, Record<string, any>>;
3202
- }, {
3203
- owner: string;
3204
- beneficiary?: string | undefined;
3205
- type: "CrossCollateralRoutingFee";
3206
- feeContracts: Record<string, Record<string, any>>;
3207
- }>]>>;
3208
- } & {
3209
- routerType: z.ZodOptional<z.ZodNativeEnum<typeof import("../ica/types.js").IcaRouterType>>;
94
+ }, z.core.$strip>>;
95
+ tokenFee: z.ZodOptional<z.ZodType<import("../index.js").TokenFeeConfigInput, unknown, z.core.$ZodTypeInternals<import("../index.js").TokenFeeConfigInput, unknown>>>;
96
+ routerType: z.ZodOptional<z.ZodEnum<typeof import("../ica/types.js").IcaRouterType>>;
3210
97
  commitmentIsm: z.ZodOptional<z.ZodObject<{
3211
98
  owner: z.ZodString;
3212
99
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3213
- } & {
3214
100
  type: z.ZodLiteral<"offchainLookupIsm">;
3215
- urls: z.ZodArray<z.ZodString, "many">;
3216
- }, "strip", z.ZodTypeAny, {
3217
- owner: string;
3218
- ownerOverrides?: Record<string, string> | undefined;
3219
- type: "offchainLookupIsm";
3220
- urls: string[];
3221
- }, {
3222
- owner: string;
3223
- ownerOverrides?: Record<string, string> | undefined;
3224
- type: "offchainLookupIsm";
3225
- urls: string[];
3226
- }>>;
101
+ urls: z.ZodArray<z.ZodURL>;
102
+ }, z.core.$strip>>;
3227
103
  feeTokenApprovals: z.ZodOptional<z.ZodArray<z.ZodObject<{
3228
104
  feeToken: z.ZodString;
3229
105
  hook: z.ZodString;
3230
- }, "strip", z.ZodTypeAny, {
3231
- feeToken: string;
3232
- hook: string;
3233
- }, {
3234
- feeToken: string;
3235
- hook: string;
3236
- }>, "many">>;
3237
- } & {
106
+ }, z.core.$strip>>>;
3238
107
  address: z.ZodString;
3239
- }, "strip", z.ZodTypeAny, {
3240
- owner: string;
3241
- ownerOverrides?: Record<string, string> | undefined;
3242
- timelock?: {
3243
- delay: number;
3244
- roles: {
3245
- executor: string;
3246
- proposer: string;
3247
- };
3248
- } | undefined;
3249
- mailbox: string;
3250
- hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
3251
- owner: string;
3252
- ownerOverrides?: Record<string, string> | undefined;
3253
- type: "protocolFee";
3254
- beneficiary: string;
3255
- maxProtocolFee: string;
3256
- protocolFee: string;
3257
- } | {
3258
- owner: string;
3259
- ownerOverrides?: Record<string, string> | undefined;
3260
- paused: boolean;
3261
- type: "pausableHook";
3262
- } | {
3263
- owner: string;
3264
- ownerOverrides?: Record<string, string> | undefined;
3265
- type: "opStackHook";
3266
- nativeBridge: string;
3267
- destinationChain: string;
3268
- } | {
3269
- type: "merkleTreeHook";
3270
- } | {
3271
- owner: string;
3272
- ownerOverrides?: Record<string, string> | undefined;
3273
- type: "interchainGasPaymaster";
3274
- beneficiary: string;
3275
- oracleKey: string;
3276
- overhead: Record<string, number>;
3277
- oracleConfig: Record<string, {
3278
- gasPrice: string;
3279
- tokenExchangeRate: string;
3280
- tokenDecimals?: number | undefined;
3281
- typicalCost?: {
3282
- handleGasAmount: number;
3283
- totalGasAmount: number;
3284
- totalUsdCost: number;
3285
- } | undefined;
3286
- }>;
3287
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
3288
- quoteSigners?: string[] | undefined;
3289
- contractVersion?: string | undefined;
3290
- tokenOracleConfig?: Record<string, Record<string, {
3291
- gasPrice: string;
3292
- tokenExchangeRate: string;
3293
- tokenDecimals?: number | undefined;
3294
- }>> | undefined;
3295
- } | {
3296
- type: "defaultHook";
3297
- } | {
3298
- type: "ccipHook";
3299
- destinationChain: string;
3300
- } | {
3301
- type: "cctpHook";
3302
- address: string;
3303
- } | {
3304
- owner: string;
3305
- ownerOverrides?: Record<string, string> | undefined;
3306
- type: "rateLimitedHook";
3307
- maxCapacity: string;
3308
- duration: bigint;
3309
- } | {
3310
- type: "predicateHook";
3311
- address: string;
3312
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
3313
- type: z.ZodLiteral<"unknownHook">;
3314
- }, z.ZodTypeAny, "passthrough"> | undefined;
3315
- interchainSecurityModule?: IsmConfig | undefined;
3316
- foreignDeployment?: string | undefined;
3317
- remoteRouters?: Record<string | number, {
3318
- address: string;
3319
- }> | undefined;
3320
- proxyAdmin?: {
3321
- owner: string;
3322
- ownerOverrides?: Record<string, string> | undefined;
3323
- address?: string | undefined;
3324
- } | undefined;
3325
- tokenFee?: {
3326
- owner: string;
3327
- beneficiary?: string | undefined;
3328
- type: "ProgressiveFee";
3329
- maxFee: bigint;
3330
- halfAmount: bigint;
3331
- } | {
3332
- owner: string;
3333
- beneficiary?: string | undefined;
3334
- type: "RegressiveFee";
3335
- maxFee: bigint;
3336
- halfAmount: bigint;
3337
- } | {
3338
- owner: string;
3339
- beneficiary?: string | undefined;
3340
- type: "RoutingFee";
3341
- feeContracts: Record<string, any>;
3342
- } | {
3343
- owner: string;
3344
- beneficiary?: string | undefined;
3345
- type: "CrossCollateralRoutingFee";
3346
- feeContracts: Record<string, Record<string, any>>;
3347
- } | {
3348
- owner: string;
3349
- beneficiary?: string | undefined;
3350
- maxFee?: bigint | undefined;
3351
- halfAmount?: bigint | undefined;
3352
- type: "LinearFee";
3353
- bps: number;
3354
- } | {
3355
- owner: string;
3356
- beneficiary?: string | undefined;
3357
- maxFee?: bigint | undefined;
3358
- halfAmount?: bigint | undefined;
3359
- quoteSigners?: string[] | undefined;
3360
- type: "OffchainQuotedLinearFee";
3361
- bps: number;
3362
- } | undefined;
3363
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
3364
- commitmentIsm?: {
3365
- owner: string;
3366
- ownerOverrides?: Record<string, string> | undefined;
3367
- type: "offchainLookupIsm";
3368
- urls: string[];
3369
- } | undefined;
3370
- feeTokenApprovals?: {
3371
- feeToken: string;
3372
- hook: string;
3373
- }[] | undefined;
3374
- address: string;
3375
- }, {
3376
- owner: string;
3377
- ownerOverrides?: Record<string, string> | undefined;
3378
- timelock?: {
3379
- delay: number;
3380
- roles: {
3381
- executor: string;
3382
- proposer: string;
3383
- };
3384
- } | undefined;
3385
- mailbox: string;
3386
- hook?: unknown;
3387
- interchainSecurityModule?: unknown;
3388
- foreignDeployment?: string | undefined;
3389
- remoteRouters?: Record<string | number, {
3390
- address: string;
3391
- }> | undefined;
3392
- proxyAdmin?: {
3393
- owner: string;
3394
- ownerOverrides?: Record<string, string> | undefined;
3395
- address?: string | undefined;
3396
- } | undefined;
3397
- tokenFee?: {
3398
- owner: string;
3399
- beneficiary?: string | undefined;
3400
- maxFee?: string | number | bigint | undefined;
3401
- halfAmount?: string | number | bigint | undefined;
3402
- type: "LinearFee";
3403
- bps?: string | number | undefined;
3404
- } | {
3405
- owner: string;
3406
- beneficiary?: string | undefined;
3407
- maxFee?: string | number | bigint | undefined;
3408
- halfAmount?: string | number | bigint | undefined;
3409
- quoteSigners?: string[] | undefined;
3410
- type: "OffchainQuotedLinearFee";
3411
- bps?: string | number | undefined;
3412
- } | {
3413
- owner: string;
3414
- beneficiary?: string | undefined;
3415
- type: "ProgressiveFee";
3416
- maxFee: string | number | bigint;
3417
- halfAmount: string | number | bigint;
3418
- } | {
3419
- owner: string;
3420
- beneficiary?: string | undefined;
3421
- type: "RegressiveFee";
3422
- maxFee: string | number | bigint;
3423
- halfAmount: string | number | bigint;
3424
- } | {
3425
- owner: string;
3426
- beneficiary?: string | undefined;
3427
- type: "RoutingFee";
3428
- feeContracts: Record<string, any>;
3429
- } | {
3430
- owner: string;
3431
- beneficiary?: string | undefined;
3432
- type: "CrossCollateralRoutingFee";
3433
- feeContracts: Record<string, Record<string, any>>;
3434
- } | undefined;
3435
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
3436
- commitmentIsm?: {
3437
- owner: string;
3438
- ownerOverrides?: Record<string, string> | undefined;
3439
- type: "offchainLookupIsm";
3440
- urls: string[];
3441
- } | undefined;
3442
- feeTokenApprovals?: {
3443
- feeToken: string;
3444
- hook: string;
3445
- }[] | undefined;
3446
- address: string;
3447
- }>>;
3448
- }, "strip", z.ZodTypeAny, {
3449
- owner: string;
3450
- ownerOverrides?: Record<string, string> | undefined;
3451
- defaultIsm: IsmConfig;
3452
- defaultHook: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
3453
- owner: string;
3454
- ownerOverrides?: Record<string, string> | undefined;
3455
- type: "protocolFee";
3456
- beneficiary: string;
3457
- maxProtocolFee: string;
3458
- protocolFee: string;
3459
- } | {
3460
- owner: string;
3461
- ownerOverrides?: Record<string, string> | undefined;
3462
- paused: boolean;
3463
- type: "pausableHook";
3464
- } | {
3465
- owner: string;
3466
- ownerOverrides?: Record<string, string> | undefined;
3467
- type: "opStackHook";
3468
- nativeBridge: string;
3469
- destinationChain: string;
3470
- } | {
3471
- type: "merkleTreeHook";
3472
- } | {
3473
- owner: string;
3474
- ownerOverrides?: Record<string, string> | undefined;
3475
- type: "interchainGasPaymaster";
3476
- beneficiary: string;
3477
- oracleKey: string;
3478
- overhead: Record<string, number>;
3479
- oracleConfig: Record<string, {
3480
- gasPrice: string;
3481
- tokenExchangeRate: string;
3482
- tokenDecimals?: number | undefined;
3483
- typicalCost?: {
3484
- handleGasAmount: number;
3485
- totalGasAmount: number;
3486
- totalUsdCost: number;
3487
- } | undefined;
3488
- }>;
3489
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
3490
- quoteSigners?: string[] | undefined;
3491
- contractVersion?: string | undefined;
3492
- tokenOracleConfig?: Record<string, Record<string, {
3493
- gasPrice: string;
3494
- tokenExchangeRate: string;
3495
- tokenDecimals?: number | undefined;
3496
- }>> | undefined;
3497
- } | {
3498
- type: "defaultHook";
3499
- } | {
3500
- type: "ccipHook";
3501
- destinationChain: string;
3502
- } | {
3503
- type: "cctpHook";
3504
- address: string;
3505
- } | {
3506
- owner: string;
3507
- ownerOverrides?: Record<string, string> | undefined;
3508
- type: "rateLimitedHook";
3509
- maxCapacity: string;
3510
- duration: bigint;
3511
- } | {
3512
- type: "predicateHook";
3513
- address: string;
3514
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
3515
- type: z.ZodLiteral<"unknownHook">;
3516
- }, z.ZodTypeAny, "passthrough">;
3517
- requiredHook: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
3518
- owner: string;
3519
- ownerOverrides?: Record<string, string> | undefined;
3520
- type: "protocolFee";
3521
- beneficiary: string;
3522
- maxProtocolFee: string;
3523
- protocolFee: string;
3524
- } | {
3525
- owner: string;
3526
- ownerOverrides?: Record<string, string> | undefined;
3527
- paused: boolean;
3528
- type: "pausableHook";
3529
- } | {
3530
- owner: string;
3531
- ownerOverrides?: Record<string, string> | undefined;
3532
- type: "opStackHook";
3533
- nativeBridge: string;
3534
- destinationChain: string;
3535
- } | {
3536
- type: "merkleTreeHook";
3537
- } | {
3538
- owner: string;
3539
- ownerOverrides?: Record<string, string> | undefined;
3540
- type: "interchainGasPaymaster";
3541
- beneficiary: string;
3542
- oracleKey: string;
3543
- overhead: Record<string, number>;
3544
- oracleConfig: Record<string, {
3545
- gasPrice: string;
3546
- tokenExchangeRate: string;
3547
- tokenDecimals?: number | undefined;
3548
- typicalCost?: {
3549
- handleGasAmount: number;
3550
- totalGasAmount: number;
3551
- totalUsdCost: number;
3552
- } | undefined;
3553
- }>;
3554
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
3555
- quoteSigners?: string[] | undefined;
3556
- contractVersion?: string | undefined;
3557
- tokenOracleConfig?: Record<string, Record<string, {
3558
- gasPrice: string;
3559
- tokenExchangeRate: string;
3560
- tokenDecimals?: number | undefined;
3561
- }>> | undefined;
3562
- } | {
3563
- type: "defaultHook";
3564
- } | {
3565
- type: "ccipHook";
3566
- destinationChain: string;
3567
- } | {
3568
- type: "cctpHook";
3569
- address: string;
3570
- } | {
3571
- owner: string;
3572
- ownerOverrides?: Record<string, string> | undefined;
3573
- type: "rateLimitedHook";
3574
- maxCapacity: string;
3575
- duration: bigint;
3576
- } | {
3577
- type: "predicateHook";
3578
- address: string;
3579
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
3580
- type: z.ZodLiteral<"unknownHook">;
3581
- }, z.ZodTypeAny, "passthrough">;
3582
- proxyAdmin?: {
3583
- owner: string;
3584
- ownerOverrides?: Record<string, string> | undefined;
3585
- address?: string | undefined;
3586
- } | undefined;
3587
- permit2?: string | undefined;
3588
- deployQuotedCalls?: boolean | undefined;
3589
- contractVersion?: string | undefined;
3590
- interchainAccountRouter?: {
3591
- owner: string;
3592
- ownerOverrides?: Record<string, string> | undefined;
3593
- timelock?: {
3594
- delay: number;
3595
- roles: {
3596
- executor: string;
3597
- proposer: string;
3598
- };
3599
- } | undefined;
3600
- mailbox: string;
3601
- hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
3602
- owner: string;
3603
- ownerOverrides?: Record<string, string> | undefined;
3604
- type: "protocolFee";
3605
- beneficiary: string;
3606
- maxProtocolFee: string;
3607
- protocolFee: string;
3608
- } | {
3609
- owner: string;
3610
- ownerOverrides?: Record<string, string> | undefined;
3611
- paused: boolean;
3612
- type: "pausableHook";
3613
- } | {
3614
- owner: string;
3615
- ownerOverrides?: Record<string, string> | undefined;
3616
- type: "opStackHook";
3617
- nativeBridge: string;
3618
- destinationChain: string;
3619
- } | {
3620
- type: "merkleTreeHook";
3621
- } | {
3622
- owner: string;
3623
- ownerOverrides?: Record<string, string> | undefined;
3624
- type: "interchainGasPaymaster";
3625
- beneficiary: string;
3626
- oracleKey: string;
3627
- overhead: Record<string, number>;
3628
- oracleConfig: Record<string, {
3629
- gasPrice: string;
3630
- tokenExchangeRate: string;
3631
- tokenDecimals?: number | undefined;
3632
- typicalCost?: {
3633
- handleGasAmount: number;
3634
- totalGasAmount: number;
3635
- totalUsdCost: number;
3636
- } | undefined;
3637
- }>;
3638
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
3639
- quoteSigners?: string[] | undefined;
3640
- contractVersion?: string | undefined;
3641
- tokenOracleConfig?: Record<string, Record<string, {
3642
- gasPrice: string;
3643
- tokenExchangeRate: string;
3644
- tokenDecimals?: number | undefined;
3645
- }>> | undefined;
3646
- } | {
3647
- type: "defaultHook";
3648
- } | {
3649
- type: "ccipHook";
3650
- destinationChain: string;
3651
- } | {
3652
- type: "cctpHook";
3653
- address: string;
3654
- } | {
3655
- owner: string;
3656
- ownerOverrides?: Record<string, string> | undefined;
3657
- type: "rateLimitedHook";
3658
- maxCapacity: string;
3659
- duration: bigint;
3660
- } | {
3661
- type: "predicateHook";
3662
- address: string;
3663
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
3664
- type: z.ZodLiteral<"unknownHook">;
3665
- }, z.ZodTypeAny, "passthrough"> | undefined;
3666
- interchainSecurityModule?: IsmConfig | undefined;
3667
- foreignDeployment?: string | undefined;
3668
- remoteRouters?: Record<string | number, {
3669
- address: string;
3670
- }> | undefined;
3671
- proxyAdmin?: {
3672
- owner: string;
3673
- ownerOverrides?: Record<string, string> | undefined;
3674
- address?: string | undefined;
3675
- } | undefined;
3676
- tokenFee?: {
3677
- owner: string;
3678
- beneficiary?: string | undefined;
3679
- type: "ProgressiveFee";
3680
- maxFee: bigint;
3681
- halfAmount: bigint;
3682
- } | {
3683
- owner: string;
3684
- beneficiary?: string | undefined;
3685
- type: "RegressiveFee";
3686
- maxFee: bigint;
3687
- halfAmount: bigint;
3688
- } | {
3689
- owner: string;
3690
- beneficiary?: string | undefined;
3691
- type: "RoutingFee";
3692
- feeContracts: Record<string, any>;
3693
- } | {
3694
- owner: string;
3695
- beneficiary?: string | undefined;
3696
- type: "CrossCollateralRoutingFee";
3697
- feeContracts: Record<string, Record<string, any>>;
3698
- } | {
3699
- owner: string;
3700
- beneficiary?: string | undefined;
3701
- maxFee?: bigint | undefined;
3702
- halfAmount?: bigint | undefined;
3703
- type: "LinearFee";
3704
- bps: number;
3705
- } | {
3706
- owner: string;
3707
- beneficiary?: string | undefined;
3708
- maxFee?: bigint | undefined;
3709
- halfAmount?: bigint | undefined;
3710
- quoteSigners?: string[] | undefined;
3711
- type: "OffchainQuotedLinearFee";
3712
- bps: number;
3713
- } | undefined;
3714
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
3715
- commitmentIsm?: {
3716
- owner: string;
3717
- ownerOverrides?: Record<string, string> | undefined;
3718
- type: "offchainLookupIsm";
3719
- urls: string[];
3720
- } | undefined;
3721
- feeTokenApprovals?: {
3722
- feeToken: string;
3723
- hook: string;
3724
- }[] | undefined;
3725
- address: string;
3726
- } | undefined;
3727
- }, {
3728
- owner: string;
3729
- ownerOverrides?: Record<string, string> | undefined;
3730
- defaultIsm?: unknown;
3731
- defaultHook?: unknown;
3732
- requiredHook?: unknown;
3733
- proxyAdmin?: {
3734
- owner: string;
3735
- ownerOverrides?: Record<string, string> | undefined;
3736
- address?: string | undefined;
3737
- } | undefined;
3738
- permit2?: string | undefined;
3739
- deployQuotedCalls?: boolean | undefined;
3740
- contractVersion?: string | undefined;
3741
- interchainAccountRouter?: {
3742
- owner: string;
3743
- ownerOverrides?: Record<string, string> | undefined;
3744
- timelock?: {
3745
- delay: number;
3746
- roles: {
3747
- executor: string;
3748
- proposer: string;
3749
- };
3750
- } | undefined;
3751
- mailbox: string;
3752
- hook?: unknown;
3753
- interchainSecurityModule?: unknown;
3754
- foreignDeployment?: string | undefined;
3755
- remoteRouters?: Record<string | number, {
3756
- address: string;
3757
- }> | undefined;
3758
- proxyAdmin?: {
3759
- owner: string;
3760
- ownerOverrides?: Record<string, string> | undefined;
3761
- address?: string | undefined;
3762
- } | undefined;
3763
- tokenFee?: {
3764
- owner: string;
3765
- beneficiary?: string | undefined;
3766
- maxFee?: string | number | bigint | undefined;
3767
- halfAmount?: string | number | bigint | undefined;
3768
- type: "LinearFee";
3769
- bps?: string | number | undefined;
3770
- } | {
3771
- owner: string;
3772
- beneficiary?: string | undefined;
3773
- maxFee?: string | number | bigint | undefined;
3774
- halfAmount?: string | number | bigint | undefined;
3775
- quoteSigners?: string[] | undefined;
3776
- type: "OffchainQuotedLinearFee";
3777
- bps?: string | number | undefined;
3778
- } | {
3779
- owner: string;
3780
- beneficiary?: string | undefined;
3781
- type: "ProgressiveFee";
3782
- maxFee: string | number | bigint;
3783
- halfAmount: string | number | bigint;
3784
- } | {
3785
- owner: string;
3786
- beneficiary?: string | undefined;
3787
- type: "RegressiveFee";
3788
- maxFee: string | number | bigint;
3789
- halfAmount: string | number | bigint;
3790
- } | {
3791
- owner: string;
3792
- beneficiary?: string | undefined;
3793
- type: "RoutingFee";
3794
- feeContracts: Record<string, any>;
3795
- } | {
3796
- owner: string;
3797
- beneficiary?: string | undefined;
3798
- type: "CrossCollateralRoutingFee";
3799
- feeContracts: Record<string, Record<string, any>>;
3800
- } | undefined;
3801
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
3802
- commitmentIsm?: {
3803
- owner: string;
3804
- ownerOverrides?: Record<string, string> | undefined;
3805
- type: "offchainLookupIsm";
3806
- urls: string[];
3807
- } | undefined;
3808
- feeTokenApprovals?: {
3809
- feeToken: string;
3810
- hook: string;
3811
- }[] | undefined;
3812
- address: string;
3813
- } | undefined;
3814
- }>, {
3815
- owner: string;
3816
- ownerOverrides?: Record<string, string> | undefined;
3817
- defaultIsm: IsmConfig;
3818
- defaultHook: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
3819
- owner: string;
3820
- ownerOverrides?: Record<string, string> | undefined;
3821
- type: "protocolFee";
3822
- beneficiary: string;
3823
- maxProtocolFee: string;
3824
- protocolFee: string;
3825
- } | {
3826
- owner: string;
3827
- ownerOverrides?: Record<string, string> | undefined;
3828
- paused: boolean;
3829
- type: "pausableHook";
3830
- } | {
3831
- owner: string;
3832
- ownerOverrides?: Record<string, string> | undefined;
3833
- type: "opStackHook";
3834
- nativeBridge: string;
3835
- destinationChain: string;
3836
- } | {
3837
- type: "merkleTreeHook";
3838
- } | {
3839
- owner: string;
3840
- ownerOverrides?: Record<string, string> | undefined;
3841
- type: "interchainGasPaymaster";
3842
- beneficiary: string;
3843
- oracleKey: string;
3844
- overhead: Record<string, number>;
3845
- oracleConfig: Record<string, {
3846
- gasPrice: string;
3847
- tokenExchangeRate: string;
3848
- tokenDecimals?: number | undefined;
3849
- typicalCost?: {
3850
- handleGasAmount: number;
3851
- totalGasAmount: number;
3852
- totalUsdCost: number;
3853
- } | undefined;
3854
- }>;
3855
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
3856
- quoteSigners?: string[] | undefined;
3857
- contractVersion?: string | undefined;
3858
- tokenOracleConfig?: Record<string, Record<string, {
3859
- gasPrice: string;
3860
- tokenExchangeRate: string;
3861
- tokenDecimals?: number | undefined;
3862
- }>> | undefined;
3863
- } | {
3864
- type: "defaultHook";
3865
- } | {
3866
- type: "ccipHook";
3867
- destinationChain: string;
3868
- } | {
3869
- type: "cctpHook";
3870
- address: string;
3871
- } | {
3872
- owner: string;
3873
- ownerOverrides?: Record<string, string> | undefined;
3874
- type: "rateLimitedHook";
3875
- maxCapacity: string;
3876
- duration: bigint;
3877
- } | {
3878
- type: "predicateHook";
3879
- address: string;
3880
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
3881
- type: z.ZodLiteral<"unknownHook">;
3882
- }, z.ZodTypeAny, "passthrough">;
3883
- requiredHook: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
3884
- owner: string;
3885
- ownerOverrides?: Record<string, string> | undefined;
3886
- type: "protocolFee";
3887
- beneficiary: string;
3888
- maxProtocolFee: string;
3889
- protocolFee: string;
3890
- } | {
3891
- owner: string;
3892
- ownerOverrides?: Record<string, string> | undefined;
3893
- paused: boolean;
3894
- type: "pausableHook";
3895
- } | {
3896
- owner: string;
3897
- ownerOverrides?: Record<string, string> | undefined;
3898
- type: "opStackHook";
3899
- nativeBridge: string;
3900
- destinationChain: string;
3901
- } | {
3902
- type: "merkleTreeHook";
3903
- } | {
3904
- owner: string;
3905
- ownerOverrides?: Record<string, string> | undefined;
3906
- type: "interchainGasPaymaster";
3907
- beneficiary: string;
3908
- oracleKey: string;
3909
- overhead: Record<string, number>;
3910
- oracleConfig: Record<string, {
3911
- gasPrice: string;
3912
- tokenExchangeRate: string;
3913
- tokenDecimals?: number | undefined;
3914
- typicalCost?: {
3915
- handleGasAmount: number;
3916
- totalGasAmount: number;
3917
- totalUsdCost: number;
3918
- } | undefined;
3919
- }>;
3920
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
3921
- quoteSigners?: string[] | undefined;
3922
- contractVersion?: string | undefined;
3923
- tokenOracleConfig?: Record<string, Record<string, {
3924
- gasPrice: string;
3925
- tokenExchangeRate: string;
3926
- tokenDecimals?: number | undefined;
3927
- }>> | undefined;
3928
- } | {
3929
- type: "defaultHook";
3930
- } | {
3931
- type: "ccipHook";
3932
- destinationChain: string;
3933
- } | {
3934
- type: "cctpHook";
3935
- address: string;
3936
- } | {
3937
- owner: string;
3938
- ownerOverrides?: Record<string, string> | undefined;
3939
- type: "rateLimitedHook";
3940
- maxCapacity: string;
3941
- duration: bigint;
3942
- } | {
3943
- type: "predicateHook";
3944
- address: string;
3945
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
3946
- type: z.ZodLiteral<"unknownHook">;
3947
- }, z.ZodTypeAny, "passthrough">;
3948
- proxyAdmin?: {
3949
- owner: string;
3950
- ownerOverrides?: Record<string, string> | undefined;
3951
- address?: string | undefined;
3952
- } | undefined;
3953
- permit2?: string | undefined;
3954
- deployQuotedCalls?: boolean | undefined;
3955
- contractVersion?: string | undefined;
3956
- interchainAccountRouter?: {
3957
- owner: string;
3958
- ownerOverrides?: Record<string, string> | undefined;
3959
- timelock?: {
3960
- delay: number;
3961
- roles: {
3962
- executor: string;
3963
- proposer: string;
3964
- };
3965
- } | undefined;
3966
- mailbox: string;
3967
- hook?: string | import("../hook/types.js").AggregationHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").ArbL2ToL1HookConfig | {
3968
- owner: string;
3969
- ownerOverrides?: Record<string, string> | undefined;
3970
- type: "protocolFee";
3971
- beneficiary: string;
3972
- maxProtocolFee: string;
3973
- protocolFee: string;
3974
- } | {
3975
- owner: string;
3976
- ownerOverrides?: Record<string, string> | undefined;
3977
- paused: boolean;
3978
- type: "pausableHook";
3979
- } | {
3980
- owner: string;
3981
- ownerOverrides?: Record<string, string> | undefined;
3982
- type: "opStackHook";
3983
- nativeBridge: string;
3984
- destinationChain: string;
3985
- } | {
3986
- type: "merkleTreeHook";
3987
- } | {
3988
- owner: string;
3989
- ownerOverrides?: Record<string, string> | undefined;
3990
- type: "interchainGasPaymaster";
3991
- beneficiary: string;
3992
- oracleKey: string;
3993
- overhead: Record<string, number>;
3994
- oracleConfig: Record<string, {
3995
- gasPrice: string;
3996
- tokenExchangeRate: string;
3997
- tokenDecimals?: number | undefined;
3998
- typicalCost?: {
3999
- handleGasAmount: number;
4000
- totalGasAmount: number;
4001
- totalUsdCost: number;
4002
- } | undefined;
4003
- }>;
4004
- igpVersion?: import("../hook/types.js").IgpVersion | undefined;
4005
- quoteSigners?: string[] | undefined;
4006
- contractVersion?: string | undefined;
4007
- tokenOracleConfig?: Record<string, Record<string, {
4008
- gasPrice: string;
4009
- tokenExchangeRate: string;
4010
- tokenDecimals?: number | undefined;
4011
- }>> | undefined;
4012
- } | {
4013
- type: "defaultHook";
4014
- } | {
4015
- type: "ccipHook";
4016
- destinationChain: string;
4017
- } | {
4018
- type: "cctpHook";
4019
- address: string;
4020
- } | {
4021
- owner: string;
4022
- ownerOverrides?: Record<string, string> | undefined;
4023
- type: "rateLimitedHook";
4024
- maxCapacity: string;
4025
- duration: bigint;
4026
- } | {
4027
- type: "predicateHook";
4028
- address: string;
4029
- } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | z.objectOutputType<{
4030
- type: z.ZodLiteral<"unknownHook">;
4031
- }, z.ZodTypeAny, "passthrough"> | undefined;
4032
- interchainSecurityModule?: IsmConfig | undefined;
4033
- foreignDeployment?: string | undefined;
4034
- remoteRouters?: Record<string | number, {
4035
- address: string;
4036
- }> | undefined;
4037
- proxyAdmin?: {
4038
- owner: string;
4039
- ownerOverrides?: Record<string, string> | undefined;
4040
- address?: string | undefined;
4041
- } | undefined;
4042
- tokenFee?: {
4043
- owner: string;
4044
- beneficiary?: string | undefined;
4045
- type: "ProgressiveFee";
4046
- maxFee: bigint;
4047
- halfAmount: bigint;
4048
- } | {
4049
- owner: string;
4050
- beneficiary?: string | undefined;
4051
- type: "RegressiveFee";
4052
- maxFee: bigint;
4053
- halfAmount: bigint;
4054
- } | {
4055
- owner: string;
4056
- beneficiary?: string | undefined;
4057
- type: "RoutingFee";
4058
- feeContracts: Record<string, any>;
4059
- } | {
4060
- owner: string;
4061
- beneficiary?: string | undefined;
4062
- type: "CrossCollateralRoutingFee";
4063
- feeContracts: Record<string, Record<string, any>>;
4064
- } | {
4065
- owner: string;
4066
- beneficiary?: string | undefined;
4067
- maxFee?: bigint | undefined;
4068
- halfAmount?: bigint | undefined;
4069
- type: "LinearFee";
4070
- bps: number;
4071
- } | {
4072
- owner: string;
4073
- beneficiary?: string | undefined;
4074
- maxFee?: bigint | undefined;
4075
- halfAmount?: bigint | undefined;
4076
- quoteSigners?: string[] | undefined;
4077
- type: "OffchainQuotedLinearFee";
4078
- bps: number;
4079
- } | undefined;
4080
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
4081
- commitmentIsm?: {
4082
- owner: string;
4083
- ownerOverrides?: Record<string, string> | undefined;
4084
- type: "offchainLookupIsm";
4085
- urls: string[];
4086
- } | undefined;
4087
- feeTokenApprovals?: {
4088
- feeToken: string;
4089
- hook: string;
4090
- }[] | undefined;
4091
- address: string;
4092
- } | undefined;
4093
- }, {
4094
- owner: string;
4095
- ownerOverrides?: Record<string, string> | undefined;
4096
- defaultIsm?: unknown;
4097
- defaultHook?: unknown;
4098
- requiredHook?: unknown;
4099
- proxyAdmin?: {
4100
- owner: string;
4101
- ownerOverrides?: Record<string, string> | undefined;
4102
- address?: string | undefined;
4103
- } | undefined;
4104
- permit2?: string | undefined;
4105
- deployQuotedCalls?: boolean | undefined;
4106
- contractVersion?: string | undefined;
4107
- interchainAccountRouter?: {
4108
- owner: string;
4109
- ownerOverrides?: Record<string, string> | undefined;
4110
- timelock?: {
4111
- delay: number;
4112
- roles: {
4113
- executor: string;
4114
- proposer: string;
4115
- };
4116
- } | undefined;
4117
- mailbox: string;
4118
- hook?: unknown;
4119
- interchainSecurityModule?: unknown;
4120
- foreignDeployment?: string | undefined;
4121
- remoteRouters?: Record<string | number, {
4122
- address: string;
4123
- }> | undefined;
4124
- proxyAdmin?: {
4125
- owner: string;
4126
- ownerOverrides?: Record<string, string> | undefined;
4127
- address?: string | undefined;
4128
- } | undefined;
4129
- tokenFee?: {
4130
- owner: string;
4131
- beneficiary?: string | undefined;
4132
- maxFee?: string | number | bigint | undefined;
4133
- halfAmount?: string | number | bigint | undefined;
4134
- type: "LinearFee";
4135
- bps?: string | number | undefined;
4136
- } | {
4137
- owner: string;
4138
- beneficiary?: string | undefined;
4139
- maxFee?: string | number | bigint | undefined;
4140
- halfAmount?: string | number | bigint | undefined;
4141
- quoteSigners?: string[] | undefined;
4142
- type: "OffchainQuotedLinearFee";
4143
- bps?: string | number | undefined;
4144
- } | {
4145
- owner: string;
4146
- beneficiary?: string | undefined;
4147
- type: "ProgressiveFee";
4148
- maxFee: string | number | bigint;
4149
- halfAmount: string | number | bigint;
4150
- } | {
4151
- owner: string;
4152
- beneficiary?: string | undefined;
4153
- type: "RegressiveFee";
4154
- maxFee: string | number | bigint;
4155
- halfAmount: string | number | bigint;
4156
- } | {
4157
- owner: string;
4158
- beneficiary?: string | undefined;
4159
- type: "RoutingFee";
4160
- feeContracts: Record<string, any>;
4161
- } | {
4162
- owner: string;
4163
- beneficiary?: string | undefined;
4164
- type: "CrossCollateralRoutingFee";
4165
- feeContracts: Record<string, Record<string, any>>;
4166
- } | undefined;
4167
- routerType?: import("../ica/types.js").IcaRouterType | undefined;
4168
- commitmentIsm?: {
4169
- owner: string;
4170
- ownerOverrides?: Record<string, string> | undefined;
4171
- type: "offchainLookupIsm";
4172
- urls: string[];
4173
- } | undefined;
4174
- feeTokenApprovals?: {
4175
- feeToken: string;
4176
- hook: string;
4177
- }[] | undefined;
4178
- address: string;
4179
- } | undefined;
4180
- }>;
108
+ }, z.core.$strip>>;
109
+ }, z.core.$strip>;
4181
110
  export declare const DeployedCoreAddressesSchema: z.ZodObject<{
4182
111
  staticMerkleRootMultisigIsmFactory: z.ZodString;
4183
112
  staticMessageIdMultisigIsmFactory: z.ZodString;
@@ -4187,7 +116,6 @@ export declare const DeployedCoreAddressesSchema: z.ZodObject<{
4187
116
  incrementalDomainRoutingIsmFactory: z.ZodString;
4188
117
  staticMerkleRootWeightedMultisigIsmFactory: z.ZodString;
4189
118
  staticMessageIdWeightedMultisigIsmFactory: z.ZodString;
4190
- } & {
4191
119
  mailbox: z.ZodString;
4192
120
  validatorAnnounce: z.ZodString;
4193
121
  proxyAdmin: z.ZodString;
@@ -4198,45 +126,7 @@ export declare const DeployedCoreAddressesSchema: z.ZodObject<{
4198
126
  batchContractAddress: z.ZodOptional<z.ZodString>;
4199
127
  merkleTreeHook: z.ZodOptional<z.ZodString>;
4200
128
  interchainGasPaymaster: z.ZodOptional<z.ZodString>;
4201
- }, "strip", z.ZodTypeAny, {
4202
- staticMerkleRootMultisigIsmFactory: string;
4203
- staticMessageIdMultisigIsmFactory: string;
4204
- staticAggregationIsmFactory: string;
4205
- staticAggregationHookFactory: string;
4206
- domainRoutingIsmFactory: string;
4207
- incrementalDomainRoutingIsmFactory: string;
4208
- staticMerkleRootWeightedMultisigIsmFactory: string;
4209
- staticMessageIdWeightedMultisigIsmFactory: string;
4210
- mailbox: string;
4211
- validatorAnnounce: string;
4212
- proxyAdmin: string;
4213
- testRecipient: string;
4214
- timelockController?: string | undefined;
4215
- interchainAccountRouter: string;
4216
- quotedCalls?: string | undefined;
4217
- batchContractAddress?: string | undefined;
4218
- merkleTreeHook?: string | undefined;
4219
- interchainGasPaymaster?: string | undefined;
4220
- }, {
4221
- staticMerkleRootMultisigIsmFactory: string;
4222
- staticMessageIdMultisigIsmFactory: string;
4223
- staticAggregationIsmFactory: string;
4224
- staticAggregationHookFactory: string;
4225
- domainRoutingIsmFactory: string;
4226
- incrementalDomainRoutingIsmFactory: string;
4227
- staticMerkleRootWeightedMultisigIsmFactory: string;
4228
- staticMessageIdWeightedMultisigIsmFactory: string;
4229
- mailbox: string;
4230
- validatorAnnounce: string;
4231
- proxyAdmin: string;
4232
- testRecipient: string;
4233
- timelockController?: string | undefined;
4234
- interchainAccountRouter: string;
4235
- quotedCalls?: string | undefined;
4236
- batchContractAddress?: string | undefined;
4237
- merkleTreeHook?: string | undefined;
4238
- interchainGasPaymaster?: string | undefined;
4239
- }>;
129
+ }, z.core.$strip>;
4240
130
  export type DeployedCoreAddresses = z.infer<typeof DeployedCoreAddressesSchema>;
4241
131
  export type CoreConfig = z.infer<typeof CoreConfigSchema> & {
4242
132
  remove?: boolean;