@hyperlane-xyz/sdk 8.8.1 → 9.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 (184) hide show
  1. package/dist/block-explorer/etherscan.d.ts +41 -0
  2. package/dist/block-explorer/etherscan.d.ts.map +1 -0
  3. package/dist/block-explorer/etherscan.js +53 -0
  4. package/dist/block-explorer/etherscan.js.map +1 -0
  5. package/dist/ccip/HyperlaneCCIPDeployer.d.ts +18 -0
  6. package/dist/ccip/HyperlaneCCIPDeployer.d.ts.map +1 -0
  7. package/dist/ccip/HyperlaneCCIPDeployer.js +122 -0
  8. package/dist/ccip/HyperlaneCCIPDeployer.js.map +1 -0
  9. package/dist/ccip/consts.d.ts +24 -0
  10. package/dist/ccip/consts.d.ts.map +1 -0
  11. package/dist/ccip/consts.js +691 -0
  12. package/dist/ccip/consts.js.map +1 -0
  13. package/dist/ccip/utils.d.ts +46 -0
  14. package/dist/ccip/utils.d.ts.map +1 -0
  15. package/dist/ccip/utils.js +95 -0
  16. package/dist/ccip/utils.js.map +1 -0
  17. package/dist/consts/multisigIsm.d.ts.map +1 -1
  18. package/dist/consts/multisigIsm.js +45 -9
  19. package/dist/consts/multisigIsm.js.map +1 -1
  20. package/dist/contracts/contracts.d.ts +2 -2
  21. package/dist/contracts/contracts.d.ts.map +1 -1
  22. package/dist/contracts/contracts.js +4 -13
  23. package/dist/contracts/contracts.js.map +1 -1
  24. package/dist/core/HyperlaneCoreDeployer.d.ts.map +1 -1
  25. package/dist/core/HyperlaneCoreDeployer.js +6 -2
  26. package/dist/core/HyperlaneCoreDeployer.js.map +1 -1
  27. package/dist/core/HyperlaneRelayer.d.ts +43 -3
  28. package/dist/core/HyperlaneRelayer.d.ts.map +1 -1
  29. package/dist/core/types.d.ts +3558 -2040
  30. package/dist/core/types.d.ts.map +1 -1
  31. package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
  32. package/dist/deploy/HyperlaneDeployer.js +6 -1
  33. package/dist/deploy/HyperlaneDeployer.js.map +1 -1
  34. package/dist/deploy/proxy.d.ts.map +1 -1
  35. package/dist/deploy/proxy.js +4 -0
  36. package/dist/deploy/proxy.js.map +1 -1
  37. package/dist/deploy/verify/utils.d.ts.map +1 -1
  38. package/dist/deploy/verify/utils.js +3 -9
  39. package/dist/deploy/verify/utils.js.map +1 -1
  40. package/dist/gas/HyperlaneIgpDeployer.d.ts.map +1 -1
  41. package/dist/gas/HyperlaneIgpDeployer.js +15 -3
  42. package/dist/gas/HyperlaneIgpDeployer.js.map +1 -1
  43. package/dist/hook/EvmHookModule.d.ts +12 -4
  44. package/dist/hook/EvmHookModule.d.ts.map +1 -1
  45. package/dist/hook/EvmHookModule.hardhat-test.js +2 -106
  46. package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
  47. package/dist/hook/EvmHookModule.js +38 -10
  48. package/dist/hook/EvmHookModule.js.map +1 -1
  49. package/dist/hook/EvmHookReader.d.ts +7 -1
  50. package/dist/hook/EvmHookReader.d.ts.map +1 -1
  51. package/dist/hook/EvmHookReader.js +69 -4
  52. package/dist/hook/EvmHookReader.js.map +1 -1
  53. package/dist/hook/EvmHookReader.test.js +50 -1
  54. package/dist/hook/EvmHookReader.test.js.map +1 -1
  55. package/dist/hook/HyperlaneHookDeployer.d.ts +4 -2
  56. package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
  57. package/dist/hook/HyperlaneHookDeployer.js +39 -6
  58. package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
  59. package/dist/hook/contracts.d.ts +4 -1
  60. package/dist/hook/contracts.d.ts.map +1 -1
  61. package/dist/hook/contracts.js +4 -1
  62. package/dist/hook/contracts.js.map +1 -1
  63. package/dist/hook/types.d.ts +2012 -3
  64. package/dist/hook/types.d.ts.map +1 -1
  65. package/dist/hook/types.js +28 -0
  66. package/dist/hook/types.js.map +1 -1
  67. package/dist/index.d.ts +11 -5
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +10 -4
  70. package/dist/index.js.map +1 -1
  71. package/dist/ism/EvmIsmModule.d.ts +4 -2
  72. package/dist/ism/EvmIsmModule.d.ts.map +1 -1
  73. package/dist/ism/EvmIsmModule.hardhat-test.js +10 -71
  74. package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
  75. package/dist/ism/EvmIsmModule.js +4 -4
  76. package/dist/ism/EvmIsmModule.js.map +1 -1
  77. package/dist/ism/EvmIsmReader.d.ts +1 -0
  78. package/dist/ism/EvmIsmReader.d.ts.map +1 -1
  79. package/dist/ism/EvmIsmReader.js +45 -7
  80. package/dist/ism/EvmIsmReader.js.map +1 -1
  81. package/dist/ism/EvmIsmReader.test.js +4 -1
  82. package/dist/ism/EvmIsmReader.test.js.map +1 -1
  83. package/dist/ism/HyperlaneIsmFactory.d.ts +9 -4
  84. package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
  85. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +15 -0
  86. package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
  87. package/dist/ism/HyperlaneIsmFactory.js +43 -4
  88. package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
  89. package/dist/ism/metadata/builder.d.ts.map +1 -1
  90. package/dist/ism/metadata/builder.js +1 -0
  91. package/dist/ism/metadata/builder.js.map +1 -1
  92. package/dist/ism/metadata/routing.d.ts.map +1 -1
  93. package/dist/ism/metadata/routing.js +8 -2
  94. package/dist/ism/metadata/routing.js.map +1 -1
  95. package/dist/ism/types.d.ts +34 -5
  96. package/dist/ism/types.d.ts.map +1 -1
  97. package/dist/ism/types.js +15 -0
  98. package/dist/ism/types.js.map +1 -1
  99. package/dist/ism/utils.d.ts.map +1 -1
  100. package/dist/ism/utils.js +30 -2
  101. package/dist/ism/utils.js.map +1 -1
  102. package/dist/metadata/agentConfig.d.ts +276 -276
  103. package/dist/metadata/chainMetadataTypes.d.ts +1 -0
  104. package/dist/metadata/chainMetadataTypes.d.ts.map +1 -1
  105. package/dist/metadata/chainMetadataTypes.js +1 -0
  106. package/dist/metadata/chainMetadataTypes.js.map +1 -1
  107. package/dist/metadata/deploymentArtifacts.d.ts +2 -2
  108. package/dist/providers/ProviderType.d.ts +29 -5
  109. package/dist/providers/ProviderType.d.ts.map +1 -1
  110. package/dist/providers/ProviderType.js +2 -0
  111. package/dist/providers/ProviderType.js.map +1 -1
  112. package/dist/providers/explorerHealthTest.d.ts.map +1 -1
  113. package/dist/providers/explorerHealthTest.js +1 -0
  114. package/dist/providers/explorerHealthTest.js.map +1 -1
  115. package/dist/providers/providerBuilders.d.ts +2 -1
  116. package/dist/providers/providerBuilders.d.ts.map +1 -1
  117. package/dist/providers/providerBuilders.js +9 -0
  118. package/dist/providers/providerBuilders.js.map +1 -1
  119. package/dist/router/types.d.ts +129 -9
  120. package/dist/router/types.d.ts.map +1 -1
  121. package/dist/test/testUtils.d.ts +8 -0
  122. package/dist/test/testUtils.d.ts.map +1 -1
  123. package/dist/test/testUtils.js +191 -1
  124. package/dist/test/testUtils.js.map +1 -1
  125. package/dist/token/EvmERC20WarpModule.d.ts +4 -1
  126. package/dist/token/EvmERC20WarpModule.d.ts.map +1 -1
  127. package/dist/token/EvmERC20WarpModule.js +12 -8
  128. package/dist/token/EvmERC20WarpModule.js.map +1 -1
  129. package/dist/token/EvmERC20WarpRouteReader.d.ts +4 -3
  130. package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -1
  131. package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js +72 -3
  132. package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js.map +1 -1
  133. package/dist/token/EvmERC20WarpRouteReader.js +84 -15
  134. package/dist/token/EvmERC20WarpRouteReader.js.map +1 -1
  135. package/dist/token/Token.test.js +4 -0
  136. package/dist/token/Token.test.js.map +1 -1
  137. package/dist/token/TokenStandard.d.ts +8 -1
  138. package/dist/token/TokenStandard.d.ts.map +1 -1
  139. package/dist/token/TokenStandard.js +23 -0
  140. package/dist/token/TokenStandard.js.map +1 -1
  141. package/dist/token/adapters/EvmTokenAdapter.d.ts +49 -15
  142. package/dist/token/adapters/EvmTokenAdapter.d.ts.map +1 -1
  143. package/dist/token/adapters/EvmTokenAdapter.js +152 -42
  144. package/dist/token/adapters/EvmTokenAdapter.js.map +1 -1
  145. package/dist/token/adapters/ITokenAdapter.d.ts +19 -0
  146. package/dist/token/adapters/ITokenAdapter.d.ts.map +1 -1
  147. package/dist/token/checker.d.ts +4 -1
  148. package/dist/token/checker.d.ts.map +1 -1
  149. package/dist/token/checker.js +33 -5
  150. package/dist/token/checker.js.map +1 -1
  151. package/dist/token/config.d.ts +1 -0
  152. package/dist/token/config.d.ts.map +1 -1
  153. package/dist/token/config.js +2 -0
  154. package/dist/token/config.js.map +1 -1
  155. package/dist/token/configUtils.d.ts +10 -0
  156. package/dist/token/configUtils.d.ts.map +1 -0
  157. package/dist/token/configUtils.js +48 -0
  158. package/dist/token/configUtils.js.map +1 -0
  159. package/dist/token/contracts.d.ts +2 -2
  160. package/dist/token/contracts.d.ts.map +1 -1
  161. package/dist/token/contracts.js +4 -3
  162. package/dist/token/contracts.js.map +1 -1
  163. package/dist/token/deploy.d.ts +2 -2
  164. package/dist/token/deploy.d.ts.map +1 -1
  165. package/dist/token/deploy.hardhat-test.js +69 -6
  166. package/dist/token/deploy.hardhat-test.js.map +1 -1
  167. package/dist/token/deploy.js +12 -8
  168. package/dist/token/deploy.js.map +1 -1
  169. package/dist/token/nativeTokenMetadata.d.ts.map +1 -1
  170. package/dist/token/nativeTokenMetadata.js +6 -0
  171. package/dist/token/nativeTokenMetadata.js.map +1 -1
  172. package/dist/token/types.d.ts +3631 -252
  173. package/dist/token/types.d.ts.map +1 -1
  174. package/dist/token/types.js +125 -3
  175. package/dist/token/types.js.map +1 -1
  176. package/dist/token/types.test.js +2 -3
  177. package/dist/token/types.test.js.map +1 -1
  178. package/dist/token/xerc20.d.ts +13 -0
  179. package/dist/token/xerc20.d.ts.map +1 -0
  180. package/dist/token/xerc20.js +174 -0
  181. package/dist/token/xerc20.js.map +1 -0
  182. package/dist/utils/cosmos.d.ts +2 -2
  183. package/dist/warp/types.d.ts +14 -14
  184. package/package.json +4 -3
@@ -1,4 +1,6 @@
1
1
  import { z } from 'zod';
2
+ import { HookType } from '../hook/types.js';
3
+ import { IsmType } from '../ism/types.js';
2
4
  import { TokenType } from './config.js';
3
5
  export declare const WarpRouteDeployConfigSchemaErrors: {
4
6
  ONLY_SYNTHETIC_REBASE: string;
@@ -77,10 +79,10 @@ export declare const CollateralTokenConfigSchema: z.ZodObject<{
77
79
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
78
80
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
79
81
  isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
80
- type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.XERC20, TokenType.XERC20Lockbox, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
82
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
81
83
  token: z.ZodString;
82
84
  }, "strip", z.ZodTypeAny, {
83
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
85
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
84
86
  token: string;
85
87
  symbol?: string | undefined;
86
88
  name?: string | undefined;
@@ -89,7 +91,7 @@ export declare const CollateralTokenConfigSchema: z.ZodObject<{
89
91
  scale?: number | undefined;
90
92
  isNft?: boolean | undefined;
91
93
  }, {
92
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
94
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
93
95
  token: string;
94
96
  symbol?: string | undefined;
95
97
  name?: string | undefined;
@@ -100,7 +102,7 @@ export declare const CollateralTokenConfigSchema: z.ZodObject<{
100
102
  }>;
101
103
  export type CollateralTokenConfig = z.infer<typeof CollateralTokenConfigSchema>;
102
104
  export declare const isCollateralTokenConfig: (config: unknown) => config is {
103
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
105
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
104
106
  token: string;
105
107
  symbol?: string | undefined;
106
108
  name?: string | undefined;
@@ -109,6 +111,274 @@ export declare const isCollateralTokenConfig: (config: unknown) => config is {
109
111
  scale?: number | undefined;
110
112
  isNft?: boolean | undefined;
111
113
  };
114
+ declare const xERC20LimitConfigSchema: z.ZodObject<{
115
+ bufferCap: z.ZodOptional<z.ZodString>;
116
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ bufferCap?: string | undefined;
119
+ rateLimitPerSecond?: string | undefined;
120
+ }, {
121
+ bufferCap?: string | undefined;
122
+ rateLimitPerSecond?: string | undefined;
123
+ }>;
124
+ export type XERC20LimitConfig = z.infer<typeof xERC20LimitConfigSchema>;
125
+ declare const xERC20ExtraBridgesLimitConfigsSchema: z.ZodObject<{
126
+ lockbox: z.ZodString;
127
+ limits: z.ZodObject<{
128
+ bufferCap: z.ZodOptional<z.ZodString>;
129
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ bufferCap?: string | undefined;
132
+ rateLimitPerSecond?: string | undefined;
133
+ }, {
134
+ bufferCap?: string | undefined;
135
+ rateLimitPerSecond?: string | undefined;
136
+ }>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ lockbox: string;
139
+ limits: {
140
+ bufferCap?: string | undefined;
141
+ rateLimitPerSecond?: string | undefined;
142
+ };
143
+ }, {
144
+ lockbox: string;
145
+ limits: {
146
+ bufferCap?: string | undefined;
147
+ rateLimitPerSecond?: string | undefined;
148
+ };
149
+ }>;
150
+ declare const xERC20TokenMetadataSchema: z.ZodObject<{
151
+ xERC20: z.ZodOptional<z.ZodObject<{
152
+ extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
153
+ lockbox: z.ZodString;
154
+ limits: z.ZodObject<{
155
+ bufferCap: z.ZodOptional<z.ZodString>;
156
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ bufferCap?: string | undefined;
159
+ rateLimitPerSecond?: string | undefined;
160
+ }, {
161
+ bufferCap?: string | undefined;
162
+ rateLimitPerSecond?: string | undefined;
163
+ }>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ lockbox: string;
166
+ limits: {
167
+ bufferCap?: string | undefined;
168
+ rateLimitPerSecond?: string | undefined;
169
+ };
170
+ }, {
171
+ lockbox: string;
172
+ limits: {
173
+ bufferCap?: string | undefined;
174
+ rateLimitPerSecond?: string | undefined;
175
+ };
176
+ }>, "many">>;
177
+ warpRouteLimits: z.ZodObject<{
178
+ bufferCap: z.ZodOptional<z.ZodString>;
179
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ bufferCap?: string | undefined;
182
+ rateLimitPerSecond?: string | undefined;
183
+ }, {
184
+ bufferCap?: string | undefined;
185
+ rateLimitPerSecond?: string | undefined;
186
+ }>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ warpRouteLimits: {
189
+ bufferCap?: string | undefined;
190
+ rateLimitPerSecond?: string | undefined;
191
+ };
192
+ extraBridges?: {
193
+ lockbox: string;
194
+ limits: {
195
+ bufferCap?: string | undefined;
196
+ rateLimitPerSecond?: string | undefined;
197
+ };
198
+ }[] | undefined;
199
+ }, {
200
+ warpRouteLimits: {
201
+ bufferCap?: string | undefined;
202
+ rateLimitPerSecond?: string | undefined;
203
+ };
204
+ extraBridges?: {
205
+ lockbox: string;
206
+ limits: {
207
+ bufferCap?: string | undefined;
208
+ rateLimitPerSecond?: string | undefined;
209
+ };
210
+ }[] | undefined;
211
+ }>>;
212
+ }, "strip", z.ZodTypeAny, {
213
+ xERC20?: {
214
+ warpRouteLimits: {
215
+ bufferCap?: string | undefined;
216
+ rateLimitPerSecond?: string | undefined;
217
+ };
218
+ extraBridges?: {
219
+ lockbox: string;
220
+ limits: {
221
+ bufferCap?: string | undefined;
222
+ rateLimitPerSecond?: string | undefined;
223
+ };
224
+ }[] | undefined;
225
+ } | undefined;
226
+ }, {
227
+ xERC20?: {
228
+ warpRouteLimits: {
229
+ bufferCap?: string | undefined;
230
+ rateLimitPerSecond?: string | undefined;
231
+ };
232
+ extraBridges?: {
233
+ lockbox: string;
234
+ limits: {
235
+ bufferCap?: string | undefined;
236
+ rateLimitPerSecond?: string | undefined;
237
+ };
238
+ }[] | undefined;
239
+ } | undefined;
240
+ }>;
241
+ export type XERC20TokenMetadata = z.infer<typeof xERC20TokenMetadataSchema>;
242
+ export type XERC20TokenExtraBridgesLimits = z.infer<typeof xERC20ExtraBridgesLimitConfigsSchema>;
243
+ export declare const XERC20TokenConfigSchema: z.ZodObject<{
244
+ symbol: z.ZodOptional<z.ZodString>;
245
+ type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
246
+ name: z.ZodOptional<z.ZodString>;
247
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
248
+ token: z.ZodString;
249
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
250
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
251
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
252
+ xERC20: z.ZodOptional<z.ZodObject<{
253
+ extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
254
+ lockbox: z.ZodString;
255
+ limits: z.ZodObject<{
256
+ bufferCap: z.ZodOptional<z.ZodString>;
257
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ bufferCap?: string | undefined;
260
+ rateLimitPerSecond?: string | undefined;
261
+ }, {
262
+ bufferCap?: string | undefined;
263
+ rateLimitPerSecond?: string | undefined;
264
+ }>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ lockbox: string;
267
+ limits: {
268
+ bufferCap?: string | undefined;
269
+ rateLimitPerSecond?: string | undefined;
270
+ };
271
+ }, {
272
+ lockbox: string;
273
+ limits: {
274
+ bufferCap?: string | undefined;
275
+ rateLimitPerSecond?: string | undefined;
276
+ };
277
+ }>, "many">>;
278
+ warpRouteLimits: z.ZodObject<{
279
+ bufferCap: z.ZodOptional<z.ZodString>;
280
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
281
+ }, "strip", z.ZodTypeAny, {
282
+ bufferCap?: string | undefined;
283
+ rateLimitPerSecond?: string | undefined;
284
+ }, {
285
+ bufferCap?: string | undefined;
286
+ rateLimitPerSecond?: string | undefined;
287
+ }>;
288
+ }, "strip", z.ZodTypeAny, {
289
+ warpRouteLimits: {
290
+ bufferCap?: string | undefined;
291
+ rateLimitPerSecond?: string | undefined;
292
+ };
293
+ extraBridges?: {
294
+ lockbox: string;
295
+ limits: {
296
+ bufferCap?: string | undefined;
297
+ rateLimitPerSecond?: string | undefined;
298
+ };
299
+ }[] | undefined;
300
+ }, {
301
+ warpRouteLimits: {
302
+ bufferCap?: string | undefined;
303
+ rateLimitPerSecond?: string | undefined;
304
+ };
305
+ extraBridges?: {
306
+ lockbox: string;
307
+ limits: {
308
+ bufferCap?: string | undefined;
309
+ rateLimitPerSecond?: string | undefined;
310
+ };
311
+ }[] | undefined;
312
+ }>>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
315
+ token: string;
316
+ symbol?: string | undefined;
317
+ name?: string | undefined;
318
+ decimals?: number | undefined;
319
+ totalSupply?: string | number | undefined;
320
+ scale?: number | undefined;
321
+ isNft?: boolean | undefined;
322
+ xERC20?: {
323
+ warpRouteLimits: {
324
+ bufferCap?: string | undefined;
325
+ rateLimitPerSecond?: string | undefined;
326
+ };
327
+ extraBridges?: {
328
+ lockbox: string;
329
+ limits: {
330
+ bufferCap?: string | undefined;
331
+ rateLimitPerSecond?: string | undefined;
332
+ };
333
+ }[] | undefined;
334
+ } | undefined;
335
+ }, {
336
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
337
+ token: string;
338
+ symbol?: string | undefined;
339
+ name?: string | undefined;
340
+ decimals?: number | undefined;
341
+ totalSupply?: string | number | undefined;
342
+ scale?: number | undefined;
343
+ isNft?: boolean | undefined;
344
+ xERC20?: {
345
+ warpRouteLimits: {
346
+ bufferCap?: string | undefined;
347
+ rateLimitPerSecond?: string | undefined;
348
+ };
349
+ extraBridges?: {
350
+ lockbox: string;
351
+ limits: {
352
+ bufferCap?: string | undefined;
353
+ rateLimitPerSecond?: string | undefined;
354
+ };
355
+ }[] | undefined;
356
+ } | undefined;
357
+ }>;
358
+ export type XERC20LimitsTokenConfig = z.infer<typeof XERC20TokenConfigSchema>;
359
+ export declare const isXERC20TokenConfig: (config: unknown) => config is {
360
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
361
+ token: string;
362
+ symbol?: string | undefined;
363
+ name?: string | undefined;
364
+ decimals?: number | undefined;
365
+ totalSupply?: string | number | undefined;
366
+ scale?: number | undefined;
367
+ isNft?: boolean | undefined;
368
+ xERC20?: {
369
+ warpRouteLimits: {
370
+ bufferCap?: string | undefined;
371
+ rateLimitPerSecond?: string | undefined;
372
+ };
373
+ extraBridges?: {
374
+ lockbox: string;
375
+ limits: {
376
+ bufferCap?: string | undefined;
377
+ rateLimitPerSecond?: string | undefined;
378
+ };
379
+ }[] | undefined;
380
+ } | undefined;
381
+ };
112
382
  export declare const CollateralRebaseTokenConfigSchema: z.ZodObject<{
113
383
  symbol: z.ZodOptional<z.ZodString>;
114
384
  name: z.ZodOptional<z.ZodString>;
@@ -249,10 +519,10 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
249
519
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
250
520
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
251
521
  isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
252
- type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.XERC20, TokenType.XERC20Lockbox, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
522
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
253
523
  token: z.ZodString;
254
524
  }, "strip", z.ZodTypeAny, {
255
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
525
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
256
526
  token: string;
257
527
  symbol?: string | undefined;
258
528
  name?: string | undefined;
@@ -261,7 +531,7 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
261
531
  scale?: number | undefined;
262
532
  isNft?: boolean | undefined;
263
533
  }, {
264
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
534
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
265
535
  token: string;
266
536
  symbol?: string | undefined;
267
537
  name?: string | undefined;
@@ -269,6 +539,120 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
269
539
  totalSupply?: string | number | undefined;
270
540
  scale?: number | undefined;
271
541
  isNft?: boolean | undefined;
542
+ }>, z.ZodObject<{
543
+ symbol: z.ZodOptional<z.ZodString>;
544
+ type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
545
+ name: z.ZodOptional<z.ZodString>;
546
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
547
+ token: z.ZodString;
548
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
549
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
550
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
551
+ xERC20: z.ZodOptional<z.ZodObject<{
552
+ extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
553
+ lockbox: z.ZodString;
554
+ limits: z.ZodObject<{
555
+ bufferCap: z.ZodOptional<z.ZodString>;
556
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
557
+ }, "strip", z.ZodTypeAny, {
558
+ bufferCap?: string | undefined;
559
+ rateLimitPerSecond?: string | undefined;
560
+ }, {
561
+ bufferCap?: string | undefined;
562
+ rateLimitPerSecond?: string | undefined;
563
+ }>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ lockbox: string;
566
+ limits: {
567
+ bufferCap?: string | undefined;
568
+ rateLimitPerSecond?: string | undefined;
569
+ };
570
+ }, {
571
+ lockbox: string;
572
+ limits: {
573
+ bufferCap?: string | undefined;
574
+ rateLimitPerSecond?: string | undefined;
575
+ };
576
+ }>, "many">>;
577
+ warpRouteLimits: z.ZodObject<{
578
+ bufferCap: z.ZodOptional<z.ZodString>;
579
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ bufferCap?: string | undefined;
582
+ rateLimitPerSecond?: string | undefined;
583
+ }, {
584
+ bufferCap?: string | undefined;
585
+ rateLimitPerSecond?: string | undefined;
586
+ }>;
587
+ }, "strip", z.ZodTypeAny, {
588
+ warpRouteLimits: {
589
+ bufferCap?: string | undefined;
590
+ rateLimitPerSecond?: string | undefined;
591
+ };
592
+ extraBridges?: {
593
+ lockbox: string;
594
+ limits: {
595
+ bufferCap?: string | undefined;
596
+ rateLimitPerSecond?: string | undefined;
597
+ };
598
+ }[] | undefined;
599
+ }, {
600
+ warpRouteLimits: {
601
+ bufferCap?: string | undefined;
602
+ rateLimitPerSecond?: string | undefined;
603
+ };
604
+ extraBridges?: {
605
+ lockbox: string;
606
+ limits: {
607
+ bufferCap?: string | undefined;
608
+ rateLimitPerSecond?: string | undefined;
609
+ };
610
+ }[] | undefined;
611
+ }>>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
614
+ token: string;
615
+ symbol?: string | undefined;
616
+ name?: string | undefined;
617
+ decimals?: number | undefined;
618
+ totalSupply?: string | number | undefined;
619
+ scale?: number | undefined;
620
+ isNft?: boolean | undefined;
621
+ xERC20?: {
622
+ warpRouteLimits: {
623
+ bufferCap?: string | undefined;
624
+ rateLimitPerSecond?: string | undefined;
625
+ };
626
+ extraBridges?: {
627
+ lockbox: string;
628
+ limits: {
629
+ bufferCap?: string | undefined;
630
+ rateLimitPerSecond?: string | undefined;
631
+ };
632
+ }[] | undefined;
633
+ } | undefined;
634
+ }, {
635
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
636
+ token: string;
637
+ symbol?: string | undefined;
638
+ name?: string | undefined;
639
+ decimals?: number | undefined;
640
+ totalSupply?: string | number | undefined;
641
+ scale?: number | undefined;
642
+ isNft?: boolean | undefined;
643
+ xERC20?: {
644
+ warpRouteLimits: {
645
+ bufferCap?: string | undefined;
646
+ rateLimitPerSecond?: string | undefined;
647
+ };
648
+ extraBridges?: {
649
+ lockbox: string;
650
+ limits: {
651
+ bufferCap?: string | undefined;
652
+ rateLimitPerSecond?: string | undefined;
653
+ };
654
+ }[] | undefined;
655
+ } | undefined;
272
656
  }>, z.ZodObject<{
273
657
  symbol: z.ZodOptional<z.ZodString>;
274
658
  name: z.ZodOptional<z.ZodString>;
@@ -353,10 +737,98 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
353
737
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
354
738
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
355
739
  isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
356
- type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.XERC20, TokenType.XERC20Lockbox, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
740
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
741
+ token: z.ZodString;
742
+ }, "strip", z.ZodTypeAny, {
743
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
744
+ token: string;
745
+ symbol?: string | undefined;
746
+ name?: string | undefined;
747
+ decimals?: number | undefined;
748
+ totalSupply?: string | number | undefined;
749
+ scale?: number | undefined;
750
+ isNft?: boolean | undefined;
751
+ }, {
752
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
753
+ token: string;
754
+ symbol?: string | undefined;
755
+ name?: string | undefined;
756
+ decimals?: number | undefined;
757
+ totalSupply?: string | number | undefined;
758
+ scale?: number | undefined;
759
+ isNft?: boolean | undefined;
760
+ }>, z.ZodObject<{
761
+ symbol: z.ZodOptional<z.ZodString>;
762
+ type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
763
+ name: z.ZodOptional<z.ZodString>;
764
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
357
765
  token: z.ZodString;
766
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
767
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
768
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
769
+ xERC20: z.ZodOptional<z.ZodObject<{
770
+ extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
771
+ lockbox: z.ZodString;
772
+ limits: z.ZodObject<{
773
+ bufferCap: z.ZodOptional<z.ZodString>;
774
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
775
+ }, "strip", z.ZodTypeAny, {
776
+ bufferCap?: string | undefined;
777
+ rateLimitPerSecond?: string | undefined;
778
+ }, {
779
+ bufferCap?: string | undefined;
780
+ rateLimitPerSecond?: string | undefined;
781
+ }>;
782
+ }, "strip", z.ZodTypeAny, {
783
+ lockbox: string;
784
+ limits: {
785
+ bufferCap?: string | undefined;
786
+ rateLimitPerSecond?: string | undefined;
787
+ };
788
+ }, {
789
+ lockbox: string;
790
+ limits: {
791
+ bufferCap?: string | undefined;
792
+ rateLimitPerSecond?: string | undefined;
793
+ };
794
+ }>, "many">>;
795
+ warpRouteLimits: z.ZodObject<{
796
+ bufferCap: z.ZodOptional<z.ZodString>;
797
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
798
+ }, "strip", z.ZodTypeAny, {
799
+ bufferCap?: string | undefined;
800
+ rateLimitPerSecond?: string | undefined;
801
+ }, {
802
+ bufferCap?: string | undefined;
803
+ rateLimitPerSecond?: string | undefined;
804
+ }>;
805
+ }, "strip", z.ZodTypeAny, {
806
+ warpRouteLimits: {
807
+ bufferCap?: string | undefined;
808
+ rateLimitPerSecond?: string | undefined;
809
+ };
810
+ extraBridges?: {
811
+ lockbox: string;
812
+ limits: {
813
+ bufferCap?: string | undefined;
814
+ rateLimitPerSecond?: string | undefined;
815
+ };
816
+ }[] | undefined;
817
+ }, {
818
+ warpRouteLimits: {
819
+ bufferCap?: string | undefined;
820
+ rateLimitPerSecond?: string | undefined;
821
+ };
822
+ extraBridges?: {
823
+ lockbox: string;
824
+ limits: {
825
+ bufferCap?: string | undefined;
826
+ rateLimitPerSecond?: string | undefined;
827
+ };
828
+ }[] | undefined;
829
+ }>>;
358
830
  }, "strip", z.ZodTypeAny, {
359
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
831
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
360
832
  token: string;
361
833
  symbol?: string | undefined;
362
834
  name?: string | undefined;
@@ -364,8 +836,21 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
364
836
  totalSupply?: string | number | undefined;
365
837
  scale?: number | undefined;
366
838
  isNft?: boolean | undefined;
839
+ xERC20?: {
840
+ warpRouteLimits: {
841
+ bufferCap?: string | undefined;
842
+ rateLimitPerSecond?: string | undefined;
843
+ };
844
+ extraBridges?: {
845
+ lockbox: string;
846
+ limits: {
847
+ bufferCap?: string | undefined;
848
+ rateLimitPerSecond?: string | undefined;
849
+ };
850
+ }[] | undefined;
851
+ } | undefined;
367
852
  }, {
368
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
853
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
369
854
  token: string;
370
855
  symbol?: string | undefined;
371
856
  name?: string | undefined;
@@ -373,6 +858,19 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
373
858
  totalSupply?: string | number | undefined;
374
859
  scale?: number | undefined;
375
860
  isNft?: boolean | undefined;
861
+ xERC20?: {
862
+ warpRouteLimits: {
863
+ bufferCap?: string | undefined;
864
+ rateLimitPerSecond?: string | undefined;
865
+ };
866
+ extraBridges?: {
867
+ lockbox: string;
868
+ limits: {
869
+ bufferCap?: string | undefined;
870
+ rateLimitPerSecond?: string | undefined;
871
+ };
872
+ }[] | undefined;
873
+ } | undefined;
376
874
  }>, z.ZodObject<{
377
875
  symbol: z.ZodOptional<z.ZodString>;
378
876
  name: z.ZodOptional<z.ZodString>;
@@ -444,19 +942,19 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
444
942
  hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
445
943
  owner: z.ZodString;
446
944
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
447
- type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>;
945
+ type: z.ZodLiteral<HookType.PROTOCOL_FEE>;
448
946
  beneficiary: z.ZodString;
449
947
  maxProtocolFee: z.ZodString;
450
948
  protocolFee: z.ZodString;
451
949
  }, "strip", z.ZodTypeAny, {
452
- type: import("../index.js").HookType.PROTOCOL_FEE;
950
+ type: HookType.PROTOCOL_FEE;
453
951
  owner: string;
454
952
  protocolFee: string;
455
953
  beneficiary: string;
456
954
  maxProtocolFee: string;
457
955
  ownerOverrides?: Record<string, string> | undefined;
458
956
  }, {
459
- type: import("../index.js").HookType.PROTOCOL_FEE;
957
+ type: HookType.PROTOCOL_FEE;
460
958
  owner: string;
461
959
  protocolFee: string;
462
960
  beneficiary: string;
@@ -466,45 +964,45 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
466
964
  owner: z.ZodString;
467
965
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
468
966
  paused: z.ZodBoolean;
469
- type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>;
967
+ type: z.ZodLiteral<HookType.PAUSABLE>;
470
968
  }, "strip", z.ZodTypeAny, {
471
- type: import("../index.js").HookType.PAUSABLE;
969
+ type: HookType.PAUSABLE;
472
970
  owner: string;
473
971
  paused: boolean;
474
972
  ownerOverrides?: Record<string, string> | undefined;
475
973
  }, {
476
- type: import("../index.js").HookType.PAUSABLE;
974
+ type: HookType.PAUSABLE;
477
975
  owner: string;
478
976
  paused: boolean;
479
977
  ownerOverrides?: Record<string, string> | undefined;
480
978
  }>, z.ZodObject<{
481
979
  owner: z.ZodString;
482
980
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
483
- type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>;
981
+ type: z.ZodLiteral<HookType.OP_STACK>;
484
982
  nativeBridge: z.ZodString;
485
983
  destinationChain: z.ZodString;
486
984
  }, "strip", z.ZodTypeAny, {
487
- type: import("../index.js").HookType.OP_STACK;
985
+ type: HookType.OP_STACK;
488
986
  owner: string;
489
987
  nativeBridge: string;
490
988
  destinationChain: string;
491
989
  ownerOverrides?: Record<string, string> | undefined;
492
990
  }, {
493
- type: import("../index.js").HookType.OP_STACK;
991
+ type: HookType.OP_STACK;
494
992
  owner: string;
495
993
  nativeBridge: string;
496
994
  destinationChain: string;
497
995
  ownerOverrides?: Record<string, string> | undefined;
498
996
  }>, z.ZodObject<{
499
- type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>;
997
+ type: z.ZodLiteral<HookType.MERKLE_TREE>;
500
998
  }, "strip", z.ZodTypeAny, {
501
- type: import("../index.js").HookType.MERKLE_TREE;
999
+ type: HookType.MERKLE_TREE;
502
1000
  }, {
503
- type: import("../index.js").HookType.MERKLE_TREE;
1001
+ type: HookType.MERKLE_TREE;
504
1002
  }>, z.ZodObject<{
505
1003
  owner: z.ZodString;
506
1004
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
507
- type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>;
1005
+ type: z.ZodLiteral<HookType.INTERCHAIN_GAS_PAYMASTER>;
508
1006
  beneficiary: z.ZodString;
509
1007
  oracleKey: z.ZodString;
510
1008
  overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
@@ -522,7 +1020,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
522
1020
  tokenDecimals?: number | undefined;
523
1021
  }>>;
