@hyperlane-xyz/sdk 8.8.1 → 8.9.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.
- package/dist/block-explorer/etherscan.d.ts +41 -0
- package/dist/block-explorer/etherscan.d.ts.map +1 -0
- package/dist/block-explorer/etherscan.js +53 -0
- package/dist/block-explorer/etherscan.js.map +1 -0
- package/dist/ccip/HyperlaneCCIPDeployer.d.ts +18 -0
- package/dist/ccip/HyperlaneCCIPDeployer.d.ts.map +1 -0
- package/dist/ccip/HyperlaneCCIPDeployer.js +122 -0
- package/dist/ccip/HyperlaneCCIPDeployer.js.map +1 -0
- package/dist/ccip/consts.d.ts +24 -0
- package/dist/ccip/consts.d.ts.map +1 -0
- package/dist/ccip/consts.js +691 -0
- package/dist/ccip/consts.js.map +1 -0
- package/dist/ccip/utils.d.ts +46 -0
- package/dist/ccip/utils.d.ts.map +1 -0
- package/dist/ccip/utils.js +95 -0
- package/dist/ccip/utils.js.map +1 -0
- package/dist/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +27 -9
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/contracts/contracts.d.ts +2 -2
- package/dist/contracts/contracts.d.ts.map +1 -1
- package/dist/contracts/contracts.js +4 -13
- package/dist/contracts/contracts.js.map +1 -1
- package/dist/core/HyperlaneRelayer.d.ts +43 -3
- package/dist/core/HyperlaneRelayer.d.ts.map +1 -1
- package/dist/core/types.d.ts +3558 -2040
- package/dist/core/types.d.ts.map +1 -1
- package/dist/deploy/proxy.d.ts.map +1 -1
- package/dist/deploy/proxy.js +4 -0
- package/dist/deploy/proxy.js.map +1 -1
- package/dist/deploy/verify/utils.d.ts.map +1 -1
- package/dist/deploy/verify/utils.js +3 -9
- package/dist/deploy/verify/utils.js.map +1 -1
- package/dist/hook/EvmHookModule.d.ts +12 -4
- package/dist/hook/EvmHookModule.d.ts.map +1 -1
- package/dist/hook/EvmHookModule.hardhat-test.js +2 -106
- package/dist/hook/EvmHookModule.hardhat-test.js.map +1 -1
- package/dist/hook/EvmHookModule.js +38 -10
- package/dist/hook/EvmHookModule.js.map +1 -1
- package/dist/hook/EvmHookReader.d.ts +7 -1
- package/dist/hook/EvmHookReader.d.ts.map +1 -1
- package/dist/hook/EvmHookReader.js +69 -4
- package/dist/hook/EvmHookReader.js.map +1 -1
- package/dist/hook/EvmHookReader.test.js +50 -1
- package/dist/hook/EvmHookReader.test.js.map +1 -1
- package/dist/hook/HyperlaneHookDeployer.d.ts +4 -2
- package/dist/hook/HyperlaneHookDeployer.d.ts.map +1 -1
- package/dist/hook/HyperlaneHookDeployer.js +34 -5
- package/dist/hook/HyperlaneHookDeployer.js.map +1 -1
- package/dist/hook/contracts.d.ts +4 -1
- package/dist/hook/contracts.d.ts.map +1 -1
- package/dist/hook/contracts.js +4 -1
- package/dist/hook/contracts.js.map +1 -1
- package/dist/hook/types.d.ts +2012 -3
- package/dist/hook/types.d.ts.map +1 -1
- package/dist/hook/types.js +28 -0
- package/dist/hook/types.js.map +1 -1
- package/dist/index.d.ts +11 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/ism/EvmIsmModule.d.ts +4 -2
- package/dist/ism/EvmIsmModule.d.ts.map +1 -1
- package/dist/ism/EvmIsmModule.hardhat-test.js +10 -71
- package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
- package/dist/ism/EvmIsmModule.js +4 -4
- package/dist/ism/EvmIsmModule.js.map +1 -1
- package/dist/ism/EvmIsmReader.d.ts +1 -0
- package/dist/ism/EvmIsmReader.d.ts.map +1 -1
- package/dist/ism/EvmIsmReader.js +45 -7
- package/dist/ism/EvmIsmReader.js.map +1 -1
- package/dist/ism/EvmIsmReader.test.js +4 -1
- package/dist/ism/EvmIsmReader.test.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts +9 -4
- package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js +15 -0
- package/dist/ism/HyperlaneIsmFactory.hardhat-test.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.js +43 -4
- package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
- package/dist/ism/metadata/builder.d.ts.map +1 -1
- package/dist/ism/metadata/builder.js +1 -0
- package/dist/ism/metadata/builder.js.map +1 -1
- package/dist/ism/metadata/routing.d.ts.map +1 -1
- package/dist/ism/metadata/routing.js +8 -2
- package/dist/ism/metadata/routing.js.map +1 -1
- package/dist/ism/types.d.ts +34 -5
- package/dist/ism/types.d.ts.map +1 -1
- package/dist/ism/types.js +15 -0
- package/dist/ism/types.js.map +1 -1
- package/dist/ism/utils.d.ts.map +1 -1
- package/dist/ism/utils.js +30 -2
- package/dist/ism/utils.js.map +1 -1
- package/dist/metadata/agentConfig.d.ts +276 -276
- package/dist/metadata/deploymentArtifacts.d.ts +2 -2
- package/dist/router/types.d.ts +129 -9
- package/dist/router/types.d.ts.map +1 -1
- package/dist/test/testUtils.d.ts +8 -0
- package/dist/test/testUtils.d.ts.map +1 -1
- package/dist/test/testUtils.js +191 -1
- package/dist/test/testUtils.js.map +1 -1
- package/dist/token/EvmERC20WarpModule.d.ts +4 -1
- package/dist/token/EvmERC20WarpModule.d.ts.map +1 -1
- package/dist/token/EvmERC20WarpModule.js +12 -8
- package/dist/token/EvmERC20WarpModule.js.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.d.ts +4 -3
- package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js +72 -3
- package/dist/token/EvmERC20WarpRouteReader.hardhat-test.js.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.js +84 -15
- package/dist/token/EvmERC20WarpRouteReader.js.map +1 -1
- package/dist/token/adapters/EvmTokenAdapter.d.ts +49 -15
- package/dist/token/adapters/EvmTokenAdapter.d.ts.map +1 -1
- package/dist/token/adapters/EvmTokenAdapter.js +152 -42
- package/dist/token/adapters/EvmTokenAdapter.js.map +1 -1
- package/dist/token/adapters/ITokenAdapter.d.ts +19 -0
- package/dist/token/adapters/ITokenAdapter.d.ts.map +1 -1
- package/dist/token/checker.d.ts +4 -1
- package/dist/token/checker.d.ts.map +1 -1
- package/dist/token/checker.js +33 -5
- package/dist/token/checker.js.map +1 -1
- package/dist/token/config.d.ts +1 -0
- package/dist/token/config.d.ts.map +1 -1
- package/dist/token/config.js +1 -0
- package/dist/token/config.js.map +1 -1
- package/dist/token/configUtils.d.ts +10 -0
- package/dist/token/configUtils.d.ts.map +1 -0
- package/dist/token/configUtils.js +48 -0
- package/dist/token/configUtils.js.map +1 -0
- package/dist/token/deploy.d.ts.map +1 -1
- package/dist/token/deploy.hardhat-test.js +69 -6
- package/dist/token/deploy.hardhat-test.js.map +1 -1
- package/dist/token/deploy.js +6 -4
- package/dist/token/deploy.js.map +1 -1
- package/dist/token/types.d.ts +1333 -220
- package/dist/token/types.d.ts.map +1 -1
- package/dist/token/types.js +117 -2
- package/dist/token/types.js.map +1 -1
- package/dist/token/xerc20.d.ts +13 -0
- package/dist/token/xerc20.d.ts.map +1 -0
- package/dist/token/xerc20.js +174 -0
- package/dist/token/xerc20.js.map +1 -0
- package/dist/warp/types.d.ts +14 -14
- package/package.json +3 -3
package/dist/token/types.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { HookType } from '../hook/types.js';
|
|
3
|
+
import { IsmType } from '../ism/types.js';
|
|
2
4
|
import { TokenType } from './config.js';
|
|
3
5
|
export declare const WarpRouteDeployConfigSchemaErrors: {
|
|
4
6
|
ONLY_SYNTHETIC_REBASE: string;
|
|
@@ -77,10 +79,10 @@ export declare const CollateralTokenConfigSchema: z.ZodObject<{
|
|
|
77
79
|
totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
78
80
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
79
81
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
80
|
-
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.
|
|
82
|
+
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
|
|
81
83
|
token: z.ZodString;
|
|
82
84
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
85
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
84
86
|
token: string;
|
|
85
87
|
symbol?: string | undefined;
|
|
86
88
|
name?: string | undefined;
|
|
@@ -89,7 +91,7 @@ export declare const CollateralTokenConfigSchema: z.ZodObject<{
|
|
|
89
91
|
scale?: number | undefined;
|
|
90
92
|
isNft?: boolean | undefined;
|
|
91
93
|
}, {
|
|
92
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
94
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
93
95
|
token: string;
|
|
94
96
|
symbol?: string | undefined;
|
|
95
97
|
name?: string | undefined;
|
|
@@ -100,7 +102,7 @@ export declare const CollateralTokenConfigSchema: z.ZodObject<{
|
|
|
100
102
|
}>;
|
|
101
103
|
export type CollateralTokenConfig = z.infer<typeof CollateralTokenConfigSchema>;
|
|
102
104
|
export declare const isCollateralTokenConfig: (config: unknown) => config is {
|
|
103
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
105
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
104
106
|
token: string;
|
|
105
107
|
symbol?: string | undefined;
|
|
106
108
|
name?: string | undefined;
|
|
@@ -109,6 +111,274 @@ export declare const isCollateralTokenConfig: (config: unknown) => config is {
|
|
|
109
111
|
scale?: number | undefined;
|
|
110
112
|
isNft?: boolean | undefined;
|
|
111
113
|
};
|
|
114
|
+
declare const xERC20LimitConfigSchema: z.ZodObject<{
|
|
115
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
116
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
bufferCap?: string | undefined;
|
|
119
|
+
rateLimitPerSecond?: string | undefined;
|
|
120
|
+
}, {
|
|
121
|
+
bufferCap?: string | undefined;
|
|
122
|
+
rateLimitPerSecond?: string | undefined;
|
|
123
|
+
}>;
|
|
124
|
+
export type XERC20LimitConfig = z.infer<typeof xERC20LimitConfigSchema>;
|
|
125
|
+
declare const xERC20ExtraBridgesLimitConfigsSchema: z.ZodObject<{
|
|
126
|
+
lockbox: z.ZodString;
|
|
127
|
+
limits: z.ZodObject<{
|
|
128
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
129
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
bufferCap?: string | undefined;
|
|
132
|
+
rateLimitPerSecond?: string | undefined;
|
|
133
|
+
}, {
|
|
134
|
+
bufferCap?: string | undefined;
|
|
135
|
+
rateLimitPerSecond?: string | undefined;
|
|
136
|
+
}>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
lockbox: string;
|
|
139
|
+
limits: {
|
|
140
|
+
bufferCap?: string | undefined;
|
|
141
|
+
rateLimitPerSecond?: string | undefined;
|
|
142
|
+
};
|
|
143
|
+
}, {
|
|
144
|
+
lockbox: string;
|
|
145
|
+
limits: {
|
|
146
|
+
bufferCap?: string | undefined;
|
|
147
|
+
rateLimitPerSecond?: string | undefined;
|
|
148
|
+
};
|
|
149
|
+
}>;
|
|
150
|
+
declare const xERC20TokenMetadataSchema: z.ZodObject<{
|
|
151
|
+
xERC20: z.ZodOptional<z.ZodObject<{
|
|
152
|
+
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
|
+
lockbox: z.ZodString;
|
|
154
|
+
limits: z.ZodObject<{
|
|
155
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
156
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
bufferCap?: string | undefined;
|
|
159
|
+
rateLimitPerSecond?: string | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
bufferCap?: string | undefined;
|
|
162
|
+
rateLimitPerSecond?: string | undefined;
|
|
163
|
+
}>;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
lockbox: string;
|
|
166
|
+
limits: {
|
|
167
|
+
bufferCap?: string | undefined;
|
|
168
|
+
rateLimitPerSecond?: string | undefined;
|
|
169
|
+
};
|
|
170
|
+
}, {
|
|
171
|
+
lockbox: string;
|
|
172
|
+
limits: {
|
|
173
|
+
bufferCap?: string | undefined;
|
|
174
|
+
rateLimitPerSecond?: string | undefined;
|
|
175
|
+
};
|
|
176
|
+
}>, "many">>;
|
|
177
|
+
warpRouteLimits: z.ZodObject<{
|
|
178
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
179
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
bufferCap?: string | undefined;
|
|
182
|
+
rateLimitPerSecond?: string | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
bufferCap?: string | undefined;
|
|
185
|
+
rateLimitPerSecond?: string | undefined;
|
|
186
|
+
}>;
|
|
187
|
+
}, "strip", z.ZodTypeAny, {
|
|
188
|
+
warpRouteLimits: {
|
|
189
|
+
bufferCap?: string | undefined;
|
|
190
|
+
rateLimitPerSecond?: string | undefined;
|
|
191
|
+
};
|
|
192
|
+
extraBridges?: {
|
|
193
|
+
lockbox: string;
|
|
194
|
+
limits: {
|
|
195
|
+
bufferCap?: string | undefined;
|
|
196
|
+
rateLimitPerSecond?: string | undefined;
|
|
197
|
+
};
|
|
198
|
+
}[] | undefined;
|
|
199
|
+
}, {
|
|
200
|
+
warpRouteLimits: {
|
|
201
|
+
bufferCap?: string | undefined;
|
|
202
|
+
rateLimitPerSecond?: string | undefined;
|
|
203
|
+
};
|
|
204
|
+
extraBridges?: {
|
|
205
|
+
lockbox: string;
|
|
206
|
+
limits: {
|
|
207
|
+
bufferCap?: string | undefined;
|
|
208
|
+
rateLimitPerSecond?: string | undefined;
|
|
209
|
+
};
|
|
210
|
+
}[] | undefined;
|
|
211
|
+
}>>;
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
xERC20?: {
|
|
214
|
+
warpRouteLimits: {
|
|
215
|
+
bufferCap?: string | undefined;
|
|
216
|
+
rateLimitPerSecond?: string | undefined;
|
|
217
|
+
};
|
|
218
|
+
extraBridges?: {
|
|
219
|
+
lockbox: string;
|
|
220
|
+
limits: {
|
|
221
|
+
bufferCap?: string | undefined;
|
|
222
|
+
rateLimitPerSecond?: string | undefined;
|
|
223
|
+
};
|
|
224
|
+
}[] | undefined;
|
|
225
|
+
} | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
xERC20?: {
|
|
228
|
+
warpRouteLimits: {
|
|
229
|
+
bufferCap?: string | undefined;
|
|
230
|
+
rateLimitPerSecond?: string | undefined;
|
|
231
|
+
};
|
|
232
|
+
extraBridges?: {
|
|
233
|
+
lockbox: string;
|
|
234
|
+
limits: {
|
|
235
|
+
bufferCap?: string | undefined;
|
|
236
|
+
rateLimitPerSecond?: string | undefined;
|
|
237
|
+
};
|
|
238
|
+
}[] | undefined;
|
|
239
|
+
} | undefined;
|
|
240
|
+
}>;
|
|
241
|
+
export type XERC20TokenMetadata = z.infer<typeof xERC20TokenMetadataSchema>;
|
|
242
|
+
export type XERC20TokenExtraBridgesLimits = z.infer<typeof xERC20ExtraBridgesLimitConfigsSchema>;
|
|
243
|
+
export declare const XERC20TokenConfigSchema: z.ZodObject<{
|
|
244
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
245
|
+
type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
|
|
246
|
+
name: z.ZodOptional<z.ZodString>;
|
|
247
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
248
|
+
token: z.ZodString;
|
|
249
|
+
totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
250
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
251
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
252
|
+
xERC20: z.ZodOptional<z.ZodObject<{
|
|
253
|
+
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
254
|
+
lockbox: z.ZodString;
|
|
255
|
+
limits: z.ZodObject<{
|
|
256
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
257
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
258
|
+
}, "strip", z.ZodTypeAny, {
|
|
259
|
+
bufferCap?: string | undefined;
|
|
260
|
+
rateLimitPerSecond?: string | undefined;
|
|
261
|
+
}, {
|
|
262
|
+
bufferCap?: string | undefined;
|
|
263
|
+
rateLimitPerSecond?: string | undefined;
|
|
264
|
+
}>;
|
|
265
|
+
}, "strip", z.ZodTypeAny, {
|
|
266
|
+
lockbox: string;
|
|
267
|
+
limits: {
|
|
268
|
+
bufferCap?: string | undefined;
|
|
269
|
+
rateLimitPerSecond?: string | undefined;
|
|
270
|
+
};
|
|
271
|
+
}, {
|
|
272
|
+
lockbox: string;
|
|
273
|
+
limits: {
|
|
274
|
+
bufferCap?: string | undefined;
|
|
275
|
+
rateLimitPerSecond?: string | undefined;
|
|
276
|
+
};
|
|
277
|
+
}>, "many">>;
|
|
278
|
+
warpRouteLimits: z.ZodObject<{
|
|
279
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
280
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
281
|
+
}, "strip", z.ZodTypeAny, {
|
|
282
|
+
bufferCap?: string | undefined;
|
|
283
|
+
rateLimitPerSecond?: string | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
bufferCap?: string | undefined;
|
|
286
|
+
rateLimitPerSecond?: string | undefined;
|
|
287
|
+
}>;
|
|
288
|
+
}, "strip", z.ZodTypeAny, {
|
|
289
|
+
warpRouteLimits: {
|
|
290
|
+
bufferCap?: string | undefined;
|
|
291
|
+
rateLimitPerSecond?: string | undefined;
|
|
292
|
+
};
|
|
293
|
+
extraBridges?: {
|
|
294
|
+
lockbox: string;
|
|
295
|
+
limits: {
|
|
296
|
+
bufferCap?: string | undefined;
|
|
297
|
+
rateLimitPerSecond?: string | undefined;
|
|
298
|
+
};
|
|
299
|
+
}[] | undefined;
|
|
300
|
+
}, {
|
|
301
|
+
warpRouteLimits: {
|
|
302
|
+
bufferCap?: string | undefined;
|
|
303
|
+
rateLimitPerSecond?: string | undefined;
|
|
304
|
+
};
|
|
305
|
+
extraBridges?: {
|
|
306
|
+
lockbox: string;
|
|
307
|
+
limits: {
|
|
308
|
+
bufferCap?: string | undefined;
|
|
309
|
+
rateLimitPerSecond?: string | undefined;
|
|
310
|
+
};
|
|
311
|
+
}[] | undefined;
|
|
312
|
+
}>>;
|
|
313
|
+
}, "strip", z.ZodTypeAny, {
|
|
314
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
315
|
+
token: string;
|
|
316
|
+
symbol?: string | undefined;
|
|
317
|
+
name?: string | undefined;
|
|
318
|
+
decimals?: number | undefined;
|
|
319
|
+
totalSupply?: string | number | undefined;
|
|
320
|
+
scale?: number | undefined;
|
|
321
|
+
isNft?: boolean | undefined;
|
|
322
|
+
xERC20?: {
|
|
323
|
+
warpRouteLimits: {
|
|
324
|
+
bufferCap?: string | undefined;
|
|
325
|
+
rateLimitPerSecond?: string | undefined;
|
|
326
|
+
};
|
|
327
|
+
extraBridges?: {
|
|
328
|
+
lockbox: string;
|
|
329
|
+
limits: {
|
|
330
|
+
bufferCap?: string | undefined;
|
|
331
|
+
rateLimitPerSecond?: string | undefined;
|
|
332
|
+
};
|
|
333
|
+
}[] | undefined;
|
|
334
|
+
} | undefined;
|
|
335
|
+
}, {
|
|
336
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
337
|
+
token: string;
|
|
338
|
+
symbol?: string | undefined;
|
|
339
|
+
name?: string | undefined;
|
|
340
|
+
decimals?: number | undefined;
|
|
341
|
+
totalSupply?: string | number | undefined;
|
|
342
|
+
scale?: number | undefined;
|
|
343
|
+
isNft?: boolean | undefined;
|
|
344
|
+
xERC20?: {
|
|
345
|
+
warpRouteLimits: {
|
|
346
|
+
bufferCap?: string | undefined;
|
|
347
|
+
rateLimitPerSecond?: string | undefined;
|
|
348
|
+
};
|
|
349
|
+
extraBridges?: {
|
|
350
|
+
lockbox: string;
|
|
351
|
+
limits: {
|
|
352
|
+
bufferCap?: string | undefined;
|
|
353
|
+
rateLimitPerSecond?: string | undefined;
|
|
354
|
+
};
|
|
355
|
+
}[] | undefined;
|
|
356
|
+
} | undefined;
|
|
357
|
+
}>;
|
|
358
|
+
export type XERC20LimitsTokenConfig = z.infer<typeof XERC20TokenConfigSchema>;
|
|
359
|
+
export declare const isXERC20TokenConfig: (config: unknown) => config is {
|
|
360
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
361
|
+
token: string;
|
|
362
|
+
symbol?: string | undefined;
|
|
363
|
+
name?: string | undefined;
|
|
364
|
+
decimals?: number | undefined;
|
|
365
|
+
totalSupply?: string | number | undefined;
|
|
366
|
+
scale?: number | undefined;
|
|
367
|
+
isNft?: boolean | undefined;
|
|
368
|
+
xERC20?: {
|
|
369
|
+
warpRouteLimits: {
|
|
370
|
+
bufferCap?: string | undefined;
|
|
371
|
+
rateLimitPerSecond?: string | undefined;
|
|
372
|
+
};
|
|
373
|
+
extraBridges?: {
|
|
374
|
+
lockbox: string;
|
|
375
|
+
limits: {
|
|
376
|
+
bufferCap?: string | undefined;
|
|
377
|
+
rateLimitPerSecond?: string | undefined;
|
|
378
|
+
};
|
|
379
|
+
}[] | undefined;
|
|
380
|
+
} | undefined;
|
|
381
|
+
};
|
|
112
382
|
export declare const CollateralRebaseTokenConfigSchema: z.ZodObject<{
|
|
113
383
|
symbol: z.ZodOptional<z.ZodString>;
|
|
114
384
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -249,10 +519,10 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
249
519
|
totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
250
520
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
251
521
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
252
|
-
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.
|
|
522
|
+
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
|
|
253
523
|
token: z.ZodString;
|
|
254
524
|
}, "strip", z.ZodTypeAny, {
|
|
255
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
525
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
256
526
|
token: string;
|
|
257
527
|
symbol?: string | undefined;
|
|
258
528
|
name?: string | undefined;
|
|
@@ -261,7 +531,7 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
261
531
|
scale?: number | undefined;
|
|
262
532
|
isNft?: boolean | undefined;
|
|
263
533
|
}, {
|
|
264
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
534
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
265
535
|
token: string;
|
|
266
536
|
symbol?: string | undefined;
|
|
267
537
|
name?: string | undefined;
|
|
@@ -269,6 +539,120 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
269
539
|
totalSupply?: string | number | undefined;
|
|
270
540
|
scale?: number | undefined;
|
|
271
541
|
isNft?: boolean | undefined;
|
|
542
|
+
}>, z.ZodObject<{
|
|
543
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
544
|
+
type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
|
|
545
|
+
name: z.ZodOptional<z.ZodString>;
|
|
546
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
547
|
+
token: z.ZodString;
|
|
548
|
+
totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
549
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
550
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
551
|
+
xERC20: z.ZodOptional<z.ZodObject<{
|
|
552
|
+
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
553
|
+
lockbox: z.ZodString;
|
|
554
|
+
limits: z.ZodObject<{
|
|
555
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
556
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
557
|
+
}, "strip", z.ZodTypeAny, {
|
|
558
|
+
bufferCap?: string | undefined;
|
|
559
|
+
rateLimitPerSecond?: string | undefined;
|
|
560
|
+
}, {
|
|
561
|
+
bufferCap?: string | undefined;
|
|
562
|
+
rateLimitPerSecond?: string | undefined;
|
|
563
|
+
}>;
|
|
564
|
+
}, "strip", z.ZodTypeAny, {
|
|
565
|
+
lockbox: string;
|
|
566
|
+
limits: {
|
|
567
|
+
bufferCap?: string | undefined;
|
|
568
|
+
rateLimitPerSecond?: string | undefined;
|
|
569
|
+
};
|
|
570
|
+
}, {
|
|
571
|
+
lockbox: string;
|
|
572
|
+
limits: {
|
|
573
|
+
bufferCap?: string | undefined;
|
|
574
|
+
rateLimitPerSecond?: string | undefined;
|
|
575
|
+
};
|
|
576
|
+
}>, "many">>;
|
|
577
|
+
warpRouteLimits: z.ZodObject<{
|
|
578
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
579
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
580
|
+
}, "strip", z.ZodTypeAny, {
|
|
581
|
+
bufferCap?: string | undefined;
|
|
582
|
+
rateLimitPerSecond?: string | undefined;
|
|
583
|
+
}, {
|
|
584
|
+
bufferCap?: string | undefined;
|
|
585
|
+
rateLimitPerSecond?: string | undefined;
|
|
586
|
+
}>;
|
|
587
|
+
}, "strip", z.ZodTypeAny, {
|
|
588
|
+
warpRouteLimits: {
|
|
589
|
+
bufferCap?: string | undefined;
|
|
590
|
+
rateLimitPerSecond?: string | undefined;
|
|
591
|
+
};
|
|
592
|
+
extraBridges?: {
|
|
593
|
+
lockbox: string;
|
|
594
|
+
limits: {
|
|
595
|
+
bufferCap?: string | undefined;
|
|
596
|
+
rateLimitPerSecond?: string | undefined;
|
|
597
|
+
};
|
|
598
|
+
}[] | undefined;
|
|
599
|
+
}, {
|
|
600
|
+
warpRouteLimits: {
|
|
601
|
+
bufferCap?: string | undefined;
|
|
602
|
+
rateLimitPerSecond?: string | undefined;
|
|
603
|
+
};
|
|
604
|
+
extraBridges?: {
|
|
605
|
+
lockbox: string;
|
|
606
|
+
limits: {
|
|
607
|
+
bufferCap?: string | undefined;
|
|
608
|
+
rateLimitPerSecond?: string | undefined;
|
|
609
|
+
};
|
|
610
|
+
}[] | undefined;
|
|
611
|
+
}>>;
|
|
612
|
+
}, "strip", z.ZodTypeAny, {
|
|
613
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
614
|
+
token: string;
|
|
615
|
+
symbol?: string | undefined;
|
|
616
|
+
name?: string | undefined;
|
|
617
|
+
decimals?: number | undefined;
|
|
618
|
+
totalSupply?: string | number | undefined;
|
|
619
|
+
scale?: number | undefined;
|
|
620
|
+
isNft?: boolean | undefined;
|
|
621
|
+
xERC20?: {
|
|
622
|
+
warpRouteLimits: {
|
|
623
|
+
bufferCap?: string | undefined;
|
|
624
|
+
rateLimitPerSecond?: string | undefined;
|
|
625
|
+
};
|
|
626
|
+
extraBridges?: {
|
|
627
|
+
lockbox: string;
|
|
628
|
+
limits: {
|
|
629
|
+
bufferCap?: string | undefined;
|
|
630
|
+
rateLimitPerSecond?: string | undefined;
|
|
631
|
+
};
|
|
632
|
+
}[] | undefined;
|
|
633
|
+
} | undefined;
|
|
634
|
+
}, {
|
|
635
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
636
|
+
token: string;
|
|
637
|
+
symbol?: string | undefined;
|
|
638
|
+
name?: string | undefined;
|
|
639
|
+
decimals?: number | undefined;
|
|
640
|
+
totalSupply?: string | number | undefined;
|
|
641
|
+
scale?: number | undefined;
|
|
642
|
+
isNft?: boolean | undefined;
|
|
643
|
+
xERC20?: {
|
|
644
|
+
warpRouteLimits: {
|
|
645
|
+
bufferCap?: string | undefined;
|
|
646
|
+
rateLimitPerSecond?: string | undefined;
|
|
647
|
+
};
|
|
648
|
+
extraBridges?: {
|
|
649
|
+
lockbox: string;
|
|
650
|
+
limits: {
|
|
651
|
+
bufferCap?: string | undefined;
|
|
652
|
+
rateLimitPerSecond?: string | undefined;
|
|
653
|
+
};
|
|
654
|
+
}[] | undefined;
|
|
655
|
+
} | undefined;
|
|
272
656
|
}>, z.ZodObject<{
|
|
273
657
|
symbol: z.ZodOptional<z.ZodString>;
|
|
274
658
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -353,10 +737,98 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
353
737
|
totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
354
738
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
355
739
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
356
|
-
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.
|
|
740
|
+
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
|
|
741
|
+
token: z.ZodString;
|
|
742
|
+
}, "strip", z.ZodTypeAny, {
|
|
743
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
744
|
+
token: string;
|
|
745
|
+
symbol?: string | undefined;
|
|
746
|
+
name?: string | undefined;
|
|
747
|
+
decimals?: number | undefined;
|
|
748
|
+
totalSupply?: string | number | undefined;
|
|
749
|
+
scale?: number | undefined;
|
|
750
|
+
isNft?: boolean | undefined;
|
|
751
|
+
}, {
|
|
752
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
753
|
+
token: string;
|
|
754
|
+
symbol?: string | undefined;
|
|
755
|
+
name?: string | undefined;
|
|
756
|
+
decimals?: number | undefined;
|
|
757
|
+
totalSupply?: string | number | undefined;
|
|
758
|
+
scale?: number | undefined;
|
|
759
|
+
isNft?: boolean | undefined;
|
|
760
|
+
}>, z.ZodObject<{
|
|
761
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
762
|
+
type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
|
|
763
|
+
name: z.ZodOptional<z.ZodString>;
|
|
764
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
357
765
|
token: z.ZodString;
|
|
766
|
+
totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
767
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
768
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
769
|
+
xERC20: z.ZodOptional<z.ZodObject<{
|
|
770
|
+
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
771
|
+
lockbox: z.ZodString;
|
|
772
|
+
limits: z.ZodObject<{
|
|
773
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
774
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
775
|
+
}, "strip", z.ZodTypeAny, {
|
|
776
|
+
bufferCap?: string | undefined;
|
|
777
|
+
rateLimitPerSecond?: string | undefined;
|
|
778
|
+
}, {
|
|
779
|
+
bufferCap?: string | undefined;
|
|
780
|
+
rateLimitPerSecond?: string | undefined;
|
|
781
|
+
}>;
|
|
782
|
+
}, "strip", z.ZodTypeAny, {
|
|
783
|
+
lockbox: string;
|
|
784
|
+
limits: {
|
|
785
|
+
bufferCap?: string | undefined;
|
|
786
|
+
rateLimitPerSecond?: string | undefined;
|
|
787
|
+
};
|
|
788
|
+
}, {
|
|
789
|
+
lockbox: string;
|
|
790
|
+
limits: {
|
|
791
|
+
bufferCap?: string | undefined;
|
|
792
|
+
rateLimitPerSecond?: string | undefined;
|
|
793
|
+
};
|
|
794
|
+
}>, "many">>;
|
|
795
|
+
warpRouteLimits: z.ZodObject<{
|
|
796
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
797
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
798
|
+
}, "strip", z.ZodTypeAny, {
|
|
799
|
+
bufferCap?: string | undefined;
|
|
800
|
+
rateLimitPerSecond?: string | undefined;
|
|
801
|
+
}, {
|
|
802
|
+
bufferCap?: string | undefined;
|
|
803
|
+
rateLimitPerSecond?: string | undefined;
|
|
804
|
+
}>;
|
|
805
|
+
}, "strip", z.ZodTypeAny, {
|
|
806
|
+
warpRouteLimits: {
|
|
807
|
+
bufferCap?: string | undefined;
|
|
808
|
+
rateLimitPerSecond?: string | undefined;
|
|
809
|
+
};
|
|
810
|
+
extraBridges?: {
|
|
811
|
+
lockbox: string;
|
|
812
|
+
limits: {
|
|
813
|
+
bufferCap?: string | undefined;
|
|
814
|
+
rateLimitPerSecond?: string | undefined;
|
|
815
|
+
};
|
|
816
|
+
}[] | undefined;
|
|
817
|
+
}, {
|
|
818
|
+
warpRouteLimits: {
|
|
819
|
+
bufferCap?: string | undefined;
|
|
820
|
+
rateLimitPerSecond?: string | undefined;
|
|
821
|
+
};
|
|
822
|
+
extraBridges?: {
|
|
823
|
+
lockbox: string;
|
|
824
|
+
limits: {
|
|
825
|
+
bufferCap?: string | undefined;
|
|
826
|
+
rateLimitPerSecond?: string | undefined;
|
|
827
|
+
};
|
|
828
|
+
}[] | undefined;
|
|
829
|
+
}>>;
|
|
358
830
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
type: TokenType.
|
|
831
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
360
832
|
token: string;
|
|
361
833
|
symbol?: string | undefined;
|
|
362
834
|
name?: string | undefined;
|
|
@@ -364,8 +836,21 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
364
836
|
totalSupply?: string | number | undefined;
|
|
365
837
|
scale?: number | undefined;
|
|
366
838
|
isNft?: boolean | undefined;
|
|
839
|
+
xERC20?: {
|
|
840
|
+
warpRouteLimits: {
|
|
841
|
+
bufferCap?: string | undefined;
|
|
842
|
+
rateLimitPerSecond?: string | undefined;
|
|
843
|
+
};
|
|
844
|
+
extraBridges?: {
|
|
845
|
+
lockbox: string;
|
|
846
|
+
limits: {
|
|
847
|
+
bufferCap?: string | undefined;
|
|
848
|
+
rateLimitPerSecond?: string | undefined;
|
|
849
|
+
};
|
|
850
|
+
}[] | undefined;
|
|
851
|
+
} | undefined;
|
|
367
852
|
}, {
|
|
368
|
-
type: TokenType.
|
|
853
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
369
854
|
token: string;
|
|
370
855
|
symbol?: string | undefined;
|
|
371
856
|
name?: string | undefined;
|
|
@@ -373,6 +858,19 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
373
858
|
totalSupply?: string | number | undefined;
|
|
374
859
|
scale?: number | undefined;
|
|
375
860
|
isNft?: boolean | undefined;
|
|
861
|
+
xERC20?: {
|
|
862
|
+
warpRouteLimits: {
|
|
863
|
+
bufferCap?: string | undefined;
|
|
864
|
+
rateLimitPerSecond?: string | undefined;
|
|
865
|
+
};
|
|
866
|
+
extraBridges?: {
|
|
867
|
+
lockbox: string;
|
|
868
|
+
limits: {
|
|
869
|
+
bufferCap?: string | undefined;
|
|
870
|
+
rateLimitPerSecond?: string | undefined;
|
|
871
|
+
};
|
|
872
|
+
}[] | undefined;
|
|
873
|
+
} | undefined;
|
|
376
874
|
}>, z.ZodObject<{
|
|
377
875
|
symbol: z.ZodOptional<z.ZodString>;
|
|
378
876
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -444,19 +942,19 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
444
942
|
hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
445
943
|
owner: z.ZodString;
|
|
446
944
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
447
|
-
type: z.ZodLiteral<
|
|
945
|
+
type: z.ZodLiteral<HookType.PROTOCOL_FEE>;
|
|
448
946
|
beneficiary: z.ZodString;
|
|
449
947
|
maxProtocolFee: z.ZodString;
|
|
450
948
|
protocolFee: z.ZodString;
|
|
451
949
|
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
type:
|
|
950
|
+
type: HookType.PROTOCOL_FEE;
|
|
453
951
|
owner: string;
|
|
454
952
|
protocolFee: string;
|
|
455
953
|
beneficiary: string;
|
|
456
954
|
maxProtocolFee: string;
|
|
457
955
|
ownerOverrides?: Record<string, string> | undefined;
|
|
458
956
|
}, {
|
|
459
|
-
type:
|
|
957
|
+
type: HookType.PROTOCOL_FEE;
|
|
460
958
|
owner: string;
|
|
461
959
|
protocolFee: string;
|
|
462
960
|
beneficiary: string;
|
|
@@ -466,45 +964,45 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
466
964
|
owner: z.ZodString;
|
|
467
965
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
468
966
|
paused: z.ZodBoolean;
|
|
469
|
-
type: z.ZodLiteral<
|
|
967
|
+
type: z.ZodLiteral<HookType.PAUSABLE>;
|
|
470
968
|
}, "strip", z.ZodTypeAny, {
|
|
471
|
-
type:
|
|
969
|
+
type: HookType.PAUSABLE;
|
|
472
970
|
owner: string;
|
|
473
971
|
paused: boolean;
|
|
474
972
|
ownerOverrides?: Record<string, string> | undefined;
|
|
475
973
|
}, {
|
|
476
|
-
type:
|
|
974
|
+
type: HookType.PAUSABLE;
|
|
477
975
|
owner: string;
|
|
478
976
|
paused: boolean;
|
|
479
977
|
ownerOverrides?: Record<string, string> | undefined;
|
|
480
978
|
}>, z.ZodObject<{
|
|
481
979
|
owner: z.ZodString;
|
|
482
980
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
483
|
-
type: z.ZodLiteral<
|
|
981
|
+
type: z.ZodLiteral<HookType.OP_STACK>;
|
|
484
982
|
nativeBridge: z.ZodString;
|
|
485
983
|
destinationChain: z.ZodString;
|
|
486
984
|
}, "strip", z.ZodTypeAny, {
|
|
487
|
-
type:
|
|
985
|
+
type: HookType.OP_STACK;
|
|
488
986
|
owner: string;
|
|
489
987
|
nativeBridge: string;
|
|
490
988
|
destinationChain: string;
|
|
491
989
|
ownerOverrides?: Record<string, string> | undefined;
|
|
492
990
|
}, {
|
|
493
|
-
type:
|
|
991
|
+
type: HookType.OP_STACK;
|
|
494
992
|
owner: string;
|
|
495
993
|
nativeBridge: string;
|
|
496
994
|
destinationChain: string;
|
|
497
995
|
ownerOverrides?: Record<string, string> | undefined;
|
|
498
996
|
}>, z.ZodObject<{
|
|
499
|
-
type: z.ZodLiteral<
|
|
997
|
+
type: z.ZodLiteral<HookType.MERKLE_TREE>;
|
|
500
998
|
}, "strip", z.ZodTypeAny, {
|
|
501
|
-
type:
|
|
999
|
+
type: HookType.MERKLE_TREE;
|
|
502
1000
|
}, {
|
|
503
|
-
type:
|
|
1001
|
+
type: HookType.MERKLE_TREE;
|
|
504
1002
|
}>, z.ZodObject<{
|
|
505
1003
|
owner: z.ZodString;
|
|
506
1004
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
507
|
-
type: z.ZodLiteral<
|
|
1005
|
+
type: z.ZodLiteral<HookType.INTERCHAIN_GAS_PAYMASTER>;
|
|
508
1006
|
beneficiary: z.ZodString;
|
|
509
1007
|
oracleKey: z.ZodString;
|
|
510
1008
|
overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
@@ -522,7 +1020,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
522
1020
|
tokenDecimals?: number | undefined;
|
|
523
1021
|
}>>;
|
|
524
1022
|
}, "strip", z.ZodTypeAny, {
|
|
525
|
-
type:
|
|
1023
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
526
1024
|
owner: string;
|
|
527
1025
|
beneficiary: string;
|
|
528
1026
|
oracleKey: string;
|
|
@@ -534,7 +1032,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
534
1032
|
}>;
|
|
535
1033
|
ownerOverrides?: Record<string, string> | undefined;
|
|
536
1034
|
}, {
|
|
537
|
-
type:
|
|
1035
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
538
1036
|
owner: string;
|
|
539
1037
|
beneficiary: string;
|
|
540
1038
|
oracleKey: string;
|
|
@@ -545,41 +1043,56 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
545
1043
|
tokenDecimals?: number | undefined;
|
|
546
1044
|
}>;
|
|
547
1045
|
ownerOverrides?: Record<string, string> | undefined;
|
|
548
|
-
}>, z.ZodType<import("../
|
|
549
|
-
type: z.ZodLiteral<
|
|
1046
|
+
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
|
|
1047
|
+
type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
|
|
550
1048
|
arbSys: z.ZodString;
|
|
551
1049
|
bridge: z.ZodOptional<z.ZodString>;
|
|
552
1050
|
destinationChain: z.ZodString;
|
|
553
1051
|
childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
554
1052
|
}, "strip", z.ZodTypeAny, {
|
|
555
|
-
type:
|
|
1053
|
+
type: HookType.ARB_L2_TO_L1;
|
|
556
1054
|
destinationChain: string;
|
|
557
1055
|
arbSys: string;
|
|
558
1056
|
bridge?: string | undefined;
|
|
559
1057
|
childHook?: any;
|
|
560
1058
|
}, {
|
|
561
|
-
type:
|
|
1059
|
+
type: HookType.ARB_L2_TO_L1;
|
|
562
1060
|
destinationChain: string;
|
|
563
1061
|
arbSys: string;
|
|
564
1062
|
bridge?: string | undefined;
|
|
565
1063
|
childHook?: any;
|
|
1064
|
+
}>, z.ZodObject<{
|
|
1065
|
+
type: z.ZodLiteral<HookType.MAILBOX_DEFAULT>;
|
|
1066
|
+
}, "strip", z.ZodTypeAny, {
|
|
1067
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
1068
|
+
}, {
|
|
1069
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
1070
|
+
}>, z.ZodObject<{
|
|
1071
|
+
type: z.ZodLiteral<HookType.CCIP>;
|
|
1072
|
+
destinationChain: z.ZodString;
|
|
1073
|
+
}, "strip", z.ZodTypeAny, {
|
|
1074
|
+
type: HookType.CCIP;
|
|
1075
|
+
destinationChain: string;
|
|
1076
|
+
}, {
|
|
1077
|
+
type: HookType.CCIP;
|
|
1078
|
+
destinationChain: string;
|
|
566
1079
|
}>]>>;
|
|
567
1080
|
interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
568
|
-
type: z.ZodLiteral<
|
|
1081
|
+
type: z.ZodLiteral<IsmType.TEST_ISM>;
|
|
569
1082
|
}, "strip", z.ZodTypeAny, {
|
|
570
|
-
type:
|
|
1083
|
+
type: IsmType.TEST_ISM;
|
|
571
1084
|
}, {
|
|
572
|
-
type:
|
|
1085
|
+
type: IsmType.TEST_ISM;
|
|
573
1086
|
}>, z.ZodObject<{
|
|
574
|
-
type: z.ZodLiteral<
|
|
1087
|
+
type: z.ZodLiteral<IsmType.OP_STACK>;
|
|
575
1088
|
origin: z.ZodString;
|
|
576
1089
|
nativeBridge: z.ZodString;
|
|
577
1090
|
}, "strip", z.ZodTypeAny, {
|
|
578
|
-
type:
|
|
1091
|
+
type: IsmType.OP_STACK;
|
|
579
1092
|
origin: string;
|
|
580
1093
|
nativeBridge: string;
|
|
581
1094
|
}, {
|
|
582
|
-
type:
|
|
1095
|
+
type: IsmType.OP_STACK;
|
|
583
1096
|
origin: string;
|
|
584
1097
|
nativeBridge: string;
|
|
585
1098
|
}>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -595,20 +1108,29 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
595
1108
|
paused: boolean;
|
|
596
1109
|
ownerOverrides?: Record<string, string> | undefined;
|
|
597
1110
|
}>, z.ZodObject<{
|
|
598
|
-
type: z.ZodLiteral<
|
|
1111
|
+
type: z.ZodLiteral<IsmType.PAUSABLE>;
|
|
599
1112
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
type:
|
|
1113
|
+
type: IsmType.PAUSABLE;
|
|
601
1114
|
}, {
|
|
602
|
-
type:
|
|
1115
|
+
type: IsmType.PAUSABLE;
|
|
603
1116
|
}>>, z.ZodObject<{
|
|
604
|
-
type: z.ZodLiteral<
|
|
1117
|
+
type: z.ZodLiteral<IsmType.TRUSTED_RELAYER>;
|
|
605
1118
|
relayer: z.ZodString;
|
|
606
1119
|
}, "strip", z.ZodTypeAny, {
|
|
607
|
-
type:
|
|
1120
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
608
1121
|
relayer: string;
|
|
609
1122
|
}, {
|
|
610
|
-
type:
|
|
1123
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
611
1124
|
relayer: string;
|
|
1125
|
+
}>, z.ZodObject<{
|
|
1126
|
+
type: z.ZodLiteral<IsmType.CCIP>;
|
|
1127
|
+
originChain: z.ZodString;
|
|
1128
|
+
}, "strip", z.ZodTypeAny, {
|
|
1129
|
+
type: IsmType.CCIP;
|
|
1130
|
+
originChain: string;
|
|
1131
|
+
}, {
|
|
1132
|
+
type: IsmType.CCIP;
|
|
1133
|
+
originChain: string;
|
|
612
1134
|
}>, z.ZodIntersection<z.ZodObject<{
|
|
613
1135
|
validators: z.ZodArray<z.ZodString, "many">;
|
|
614
1136
|
threshold: z.ZodNumber;
|
|
@@ -619,11 +1141,11 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
619
1141
|
validators: string[];
|
|
620
1142
|
threshold: number;
|
|
621
1143
|
}>, z.ZodObject<{
|
|
622
|
-
type: z.ZodUnion<[z.ZodLiteral<
|
|
1144
|
+
type: z.ZodUnion<[z.ZodLiteral<IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
|
|
623
1145
|
}, "strip", z.ZodTypeAny, {
|
|
624
|
-
type:
|
|
1146
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
625
1147
|
}, {
|
|
626
|
-
type:
|
|
1148
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
627
1149
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
628
1150
|
validators: z.ZodArray<z.ZodObject<{
|
|
629
1151
|
signingAddress: z.ZodString;
|
|
@@ -649,19 +1171,19 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
649
1171
|
}[];
|
|
650
1172
|
thresholdWeight: number;
|
|
651
1173
|
}>, z.ZodObject<{
|
|
652
|
-
type: z.ZodUnion<[z.ZodLiteral<
|
|
1174
|
+
type: z.ZodUnion<[z.ZodLiteral<IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
|
|
653
1175
|
}, "strip", z.ZodTypeAny, {
|
|
654
|
-
type:
|
|
1176
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
655
1177
|
}, {
|
|
656
|
-
type:
|
|
657
|
-
}>>, z.ZodType<import("../
|
|
658
|
-
type: z.ZodLiteral<
|
|
1178
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1179
|
+
}>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
|
|
1180
|
+
type: z.ZodLiteral<IsmType.ARB_L2_TO_L1>;
|
|
659
1181
|
bridge: z.ZodString;
|
|
660
1182
|
}, "strip", z.ZodTypeAny, {
|
|
661
|
-
type:
|
|
1183
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
662
1184
|
bridge: string;
|
|
663
1185
|
}, {
|
|
664
|
-
type:
|
|
1186
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
665
1187
|
bridge: string;
|
|
666
1188
|
}>]>>;
|
|
667
1189
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
@@ -684,9 +1206,9 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
684
1206
|
address?: string | undefined;
|
|
685
1207
|
} | undefined;
|
|
686
1208
|
hook?: string | {
|
|
687
|
-
type:
|
|
1209
|
+
type: HookType.MERKLE_TREE;
|
|
688
1210
|
} | {
|
|
689
|
-
type:
|
|
1211
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
690
1212
|
owner: string;
|
|
691
1213
|
beneficiary: string;
|
|
692
1214
|
oracleKey: string;
|
|
@@ -698,35 +1220,40 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
698
1220
|
}>;
|
|
699
1221
|
ownerOverrides?: Record<string, string> | undefined;
|
|
700
1222
|
} | {
|
|
701
|
-
type:
|
|
1223
|
+
type: HookType.PROTOCOL_FEE;
|
|
702
1224
|
owner: string;
|
|
703
1225
|
protocolFee: string;
|
|
704
1226
|
beneficiary: string;
|
|
705
1227
|
maxProtocolFee: string;
|
|
706
1228
|
ownerOverrides?: Record<string, string> | undefined;
|
|
707
1229
|
} | {
|
|
708
|
-
type:
|
|
1230
|
+
type: HookType.PAUSABLE;
|
|
709
1231
|
owner: string;
|
|
710
1232
|
paused: boolean;
|
|
711
1233
|
ownerOverrides?: Record<string, string> | undefined;
|
|
712
1234
|
} | {
|
|
713
|
-
type:
|
|
1235
|
+
type: HookType.OP_STACK;
|
|
714
1236
|
owner: string;
|
|
715
1237
|
nativeBridge: string;
|
|
716
1238
|
destinationChain: string;
|
|
717
1239
|
ownerOverrides?: Record<string, string> | undefined;
|
|
718
1240
|
} | {
|
|
719
|
-
type:
|
|
1241
|
+
type: HookType.ARB_L2_TO_L1;
|
|
720
1242
|
destinationChain: string;
|
|
721
1243
|
arbSys: string;
|
|
722
1244
|
bridge?: string | undefined;
|
|
723
1245
|
childHook?: any;
|
|
724
|
-
} |
|
|
1246
|
+
} | {
|
|
1247
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
1248
|
+
} | {
|
|
1249
|
+
type: HookType.CCIP;
|
|
1250
|
+
destinationChain: string;
|
|
1251
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
725
1252
|
interchainSecurityModule?: string | ({
|
|
726
1253
|
validators: string[];
|
|
727
1254
|
threshold: number;
|
|
728
1255
|
} & {
|
|
729
|
-
type:
|
|
1256
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
730
1257
|
}) | ({
|
|
731
1258
|
validators: {
|
|
732
1259
|
signingAddress: string;
|
|
@@ -734,26 +1261,29 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
734
1261
|
}[];
|
|
735
1262
|
thresholdWeight: number;
|
|
736
1263
|
} & {
|
|
737
|
-
type:
|
|
1264
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
738
1265
|
}) | {
|
|
739
|
-
type:
|
|
1266
|
+
type: IsmType.TEST_ISM;
|
|
740
1267
|
} | ({
|
|
741
1268
|
owner: string;
|
|
742
1269
|
paused: boolean;
|
|
743
1270
|
ownerOverrides?: Record<string, string> | undefined;
|
|
744
1271
|
} & {
|
|
745
|
-
type:
|
|
1272
|
+
type: IsmType.PAUSABLE;
|
|
746
1273
|
}) | {
|
|
747
|
-
type:
|
|
1274
|
+
type: IsmType.OP_STACK;
|
|
748
1275
|
origin: string;
|
|
749
1276
|
nativeBridge: string;
|
|
750
1277
|
} | {
|
|
751
|
-
type:
|
|
1278
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
752
1279
|
relayer: string;
|
|
753
1280
|
} | {
|
|
754
|
-
type:
|
|
1281
|
+
type: IsmType.CCIP;
|
|
1282
|
+
originChain: string;
|
|
1283
|
+
} | {
|
|
1284
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
755
1285
|
bridge: string;
|
|
756
|
-
} | import("../
|
|
1286
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
757
1287
|
foreignDeployment?: string | undefined;
|
|
758
1288
|
remoteRouters?: Record<string, {
|
|
759
1289
|
address: string;
|
|
@@ -770,9 +1300,9 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
770
1300
|
address?: string | undefined;
|
|
771
1301
|
} | undefined;
|
|
772
1302
|
hook?: string | {
|
|
773
|
-
type:
|
|
1303
|
+
type: HookType.MERKLE_TREE;
|
|
774
1304
|
} | {
|
|
775
|
-
type:
|
|
1305
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
776
1306
|
owner: string;
|
|
777
1307
|
beneficiary: string;
|
|
778
1308
|
oracleKey: string;
|
|
@@ -784,35 +1314,40 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
784
1314
|
}>;
|
|
785
1315
|
ownerOverrides?: Record<string, string> | undefined;
|
|
786
1316
|
} | {
|
|
787
|
-
type:
|
|
1317
|
+
type: HookType.PROTOCOL_FEE;
|
|
788
1318
|
owner: string;
|
|
789
1319
|
protocolFee: string;
|
|
790
1320
|
beneficiary: string;
|
|
791
1321
|
maxProtocolFee: string;
|
|
792
1322
|
ownerOverrides?: Record<string, string> | undefined;
|
|
793
1323
|
} | {
|
|
794
|
-
type:
|
|
1324
|
+
type: HookType.PAUSABLE;
|
|
795
1325
|
owner: string;
|
|
796
1326
|
paused: boolean;
|
|
797
1327
|
ownerOverrides?: Record<string, string> | undefined;
|
|
798
1328
|
} | {
|
|
799
|
-
type:
|
|
1329
|
+
type: HookType.OP_STACK;
|
|
800
1330
|
owner: string;
|
|
801
1331
|
nativeBridge: string;
|
|
802
1332
|
destinationChain: string;
|
|
803
1333
|
ownerOverrides?: Record<string, string> | undefined;
|
|
804
1334
|
} | {
|
|
805
|
-
type:
|
|
1335
|
+
type: HookType.ARB_L2_TO_L1;
|
|
806
1336
|
destinationChain: string;
|
|
807
1337
|
arbSys: string;
|
|
808
1338
|
bridge?: string | undefined;
|
|
809
1339
|
childHook?: any;
|
|
810
|
-
} |
|
|
1340
|
+
} | {
|
|
1341
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
1342
|
+
} | {
|
|
1343
|
+
type: HookType.CCIP;
|
|
1344
|
+
destinationChain: string;
|
|
1345
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
811
1346
|
interchainSecurityModule?: string | ({
|
|
812
1347
|
validators: string[];
|
|
813
1348
|
threshold: number;
|
|
814
1349
|
} & {
|
|
815
|
-
type:
|
|
1350
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
816
1351
|
}) | ({
|
|
817
1352
|
validators: {
|
|
818
1353
|
signingAddress: string;
|
|
@@ -820,26 +1355,29 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
820
1355
|
}[];
|
|
821
1356
|
thresholdWeight: number;
|
|
822
1357
|
} & {
|
|
823
|
-
type:
|
|
1358
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
824
1359
|
}) | {
|
|
825
|
-
type:
|
|
1360
|
+
type: IsmType.TEST_ISM;
|
|
826
1361
|
} | ({
|
|
827
1362
|
owner: string;
|
|
828
1363
|
paused: boolean;
|
|
829
1364
|
ownerOverrides?: Record<string, string> | undefined;
|
|
830
1365
|
} & {
|
|
831
|
-
type:
|
|
1366
|
+
type: IsmType.PAUSABLE;
|
|
832
1367
|
}) | {
|
|
833
|
-
type:
|
|
1368
|
+
type: IsmType.OP_STACK;
|
|
834
1369
|
origin: string;
|
|
835
1370
|
nativeBridge: string;
|
|
836
1371
|
} | {
|
|
837
|
-
type:
|
|
1372
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
838
1373
|
relayer: string;
|
|
839
1374
|
} | {
|
|
840
|
-
type:
|
|
1375
|
+
type: IsmType.CCIP;
|
|
1376
|
+
originChain: string;
|
|
1377
|
+
} | {
|
|
1378
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
841
1379
|
bridge: string;
|
|
842
|
-
} | import("../
|
|
1380
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
843
1381
|
foreignDeployment?: string | undefined;
|
|
844
1382
|
remoteRouters?: Record<string, {
|
|
845
1383
|
address: string;
|
|
@@ -848,7 +1386,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodDiscrimi
|
|
|
848
1386
|
destinationGas?: Record<string, string> | undefined;
|
|
849
1387
|
}>>;
|
|
850
1388
|
export type HypTokenRouterConfig = z.infer<typeof HypTokenRouterConfigSchema>;
|
|
851
|
-
export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1389
|
+
export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
852
1390
|
symbol: z.ZodOptional<z.ZodString>;
|
|
853
1391
|
name: z.ZodOptional<z.ZodString>;
|
|
854
1392
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -879,10 +1417,10 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
879
1417
|
totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
880
1418
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
881
1419
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
882
|
-
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.
|
|
1420
|
+
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.fastCollateral, TokenType.collateralUri]>;
|
|
883
1421
|
token: z.ZodString;
|
|
884
1422
|
}, "strip", z.ZodTypeAny, {
|
|
885
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
1423
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
886
1424
|
token: string;
|
|
887
1425
|
symbol?: string | undefined;
|
|
888
1426
|
name?: string | undefined;
|
|
@@ -891,7 +1429,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
891
1429
|
scale?: number | undefined;
|
|
892
1430
|
isNft?: boolean | undefined;
|
|
893
1431
|
}, {
|
|
894
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
1432
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
895
1433
|
token: string;
|
|
896
1434
|
symbol?: string | undefined;
|
|
897
1435
|
name?: string | undefined;
|
|
@@ -899,6 +1437,120 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
899
1437
|
totalSupply?: string | number | undefined;
|
|
900
1438
|
scale?: number | undefined;
|
|
901
1439
|
isNft?: boolean | undefined;
|
|
1440
|
+
}>, z.ZodObject<{
|
|
1441
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
|
|
1443
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1445
|
+
token: z.ZodString;
|
|
1446
|
+
totalSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1447
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1448
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1449
|
+
xERC20: z.ZodOptional<z.ZodObject<{
|
|
1450
|
+
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1451
|
+
lockbox: z.ZodString;
|
|
1452
|
+
limits: z.ZodObject<{
|
|
1453
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
}, "strip", z.ZodTypeAny, {
|
|
1456
|
+
bufferCap?: string | undefined;
|
|
1457
|
+
rateLimitPerSecond?: string | undefined;
|
|
1458
|
+
}, {
|
|
1459
|
+
bufferCap?: string | undefined;
|
|
1460
|
+
rateLimitPerSecond?: string | undefined;
|
|
1461
|
+
}>;
|
|
1462
|
+
}, "strip", z.ZodTypeAny, {
|
|
1463
|
+
lockbox: string;
|
|
1464
|
+
limits: {
|
|
1465
|
+
bufferCap?: string | undefined;
|
|
1466
|
+
rateLimitPerSecond?: string | undefined;
|
|
1467
|
+
};
|
|
1468
|
+
}, {
|
|
1469
|
+
lockbox: string;
|
|
1470
|
+
limits: {
|
|
1471
|
+
bufferCap?: string | undefined;
|
|
1472
|
+
rateLimitPerSecond?: string | undefined;
|
|
1473
|
+
};
|
|
1474
|
+
}>, "many">>;
|
|
1475
|
+
warpRouteLimits: z.ZodObject<{
|
|
1476
|
+
bufferCap: z.ZodOptional<z.ZodString>;
|
|
1477
|
+
rateLimitPerSecond: z.ZodOptional<z.ZodString>;
|
|
1478
|
+
}, "strip", z.ZodTypeAny, {
|
|
1479
|
+
bufferCap?: string | undefined;
|
|
1480
|
+
rateLimitPerSecond?: string | undefined;
|
|
1481
|
+
}, {
|
|
1482
|
+
bufferCap?: string | undefined;
|
|
1483
|
+
rateLimitPerSecond?: string | undefined;
|
|
1484
|
+
}>;
|
|
1485
|
+
}, "strip", z.ZodTypeAny, {
|
|
1486
|
+
warpRouteLimits: {
|
|
1487
|
+
bufferCap?: string | undefined;
|
|
1488
|
+
rateLimitPerSecond?: string | undefined;
|
|
1489
|
+
};
|
|
1490
|
+
extraBridges?: {
|
|
1491
|
+
lockbox: string;
|
|
1492
|
+
limits: {
|
|
1493
|
+
bufferCap?: string | undefined;
|
|
1494
|
+
rateLimitPerSecond?: string | undefined;
|
|
1495
|
+
};
|
|
1496
|
+
}[] | undefined;
|
|
1497
|
+
}, {
|
|
1498
|
+
warpRouteLimits: {
|
|
1499
|
+
bufferCap?: string | undefined;
|
|
1500
|
+
rateLimitPerSecond?: string | undefined;
|
|
1501
|
+
};
|
|
1502
|
+
extraBridges?: {
|
|
1503
|
+
lockbox: string;
|
|
1504
|
+
limits: {
|
|
1505
|
+
bufferCap?: string | undefined;
|
|
1506
|
+
rateLimitPerSecond?: string | undefined;
|
|
1507
|
+
};
|
|
1508
|
+
}[] | undefined;
|
|
1509
|
+
}>>;
|
|
1510
|
+
}, "strip", z.ZodTypeAny, {
|
|
1511
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
1512
|
+
token: string;
|
|
1513
|
+
symbol?: string | undefined;
|
|
1514
|
+
name?: string | undefined;
|
|
1515
|
+
decimals?: number | undefined;
|
|
1516
|
+
totalSupply?: string | number | undefined;
|
|
1517
|
+
scale?: number | undefined;
|
|
1518
|
+
isNft?: boolean | undefined;
|
|
1519
|
+
xERC20?: {
|
|
1520
|
+
warpRouteLimits: {
|
|
1521
|
+
bufferCap?: string | undefined;
|
|
1522
|
+
rateLimitPerSecond?: string | undefined;
|
|
1523
|
+
};
|
|
1524
|
+
extraBridges?: {
|
|
1525
|
+
lockbox: string;
|
|
1526
|
+
limits: {
|
|
1527
|
+
bufferCap?: string | undefined;
|
|
1528
|
+
rateLimitPerSecond?: string | undefined;
|
|
1529
|
+
};
|
|
1530
|
+
}[] | undefined;
|
|
1531
|
+
} | undefined;
|
|
1532
|
+
}, {
|
|
1533
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
1534
|
+
token: string;
|
|
1535
|
+
symbol?: string | undefined;
|
|
1536
|
+
name?: string | undefined;
|
|
1537
|
+
decimals?: number | undefined;
|
|
1538
|
+
totalSupply?: string | number | undefined;
|
|
1539
|
+
scale?: number | undefined;
|
|
1540
|
+
isNft?: boolean | undefined;
|
|
1541
|
+
xERC20?: {
|
|
1542
|
+
warpRouteLimits: {
|
|
1543
|
+
bufferCap?: string | undefined;
|
|
1544
|
+
rateLimitPerSecond?: string | undefined;
|
|
1545
|
+
};
|
|
1546
|
+
extraBridges?: {
|
|
1547
|
+
lockbox: string;
|
|
1548
|
+
limits: {
|
|
1549
|
+
bufferCap?: string | undefined;
|
|
1550
|
+
rateLimitPerSecond?: string | undefined;
|
|
1551
|
+
};
|
|
1552
|
+
}[] | undefined;
|
|
1553
|
+
} | undefined;
|
|
902
1554
|
}>, z.ZodObject<{
|
|
903
1555
|
symbol: z.ZodOptional<z.ZodString>;
|
|
904
1556
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -970,19 +1622,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
970
1622
|
hook: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
971
1623
|
owner: z.ZodString;
|
|
972
1624
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
973
|
-
type: z.ZodLiteral<
|
|
1625
|
+
type: z.ZodLiteral<HookType.PROTOCOL_FEE>;
|
|
974
1626
|
beneficiary: z.ZodString;
|
|
975
1627
|
maxProtocolFee: z.ZodString;
|
|
976
1628
|
protocolFee: z.ZodString;
|
|
977
1629
|
}, "strip", z.ZodTypeAny, {
|
|
978
|
-
type:
|
|
1630
|
+
type: HookType.PROTOCOL_FEE;
|
|
979
1631
|
owner: string;
|
|
980
1632
|
protocolFee: string;
|
|
981
1633
|
beneficiary: string;
|
|
982
1634
|
maxProtocolFee: string;
|
|
983
1635
|
ownerOverrides?: Record<string, string> | undefined;
|
|
984
1636
|
}, {
|
|
985
|
-
type:
|
|
1637
|
+
type: HookType.PROTOCOL_FEE;
|
|
986
1638
|
owner: string;
|
|
987
1639
|
protocolFee: string;
|
|
988
1640
|
beneficiary: string;
|
|
@@ -992,45 +1644,45 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
992
1644
|
owner: z.ZodString;
|
|
993
1645
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
994
1646
|
paused: z.ZodBoolean;
|
|
995
|
-
type: z.ZodLiteral<
|
|
1647
|
+
type: z.ZodLiteral<HookType.PAUSABLE>;
|
|
996
1648
|
}, "strip", z.ZodTypeAny, {
|
|
997
|
-
type:
|
|
1649
|
+
type: HookType.PAUSABLE;
|
|
998
1650
|
owner: string;
|
|
999
1651
|
paused: boolean;
|
|
1000
1652
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1001
1653
|
}, {
|
|
1002
|
-
type:
|
|
1654
|
+
type: HookType.PAUSABLE;
|
|
1003
1655
|
owner: string;
|
|
1004
1656
|
paused: boolean;
|
|
1005
1657
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1006
1658
|
}>, z.ZodObject<{
|
|
1007
1659
|
owner: z.ZodString;
|
|
1008
1660
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1009
|
-
type: z.ZodLiteral<
|
|
1661
|
+
type: z.ZodLiteral<HookType.OP_STACK>;
|
|
1010
1662
|
nativeBridge: z.ZodString;
|
|
1011
1663
|
destinationChain: z.ZodString;
|
|
1012
1664
|
}, "strip", z.ZodTypeAny, {
|
|
1013
|
-
type:
|
|
1665
|
+
type: HookType.OP_STACK;
|
|
1014
1666
|
owner: string;
|
|
1015
1667
|
nativeBridge: string;
|
|
1016
1668
|
destinationChain: string;
|
|
1017
1669
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1018
1670
|
}, {
|
|
1019
|
-
type:
|
|
1671
|
+
type: HookType.OP_STACK;
|
|
1020
1672
|
owner: string;
|
|
1021
1673
|
nativeBridge: string;
|
|
1022
1674
|
destinationChain: string;
|
|
1023
1675
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1024
1676
|
}>, z.ZodObject<{
|
|
1025
|
-
type: z.ZodLiteral<
|
|
1677
|
+
type: z.ZodLiteral<HookType.MERKLE_TREE>;
|
|
1026
1678
|
}, "strip", z.ZodTypeAny, {
|
|
1027
|
-
type:
|
|
1679
|
+
type: HookType.MERKLE_TREE;
|
|
1028
1680
|
}, {
|
|
1029
|
-
type:
|
|
1681
|
+
type: HookType.MERKLE_TREE;
|
|
1030
1682
|
}>, z.ZodObject<{
|
|
1031
1683
|
owner: z.ZodString;
|
|
1032
1684
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1033
|
-
type: z.ZodLiteral<
|
|
1685
|
+
type: z.ZodLiteral<HookType.INTERCHAIN_GAS_PAYMASTER>;
|
|
1034
1686
|
beneficiary: z.ZodString;
|
|
1035
1687
|
oracleKey: z.ZodString;
|
|
1036
1688
|
overhead: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
@@ -1048,7 +1700,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1048
1700
|
tokenDecimals?: number | undefined;
|
|
1049
1701
|
}>>;
|
|
1050
1702
|
}, "strip", z.ZodTypeAny, {
|
|
1051
|
-
type:
|
|
1703
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1052
1704
|
owner: string;
|
|
1053
1705
|
beneficiary: string;
|
|
1054
1706
|
oracleKey: string;
|
|
@@ -1060,7 +1712,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1060
1712
|
}>;
|
|
1061
1713
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1062
1714
|
}, {
|
|
1063
|
-
type:
|
|
1715
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1064
1716
|
owner: string;
|
|
1065
1717
|
beneficiary: string;
|
|
1066
1718
|
oracleKey: string;
|
|
@@ -1071,41 +1723,56 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1071
1723
|
tokenDecimals?: number | undefined;
|
|
1072
1724
|
}>;
|
|
1073
1725
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1074
|
-
}>, z.ZodType<import("../
|
|
1075
|
-
type: z.ZodLiteral<
|
|
1726
|
+
}>, z.ZodType<import("../hook/types.js").DomainRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").DomainRoutingHookConfig>, z.ZodType<import("../hook/types.js").FallbackRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").FallbackRoutingHookConfig>, z.ZodType<import("../hook/types.js").AmountRoutingHookConfig, z.ZodTypeDef, import("../hook/types.js").AmountRoutingHookConfig>, z.ZodType<import("../hook/types.js").AggregationHookConfig, z.ZodTypeDef, import("../hook/types.js").AggregationHookConfig>, z.ZodObject<{
|
|
1727
|
+
type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
|
|
1076
1728
|
arbSys: z.ZodString;
|
|
1077
1729
|
bridge: z.ZodOptional<z.ZodString>;
|
|
1078
1730
|
destinationChain: z.ZodString;
|
|
1079
1731
|
childHook: z.ZodLazy<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
1080
1732
|
}, "strip", z.ZodTypeAny, {
|
|
1081
|
-
type:
|
|
1733
|
+
type: HookType.ARB_L2_TO_L1;
|
|
1082
1734
|
destinationChain: string;
|
|
1083
1735
|
arbSys: string;
|
|
1084
1736
|
bridge?: string | undefined;
|
|
1085
1737
|
childHook?: any;
|
|
1086
1738
|
}, {
|
|
1087
|
-
type:
|
|
1739
|
+
type: HookType.ARB_L2_TO_L1;
|
|
1088
1740
|
destinationChain: string;
|
|
1089
1741
|
arbSys: string;
|
|
1090
1742
|
bridge?: string | undefined;
|
|
1091
1743
|
childHook?: any;
|
|
1744
|
+
}>, z.ZodObject<{
|
|
1745
|
+
type: z.ZodLiteral<HookType.MAILBOX_DEFAULT>;
|
|
1746
|
+
}, "strip", z.ZodTypeAny, {
|
|
1747
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
1748
|
+
}, {
|
|
1749
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
1750
|
+
}>, z.ZodObject<{
|
|
1751
|
+
type: z.ZodLiteral<HookType.CCIP>;
|
|
1752
|
+
destinationChain: z.ZodString;
|
|
1753
|
+
}, "strip", z.ZodTypeAny, {
|
|
1754
|
+
type: HookType.CCIP;
|
|
1755
|
+
destinationChain: string;
|
|
1756
|
+
}, {
|
|
1757
|
+
type: HookType.CCIP;
|
|
1758
|
+
destinationChain: string;
|
|
1092
1759
|
}>]>>;
|
|
1093
1760
|
interchainSecurityModule: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1094
|
-
type: z.ZodLiteral<
|
|
1761
|
+
type: z.ZodLiteral<IsmType.TEST_ISM>;
|
|
1095
1762
|
}, "strip", z.ZodTypeAny, {
|
|
1096
|
-
type:
|
|
1763
|
+
type: IsmType.TEST_ISM;
|
|
1097
1764
|
}, {
|
|
1098
|
-
type:
|
|
1765
|
+
type: IsmType.TEST_ISM;
|
|
1099
1766
|
}>, z.ZodObject<{
|
|
1100
|
-
type: z.ZodLiteral<
|
|
1767
|
+
type: z.ZodLiteral<IsmType.OP_STACK>;
|
|
1101
1768
|
origin: z.ZodString;
|
|
1102
1769
|
nativeBridge: z.ZodString;
|
|
1103
1770
|
}, "strip", z.ZodTypeAny, {
|
|
1104
|
-
type:
|
|
1771
|
+
type: IsmType.OP_STACK;
|
|
1105
1772
|
origin: string;
|
|
1106
1773
|
nativeBridge: string;
|
|
1107
1774
|
}, {
|
|
1108
|
-
type:
|
|
1775
|
+
type: IsmType.OP_STACK;
|
|
1109
1776
|
origin: string;
|
|
1110
1777
|
nativeBridge: string;
|
|
1111
1778
|
}>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1121,20 +1788,29 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1121
1788
|
paused: boolean;
|
|
1122
1789
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1123
1790
|
}>, z.ZodObject<{
|
|
1124
|
-
type: z.ZodLiteral<
|
|
1791
|
+
type: z.ZodLiteral<IsmType.PAUSABLE>;
|
|
1125
1792
|
}, "strip", z.ZodTypeAny, {
|
|
1126
|
-
type:
|
|
1793
|
+
type: IsmType.PAUSABLE;
|
|
1127
1794
|
}, {
|
|
1128
|
-
type:
|
|
1795
|
+
type: IsmType.PAUSABLE;
|
|
1129
1796
|
}>>, z.ZodObject<{
|
|
1130
|
-
type: z.ZodLiteral<
|
|
1797
|
+
type: z.ZodLiteral<IsmType.TRUSTED_RELAYER>;
|
|
1131
1798
|
relayer: z.ZodString;
|
|
1132
1799
|
}, "strip", z.ZodTypeAny, {
|
|
1133
|
-
type:
|
|
1800
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
1134
1801
|
relayer: string;
|
|
1135
1802
|
}, {
|
|
1136
|
-
type:
|
|
1803
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
1137
1804
|
relayer: string;
|
|
1805
|
+
}>, z.ZodObject<{
|
|
1806
|
+
type: z.ZodLiteral<IsmType.CCIP>;
|
|
1807
|
+
originChain: z.ZodString;
|
|
1808
|
+
}, "strip", z.ZodTypeAny, {
|
|
1809
|
+
type: IsmType.CCIP;
|
|
1810
|
+
originChain: string;
|
|
1811
|
+
}, {
|
|
1812
|
+
type: IsmType.CCIP;
|
|
1813
|
+
originChain: string;
|
|
1138
1814
|
}>, z.ZodIntersection<z.ZodObject<{
|
|
1139
1815
|
validators: z.ZodArray<z.ZodString, "many">;
|
|
1140
1816
|
threshold: z.ZodNumber;
|
|
@@ -1145,11 +1821,11 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1145
1821
|
validators: string[];
|
|
1146
1822
|
threshold: number;
|
|
1147
1823
|
}>, z.ZodObject<{
|
|
1148
|
-
type: z.ZodUnion<[z.ZodLiteral<
|
|
1824
|
+
type: z.ZodUnion<[z.ZodLiteral<IsmType.MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.MESSAGE_ID_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.STORAGE_MESSAGE_ID_MULTISIG>]>;
|
|
1149
1825
|
}, "strip", z.ZodTypeAny, {
|
|
1150
|
-
type:
|
|
1826
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1151
1827
|
}, {
|
|
1152
|
-
type:
|
|
1828
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1153
1829
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1154
1830
|
validators: z.ZodArray<z.ZodObject<{
|
|
1155
1831
|
signingAddress: z.ZodString;
|
|
@@ -1175,19 +1851,19 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1175
1851
|
}[];
|
|
1176
1852
|
thresholdWeight: number;
|
|
1177
1853
|
}>, z.ZodObject<{
|
|
1178
|
-
type: z.ZodUnion<[z.ZodLiteral<
|
|
1854
|
+
type: z.ZodUnion<[z.ZodLiteral<IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG>, z.ZodLiteral<IsmType.WEIGHTED_MESSAGE_ID_MULTISIG>]>;
|
|
1179
1855
|
}, "strip", z.ZodTypeAny, {
|
|
1180
|
-
type:
|
|
1856
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1181
1857
|
}, {
|
|
1182
|
-
type:
|
|
1183
|
-
}>>, z.ZodType<import("../
|
|
1184
|
-
type: z.ZodLiteral<
|
|
1858
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1859
|
+
}>>, z.ZodType<import("../ism/types.js").RoutingIsmConfig, z.ZodTypeDef, import("../ism/types.js").RoutingIsmConfig>, z.ZodType<import("../ism/types.js").AggregationIsmConfig, z.ZodTypeDef, import("../ism/types.js").AggregationIsmConfig>, z.ZodObject<{
|
|
1860
|
+
type: z.ZodLiteral<IsmType.ARB_L2_TO_L1>;
|
|
1185
1861
|
bridge: z.ZodString;
|
|
1186
1862
|
}, "strip", z.ZodTypeAny, {
|
|
1187
|
-
type:
|
|
1863
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
1188
1864
|
bridge: string;
|
|
1189
1865
|
}, {
|
|
1190
|
-
type:
|
|
1866
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
1191
1867
|
bridge: string;
|
|
1192
1868
|
}>]>>;
|
|
1193
1869
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
@@ -1210,9 +1886,9 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1210
1886
|
address?: string | undefined;
|
|
1211
1887
|
} | undefined;
|
|
1212
1888
|
hook?: string | {
|
|
1213
|
-
type:
|
|
1889
|
+
type: HookType.MERKLE_TREE;
|
|
1214
1890
|
} | {
|
|
1215
|
-
type:
|
|
1891
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1216
1892
|
owner: string;
|
|
1217
1893
|
beneficiary: string;
|
|
1218
1894
|
oracleKey: string;
|
|
@@ -1224,35 +1900,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1224
1900
|
}>;
|
|
1225
1901
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1226
1902
|
} | {
|
|
1227
|
-
type:
|
|
1903
|
+
type: HookType.PROTOCOL_FEE;
|
|
1228
1904
|
owner: string;
|
|
1229
1905
|
protocolFee: string;
|
|
1230
1906
|
beneficiary: string;
|
|
1231
1907
|
maxProtocolFee: string;
|
|
1232
1908
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1233
1909
|
} | {
|
|
1234
|
-
type:
|
|
1910
|
+
type: HookType.PAUSABLE;
|
|
1235
1911
|
owner: string;
|
|
1236
1912
|
paused: boolean;
|
|
1237
1913
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1238
1914
|
} | {
|
|
1239
|
-
type:
|
|
1915
|
+
type: HookType.OP_STACK;
|
|
1240
1916
|
owner: string;
|
|
1241
1917
|
nativeBridge: string;
|
|
1242
1918
|
destinationChain: string;
|
|
1243
1919
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1244
1920
|
} | {
|
|
1245
|
-
type:
|
|
1921
|
+
type: HookType.ARB_L2_TO_L1;
|
|
1246
1922
|
destinationChain: string;
|
|
1247
1923
|
arbSys: string;
|
|
1248
1924
|
bridge?: string | undefined;
|
|
1249
1925
|
childHook?: any;
|
|
1250
|
-
} |
|
|
1926
|
+
} | {
|
|
1927
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
1928
|
+
} | {
|
|
1929
|
+
type: HookType.CCIP;
|
|
1930
|
+
destinationChain: string;
|
|
1931
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
1251
1932
|
interchainSecurityModule?: string | ({
|
|
1252
1933
|
validators: string[];
|
|
1253
1934
|
threshold: number;
|
|
1254
1935
|
} & {
|
|
1255
|
-
type:
|
|
1936
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1256
1937
|
}) | ({
|
|
1257
1938
|
validators: {
|
|
1258
1939
|
signingAddress: string;
|
|
@@ -1260,26 +1941,29 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1260
1941
|
}[];
|
|
1261
1942
|
thresholdWeight: number;
|
|
1262
1943
|
} & {
|
|
1263
|
-
type:
|
|
1944
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1264
1945
|
}) | {
|
|
1265
|
-
type:
|
|
1946
|
+
type: IsmType.TEST_ISM;
|
|
1266
1947
|
} | ({
|
|
1267
1948
|
owner: string;
|
|
1268
1949
|
paused: boolean;
|
|
1269
1950
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1270
1951
|
} & {
|
|
1271
|
-
type:
|
|
1952
|
+
type: IsmType.PAUSABLE;
|
|
1272
1953
|
}) | {
|
|
1273
|
-
type:
|
|
1954
|
+
type: IsmType.OP_STACK;
|
|
1274
1955
|
origin: string;
|
|
1275
1956
|
nativeBridge: string;
|
|
1276
1957
|
} | {
|
|
1277
|
-
type:
|
|
1958
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
1278
1959
|
relayer: string;
|
|
1279
1960
|
} | {
|
|
1280
|
-
type:
|
|
1961
|
+
type: IsmType.CCIP;
|
|
1962
|
+
originChain: string;
|
|
1963
|
+
} | {
|
|
1964
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
1281
1965
|
bridge: string;
|
|
1282
|
-
} | import("../
|
|
1966
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
1283
1967
|
foreignDeployment?: string | undefined;
|
|
1284
1968
|
remoteRouters?: Record<string, {
|
|
1285
1969
|
address: string;
|
|
@@ -1296,9 +1980,9 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1296
1980
|
address?: string | undefined;
|
|
1297
1981
|
} | undefined;
|
|
1298
1982
|
hook?: string | {
|
|
1299
|
-
type:
|
|
1983
|
+
type: HookType.MERKLE_TREE;
|
|
1300
1984
|
} | {
|
|
1301
|
-
type:
|
|
1985
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1302
1986
|
owner: string;
|
|
1303
1987
|
beneficiary: string;
|
|
1304
1988
|
oracleKey: string;
|
|
@@ -1310,35 +1994,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1310
1994
|
}>;
|
|
1311
1995
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1312
1996
|
} | {
|
|
1313
|
-
type:
|
|
1997
|
+
type: HookType.PROTOCOL_FEE;
|
|
1314
1998
|
owner: string;
|
|
1315
1999
|
protocolFee: string;
|
|
1316
2000
|
beneficiary: string;
|
|
1317
2001
|
maxProtocolFee: string;
|
|
1318
2002
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1319
2003
|
} | {
|
|
1320
|
-
type:
|
|
2004
|
+
type: HookType.PAUSABLE;
|
|
1321
2005
|
owner: string;
|
|
1322
2006
|
paused: boolean;
|
|
1323
2007
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1324
2008
|
} | {
|
|
1325
|
-
type:
|
|
2009
|
+
type: HookType.OP_STACK;
|
|
1326
2010
|
owner: string;
|
|
1327
2011
|
nativeBridge: string;
|
|
1328
2012
|
destinationChain: string;
|
|
1329
2013
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1330
2014
|
} | {
|
|
1331
|
-
type:
|
|
2015
|
+
type: HookType.ARB_L2_TO_L1;
|
|
1332
2016
|
destinationChain: string;
|
|
1333
2017
|
arbSys: string;
|
|
1334
2018
|
bridge?: string | undefined;
|
|
1335
2019
|
childHook?: any;
|
|
1336
|
-
} |
|
|
2020
|
+
} | {
|
|
2021
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
2022
|
+
} | {
|
|
2023
|
+
type: HookType.CCIP;
|
|
2024
|
+
destinationChain: string;
|
|
2025
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
1337
2026
|
interchainSecurityModule?: string | ({
|
|
1338
2027
|
validators: string[];
|
|
1339
2028
|
threshold: number;
|
|
1340
2029
|
} & {
|
|
1341
|
-
type:
|
|
2030
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1342
2031
|
}) | ({
|
|
1343
2032
|
validators: {
|
|
1344
2033
|
signingAddress: string;
|
|
@@ -1346,26 +2035,29 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1346
2035
|
}[];
|
|
1347
2036
|
thresholdWeight: number;
|
|
1348
2037
|
} & {
|
|
1349
|
-
type:
|
|
2038
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1350
2039
|
}) | {
|
|
1351
|
-
type:
|
|
2040
|
+
type: IsmType.TEST_ISM;
|
|
1352
2041
|
} | ({
|
|
1353
2042
|
owner: string;
|
|
1354
2043
|
paused: boolean;
|
|
1355
2044
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1356
2045
|
} & {
|
|
1357
|
-
type:
|
|
2046
|
+
type: IsmType.PAUSABLE;
|
|
1358
2047
|
}) | {
|
|
1359
|
-
type:
|
|
2048
|
+
type: IsmType.OP_STACK;
|
|
1360
2049
|
origin: string;
|
|
1361
2050
|
nativeBridge: string;
|
|
1362
2051
|
} | {
|
|
1363
|
-
type:
|
|
2052
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
1364
2053
|
relayer: string;
|
|
1365
2054
|
} | {
|
|
1366
|
-
type:
|
|
2055
|
+
type: IsmType.CCIP;
|
|
2056
|
+
originChain: string;
|
|
2057
|
+
} | {
|
|
2058
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
1367
2059
|
bridge: string;
|
|
1368
|
-
} | import("../
|
|
2060
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
1369
2061
|
foreignDeployment?: string | undefined;
|
|
1370
2062
|
remoteRouters?: Record<string, {
|
|
1371
2063
|
address: string;
|
|
@@ -1381,7 +2073,307 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1381
2073
|
scale?: number | undefined;
|
|
1382
2074
|
isNft?: boolean | undefined;
|
|
1383
2075
|
} | {
|
|
1384
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
2076
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
2077
|
+
token: string;
|
|
2078
|
+
symbol?: string | undefined;
|
|
2079
|
+
name?: string | undefined;
|
|
2080
|
+
decimals?: number | undefined;
|
|
2081
|
+
totalSupply?: string | number | undefined;
|
|
2082
|
+
scale?: number | undefined;
|
|
2083
|
+
isNft?: boolean | undefined;
|
|
2084
|
+
} | {
|
|
2085
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
2086
|
+
token: string;
|
|
2087
|
+
symbol?: string | undefined;
|
|
2088
|
+
name?: string | undefined;
|
|
2089
|
+
decimals?: number | undefined;
|
|
2090
|
+
totalSupply?: string | number | undefined;
|
|
2091
|
+
scale?: number | undefined;
|
|
2092
|
+
isNft?: boolean | undefined;
|
|
2093
|
+
xERC20?: {
|
|
2094
|
+
warpRouteLimits: {
|
|
2095
|
+
bufferCap?: string | undefined;
|
|
2096
|
+
rateLimitPerSecond?: string | undefined;
|
|
2097
|
+
};
|
|
2098
|
+
extraBridges?: {
|
|
2099
|
+
lockbox: string;
|
|
2100
|
+
limits: {
|
|
2101
|
+
bufferCap?: string | undefined;
|
|
2102
|
+
rateLimitPerSecond?: string | undefined;
|
|
2103
|
+
};
|
|
2104
|
+
}[] | undefined;
|
|
2105
|
+
} | undefined;
|
|
2106
|
+
} | {
|
|
2107
|
+
type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
|
|
2108
|
+
symbol?: string | undefined;
|
|
2109
|
+
name?: string | undefined;
|
|
2110
|
+
decimals?: number | undefined;
|
|
2111
|
+
totalSupply?: string | number | undefined;
|
|
2112
|
+
scale?: number | undefined;
|
|
2113
|
+
isNft?: boolean | undefined;
|
|
2114
|
+
} | {
|
|
2115
|
+
type: TokenType.syntheticRebase;
|
|
2116
|
+
collateralChainName: string;
|
|
2117
|
+
symbol?: string | undefined;
|
|
2118
|
+
name?: string | undefined;
|
|
2119
|
+
decimals?: number | undefined;
|
|
2120
|
+
totalSupply?: string | number | undefined;
|
|
2121
|
+
scale?: number | undefined;
|
|
2122
|
+
isNft?: boolean | undefined;
|
|
2123
|
+
}) & {
|
|
2124
|
+
owner: string;
|
|
2125
|
+
mailbox: string;
|
|
2126
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2127
|
+
proxyAdmin?: {
|
|
2128
|
+
owner: string;
|
|
2129
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2130
|
+
address?: string | undefined;
|
|
2131
|
+
} | undefined;
|
|
2132
|
+
hook?: string | {
|
|
2133
|
+
type: HookType.MERKLE_TREE;
|
|
2134
|
+
} | {
|
|
2135
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2136
|
+
owner: string;
|
|
2137
|
+
beneficiary: string;
|
|
2138
|
+
oracleKey: string;
|
|
2139
|
+
overhead: Record<string, number>;
|
|
2140
|
+
oracleConfig: Record<string, {
|
|
2141
|
+
gasPrice: string;
|
|
2142
|
+
tokenExchangeRate: string;
|
|
2143
|
+
tokenDecimals?: number | undefined;
|
|
2144
|
+
}>;
|
|
2145
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2146
|
+
} | {
|
|
2147
|
+
type: HookType.PROTOCOL_FEE;
|
|
2148
|
+
owner: string;
|
|
2149
|
+
protocolFee: string;
|
|
2150
|
+
beneficiary: string;
|
|
2151
|
+
maxProtocolFee: string;
|
|
2152
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2153
|
+
} | {
|
|
2154
|
+
type: HookType.PAUSABLE;
|
|
2155
|
+
owner: string;
|
|
2156
|
+
paused: boolean;
|
|
2157
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2158
|
+
} | {
|
|
2159
|
+
type: HookType.OP_STACK;
|
|
2160
|
+
owner: string;
|
|
2161
|
+
nativeBridge: string;
|
|
2162
|
+
destinationChain: string;
|
|
2163
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2164
|
+
} | {
|
|
2165
|
+
type: HookType.ARB_L2_TO_L1;
|
|
2166
|
+
destinationChain: string;
|
|
2167
|
+
arbSys: string;
|
|
2168
|
+
bridge?: string | undefined;
|
|
2169
|
+
childHook?: any;
|
|
2170
|
+
} | {
|
|
2171
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
2172
|
+
} | {
|
|
2173
|
+
type: HookType.CCIP;
|
|
2174
|
+
destinationChain: string;
|
|
2175
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
2176
|
+
interchainSecurityModule?: string | ({
|
|
2177
|
+
validators: string[];
|
|
2178
|
+
threshold: number;
|
|
2179
|
+
} & {
|
|
2180
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
2181
|
+
}) | ({
|
|
2182
|
+
validators: {
|
|
2183
|
+
signingAddress: string;
|
|
2184
|
+
weight: number;
|
|
2185
|
+
}[];
|
|
2186
|
+
thresholdWeight: number;
|
|
2187
|
+
} & {
|
|
2188
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
2189
|
+
}) | {
|
|
2190
|
+
type: IsmType.TEST_ISM;
|
|
2191
|
+
} | ({
|
|
2192
|
+
owner: string;
|
|
2193
|
+
paused: boolean;
|
|
2194
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2195
|
+
} & {
|
|
2196
|
+
type: IsmType.PAUSABLE;
|
|
2197
|
+
}) | {
|
|
2198
|
+
type: IsmType.OP_STACK;
|
|
2199
|
+
origin: string;
|
|
2200
|
+
nativeBridge: string;
|
|
2201
|
+
} | {
|
|
2202
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
2203
|
+
relayer: string;
|
|
2204
|
+
} | {
|
|
2205
|
+
type: IsmType.CCIP;
|
|
2206
|
+
originChain: string;
|
|
2207
|
+
} | {
|
|
2208
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
2209
|
+
bridge: string;
|
|
2210
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
2211
|
+
foreignDeployment?: string | undefined;
|
|
2212
|
+
remoteRouters?: Record<string, {
|
|
2213
|
+
address: string;
|
|
2214
|
+
}> | undefined;
|
|
2215
|
+
gas?: number | undefined;
|
|
2216
|
+
destinationGas?: Record<string, string> | undefined;
|
|
2217
|
+
}>, Record<string, ({
|
|
2218
|
+
type: TokenType.native | TokenType.nativeScaled;
|
|
2219
|
+
symbol?: string | undefined;
|
|
2220
|
+
name?: string | undefined;
|
|
2221
|
+
decimals?: number | undefined;
|
|
2222
|
+
totalSupply?: string | number | undefined;
|
|
2223
|
+
scale?: number | undefined;
|
|
2224
|
+
isNft?: boolean | undefined;
|
|
2225
|
+
} | {
|
|
2226
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
2227
|
+
token: string;
|
|
2228
|
+
symbol?: string | undefined;
|
|
2229
|
+
name?: string | undefined;
|
|
2230
|
+
decimals?: number | undefined;
|
|
2231
|
+
totalSupply?: string | number | undefined;
|
|
2232
|
+
scale?: number | undefined;
|
|
2233
|
+
isNft?: boolean | undefined;
|
|
2234
|
+
} | {
|
|
2235
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
2236
|
+
token: string;
|
|
2237
|
+
symbol?: string | undefined;
|
|
2238
|
+
name?: string | undefined;
|
|
2239
|
+
decimals?: number | undefined;
|
|
2240
|
+
totalSupply?: string | number | undefined;
|
|
2241
|
+
scale?: number | undefined;
|
|
2242
|
+
isNft?: boolean | undefined;
|
|
2243
|
+
xERC20?: {
|
|
2244
|
+
warpRouteLimits: {
|
|
2245
|
+
bufferCap?: string | undefined;
|
|
2246
|
+
rateLimitPerSecond?: string | undefined;
|
|
2247
|
+
};
|
|
2248
|
+
extraBridges?: {
|
|
2249
|
+
lockbox: string;
|
|
2250
|
+
limits: {
|
|
2251
|
+
bufferCap?: string | undefined;
|
|
2252
|
+
rateLimitPerSecond?: string | undefined;
|
|
2253
|
+
};
|
|
2254
|
+
}[] | undefined;
|
|
2255
|
+
} | undefined;
|
|
2256
|
+
} | {
|
|
2257
|
+
type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
|
|
2258
|
+
symbol?: string | undefined;
|
|
2259
|
+
name?: string | undefined;
|
|
2260
|
+
decimals?: number | undefined;
|
|
2261
|
+
totalSupply?: string | number | undefined;
|
|
2262
|
+
scale?: number | undefined;
|
|
2263
|
+
isNft?: boolean | undefined;
|
|
2264
|
+
} | {
|
|
2265
|
+
type: TokenType.syntheticRebase;
|
|
2266
|
+
collateralChainName: string;
|
|
2267
|
+
symbol?: string | undefined;
|
|
2268
|
+
name?: string | undefined;
|
|
2269
|
+
decimals?: number | undefined;
|
|
2270
|
+
totalSupply?: string | number | undefined;
|
|
2271
|
+
scale?: number | undefined;
|
|
2272
|
+
isNft?: boolean | undefined;
|
|
2273
|
+
}) & {
|
|
2274
|
+
owner: string;
|
|
2275
|
+
mailbox: string;
|
|
2276
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2277
|
+
proxyAdmin?: {
|
|
2278
|
+
owner: string;
|
|
2279
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2280
|
+
address?: string | undefined;
|
|
2281
|
+
} | undefined;
|
|
2282
|
+
hook?: string | {
|
|
2283
|
+
type: HookType.MERKLE_TREE;
|
|
2284
|
+
} | {
|
|
2285
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
2286
|
+
owner: string;
|
|
2287
|
+
beneficiary: string;
|
|
2288
|
+
oracleKey: string;
|
|
2289
|
+
overhead: Record<string, number>;
|
|
2290
|
+
oracleConfig: Record<string, {
|
|
2291
|
+
gasPrice: string;
|
|
2292
|
+
tokenExchangeRate: string;
|
|
2293
|
+
tokenDecimals?: number | undefined;
|
|
2294
|
+
}>;
|
|
2295
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2296
|
+
} | {
|
|
2297
|
+
type: HookType.PROTOCOL_FEE;
|
|
2298
|
+
owner: string;
|
|
2299
|
+
protocolFee: string;
|
|
2300
|
+
beneficiary: string;
|
|
2301
|
+
maxProtocolFee: string;
|
|
2302
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2303
|
+
} | {
|
|
2304
|
+
type: HookType.PAUSABLE;
|
|
2305
|
+
owner: string;
|
|
2306
|
+
paused: boolean;
|
|
2307
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2308
|
+
} | {
|
|
2309
|
+
type: HookType.OP_STACK;
|
|
2310
|
+
owner: string;
|
|
2311
|
+
nativeBridge: string;
|
|
2312
|
+
destinationChain: string;
|
|
2313
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2314
|
+
} | {
|
|
2315
|
+
type: HookType.ARB_L2_TO_L1;
|
|
2316
|
+
destinationChain: string;
|
|
2317
|
+
arbSys: string;
|
|
2318
|
+
bridge?: string | undefined;
|
|
2319
|
+
childHook?: any;
|
|
2320
|
+
} | {
|
|
2321
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
2322
|
+
} | {
|
|
2323
|
+
type: HookType.CCIP;
|
|
2324
|
+
destinationChain: string;
|
|
2325
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
2326
|
+
interchainSecurityModule?: string | ({
|
|
2327
|
+
validators: string[];
|
|
2328
|
+
threshold: number;
|
|
2329
|
+
} & {
|
|
2330
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
2331
|
+
}) | ({
|
|
2332
|
+
validators: {
|
|
2333
|
+
signingAddress: string;
|
|
2334
|
+
weight: number;
|
|
2335
|
+
}[];
|
|
2336
|
+
thresholdWeight: number;
|
|
2337
|
+
} & {
|
|
2338
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
2339
|
+
}) | {
|
|
2340
|
+
type: IsmType.TEST_ISM;
|
|
2341
|
+
} | ({
|
|
2342
|
+
owner: string;
|
|
2343
|
+
paused: boolean;
|
|
2344
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2345
|
+
} & {
|
|
2346
|
+
type: IsmType.PAUSABLE;
|
|
2347
|
+
}) | {
|
|
2348
|
+
type: IsmType.OP_STACK;
|
|
2349
|
+
origin: string;
|
|
2350
|
+
nativeBridge: string;
|
|
2351
|
+
} | {
|
|
2352
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
2353
|
+
relayer: string;
|
|
2354
|
+
} | {
|
|
2355
|
+
type: IsmType.CCIP;
|
|
2356
|
+
originChain: string;
|
|
2357
|
+
} | {
|
|
2358
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
2359
|
+
bridge: string;
|
|
2360
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
2361
|
+
foreignDeployment?: string | undefined;
|
|
2362
|
+
remoteRouters?: Record<string, {
|
|
2363
|
+
address: string;
|
|
2364
|
+
}> | undefined;
|
|
2365
|
+
gas?: number | undefined;
|
|
2366
|
+
destinationGas?: Record<string, string> | undefined;
|
|
2367
|
+
}>>, Record<string, ({
|
|
2368
|
+
type: TokenType.native | TokenType.nativeScaled;
|
|
2369
|
+
symbol?: string | undefined;
|
|
2370
|
+
name?: string | undefined;
|
|
2371
|
+
decimals?: number | undefined;
|
|
2372
|
+
totalSupply?: string | number | undefined;
|
|
2373
|
+
scale?: number | undefined;
|
|
2374
|
+
isNft?: boolean | undefined;
|
|
2375
|
+
} | {
|
|
2376
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
1385
2377
|
token: string;
|
|
1386
2378
|
symbol?: string | undefined;
|
|
1387
2379
|
name?: string | undefined;
|
|
@@ -1389,6 +2381,28 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1389
2381
|
totalSupply?: string | number | undefined;
|
|
1390
2382
|
scale?: number | undefined;
|
|
1391
2383
|
isNft?: boolean | undefined;
|
|
2384
|
+
} | {
|
|
2385
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
2386
|
+
token: string;
|
|
2387
|
+
symbol?: string | undefined;
|
|
2388
|
+
name?: string | undefined;
|
|
2389
|
+
decimals?: number | undefined;
|
|
2390
|
+
totalSupply?: string | number | undefined;
|
|
2391
|
+
scale?: number | undefined;
|
|
2392
|
+
isNft?: boolean | undefined;
|
|
2393
|
+
xERC20?: {
|
|
2394
|
+
warpRouteLimits: {
|
|
2395
|
+
bufferCap?: string | undefined;
|
|
2396
|
+
rateLimitPerSecond?: string | undefined;
|
|
2397
|
+
};
|
|
2398
|
+
extraBridges?: {
|
|
2399
|
+
lockbox: string;
|
|
2400
|
+
limits: {
|
|
2401
|
+
bufferCap?: string | undefined;
|
|
2402
|
+
rateLimitPerSecond?: string | undefined;
|
|
2403
|
+
};
|
|
2404
|
+
}[] | undefined;
|
|
2405
|
+
} | undefined;
|
|
1392
2406
|
} | {
|
|
1393
2407
|
type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
|
|
1394
2408
|
symbol?: string | undefined;
|
|
@@ -1416,9 +2430,9 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1416
2430
|
address?: string | undefined;
|
|
1417
2431
|
} | undefined;
|
|
1418
2432
|
hook?: string | {
|
|
1419
|
-
type:
|
|
2433
|
+
type: HookType.MERKLE_TREE;
|
|
1420
2434
|
} | {
|
|
1421
|
-
type:
|
|
2435
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1422
2436
|
owner: string;
|
|
1423
2437
|
beneficiary: string;
|
|
1424
2438
|
oracleKey: string;
|
|
@@ -1430,35 +2444,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1430
2444
|
}>;
|
|
1431
2445
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1432
2446
|
} | {
|
|
1433
|
-
type:
|
|
2447
|
+
type: HookType.PROTOCOL_FEE;
|
|
1434
2448
|
owner: string;
|
|
1435
2449
|
protocolFee: string;
|
|
1436
2450
|
beneficiary: string;
|
|
1437
2451
|
maxProtocolFee: string;
|
|
1438
2452
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1439
2453
|
} | {
|
|
1440
|
-
type:
|
|
2454
|
+
type: HookType.PAUSABLE;
|
|
1441
2455
|
owner: string;
|
|
1442
2456
|
paused: boolean;
|
|
1443
2457
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1444
2458
|
} | {
|
|
1445
|
-
type:
|
|
2459
|
+
type: HookType.OP_STACK;
|
|
1446
2460
|
owner: string;
|
|
1447
2461
|
nativeBridge: string;
|
|
1448
2462
|
destinationChain: string;
|
|
1449
2463
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1450
2464
|
} | {
|
|
1451
|
-
type:
|
|
2465
|
+
type: HookType.ARB_L2_TO_L1;
|
|
1452
2466
|
destinationChain: string;
|
|
1453
2467
|
arbSys: string;
|
|
1454
2468
|
bridge?: string | undefined;
|
|
1455
2469
|
childHook?: any;
|
|
1456
|
-
} |
|
|
2470
|
+
} | {
|
|
2471
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
2472
|
+
} | {
|
|
2473
|
+
type: HookType.CCIP;
|
|
2474
|
+
destinationChain: string;
|
|
2475
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
1457
2476
|
interchainSecurityModule?: string | ({
|
|
1458
2477
|
validators: string[];
|
|
1459
2478
|
threshold: number;
|
|
1460
2479
|
} & {
|
|
1461
|
-
type:
|
|
2480
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1462
2481
|
}) | ({
|
|
1463
2482
|
validators: {
|
|
1464
2483
|
signingAddress: string;
|
|
@@ -1466,26 +2485,29 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1466
2485
|
}[];
|
|
1467
2486
|
thresholdWeight: number;
|
|
1468
2487
|
} & {
|
|
1469
|
-
type:
|
|
2488
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1470
2489
|
}) | {
|
|
1471
|
-
type:
|
|
2490
|
+
type: IsmType.TEST_ISM;
|
|
1472
2491
|
} | ({
|
|
1473
2492
|
owner: string;
|
|
1474
2493
|
paused: boolean;
|
|
1475
2494
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1476
2495
|
} & {
|
|
1477
|
-
type:
|
|
2496
|
+
type: IsmType.PAUSABLE;
|
|
1478
2497
|
}) | {
|
|
1479
|
-
type:
|
|
2498
|
+
type: IsmType.OP_STACK;
|
|
1480
2499
|
origin: string;
|
|
1481
2500
|
nativeBridge: string;
|
|
1482
2501
|
} | {
|
|
1483
|
-
type:
|
|
2502
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
1484
2503
|
relayer: string;
|
|
1485
2504
|
} | {
|
|
1486
|
-
type:
|
|
2505
|
+
type: IsmType.CCIP;
|
|
2506
|
+
originChain: string;
|
|
2507
|
+
} | {
|
|
2508
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
1487
2509
|
bridge: string;
|
|
1488
|
-
} | import("../
|
|
2510
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
1489
2511
|
foreignDeployment?: string | undefined;
|
|
1490
2512
|
remoteRouters?: Record<string, {
|
|
1491
2513
|
address: string;
|
|
@@ -1501,7 +2523,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1501
2523
|
scale?: number | undefined;
|
|
1502
2524
|
isNft?: boolean | undefined;
|
|
1503
2525
|
} | {
|
|
1504
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
2526
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
1505
2527
|
token: string;
|
|
1506
2528
|
symbol?: string | undefined;
|
|
1507
2529
|
name?: string | undefined;
|
|
@@ -1509,6 +2531,28 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1509
2531
|
totalSupply?: string | number | undefined;
|
|
1510
2532
|
scale?: number | undefined;
|
|
1511
2533
|
isNft?: boolean | undefined;
|
|
2534
|
+
} | {
|
|
2535
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
2536
|
+
token: string;
|
|
2537
|
+
symbol?: string | undefined;
|
|
2538
|
+
name?: string | undefined;
|
|
2539
|
+
decimals?: number | undefined;
|
|
2540
|
+
totalSupply?: string | number | undefined;
|
|
2541
|
+
scale?: number | undefined;
|
|
2542
|
+
isNft?: boolean | undefined;
|
|
2543
|
+
xERC20?: {
|
|
2544
|
+
warpRouteLimits: {
|
|
2545
|
+
bufferCap?: string | undefined;
|
|
2546
|
+
rateLimitPerSecond?: string | undefined;
|
|
2547
|
+
};
|
|
2548
|
+
extraBridges?: {
|
|
2549
|
+
lockbox: string;
|
|
2550
|
+
limits: {
|
|
2551
|
+
bufferCap?: string | undefined;
|
|
2552
|
+
rateLimitPerSecond?: string | undefined;
|
|
2553
|
+
};
|
|
2554
|
+
}[] | undefined;
|
|
2555
|
+
} | undefined;
|
|
1512
2556
|
} | {
|
|
1513
2557
|
type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
|
|
1514
2558
|
symbol?: string | undefined;
|
|
@@ -1536,9 +2580,9 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1536
2580
|
address?: string | undefined;
|
|
1537
2581
|
} | undefined;
|
|
1538
2582
|
hook?: string | {
|
|
1539
|
-
type:
|
|
2583
|
+
type: HookType.MERKLE_TREE;
|
|
1540
2584
|
} | {
|
|
1541
|
-
type:
|
|
2585
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1542
2586
|
owner: string;
|
|
1543
2587
|
beneficiary: string;
|
|
1544
2588
|
oracleKey: string;
|
|
@@ -1550,35 +2594,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1550
2594
|
}>;
|
|
1551
2595
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1552
2596
|
} | {
|
|
1553
|
-
type:
|
|
2597
|
+
type: HookType.PROTOCOL_FEE;
|
|
1554
2598
|
owner: string;
|
|
1555
2599
|
protocolFee: string;
|
|
1556
2600
|
beneficiary: string;
|
|
1557
2601
|
maxProtocolFee: string;
|
|
1558
2602
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1559
2603
|
} | {
|
|
1560
|
-
type:
|
|
2604
|
+
type: HookType.PAUSABLE;
|
|
1561
2605
|
owner: string;
|
|
1562
2606
|
paused: boolean;
|
|
1563
2607
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1564
2608
|
} | {
|
|
1565
|
-
type:
|
|
2609
|
+
type: HookType.OP_STACK;
|
|
1566
2610
|
owner: string;
|
|
1567
2611
|
nativeBridge: string;
|
|
1568
2612
|
destinationChain: string;
|
|
1569
2613
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1570
2614
|
} | {
|
|
1571
|
-
type:
|
|
2615
|
+
type: HookType.ARB_L2_TO_L1;
|
|
1572
2616
|
destinationChain: string;
|
|
1573
2617
|
arbSys: string;
|
|
1574
2618
|
bridge?: string | undefined;
|
|
1575
2619
|
childHook?: any;
|
|
1576
|
-
} |
|
|
2620
|
+
} | {
|
|
2621
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
2622
|
+
} | {
|
|
2623
|
+
type: HookType.CCIP;
|
|
2624
|
+
destinationChain: string;
|
|
2625
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
1577
2626
|
interchainSecurityModule?: string | ({
|
|
1578
2627
|
validators: string[];
|
|
1579
2628
|
threshold: number;
|
|
1580
2629
|
} & {
|
|
1581
|
-
type:
|
|
2630
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1582
2631
|
}) | ({
|
|
1583
2632
|
validators: {
|
|
1584
2633
|
signingAddress: string;
|
|
@@ -1586,26 +2635,29 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1586
2635
|
}[];
|
|
1587
2636
|
thresholdWeight: number;
|
|
1588
2637
|
} & {
|
|
1589
|
-
type:
|
|
2638
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1590
2639
|
}) | {
|
|
1591
|
-
type:
|
|
2640
|
+
type: IsmType.TEST_ISM;
|
|
1592
2641
|
} | ({
|
|
1593
2642
|
owner: string;
|
|
1594
2643
|
paused: boolean;
|
|
1595
2644
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1596
2645
|
} & {
|
|
1597
|
-
type:
|
|
2646
|
+
type: IsmType.PAUSABLE;
|
|
1598
2647
|
}) | {
|
|
1599
|
-
type:
|
|
2648
|
+
type: IsmType.OP_STACK;
|
|
1600
2649
|
origin: string;
|
|
1601
2650
|
nativeBridge: string;
|
|
1602
2651
|
} | {
|
|
1603
|
-
type:
|
|
2652
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
1604
2653
|
relayer: string;
|
|
1605
2654
|
} | {
|
|
1606
|
-
type:
|
|
2655
|
+
type: IsmType.CCIP;
|
|
2656
|
+
originChain: string;
|
|
2657
|
+
} | {
|
|
2658
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
1607
2659
|
bridge: string;
|
|
1608
|
-
} | import("../
|
|
2660
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
1609
2661
|
foreignDeployment?: string | undefined;
|
|
1610
2662
|
remoteRouters?: Record<string, {
|
|
1611
2663
|
address: string;
|
|
@@ -1621,7 +2673,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1621
2673
|
scale?: number | undefined;
|
|
1622
2674
|
isNft?: boolean | undefined;
|
|
1623
2675
|
} | {
|
|
1624
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
2676
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
1625
2677
|
token: string;
|
|
1626
2678
|
symbol?: string | undefined;
|
|
1627
2679
|
name?: string | undefined;
|
|
@@ -1629,6 +2681,28 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1629
2681
|
totalSupply?: string | number | undefined;
|
|
1630
2682
|
scale?: number | undefined;
|
|
1631
2683
|
isNft?: boolean | undefined;
|
|
2684
|
+
} | {
|
|
2685
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
2686
|
+
token: string;
|
|
2687
|
+
symbol?: string | undefined;
|
|
2688
|
+
name?: string | undefined;
|
|
2689
|
+
decimals?: number | undefined;
|
|
2690
|
+
totalSupply?: string | number | undefined;
|
|
2691
|
+
scale?: number | undefined;
|
|
2692
|
+
isNft?: boolean | undefined;
|
|
2693
|
+
xERC20?: {
|
|
2694
|
+
warpRouteLimits: {
|
|
2695
|
+
bufferCap?: string | undefined;
|
|
2696
|
+
rateLimitPerSecond?: string | undefined;
|
|
2697
|
+
};
|
|
2698
|
+
extraBridges?: {
|
|
2699
|
+
lockbox: string;
|
|
2700
|
+
limits: {
|
|
2701
|
+
bufferCap?: string | undefined;
|
|
2702
|
+
rateLimitPerSecond?: string | undefined;
|
|
2703
|
+
};
|
|
2704
|
+
}[] | undefined;
|
|
2705
|
+
} | undefined;
|
|
1632
2706
|
} | {
|
|
1633
2707
|
type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
|
|
1634
2708
|
symbol?: string | undefined;
|
|
@@ -1656,9 +2730,9 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1656
2730
|
address?: string | undefined;
|
|
1657
2731
|
} | undefined;
|
|
1658
2732
|
hook?: string | {
|
|
1659
|
-
type:
|
|
2733
|
+
type: HookType.MERKLE_TREE;
|
|
1660
2734
|
} | {
|
|
1661
|
-
type:
|
|
2735
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1662
2736
|
owner: string;
|
|
1663
2737
|
beneficiary: string;
|
|
1664
2738
|
oracleKey: string;
|
|
@@ -1670,35 +2744,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1670
2744
|
}>;
|
|
1671
2745
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1672
2746
|
} | {
|
|
1673
|
-
type:
|
|
2747
|
+
type: HookType.PROTOCOL_FEE;
|
|
1674
2748
|
owner: string;
|
|
1675
2749
|
protocolFee: string;
|
|
1676
2750
|
beneficiary: string;
|
|
1677
2751
|
maxProtocolFee: string;
|
|
1678
2752
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1679
2753
|
} | {
|
|
1680
|
-
type:
|
|
2754
|
+
type: HookType.PAUSABLE;
|
|
1681
2755
|
owner: string;
|
|
1682
2756
|
paused: boolean;
|
|
1683
2757
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1684
2758
|
} | {
|
|
1685
|
-
type:
|
|
2759
|
+
type: HookType.OP_STACK;
|
|
1686
2760
|
owner: string;
|
|
1687
2761
|
nativeBridge: string;
|
|
1688
2762
|
destinationChain: string;
|
|
1689
2763
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1690
2764
|
} | {
|
|
1691
|
-
type:
|
|
2765
|
+
type: HookType.ARB_L2_TO_L1;
|
|
1692
2766
|
destinationChain: string;
|
|
1693
2767
|
arbSys: string;
|
|
1694
2768
|
bridge?: string | undefined;
|
|
1695
2769
|
childHook?: any;
|
|
1696
|
-
} |
|
|
2770
|
+
} | {
|
|
2771
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
2772
|
+
} | {
|
|
2773
|
+
type: HookType.CCIP;
|
|
2774
|
+
destinationChain: string;
|
|
2775
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
1697
2776
|
interchainSecurityModule?: string | ({
|
|
1698
2777
|
validators: string[];
|
|
1699
2778
|
threshold: number;
|
|
1700
2779
|
} & {
|
|
1701
|
-
type:
|
|
2780
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1702
2781
|
}) | ({
|
|
1703
2782
|
validators: {
|
|
1704
2783
|
signingAddress: string;
|
|
@@ -1706,26 +2785,29 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1706
2785
|
}[];
|
|
1707
2786
|
thresholdWeight: number;
|
|
1708
2787
|
} & {
|
|
1709
|
-
type:
|
|
2788
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1710
2789
|
}) | {
|
|
1711
|
-
type:
|
|
2790
|
+
type: IsmType.TEST_ISM;
|
|
1712
2791
|
} | ({
|
|
1713
2792
|
owner: string;
|
|
1714
2793
|
paused: boolean;
|
|
1715
2794
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1716
2795
|
} & {
|
|
1717
|
-
type:
|
|
2796
|
+
type: IsmType.PAUSABLE;
|
|
1718
2797
|
}) | {
|
|
1719
|
-
type:
|
|
2798
|
+
type: IsmType.OP_STACK;
|
|
1720
2799
|
origin: string;
|
|
1721
2800
|
nativeBridge: string;
|
|
1722
2801
|
} | {
|
|
1723
|
-
type:
|
|
2802
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
1724
2803
|
relayer: string;
|
|
1725
2804
|
} | {
|
|
1726
|
-
type:
|
|
2805
|
+
type: IsmType.CCIP;
|
|
2806
|
+
originChain: string;
|
|
2807
|
+
} | {
|
|
2808
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
1727
2809
|
bridge: string;
|
|
1728
|
-
} | import("../
|
|
2810
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
1729
2811
|
foreignDeployment?: string | undefined;
|
|
1730
2812
|
remoteRouters?: Record<string, {
|
|
1731
2813
|
address: string;
|
|
@@ -1741,7 +2823,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1741
2823
|
scale?: number | undefined;
|
|
1742
2824
|
isNft?: boolean | undefined;
|
|
1743
2825
|
} | {
|
|
1744
|
-
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.
|
|
2826
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.fastCollateral | TokenType.collateralUri;
|
|
1745
2827
|
token: string;
|
|
1746
2828
|
symbol?: string | undefined;
|
|
1747
2829
|
name?: string | undefined;
|
|
@@ -1749,6 +2831,28 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1749
2831
|
totalSupply?: string | number | undefined;
|
|
1750
2832
|
scale?: number | undefined;
|
|
1751
2833
|
isNft?: boolean | undefined;
|
|
2834
|
+
} | {
|
|
2835
|
+
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
2836
|
+
token: string;
|
|
2837
|
+
symbol?: string | undefined;
|
|
2838
|
+
name?: string | undefined;
|
|
2839
|
+
decimals?: number | undefined;
|
|
2840
|
+
totalSupply?: string | number | undefined;
|
|
2841
|
+
scale?: number | undefined;
|
|
2842
|
+
isNft?: boolean | undefined;
|
|
2843
|
+
xERC20?: {
|
|
2844
|
+
warpRouteLimits: {
|
|
2845
|
+
bufferCap?: string | undefined;
|
|
2846
|
+
rateLimitPerSecond?: string | undefined;
|
|
2847
|
+
};
|
|
2848
|
+
extraBridges?: {
|
|
2849
|
+
lockbox: string;
|
|
2850
|
+
limits: {
|
|
2851
|
+
bufferCap?: string | undefined;
|
|
2852
|
+
rateLimitPerSecond?: string | undefined;
|
|
2853
|
+
};
|
|
2854
|
+
}[] | undefined;
|
|
2855
|
+
} | undefined;
|
|
1752
2856
|
} | {
|
|
1753
2857
|
type: TokenType.synthetic | TokenType.fastSynthetic | TokenType.syntheticUri;
|
|
1754
2858
|
symbol?: string | undefined;
|
|
@@ -1776,9 +2880,9 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1776
2880
|
address?: string | undefined;
|
|
1777
2881
|
} | undefined;
|
|
1778
2882
|
hook?: string | {
|
|
1779
|
-
type:
|
|
2883
|
+
type: HookType.MERKLE_TREE;
|
|
1780
2884
|
} | {
|
|
1781
|
-
type:
|
|
2885
|
+
type: HookType.INTERCHAIN_GAS_PAYMASTER;
|
|
1782
2886
|
owner: string;
|
|
1783
2887
|
beneficiary: string;
|
|
1784
2888
|
oracleKey: string;
|
|
@@ -1790,35 +2894,40 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1790
2894
|
}>;
|
|
1791
2895
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1792
2896
|
} | {
|
|
1793
|
-
type:
|
|
2897
|
+
type: HookType.PROTOCOL_FEE;
|
|
1794
2898
|
owner: string;
|
|
1795
2899
|
protocolFee: string;
|
|
1796
2900
|
beneficiary: string;
|
|
1797
2901
|
maxProtocolFee: string;
|
|
1798
2902
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1799
2903
|
} | {
|
|
1800
|
-
type:
|
|
2904
|
+
type: HookType.PAUSABLE;
|
|
1801
2905
|
owner: string;
|
|
1802
2906
|
paused: boolean;
|
|
1803
2907
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1804
2908
|
} | {
|
|
1805
|
-
type:
|
|
2909
|
+
type: HookType.OP_STACK;
|
|
1806
2910
|
owner: string;
|
|
1807
2911
|
nativeBridge: string;
|
|
1808
2912
|
destinationChain: string;
|
|
1809
2913
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1810
2914
|
} | {
|
|
1811
|
-
type:
|
|
2915
|
+
type: HookType.ARB_L2_TO_L1;
|
|
1812
2916
|
destinationChain: string;
|
|
1813
2917
|
arbSys: string;
|
|
1814
2918
|
bridge?: string | undefined;
|
|
1815
2919
|
childHook?: any;
|
|
1816
|
-
} |
|
|
2920
|
+
} | {
|
|
2921
|
+
type: HookType.MAILBOX_DEFAULT;
|
|
2922
|
+
} | {
|
|
2923
|
+
type: HookType.CCIP;
|
|
2924
|
+
destinationChain: string;
|
|
2925
|
+
} | import("../hook/types.js").DomainRoutingHookConfig | import("../hook/types.js").FallbackRoutingHookConfig | import("../hook/types.js").AmountRoutingHookConfig | import("../hook/types.js").AggregationHookConfig | undefined;
|
|
1817
2926
|
interchainSecurityModule?: string | ({
|
|
1818
2927
|
validators: string[];
|
|
1819
2928
|
threshold: number;
|
|
1820
2929
|
} & {
|
|
1821
|
-
type:
|
|
2930
|
+
type: IsmType.MERKLE_ROOT_MULTISIG | IsmType.MESSAGE_ID_MULTISIG | IsmType.STORAGE_MERKLE_ROOT_MULTISIG | IsmType.STORAGE_MESSAGE_ID_MULTISIG;
|
|
1822
2931
|
}) | ({
|
|
1823
2932
|
validators: {
|
|
1824
2933
|
signingAddress: string;
|
|
@@ -1826,26 +2935,29 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1826
2935
|
}[];
|
|
1827
2936
|
thresholdWeight: number;
|
|
1828
2937
|
} & {
|
|
1829
|
-
type:
|
|
2938
|
+
type: IsmType.WEIGHTED_MERKLE_ROOT_MULTISIG | IsmType.WEIGHTED_MESSAGE_ID_MULTISIG;
|
|
1830
2939
|
}) | {
|
|
1831
|
-
type:
|
|
2940
|
+
type: IsmType.TEST_ISM;
|
|
1832
2941
|
} | ({
|
|
1833
2942
|
owner: string;
|
|
1834
2943
|
paused: boolean;
|
|
1835
2944
|
ownerOverrides?: Record<string, string> | undefined;
|
|
1836
2945
|
} & {
|
|
1837
|
-
type:
|
|
2946
|
+
type: IsmType.PAUSABLE;
|
|
1838
2947
|
}) | {
|
|
1839
|
-
type:
|
|
2948
|
+
type: IsmType.OP_STACK;
|
|
1840
2949
|
origin: string;
|
|
1841
2950
|
nativeBridge: string;
|
|
1842
2951
|
} | {
|
|
1843
|
-
type:
|
|
2952
|
+
type: IsmType.TRUSTED_RELAYER;
|
|
1844
2953
|
relayer: string;
|
|
1845
2954
|
} | {
|
|
1846
|
-
type:
|
|
2955
|
+
type: IsmType.CCIP;
|
|
2956
|
+
originChain: string;
|
|
2957
|
+
} | {
|
|
2958
|
+
type: IsmType.ARB_L2_TO_L1;
|
|
1847
2959
|
bridge: string;
|
|
1848
|
-
} | import("../
|
|
2960
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
1849
2961
|
foreignDeployment?: string | undefined;
|
|
1850
2962
|
remoteRouters?: Record<string, {
|
|
1851
2963
|
address: string;
|
|
@@ -1854,4 +2966,5 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
1854
2966
|
destinationGas?: Record<string, string> | undefined;
|
|
1855
2967
|
}>>;
|
|
1856
2968
|
export type WarpRouteDeployConfig = z.infer<typeof WarpRouteDeployConfigSchema>;
|
|
2969
|
+
export {};
|
|
1857
2970
|
//# sourceMappingURL=types.d.ts.map
|