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