524
1022
  }, "strip", z.ZodTypeAny, {
525
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1023
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
526
1024
  owner: string;
527
1025
  beneficiary: string;
528
1026
  oracleKey: string;
@@ -534,7 +1032,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
534
1032
  }>;
535
1033
  ownerOverrides?: Record<string, string> | undefined;
536
1034
  }, {
537
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1035
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
538
1036
  owner: string;
539
1037
  beneficiary: string;
540
1038
  oracleKey: string;
@@ -545,41 +1043,56 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
545
1043
  tokenDecimals?: number | undefined;
546
1044
  }>;
547
1045
  ownerOverrides?: Record<string, string> | undefined;
548
- }>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>, z.ZodObject<{
549
- type: z.ZodLiteral<import("../index.js").HookType.ARB_L2_TO_L1>;
1046
+ }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
1047
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
550
1048
  arbSys: z.ZodString;
551
1049
  bridge: z.ZodOptional<z.ZodString>;
552
1050
  destinationChain: z.ZodString;
553
1051
  childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
554
1052
  }, "strip", z.ZodTypeAny, {
555
- type: import("../index.js").HookType.ARB_L2_TO_L1;
1053
+ type: HookType.ARB_L2_TO_L1;
556
1054
  destinationChain: string;
557
1055
  arbSys: string;
558
1056
  bridge?: string | undefined;
559
1057
  childHook?: any;
560
1058
  }, {
561
- type: import("../index.js").HookType.ARB_L2_TO_L1;
1059
+ type: HookType.ARB_L2_TO_L1;
562
1060
  destinationChain: string;
563
1061
  arbSys: string;
564
1062
  bridge?: string | undefined;
565
1063
  childHook?: any;
1064
+ }>, z.ZodObject<{
1065
+ type: z.ZodLiteral<HookType.MAILBOX_DEFAULT>;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ type: HookType.MAILBOX_DEFAULT;
1068
+ }, {
1069
+ type: HookType.MAILBOX_DEFAULT;
1070
+ }>, z.ZodObject<{
1071
+ type: z.ZodLiteral<HookType.CCIP>;
1072
+ destinationChain: z.ZodString;
1073
+ }, "strip", z.ZodTypeAny, {
1074
+ type: HookType.CCIP;
1075
+ destinationChain: string;
1076
+ }, {
1077
+ type: HookType.CCIP;
1078
+ destinationChain: string;
566
1079
  }>]>>;
567
1080
  interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
568
- type: z.ZodLiteral<import("../index.js").IsmType.TEST_ISM>;
1081
+ type: z.ZodLiteral<IsmType.TEST_ISM>;
569
1082
  }, "strip", z.ZodTypeAny, {
570
- type: import("../index.js").IsmType.TEST_ISM;
1083
+ type: IsmType.TEST_ISM;
571
1084
  }, {
572
- type: import("../index.js").IsmType.TEST_ISM;
1085
+ type: IsmType.TEST_ISM;
573
1086
  }>, z.ZodObject<{
574
- type: z.ZodLiteral<import("../index.js").IsmType.OP_STACK>;
1087
+ type: z.ZodLiteral<IsmType.OP_STACK>;
575
1088
  origin: z.ZodString;
576
1089
  nativeBridge: z.ZodString;
577
1090
  }, "strip", z.ZodTypeAny, {
578
- type: import("../index.js").IsmType.OP_STACK;
1091
+ type: IsmType.OP_STACK;
579
1092
  origin: string;
580
1093
  nativeBridge: string;
581
1094
  }, {
582
- type: import("../index.js").IsmType.OP_STACK;
1095
+ type: IsmType.OP_STACK;
583
1096
  origin: string;
584
1097
  nativeBridge: string;
585
1098
  }>, z.ZodIntersection<z.ZodObject<{
@@ -595,20 +1108,29 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
595
1108
  paused: boolean;
596
1109
  ownerOverrides?: Record<string, string> | undefined;
597
1110
  }>, z.ZodObject<{
598
- type: z.ZodLiteral<import("../index.js").IsmType.PAUSABLE>;
1111
+ type: z.ZodLiteral<IsmType.PAUSABLE>;
599
1112
  }, "strip", z.ZodTypeAny, {
600
- type: import("../index.js").IsmType.PAUSABLE;
1113
+ type: IsmType.PAUSABLE;
601
1114
  }, {
602
- type: import("../index.js").IsmType.PAUSABLE;
1115
+ type: IsmType.PAUSABLE;
603
1116
  }>>, z.ZodObject<{
604
- type: z.ZodLiteral<import("../index.js").IsmType.TRUSTED_RELAYER>;
1117
+ type: z.ZodLiteral<IsmType.TRUSTED_RELAYER>;
605
1118
  relayer: z.ZodString;
606
1119
  }, "strip", z.ZodTypeAny, {
607
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1120
+ type: IsmType.TRUSTED_RELAYER;
608
1121
  relayer: string;
609
1122
  }, {
610
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1123
+ type: IsmType.TRUSTED_RELAYER;
611
1124
  relayer: string;
1125
+ }>, z.ZodObject<{
1126
+ type: z.ZodLiteral<IsmType.CCIP>;
1127
+ originChain: z.ZodString;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ type: IsmType.CCIP;
1130
+ originChain: string;
1131
+ }, {
1132
+ type: IsmType.CCIP;
1133
+ originChain: string;
612
1134
  }>, z.ZodIntersection<z.ZodObject<{
613
1135
  validators: z.ZodArray<z.ZodString, "many">;
614
1136
  threshold: z.ZodNumber;
@@ -619,11 +1141,11 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
619
1141
  validators: string[];
620
1142
  threshold: number;
621
1143
  }>, z.ZodObject<{
622
- type: z.ZodUnion<[z.ZodLiteral<import("../index.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
1144
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
623
1145
  }, "strip", z.ZodTypeAny, {
624
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1146
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
625
1147
  }, {
626
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1148
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
627
1149
  }>>, z.ZodIntersection<z.ZodObject<{
628
1150
  validators: z.ZodArray<z.ZodObject<{
629
1151
  signingAddress: z.ZodString;
@@ -649,19 +1171,19 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
649
1171
  }[];
650
1172
  thresholdWeight: number;
651
1173
  }>, z.ZodObject<{
652
- type: z.ZodUnion<[z.ZodLiteral<import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
1174
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
653
1175
  }, "strip", z.ZodTypeAny, {
654
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1176
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
655
1177
  }, {
656
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
657
- }>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>, z.ZodObject<{
658
- type: z.ZodLiteral<import("../index.js").IsmType.ARB_L2_TO_L1>;
1178
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1179
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
1180
+ type: z.ZodLiteral<IsmType.ARB_L2_TO_L1>;
659
1181
  bridge: z.ZodString;
660
1182
  }, "strip", z.ZodTypeAny, {
661
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
1183
+ type: IsmType.ARB_L2_TO_L1;
662
1184
  bridge: string;
663
1185
  }, {
664
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
1186
+ type: IsmType.ARB_L2_TO_L1;
665
1187
  bridge: string;
666
1188
  }>]>>;
667
1189
  foreignDeployment: z.ZodOptional<z.ZodString>;
@@ -684,9 +1206,9 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
684
1206
  address?: string | undefined;
685
1207
  } | undefined;
686
1208
  hook?: string | {
687
- type: import("../index.js").HookType.MERKLE_TREE;
1209
+ type: HookType.MERKLE_TREE;
688
1210
  } | {
689
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1211
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
690
1212
  owner: string;
691
1213
  beneficiary: string;
692
1214
  oracleKey: string;
@@ -698,35 +1220,40 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
698
1220
  }>;
699
1221
  ownerOverrides?: Record<string, string> | undefined;
700
1222
  } | {
701
- type: import("../index.js").HookType.PROTOCOL_FEE;
1223
+ type: HookType.PROTOCOL_FEE;
702
1224
  owner: string;
703
1225
  protocolFee: string;
704
1226
  beneficiary: string;
705
1227
  maxProtocolFee: string;
706
1228
  ownerOverrides?: Record<string, string> | undefined;
707
1229
  } | {
708
- type: import("../index.js").HookType.PAUSABLE;
1230
+ type: HookType.PAUSABLE;
709
1231
  owner: string;
710
1232
  paused: boolean;
711
1233
  ownerOverrides?: Record<string, string> | undefined;
712
1234
  } | {
713
- type: import("../index.js").HookType.OP_STACK;
1235
+ type: HookType.OP_STACK;
714
1236
  owner: string;
715
1237
  nativeBridge: string;
716
1238
  destinationChain: string;
717
1239
  ownerOverrides?: Record<string, string> | undefined;
718
1240
  } | {
719
- type: import("../index.js").HookType.ARB_L2_TO_L1;
1241
+ type: HookType.ARB_L2_TO_L1;
720
1242
  destinationChain: string;
721
1243
  arbSys: string;
722
1244
  bridge?: string | undefined;
723
1245
  childHook?: any;
724
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1246
+ } | {
1247
+ type: HookType.MAILBOX_DEFAULT;
1248
+ } | {
1249
+ type: HookType.CCIP;
1250
+ destinationChain: string;
1251
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
725
1252
  interchainSecurityModule?: string | ({
726
1253
  validators: string[];
727
1254
  threshold: number;
728
1255
  } & {
729
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1256
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
730
1257
  }) | ({
731
1258
  validators: {
732
1259
  signingAddress: string;
@@ -734,26 +1261,29 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
734
1261
  }[];
735
1262
  thresholdWeight: number;
736
1263
  } & {
737
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1264
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
738
1265
  }) | {
739
- type: import("../index.js").IsmType.TEST_ISM;
1266
+ type: IsmType.TEST_ISM;
740
1267
  } | ({
741
1268
  owner: string;
742
1269
  paused: boolean;
743
1270
  ownerOverrides?: Record<string, string> | undefined;
744
1271
  } & {
745
- type: import("../index.js").IsmType.PAUSABLE;
1272
+ type: IsmType.PAUSABLE;
746
1273
  }) | {
747
- type: import("../index.js").IsmType.OP_STACK;
1274
+ type: IsmType.OP_STACK;
748
1275
  origin: string;
749
1276
  nativeBridge: string;
750
1277
  } | {
751
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1278
+ type: IsmType.TRUSTED_RELAYER;
752
1279
  relayer: string;
753
1280
  } | {
754
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
1281
+ type: IsmType.CCIP;
1282
+ originChain: string;
1283
+ } | {
1284
+ type: IsmType.ARB_L2_TO_L1;
755
1285
  bridge: string;
756
- } | import("../index.js").RoutingIsmConfig | import("../index.js").AggregationIsmConfig | undefined;
1286
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
757
1287
  foreignDeployment?: string | undefined;
758
1288
  remoteRouters?: Record<string, {
759
1289
  address: string;
@@ -770,9 +1300,9 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
770
1300
  address?: string | undefined;
771
1301
  } | undefined;
772
1302
  hook?: string | {
773
- type: import("../index.js").HookType.MERKLE_TREE;
1303
+ type: HookType.MERKLE_TREE;
774
1304
  } | {
775
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1305
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
776
1306
  owner: string;
777
1307
  beneficiary: string;
778
1308
  oracleKey: string;
@@ -784,35 +1314,40 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
784
1314
  }>;
785
1315
  ownerOverrides?: Record<string, string> | undefined;
786
1316
  } | {
787
- type: import("../index.js").HookType.PROTOCOL_FEE;
1317
+ type: HookType.PROTOCOL_FEE;
788
1318
  owner: string;
789
1319
  protocolFee: string;
790
1320
  beneficiary: string;
791
1321
  maxProtocolFee: string;
792
1322
  ownerOverrides?: Record<string, string> | undefined;
793
1323
  } | {
794
- type: import("../index.js").HookType.PAUSABLE;
1324
+ type: HookType.PAUSABLE;
795
1325
  owner: string;
796
1326
  paused: boolean;
797
1327
  ownerOverrides?: Record<string, string> | undefined;
798
1328
  } | {
799
- type: import("../index.js").HookType.OP_STACK;
1329
+ type: HookType.OP_STACK;
800
1330
  owner: string;
801
1331
  nativeBridge: string;
802
1332
  destinationChain: string;
803
1333
  ownerOverrides?: Record<string, string> | undefined;
804
1334
  } | {
805
- type: import("../index.js").HookType.ARB_L2_TO_L1;
1335
+ type: HookType.ARB_L2_TO_L1;
806
1336
  destinationChain: string;
807
1337
  arbSys: string;
808
1338
  bridge?: string | undefined;
809
1339
  childHook?: any;
810
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1340
+ } | {
1341
+ type: HookType.MAILBOX_DEFAULT;
1342
+ } | {
1343
+ type: HookType.CCIP;
1344
+ destinationChain: string;
1345
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
811
1346
  interchainSecurityModule?: string | ({
812
1347
  validators: string[];
813
1348
  threshold: number;
814
1349
  } & {
815
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1350
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
816
1351
  }) | ({
817
1352
  validators: {
818
1353
  signingAddress: string;
@@ -820,26 +1355,29 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
820
1355
  }[];
821
1356
  thresholdWeight: number;
822
1357
  } & {
823
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1358
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
824
1359
  }) | {
825
- type: import("../index.js").IsmType.TEST_ISM;
1360
+ type: IsmType.TEST_ISM;
826
1361
  } | ({
827
1362
  owner: string;
828
1363
  paused: boolean;
829
1364
  ownerOverrides?: Record<string, string> | undefined;
830
1365
  } & {
831
- type: import("../index.js").IsmType.PAUSABLE;
1366
+ type: IsmType.PAUSABLE;
832
1367
  }) | {
833
- type: import("../index.js").IsmType.OP_STACK;
1368
+ type: IsmType.OP_STACK;
834
1369
  origin: string;
835
1370
  nativeBridge: string;
836
1371
  } | {
837
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1372
+ type: IsmType.TRUSTED_RELAYER;
838
1373
  relayer: string;
839
1374
  } | {
840
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
1375
+ type: IsmType.CCIP;
1376
+ originChain: string;
1377
+ } | {
1378
+ type: IsmType.ARB_L2_TO_L1;
841
1379
  bridge: string;
842
- } | import("../index.js").RoutingIsmConfig | import("../index.js").AggregationIsmConfig | undefined;
1380
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
843
1381
  foreignDeployment?: string | undefined;
844
1382
  remoteRouters?: Record<string, {
845
1383
  address: string;
@@ -848,7 +1386,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
848
1386
  destinationGas?: Record<string, string> | undefined;
849
1387
  }>>;
850
1388
  export type HypTokenRouterConfig = z.infer<typeof HypTokenRouterConfigSchema>;
851
- export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1389
+ declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
852
1390
  symbol: z.ZodOptional<z.ZodString>;
853
1391
  name: z.ZodOptional<z.ZodString>;
854
1392
  decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -879,10 +1417,98 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
879
1417
  totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
880
1418
  scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
881
1419
  isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
882
- type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.XERC20, TokenType.XERC20Lockbox, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
1420
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
1421
+ token: z.ZodString;
1422
+ }, "strip", z.ZodTypeAny, {
1423
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1424
+ token: string;
1425
+ symbol?: string | undefined;
1426
+ name?: string | undefined;
1427
+ decimals?: number | undefined;
1428
+ totalSupply?: string | number | undefined;
1429
+ scale?: number | undefined;
1430
+ isNft?: boolean | undefined;
1431
+ }, {
1432
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1433
+ token: string;
1434
+ symbol?: string | undefined;
1435
+ name?: string | undefined;
1436
+ decimals?: number | undefined;
1437
+ totalSupply?: string | number | undefined;
1438
+ scale?: number | undefined;
1439
+ isNft?: boolean | undefined;
1440
+ }>, z.ZodObject<{
1441
+ symbol: z.ZodOptional<z.ZodString>;
1442
+ type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
1443
+ name: z.ZodOptional<z.ZodString>;
1444
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
883
1445
  token: z.ZodString;
1446
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1447
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1448
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1449
+ xERC20: z.ZodOptional<z.ZodObject<{
1450
+ extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1451
+ lockbox: z.ZodString;
1452
+ limits: z.ZodObject<{
1453
+ bufferCap: z.ZodOptional<z.ZodString>;
1454
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ bufferCap?: string | undefined;
1457
+ rateLimitPerSecond?: string | undefined;
1458
+ }, {
1459
+ bufferCap?: string | undefined;
1460
+ rateLimitPerSecond?: string | undefined;
1461
+ }>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ lockbox: string;
1464
+ limits: {
1465
+ bufferCap?: string | undefined;
1466
+ rateLimitPerSecond?: string | undefined;
1467
+ };
1468
+ }, {
1469
+ lockbox: string;
1470
+ limits: {
1471
+ bufferCap?: string | undefined;
1472
+ rateLimitPerSecond?: string | undefined;
1473
+ };
1474
+ }>, "many">>;
1475
+ warpRouteLimits: z.ZodObject<{
1476
+ bufferCap: z.ZodOptional<z.ZodString>;
1477
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
1478
+ }, "strip", z.ZodTypeAny, {
1479
+ bufferCap?: string | undefined;
1480
+ rateLimitPerSecond?: string | undefined;
1481
+ }, {
1482
+ bufferCap?: string | undefined;
1483
+ rateLimitPerSecond?: string | undefined;
1484
+ }>;
1485
+ }, "strip", z.ZodTypeAny, {
1486
+ warpRouteLimits: {
1487
+ bufferCap?: string | undefined;
1488
+ rateLimitPerSecond?: string | undefined;
1489
+ };
1490
+ extraBridges?: {
1491
+ lockbox: string;
1492
+ limits: {
1493
+ bufferCap?: string | undefined;
1494
+ rateLimitPerSecond?: string | undefined;
1495
+ };
1496
+ }[] | undefined;
1497
+ }, {
1498
+ warpRouteLimits: {
1499
+ bufferCap?: string | undefined;
1500
+ rateLimitPerSecond?: string | undefined;
1501
+ };
1502
+ extraBridges?: {
1503
+ lockbox: string;
1504
+ limits: {
1505
+ bufferCap?: string | undefined;
1506
+ rateLimitPerSecond?: string | undefined;
1507
+ };
1508
+ }[] | undefined;
1509
+ }>>;
884
1510
  }, "strip", z.ZodTypeAny, {
885
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1511
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
886
1512
  token: string;
887
1513
  symbol?: string | undefined;
888
1514
  name?: string | undefined;
@@ -890,8 +1516,21 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
890
1516
  totalSupply?: string | number | undefined;
891
1517
  scale?: number | undefined;
892
1518
  isNft?: boolean | undefined;
1519
+ xERC20?: {
1520
+ warpRouteLimits: {
1521
+ bufferCap?: string | undefined;
1522
+ rateLimitPerSecond?: string | undefined;
1523
+ };
1524
+ extraBridges?: {
1525
+ lockbox: string;
1526
+ limits: {
1527
+ bufferCap?: string | undefined;
1528
+ rateLimitPerSecond?: string | undefined;
1529
+ };
1530
+ }[] | undefined;
1531
+ } | undefined;
893
1532
  }, {
894
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1533
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
895
1534
  token: string;
896
1535
  symbol?: string | undefined;
897
1536
  name?: string | undefined;
@@ -899,6 +1538,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
899
1538
  totalSupply?: string | number | undefined;
900
1539
  scale?: number | undefined;
901
1540
  isNft?: boolean | undefined;
1541
+ xERC20?: {
1542
+ warpRouteLimits: {
1543
+ bufferCap?: string | undefined;
1544
+ rateLimitPerSecond?: string | undefined;
1545
+ };
1546
+ extraBridges?: {
1547
+ lockbox: string;
1548
+ limits: {
1549
+ bufferCap?: string | undefined;
1550
+ rateLimitPerSecond?: string | undefined;
1551
+ };
1552
+ }[] | undefined;
1553
+ } | undefined;
902
1554
  }>, z.ZodObject<{
903
1555
  symbol: z.ZodOptional<z.ZodString>;
904
1556
  name: z.ZodOptional<z.ZodString>;
@@ -953,7 +1605,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
953
1605
  }>]>, z.ZodObject<{
954
1606
  owner: z.ZodString;
955
1607
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
956
- mailbox: z.ZodString;
1608
+ gas: z.ZodOptional<z.ZodNumber>;
957
1609
  proxyAdmin: z.ZodOptional<z.ZodObject<{
958
1610
  owner: z.ZodString;
959
1611
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -970,19 +1622,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
970
1622
  hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
971
1623
  owner: z.ZodString;
972
1624
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
973
- type: z.ZodLiteral<import("../index.js").HookType.PROTOCOL_FEE>;
1625
+ type: z.ZodLiteral<HookType.PROTOCOL_FEE>;
974
1626
  beneficiary: z.ZodString;
975
1627
  maxProtocolFee: z.ZodString;
976
1628
  protocolFee: z.ZodString;
977
1629
  }, "strip", z.ZodTypeAny, {
978
- type: import("../index.js").HookType.PROTOCOL_FEE;
1630
+ type: HookType.PROTOCOL_FEE;
979
1631
  owner: string;
980
1632
  protocolFee: string;
981
1633
  beneficiary: string;
982
1634
  maxProtocolFee: string;
983
1635
  ownerOverrides?: Record<string, string> | undefined;
984
1636
  }, {
985
- type: import("../index.js").HookType.PROTOCOL_FEE;
1637
+ type: HookType.PROTOCOL_FEE;
986
1638
  owner: string;
987
1639
  protocolFee: string;
988
1640
  beneficiary: string;
@@ -992,45 +1644,45 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
992
1644
  owner: z.ZodString;
993
1645
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
994
1646
  paused: z.ZodBoolean;
995
- type: z.ZodLiteral<import("../index.js").HookType.PAUSABLE>;
1647
+ type: z.ZodLiteral<HookType.PAUSABLE>;
996
1648
  }, "strip", z.ZodTypeAny, {
997
- type: import("../index.js").HookType.PAUSABLE;
1649
+ type: HookType.PAUSABLE;
998
1650
  owner: string;
999
1651
  paused: boolean;
1000
1652
  ownerOverrides?: Record<string, string> | undefined;
1001
1653
  }, {
1002
- type: import("../index.js").HookType.PAUSABLE;
1654
+ type: HookType.PAUSABLE;
1003
1655
  owner: string;
1004
1656
  paused: boolean;
1005
1657
  ownerOverrides?: Record<string, string> | undefined;
1006
1658
  }>, z.ZodObject<{
1007
1659
  owner: z.ZodString;
1008
1660
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1009
- type: z.ZodLiteral<import("../index.js").HookType.OP_STACK>;
1661
+ type: z.ZodLiteral<HookType.OP_STACK>;
1010
1662
  nativeBridge: z.ZodString;
1011
1663
  destinationChain: z.ZodString;
1012
1664
  }, "strip", z.ZodTypeAny, {
1013
- type: import("../index.js").HookType.OP_STACK;
1665
+ type: HookType.OP_STACK;
1014
1666
  owner: string;
1015
1667
  nativeBridge: string;
1016
1668
  destinationChain: string;
1017
1669
  ownerOverrides?: Record<string, string> | undefined;
1018
1670
  }, {
1019
- type: import("../index.js").HookType.OP_STACK;
1671
+ type: HookType.OP_STACK;
1020
1672
  owner: string;
1021
1673
  nativeBridge: string;
1022
1674
  destinationChain: string;
1023
1675
  ownerOverrides?: Record<string, string> | undefined;
1024
1676
  }>, z.ZodObject<{
1025
- type: z.ZodLiteral<import("../index.js").HookType.MERKLE_TREE>;
1677
+ type: z.ZodLiteral<HookType.MERKLE_TREE>;
1026
1678
  }, "strip", z.ZodTypeAny, {
1027
- type: import("../index.js").HookType.MERKLE_TREE;
1679
+ type: HookType.MERKLE_TREE;
1028
1680
  }, {
1029
- type: import("../index.js").HookType.MERKLE_TREE;
1681
+ type: HookType.MERKLE_TREE;
1030
1682
  }>, z.ZodObject<{
1031
1683
  owner: z.ZodString;
1032
1684
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1033
- type: z.ZodLiteral<import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER>;
1685
+ type: z.ZodLiteral<HookType.INTERCHAIN_GAS_PAYMASTER>;
1034
1686
  beneficiary: z.ZodString;
1035
1687
  oracleKey: z.ZodString;
1036
1688
  overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
@@ -1048,7 +1700,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1048
1700
  tokenDecimals?: number | undefined;
1049
1701
  }>>;
1050
1702
  }, "strip", z.ZodTypeAny, {
1051
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1703
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1052
1704
  owner: string;
1053
1705
  beneficiary: string;
1054
1706
  oracleKey: string;
@@ -1060,7 +1712,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1060
1712
  }>;
