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