1061
1713
  ownerOverrides?: Record<string, string> | undefined;
1062
1714
  }, {
1063
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1715
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1064
1716
  owner: string;
1065
1717
  beneficiary: string;
1066
1718
  oracleKey: string;
@@ -1071,41 +1723,56 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1071
1723
  tokenDecimals?: number | undefined;
1072
1724
  }>;
1073
1725
  ownerOverrides?: Record<string, string> | undefined;
1074
- }>, z.ZodType<import("../index.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../index.js").DomainRoutingHookConfig>, z.ZodType<import("../index.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../index.js").FallbackRoutingHookConfig>, z.ZodType<import("../index.js").AggregationHookConfig, z.ZodTypeDef, import("../index.js").AggregationHookConfig>, z.ZodObject<{
1075
- type: z.ZodLiteral<import("../index.js").HookType.ARB_L2_TO_L1>;
1726
+ }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
1727
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
1076
1728
  arbSys: z.ZodString;
1077
1729
  bridge: z.ZodOptional<z.ZodString>;
1078
1730
  destinationChain: z.ZodString;
1079
1731
  childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
1080
1732
  }, "strip", z.ZodTypeAny, {
1081
- type: import("../index.js").HookType.ARB_L2_TO_L1;
1733
+ type: HookType.ARB_L2_TO_L1;
1082
1734
  destinationChain: string;
1083
1735
  arbSys: string;
1084
1736
  bridge?: string | undefined;
1085
1737
  childHook?: any;
1086
1738
  }, {
1087
- type: import("../index.js").HookType.ARB_L2_TO_L1;
1739
+ type: HookType.ARB_L2_TO_L1;
1088
1740
  destinationChain: string;
1089
1741
  arbSys: string;
1090
1742
  bridge?: string | undefined;
1091
1743
  childHook?: any;
1744
+ }>, z.ZodObject<{
1745
+ type: z.ZodLiteral<HookType.MAILBOX_DEFAULT>;
1746
+ }, "strip", z.ZodTypeAny, {
1747
+ type: HookType.MAILBOX_DEFAULT;
1748
+ }, {
1749
+ type: HookType.MAILBOX_DEFAULT;
1750
+ }>, z.ZodObject<{
1751
+ type: z.ZodLiteral<HookType.CCIP>;
1752
+ destinationChain: z.ZodString;
1753
+ }, "strip", z.ZodTypeAny, {
1754
+ type: HookType.CCIP;
1755
+ destinationChain: string;
1756
+ }, {
1757
+ type: HookType.CCIP;
1758
+ destinationChain: string;
1092
1759
  }>]>>;
1093
1760
  interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1094
- type: z.ZodLiteral<import("../index.js").IsmType.TEST_ISM>;
1761
+ type: z.ZodLiteral<IsmType.TEST_ISM>;
1095
1762
  }, "strip", z.ZodTypeAny, {
1096
- type: import("../index.js").IsmType.TEST_ISM;
1763
+ type: IsmType.TEST_ISM;
1097
1764
  }, {
1098
- type: import("../index.js").IsmType.TEST_ISM;
1765
+ type: IsmType.TEST_ISM;
1099
1766
  }>, z.ZodObject<{
1100
- type: z.ZodLiteral<import("../index.js").IsmType.OP_STACK>;
1767
+ type: z.ZodLiteral<IsmType.OP_STACK>;
1101
1768
  origin: z.ZodString;
1102
1769
  nativeBridge: z.ZodString;
1103
1770
  }, "strip", z.ZodTypeAny, {
1104
- type: import("../index.js").IsmType.OP_STACK;
1771
+ type: IsmType.OP_STACK;
1105
1772
  origin: string;
1106
1773
  nativeBridge: string;
1107
1774
  }, {
1108
- type: import("../index.js").IsmType.OP_STACK;
1775
+ type: IsmType.OP_STACK;
1109
1776
  origin: string;
1110
1777
  nativeBridge: string;
1111
1778
  }>, z.ZodIntersection<z.ZodObject<{
@@ -1121,20 +1788,29 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1121
1788
  paused: boolean;
1122
1789
  ownerOverrides?: Record<string, string> | undefined;
1123
1790
  }>, z.ZodObject<{
1124
- type: z.ZodLiteral<import("../index.js").IsmType.PAUSABLE>;
1791
+ type: z.ZodLiteral<IsmType.PAUSABLE>;
1125
1792
  }, "strip", z.ZodTypeAny, {
1126
- type: import("../index.js").IsmType.PAUSABLE;
1793
+ type: IsmType.PAUSABLE;
1127
1794
  }, {
1128
- type: import("../index.js").IsmType.PAUSABLE;
1795
+ type: IsmType.PAUSABLE;
1129
1796
  }>>, z.ZodObject<{
1130
- type: z.ZodLiteral<import("../index.js").IsmType.TRUSTED_RELAYER>;
1797
+ type: z.ZodLiteral<IsmType.TRUSTED_RELAYER>;
1131
1798
  relayer: z.ZodString;
1132
1799
  }, "strip", z.ZodTypeAny, {
1133
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1800
+ type: IsmType.TRUSTED_RELAYER;
1134
1801
  relayer: string;
1135
1802
  }, {
1136
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1803
+ type: IsmType.TRUSTED_RELAYER;
1137
1804
  relayer: string;
1805
+ }>, z.ZodObject<{
1806
+ type: z.ZodLiteral<IsmType.CCIP>;
1807
+ originChain: z.ZodString;
1808
+ }, "strip", z.ZodTypeAny, {
1809
+ type: IsmType.CCIP;
1810
+ originChain: string;
1811
+ }, {
1812
+ type: IsmType.CCIP;
1813
+ originChain: string;
1138
1814
  }>, z.ZodIntersection<z.ZodObject<{
1139
1815
  validators: z.ZodArray<z.ZodString, "many">;
1140
1816
  threshold: z.ZodNumber;
@@ -1145,11 +1821,11 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1145
1821
  validators: string[];
1146
1822
  threshold: number;
1147
1823
  }>, z.ZodObject<{
1148
- type: z.ZodUnion<[z.ZodLiteral<import("../index.js").IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
1824
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
1149
1825
  }, "strip", z.ZodTypeAny, {
1150
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1826
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1151
1827
  }, {
1152
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1828
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1153
1829
  }>>, z.ZodIntersection<z.ZodObject<{
1154
1830
  validators: z.ZodArray<z.ZodObject<{
1155
1831
  signingAddress: z.ZodString;
@@ -1175,19 +1851,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1175
1851
  }[];
1176
1852
  thresholdWeight: number;
1177
1853
  }>, z.ZodObject<{
1178
- type: z.ZodUnion<[z.ZodLiteral<import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
1854
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
1179
1855
  }, "strip", z.ZodTypeAny, {
1180
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1856
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1181
1857
  }, {
1182
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1183
- }>>, z.ZodType<import("../index.js").RoutingIsmConfig, z.ZodTypeDef, import("../index.js").RoutingIsmConfig>, z.ZodType<import("../index.js").AggregationIsmConfig, z.ZodTypeDef, import("../index.js").AggregationIsmConfig>, z.ZodObject<{
1184
- type: z.ZodLiteral<import("../index.js").IsmType.ARB_L2_TO_L1>;
1858
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1859
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
1860
+ type: z.ZodLiteral<IsmType.ARB_L2_TO_L1>;
1185
1861
  bridge: z.ZodString;
1186
1862
  }, "strip", z.ZodTypeAny, {
1187
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
1863
+ type: IsmType.ARB_L2_TO_L1;
1188
1864
  bridge: string;
1189
1865
  }, {
1190
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
1866
+ type: IsmType.ARB_L2_TO_L1;
1191
1867
  bridge: string;
1192
1868
  }>]>>;
1193
1869
  foreignDeployment: z.ZodOptional<z.ZodString>;
@@ -1198,21 +1874,21 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1198
1874
  }, {
1199
1875
  address: string;
1200
1876
  }>>>;
1201
- gas: z.ZodOptional<z.ZodNumber>;
1202
1877
  destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1878
+ mailbox: z.ZodOptional<z.ZodString>;
1203
1879
  }, "strip", z.ZodTypeAny, {
1204
1880
  owner: string;
1205
- mailbox: string;
1206
1881
  ownerOverrides?: Record<string, string> | undefined;
1882
+ gas?: number | undefined;
1207
1883
  proxyAdmin?: {
1208
1884
  owner: string;
1209
1885
  ownerOverrides?: Record<string, string> | undefined;
1210
1886
  address?: string | undefined;
1211
1887
  } | undefined;
1212
1888
  hook?: string | {
1213
- type: import("../index.js").HookType.MERKLE_TREE;
1889
+ type: HookType.MERKLE_TREE;
1214
1890
  } | {
1215
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1891
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1216
1892
  owner: string;
1217
1893
  beneficiary: string;
1218
1894
  oracleKey: string;
@@ -1224,35 +1900,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1224
1900
  }>;
1225
1901
  ownerOverrides?: Record<string, string> | undefined;
1226
1902
  } | {
1227
- type: import("../index.js").HookType.PROTOCOL_FEE;
1903
+ type: HookType.PROTOCOL_FEE;
1228
1904
  owner: string;
1229
1905
  protocolFee: string;
1230
1906
  beneficiary: string;
1231
1907
  maxProtocolFee: string;
1232
1908
  ownerOverrides?: Record<string, string> | undefined;
1233
1909
  } | {
1234
- type: import("../index.js").HookType.PAUSABLE;
1910
+ type: HookType.PAUSABLE;
1235
1911
  owner: string;
1236
1912
  paused: boolean;
1237
1913
  ownerOverrides?: Record<string, string> | undefined;
1238
1914
  } | {
1239
- type: import("../index.js").HookType.OP_STACK;
1915
+ type: HookType.OP_STACK;
1240
1916
  owner: string;
1241
1917
  nativeBridge: string;
1242
1918
  destinationChain: string;
1243
1919
  ownerOverrides?: Record<string, string> | undefined;
1244
1920
  } | {
1245
- type: import("../index.js").HookType.ARB_L2_TO_L1;
1921
+ type: HookType.ARB_L2_TO_L1;
1246
1922
  destinationChain: string;
1247
1923
  arbSys: string;
1248
1924
  bridge?: string | undefined;
1249
1925
  childHook?: any;
1250
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
1926
+ } | {
1927
+ type: HookType.MAILBOX_DEFAULT;
1928
+ } | {
1929
+ type: HookType.CCIP;
1930
+ destinationChain: string;
1931
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
1251
1932
  interchainSecurityModule?: string | ({
1252
1933
  validators: string[];
1253
1934
  threshold: number;
1254
1935
  } & {
1255
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1936
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1256
1937
  }) | ({
1257
1938
  validators: {
1258
1939
  signingAddress: string;
@@ -1260,45 +1941,48 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1260
1941
  }[];
1261
1942
  thresholdWeight: number;
1262
1943
  } & {
1263
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1944
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1264
1945
  }) | {
1265
- type: import("../index.js").IsmType.TEST_ISM;
1946
+ type: IsmType.TEST_ISM;
1266
1947
  } | ({
1267
1948
  owner: string;
1268
1949
  paused: boolean;
1269
1950
  ownerOverrides?: Record<string, string> | undefined;
1270
1951
  } & {
1271
- type: import("../index.js").IsmType.PAUSABLE;
1952
+ type: IsmType.PAUSABLE;
1272
1953
  }) | {
1273
- type: import("../index.js").IsmType.OP_STACK;
1954
+ type: IsmType.OP_STACK;
1274
1955
  origin: string;
1275
1956
  nativeBridge: string;
1276
1957
  } | {
1277
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
1958
+ type: IsmType.TRUSTED_RELAYER;
1278
1959
  relayer: string;
1279
1960
  } | {
1280
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
1961
+ type: IsmType.CCIP;
1962
+ originChain: string;
1963
+ } | {
1964
+ type: IsmType.ARB_L2_TO_L1;
1281
1965
  bridge: string;
1282
- } | import("../index.js").RoutingIsmConfig | import("../index.js").AggregationIsmConfig | undefined;
1966
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
1283
1967
  foreignDeployment?: string | undefined;
1284
1968
  remoteRouters?: Record<string, {
1285
1969
  address: string;
1286
1970
  }> | undefined;
1287
- gas?: number | undefined;
1288
1971
  destinationGas?: Record<string, string> | undefined;
1972
+ mailbox?: string | undefined;
1289
1973
  }, {
1290
1974
  owner: string;
1291
- mailbox: string;
1292
1975
  ownerOverrides?: Record<string, string> | undefined;
1976
+ gas?: number | undefined;
1293
1977
  proxyAdmin?: {
1294
1978
  owner: string;
1295
1979
  ownerOverrides?: Record<string, string> | undefined;
1296
1980
  address?: string | undefined;
1297
1981
  } | undefined;
1298
1982
  hook?: string | {
1299
- type: import("../index.js").HookType.MERKLE_TREE;
1983
+ type: HookType.MERKLE_TREE;
1300
1984
  } | {
1301
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
1985
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1302
1986
  owner: string;
1303
1987
  beneficiary: string;
1304
1988
  oracleKey: string;
@@ -1310,35 +1994,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1310
1994
  }>;
1311
1995
  ownerOverrides?: Record<string, string> | undefined;
1312
1996
  } | {
1313
- type: import("../index.js").HookType.PROTOCOL_FEE;
1997
+ type: HookType.PROTOCOL_FEE;
1314
1998
  owner: string;
1315
1999
  protocolFee: string;
1316
2000
  beneficiary: string;
1317
2001
  maxProtocolFee: string;
1318
2002
  ownerOverrides?: Record<string, string> | undefined;
1319
2003
  } | {
1320
- type: import("../index.js").HookType.PAUSABLE;
2004
+ type: HookType.PAUSABLE;
1321
2005
  owner: string;
1322
2006
  paused: boolean;
1323
2007
  ownerOverrides?: Record<string, string> | undefined;
1324
2008
  } | {
1325
- type: import("../index.js").HookType.OP_STACK;
2009
+ type: HookType.OP_STACK;
1326
2010
  owner: string;
1327
2011
  nativeBridge: string;
1328
2012
  destinationChain: string;
1329
2013
  ownerOverrides?: Record<string, string> | undefined;
1330
2014
  } | {
1331
- type: import("../index.js").HookType.ARB_L2_TO_L1;
2015
+ type: HookType.ARB_L2_TO_L1;
1332
2016
  destinationChain: string;
1333
2017
  arbSys: string;
1334
2018
  bridge?: string | undefined;
1335
2019
  childHook?: any;
1336
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
2020
+ } | {
2021
+ type: HookType.MAILBOX_DEFAULT;
2022
+ } | {
2023
+ type: HookType.CCIP;
2024
+ destinationChain: string;
2025
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
1337
2026
  interchainSecurityModule?: string | ({
1338
2027
  validators: string[];
1339
2028
  threshold: number;
1340
2029
  } & {
1341
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2030
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1342
2031
  }) | ({
1343
2032
  validators: {
1344
2033
  signingAddress: string;
@@ -1346,33 +2035,46 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1346
2035
  }[];
1347
2036
  thresholdWeight: number;
1348
2037
  } & {
1349
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2038
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1350
2039
  }) | {
1351
- type: import("../index.js").IsmType.TEST_ISM;
2040
+ type: IsmType.TEST_ISM;
1352
2041
  } | ({
1353
2042
  owner: string;
1354
2043
  paused: boolean;
1355
2044
  ownerOverrides?: Record<string, string> | undefined;
1356
2045
  } & {
1357
- type: import("../index.js").IsmType.PAUSABLE;
2046
+ type: IsmType.PAUSABLE;
1358
2047
  }) | {
1359
- type: import("../index.js").IsmType.OP_STACK;
2048
+ type: IsmType.OP_STACK;
1360
2049
  origin: string;
1361
2050
  nativeBridge: string;
1362
2051
  } | {
1363
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
2052
+ type: IsmType.TRUSTED_RELAYER;
1364
2053
  relayer: string;
1365
2054
  } | {
1366
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
2055
+ type: IsmType.CCIP;
2056
+ originChain: string;
2057
+ } | {
2058
+ type: IsmType.ARB_L2_TO_L1;
1367
2059
  bridge: string;
1368
- } | import("../index.js").RoutingIsmConfig | import("../index.js").AggregationIsmConfig | undefined;
2060
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
1369
2061
  foreignDeployment?: string | undefined;
1370
2062
  remoteRouters?: Record<string, {
1371
2063
  address: string;
1372
2064
  }> | undefined;
1373
- gas?: number | undefined;
1374
2065
  destinationGas?: Record<string, string> | undefined;
1375
- }>>>, Record<string, ({
2066
+ mailbox?: string | undefined;
2067
+ }>>;
2068
+ export type HypTokenRouterConfigMailboxOptional = z.infer<typeof HypTokenRouterConfigMailboxOptionalSchema>;
2069
+ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2070
+ symbol: z.ZodOptional<z.ZodString>;
2071
+ name: z.ZodOptional<z.ZodString>;
2072
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2073
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2074
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2075
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2076
+ type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
2077
+ }, "strip", z.ZodTypeAny, {
1376
2078
  type: TokenType.native | TokenType.nativeScaled;
1377
2079
  symbol?: string | undefined;
1378
2080
  name?: string | undefined;
@@ -1380,45 +2082,2467 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1380
2082
  totalSupply?: string | number | undefined;
1381
2083
  scale?: number | undefined;
1382
2084
  isNft?: boolean | undefined;
1383
- } | {
1384
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
1385
- token: string;
2085
+ }, {
2086
+ type: TokenType.native | TokenType.nativeScaled;
1386
2087
  symbol?: string | undefined;
1387
2088
  name?: string | undefined;
1388
2089
  decimals?: number | undefined;
1389
2090
  totalSupply?: string | number | undefined;
1390
2091
  scale?: number | undefined;
1391
2092
  isNft?: boolean | undefined;
1392
- } | {
1393
- type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
2093
+ }>, z.ZodObject<{
2094
+ symbol: z.ZodOptional<z.ZodString>;
2095
+ name: z.ZodOptional<z.ZodString>;
2096
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2097
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2098
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2099
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2100
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
2101
+ token: z.ZodString;
2102
+ }, "strip", z.ZodTypeAny, {
2103
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
2104
+ token: string;
1394
2105
  symbol?: string | undefined;
1395
2106
  name?: string | undefined;
1396
2107
  decimals?: number | undefined;
1397
2108
  totalSupply?: string | number | undefined;
1398
2109
  scale?: number | undefined;
1399
2110
  isNft?: boolean | undefined;
1400
- } | {
1401
- type: TokenType.syntheticRebase;
1402
- collateralChainName: string;
2111
+ }, {
2112
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
2113
+ token: string;
1403
2114
  symbol?: string | undefined;
1404
2115
  name?: string | undefined;
1405
2116
  decimals?: number | undefined;
1406
2117
  totalSupply?: string | number | undefined;
1407
2118
  scale?: number | undefined;
1408
2119
  isNft?: boolean | undefined;
1409
- }) & {
1410
- owner: string;
1411
- mailbox: string;
1412
- ownerOverrides?: Record<string, string> | undefined;
1413
- proxyAdmin?: {
1414
- owner: string;
1415
- ownerOverrides?: Record<string, string> | undefined;
1416
- address?: string | undefined;
1417
- } | undefined;
1418
- hook?: string | {
1419
- type: import("../index.js").HookType.MERKLE_TREE;
2120
+ }>, z.ZodObject<{
2121
+ symbol: z.ZodOptional<z.ZodString>;
2122
+ type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
2123
+ name: z.ZodOptional<z.ZodString>;
2124
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2125
+ token: z.ZodString;
2126
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2127
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2128
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2129
+ xERC20: z.ZodOptional<z.ZodObject<{
2130
+ extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
2131
+ lockbox: z.ZodString;
2132
+ limits: z.ZodObject<{
2133
+ bufferCap: z.ZodOptional<z.ZodString>;
2134
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
2135
+ }, "strip", z.ZodTypeAny, {
2136
+ bufferCap?: string | undefined;
2137
+ rateLimitPerSecond?: string | undefined;
2138
+ }, {
2139
+ bufferCap?: string | undefined;
2140
+ rateLimitPerSecond?: string | undefined;
2141
+ }>;
2142
+ }, "strip", z.ZodTypeAny, {
2143
+ lockbox: string;
2144
+ limits: {
2145
+ bufferCap?: string | undefined;
2146
+ rateLimitPerSecond?: string | undefined;
2147
+ };
2148
+ }, {
2149
+ lockbox: string;
2150
+ limits: {
2151
+ bufferCap?: string | undefined;
2152
+ rateLimitPerSecond?: string | undefined;
2153
+ };
2154
+ }>, "many">>;
2155
+ warpRouteLimits: z.ZodObject<{
2156
+ bufferCap: z.ZodOptional<z.ZodString>;
2157
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
2158
+ }, "strip", z.ZodTypeAny, {
2159
+ bufferCap?: string | undefined;
2160
+ rateLimitPerSecond?: string | undefined;
2161
+ }, {
2162
+ bufferCap?: string | undefined;
2163
+ rateLimitPerSecond?: string | undefined;
2164
+ }>;
2165
+ }, "strip", z.ZodTypeAny, {
2166
+ warpRouteLimits: {
2167
+ bufferCap?: string | undefined;
2168
+ rateLimitPerSecond?: string | undefined;
2169
+ };
2170
+ extraBridges?: {
2171
+ lockbox: string;
2172
+ limits: {
2173
+ bufferCap?: string | undefined;
2174
+ rateLimitPerSecond?: string | undefined;
2175
+ };
2176
+ }[] | undefined;
2177
+ }, {
2178
+ warpRouteLimits: {
2179
+ bufferCap?: string | undefined;
2180
+ rateLimitPerSecond?: string | undefined;
2181
+ };
2182
+ extraBridges?: {
2183
+ lockbox: string;
2184
+ limits: {
2185
+ bufferCap?: string | undefined;
2186
+ rateLimitPerSecond?: string | undefined;
2187
+ };
2188
+ }[] | undefined;
2189
+ }>>;
2190
+ }, "strip", z.ZodTypeAny, {
2191
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
2192
+ token: string;
2193
+ symbol?: string | undefined;
2194
+ name?: string | undefined;
2195
+ decimals?: number | undefined;
2196
+ totalSupply?: string | number | undefined;
2197
+ scale?: number | undefined;
2198
+ isNft?: boolean | undefined;
2199
+ xERC20?: {
2200
+ warpRouteLimits: {
2201
+ bufferCap?: string | undefined;
2202
+ rateLimitPerSecond?: string | undefined;
2203
+ };
2204
+ extraBridges?: {
2205
+ lockbox: string;
2206
+ limits: {
2207
+ bufferCap?: string | undefined;
2208
+ rateLimitPerSecond?: string | undefined;
2209
+ };
2210
+ }[] | undefined;
2211
+ } | undefined;
2212
+ }, {
2213
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
2214
+ token: string;
2215
+ symbol?: string | undefined;
2216
+ name?: string | undefined;
2217
+ decimals?: number | undefined;
2218
+ totalSupply?: string | number | undefined;
2219
+ scale?: number | undefined;
2220
+ isNft?: boolean | undefined;
2221
+ xERC20?: {
2222
+ warpRouteLimits: {
2223
+ bufferCap?: string | undefined;
2224
+ rateLimitPerSecond?: string | undefined;
2225
+ };
2226
+ extraBridges?: {
2227
+ lockbox: string;
2228
+ limits: {
2229
+ bufferCap?: string | undefined;
2230
+ rateLimitPerSecond?: string | undefined;
2231
+ };
2232
+ }[] | undefined;
2233
+ } | undefined;
2234
+ }>, z.ZodObject<{
2235
+ symbol: z.ZodOptional<z.ZodString>;
2236
+ name: z.ZodOptional<z.ZodString>;
2237
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2238
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2239
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2240
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2241
+ type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri, TokenType.fastSynthetic]>;
2242
+ }, "strip", z.ZodTypeAny, {
2243
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
2244
+ symbol?: string | undefined;
2245
+ name?: string | undefined;
2246
+ decimals?: number | undefined;
2247
+ totalSupply?: string | number | undefined;
2248
+ scale?: number | undefined;
2249
+ isNft?: boolean | undefined;
2250
+ }, {
2251
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
2252
+ symbol?: string | undefined;
2253
+ name?: string | undefined;
2254
+ decimals?: number | undefined;
2255
+ totalSupply?: string | number | undefined;
2256
+ scale?: number | undefined;
2257
+ isNft?: boolean | undefined;
2258
+ }>, z.ZodObject<{
2259
+ symbol: z.ZodOptional<z.ZodString>;
2260
+ name: z.ZodOptional<z.ZodString>;
2261
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2262
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2263
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2264
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2265
+ type: z.ZodLiteral<TokenType.syntheticRebase>;
2266
+ collateralChainName: z.ZodString;
2267
+ }, "strip", z.ZodTypeAny, {
2268
+ type: TokenType.syntheticRebase;
2269
+ collateralChainName: string;
2270
+ symbol?: string | undefined;
2271
+ name?: string | undefined;
2272
+ decimals?: number | undefined;
2273
+ totalSupply?: string | number | undefined;
2274
+ scale?: number | undefined;
2275
+ isNft?: boolean | undefined;
2276
+ }, {
2277
+ type: TokenType.syntheticRebase;
2278
+ collateralChainName: string;
2279
+ symbol?: string | undefined;
2280
+ name?: string | undefined;
2281
+ decimals?: number | undefined;
2282
+ totalSupply?: string | number | undefined;
2283
+ scale?: number | undefined;
2284
+ isNft?: boolean | undefined;
2285
+ }>]>, z.ZodObject<{
2286
+ owner: z.ZodString;
2287
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2288
+ gas: z.ZodOptional<z.ZodNumber>;
2289
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
2290
+ owner: z.ZodString;
2291
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2292
+ address: z.ZodOptional<z.ZodString>;
2293
+ }, "strip", z.ZodTypeAny, {
2294
+ owner: string;
2295
+ ownerOverrides?: Record<string, string> | undefined;
2296
+ address?: string | undefined;
2297
+ }, {
2298
+ owner: string;
2299
+ ownerOverrides?: Record<string, string> | undefined;
2300
+ address?: string | undefined;
2301
+ }>>;
2302
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2303
+ owner: z.ZodString;
2304
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2305
+ type: z.ZodLiteral<HookType.PROTOCOL_FEE>;
2306
+ beneficiary: z.ZodString;
2307
+ maxProtocolFee: z.ZodString;
2308
+ protocolFee: z.ZodString;
2309
+ }, "strip", z.ZodTypeAny, {
2310
+ type: HookType.PROTOCOL_FEE;
2311
+ owner: string;
2312
+ protocolFee: string;
2313
+ beneficiary: string;
2314
+ maxProtocolFee: string;
2315
+ ownerOverrides?: Record<string, string> | undefined;
2316
+ }, {
2317
+ type: HookType.PROTOCOL_FEE;
2318
+ owner: string;
2319
+ protocolFee: string;
2320
+ beneficiary: string;
2321
+ maxProtocolFee: string;
2322
+ ownerOverrides?: Record<string, string> | undefined;
2323
+ }>, z.ZodObject<{
2324
+ owner: z.ZodString;
2325
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2326
+ paused: z.ZodBoolean;
2327
+ type: z.ZodLiteral<HookType.PAUSABLE>;
2328
+ }, "strip", z.ZodTypeAny, {
2329
+ type: HookType.PAUSABLE;
2330
+ owner: string;
2331
+ paused: boolean;
2332
+ ownerOverrides?: Record<string, string> | undefined;
2333
+ }, {
2334
+ type: HookType.PAUSABLE;
2335
+ owner: string;
2336
+ paused: boolean;
2337
+ ownerOverrides?: Record<string, string> | undefined;
2338
+ }>, z.ZodObject<{
2339
+ owner: z.ZodString;
2340
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2341
+ type: z.ZodLiteral<HookType.OP_STACK>;
2342
+ nativeBridge: z.ZodString;
2343
+ destinationChain: z.ZodString;
2344
+ }, "strip", z.ZodTypeAny, {
2345
+ type: HookType.OP_STACK;
2346
+ owner: string;
2347
+ nativeBridge: string;
2348
+ destinationChain: string;
2349
+ ownerOverrides?: Record<string, string> | undefined;
2350
+ }, {
2351
+ type: HookType.OP_STACK;
2352
+ owner: string;
2353
+ nativeBridge: string;
2354
+ destinationChain: string;
2355
+ ownerOverrides?: Record<string, string> | undefined;
2356
+ }>, z.ZodObject<{
2357
+ type: z.ZodLiteral<HookType.MERKLE_TREE>;
2358
+ }, "strip", z.ZodTypeAny, {
2359
+ type: HookType.MERKLE_TREE;
2360
+ }, {
2361
+ type: HookType.MERKLE_TREE;
2362
+ }>, z.ZodObject<{
2363
+ owner: z.ZodString;
2364
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2365
+ type: z.ZodLiteral<HookType.INTERCHAIN_GAS_PAYMASTER>;
2366
+ beneficiary: z.ZodString;
2367
+ oracleKey: z.ZodString;
2368
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
2369
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
2370
+ gasPrice: z.ZodString;
2371
+ tokenExchangeRate: z.ZodString;
2372
+ tokenDecimals: z.ZodOptional<z.ZodNumber>;
2373
+ }, "strip", z.ZodTypeAny, {
2374
+ gasPrice: string;
2375
+ tokenExchangeRate: string;
2376
+ tokenDecimals?: number | undefined;
2377
+ }, {
2378
+ gasPrice: string;
2379
+ tokenExchangeRate: string;
2380
+ tokenDecimals?: number | undefined;
2381
+ }>>;
2382
+ }, "strip", z.ZodTypeAny, {
2383
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2384
+ owner: string;
2385
+ beneficiary: string;
2386
+ oracleKey: string;
2387
+ overhead: Record<string, number>;
2388
+ oracleConfig: Record<string, {
2389
+ gasPrice: string;
2390
+ tokenExchangeRate: string;
2391
+ tokenDecimals?: number | undefined;
2392
+ }>;
2393
+ ownerOverrides?: Record<string, string> | undefined;
2394
+ }, {
2395
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2396
+ owner: string;
2397
+ beneficiary: string;
2398
+ oracleKey: string;
2399
+ overhead: Record<string, number>;
2400
+ oracleConfig: Record<string, {
2401
+ gasPrice: string;
2402
+ tokenExchangeRate: string;
2403
+ tokenDecimals?: number | undefined;
2404
+ }>;
2405
+ ownerOverrides?: Record<string, string> | undefined;
2406
+ }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
2407
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
2408
+ arbSys: z.ZodString;
2409
+ bridge: z.ZodOptional<z.ZodString>;
2410
+ destinationChain: z.ZodString;
2411
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
2412
+ }, "strip", z.ZodTypeAny, {
2413
+ type: HookType.ARB_L2_TO_L1;
2414
+ destinationChain: string;
2415
+ arbSys: string;
2416
+ bridge?: string | undefined;
2417
+ childHook?: any;
2418
+ }, {
2419
+ type: HookType.ARB_L2_TO_L1;
2420
+ destinationChain: string;
2421
+ arbSys: string;
2422
+ bridge?: string | undefined;
2423
+ childHook?: any;
2424
+ }>, z.ZodObject<{
2425
+ type: z.ZodLiteral<HookType.MAILBOX_DEFAULT>;
2426
+ }, "strip", z.ZodTypeAny, {
2427
+ type: HookType.MAILBOX_DEFAULT;
2428
+ }, {
2429
+ type: HookType.MAILBOX_DEFAULT;
2430
+ }>, z.ZodObject<{
2431
+ type: z.ZodLiteral<HookType.CCIP>;
2432
+ destinationChain: z.ZodString;
2433
+ }, "strip", z.ZodTypeAny, {
2434
+ type: HookType.CCIP;
2435
+ destinationChain: string;
2436
+ }, {
2437
+ type: HookType.CCIP;
2438
+ destinationChain: string;
2439
+ }>]>>;
2440
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2441
+ type: z.ZodLiteral<IsmType.TEST_ISM>;
2442
+ }, "strip", z.ZodTypeAny, {
2443
+ type: IsmType.TEST_ISM;
2444
+ }, {
2445
+ type: IsmType.TEST_ISM;
2446
+ }>, z.ZodObject<{
2447
+ type: z.ZodLiteral<IsmType.OP_STACK>;
2448
+ origin: z.ZodString;
2449
+ nativeBridge: z.ZodString;
2450
+ }, "strip", z.ZodTypeAny, {
2451
+ type: IsmType.OP_STACK;
2452
+ origin: string;
2453
+ nativeBridge: string;
2454
+ }, {
2455
+ type: IsmType.OP_STACK;
2456
+ origin: string;
2457
+ nativeBridge: string;
2458
+ }>, z.ZodIntersection<z.ZodObject<{
2459
+ owner: z.ZodString;
2460
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2461
+ paused: z.ZodBoolean;
2462
+ }, "strip", z.ZodTypeAny, {
2463
+ owner: string;
2464
+ paused: boolean;
2465
+ ownerOverrides?: Record<string, string> | undefined;
2466
+ }, {
2467
+ owner: string;
2468
+ paused: boolean;
2469
+ ownerOverrides?: Record<string, string> | undefined;
2470
+ }>, z.ZodObject<{
2471
+ type: z.ZodLiteral<IsmType.PAUSABLE>;
2472
+ }, "strip", z.ZodTypeAny, {
2473
+ type: IsmType.PAUSABLE;
2474
+ }, {
2475
+ type: IsmType.PAUSABLE;
2476
+ }>>, z.ZodObject<{
2477
+ type: z.ZodLiteral<IsmType.TRUSTED_RELAYER>;
2478
+ relayer: z.ZodString;
2479
+ }, "strip", z.ZodTypeAny, {
2480
+ type: IsmType.TRUSTED_RELAYER;
2481
+ relayer: string;
2482
+ }, {
2483
+ type: IsmType.TRUSTED_RELAYER;
2484
+ relayer: string;
2485
+ }>, z.ZodObject<{
2486
+ type: z.ZodLiteral<IsmType.CCIP>;
2487
+ originChain: z.ZodString;
2488
+ }, "strip", z.ZodTypeAny, {
2489
+ type: IsmType.CCIP;
2490
+ originChain: string;
2491
+ }, {
2492
+ type: IsmType.CCIP;
2493
+ originChain: string;
2494
+ }>, z.ZodIntersection<z.ZodObject<{
2495
+ validators: z.ZodArray<z.ZodString, "many">;
2496
+ threshold: z.ZodNumber;
2497
+ }, "strip", z.ZodTypeAny, {
2498
+ validators: string[];
2499
+ threshold: number;
2500
+ }, {
2501
+ validators: string[];
2502
+ threshold: number;
2503
+ }>, z.ZodObject<{
2504
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
2505
+ }, "strip", z.ZodTypeAny, {
2506
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2507
+ }, {
2508
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2509
+ }>>, z.ZodIntersection<z.ZodObject<{
2510
+ validators: z.ZodArray<z.ZodObject<{
2511
+ signingAddress: z.ZodString;
2512
+ weight: z.ZodNumber;
2513
+ }, "strip", z.ZodTypeAny, {
2514
+ signingAddress: string;
2515
+ weight: number;
2516
+ }, {
2517
+ signingAddress: string;
2518
+ weight: number;
2519
+ }>, "many">;
2520
+ thresholdWeight: z.ZodNumber;
2521
+ }, "strip", z.ZodTypeAny, {
2522
+ validators: {
2523
+ signingAddress: string;
2524
+ weight: number;
2525
+ }[];
2526
+ thresholdWeight: number;
2527
+ }, {
2528
+ validators: {
2529
+ signingAddress: string;
2530
+ weight: number;
2531
+ }[];
2532
+ thresholdWeight: number;
2533
+ }>, z.ZodObject<{
2534
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
2535
+ }, "strip", z.ZodTypeAny, {
2536
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2537
+ }, {
2538
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2539
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
2540
+ type: z.ZodLiteral<IsmType.ARB_L2_TO_L1>;
2541
+ bridge: z.ZodString;
2542
+ }, "strip", z.ZodTypeAny, {
2543
+ type: IsmType.ARB_L2_TO_L1;
2544
+ bridge: string;
2545
+ }, {
2546
+ type: IsmType.ARB_L2_TO_L1;
2547
+ bridge: string;
2548
+ }>]>>;
2549
+ foreignDeployment: z.ZodOptional<z.ZodString>;
2550
+ remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2551
+ address: z.ZodString;
2552
+ }, "strip", z.ZodTypeAny, {
2553
+ address: string;
2554
+ }, {
2555
+ address: string;
2556
+ }>>>;
2557
+ destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2558
+ mailbox: z.ZodOptional<z.ZodString>;
2559
+ }, "strip", z.ZodTypeAny, {
2560
+ owner: string;
2561
+ ownerOverrides?: Record<string, string> | undefined;
2562
+ gas?: number | undefined;
2563
+ proxyAdmin?: {
2564
+ owner: string;
2565
+ ownerOverrides?: Record<string, string> | undefined;
2566
+ address?: string | undefined;
2567
+ } | undefined;
2568
+ hook?: string | {
2569
+ type: HookType.MERKLE_TREE;
2570
+ } | {
2571
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2572
+ owner: string;
2573
+ beneficiary: string;
2574
+ oracleKey: string;
2575
+ overhead: Record<string, number>;
2576
+ oracleConfig: Record<string, {
2577
+ gasPrice: string;
2578
+ tokenExchangeRate: string;
2579
+ tokenDecimals?: number | undefined;
2580
+ }>;
2581
+ ownerOverrides?: Record<string, string> | undefined;
2582
+ } | {
2583
+ type: HookType.PROTOCOL_FEE;
2584
+ owner: string;
2585
+ protocolFee: string;
2586
+ beneficiary: string;
2587
+ maxProtocolFee: string;
2588
+ ownerOverrides?: Record<string, string> | undefined;
2589
+ } | {
2590
+ type: HookType.PAUSABLE;
2591
+ owner: string;
2592
+ paused: boolean;
2593
+ ownerOverrides?: Record<string, string> | undefined;
2594
+ } | {
2595
+ type: HookType.OP_STACK;
2596
+ owner: string;
2597
+ nativeBridge: string;
2598
+ destinationChain: string;
2599
+ ownerOverrides?: Record<string, string> | undefined;
2600
+ } | {
2601
+ type: HookType.ARB_L2_TO_L1;
2602
+ destinationChain: string;
2603
+ arbSys: string;
2604
+ bridge?: string | undefined;
2605
+ childHook?: any;
2606
+ } | {
2607
+ type: HookType.MAILBOX_DEFAULT;
2608
+ } | {
2609
+ type: HookType.CCIP;
2610
+ destinationChain: string;
2611
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
2612
+ interchainSecurityModule?: string | ({
2613
+ validators: string[];
2614
+ threshold: number;
2615
+ } & {
2616
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2617
+ }) | ({
2618
+ validators: {
2619
+ signingAddress: string;
2620
+ weight: number;
2621
+ }[];
2622
+ thresholdWeight: number;
2623
+ } & {
2624
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2625
+ }) | {
2626
+ type: IsmType.TEST_ISM;
2627
+ } | ({
2628
+ owner: string;
2629
+ paused: boolean;
2630
+ ownerOverrides?: Record<string, string> | undefined;
2631
+ } & {
2632
+ type: IsmType.PAUSABLE;
2633
+ }) | {
2634
+ type: IsmType.OP_STACK;
2635
+ origin: string;
2636
+ nativeBridge: string;
2637
+ } | {
2638
+ type: IsmType.TRUSTED_RELAYER;
2639
+ relayer: string;
2640
+ } | {
2641
+ type: IsmType.CCIP;
2642
+ originChain: string;
2643
+ } | {
2644
+ type: IsmType.ARB_L2_TO_L1;
2645
+ bridge: string;
2646
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
2647
+ foreignDeployment?: string | undefined;
2648
+ remoteRouters?: Record<string, {
2649
+ address: string;
2650
+ }> | undefined;
2651
+ destinationGas?: Record<string, string> | undefined;
2652
+ mailbox?: string | undefined;
2653
+ }, {
2654
+ owner: string;
2655
+ ownerOverrides?: Record<string, string> | undefined;
2656
+ gas?: number | undefined;
2657
+ proxyAdmin?: {
2658
+ owner: string;
2659
+ ownerOverrides?: Record<string, string> | undefined;
2660
+ address?: string | undefined;
2661
+ } | undefined;
2662
+ hook?: string | {
2663
+ type: HookType.MERKLE_TREE;
2664
+ } | {
2665
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2666
+ owner: string;
2667
+ beneficiary: string;
2668
+ oracleKey: string;
2669
+ overhead: Record<string, number>;
2670
+ oracleConfig: Record<string, {
2671
+ gasPrice: string;
2672
+ tokenExchangeRate: string;
2673
+ tokenDecimals?: number | undefined;
2674
+ }>;
2675
+ ownerOverrides?: Record<string, string> | undefined;
2676
+ } | {
2677
+ type: HookType.PROTOCOL_FEE;
2678
+ owner: string;
2679
+ protocolFee: string;
2680
+ beneficiary: string;
2681
+ maxProtocolFee: string;
2682
+ ownerOverrides?: Record<string, string> | undefined;
2683
+ } | {
2684
+ type: HookType.PAUSABLE;
2685
+ owner: string;
2686
+ paused: boolean;
2687
+ ownerOverrides?: Record<string, string> | undefined;
2688
+ } | {
2689
+ type: HookType.OP_STACK;
2690
+ owner: string;
2691
+ nativeBridge: string;
2692
+ destinationChain: string;
2693
+ ownerOverrides?: Record<string, string> | undefined;
2694
+ } | {
2695
+ type: HookType.ARB_L2_TO_L1;
2696
+ destinationChain: string;
2697
+ arbSys: string;
2698
+ bridge?: string | undefined;
2699
+ childHook?: any;
2700
+ } | {
2701
+ type: HookType.MAILBOX_DEFAULT;
2702
+ } | {
2703
+ type: HookType.CCIP;
2704
+ destinationChain: string;
2705
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
2706
+ interchainSecurityModule?: string | ({
2707
+ validators: string[];
2708
+ threshold: number;
2709
+ } & {
2710
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2711
+ }) | ({
2712
+ validators: {
2713
+ signingAddress: string;
2714
+ weight: number;
2715
+ }[];
2716
+ thresholdWeight: number;
2717
+ } & {
2718
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2719
+ }) | {
2720
+ type: IsmType.TEST_ISM;
2721
+ } | ({
2722
+ owner: string;
2723
+ paused: boolean;
2724
+ ownerOverrides?: Record<string, string> | undefined;
2725
+ } & {
2726
+ type: IsmType.PAUSABLE;
2727
+ }) | {
2728
+ type: IsmType.OP_STACK;
2729
+ origin: string;
2730
+ nativeBridge: string;
2731
+ } | {
2732
+ type: IsmType.TRUSTED_RELAYER;
2733
+ relayer: string;
2734
+ } | {
2735
+ type: IsmType.CCIP;
2736
+ originChain: string;
2737
+ } | {
2738
+ type: IsmType.ARB_L2_TO_L1;
2739
+ bridge: string;
2740
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
2741
+ foreignDeployment?: string | undefined;
2742
+ remoteRouters?: Record<string, {
2743
+ address: string;
2744
+ }> | undefined;
2745
+ destinationGas?: Record<string, string> | undefined;
2746
+ mailbox?: string | undefined;
2747
+ }>>>, Record<string, ({
2748
+ type: TokenType.native | TokenType.nativeScaled;
2749
+ symbol?: string | undefined;
2750
+ name?: string | undefined;
2751
+ decimals?: number | undefined;
2752
+ totalSupply?: string | number | undefined;
2753
+ scale?: number | undefined;
2754
+ isNft?: boolean | undefined;
2755
+ } | {
2756
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
2757
+ token: string;
2758
+ symbol?: string | undefined;
2759
+ name?: string | undefined;
2760
+ decimals?: number | undefined;
2761
+ totalSupply?: string | number | undefined;
2762
+ scale?: number | undefined;
2763
+ isNft?: boolean | undefined;
2764
+ } | {
2765
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
2766
+ token: string;
2767
+ symbol?: string | undefined;
2768
+ name?: string | undefined;
2769
+ decimals?: number | undefined;
2770
+ totalSupply?: string | number | undefined;
2771
+ scale?: number | undefined;
2772
+ isNft?: boolean | undefined;
2773
+ xERC20?: {
2774
+ warpRouteLimits: {
2775
+ bufferCap?: string | undefined;
2776
+ rateLimitPerSecond?: string | undefined;
2777
+ };
2778
+ extraBridges?: {
2779
+ lockbox: string;
2780
+ limits: {
2781
+ bufferCap?: string | undefined;
2782
+ rateLimitPerSecond?: string | undefined;
2783
+ };
2784
+ }[] | undefined;
2785
+ } | undefined;
2786
+ } | {
2787
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
2788
+ symbol?: string | undefined;
2789
+ name?: string | undefined;
2790
+ decimals?: number | undefined;
2791
+ totalSupply?: string | number | undefined;
2792
+ scale?: number | undefined;
2793
+ isNft?: boolean | undefined;
2794
+ } | {
2795
+ type: TokenType.syntheticRebase;
2796
+ collateralChainName: string;
2797
+ symbol?: string | undefined;
2798
+ name?: string | undefined;
2799
+ decimals?: number | undefined;
2800
+ totalSupply?: string | number | undefined;
2801
+ scale?: number | undefined;
2802
+ isNft?: boolean | undefined;
2803
+ }) & {
2804
+ owner: string;
2805
+ ownerOverrides?: Record<string, string> | undefined;
2806
+ gas?: number | undefined;
2807
+ proxyAdmin?: {
2808
+ owner: string;
2809
+ ownerOverrides?: Record<string, string> | undefined;
2810
+ address?: string | undefined;
2811
+ } | undefined;
2812
+ hook?: string | {
2813
+ type: HookType.MERKLE_TREE;
2814
+ } | {
2815
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2816
+ owner: string;
2817
+ beneficiary: string;
2818
+ oracleKey: string;
2819
+ overhead: Record<string, number>;
2820
+ oracleConfig: Record<string, {
2821
+ gasPrice: string;
2822
+ tokenExchangeRate: string;
2823
+ tokenDecimals?: number | undefined;
2824
+ }>;
2825
+ ownerOverrides?: Record<string, string> | undefined;
2826
+ } | {
2827
+ type: HookType.PROTOCOL_FEE;
2828
+ owner: string;
2829
+ protocolFee: string;
2830
+ beneficiary: string;
2831
+ maxProtocolFee: string;
2832
+ ownerOverrides?: Record<string, string> | undefined;
2833
+ } | {
2834
+ type: HookType.PAUSABLE;
2835
+ owner: string;
2836
+ paused: boolean;
2837
+ ownerOverrides?: Record<string, string> | undefined;
2838
+ } | {
2839
+ type: HookType.OP_STACK;
2840
+ owner: string;
2841
+ nativeBridge: string;
2842
+ destinationChain: string;
2843
+ ownerOverrides?: Record<string, string> | undefined;
2844
+ } | {
2845
+ type: HookType.ARB_L2_TO_L1;
2846
+ destinationChain: string;
2847
+ arbSys: string;
2848
+ bridge?: string | undefined;
2849
+ childHook?: any;
2850
+ } | {
2851
+ type: HookType.MAILBOX_DEFAULT;
2852
+ } | {
2853
+ type: HookType.CCIP;
2854
+ destinationChain: string;
2855
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
2856
+ interchainSecurityModule?: string | ({
2857
+ validators: string[];
2858
+ threshold: number;
2859
+ } & {
2860
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
2861
+ }) | ({
2862
+ validators: {
2863
+ signingAddress: string;
2864
+ weight: number;
2865
+ }[];
2866
+ thresholdWeight: number;
2867
+ } & {
2868
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
2869
+ }) | {
2870
+ type: IsmType.TEST_ISM;
2871
+ } | ({
2872
+ owner: string;
2873
+ paused: boolean;
2874
+ ownerOverrides?: Record<string, string> | undefined;
2875
+ } & {
2876
+ type: IsmType.PAUSABLE;
2877
+ }) | {
2878
+ type: IsmType.OP_STACK;
2879
+ origin: string;
2880
+ nativeBridge: string;
2881
+ } | {
2882
+ type: IsmType.TRUSTED_RELAYER;
2883
+ relayer: string;
2884
+ } | {
2885
+ type: IsmType.CCIP;
2886
+ originChain: string;
2887
+ } | {
2888
+ type: IsmType.ARB_L2_TO_L1;
2889
+ bridge: string;
2890
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
2891
+ foreignDeployment?: string | undefined;
2892
+ remoteRouters?: Record<string, {
2893
+ address: string;
2894
+ }> | undefined;
2895
+ destinationGas?: Record<string, string> | undefined;
2896
+ mailbox?: string | undefined;
2897
+ }>, Record<string, ({
2898
+ type: TokenType.native | TokenType.nativeScaled;
2899
+ symbol?: string | undefined;
2900
+ name?: string | undefined;
2901
+ decimals?: number | undefined;
2902
+ totalSupply?: string | number | undefined;
2903
+ scale?: number | undefined;
2904
+ isNft?: boolean | undefined;
2905
+ } | {
2906
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
2907
+ token: string;
2908
+ symbol?: string | undefined;
2909
+ name?: string | undefined;
2910
+ decimals?: number | undefined;
2911
+ totalSupply?: string | number | undefined;
2912
+ scale?: number | undefined;
2913
+ isNft?: boolean | undefined;
2914
+ } | {
2915
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
2916
+ token: string;
2917
+ symbol?: string | undefined;
2918
+ name?: string | undefined;
2919
+ decimals?: number | undefined;
2920
+ totalSupply?: string | number | undefined;
2921
+ scale?: number | undefined;
2922
+ isNft?: boolean | undefined;
2923
+ xERC20?: {
2924
+ warpRouteLimits: {
2925
+ bufferCap?: string | undefined;
2926
+ rateLimitPerSecond?: string | undefined;
2927
+ };
2928
+ extraBridges?: {
2929
+ lockbox: string;
2930
+ limits: {
2931
+ bufferCap?: string | undefined;
2932
+ rateLimitPerSecond?: string | undefined;
2933
+ };
2934
+ }[] | undefined;
2935
+ } | undefined;
2936
+ } | {
2937
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
2938
+ symbol?: string | undefined;
2939
+ name?: string | undefined;
2940
+ decimals?: number | undefined;
2941
+ totalSupply?: string | number | undefined;
2942
+ scale?: number | undefined;
2943
+ isNft?: boolean | undefined;
2944
+ } | {
2945
+ type: TokenType.syntheticRebase;
2946
+ collateralChainName: string;
2947
+ symbol?: string | undefined;
2948
+ name?: string | undefined;
2949
+ decimals?: number | undefined;
2950
+ totalSupply?: string | number | undefined;
2951
+ scale?: number | undefined;
2952
+ isNft?: boolean | undefined;
2953
+ }) & {
2954
+ owner: string;
2955
+ ownerOverrides?: Record<string, string> | undefined;
2956
+ gas?: number | undefined;
2957
+ proxyAdmin?: {
2958
+ owner: string;
2959
+ ownerOverrides?: Record<string, string> | undefined;
2960
+ address?: string | undefined;
2961
+ } | undefined;
2962
+ hook?: string | {
2963
+ type: HookType.MERKLE_TREE;
2964
+ } | {
2965
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
2966
+ owner: string;
2967
+ beneficiary: string;
2968
+ oracleKey: string;
2969
+ overhead: Record<string, number>;
2970
+ oracleConfig: Record<string, {
2971
+ gasPrice: string;
2972
+ tokenExchangeRate: string;
2973
+ tokenDecimals?: number | undefined;
2974
+ }>;
2975
+ ownerOverrides?: Record<string, string> | undefined;
2976
+ } | {
2977
+ type: HookType.PROTOCOL_FEE;
2978
+ owner: string;
2979
+ protocolFee: string;
2980
+ beneficiary: string;
2981
+ maxProtocolFee: string;
2982
+ ownerOverrides?: Record<string, string> | undefined;
2983
+ } | {
2984
+ type: HookType.PAUSABLE;
2985
+ owner: string;
2986
+ paused: boolean;
2987
+ ownerOverrides?: Record<string, string> | undefined;
2988
+ } | {
2989
+ type: HookType.OP_STACK;
2990
+ owner: string;
2991
+ nativeBridge: string;
2992
+ destinationChain: string;
2993
+ ownerOverrides?: Record<string, string> | undefined;
2994
+ } | {
2995
+ type: HookType.ARB_L2_TO_L1;
2996
+ destinationChain: string;
2997
+ arbSys: string;
2998
+ bridge?: string | undefined;
2999
+ childHook?: any;
3000
+ } | {
3001
+ type: HookType.MAILBOX_DEFAULT;
3002
+ } | {
3003
+ type: HookType.CCIP;
3004
+ destinationChain: string;
3005
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3006
+ interchainSecurityModule?: string | ({
3007
+ validators: string[];
3008
+ threshold: number;
3009
+ } & {
3010
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3011
+ }) | ({
3012
+ validators: {
3013
+ signingAddress: string;
3014
+ weight: number;
3015
+ }[];
3016
+ thresholdWeight: number;
3017
+ } & {
3018
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3019
+ }) | {
3020
+ type: IsmType.TEST_ISM;
3021
+ } | ({
3022
+ owner: string;
3023
+ paused: boolean;
3024
+ ownerOverrides?: Record<string, string> | undefined;
3025
+ } & {
3026
+ type: IsmType.PAUSABLE;
3027
+ }) | {
3028
+ type: IsmType.OP_STACK;
3029
+ origin: string;
3030
+ nativeBridge: string;
3031
+ } | {
3032
+ type: IsmType.TRUSTED_RELAYER;
3033
+ relayer: string;
3034
+ } | {
3035
+ type: IsmType.CCIP;
3036
+ originChain: string;
3037
+ } | {
3038
+ type: IsmType.ARB_L2_TO_L1;
3039
+ bridge: string;
3040
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3041
+ foreignDeployment?: string | undefined;
3042
+ remoteRouters?: Record<string, {
3043
+ address: string;
3044
+ }> | undefined;
3045
+ destinationGas?: Record<string, string> | undefined;
3046
+ mailbox?: string | undefined;
3047
+ }>>, Record<string, ({
3048
+ type: TokenType.native | TokenType.nativeScaled;
3049
+ symbol?: string | undefined;
3050
+ name?: string | undefined;
3051
+ decimals?: number | undefined;
3052
+ totalSupply?: string | number | undefined;
3053
+ scale?: number | undefined;
3054
+ isNft?: boolean | undefined;
3055
+ } | {
3056
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3057
+ token: string;
3058
+ symbol?: string | undefined;
3059
+ name?: string | undefined;
3060
+ decimals?: number | undefined;
3061
+ totalSupply?: string | number | undefined;
3062
+ scale?: number | undefined;
3063
+ isNft?: boolean | undefined;
3064
+ } | {
3065
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3066
+ token: string;
3067
+ symbol?: string | undefined;
3068
+ name?: string | undefined;
3069
+ decimals?: number | undefined;
3070
+ totalSupply?: string | number | undefined;
3071
+ scale?: number | undefined;
3072
+ isNft?: boolean | undefined;
3073
+ xERC20?: {
3074
+ warpRouteLimits: {
3075
+ bufferCap?: string | undefined;
3076
+ rateLimitPerSecond?: string | undefined;
3077
+ };
3078
+ extraBridges?: {
3079
+ lockbox: string;
3080
+ limits: {
3081
+ bufferCap?: string | undefined;
3082
+ rateLimitPerSecond?: string | undefined;
3083
+ };
3084
+ }[] | undefined;
3085
+ } | undefined;
3086
+ } | {
3087
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3088
+ symbol?: string | undefined;
3089
+ name?: string | undefined;
3090
+ decimals?: number | undefined;
3091
+ totalSupply?: string | number | undefined;
3092
+ scale?: number | undefined;
3093
+ isNft?: boolean | undefined;
3094
+ } | {
3095
+ type: TokenType.syntheticRebase;
3096
+ collateralChainName: string;
3097
+ symbol?: string | undefined;
3098
+ name?: string | undefined;
3099
+ decimals?: number | undefined;
3100
+ totalSupply?: string | number | undefined;
3101
+ scale?: number | undefined;
3102
+ isNft?: boolean | undefined;
3103
+ }) & {
3104
+ owner: string;
3105
+ ownerOverrides?: Record<string, string> | undefined;
3106
+ gas?: number | undefined;
3107
+ proxyAdmin?: {
3108
+ owner: string;
3109
+ ownerOverrides?: Record<string, string> | undefined;
3110
+ address?: string | undefined;
3111
+ } | undefined;
3112
+ hook?: string | {
3113
+ type: HookType.MERKLE_TREE;
3114
+ } | {
3115
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3116
+ owner: string;
3117
+ beneficiary: string;
3118
+ oracleKey: string;
3119
+ overhead: Record<string, number>;
3120
+ oracleConfig: Record<string, {
3121
+ gasPrice: string;
3122
+ tokenExchangeRate: string;
3123
+ tokenDecimals?: number | undefined;
3124
+ }>;
3125
+ ownerOverrides?: Record<string, string> | undefined;
3126
+ } | {
3127
+ type: HookType.PROTOCOL_FEE;
3128
+ owner: string;
3129
+ protocolFee: string;
3130
+ beneficiary: string;
3131
+ maxProtocolFee: string;
3132
+ ownerOverrides?: Record<string, string> | undefined;
3133
+ } | {
3134
+ type: HookType.PAUSABLE;
3135
+ owner: string;
3136
+ paused: boolean;
3137
+ ownerOverrides?: Record<string, string> | undefined;
3138
+ } | {
3139
+ type: HookType.OP_STACK;
3140
+ owner: string;
3141
+ nativeBridge: string;
3142
+ destinationChain: string;
3143
+ ownerOverrides?: Record<string, string> | undefined;
3144
+ } | {
3145
+ type: HookType.ARB_L2_TO_L1;
3146
+ destinationChain: string;
3147
+ arbSys: string;
3148
+ bridge?: string | undefined;
3149
+ childHook?: any;
3150
+ } | {
3151
+ type: HookType.MAILBOX_DEFAULT;
3152
+ } | {
3153
+ type: HookType.CCIP;
3154
+ destinationChain: string;
3155
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3156
+ interchainSecurityModule?: string | ({
3157
+ validators: string[];
3158
+ threshold: number;
3159
+ } & {
3160
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3161
+ }) | ({
3162
+ validators: {
3163
+ signingAddress: string;
3164
+ weight: number;
3165
+ }[];
3166
+ thresholdWeight: number;
3167
+ } & {
3168
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3169
+ }) | {
3170
+ type: IsmType.TEST_ISM;
3171
+ } | ({
3172
+ owner: string;
3173
+ paused: boolean;
3174
+ ownerOverrides?: Record<string, string> | undefined;
3175
+ } & {
3176
+ type: IsmType.PAUSABLE;
3177
+ }) | {
3178
+ type: IsmType.OP_STACK;
3179
+ origin: string;
3180
+ nativeBridge: string;
3181
+ } | {
3182
+ type: IsmType.TRUSTED_RELAYER;
3183
+ relayer: string;
3184
+ } | {
3185
+ type: IsmType.CCIP;
3186
+ originChain: string;
3187
+ } | {
3188
+ type: IsmType.ARB_L2_TO_L1;
3189
+ bridge: string;
3190
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3191
+ foreignDeployment?: string | undefined;
3192
+ remoteRouters?: Record<string, {
3193
+ address: string;
3194
+ }> | undefined;
3195
+ destinationGas?: Record<string, string> | undefined;
3196
+ mailbox?: string | undefined;
3197
+ }>, Record<string, ({
3198
+ type: TokenType.native | TokenType.nativeScaled;
3199
+ symbol?: string | undefined;
3200
+ name?: string | undefined;
3201
+ decimals?: number | undefined;
3202
+ totalSupply?: string | number | undefined;
3203
+ scale?: number | undefined;
3204
+ isNft?: boolean | undefined;
3205
+ } | {
3206
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3207
+ token: string;
3208
+ symbol?: string | undefined;
3209
+ name?: string | undefined;
3210
+ decimals?: number | undefined;
3211
+ totalSupply?: string | number | undefined;
3212
+ scale?: number | undefined;
3213
+ isNft?: boolean | undefined;
3214
+ } | {
3215
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3216
+ token: string;
3217
+ symbol?: string | undefined;
3218
+ name?: string | undefined;
3219
+ decimals?: number | undefined;
3220
+ totalSupply?: string | number | undefined;
3221
+ scale?: number | undefined;
3222
+ isNft?: boolean | undefined;
3223
+ xERC20?: {
3224
+ warpRouteLimits: {
3225
+ bufferCap?: string | undefined;
3226
+ rateLimitPerSecond?: string | undefined;
3227
+ };
3228
+ extraBridges?: {
3229
+ lockbox: string;
3230
+ limits: {
3231
+ bufferCap?: string | undefined;
3232
+ rateLimitPerSecond?: string | undefined;
3233
+ };
3234
+ }[] | undefined;
3235
+ } | undefined;
3236
+ } | {
3237
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3238
+ symbol?: string | undefined;
3239
+ name?: string | undefined;
3240
+ decimals?: number | undefined;
3241
+ totalSupply?: string | number | undefined;
3242
+ scale?: number | undefined;
3243
+ isNft?: boolean | undefined;
3244
+ } | {
3245
+ type: TokenType.syntheticRebase;
3246
+ collateralChainName: string;
3247
+ symbol?: string | undefined;
3248
+ name?: string | undefined;
3249
+ decimals?: number | undefined;
3250
+ totalSupply?: string | number | undefined;
3251
+ scale?: number | undefined;
3252
+ isNft?: boolean | undefined;
3253
+ }) & {
3254
+ owner: string;
3255
+ ownerOverrides?: Record<string, string> | undefined;
3256
+ gas?: number | undefined;
3257
+ proxyAdmin?: {
3258
+ owner: string;
3259
+ ownerOverrides?: Record<string, string> | undefined;
3260
+ address?: string | undefined;
3261
+ } | undefined;
3262
+ hook?: string | {
3263
+ type: HookType.MERKLE_TREE;
3264
+ } | {
3265
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3266
+ owner: string;
3267
+ beneficiary: string;
3268
+ oracleKey: string;
3269
+ overhead: Record<string, number>;
3270
+ oracleConfig: Record<string, {
3271
+ gasPrice: string;
3272
+ tokenExchangeRate: string;
3273
+ tokenDecimals?: number | undefined;
3274
+ }>;
3275
+ ownerOverrides?: Record<string, string> | undefined;
3276
+ } | {
3277
+ type: HookType.PROTOCOL_FEE;
3278
+ owner: string;
3279
+ protocolFee: string;
3280
+ beneficiary: string;
3281
+ maxProtocolFee: string;
3282
+ ownerOverrides?: Record<string, string> | undefined;
3283
+ } | {
3284
+ type: HookType.PAUSABLE;
3285
+ owner: string;
3286
+ paused: boolean;
3287
+ ownerOverrides?: Record<string, string> | undefined;
3288
+ } | {
3289
+ type: HookType.OP_STACK;
3290
+ owner: string;
3291
+ nativeBridge: string;
3292
+ destinationChain: string;
3293
+ ownerOverrides?: Record<string, string> | undefined;
3294
+ } | {
3295
+ type: HookType.ARB_L2_TO_L1;
3296
+ destinationChain: string;
3297
+ arbSys: string;
3298
+ bridge?: string | undefined;
3299
+ childHook?: any;
3300
+ } | {
3301
+ type: HookType.MAILBOX_DEFAULT;
3302
+ } | {
3303
+ type: HookType.CCIP;
3304
+ destinationChain: string;
3305
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3306
+ interchainSecurityModule?: string | ({
3307
+ validators: string[];
3308
+ threshold: number;
3309
+ } & {
3310
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3311
+ }) | ({
3312
+ validators: {
3313
+ signingAddress: string;
3314
+ weight: number;
3315
+ }[];
3316
+ thresholdWeight: number;
3317
+ } & {
3318
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3319
+ }) | {
3320
+ type: IsmType.TEST_ISM;
3321
+ } | ({
3322
+ owner: string;
3323
+ paused: boolean;
3324
+ ownerOverrides?: Record<string, string> | undefined;
3325
+ } & {
3326
+ type: IsmType.PAUSABLE;
3327
+ }) | {
3328
+ type: IsmType.OP_STACK;
3329
+ origin: string;
3330
+ nativeBridge: string;
3331
+ } | {
3332
+ type: IsmType.TRUSTED_RELAYER;
3333
+ relayer: string;
3334
+ } | {
3335
+ type: IsmType.CCIP;
3336
+ originChain: string;
3337
+ } | {
3338
+ type: IsmType.ARB_L2_TO_L1;
3339
+ bridge: string;
3340
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3341
+ foreignDeployment?: string | undefined;
3342
+ remoteRouters?: Record<string, {
3343
+ address: string;
3344
+ }> | undefined;
3345
+ destinationGas?: Record<string, string> | undefined;
3346
+ mailbox?: string | undefined;
3347
+ }>>, Record<string, ({
3348
+ type: TokenType.native | TokenType.nativeScaled;
3349
+ symbol?: string | undefined;
3350
+ name?: string | undefined;
3351
+ decimals?: number | undefined;
3352
+ totalSupply?: string | number | undefined;
3353
+ scale?: number | undefined;
3354
+ isNft?: boolean | undefined;
3355
+ } | {
3356
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3357
+ token: string;
3358
+ symbol?: string | undefined;
3359
+ name?: string | undefined;
3360
+ decimals?: number | undefined;
3361
+ totalSupply?: string | number | undefined;
3362
+ scale?: number | undefined;
3363
+ isNft?: boolean | undefined;
3364
+ } | {
3365
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3366
+ token: string;
3367
+ symbol?: string | undefined;
3368
+ name?: string | undefined;
3369
+ decimals?: number | undefined;
3370
+ totalSupply?: string | number | undefined;
3371
+ scale?: number | undefined;
3372
+ isNft?: boolean | undefined;
3373
+ xERC20?: {
3374
+ warpRouteLimits: {
3375
+ bufferCap?: string | undefined;
3376
+ rateLimitPerSecond?: string | undefined;
3377
+ };
3378
+ extraBridges?: {
3379
+ lockbox: string;
3380
+ limits: {
3381
+ bufferCap?: string | undefined;
3382
+ rateLimitPerSecond?: string | undefined;
3383
+ };
3384
+ }[] | undefined;
3385
+ } | undefined;
3386
+ } | {
3387
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3388
+ symbol?: string | undefined;
3389
+ name?: string | undefined;
3390
+ decimals?: number | undefined;
3391
+ totalSupply?: string | number | undefined;
3392
+ scale?: number | undefined;
3393
+ isNft?: boolean | undefined;
3394
+ } | {
3395
+ type: TokenType.syntheticRebase;
3396
+ collateralChainName: string;
3397
+ symbol?: string | undefined;
3398
+ name?: string | undefined;
3399
+ decimals?: number | undefined;
3400
+ totalSupply?: string | number | undefined;
3401
+ scale?: number | undefined;
3402
+ isNft?: boolean | undefined;
3403
+ }) & {
3404
+ owner: string;
3405
+ ownerOverrides?: Record<string, string> | undefined;
3406
+ gas?: number | undefined;
3407
+ proxyAdmin?: {
3408
+ owner: string;
3409
+ ownerOverrides?: Record<string, string> | undefined;
3410
+ address?: string | undefined;
3411
+ } | undefined;
3412
+ hook?: string | {
3413
+ type: HookType.MERKLE_TREE;
3414
+ } | {
3415
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3416
+ owner: string;
3417
+ beneficiary: string;
3418
+ oracleKey: string;
3419
+ overhead: Record<string, number>;
3420
+ oracleConfig: Record<string, {
3421
+ gasPrice: string;
3422
+ tokenExchangeRate: string;
3423
+ tokenDecimals?: number | undefined;
3424
+ }>;
3425
+ ownerOverrides?: Record<string, string> | undefined;
3426
+ } | {
3427
+ type: HookType.PROTOCOL_FEE;
3428
+ owner: string;
3429
+ protocolFee: string;
3430
+ beneficiary: string;
3431
+ maxProtocolFee: string;
3432
+ ownerOverrides?: Record<string, string> | undefined;
3433
+ } | {
3434
+ type: HookType.PAUSABLE;
3435
+ owner: string;
3436
+ paused: boolean;
3437
+ ownerOverrides?: Record<string, string> | undefined;
3438
+ } | {
3439
+ type: HookType.OP_STACK;
3440
+ owner: string;
3441
+ nativeBridge: string;
3442
+ destinationChain: string;
3443
+ ownerOverrides?: Record<string, string> | undefined;
3444
+ } | {
3445
+ type: HookType.ARB_L2_TO_L1;
3446
+ destinationChain: string;
3447
+ arbSys: string;
3448
+ bridge?: string | undefined;
3449
+ childHook?: any;
3450
+ } | {
3451
+ type: HookType.MAILBOX_DEFAULT;
3452
+ } | {
3453
+ type: HookType.CCIP;
3454
+ destinationChain: string;
3455
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3456
+ interchainSecurityModule?: string | ({
3457
+ validators: string[];
3458
+ threshold: number;
3459
+ } & {
3460
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3461
+ }) | ({
3462
+ validators: {
3463
+ signingAddress: string;
3464
+ weight: number;
3465
+ }[];
3466
+ thresholdWeight: number;
3467
+ } & {
3468
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3469
+ }) | {
3470
+ type: IsmType.TEST_ISM;
3471
+ } | ({
3472
+ owner: string;
3473
+ paused: boolean;
3474
+ ownerOverrides?: Record<string, string> | undefined;
3475
+ } & {
3476
+ type: IsmType.PAUSABLE;
3477
+ }) | {
3478
+ type: IsmType.OP_STACK;
3479
+ origin: string;
3480
+ nativeBridge: string;
3481
+ } | {
3482
+ type: IsmType.TRUSTED_RELAYER;
3483
+ relayer: string;
3484
+ } | {
3485
+ type: IsmType.CCIP;
3486
+ originChain: string;
3487
+ } | {
3488
+ type: IsmType.ARB_L2_TO_L1;
3489
+ bridge: string;
3490
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3491
+ foreignDeployment?: string | undefined;
3492
+ remoteRouters?: Record<string, {
3493
+ address: string;
3494
+ }> | undefined;
3495
+ destinationGas?: Record<string, string> | undefined;
3496
+ mailbox?: string | undefined;
3497
+ }>, Record<string, ({
3498
+ type: TokenType.native | TokenType.nativeScaled;
3499
+ symbol?: string | undefined;
3500
+ name?: string | undefined;
3501
+ decimals?: number | undefined;
3502
+ totalSupply?: string | number | undefined;
3503
+ scale?: number | undefined;
3504
+ isNft?: boolean | undefined;
3505
+ } | {
3506
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3507
+ token: string;
3508
+ symbol?: string | undefined;
3509
+ name?: string | undefined;
3510
+ decimals?: number | undefined;
3511
+ totalSupply?: string | number | undefined;
3512
+ scale?: number | undefined;
3513
+ isNft?: boolean | undefined;
3514
+ } | {
3515
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3516
+ token: string;
3517
+ symbol?: string | undefined;
3518
+ name?: string | undefined;
3519
+ decimals?: number | undefined;
3520
+ totalSupply?: string | number | undefined;
3521
+ scale?: number | undefined;
3522
+ isNft?: boolean | undefined;
3523
+ xERC20?: {
3524
+ warpRouteLimits: {
3525
+ bufferCap?: string | undefined;
3526
+ rateLimitPerSecond?: string | undefined;
3527
+ };
3528
+ extraBridges?: {
3529
+ lockbox: string;
3530
+ limits: {
3531
+ bufferCap?: string | undefined;
3532
+ rateLimitPerSecond?: string | undefined;
3533
+ };
3534
+ }[] | undefined;
3535
+ } | undefined;
3536
+ } | {
3537
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3538
+ symbol?: string | undefined;
3539
+ name?: string | undefined;
3540
+ decimals?: number | undefined;
3541
+ totalSupply?: string | number | undefined;
3542
+ scale?: number | undefined;
3543
+ isNft?: boolean | undefined;
3544
+ } | {
3545
+ type: TokenType.syntheticRebase;
3546
+ collateralChainName: string;
3547
+ symbol?: string | undefined;
3548
+ name?: string | undefined;
3549
+ decimals?: number | undefined;
3550
+ totalSupply?: string | number | undefined;
3551
+ scale?: number | undefined;
3552
+ isNft?: boolean | undefined;
3553
+ }) & {
3554
+ owner: string;
3555
+ ownerOverrides?: Record<string, string> | undefined;
3556
+ gas?: number | undefined;
3557
+ proxyAdmin?: {
3558
+ owner: string;
3559
+ ownerOverrides?: Record<string, string> | undefined;
3560
+ address?: string | undefined;
3561
+ } | undefined;
3562
+ hook?: string | {
3563
+ type: HookType.MERKLE_TREE;
3564
+ } | {
3565
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3566
+ owner: string;
3567
+ beneficiary: string;
3568
+ oracleKey: string;
3569
+ overhead: Record<string, number>;
3570
+ oracleConfig: Record<string, {
3571
+ gasPrice: string;
3572
+ tokenExchangeRate: string;
3573
+ tokenDecimals?: number | undefined;
3574
+ }>;
3575
+ ownerOverrides?: Record<string, string> | undefined;
3576
+ } | {
3577
+ type: HookType.PROTOCOL_FEE;
3578
+ owner: string;
3579
+ protocolFee: string;
3580
+ beneficiary: string;
3581
+ maxProtocolFee: string;
3582
+ ownerOverrides?: Record<string, string> | undefined;
3583
+ } | {
3584
+ type: HookType.PAUSABLE;
3585
+ owner: string;
3586
+ paused: boolean;
3587
+ ownerOverrides?: Record<string, string> | undefined;
3588
+ } | {
3589
+ type: HookType.OP_STACK;
3590
+ owner: string;
3591
+ nativeBridge: string;
3592
+ destinationChain: string;
3593
+ ownerOverrides?: Record<string, string> | undefined;
3594
+ } | {
3595
+ type: HookType.ARB_L2_TO_L1;
3596
+ destinationChain: string;
3597
+ arbSys: string;
3598
+ bridge?: string | undefined;
3599
+ childHook?: any;
3600
+ } | {
3601
+ type: HookType.MAILBOX_DEFAULT;
3602
+ } | {
3603
+ type: HookType.CCIP;
3604
+ destinationChain: string;
3605
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
3606
+ interchainSecurityModule?: string | ({
3607
+ validators: string[];
3608
+ threshold: number;
3609
+ } & {
3610
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
3611
+ }) | ({
3612
+ validators: {
3613
+ signingAddress: string;
3614
+ weight: number;
3615
+ }[];
3616
+ thresholdWeight: number;
3617
+ } & {
3618
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
3619
+ }) | {
3620
+ type: IsmType.TEST_ISM;
3621
+ } | ({
3622
+ owner: string;
3623
+ paused: boolean;
3624
+ ownerOverrides?: Record<string, string> | undefined;
3625
+ } & {
3626
+ type: IsmType.PAUSABLE;
3627
+ }) | {
3628
+ type: IsmType.OP_STACK;
3629
+ origin: string;
3630
+ nativeBridge: string;
3631
+ } | {
3632
+ type: IsmType.TRUSTED_RELAYER;
3633
+ relayer: string;
3634
+ } | {
3635
+ type: IsmType.CCIP;
3636
+ originChain: string;
3637
+ } | {
3638
+ type: IsmType.ARB_L2_TO_L1;
3639
+ bridge: string;
3640
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
3641
+ foreignDeployment?: string | undefined;
3642
+ remoteRouters?: Record<string, {
3643
+ address: string;
3644
+ }> | undefined;
3645
+ destinationGas?: Record<string, string> | undefined;
3646
+ mailbox?: string | undefined;
3647
+ }>>;
3648
+ export type WarpRouteDeployConfig = z.infer<typeof WarpRouteDeployConfigSchema>;
3649
+ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersection<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3650
+ symbol: z.ZodOptional<z.ZodString>;
3651
+ name: z.ZodOptional<z.ZodString>;
3652
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3653
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3654
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3655
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3656
+ type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
3657
+ }, "strip", z.ZodTypeAny, {
3658
+ type: TokenType.native | TokenType.nativeScaled;
3659
+ symbol?: string | undefined;
3660
+ name?: string | undefined;
3661
+ decimals?: number | undefined;
3662
+ totalSupply?: string | number | undefined;
3663
+ scale?: number | undefined;
3664
+ isNft?: boolean | undefined;
3665
+ }, {
3666
+ type: TokenType.native | TokenType.nativeScaled;
3667
+ symbol?: string | undefined;
3668
+ name?: string | undefined;
3669
+ decimals?: number | undefined;
3670
+ totalSupply?: string | number | undefined;
3671
+ scale?: number | undefined;
3672
+ isNft?: boolean | undefined;
3673
+ }>, z.ZodObject<{
3674
+ symbol: z.ZodOptional<z.ZodString>;
3675
+ name: z.ZodOptional<z.ZodString>;
3676
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3677
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3678
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3679
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3680
+ type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
3681
+ token: z.ZodString;
3682
+ }, "strip", z.ZodTypeAny, {
3683
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3684
+ token: string;
3685
+ symbol?: string | undefined;
3686
+ name?: string | undefined;
3687
+ decimals?: number | undefined;
3688
+ totalSupply?: string | number | undefined;
3689
+ scale?: number | undefined;
3690
+ isNft?: boolean | undefined;
3691
+ }, {
3692
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
3693
+ token: string;
3694
+ symbol?: string | undefined;
3695
+ name?: string | undefined;
3696
+ decimals?: number | undefined;
3697
+ totalSupply?: string | number | undefined;
3698
+ scale?: number | undefined;
3699
+ isNft?: boolean | undefined;
3700
+ }>, z.ZodObject<{
3701
+ symbol: z.ZodOptional<z.ZodString>;
3702
+ type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
3703
+ name: z.ZodOptional<z.ZodString>;
3704
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3705
+ token: z.ZodString;
3706
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3707
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3708
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3709
+ xERC20: z.ZodOptional<z.ZodObject<{
3710
+ extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
3711
+ lockbox: z.ZodString;
3712
+ limits: z.ZodObject<{
3713
+ bufferCap: z.ZodOptional<z.ZodString>;
3714
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
3715
+ }, "strip", z.ZodTypeAny, {
3716
+ bufferCap?: string | undefined;
3717
+ rateLimitPerSecond?: string | undefined;
3718
+ }, {
3719
+ bufferCap?: string | undefined;
3720
+ rateLimitPerSecond?: string | undefined;
3721
+ }>;
3722
+ }, "strip", z.ZodTypeAny, {
3723
+ lockbox: string;
3724
+ limits: {
3725
+ bufferCap?: string | undefined;
3726
+ rateLimitPerSecond?: string | undefined;
3727
+ };
3728
+ }, {
3729
+ lockbox: string;
3730
+ limits: {
3731
+ bufferCap?: string | undefined;
3732
+ rateLimitPerSecond?: string | undefined;
3733
+ };
3734
+ }>, "many">>;
3735
+ warpRouteLimits: z.ZodObject<{
3736
+ bufferCap: z.ZodOptional<z.ZodString>;
3737
+ rateLimitPerSecond: z.ZodOptional<z.ZodString>;
3738
+ }, "strip", z.ZodTypeAny, {
3739
+ bufferCap?: string | undefined;
3740
+ rateLimitPerSecond?: string | undefined;
3741
+ }, {
3742
+ bufferCap?: string | undefined;
3743
+ rateLimitPerSecond?: string | undefined;
3744
+ }>;
3745
+ }, "strip", z.ZodTypeAny, {
3746
+ warpRouteLimits: {
3747
+ bufferCap?: string | undefined;
3748
+ rateLimitPerSecond?: string | undefined;
3749
+ };
3750
+ extraBridges?: {
3751
+ lockbox: string;
3752
+ limits: {
3753
+ bufferCap?: string | undefined;
3754
+ rateLimitPerSecond?: string | undefined;
3755
+ };
3756
+ }[] | undefined;
3757
+ }, {
3758
+ warpRouteLimits: {
3759
+ bufferCap?: string | undefined;
3760
+ rateLimitPerSecond?: string | undefined;
3761
+ };
3762
+ extraBridges?: {
3763
+ lockbox: string;
3764
+ limits: {
3765
+ bufferCap?: string | undefined;
3766
+ rateLimitPerSecond?: string | undefined;
3767
+ };
3768
+ }[] | undefined;
3769
+ }>>;
3770
+ }, "strip", z.ZodTypeAny, {
3771
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3772
+ token: string;
3773
+ symbol?: string | undefined;
3774
+ name?: string | undefined;
3775
+ decimals?: number | undefined;
3776
+ totalSupply?: string | number | undefined;
3777
+ scale?: number | undefined;
3778
+ isNft?: boolean | undefined;
3779
+ xERC20?: {
3780
+ warpRouteLimits: {
3781
+ bufferCap?: string | undefined;
3782
+ rateLimitPerSecond?: string | undefined;
3783
+ };
3784
+ extraBridges?: {
3785
+ lockbox: string;
3786
+ limits: {
3787
+ bufferCap?: string | undefined;
3788
+ rateLimitPerSecond?: string | undefined;
3789
+ };
3790
+ }[] | undefined;
3791
+ } | undefined;
3792
+ }, {
3793
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
3794
+ token: string;
3795
+ symbol?: string | undefined;
3796
+ name?: string | undefined;
3797
+ decimals?: number | undefined;
3798
+ totalSupply?: string | number | undefined;
3799
+ scale?: number | undefined;
3800
+ isNft?: boolean | undefined;
3801
+ xERC20?: {
3802
+ warpRouteLimits: {
3803
+ bufferCap?: string | undefined;
3804
+ rateLimitPerSecond?: string | undefined;
3805
+ };
3806
+ extraBridges?: {
3807
+ lockbox: string;
3808
+ limits: {
3809
+ bufferCap?: string | undefined;
3810
+ rateLimitPerSecond?: string | undefined;
3811
+ };
3812
+ }[] | undefined;
3813
+ } | undefined;
3814
+ }>, z.ZodObject<{
3815
+ symbol: z.ZodOptional<z.ZodString>;
3816
+ name: z.ZodOptional<z.ZodString>;
3817
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3818
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3819
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3820
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3821
+ type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri, TokenType.fastSynthetic]>;
3822
+ }, "strip", z.ZodTypeAny, {
3823
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3824
+ symbol?: string | undefined;
3825
+ name?: string | undefined;
3826
+ decimals?: number | undefined;
3827
+ totalSupply?: string | number | undefined;
3828
+ scale?: number | undefined;
3829
+ isNft?: boolean | undefined;
3830
+ }, {
3831
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
3832
+ symbol?: string | undefined;
3833
+ name?: string | undefined;
3834
+ decimals?: number | undefined;
3835
+ totalSupply?: string | number | undefined;
3836
+ scale?: number | undefined;
3837
+ isNft?: boolean | undefined;
3838
+ }>, z.ZodObject<{
3839
+ symbol: z.ZodOptional<z.ZodString>;
3840
+ name: z.ZodOptional<z.ZodString>;
3841
+ decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3842
+ totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
3843
+ scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3844
+ isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
3845
+ type: z.ZodLiteral<TokenType.syntheticRebase>;
3846
+ collateralChainName: z.ZodString;
3847
+ }, "strip", z.ZodTypeAny, {
3848
+ type: TokenType.syntheticRebase;
3849
+ collateralChainName: string;
3850
+ symbol?: string | undefined;
3851
+ name?: string | undefined;
3852
+ decimals?: number | undefined;
3853
+ totalSupply?: string | number | undefined;
3854
+ scale?: number | undefined;
3855
+ isNft?: boolean | undefined;
3856
+ }, {
3857
+ type: TokenType.syntheticRebase;
3858
+ collateralChainName: string;
3859
+ symbol?: string | undefined;
3860
+ name?: string | undefined;
3861
+ decimals?: number | undefined;
3862
+ totalSupply?: string | number | undefined;
3863
+ scale?: number | undefined;
3864
+ isNft?: boolean | undefined;
3865
+ }>]>, z.ZodObject<{
3866
+ owner: z.ZodString;
3867
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3868
+ gas: z.ZodOptional<z.ZodNumber>;
3869
+ proxyAdmin: z.ZodOptional<z.ZodObject<{
3870
+ owner: z.ZodString;
3871
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3872
+ address: z.ZodOptional<z.ZodString>;
3873
+ }, "strip", z.ZodTypeAny, {
3874
+ owner: string;
3875
+ ownerOverrides?: Record<string, string> | undefined;
3876
+ address?: string | undefined;
3877
+ }, {
3878
+ owner: string;
3879
+ ownerOverrides?: Record<string, string> | undefined;
3880
+ address?: string | undefined;
3881
+ }>>;
3882
+ hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3883
+ owner: z.ZodString;
3884
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3885
+ type: z.ZodLiteral<HookType.PROTOCOL_FEE>;
3886
+ beneficiary: z.ZodString;
3887
+ maxProtocolFee: z.ZodString;
3888
+ protocolFee: z.ZodString;
3889
+ }, "strip", z.ZodTypeAny, {
3890
+ type: HookType.PROTOCOL_FEE;
3891
+ owner: string;
3892
+ protocolFee: string;
3893
+ beneficiary: string;
3894
+ maxProtocolFee: string;
3895
+ ownerOverrides?: Record<string, string> | undefined;
3896
+ }, {
3897
+ type: HookType.PROTOCOL_FEE;
3898
+ owner: string;
3899
+ protocolFee: string;
3900
+ beneficiary: string;
3901
+ maxProtocolFee: string;
3902
+ ownerOverrides?: Record<string, string> | undefined;
3903
+ }>, z.ZodObject<{
3904
+ owner: z.ZodString;
3905
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3906
+ paused: z.ZodBoolean;
3907
+ type: z.ZodLiteral<HookType.PAUSABLE>;
3908
+ }, "strip", z.ZodTypeAny, {
3909
+ type: HookType.PAUSABLE;
3910
+ owner: string;
3911
+ paused: boolean;
3912
+ ownerOverrides?: Record<string, string> | undefined;
3913
+ }, {
3914
+ type: HookType.PAUSABLE;
3915
+ owner: string;
3916
+ paused: boolean;
3917
+ ownerOverrides?: Record<string, string> | undefined;
3918
+ }>, z.ZodObject<{
3919
+ owner: z.ZodString;
3920
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3921
+ type: z.ZodLiteral<HookType.OP_STACK>;
3922
+ nativeBridge: z.ZodString;
3923
+ destinationChain: z.ZodString;
3924
+ }, "strip", z.ZodTypeAny, {
3925
+ type: HookType.OP_STACK;
3926
+ owner: string;
3927
+ nativeBridge: string;
3928
+ destinationChain: string;
3929
+ ownerOverrides?: Record<string, string> | undefined;
3930
+ }, {
3931
+ type: HookType.OP_STACK;
3932
+ owner: string;
3933
+ nativeBridge: string;
3934
+ destinationChain: string;
3935
+ ownerOverrides?: Record<string, string> | undefined;
3936
+ }>, z.ZodObject<{
3937
+ type: z.ZodLiteral<HookType.MERKLE_TREE>;
3938
+ }, "strip", z.ZodTypeAny, {
3939
+ type: HookType.MERKLE_TREE;
3940
+ }, {
3941
+ type: HookType.MERKLE_TREE;
3942
+ }>, z.ZodObject<{
3943
+ owner: z.ZodString;
3944
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3945
+ type: z.ZodLiteral<HookType.INTERCHAIN_GAS_PAYMASTER>;
3946
+ beneficiary: z.ZodString;
3947
+ oracleKey: z.ZodString;
3948
+ overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
3949
+ oracleConfig: z.ZodRecord<z.ZodString, z.ZodObject<{
3950
+ gasPrice: z.ZodString;
3951
+ tokenExchangeRate: z.ZodString;
3952
+ tokenDecimals: z.ZodOptional<z.ZodNumber>;
3953
+ }, "strip", z.ZodTypeAny, {
3954
+ gasPrice: string;
3955
+ tokenExchangeRate: string;
3956
+ tokenDecimals?: number | undefined;
3957
+ }, {
3958
+ gasPrice: string;
3959
+ tokenExchangeRate: string;
3960
+ tokenDecimals?: number | undefined;
3961
+ }>>;
3962
+ }, "strip", z.ZodTypeAny, {
3963
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3964
+ owner: string;
3965
+ beneficiary: string;
3966
+ oracleKey: string;
3967
+ overhead: Record<string, number>;
3968
+ oracleConfig: Record<string, {
3969
+ gasPrice: string;
3970
+ tokenExchangeRate: string;
3971
+ tokenDecimals?: number | undefined;
3972
+ }>;
3973
+ ownerOverrides?: Record<string, string> | undefined;
3974
+ }, {
3975
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
3976
+ owner: string;
3977
+ beneficiary: string;
3978
+ oracleKey: string;
3979
+ overhead: Record<string, number>;
3980
+ oracleConfig: Record<string, {
3981
+ gasPrice: string;
3982
+ tokenExchangeRate: string;
3983
+ tokenDecimals?: number | undefined;
3984
+ }>;
3985
+ ownerOverrides?: Record<string, string> | undefined;
3986
+ }>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
3987
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
3988
+ arbSys: z.ZodString;
3989
+ bridge: z.ZodOptional<z.ZodString>;
3990
+ destinationChain: z.ZodString;
3991
+ childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
3992
+ }, "strip", z.ZodTypeAny, {
3993
+ type: HookType.ARB_L2_TO_L1;
3994
+ destinationChain: string;
3995
+ arbSys: string;
3996
+ bridge?: string | undefined;
3997
+ childHook?: any;
3998
+ }, {
3999
+ type: HookType.ARB_L2_TO_L1;
4000
+ destinationChain: string;
4001
+ arbSys: string;
4002
+ bridge?: string | undefined;
4003
+ childHook?: any;
4004
+ }>, z.ZodObject<{
4005
+ type: z.ZodLiteral<HookType.MAILBOX_DEFAULT>;
4006
+ }, "strip", z.ZodTypeAny, {
4007
+ type: HookType.MAILBOX_DEFAULT;
4008
+ }, {
4009
+ type: HookType.MAILBOX_DEFAULT;
4010
+ }>, z.ZodObject<{
4011
+ type: z.ZodLiteral<HookType.CCIP>;
4012
+ destinationChain: z.ZodString;
4013
+ }, "strip", z.ZodTypeAny, {
4014
+ type: HookType.CCIP;
4015
+ destinationChain: string;
4016
+ }, {
4017
+ type: HookType.CCIP;
4018
+ destinationChain: string;
4019
+ }>]>>;
4020
+ interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
4021
+ type: z.ZodLiteral<IsmType.TEST_ISM>;
4022
+ }, "strip", z.ZodTypeAny, {
4023
+ type: IsmType.TEST_ISM;
4024
+ }, {
4025
+ type: IsmType.TEST_ISM;
4026
+ }>, z.ZodObject<{
4027
+ type: z.ZodLiteral<IsmType.OP_STACK>;
4028
+ origin: z.ZodString;
4029
+ nativeBridge: z.ZodString;
4030
+ }, "strip", z.ZodTypeAny, {
4031
+ type: IsmType.OP_STACK;
4032
+ origin: string;
4033
+ nativeBridge: string;
4034
+ }, {
4035
+ type: IsmType.OP_STACK;
4036
+ origin: string;
4037
+ nativeBridge: string;
4038
+ }>, z.ZodIntersection<z.ZodObject<{
4039
+ owner: z.ZodString;
4040
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4041
+ paused: z.ZodBoolean;
4042
+ }, "strip", z.ZodTypeAny, {
4043
+ owner: string;
4044
+ paused: boolean;
4045
+ ownerOverrides?: Record<string, string> | undefined;
4046
+ }, {
4047
+ owner: string;
4048
+ paused: boolean;
4049
+ ownerOverrides?: Record<string, string> | undefined;
4050
+ }>, z.ZodObject<{
4051
+ type: z.ZodLiteral<IsmType.PAUSABLE>;
4052
+ }, "strip", z.ZodTypeAny, {
4053
+ type: IsmType.PAUSABLE;
4054
+ }, {
4055
+ type: IsmType.PAUSABLE;
4056
+ }>>, z.ZodObject<{
4057
+ type: z.ZodLiteral<IsmType.TRUSTED_RELAYER>;
4058
+ relayer: z.ZodString;
4059
+ }, "strip", z.ZodTypeAny, {
4060
+ type: IsmType.TRUSTED_RELAYER;
4061
+ relayer: string;
4062
+ }, {
4063
+ type: IsmType.TRUSTED_RELAYER;
4064
+ relayer: string;
4065
+ }>, z.ZodObject<{
4066
+ type: z.ZodLiteral<IsmType.CCIP>;
4067
+ originChain: z.ZodString;
4068
+ }, "strip", z.ZodTypeAny, {
4069
+ type: IsmType.CCIP;
4070
+ originChain: string;
4071
+ }, {
4072
+ type: IsmType.CCIP;
4073
+ originChain: string;
4074
+ }>, z.ZodIntersection<z.ZodObject<{
4075
+ validators: z.ZodArray<z.ZodString, "many">;
4076
+ threshold: z.ZodNumber;
4077
+ }, "strip", z.ZodTypeAny, {
4078
+ validators: string[];
4079
+ threshold: number;
4080
+ }, {
4081
+ validators: string[];
4082
+ threshold: number;
4083
+ }>, z.ZodObject<{
4084
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
4085
+ }, "strip", z.ZodTypeAny, {
4086
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
4087
+ }, {
4088
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
4089
+ }>>, z.ZodIntersection<z.ZodObject<{
4090
+ validators: z.ZodArray<z.ZodObject<{
4091
+ signingAddress: z.ZodString;
4092
+ weight: z.ZodNumber;
4093
+ }, "strip", z.ZodTypeAny, {
4094
+ signingAddress: string;
4095
+ weight: number;
4096
+ }, {
4097
+ signingAddress: string;
4098
+ weight: number;
4099
+ }>, "many">;
4100
+ thresholdWeight: z.ZodNumber;
4101
+ }, "strip", z.ZodTypeAny, {
4102
+ validators: {
4103
+ signingAddress: string;
4104
+ weight: number;
4105
+ }[];
4106
+ thresholdWeight: number;
4107
+ }, {
4108
+ validators: {
4109
+ signingAddress: string;
4110
+ weight: number;
4111
+ }[];
4112
+ thresholdWeight: number;
4113
+ }>, z.ZodObject<{
4114
+ type: z.ZodUnion<[z.ZodLiteral<IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
4115
+ }, "strip", z.ZodTypeAny, {
4116
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
4117
+ }, {
4118
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
4119
+ }>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
4120
+ type: z.ZodLiteral<IsmType.ARB_L2_TO_L1>;
4121
+ bridge: z.ZodString;
4122
+ }, "strip", z.ZodTypeAny, {
4123
+ type: IsmType.ARB_L2_TO_L1;
4124
+ bridge: string;
4125
+ }, {
4126
+ type: IsmType.ARB_L2_TO_L1;
4127
+ bridge: string;
4128
+ }>]>>;
4129
+ foreignDeployment: z.ZodOptional<z.ZodString>;
4130
+ remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4131
+ address: z.ZodString;
4132
+ }, "strip", z.ZodTypeAny, {
4133
+ address: string;
4134
+ }, {
4135
+ address: string;
4136
+ }>>>;
4137
+ destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4138
+ mailbox: z.ZodOptional<z.ZodString>;
4139
+ }, "strip", z.ZodTypeAny, {
4140
+ owner: string;
4141
+ ownerOverrides?: Record<string, string> | undefined;
4142
+ gas?: number | undefined;
4143
+ proxyAdmin?: {
4144
+ owner: string;
4145
+ ownerOverrides?: Record<string, string> | undefined;
4146
+ address?: string | undefined;
4147
+ } | undefined;
4148
+ hook?: string | {
4149
+ type: HookType.MERKLE_TREE;
4150
+ } | {
4151
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
4152
+ owner: string;
4153
+ beneficiary: string;
4154
+ oracleKey: string;
4155
+ overhead: Record<string, number>;
4156
+ oracleConfig: Record<string, {
4157
+ gasPrice: string;
4158
+ tokenExchangeRate: string;
4159
+ tokenDecimals?: number | undefined;
4160
+ }>;
4161
+ ownerOverrides?: Record<string, string> | undefined;
4162
+ } | {
4163
+ type: HookType.PROTOCOL_FEE;
4164
+ owner: string;
4165
+ protocolFee: string;
4166
+ beneficiary: string;
4167
+ maxProtocolFee: string;
4168
+ ownerOverrides?: Record<string, string> | undefined;
4169
+ } | {
4170
+ type: HookType.PAUSABLE;
4171
+ owner: string;
4172
+ paused: boolean;
4173
+ ownerOverrides?: Record<string, string> | undefined;
4174
+ } | {
4175
+ type: HookType.OP_STACK;
4176
+ owner: string;
4177
+ nativeBridge: string;
4178
+ destinationChain: string;
4179
+ ownerOverrides?: Record<string, string> | undefined;
4180
+ } | {
4181
+ type: HookType.ARB_L2_TO_L1;
4182
+ destinationChain: string;
4183
+ arbSys: string;
4184
+ bridge?: string | undefined;
4185
+ childHook?: any;
4186
+ } | {
4187
+ type: HookType.MAILBOX_DEFAULT;
4188
+ } | {
4189
+ type: HookType.CCIP;
4190
+ destinationChain: string;
4191
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
4192
+ interchainSecurityModule?: string | ({
4193
+ validators: string[];
4194
+ threshold: number;
4195
+ } & {
4196
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
4197
+ }) | ({
4198
+ validators: {
4199
+ signingAddress: string;
4200
+ weight: number;
4201
+ }[];
4202
+ thresholdWeight: number;
4203
+ } & {
4204
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
4205
+ }) | {
4206
+ type: IsmType.TEST_ISM;
4207
+ } | ({
4208
+ owner: string;
4209
+ paused: boolean;
4210
+ ownerOverrides?: Record<string, string> | undefined;
4211
+ } & {
4212
+ type: IsmType.PAUSABLE;
4213
+ }) | {
4214
+ type: IsmType.OP_STACK;
4215
+ origin: string;
4216
+ nativeBridge: string;
4217
+ } | {
4218
+ type: IsmType.TRUSTED_RELAYER;
4219
+ relayer: string;
4220
+ } | {
4221
+ type: IsmType.CCIP;
4222
+ originChain: string;
4223
+ } | {
4224
+ type: IsmType.ARB_L2_TO_L1;
4225
+ bridge: string;
4226
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
4227
+ foreignDeployment?: string | undefined;
4228
+ remoteRouters?: Record<string, {
4229
+ address: string;
4230
+ }> | undefined;
4231
+ destinationGas?: Record<string, string> | undefined;
4232
+ mailbox?: string | undefined;
4233
+ }, {
4234
+ owner: string;
4235
+ ownerOverrides?: Record<string, string> | undefined;
4236
+ gas?: number | undefined;
4237
+ proxyAdmin?: {
4238
+ owner: string;
4239
+ ownerOverrides?: Record<string, string> | undefined;
4240
+ address?: string | undefined;
4241
+ } | undefined;
4242
+ hook?: string | {
4243
+ type: HookType.MERKLE_TREE;
4244
+ } | {
4245
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
4246
+ owner: string;
4247
+ beneficiary: string;
4248
+ oracleKey: string;
4249
+ overhead: Record<string, number>;
4250
+ oracleConfig: Record<string, {
4251
+ gasPrice: string;
4252
+ tokenExchangeRate: string;
4253
+ tokenDecimals?: number | undefined;
4254
+ }>;
4255
+ ownerOverrides?: Record<string, string> | undefined;
4256
+ } | {
4257
+ type: HookType.PROTOCOL_FEE;
4258
+ owner: string;
4259
+ protocolFee: string;
4260
+ beneficiary: string;
4261
+ maxProtocolFee: string;
4262
+ ownerOverrides?: Record<string, string> | undefined;
4263
+ } | {
4264
+ type: HookType.PAUSABLE;
4265
+ owner: string;
4266
+ paused: boolean;
4267
+ ownerOverrides?: Record<string, string> | undefined;
4268
+ } | {
4269
+ type: HookType.OP_STACK;
4270
+ owner: string;
4271
+ nativeBridge: string;
4272
+ destinationChain: string;
4273
+ ownerOverrides?: Record<string, string> | undefined;
4274
+ } | {
4275
+ type: HookType.ARB_L2_TO_L1;
4276
+ destinationChain: string;
4277
+ arbSys: string;
4278
+ bridge?: string | undefined;
4279
+ childHook?: any;
4280
+ } | {
4281
+ type: HookType.MAILBOX_DEFAULT;
4282
+ } | {
4283
+ type: HookType.CCIP;
4284
+ destinationChain: string;
4285
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
4286
+ interchainSecurityModule?: string | ({
4287
+ validators: string[];
4288
+ threshold: number;
4289
+ } & {
4290
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
4291
+ }) | ({
4292
+ validators: {
4293
+ signingAddress: string;
4294
+ weight: number;
4295
+ }[];
4296
+ thresholdWeight: number;
4297
+ } & {
4298
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
4299
+ }) | {
4300
+ type: IsmType.TEST_ISM;
4301
+ } | ({
4302
+ owner: string;
4303
+ paused: boolean;
4304
+ ownerOverrides?: Record<string, string> | undefined;
4305
+ } & {
4306
+ type: IsmType.PAUSABLE;
4307
+ }) | {
4308
+ type: IsmType.OP_STACK;
4309
+ origin: string;
4310
+ nativeBridge: string;
4311
+ } | {
4312
+ type: IsmType.TRUSTED_RELAYER;
4313
+ relayer: string;
4314
+ } | {
4315
+ type: IsmType.CCIP;
4316
+ originChain: string;
4317
+ } | {
4318
+ type: IsmType.ARB_L2_TO_L1;
4319
+ bridge: string;
4320
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
4321
+ foreignDeployment?: string | undefined;
4322
+ remoteRouters?: Record<string, {
4323
+ address: string;
4324
+ }> | undefined;
4325
+ destinationGas?: Record<string, string> | undefined;
4326
+ mailbox?: string | undefined;
4327
+ }>>>, Record<string, ({
4328
+ type: TokenType.native | TokenType.nativeScaled;
4329
+ symbol?: string | undefined;
4330
+ name?: string | undefined;
4331
+ decimals?: number | undefined;
4332
+ totalSupply?: string | number | undefined;
4333
+ scale?: number | undefined;
4334
+ isNft?: boolean | undefined;
4335
+ } | {
4336
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
4337
+ token: string;
4338
+ symbol?: string | undefined;
4339
+ name?: string | undefined;
4340
+ decimals?: number | undefined;
4341
+ totalSupply?: string | number | undefined;
4342
+ scale?: number | undefined;
4343
+ isNft?: boolean | undefined;
4344
+ } | {
4345
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
4346
+ token: string;
4347
+ symbol?: string | undefined;
4348
+ name?: string | undefined;
4349
+ decimals?: number | undefined;
4350
+ totalSupply?: string | number | undefined;
4351
+ scale?: number | undefined;
4352
+ isNft?: boolean | undefined;
4353
+ xERC20?: {
4354
+ warpRouteLimits: {
4355
+ bufferCap?: string | undefined;
4356
+ rateLimitPerSecond?: string | undefined;
4357
+ };
4358
+ extraBridges?: {
4359
+ lockbox: string;
4360
+ limits: {
4361
+ bufferCap?: string | undefined;
4362
+ rateLimitPerSecond?: string | undefined;
4363
+ };
4364
+ }[] | undefined;
4365
+ } | undefined;
4366
+ } | {
4367
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
4368
+ symbol?: string | undefined;
4369
+ name?: string | undefined;
4370
+ decimals?: number | undefined;
4371
+ totalSupply?: string | number | undefined;
4372
+ scale?: number | undefined;
4373
+ isNft?: boolean | undefined;
4374
+ } | {
4375
+ type: TokenType.syntheticRebase;
4376
+ collateralChainName: string;
4377
+ symbol?: string | undefined;
4378
+ name?: string | undefined;
4379
+ decimals?: number | undefined;
4380
+ totalSupply?: string | number | undefined;
4381
+ scale?: number | undefined;
4382
+ isNft?: boolean | undefined;
4383
+ }) & {
4384
+ owner: string;
4385
+ ownerOverrides?: Record<string, string> | undefined;
4386
+ gas?: number | undefined;
4387
+ proxyAdmin?: {
4388
+ owner: string;
4389
+ ownerOverrides?: Record<string, string> | undefined;
4390
+ address?: string | undefined;
4391
+ } | undefined;
4392
+ hook?: string | {
4393
+ type: HookType.MERKLE_TREE;
4394
+ } | {
4395
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
4396
+ owner: string;
4397
+ beneficiary: string;
4398
+ oracleKey: string;
4399
+ overhead: Record<string, number>;
4400
+ oracleConfig: Record<string, {
4401
+ gasPrice: string;
4402
+ tokenExchangeRate: string;
4403
+ tokenDecimals?: number | undefined;
4404
+ }>;
4405
+ ownerOverrides?: Record<string, string> | undefined;
4406
+ } | {
4407
+ type: HookType.PROTOCOL_FEE;
4408
+ owner: string;
4409
+ protocolFee: string;
4410
+ beneficiary: string;
4411
+ maxProtocolFee: string;
4412
+ ownerOverrides?: Record<string, string> | undefined;
4413
+ } | {
4414
+ type: HookType.PAUSABLE;
4415
+ owner: string;
4416
+ paused: boolean;
4417
+ ownerOverrides?: Record<string, string> | undefined;
4418
+ } | {
4419
+ type: HookType.OP_STACK;
4420
+ owner: string;
4421
+ nativeBridge: string;
4422
+ destinationChain: string;
4423
+ ownerOverrides?: Record<string, string> | undefined;
4424
+ } | {
4425
+ type: HookType.ARB_L2_TO_L1;
4426
+ destinationChain: string;
4427
+ arbSys: string;
4428
+ bridge?: string | undefined;
4429
+ childHook?: any;
4430
+ } | {
4431
+ type: HookType.MAILBOX_DEFAULT;
4432
+ } | {
4433
+ type: HookType.CCIP;
4434
+ destinationChain: string;
4435
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
4436
+ interchainSecurityModule?: string | ({
4437
+ validators: string[];
4438
+ threshold: number;
4439
+ } & {
4440
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
4441
+ }) | ({
4442
+ validators: {
4443
+ signingAddress: string;
4444
+ weight: number;
4445
+ }[];
4446
+ thresholdWeight: number;
4447
+ } & {
4448
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
4449
+ }) | {
4450
+ type: IsmType.TEST_ISM;
4451
+ } | ({
4452
+ owner: string;
4453
+ paused: boolean;
4454
+ ownerOverrides?: Record<string, string> | undefined;
4455
+ } & {
4456
+ type: IsmType.PAUSABLE;
4457
+ }) | {
4458
+ type: IsmType.OP_STACK;
4459
+ origin: string;
4460
+ nativeBridge: string;
4461
+ } | {
4462
+ type: IsmType.TRUSTED_RELAYER;
4463
+ relayer: string;
4464
+ } | {
4465
+ type: IsmType.CCIP;
4466
+ originChain: string;
4467
+ } | {
4468
+ type: IsmType.ARB_L2_TO_L1;
4469
+ bridge: string;
4470
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
4471
+ foreignDeployment?: string | undefined;
4472
+ remoteRouters?: Record<string, {
4473
+ address: string;
4474
+ }> | undefined;
4475
+ destinationGas?: Record<string, string> | undefined;
4476
+ mailbox?: string | undefined;
4477
+ }>, Record<string, ({
4478
+ type: TokenType.native | TokenType.nativeScaled;
4479
+ symbol?: string | undefined;
4480
+ name?: string | undefined;
4481
+ decimals?: number | undefined;
4482
+ totalSupply?: string | number | undefined;
4483
+ scale?: number | undefined;
4484
+ isNft?: boolean | undefined;
4485
+ } | {
4486
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
4487
+ token: string;
4488
+ symbol?: string | undefined;
4489
+ name?: string | undefined;
4490
+ decimals?: number | undefined;
4491
+ totalSupply?: string | number | undefined;
4492
+ scale?: number | undefined;
4493
+ isNft?: boolean | undefined;
4494
+ } | {
4495
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
4496
+ token: string;
4497
+ symbol?: string | undefined;
4498
+ name?: string | undefined;
4499
+ decimals?: number | undefined;
4500
+ totalSupply?: string | number | undefined;
4501
+ scale?: number | undefined;
4502
+ isNft?: boolean | undefined;
4503
+ xERC20?: {
4504
+ warpRouteLimits: {
4505
+ bufferCap?: string | undefined;
4506
+ rateLimitPerSecond?: string | undefined;
4507
+ };
4508
+ extraBridges?: {
4509
+ lockbox: string;
4510
+ limits: {
4511
+ bufferCap?: string | undefined;
4512
+ rateLimitPerSecond?: string | undefined;
4513
+ };
4514
+ }[] | undefined;
4515
+ } | undefined;
4516
+ } | {
4517
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
4518
+ symbol?: string | undefined;
4519
+ name?: string | undefined;
4520
+ decimals?: number | undefined;
4521
+ totalSupply?: string | number | undefined;
4522
+ scale?: number | undefined;
4523
+ isNft?: boolean | undefined;
4524
+ } | {
4525
+ type: TokenType.syntheticRebase;
4526
+ collateralChainName: string;
4527
+ symbol?: string | undefined;
4528
+ name?: string | undefined;
4529
+ decimals?: number | undefined;
4530
+ totalSupply?: string | number | undefined;
4531
+ scale?: number | undefined;
4532
+ isNft?: boolean | undefined;
4533
+ }) & {
4534
+ owner: string;
4535
+ ownerOverrides?: Record<string, string> | undefined;
4536
+ gas?: number | undefined;
4537
+ proxyAdmin?: {
4538
+ owner: string;
4539
+ ownerOverrides?: Record<string, string> | undefined;
4540
+ address?: string | undefined;
4541
+ } | undefined;
4542
+ hook?: string | {
4543
+ type: HookType.MERKLE_TREE;
1420
4544
  } | {
1421
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
4545
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1422
4546
  owner: string;
1423
4547
  beneficiary: string;
1424
4548
  oracleKey: string;
@@ -1430,35 +4554,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1430
4554
  }>;
1431
4555
  ownerOverrides?: Record<string, string> | undefined;
1432
4556
  } | {
1433
- type: import("../index.js").HookType.PROTOCOL_FEE;
4557
+ type: HookType.PROTOCOL_FEE;
1434
4558
  owner: string;
1435
4559
  protocolFee: string;
1436
4560
  beneficiary: string;
1437
4561
  maxProtocolFee: string;
1438
4562
  ownerOverrides?: Record<string, string> | undefined;
1439
4563
  } | {
1440
- type: import("../index.js").HookType.PAUSABLE;
4564
+ type: HookType.PAUSABLE;
1441
4565
  owner: string;
1442
4566
  paused: boolean;
1443
4567
  ownerOverrides?: Record<string, string> | undefined;
1444
4568
  } | {
1445
- type: import("../index.js").HookType.OP_STACK;
4569
+ type: HookType.OP_STACK;
1446
4570
  owner: string;
1447
4571
  nativeBridge: string;
1448
4572
  destinationChain: string;
1449
4573
  ownerOverrides?: Record<string, string> | undefined;
1450
4574
  } | {
1451
- type: import("../index.js").HookType.ARB_L2_TO_L1;
4575
+ type: HookType.ARB_L2_TO_L1;
1452
4576
  destinationChain: string;
1453
4577
  arbSys: string;
1454
4578
  bridge?: string | undefined;
1455
4579
  childHook?: any;
1456
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
4580
+ } | {
4581
+ type: HookType.MAILBOX_DEFAULT;
4582
+ } | {
4583
+ type: HookType.CCIP;
4584
+ destinationChain: string;
4585
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
1457
4586
  interchainSecurityModule?: string | ({
1458
4587
  validators: string[];
1459
4588
  threshold: number;
1460
4589
  } & {
1461
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
4590
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1462
4591
  }) | ({
1463
4592
  validators: {
1464
4593
  signingAddress: string;
@@ -1466,32 +4595,185 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1466
4595
  }[];
1467
4596
  thresholdWeight: number;
1468
4597
  } & {
1469
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
4598
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1470
4599
  }) | {
1471
- type: import("../index.js").IsmType.TEST_ISM;
4600
+ type: IsmType.TEST_ISM;
1472
4601
  } | ({
1473
4602
  owner: string;
1474
4603
  paused: boolean;
1475
4604
  ownerOverrides?: Record<string, string> | undefined;
1476
4605
  } & {
1477
- type: import("../index.js").IsmType.PAUSABLE;
4606
+ type: IsmType.PAUSABLE;
1478
4607
  }) | {
1479
- type: import("../index.js").IsmType.OP_STACK;
4608
+ type: IsmType.OP_STACK;
1480
4609
  origin: string;
1481
4610
  nativeBridge: string;
1482
4611
  } | {
1483
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
4612
+ type: IsmType.TRUSTED_RELAYER;
1484
4613
  relayer: string;
1485
4614
  } | {
1486
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
4615
+ type: IsmType.CCIP;
4616
+ originChain: string;
4617
+ } | {
4618
+ type: IsmType.ARB_L2_TO_L1;
1487
4619
  bridge: string;
1488
- } | import("../index.js").RoutingIsmConfig | import("../index.js").AggregationIsmConfig | undefined;
4620
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
1489
4621
  foreignDeployment?: string | undefined;
1490
4622
  remoteRouters?: Record<string, {
1491
4623
  address: string;
1492
4624
  }> | undefined;
4625
+ destinationGas?: Record<string, string> | undefined;
4626
+ mailbox?: string | undefined;
4627
+ }>>, Record<string, ({
4628
+ type: TokenType.native | TokenType.nativeScaled;
4629
+ symbol?: string | undefined;
4630
+ name?: string | undefined;
4631
+ decimals?: number | undefined;
4632
+ totalSupply?: string | number | undefined;
4633
+ scale?: number | undefined;
4634
+ isNft?: boolean | undefined;
4635
+ } | {
4636
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
4637
+ token: string;
4638
+ symbol?: string | undefined;
4639
+ name?: string | undefined;
4640
+ decimals?: number | undefined;
4641
+ totalSupply?: string | number | undefined;
4642
+ scale?: number | undefined;
4643
+ isNft?: boolean | undefined;
4644
+ } | {
4645
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
4646
+ token: string;
4647
+ symbol?: string | undefined;
4648
+ name?: string | undefined;
4649
+ decimals?: number | undefined;
4650
+ totalSupply?: string | number | undefined;
4651
+ scale?: number | undefined;
4652
+ isNft?: boolean | undefined;
4653
+ xERC20?: {
4654
+ warpRouteLimits: {
4655
+ bufferCap?: string | undefined;
4656
+ rateLimitPerSecond?: string | undefined;
4657
+ };
4658
+ extraBridges?: {
4659
+ lockbox: string;
4660
+ limits: {
4661
+ bufferCap?: string | undefined;
4662
+ rateLimitPerSecond?: string | undefined;
4663
+ };
4664
+ }[] | undefined;
4665
+ } | undefined;
4666
+ } | {
4667
+ type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
4668
+ symbol?: string | undefined;
4669
+ name?: string | undefined;
4670
+ decimals?: number | undefined;
4671
+ totalSupply?: string | number | undefined;
4672
+ scale?: number | undefined;
4673
+ isNft?: boolean | undefined;
4674
+ } | {
4675
+ type: TokenType.syntheticRebase;
4676
+ collateralChainName: string;
4677
+ symbol?: string | undefined;
4678
+ name?: string | undefined;
4679
+ decimals?: number | undefined;
4680
+ totalSupply?: string | number | undefined;
4681
+ scale?: number | undefined;
4682
+ isNft?: boolean | undefined;
4683
+ }) & {
4684
+ owner: string;
4685
+ ownerOverrides?: Record<string, string> | undefined;
1493
4686
  gas?: number | undefined;
4687
+ proxyAdmin?: {
4688
+ owner: string;
4689
+ ownerOverrides?: Record<string, string> | undefined;
4690
+ address?: string | undefined;
4691
+ } | undefined;
4692
+ hook?: string | {
4693
+ type: HookType.MERKLE_TREE;
4694
+ } | {
4695
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
4696
+ owner: string;
4697
+ beneficiary: string;
4698
+ oracleKey: string;
4699
+ overhead: Record<string, number>;
4700
+ oracleConfig: Record<string, {
4701
+ gasPrice: string;
4702
+ tokenExchangeRate: string;
4703
+ tokenDecimals?: number | undefined;
4704
+ }>;
4705
+ ownerOverrides?: Record<string, string> | undefined;
4706
+ } | {
4707
+ type: HookType.PROTOCOL_FEE;
4708
+ owner: string;
4709
+ protocolFee: string;
4710
+ beneficiary: string;
4711
+ maxProtocolFee: string;
4712
+ ownerOverrides?: Record<string, string> | undefined;
4713
+ } | {
4714
+ type: HookType.PAUSABLE;
4715
+ owner: string;
4716
+ paused: boolean;
4717
+ ownerOverrides?: Record<string, string> | undefined;
4718
+ } | {
4719
+ type: HookType.OP_STACK;
4720
+ owner: string;
4721
+ nativeBridge: string;
4722
+ destinationChain: string;
4723
+ ownerOverrides?: Record<string, string> | undefined;
4724
+ } | {
4725
+ type: HookType.ARB_L2_TO_L1;
4726
+ destinationChain: string;
4727
+ arbSys: string;
4728
+ bridge?: string | undefined;
4729
+ childHook?: any;
4730
+ } | {
4731
+ type: HookType.MAILBOX_DEFAULT;
4732
+ } | {
4733
+ type: HookType.CCIP;
4734
+ destinationChain: string;
4735
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
4736
+ interchainSecurityModule?: string | ({
4737
+ validators: string[];
4738
+ threshold: number;
4739
+ } & {
4740
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
4741
+ }) | ({
4742
+ validators: {
4743
+ signingAddress: string;
4744
+ weight: number;
4745
+ }[];
4746
+ thresholdWeight: number;
4747
+ } & {
4748
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
4749
+ }) | {
4750
+ type: IsmType.TEST_ISM;
4751
+ } | ({
4752
+ owner: string;
4753
+ paused: boolean;
4754
+ ownerOverrides?: Record<string, string> | undefined;
4755
+ } & {
4756
+ type: IsmType.PAUSABLE;
4757
+ }) | {
4758
+ type: IsmType.OP_STACK;
4759
+ origin: string;
4760
+ nativeBridge: string;
4761
+ } | {
4762
+ type: IsmType.TRUSTED_RELAYER;
4763
+ relayer: string;
4764
+ } | {
4765
+ type: IsmType.CCIP;
4766
+ originChain: string;
4767
+ } | {
4768
+ type: IsmType.ARB_L2_TO_L1;
4769
+ bridge: string;
4770
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
4771
+ foreignDeployment?: string | undefined;
4772
+ remoteRouters?: Record<string, {
4773
+ address: string;
4774
+ }> | undefined;
1494
4775
  destinationGas?: Record<string, string> | undefined;
4776
+ mailbox?: string | undefined;
1495
4777
  }>, Record<string, ({
1496
4778
  type: TokenType.native | TokenType.nativeScaled;
1497
4779
  symbol?: string | undefined;
@@ -1501,7 +4783,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1501
4783
  scale?: number | undefined;
1502
4784
  isNft?: boolean | undefined;
1503
4785
  } | {
1504
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
4786
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
4787
+ token: string;
4788
+ symbol?: string | undefined;
4789
+ name?: string | undefined;
4790
+ decimals?: number | undefined;
4791
+ totalSupply?: string | number | undefined;
4792
+ scale?: number | undefined;
4793
+ isNft?: boolean | undefined;
4794
+ } | {
4795
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
1505
4796
  token: string;
1506
4797
  symbol?: string | undefined;
1507
4798
  name?: string | undefined;
@@ -1509,6 +4800,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1509
4800
  totalSupply?: string | number | undefined;
1510
4801
  scale?: number | undefined;
1511
4802
  isNft?: boolean | undefined;
4803
+ xERC20?: {
4804
+ warpRouteLimits: {
4805
+ bufferCap?: string | undefined;
4806
+ rateLimitPerSecond?: string | undefined;
4807
+ };
4808
+ extraBridges?: {
4809
+ lockbox: string;
4810
+ limits: {
4811
+ bufferCap?: string | undefined;
4812
+ rateLimitPerSecond?: string | undefined;
4813
+ };
4814
+ }[] | undefined;
4815
+ } | undefined;
1512
4816
  } | {
1513
4817
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
1514
4818
  symbol?: string | undefined;
@@ -1528,17 +4832,17 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1528
4832
  isNft?: boolean | undefined;
1529
4833
  }) & {
1530
4834
  owner: string;
1531
- mailbox: string;
1532
4835
  ownerOverrides?: Record<string, string> | undefined;
4836
+ gas?: number | undefined;
1533
4837
  proxyAdmin?: {
1534
4838
  owner: string;
1535
4839
  ownerOverrides?: Record<string, string> | undefined;
1536
4840
  address?: string | undefined;
1537
4841
  } | undefined;
1538
4842
  hook?: string | {
1539
- type: import("../index.js").HookType.MERKLE_TREE;
4843
+ type: HookType.MERKLE_TREE;
1540
4844
  } | {
1541
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
4845
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1542
4846
  owner: string;
1543
4847
  beneficiary: string;
1544
4848
  oracleKey: string;
@@ -1550,35 +4854,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1550
4854
  }>;
1551
4855
  ownerOverrides?: Record<string, string> | undefined;
1552
4856
  } | {
1553
- type: import("../index.js").HookType.PROTOCOL_FEE;
4857
+ type: HookType.PROTOCOL_FEE;
1554
4858
  owner: string;
1555
4859
  protocolFee: string;
1556
4860
  beneficiary: string;
1557
4861
  maxProtocolFee: string;
1558
4862
  ownerOverrides?: Record<string, string> | undefined;
1559
4863
  } | {
1560
- type: import("../index.js").HookType.PAUSABLE;
4864
+ type: HookType.PAUSABLE;
1561
4865
  owner: string;
1562
4866
  paused: boolean;
1563
4867
  ownerOverrides?: Record<string, string> | undefined;
1564
4868
  } | {
1565
- type: import("../index.js").HookType.OP_STACK;
4869
+ type: HookType.OP_STACK;
1566
4870
  owner: string;
1567
4871
  nativeBridge: string;
1568
4872
  destinationChain: string;
1569
4873
  ownerOverrides?: Record<string, string> | undefined;
1570
4874
  } | {
1571
- type: import("../index.js").HookType.ARB_L2_TO_L1;
4875
+ type: HookType.ARB_L2_TO_L1;
1572
4876
  destinationChain: string;
1573
4877
  arbSys: string;
1574
4878
  bridge?: string | undefined;
1575
4879
  childHook?: any;
1576
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
4880
+ } | {
4881
+ type: HookType.MAILBOX_DEFAULT;
4882
+ } | {
4883
+ type: HookType.CCIP;
4884
+ destinationChain: string;
4885
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
1577
4886
  interchainSecurityModule?: string | ({
1578
4887
  validators: string[];
1579
4888
  threshold: number;
1580
4889
  } & {
1581
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
4890
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1582
4891
  }) | ({
1583
4892
  validators: {
1584
4893
  signingAddress: string;
@@ -1586,32 +4895,35 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1586
4895
  }[];
1587
4896
  thresholdWeight: number;
1588
4897
  } & {
1589
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
4898
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1590
4899
  }) | {
1591
- type: import("../index.js").IsmType.TEST_ISM;
4900
+ type: IsmType.TEST_ISM;
1592
4901
  } | ({
1593
4902
  owner: string;
1594
4903
  paused: boolean;
1595
4904
  ownerOverrides?: Record<string, string> | undefined;
1596
4905
  } & {
1597
- type: import("../index.js").IsmType.PAUSABLE;
4906
+ type: IsmType.PAUSABLE;
1598
4907
  }) | {
1599
- type: import("../index.js").IsmType.OP_STACK;
4908
+ type: IsmType.OP_STACK;
1600
4909
  origin: string;
1601
4910
  nativeBridge: string;
1602
4911
  } | {
1603
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
4912
+ type: IsmType.TRUSTED_RELAYER;
1604
4913
  relayer: string;
1605
4914
  } | {
1606
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
4915
+ type: IsmType.CCIP;
4916
+ originChain: string;
4917
+ } | {
4918
+ type: IsmType.ARB_L2_TO_L1;
1607
4919
  bridge: string;
1608
- } | import("../index.js").RoutingIsmConfig | import("../index.js").AggregationIsmConfig | undefined;
4920
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
1609
4921
  foreignDeployment?: string | undefined;
1610
4922
  remoteRouters?: Record<string, {
1611
4923
  address: string;
1612
4924
  }> | undefined;
1613
- gas?: number | undefined;
1614
4925
  destinationGas?: Record<string, string> | undefined;
4926
+ mailbox?: string | undefined;
1615
4927
  }>>, Record<string, ({
1616
4928
  type: TokenType.native | TokenType.nativeScaled;
1617
4929
  symbol?: string | undefined;
@@ -1621,7 +4933,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1621
4933
  scale?: number | undefined;
1622
4934
  isNft?: boolean | undefined;
1623
4935
  } | {
1624
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
4936
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
4937
+ token: string;
4938
+ symbol?: string | undefined;
4939
+ name?: string | undefined;
4940
+ decimals?: number | undefined;
4941
+ totalSupply?: string | number | undefined;
4942
+ scale?: number | undefined;
4943
+ isNft?: boolean | undefined;
4944
+ } | {
4945
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
1625
4946
  token: string;
1626
4947
  symbol?: string | undefined;
1627
4948
  name?: string | undefined;
@@ -1629,6 +4950,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1629
4950
  totalSupply?: string | number | undefined;
1630
4951
  scale?: number | undefined;
1631
4952
  isNft?: boolean | undefined;
4953
+ xERC20?: {
4954
+ warpRouteLimits: {
4955
+ bufferCap?: string | undefined;
4956
+ rateLimitPerSecond?: string | undefined;
4957
+ };
4958
+ extraBridges?: {
4959
+ lockbox: string;
4960
+ limits: {
4961
+ bufferCap?: string | undefined;
4962
+ rateLimitPerSecond?: string | undefined;
4963
+ };
4964
+ }[] | undefined;
4965
+ } | undefined;
1632
4966
  } | {
1633
4967
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
1634
4968
  symbol?: string | undefined;
@@ -1648,17 +4982,17 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1648
4982
  isNft?: boolean | undefined;
1649
4983
  }) & {
1650
4984
  owner: string;
1651
- mailbox: string;
1652
4985
  ownerOverrides?: Record<string, string> | undefined;
4986
+ gas?: number | undefined;
1653
4987
  proxyAdmin?: {
1654
4988
  owner: string;
1655
4989
  ownerOverrides?: Record<string, string> | undefined;
1656
4990
  address?: string | undefined;
1657
4991
  } | undefined;
1658
4992
  hook?: string | {
1659
- type: import("../index.js").HookType.MERKLE_TREE;
4993
+ type: HookType.MERKLE_TREE;
1660
4994
  } | {
1661
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
4995
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1662
4996
  owner: string;
1663
4997
  beneficiary: string;
1664
4998
  oracleKey: string;
@@ -1670,35 +5004,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1670
5004
  }>;
1671
5005
  ownerOverrides?: Record<string, string> | undefined;
1672
5006
  } | {
1673
- type: import("../index.js").HookType.PROTOCOL_FEE;
5007
+ type: HookType.PROTOCOL_FEE;
1674
5008
  owner: string;
1675
5009
  protocolFee: string;
1676
5010
  beneficiary: string;
1677
5011
  maxProtocolFee: string;
1678
5012
  ownerOverrides?: Record<string, string> | undefined;
1679
5013
  } | {
1680
- type: import("../index.js").HookType.PAUSABLE;
5014
+ type: HookType.PAUSABLE;
1681
5015
  owner: string;
1682
5016
  paused: boolean;
1683
5017
  ownerOverrides?: Record<string, string> | undefined;
1684
5018
  } | {
1685
- type: import("../index.js").HookType.OP_STACK;
5019
+ type: HookType.OP_STACK;
1686
5020
  owner: string;
1687
5021
  nativeBridge: string;
1688
5022
  destinationChain: string;
1689
5023
  ownerOverrides?: Record<string, string> | undefined;
1690
5024
  } | {
1691
- type: import("../index.js").HookType.ARB_L2_TO_L1;
5025
+ type: HookType.ARB_L2_TO_L1;
1692
5026
  destinationChain: string;
1693
5027
  arbSys: string;
1694
5028
  bridge?: string | undefined;
1695
5029
  childHook?: any;
1696
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
5030
+ } | {
5031
+ type: HookType.MAILBOX_DEFAULT;
5032
+ } | {
5033
+ type: HookType.CCIP;
5034
+ destinationChain: string;
5035
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
1697
5036
  interchainSecurityModule?: string | ({
1698
5037
  validators: string[];
1699
5038
  threshold: number;
1700
5039
  } & {
1701
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
5040
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1702
5041
  }) | ({
1703
5042
  validators: {
1704
5043
  signingAddress: string;
@@ -1706,32 +5045,35 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1706
5045
  }[];
1707
5046
  thresholdWeight: number;
1708
5047
  } & {
1709
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
5048
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1710
5049
  }) | {
1711
- type: import("../index.js").IsmType.TEST_ISM;
5050
+ type: IsmType.TEST_ISM;
1712
5051
  } | ({
1713
5052
  owner: string;
1714
5053
  paused: boolean;
1715
5054
  ownerOverrides?: Record<string, string> | undefined;
1716
5055
  } & {
1717
- type: import("../index.js").IsmType.PAUSABLE;
5056
+ type: IsmType.PAUSABLE;
1718
5057
  }) | {
1719
- type: import("../index.js").IsmType.OP_STACK;
5058
+ type: IsmType.OP_STACK;
1720
5059
  origin: string;
1721
5060
  nativeBridge: string;
1722
5061
  } | {
1723
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
5062
+ type: IsmType.TRUSTED_RELAYER;
1724
5063
  relayer: string;
1725
5064
  } | {
1726
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
5065
+ type: IsmType.CCIP;
5066
+ originChain: string;
5067
+ } | {
5068
+ type: IsmType.ARB_L2_TO_L1;
1727
5069
  bridge: string;
1728
- } | import("../index.js").RoutingIsmConfig | import("../index.js").AggregationIsmConfig | undefined;
5070
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
1729
5071
  foreignDeployment?: string | undefined;
1730
5072
  remoteRouters?: Record<string, {
1731
5073
  address: string;
1732
5074
  }> | undefined;
1733
- gas?: number | undefined;
1734
5075
  destinationGas?: Record<string, string> | undefined;
5076
+ mailbox?: string | undefined;
1735
5077
  }>, Record<string, ({
1736
5078
  type: TokenType.native | TokenType.nativeScaled;
1737
5079
  symbol?: string | undefined;
@@ -1741,7 +5083,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1741
5083
  scale?: number | undefined;
1742
5084
  isNft?: boolean | undefined;
1743
5085
  } | {
1744
- type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.XERC20 | TokenType.XERC20Lockbox | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
5086
+ type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
5087
+ token: string;
5088
+ symbol?: string | undefined;
5089
+ name?: string | undefined;
5090
+ decimals?: number | undefined;
5091
+ totalSupply?: string | number | undefined;
5092
+ scale?: number | undefined;
5093
+ isNft?: boolean | undefined;
5094
+ } | {
5095
+ type: TokenType.XERC20 | TokenType.XERC20Lockbox;
1745
5096
  token: string;
1746
5097
  symbol?: string | undefined;
1747
5098
  name?: string | undefined;
@@ -1749,6 +5100,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1749
5100
  totalSupply?: string | number | undefined;
1750
5101
  scale?: number | undefined;
1751
5102
  isNft?: boolean | undefined;
5103
+ xERC20?: {
5104
+ warpRouteLimits: {
5105
+ bufferCap?: string | undefined;
5106
+ rateLimitPerSecond?: string | undefined;
5107
+ };
5108
+ extraBridges?: {
5109
+ lockbox: string;
5110
+ limits: {
5111
+ bufferCap?: string | undefined;
5112
+ rateLimitPerSecond?: string | undefined;
5113
+ };
5114
+ }[] | undefined;
5115
+ } | undefined;
1752
5116
  } | {
1753
5117
  type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
1754
5118
  symbol?: string | undefined;
@@ -1768,17 +5132,17 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1768
5132
  isNft?: boolean | undefined;
1769
5133
  }) & {
1770
5134
  owner: string;
1771
- mailbox: string;
1772
5135
  ownerOverrides?: Record<string, string> | undefined;
5136
+ gas?: number | undefined;
1773
5137
  proxyAdmin?: {
1774
5138
  owner: string;
1775
5139
  ownerOverrides?: Record<string, string> | undefined;
1776
5140
  address?: string | undefined;
1777
5141
  } | undefined;
1778
5142
  hook?: string | {
1779
- type: import("../index.js").HookType.MERKLE_TREE;
5143
+ type: HookType.MERKLE_TREE;
1780
5144
  } | {
1781
- type: import("../index.js").HookType.INTERCHAIN_GAS_PAYMASTER;
5145
+ type: HookType.INTERCHAIN_GAS_PAYMASTER;
1782
5146
  owner: string;
1783
5147
  beneficiary: string;
1784
5148
  oracleKey: string;
@@ -1790,35 +5154,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1790
5154
  }>;
1791
5155
  ownerOverrides?: Record<string, string> | undefined;
1792
5156
  } | {
1793
- type: import("../index.js").HookType.PROTOCOL_FEE;
5157
+ type: HookType.PROTOCOL_FEE;
1794
5158
  owner: string;
1795
5159
  protocolFee: string;
1796
5160
  beneficiary: string;
1797
5161
  maxProtocolFee: string;
1798
5162
  ownerOverrides?: Record<string, string> | undefined;
1799
5163
  } | {
1800
- type: import("../index.js").HookType.PAUSABLE;
5164
+ type: HookType.PAUSABLE;
1801
5165
  owner: string;
1802
5166
  paused: boolean;
1803
5167
  ownerOverrides?: Record<string, string> | undefined;
1804
5168
  } | {
1805
- type: import("../index.js").HookType.OP_STACK;
5169
+ type: HookType.OP_STACK;
1806
5170
  owner: string;
1807
5171
  nativeBridge: string;
1808
5172
  destinationChain: string;
1809
5173
  ownerOverrides?: Record<string, string> | undefined;
1810
5174
  } | {
1811
- type: import("../index.js").HookType.ARB_L2_TO_L1;
5175
+ type: HookType.ARB_L2_TO_L1;
1812
5176
  destinationChain: string;
1813
5177
  arbSys: string;
1814
5178
  bridge?: string | undefined;
1815
5179
  childHook?: any;
1816
- } | import("../index.js").DomainRoutingHookConfig | import("../index.js").FallbackRoutingHookConfig | import("../index.js").AggregationHookConfig | undefined;
5180
+ } | {
5181
+ type: HookType.MAILBOX_DEFAULT;
5182
+ } | {
5183
+ type: HookType.CCIP;
5184
+ destinationChain: string;
5185
+ } | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
1817
5186
  interchainSecurityModule?: string | ({
1818
5187
  validators: string[];
1819
5188
  threshold: number;
1820
5189
  } & {
1821
- type: import("../index.js").IsmType.MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.MESSAGE_ID_MULTISIG | import("../index.js").IsmType.STORAGE_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.STORAGE_MESSAGE_ID_MULTISIG;
5190
+ type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
1822
5191
  }) | ({
1823
5192
  validators: {
1824
5193
  signingAddress: string;
@@ -1826,32 +5195,42 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
1826
5195
  }[];
1827
5196
  thresholdWeight: number;
1828
5197
  } & {
1829
- type: import("../index.js").IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | import("../index.js").IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
5198
+ type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
1830
5199
  }) | {
1831
- type: import("../index.js").IsmType.TEST_ISM;
5200
+ type: IsmType.TEST_ISM;
1832
5201
  } | ({
1833
5202
  owner: string;
1834
5203
  paused: boolean;
1835
5204
  ownerOverrides?: Record<string, string> | undefined;
1836
5205
  } & {
1837
- type: import("../index.js").IsmType.PAUSABLE;
5206
+ type: IsmType.PAUSABLE;
1838
5207
  }) | {
1839
- type: import("../index.js").IsmType.OP_STACK;
5208
+ type: IsmType.OP_STACK;
1840
5209
  origin: string;
1841
5210
  nativeBridge: string;
1842
5211
  } | {
1843
- type: import("../index.js").IsmType.TRUSTED_RELAYER;
5212
+ type: IsmType.TRUSTED_RELAYER;
1844
5213
  relayer: string;
1845
5214
  } | {
1846
- type: import("../index.js").IsmType.ARB_L2_TO_L1;
5215
+ type: IsmType.CCIP;
5216
+ originChain: string;
5217
+ } | {
5218
+ type: IsmType.ARB_L2_TO_L1;
1847
5219
  bridge: string;
1848
- } | import("../index.js").RoutingIsmConfig | import("../index.js").AggregationIsmConfig | undefined;
5220
+ } | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
1849
5221
  foreignDeployment?: string | undefined;
1850
5222
  remoteRouters?: Record<string, {
1851
5223
  address: string;
1852
5224
  }> | undefined;
1853
- gas?: number | undefined;
1854
5225
  destinationGas?: Record<string, string> | undefined;
1855
- }>>;
1856
- export type WarpRouteDeployConfig = z.infer<typeof WarpRouteDeployConfigSchema>;
5226
+ mailbox?: string | undefined;
5227
+ }>>, z.ZodRecord<z.ZodString, z.ZodObject<{
5228
+ mailbox: z.ZodString;
5229
+ }, "strip", z.ZodTypeAny, {
5230
+ mailbox: string;
5231
+ }, {
5232
+ mailbox: string;
5233
+ }>>>;
5234
+ export type WarpRouteDeployConfigMailboxRequired = z.infer<typeof WarpRouteDeployConfigMailboxRequiredSchema>;
5235
+ export {};
1857
5236
  //# sourceMappingURL=types.d.ts.map