@hyperlane-xyz/sdk 13.2.1 → 13.3.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/consts/multisigIsm.d.ts.map +1 -1
- package/dist/consts/multisigIsm.js +27 -0
- package/dist/consts/multisigIsm.js.map +1 -1
- package/dist/core/CoreDeployer.hardhat-test.js +5 -0
- package/dist/core/CoreDeployer.hardhat-test.js.map +1 -1
- package/dist/core/CosmosNativeCoreModule.d.ts.map +1 -1
- package/dist/core/CosmosNativeCoreModule.js +0 -1
- package/dist/core/CosmosNativeCoreModule.js.map +1 -1
- package/dist/core/EvmCoreModule.d.ts.map +1 -1
- package/dist/core/EvmCoreModule.hardhat-test.js +1 -2
- package/dist/core/EvmCoreModule.hardhat-test.js.map +1 -1
- package/dist/core/EvmCoreModule.js +7 -7
- package/dist/core/EvmCoreModule.js.map +1 -1
- package/dist/core/EvmCoreReader.d.ts.map +1 -1
- package/dist/core/EvmCoreReader.js +1 -1
- package/dist/core/EvmCoreReader.js.map +1 -1
- package/dist/core/EvmIcaModule.d.ts +3 -4
- package/dist/core/EvmIcaModule.d.ts.map +1 -1
- package/dist/core/EvmIcaModule.hardhat-test.js +25 -2
- package/dist/core/EvmIcaModule.hardhat-test.js.map +1 -1
- package/dist/core/EvmIcaModule.js +13 -11
- package/dist/core/EvmIcaModule.js.map +1 -1
- package/dist/core/HyperlaneRelayer.d.ts +20 -5
- package/dist/core/HyperlaneRelayer.d.ts.map +1 -1
- package/dist/core/types.d.ts +2801 -1286
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +0 -1
- package/dist/core/types.js.map +1 -1
- package/dist/deploy/HyperlaneDeployer.d.ts +2 -1
- package/dist/deploy/HyperlaneDeployer.d.ts.map +1 -1
- package/dist/deploy/HyperlaneDeployer.js +11 -8
- package/dist/deploy/HyperlaneDeployer.js.map +1 -1
- package/dist/deploy/proxy.d.ts +1 -1
- package/dist/deploy/proxy.d.ts.map +1 -1
- package/dist/deploy/proxy.js +4 -5
- package/dist/deploy/proxy.js.map +1 -1
- package/dist/gas/token-prices.d.ts.map +1 -1
- package/dist/gas/token-prices.js +23 -4
- package/dist/gas/token-prices.js.map +1 -1
- package/dist/ica/EvmIcaReader.d.ts +2 -5
- package/dist/ica/EvmIcaReader.d.ts.map +1 -1
- package/dist/ica/EvmIcaReader.hardhat-test.js +2 -7
- package/dist/ica/EvmIcaReader.hardhat-test.js.map +1 -1
- package/dist/ica/EvmIcaReader.js +10 -44
- package/dist/ica/EvmIcaReader.js.map +1 -1
- package/dist/ica/types.d.ts +965 -47
- package/dist/ica/types.d.ts.map +1 -1
- package/dist/ica/types.js +7 -22
- package/dist/ica/types.js.map +1 -1
- package/dist/index.d.ts +18 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -14
- package/dist/index.js.map +1 -1
- package/dist/ism/EvmIsmModule.hardhat-test.js +0 -5
- package/dist/ism/EvmIsmModule.hardhat-test.js.map +1 -1
- package/dist/ism/EvmIsmReader.d.ts +4 -1
- package/dist/ism/EvmIsmReader.d.ts.map +1 -1
- package/dist/ism/EvmIsmReader.js +66 -42
- package/dist/ism/EvmIsmReader.js.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts +0 -1
- package/dist/ism/HyperlaneIsmFactory.d.ts.map +1 -1
- package/dist/ism/HyperlaneIsmFactory.js +4 -11
- package/dist/ism/HyperlaneIsmFactory.js.map +1 -1
- package/dist/ism/metadata/arbL2ToL1.hardhat-test.js +0 -1
- package/dist/ism/metadata/arbL2ToL1.hardhat-test.js.map +1 -1
- package/dist/ism/metadata/builder.d.ts +2 -2
- package/dist/ism/metadata/builder.d.ts.map +1 -1
- package/dist/ism/metadata/builder.hardhat-test.js +0 -1
- package/dist/ism/metadata/builder.hardhat-test.js.map +1 -1
- package/dist/ism/metadata/builder.js +3 -4
- package/dist/ism/metadata/builder.js.map +1 -1
- package/dist/ism/metadata/ccipread.d.ts +4 -4
- package/dist/ism/metadata/ccipread.d.ts.map +1 -1
- package/dist/ism/metadata/ccipread.hardhat-test.js +5 -37
- package/dist/ism/metadata/ccipread.hardhat-test.js.map +1 -1
- package/dist/ism/metadata/ccipread.js +4 -4
- package/dist/ism/metadata/ccipread.js.map +1 -1
- package/dist/ism/metadata/routing.d.ts.map +1 -1
- package/dist/ism/metadata/routing.js +8 -11
- package/dist/ism/metadata/routing.js.map +1 -1
- package/dist/ism/types.d.ts +59 -19
- package/dist/ism/types.d.ts.map +1 -1
- package/dist/ism/types.js +17 -12
- package/dist/ism/types.js.map +1 -1
- package/dist/ism/utils.d.ts.map +1 -1
- package/dist/ism/utils.js +7 -5
- package/dist/ism/utils.js.map +1 -1
- package/dist/middleware/account/InterchainAccount.d.ts +1 -1
- package/dist/middleware/account/InterchainAccount.d.ts.map +1 -1
- package/dist/middleware/account/InterchainAccount.js +3 -9
- package/dist/middleware/account/InterchainAccount.js.map +1 -1
- package/dist/middleware/account/InterchainAccountChecker.d.ts +3 -6
- package/dist/middleware/account/InterchainAccountChecker.d.ts.map +1 -1
- package/dist/middleware/account/InterchainAccountChecker.js +2 -17
- package/dist/middleware/account/InterchainAccountChecker.js.map +1 -1
- package/dist/middleware/account/InterchainAccountDeployer.d.ts +3 -8
- package/dist/middleware/account/InterchainAccountDeployer.d.ts.map +1 -1
- package/dist/middleware/account/InterchainAccountDeployer.js +11 -31
- package/dist/middleware/account/InterchainAccountDeployer.js.map +1 -1
- package/dist/middleware/account/accounts.hardhat-test.js +10 -1
- package/dist/middleware/account/accounts.hardhat-test.js.map +1 -1
- package/dist/middleware/account/contracts.d.ts +1 -4
- package/dist/middleware/account/contracts.d.ts.map +1 -1
- package/dist/middleware/account/contracts.js +1 -4
- package/dist/middleware/account/contracts.js.map +1 -1
- package/dist/middleware/account/types.d.ts +2 -2
- package/dist/providers/transactions/submitter/builder/types.d.ts +10 -10
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts +2 -3
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.d.ts.map +1 -1
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js +20 -16
- package/dist/providers/transactions/submitter/ethersV5/EV5GnosisSafeTxSubmitter.js.map +1 -1
- package/dist/providers/transactions/transformer/ethersV5/types.d.ts +3 -3
- package/dist/providers/transactions/transformer/types.d.ts +3 -3
- package/dist/router/EvmRouterReader.d.ts +18 -0
- package/dist/router/EvmRouterReader.d.ts.map +1 -0
- package/dist/router/EvmRouterReader.js +60 -0
- package/dist/router/EvmRouterReader.js.map +1 -0
- package/dist/router/HyperlaneRouterChecker.d.ts +3 -0
- package/dist/router/HyperlaneRouterChecker.d.ts.map +1 -1
- package/dist/router/HyperlaneRouterChecker.js +14 -4
- package/dist/router/HyperlaneRouterChecker.js.map +1 -1
- package/dist/router/types.d.ts +79 -31
- package/dist/router/types.d.ts.map +1 -1
- package/dist/router/types.js +13 -4
- package/dist/router/types.js.map +1 -1
- package/dist/token/EvmERC20WarpModule.d.ts +13 -0
- package/dist/token/EvmERC20WarpModule.d.ts.map +1 -1
- package/dist/token/EvmERC20WarpModule.hardhat-test.js +354 -9
- package/dist/token/EvmERC20WarpModule.hardhat-test.js.map +1 -1
- package/dist/token/EvmERC20WarpModule.js +210 -9
- package/dist/token/EvmERC20WarpModule.js.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.d.ts +7 -11
- package/dist/token/EvmERC20WarpRouteReader.d.ts.map +1 -1
- package/dist/token/EvmERC20WarpRouteReader.js +97 -45
- package/dist/token/EvmERC20WarpRouteReader.js.map +1 -1
- package/dist/token/TokenMetadataMap.d.ts +1 -2
- package/dist/token/TokenMetadataMap.d.ts.map +1 -1
- package/dist/token/TokenMetadataMap.js +2 -20
- package/dist/token/TokenMetadataMap.js.map +1 -1
- package/dist/token/TokenStandard.d.ts.map +1 -1
- package/dist/token/TokenStandard.js +3 -0
- package/dist/token/TokenStandard.js.map +1 -1
- package/dist/token/config.d.ts +25 -0
- package/dist/token/config.d.ts.map +1 -1
- package/dist/token/config.js +25 -0
- package/dist/token/config.js.map +1 -1
- package/dist/token/configUtils.d.ts.map +1 -1
- package/dist/token/configUtils.js +13 -3
- package/dist/token/configUtils.js.map +1 -1
- package/dist/token/contracts.d.ts +37 -31
- package/dist/token/contracts.d.ts.map +1 -1
- package/dist/token/contracts.js +8 -1
- package/dist/token/contracts.js.map +1 -1
- package/dist/token/deploy.d.ts +12 -5
- package/dist/token/deploy.d.ts.map +1 -1
- package/dist/token/deploy.js +137 -5
- package/dist/token/deploy.js.map +1 -1
- package/dist/token/types.d.ts +2720 -101
- package/dist/token/types.d.ts.map +1 -1
- package/dist/token/types.js +76 -5
- package/dist/token/types.js.map +1 -1
- package/dist/utils/decimals.d.ts +4 -0
- package/dist/utils/decimals.d.ts.map +1 -0
- package/dist/utils/decimals.js +26 -0
- package/dist/utils/decimals.js.map +1 -0
- package/package.json +11 -7
package/dist/token/types.d.ts
CHANGED
|
@@ -1,31 +1,37 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { HookType } from '../hook/types.js';
|
|
3
3
|
import { IsmType } from '../ism/types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { DerivedRouterConfig, GasRouterConfigSchema } from '../router/types.js';
|
|
5
5
|
import { ChainMap } from '../types.js';
|
|
6
6
|
import { TokenType } from './config.js';
|
|
7
|
+
export declare const CONTRACTS_VERSION: string;
|
|
7
8
|
export declare const WarpRouteDeployConfigSchemaErrors: {
|
|
8
9
|
ONLY_SYNTHETIC_REBASE: string;
|
|
9
10
|
NO_SYNTHETIC_ONLY: string;
|
|
10
11
|
};
|
|
12
|
+
export declare const contractVersionMatchesDependency: (version: string) => boolean;
|
|
13
|
+
export declare const VERSION_ERROR_MESSAGE: string;
|
|
11
14
|
export declare const TokenMetadataSchema: z.ZodObject<{
|
|
12
15
|
name: z.ZodString;
|
|
13
16
|
symbol: z.ZodString;
|
|
14
17
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
15
18
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
16
19
|
isNft: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
contractVersion: z.ZodOptional<z.ZodString>;
|
|
17
21
|
}, "strip", z.ZodTypeAny, {
|
|
18
22
|
symbol: string;
|
|
19
23
|
name: string;
|
|
20
24
|
decimals?: number | undefined;
|
|
21
25
|
scale?: number | undefined;
|
|
22
26
|
isNft?: boolean | undefined;
|
|
27
|
+
contractVersion?: string | undefined;
|
|
23
28
|
}, {
|
|
24
29
|
symbol: string;
|
|
25
30
|
name: string;
|
|
26
31
|
decimals?: number | undefined;
|
|
27
32
|
scale?: number | undefined;
|
|
28
33
|
isNft?: boolean | undefined;
|
|
34
|
+
contractVersion?: string | undefined;
|
|
29
35
|
}>;
|
|
30
36
|
export type TokenMetadata = z.infer<typeof TokenMetadataSchema>;
|
|
31
37
|
export declare const isTokenMetadata: (config: unknown) => config is {
|
|
@@ -34,13 +40,51 @@ export declare const isTokenMetadata: (config: unknown) => config is {
|
|
|
34
40
|
decimals?: number | undefined;
|
|
35
41
|
scale?: number | undefined;
|
|
36
42
|
isNft?: boolean | undefined;
|
|
43
|
+
contractVersion?: string | undefined;
|
|
37
44
|
};
|
|
45
|
+
export declare const BaseMovableTokenConfigSchema: z.ZodObject<{
|
|
46
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
47
|
+
bridge: z.ZodString;
|
|
48
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
bridge: string;
|
|
51
|
+
approvedTokens?: string[] | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
bridge: string;
|
|
54
|
+
approvedTokens?: string[] | undefined;
|
|
55
|
+
}>, "many">>>;
|
|
56
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
59
|
+
bridge: string;
|
|
60
|
+
approvedTokens?: string[] | undefined;
|
|
61
|
+
}[]> | undefined;
|
|
62
|
+
allowedRebalancers?: string[] | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
65
|
+
bridge: string;
|
|
66
|
+
approvedTokens?: string[] | undefined;
|
|
67
|
+
}[]> | undefined;
|
|
68
|
+
allowedRebalancers?: string[] | undefined;
|
|
69
|
+
}>;
|
|
38
70
|
export declare const NativeTokenConfigSchema: z.ZodObject<{
|
|
39
71
|
symbol: z.ZodOptional<z.ZodString>;
|
|
40
72
|
name: z.ZodOptional<z.ZodString>;
|
|
41
73
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
42
74
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
43
75
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
76
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
77
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
78
|
+
bridge: z.ZodString;
|
|
79
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
bridge: string;
|
|
82
|
+
approvedTokens?: string[] | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
bridge: string;
|
|
85
|
+
approvedTokens?: string[] | undefined;
|
|
86
|
+
}>, "many">>>;
|
|
87
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
44
88
|
type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
|
|
45
89
|
}, "strip", z.ZodTypeAny, {
|
|
46
90
|
type: TokenType.native | TokenType.nativeScaled;
|
|
@@ -49,6 +93,12 @@ export declare const NativeTokenConfigSchema: z.ZodObject<{
|
|
|
49
93
|
decimals?: number | undefined;
|
|
50
94
|
scale?: number | undefined;
|
|
51
95
|
isNft?: boolean | undefined;
|
|
96
|
+
contractVersion?: string | undefined;
|
|
97
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
98
|
+
bridge: string;
|
|
99
|
+
approvedTokens?: string[] | undefined;
|
|
100
|
+
}[]> | undefined;
|
|
101
|
+
allowedRebalancers?: string[] | undefined;
|
|
52
102
|
}, {
|
|
53
103
|
type: TokenType.native | TokenType.nativeScaled;
|
|
54
104
|
symbol?: string | undefined;
|
|
@@ -56,6 +106,12 @@ export declare const NativeTokenConfigSchema: z.ZodObject<{
|
|
|
56
106
|
decimals?: number | undefined;
|
|
57
107
|
scale?: number | undefined;
|
|
58
108
|
isNft?: boolean | undefined;
|
|
109
|
+
contractVersion?: string | undefined;
|
|
110
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
111
|
+
bridge: string;
|
|
112
|
+
approvedTokens?: string[] | undefined;
|
|
113
|
+
}[]> | undefined;
|
|
114
|
+
allowedRebalancers?: string[] | undefined;
|
|
59
115
|
}>;
|
|
60
116
|
export type NativeTokenConfig = z.infer<typeof NativeTokenConfigSchema>;
|
|
61
117
|
export declare const isNativeTokenConfig: (config: unknown) => config is {
|
|
@@ -65,6 +121,154 @@ export declare const isNativeTokenConfig: (config: unknown) => config is {
|
|
|
65
121
|
decimals?: number | undefined;
|
|
66
122
|
scale?: number | undefined;
|
|
67
123
|
isNft?: boolean | undefined;
|
|
124
|
+
contractVersion?: string | undefined;
|
|
125
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
126
|
+
bridge: string;
|
|
127
|
+
approvedTokens?: string[] | undefined;
|
|
128
|
+
}[]> | undefined;
|
|
129
|
+
allowedRebalancers?: string[] | undefined;
|
|
130
|
+
};
|
|
131
|
+
export declare const OpL2TokenConfigSchema: z.ZodObject<{
|
|
132
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
133
|
+
name: z.ZodOptional<z.ZodString>;
|
|
134
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
135
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
136
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
137
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
138
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
139
|
+
bridge: z.ZodString;
|
|
140
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
bridge: string;
|
|
143
|
+
approvedTokens?: string[] | undefined;
|
|
144
|
+
}, {
|
|
145
|
+
bridge: string;
|
|
146
|
+
approvedTokens?: string[] | undefined;
|
|
147
|
+
}>, "many">>>;
|
|
148
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
149
|
+
type: z.ZodLiteral<TokenType.nativeOpL2>;
|
|
150
|
+
l2Bridge: z.ZodString;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
type: TokenType.nativeOpL2;
|
|
153
|
+
l2Bridge: string;
|
|
154
|
+
symbol?: string | undefined;
|
|
155
|
+
name?: string | undefined;
|
|
156
|
+
decimals?: number | undefined;
|
|
157
|
+
scale?: number | undefined;
|
|
158
|
+
isNft?: boolean | undefined;
|
|
159
|
+
contractVersion?: string | undefined;
|
|
160
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
161
|
+
bridge: string;
|
|
162
|
+
approvedTokens?: string[] | undefined;
|
|
163
|
+
}[]> | undefined;
|
|
164
|
+
allowedRebalancers?: string[] | undefined;
|
|
165
|
+
}, {
|
|
166
|
+
type: TokenType.nativeOpL2;
|
|
167
|
+
l2Bridge: string;
|
|
168
|
+
symbol?: string | undefined;
|
|
169
|
+
name?: string | undefined;
|
|
170
|
+
decimals?: number | undefined;
|
|
171
|
+
scale?: number | undefined;
|
|
172
|
+
isNft?: boolean | undefined;
|
|
173
|
+
contractVersion?: string | undefined;
|
|
174
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
175
|
+
bridge: string;
|
|
176
|
+
approvedTokens?: string[] | undefined;
|
|
177
|
+
}[]> | undefined;
|
|
178
|
+
allowedRebalancers?: string[] | undefined;
|
|
179
|
+
}>;
|
|
180
|
+
export declare const OpL1TokenConfigSchema: z.ZodObject<{
|
|
181
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
182
|
+
type: z.ZodLiteral<TokenType.nativeOpL1>;
|
|
183
|
+
name: z.ZodOptional<z.ZodString>;
|
|
184
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
185
|
+
version: z.ZodNumber;
|
|
186
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
187
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
188
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
189
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
190
|
+
bridge: z.ZodString;
|
|
191
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
bridge: string;
|
|
194
|
+
approvedTokens?: string[] | undefined;
|
|
195
|
+
}, {
|
|
196
|
+
bridge: string;
|
|
197
|
+
approvedTokens?: string[] | undefined;
|
|
198
|
+
}>, "many">>>;
|
|
199
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
200
|
+
portal: z.ZodString;
|
|
201
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
202
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
type: TokenType.nativeOpL1;
|
|
205
|
+
urls: string[];
|
|
206
|
+
version: number;
|
|
207
|
+
portal: string;
|
|
208
|
+
symbol?: string | undefined;
|
|
209
|
+
name?: string | undefined;
|
|
210
|
+
decimals?: number | undefined;
|
|
211
|
+
scale?: number | undefined;
|
|
212
|
+
isNft?: boolean | undefined;
|
|
213
|
+
contractVersion?: string | undefined;
|
|
214
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
215
|
+
bridge: string;
|
|
216
|
+
approvedTokens?: string[] | undefined;
|
|
217
|
+
}[]> | undefined;
|
|
218
|
+
allowedRebalancers?: string[] | undefined;
|
|
219
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
220
|
+
}, {
|
|
221
|
+
type: TokenType.nativeOpL1;
|
|
222
|
+
urls: string[];
|
|
223
|
+
version: number;
|
|
224
|
+
portal: string;
|
|
225
|
+
symbol?: string | undefined;
|
|
226
|
+
name?: string | undefined;
|
|
227
|
+
decimals?: number | undefined;
|
|
228
|
+
scale?: number | undefined;
|
|
229
|
+
isNft?: boolean | undefined;
|
|
230
|
+
contractVersion?: string | undefined;
|
|
231
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
232
|
+
bridge: string;
|
|
233
|
+
approvedTokens?: string[] | undefined;
|
|
234
|
+
}[]> | undefined;
|
|
235
|
+
allowedRebalancers?: string[] | undefined;
|
|
236
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
237
|
+
}>;
|
|
238
|
+
export type OpL1TokenConfig = z.infer<typeof OpL1TokenConfigSchema>;
|
|
239
|
+
export declare const isOpL1TokenConfig: (config: unknown) => config is {
|
|
240
|
+
type: TokenType.nativeOpL1;
|
|
241
|
+
urls: string[];
|
|
242
|
+
version: number;
|
|
243
|
+
portal: string;
|
|
244
|
+
symbol?: string | undefined;
|
|
245
|
+
name?: string | undefined;
|
|
246
|
+
decimals?: number | undefined;
|
|
247
|
+
scale?: number | undefined;
|
|
248
|
+
isNft?: boolean | undefined;
|
|
249
|
+
contractVersion?: string | undefined;
|
|
250
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
251
|
+
bridge: string;
|
|
252
|
+
approvedTokens?: string[] | undefined;
|
|
253
|
+
}[]> | undefined;
|
|
254
|
+
allowedRebalancers?: string[] | undefined;
|
|
255
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
256
|
+
};
|
|
257
|
+
export type OpL2TokenConfig = z.infer<typeof OpL2TokenConfigSchema>;
|
|
258
|
+
export declare const isOpL2TokenConfig: (config: unknown) => config is {
|
|
259
|
+
type: TokenType.nativeOpL2;
|
|
260
|
+
l2Bridge: string;
|
|
261
|
+
symbol?: string | undefined;
|
|
262
|
+
name?: string | undefined;
|
|
263
|
+
decimals?: number | undefined;
|
|
264
|
+
scale?: number | undefined;
|
|
265
|
+
isNft?: boolean | undefined;
|
|
266
|
+
contractVersion?: string | undefined;
|
|
267
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
268
|
+
bridge: string;
|
|
269
|
+
approvedTokens?: string[] | undefined;
|
|
270
|
+
}[]> | undefined;
|
|
271
|
+
allowedRebalancers?: string[] | undefined;
|
|
68
272
|
};
|
|
69
273
|
export declare const CollateralTokenConfigSchema: z.ZodObject<{
|
|
70
274
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -72,6 +276,18 @@ export declare const CollateralTokenConfigSchema: z.ZodObject<{
|
|
|
72
276
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
73
277
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
74
278
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
279
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
280
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
281
|
+
bridge: z.ZodString;
|
|
282
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
|
+
bridge: string;
|
|
285
|
+
approvedTokens?: string[] | undefined;
|
|
286
|
+
}, {
|
|
287
|
+
bridge: string;
|
|
288
|
+
approvedTokens?: string[] | undefined;
|
|
289
|
+
}>, "many">>>;
|
|
290
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
75
291
|
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.collateralUri]>;
|
|
76
292
|
token: z.ZodString;
|
|
77
293
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -82,6 +298,12 @@ export declare const CollateralTokenConfigSchema: z.ZodObject<{
|
|
|
82
298
|
decimals?: number | undefined;
|
|
83
299
|
scale?: number | undefined;
|
|
84
300
|
isNft?: boolean | undefined;
|
|
301
|
+
contractVersion?: string | undefined;
|
|
302
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
303
|
+
bridge: string;
|
|
304
|
+
approvedTokens?: string[] | undefined;
|
|
305
|
+
}[]> | undefined;
|
|
306
|
+
allowedRebalancers?: string[] | undefined;
|
|
85
307
|
}, {
|
|
86
308
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
87
309
|
token: string;
|
|
@@ -90,6 +312,12 @@ export declare const CollateralTokenConfigSchema: z.ZodObject<{
|
|
|
90
312
|
decimals?: number | undefined;
|
|
91
313
|
scale?: number | undefined;
|
|
92
314
|
isNft?: boolean | undefined;
|
|
315
|
+
contractVersion?: string | undefined;
|
|
316
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
317
|
+
bridge: string;
|
|
318
|
+
approvedTokens?: string[] | undefined;
|
|
319
|
+
}[]> | undefined;
|
|
320
|
+
allowedRebalancers?: string[] | undefined;
|
|
93
321
|
}>;
|
|
94
322
|
export type CollateralTokenConfig = z.infer<typeof CollateralTokenConfigSchema>;
|
|
95
323
|
export declare const isCollateralTokenConfig: (config: unknown) => config is {
|
|
@@ -100,6 +328,12 @@ export declare const isCollateralTokenConfig: (config: unknown) => config is {
|
|
|
100
328
|
decimals?: number | undefined;
|
|
101
329
|
scale?: number | undefined;
|
|
102
330
|
isNft?: boolean | undefined;
|
|
331
|
+
contractVersion?: string | undefined;
|
|
332
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
333
|
+
bridge: string;
|
|
334
|
+
approvedTokens?: string[] | undefined;
|
|
335
|
+
}[]> | undefined;
|
|
336
|
+
allowedRebalancers?: string[] | undefined;
|
|
103
337
|
};
|
|
104
338
|
declare const xERC20LimitConfigSchema: z.ZodObject<{
|
|
105
339
|
bufferCap: z.ZodOptional<z.ZodString>;
|
|
@@ -237,6 +471,18 @@ export declare const XERC20TokenConfigSchema: z.ZodObject<{
|
|
|
237
471
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
238
472
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
239
473
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
474
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
475
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
476
|
+
bridge: z.ZodString;
|
|
477
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
bridge: string;
|
|
480
|
+
approvedTokens?: string[] | undefined;
|
|
481
|
+
}, {
|
|
482
|
+
bridge: string;
|
|
483
|
+
approvedTokens?: string[] | undefined;
|
|
484
|
+
}>, "many">>>;
|
|
485
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
240
486
|
token: z.ZodString;
|
|
241
487
|
xERC20: z.ZodOptional<z.ZodObject<{
|
|
242
488
|
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -307,6 +553,12 @@ export declare const XERC20TokenConfigSchema: z.ZodObject<{
|
|
|
307
553
|
decimals?: number | undefined;
|
|
308
554
|
scale?: number | undefined;
|
|
309
555
|
isNft?: boolean | undefined;
|
|
556
|
+
contractVersion?: string | undefined;
|
|
557
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
558
|
+
bridge: string;
|
|
559
|
+
approvedTokens?: string[] | undefined;
|
|
560
|
+
}[]> | undefined;
|
|
561
|
+
allowedRebalancers?: string[] | undefined;
|
|
310
562
|
xERC20?: {
|
|
311
563
|
warpRouteLimits: {
|
|
312
564
|
bufferCap?: string | undefined;
|
|
@@ -328,6 +580,12 @@ export declare const XERC20TokenConfigSchema: z.ZodObject<{
|
|
|
328
580
|
decimals?: number | undefined;
|
|
329
581
|
scale?: number | undefined;
|
|
330
582
|
isNft?: boolean | undefined;
|
|
583
|
+
contractVersion?: string | undefined;
|
|
584
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
585
|
+
bridge: string;
|
|
586
|
+
approvedTokens?: string[] | undefined;
|
|
587
|
+
}[]> | undefined;
|
|
588
|
+
allowedRebalancers?: string[] | undefined;
|
|
331
589
|
xERC20?: {
|
|
332
590
|
warpRouteLimits: {
|
|
333
591
|
bufferCap?: string | undefined;
|
|
@@ -351,6 +609,12 @@ export declare const isXERC20TokenConfig: (config: unknown) => config is {
|
|
|
351
609
|
decimals?: number | undefined;
|
|
352
610
|
scale?: number | undefined;
|
|
353
611
|
isNft?: boolean | undefined;
|
|
612
|
+
contractVersion?: string | undefined;
|
|
613
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
614
|
+
bridge: string;
|
|
615
|
+
approvedTokens?: string[] | undefined;
|
|
616
|
+
}[]> | undefined;
|
|
617
|
+
allowedRebalancers?: string[] | undefined;
|
|
354
618
|
xERC20?: {
|
|
355
619
|
warpRouteLimits: {
|
|
356
620
|
bufferCap?: string | undefined;
|
|
@@ -365,12 +629,94 @@ export declare const isXERC20TokenConfig: (config: unknown) => config is {
|
|
|
365
629
|
}[] | undefined;
|
|
366
630
|
} | undefined;
|
|
367
631
|
};
|
|
632
|
+
export declare const CctpTokenConfigSchema: z.ZodObject<{
|
|
633
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
634
|
+
type: z.ZodLiteral<TokenType.collateralCctp>;
|
|
635
|
+
name: z.ZodOptional<z.ZodString>;
|
|
636
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
637
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
638
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
639
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
640
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
641
|
+
bridge: z.ZodString;
|
|
642
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
643
|
+
}, "strip", z.ZodTypeAny, {
|
|
644
|
+
bridge: string;
|
|
645
|
+
approvedTokens?: string[] | undefined;
|
|
646
|
+
}, {
|
|
647
|
+
bridge: string;
|
|
648
|
+
approvedTokens?: string[] | undefined;
|
|
649
|
+
}>, "many">>>;
|
|
650
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
651
|
+
token: z.ZodString;
|
|
652
|
+
messageTransmitter: z.ZodString;
|
|
653
|
+
tokenMessenger: z.ZodString;
|
|
654
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
655
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
656
|
+
}, "strip", z.ZodTypeAny, {
|
|
657
|
+
type: TokenType.collateralCctp;
|
|
658
|
+
urls: string[];
|
|
659
|
+
token: string;
|
|
660
|
+
messageTransmitter: string;
|
|
661
|
+
tokenMessenger: string;
|
|
662
|
+
symbol?: string | undefined;
|
|
663
|
+
name?: string | undefined;
|
|
664
|
+
decimals?: number | undefined;
|
|
665
|
+
scale?: number | undefined;
|
|
666
|
+
isNft?: boolean | undefined;
|
|
667
|
+
contractVersion?: string | undefined;
|
|
668
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
669
|
+
bridge: string;
|
|
670
|
+
approvedTokens?: string[] | undefined;
|
|
671
|
+
}[]> | undefined;
|
|
672
|
+
allowedRebalancers?: string[] | undefined;
|
|
673
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
674
|
+
}, {
|
|
675
|
+
type: TokenType.collateralCctp;
|
|
676
|
+
urls: string[];
|
|
677
|
+
token: string;
|
|
678
|
+
messageTransmitter: string;
|
|
679
|
+
tokenMessenger: string;
|
|
680
|
+
symbol?: string | undefined;
|
|
681
|
+
name?: string | undefined;
|
|
682
|
+
decimals?: number | undefined;
|
|
683
|
+
scale?: number | undefined;
|
|
684
|
+
isNft?: boolean | undefined;
|
|
685
|
+
contractVersion?: string | undefined;
|
|
686
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
687
|
+
bridge: string;
|
|
688
|
+
approvedTokens?: string[] | undefined;
|
|
689
|
+
}[]> | undefined;
|
|
690
|
+
allowedRebalancers?: string[] | undefined;
|
|
691
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
692
|
+
}>;
|
|
693
|
+
export type CctpTokenConfig = z.infer<typeof CctpTokenConfigSchema>;
|
|
694
|
+
export declare const isCctpTokenConfig: (config: unknown) => config is {
|
|
695
|
+
type: TokenType.collateralCctp;
|
|
696
|
+
urls: string[];
|
|
697
|
+
token: string;
|
|
698
|
+
messageTransmitter: string;
|
|
699
|
+
tokenMessenger: string;
|
|
700
|
+
symbol?: string | undefined;
|
|
701
|
+
name?: string | undefined;
|
|
702
|
+
decimals?: number | undefined;
|
|
703
|
+
scale?: number | undefined;
|
|
704
|
+
isNft?: boolean | undefined;
|
|
705
|
+
contractVersion?: string | undefined;
|
|
706
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
707
|
+
bridge: string;
|
|
708
|
+
approvedTokens?: string[] | undefined;
|
|
709
|
+
}[]> | undefined;
|
|
710
|
+
allowedRebalancers?: string[] | undefined;
|
|
711
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
712
|
+
};
|
|
368
713
|
export declare const CollateralRebaseTokenConfigSchema: z.ZodObject<{
|
|
369
714
|
symbol: z.ZodOptional<z.ZodString>;
|
|
370
715
|
name: z.ZodOptional<z.ZodString>;
|
|
371
716
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
372
717
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
373
718
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
719
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
374
720
|
type: z.ZodLiteral<TokenType.collateralVaultRebase>;
|
|
375
721
|
}, "strip", z.ZodTypeAny, {
|
|
376
722
|
type: TokenType.collateralVaultRebase;
|
|
@@ -379,6 +725,7 @@ export declare const CollateralRebaseTokenConfigSchema: z.ZodObject<{
|
|
|
379
725
|
decimals?: number | undefined;
|
|
380
726
|
scale?: number | undefined;
|
|
381
727
|
isNft?: boolean | undefined;
|
|
728
|
+
contractVersion?: string | undefined;
|
|
382
729
|
}, {
|
|
383
730
|
type: TokenType.collateralVaultRebase;
|
|
384
731
|
symbol?: string | undefined;
|
|
@@ -386,6 +733,7 @@ export declare const CollateralRebaseTokenConfigSchema: z.ZodObject<{
|
|
|
386
733
|
decimals?: number | undefined;
|
|
387
734
|
scale?: number | undefined;
|
|
388
735
|
isNft?: boolean | undefined;
|
|
736
|
+
contractVersion?: string | undefined;
|
|
389
737
|
}>;
|
|
390
738
|
export declare const isCollateralRebaseTokenConfig: (config: unknown) => config is {
|
|
391
739
|
type: TokenType.collateralVaultRebase;
|
|
@@ -394,6 +742,7 @@ export declare const isCollateralRebaseTokenConfig: (config: unknown) => config
|
|
|
394
742
|
decimals?: number | undefined;
|
|
395
743
|
scale?: number | undefined;
|
|
396
744
|
isNft?: boolean | undefined;
|
|
745
|
+
contractVersion?: string | undefined;
|
|
397
746
|
};
|
|
398
747
|
export declare const SyntheticTokenConfigSchema: z.ZodObject<{
|
|
399
748
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -401,6 +750,7 @@ export declare const SyntheticTokenConfigSchema: z.ZodObject<{
|
|
|
401
750
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
402
751
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
403
752
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
753
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
404
754
|
type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri]>;
|
|
405
755
|
initialSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
406
756
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -410,6 +760,7 @@ export declare const SyntheticTokenConfigSchema: z.ZodObject<{
|
|
|
410
760
|
decimals?: number | undefined;
|
|
411
761
|
scale?: number | undefined;
|
|
412
762
|
isNft?: boolean | undefined;
|
|
763
|
+
contractVersion?: string | undefined;
|
|
413
764
|
initialSupply?: string | number | undefined;
|
|
414
765
|
}, {
|
|
415
766
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
@@ -418,6 +769,7 @@ export declare const SyntheticTokenConfigSchema: z.ZodObject<{
|
|
|
418
769
|
decimals?: number | undefined;
|
|
419
770
|
scale?: number | undefined;
|
|
420
771
|
isNft?: boolean | undefined;
|
|
772
|
+
contractVersion?: string | undefined;
|
|
421
773
|
initialSupply?: string | number | undefined;
|
|
422
774
|
}>;
|
|
423
775
|
export type SyntheticTokenConfig = z.infer<typeof SyntheticTokenConfigSchema>;
|
|
@@ -428,6 +780,7 @@ export declare const isSyntheticTokenConfig: (config: unknown) => config is {
|
|
|
428
780
|
decimals?: number | undefined;
|
|
429
781
|
scale?: number | undefined;
|
|
430
782
|
isNft?: boolean | undefined;
|
|
783
|
+
contractVersion?: string | undefined;
|
|
431
784
|
initialSupply?: string | number | undefined;
|
|
432
785
|
};
|
|
433
786
|
export declare const SyntheticRebaseTokenConfigSchema: z.ZodObject<{
|
|
@@ -436,6 +789,7 @@ export declare const SyntheticRebaseTokenConfigSchema: z.ZodObject<{
|
|
|
436
789
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
437
790
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
438
791
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
792
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
439
793
|
type: z.ZodLiteral<TokenType.syntheticRebase>;
|
|
440
794
|
collateralChainName: z.ZodString;
|
|
441
795
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -446,6 +800,7 @@ export declare const SyntheticRebaseTokenConfigSchema: z.ZodObject<{
|
|
|
446
800
|
decimals?: number | undefined;
|
|
447
801
|
scale?: number | undefined;
|
|
448
802
|
isNft?: boolean | undefined;
|
|
803
|
+
contractVersion?: string | undefined;
|
|
449
804
|
}, {
|
|
450
805
|
type: TokenType.syntheticRebase;
|
|
451
806
|
collateralChainName: string;
|
|
@@ -454,6 +809,7 @@ export declare const SyntheticRebaseTokenConfigSchema: z.ZodObject<{
|
|
|
454
809
|
decimals?: number | undefined;
|
|
455
810
|
scale?: number | undefined;
|
|
456
811
|
isNft?: boolean | undefined;
|
|
812
|
+
contractVersion?: string | undefined;
|
|
457
813
|
}>;
|
|
458
814
|
export type SyntheticRebaseTokenConfig = z.infer<typeof SyntheticRebaseTokenConfigSchema>;
|
|
459
815
|
export declare const isSyntheticRebaseTokenConfig: (config: unknown) => config is {
|
|
@@ -464,6 +820,7 @@ export declare const isSyntheticRebaseTokenConfig: (config: unknown) => config i
|
|
|
464
820
|
decimals?: number | undefined;
|
|
465
821
|
scale?: number | undefined;
|
|
466
822
|
isNft?: boolean | undefined;
|
|
823
|
+
contractVersion?: string | undefined;
|
|
467
824
|
};
|
|
468
825
|
export declare enum ContractVerificationStatus {
|
|
469
826
|
Verified = "verified",
|
|
@@ -490,6 +847,18 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
490
847
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
491
848
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
492
849
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
850
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
851
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
852
|
+
bridge: z.ZodString;
|
|
853
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
854
|
+
}, "strip", z.ZodTypeAny, {
|
|
855
|
+
bridge: string;
|
|
856
|
+
approvedTokens?: string[] | undefined;
|
|
857
|
+
}, {
|
|
858
|
+
bridge: string;
|
|
859
|
+
approvedTokens?: string[] | undefined;
|
|
860
|
+
}>, "many">>>;
|
|
861
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
493
862
|
type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
|
|
494
863
|
}, "strip", z.ZodTypeAny, {
|
|
495
864
|
type: TokenType.native | TokenType.nativeScaled;
|
|
@@ -498,6 +867,12 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
498
867
|
decimals?: number | undefined;
|
|
499
868
|
scale?: number | undefined;
|
|
500
869
|
isNft?: boolean | undefined;
|
|
870
|
+
contractVersion?: string | undefined;
|
|
871
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
872
|
+
bridge: string;
|
|
873
|
+
approvedTokens?: string[] | undefined;
|
|
874
|
+
}[]> | undefined;
|
|
875
|
+
allowedRebalancers?: string[] | undefined;
|
|
501
876
|
}, {
|
|
502
877
|
type: TokenType.native | TokenType.nativeScaled;
|
|
503
878
|
symbol?: string | undefined;
|
|
@@ -505,12 +880,135 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
505
880
|
decimals?: number | undefined;
|
|
506
881
|
scale?: number | undefined;
|
|
507
882
|
isNft?: boolean | undefined;
|
|
883
|
+
contractVersion?: string | undefined;
|
|
884
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
885
|
+
bridge: string;
|
|
886
|
+
approvedTokens?: string[] | undefined;
|
|
887
|
+
}[]> | undefined;
|
|
888
|
+
allowedRebalancers?: string[] | undefined;
|
|
889
|
+
}>, z.ZodObject<{
|
|
890
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
891
|
+
name: z.ZodOptional<z.ZodString>;
|
|
892
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
893
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
894
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
895
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
896
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
897
|
+
bridge: z.ZodString;
|
|
898
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
899
|
+
}, "strip", z.ZodTypeAny, {
|
|
900
|
+
bridge: string;
|
|
901
|
+
approvedTokens?: string[] | undefined;
|
|
902
|
+
}, {
|
|
903
|
+
bridge: string;
|
|
904
|
+
approvedTokens?: string[] | undefined;
|
|
905
|
+
}>, "many">>>;
|
|
906
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
907
|
+
type: z.ZodLiteral<TokenType.nativeOpL2>;
|
|
908
|
+
l2Bridge: z.ZodString;
|
|
909
|
+
}, "strip", z.ZodTypeAny, {
|
|
910
|
+
type: TokenType.nativeOpL2;
|
|
911
|
+
l2Bridge: string;
|
|
912
|
+
symbol?: string | undefined;
|
|
913
|
+
name?: string | undefined;
|
|
914
|
+
decimals?: number | undefined;
|
|
915
|
+
scale?: number | undefined;
|
|
916
|
+
isNft?: boolean | undefined;
|
|
917
|
+
contractVersion?: string | undefined;
|
|
918
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
919
|
+
bridge: string;
|
|
920
|
+
approvedTokens?: string[] | undefined;
|
|
921
|
+
}[]> | undefined;
|
|
922
|
+
allowedRebalancers?: string[] | undefined;
|
|
923
|
+
}, {
|
|
924
|
+
type: TokenType.nativeOpL2;
|
|
925
|
+
l2Bridge: string;
|
|
926
|
+
symbol?: string | undefined;
|
|
927
|
+
name?: string | undefined;
|
|
928
|
+
decimals?: number | undefined;
|
|
929
|
+
scale?: number | undefined;
|
|
930
|
+
isNft?: boolean | undefined;
|
|
931
|
+
contractVersion?: string | undefined;
|
|
932
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
933
|
+
bridge: string;
|
|
934
|
+
approvedTokens?: string[] | undefined;
|
|
935
|
+
}[]> | undefined;
|
|
936
|
+
allowedRebalancers?: string[] | undefined;
|
|
508
937
|
}>, z.ZodObject<{
|
|
509
938
|
symbol: z.ZodOptional<z.ZodString>;
|
|
939
|
+
type: z.ZodLiteral<TokenType.nativeOpL1>;
|
|
510
940
|
name: z.ZodOptional<z.ZodString>;
|
|
511
941
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
942
|
+
version: z.ZodNumber;
|
|
512
943
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
513
944
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
945
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
946
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
947
|
+
bridge: z.ZodString;
|
|
948
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
949
|
+
}, "strip", z.ZodTypeAny, {
|
|
950
|
+
bridge: string;
|
|
951
|
+
approvedTokens?: string[] | undefined;
|
|
952
|
+
}, {
|
|
953
|
+
bridge: string;
|
|
954
|
+
approvedTokens?: string[] | undefined;
|
|
955
|
+
}>, "many">>>;
|
|
956
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
957
|
+
portal: z.ZodString;
|
|
958
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
959
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
960
|
+
}, "strip", z.ZodTypeAny, {
|
|
961
|
+
type: TokenType.nativeOpL1;
|
|
962
|
+
urls: string[];
|
|
963
|
+
version: number;
|
|
964
|
+
portal: string;
|
|
965
|
+
symbol?: string | undefined;
|
|
966
|
+
name?: string | undefined;
|
|
967
|
+
decimals?: number | undefined;
|
|
968
|
+
scale?: number | undefined;
|
|
969
|
+
isNft?: boolean | undefined;
|
|
970
|
+
contractVersion?: string | undefined;
|
|
971
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
972
|
+
bridge: string;
|
|
973
|
+
approvedTokens?: string[] | undefined;
|
|
974
|
+
}[]> | undefined;
|
|
975
|
+
allowedRebalancers?: string[] | undefined;
|
|
976
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
977
|
+
}, {
|
|
978
|
+
type: TokenType.nativeOpL1;
|
|
979
|
+
urls: string[];
|
|
980
|
+
version: number;
|
|
981
|
+
portal: string;
|
|
982
|
+
symbol?: string | undefined;
|
|
983
|
+
name?: string | undefined;
|
|
984
|
+
decimals?: number | undefined;
|
|
985
|
+
scale?: number | undefined;
|
|
986
|
+
isNft?: boolean | undefined;
|
|
987
|
+
contractVersion?: string | undefined;
|
|
988
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
989
|
+
bridge: string;
|
|
990
|
+
approvedTokens?: string[] | undefined;
|
|
991
|
+
}[]> | undefined;
|
|
992
|
+
allowedRebalancers?: string[] | undefined;
|
|
993
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
994
|
+
}>, z.ZodObject<{
|
|
995
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
996
|
+
name: z.ZodOptional<z.ZodString>;
|
|
997
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
998
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
999
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1000
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1001
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
1002
|
+
bridge: z.ZodString;
|
|
1003
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1004
|
+
}, "strip", z.ZodTypeAny, {
|
|
1005
|
+
bridge: string;
|
|
1006
|
+
approvedTokens?: string[] | undefined;
|
|
1007
|
+
}, {
|
|
1008
|
+
bridge: string;
|
|
1009
|
+
approvedTokens?: string[] | undefined;
|
|
1010
|
+
}>, "many">>>;
|
|
1011
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
514
1012
|
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.collateralUri]>;
|
|
515
1013
|
token: z.ZodString;
|
|
516
1014
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -521,6 +1019,12 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
521
1019
|
decimals?: number | undefined;
|
|
522
1020
|
scale?: number | undefined;
|
|
523
1021
|
isNft?: boolean | undefined;
|
|
1022
|
+
contractVersion?: string | undefined;
|
|
1023
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1024
|
+
bridge: string;
|
|
1025
|
+
approvedTokens?: string[] | undefined;
|
|
1026
|
+
}[]> | undefined;
|
|
1027
|
+
allowedRebalancers?: string[] | undefined;
|
|
524
1028
|
}, {
|
|
525
1029
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
526
1030
|
token: string;
|
|
@@ -529,6 +1033,12 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
529
1033
|
decimals?: number | undefined;
|
|
530
1034
|
scale?: number | undefined;
|
|
531
1035
|
isNft?: boolean | undefined;
|
|
1036
|
+
contractVersion?: string | undefined;
|
|
1037
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1038
|
+
bridge: string;
|
|
1039
|
+
approvedTokens?: string[] | undefined;
|
|
1040
|
+
}[]> | undefined;
|
|
1041
|
+
allowedRebalancers?: string[] | undefined;
|
|
532
1042
|
}>, z.ZodObject<{
|
|
533
1043
|
symbol: z.ZodOptional<z.ZodString>;
|
|
534
1044
|
type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
|
|
@@ -536,6 +1046,18 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
536
1046
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
537
1047
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
538
1048
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1049
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1050
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
1051
|
+
bridge: z.ZodString;
|
|
1052
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1053
|
+
}, "strip", z.ZodTypeAny, {
|
|
1054
|
+
bridge: string;
|
|
1055
|
+
approvedTokens?: string[] | undefined;
|
|
1056
|
+
}, {
|
|
1057
|
+
bridge: string;
|
|
1058
|
+
approvedTokens?: string[] | undefined;
|
|
1059
|
+
}>, "many">>>;
|
|
1060
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
539
1061
|
token: z.ZodString;
|
|
540
1062
|
xERC20: z.ZodOptional<z.ZodObject<{
|
|
541
1063
|
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -606,6 +1128,12 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
606
1128
|
decimals?: number | undefined;
|
|
607
1129
|
scale?: number | undefined;
|
|
608
1130
|
isNft?: boolean | undefined;
|
|
1131
|
+
contractVersion?: string | undefined;
|
|
1132
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1133
|
+
bridge: string;
|
|
1134
|
+
approvedTokens?: string[] | undefined;
|
|
1135
|
+
}[]> | undefined;
|
|
1136
|
+
allowedRebalancers?: string[] | undefined;
|
|
609
1137
|
xERC20?: {
|
|
610
1138
|
warpRouteLimits: {
|
|
611
1139
|
bufferCap?: string | undefined;
|
|
@@ -627,6 +1155,12 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
627
1155
|
decimals?: number | undefined;
|
|
628
1156
|
scale?: number | undefined;
|
|
629
1157
|
isNft?: boolean | undefined;
|
|
1158
|
+
contractVersion?: string | undefined;
|
|
1159
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1160
|
+
bridge: string;
|
|
1161
|
+
approvedTokens?: string[] | undefined;
|
|
1162
|
+
}[]> | undefined;
|
|
1163
|
+
allowedRebalancers?: string[] | undefined;
|
|
630
1164
|
xERC20?: {
|
|
631
1165
|
warpRouteLimits: {
|
|
632
1166
|
bufferCap?: string | undefined;
|
|
@@ -646,6 +1180,7 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
646
1180
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
647
1181
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
648
1182
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1183
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
649
1184
|
type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri]>;
|
|
650
1185
|
initialSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
651
1186
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -655,6 +1190,7 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
655
1190
|
decimals?: number | undefined;
|
|
656
1191
|
scale?: number | undefined;
|
|
657
1192
|
isNft?: boolean | undefined;
|
|
1193
|
+
contractVersion?: string | undefined;
|
|
658
1194
|
initialSupply?: string | number | undefined;
|
|
659
1195
|
}, {
|
|
660
1196
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
@@ -663,6 +1199,7 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
663
1199
|
decimals?: number | undefined;
|
|
664
1200
|
scale?: number | undefined;
|
|
665
1201
|
isNft?: boolean | undefined;
|
|
1202
|
+
contractVersion?: string | undefined;
|
|
666
1203
|
initialSupply?: string | number | undefined;
|
|
667
1204
|
}>, z.ZodObject<{
|
|
668
1205
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -670,6 +1207,7 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
670
1207
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
671
1208
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
672
1209
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1210
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
673
1211
|
type: z.ZodLiteral<TokenType.syntheticRebase>;
|
|
674
1212
|
collateralChainName: z.ZodString;
|
|
675
1213
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -680,6 +1218,7 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
680
1218
|
decimals?: number | undefined;
|
|
681
1219
|
scale?: number | undefined;
|
|
682
1220
|
isNft?: boolean | undefined;
|
|
1221
|
+
contractVersion?: string | undefined;
|
|
683
1222
|
}, {
|
|
684
1223
|
type: TokenType.syntheticRebase;
|
|
685
1224
|
collateralChainName: string;
|
|
@@ -688,6 +1227,67 @@ export declare const HypTokenConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
688
1227
|
decimals?: number | undefined;
|
|
689
1228
|
scale?: number | undefined;
|
|
690
1229
|
isNft?: boolean | undefined;
|
|
1230
|
+
contractVersion?: string | undefined;
|
|
1231
|
+
}>, z.ZodObject<{
|
|
1232
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
type: z.ZodLiteral<TokenType.collateralCctp>;
|
|
1234
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1236
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1237
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1238
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1239
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
1240
|
+
bridge: z.ZodString;
|
|
1241
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1242
|
+
}, "strip", z.ZodTypeAny, {
|
|
1243
|
+
bridge: string;
|
|
1244
|
+
approvedTokens?: string[] | undefined;
|
|
1245
|
+
}, {
|
|
1246
|
+
bridge: string;
|
|
1247
|
+
approvedTokens?: string[] | undefined;
|
|
1248
|
+
}>, "many">>>;
|
|
1249
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1250
|
+
token: z.ZodString;
|
|
1251
|
+
messageTransmitter: z.ZodString;
|
|
1252
|
+
tokenMessenger: z.ZodString;
|
|
1253
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1254
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
1255
|
+
}, "strip", z.ZodTypeAny, {
|
|
1256
|
+
type: TokenType.collateralCctp;
|
|
1257
|
+
urls: string[];
|
|
1258
|
+
token: string;
|
|
1259
|
+
messageTransmitter: string;
|
|
1260
|
+
tokenMessenger: string;
|
|
1261
|
+
symbol?: string | undefined;
|
|
1262
|
+
name?: string | undefined;
|
|
1263
|
+
decimals?: number | undefined;
|
|
1264
|
+
scale?: number | undefined;
|
|
1265
|
+
isNft?: boolean | undefined;
|
|
1266
|
+
contractVersion?: string | undefined;
|
|
1267
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1268
|
+
bridge: string;
|
|
1269
|
+
approvedTokens?: string[] | undefined;
|
|
1270
|
+
}[]> | undefined;
|
|
1271
|
+
allowedRebalancers?: string[] | undefined;
|
|
1272
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1273
|
+
}, {
|
|
1274
|
+
type: TokenType.collateralCctp;
|
|
1275
|
+
urls: string[];
|
|
1276
|
+
token: string;
|
|
1277
|
+
messageTransmitter: string;
|
|
1278
|
+
tokenMessenger: string;
|
|
1279
|
+
symbol?: string | undefined;
|
|
1280
|
+
name?: string | undefined;
|
|
1281
|
+
decimals?: number | undefined;
|
|
1282
|
+
scale?: number | undefined;
|
|
1283
|
+
isNft?: boolean | undefined;
|
|
1284
|
+
contractVersion?: string | undefined;
|
|
1285
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1286
|
+
bridge: string;
|
|
1287
|
+
approvedTokens?: string[] | undefined;
|
|
1288
|
+
}[]> | undefined;
|
|
1289
|
+
allowedRebalancers?: string[] | undefined;
|
|
1290
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
691
1291
|
}>]>;
|
|
692
1292
|
export type HypTokenConfig = z.infer<typeof HypTokenConfigSchema>;
|
|
693
1293
|
export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -696,6 +1296,18 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
696
1296
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
697
1297
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
698
1298
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1299
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1300
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
1301
|
+
bridge: z.ZodString;
|
|
1302
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1303
|
+
}, "strip", z.ZodTypeAny, {
|
|
1304
|
+
bridge: string;
|
|
1305
|
+
approvedTokens?: string[] | undefined;
|
|
1306
|
+
}, {
|
|
1307
|
+
bridge: string;
|
|
1308
|
+
approvedTokens?: string[] | undefined;
|
|
1309
|
+
}>, "many">>>;
|
|
1310
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
699
1311
|
type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
|
|
700
1312
|
}, "strip", z.ZodTypeAny, {
|
|
701
1313
|
type: TokenType.native | TokenType.nativeScaled;
|
|
@@ -704,6 +1316,12 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
704
1316
|
decimals?: number | undefined;
|
|
705
1317
|
scale?: number | undefined;
|
|
706
1318
|
isNft?: boolean | undefined;
|
|
1319
|
+
contractVersion?: string | undefined;
|
|
1320
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1321
|
+
bridge: string;
|
|
1322
|
+
approvedTokens?: string[] | undefined;
|
|
1323
|
+
}[]> | undefined;
|
|
1324
|
+
allowedRebalancers?: string[] | undefined;
|
|
707
1325
|
}, {
|
|
708
1326
|
type: TokenType.native | TokenType.nativeScaled;
|
|
709
1327
|
symbol?: string | undefined;
|
|
@@ -711,12 +1329,135 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
711
1329
|
decimals?: number | undefined;
|
|
712
1330
|
scale?: number | undefined;
|
|
713
1331
|
isNft?: boolean | undefined;
|
|
1332
|
+
contractVersion?: string | undefined;
|
|
1333
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1334
|
+
bridge: string;
|
|
1335
|
+
approvedTokens?: string[] | undefined;
|
|
1336
|
+
}[]> | undefined;
|
|
1337
|
+
allowedRebalancers?: string[] | undefined;
|
|
1338
|
+
}>, z.ZodObject<{
|
|
1339
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1342
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1343
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1344
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1345
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
1346
|
+
bridge: z.ZodString;
|
|
1347
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1348
|
+
}, "strip", z.ZodTypeAny, {
|
|
1349
|
+
bridge: string;
|
|
1350
|
+
approvedTokens?: string[] | undefined;
|
|
1351
|
+
}, {
|
|
1352
|
+
bridge: string;
|
|
1353
|
+
approvedTokens?: string[] | undefined;
|
|
1354
|
+
}>, "many">>>;
|
|
1355
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1356
|
+
type: z.ZodLiteral<TokenType.nativeOpL2>;
|
|
1357
|
+
l2Bridge: z.ZodString;
|
|
1358
|
+
}, "strip", z.ZodTypeAny, {
|
|
1359
|
+
type: TokenType.nativeOpL2;
|
|
1360
|
+
l2Bridge: string;
|
|
1361
|
+
symbol?: string | undefined;
|
|
1362
|
+
name?: string | undefined;
|
|
1363
|
+
decimals?: number | undefined;
|
|
1364
|
+
scale?: number | undefined;
|
|
1365
|
+
isNft?: boolean | undefined;
|
|
1366
|
+
contractVersion?: string | undefined;
|
|
1367
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1368
|
+
bridge: string;
|
|
1369
|
+
approvedTokens?: string[] | undefined;
|
|
1370
|
+
}[]> | undefined;
|
|
1371
|
+
allowedRebalancers?: string[] | undefined;
|
|
1372
|
+
}, {
|
|
1373
|
+
type: TokenType.nativeOpL2;
|
|
1374
|
+
l2Bridge: string;
|
|
1375
|
+
symbol?: string | undefined;
|
|
1376
|
+
name?: string | undefined;
|
|
1377
|
+
decimals?: number | undefined;
|
|
1378
|
+
scale?: number | undefined;
|
|
1379
|
+
isNft?: boolean | undefined;
|
|
1380
|
+
contractVersion?: string | undefined;
|
|
1381
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1382
|
+
bridge: string;
|
|
1383
|
+
approvedTokens?: string[] | undefined;
|
|
1384
|
+
}[]> | undefined;
|
|
1385
|
+
allowedRebalancers?: string[] | undefined;
|
|
1386
|
+
}>, z.ZodObject<{
|
|
1387
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
type: z.ZodLiteral<TokenType.nativeOpL1>;
|
|
1389
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1390
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1391
|
+
version: z.ZodNumber;
|
|
1392
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1393
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1394
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1395
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
1396
|
+
bridge: z.ZodString;
|
|
1397
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1398
|
+
}, "strip", z.ZodTypeAny, {
|
|
1399
|
+
bridge: string;
|
|
1400
|
+
approvedTokens?: string[] | undefined;
|
|
1401
|
+
}, {
|
|
1402
|
+
bridge: string;
|
|
1403
|
+
approvedTokens?: string[] | undefined;
|
|
1404
|
+
}>, "many">>>;
|
|
1405
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1406
|
+
portal: z.ZodString;
|
|
1407
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1408
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
1409
|
+
}, "strip", z.ZodTypeAny, {
|
|
1410
|
+
type: TokenType.nativeOpL1;
|
|
1411
|
+
urls: string[];
|
|
1412
|
+
version: number;
|
|
1413
|
+
portal: string;
|
|
1414
|
+
symbol?: string | undefined;
|
|
1415
|
+
name?: string | undefined;
|
|
1416
|
+
decimals?: number | undefined;
|
|
1417
|
+
scale?: number | undefined;
|
|
1418
|
+
isNft?: boolean | undefined;
|
|
1419
|
+
contractVersion?: string | undefined;
|
|
1420
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1421
|
+
bridge: string;
|
|
1422
|
+
approvedTokens?: string[] | undefined;
|
|
1423
|
+
}[]> | undefined;
|
|
1424
|
+
allowedRebalancers?: string[] | undefined;
|
|
1425
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1426
|
+
}, {
|
|
1427
|
+
type: TokenType.nativeOpL1;
|
|
1428
|
+
urls: string[];
|
|
1429
|
+
version: number;
|
|
1430
|
+
portal: string;
|
|
1431
|
+
symbol?: string | undefined;
|
|
1432
|
+
name?: string | undefined;
|
|
1433
|
+
decimals?: number | undefined;
|
|
1434
|
+
scale?: number | undefined;
|
|
1435
|
+
isNft?: boolean | undefined;
|
|
1436
|
+
contractVersion?: string | undefined;
|
|
1437
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1438
|
+
bridge: string;
|
|
1439
|
+
approvedTokens?: string[] | undefined;
|
|
1440
|
+
}[]> | undefined;
|
|
1441
|
+
allowedRebalancers?: string[] | undefined;
|
|
1442
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
714
1443
|
}>, z.ZodObject<{
|
|
715
1444
|
symbol: z.ZodOptional<z.ZodString>;
|
|
716
1445
|
name: z.ZodOptional<z.ZodString>;
|
|
717
1446
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
718
1447
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
719
1448
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1449
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1450
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
1451
|
+
bridge: z.ZodString;
|
|
1452
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1453
|
+
}, "strip", z.ZodTypeAny, {
|
|
1454
|
+
bridge: string;
|
|
1455
|
+
approvedTokens?: string[] | undefined;
|
|
1456
|
+
}, {
|
|
1457
|
+
bridge: string;
|
|
1458
|
+
approvedTokens?: string[] | undefined;
|
|
1459
|
+
}>, "many">>>;
|
|
1460
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
720
1461
|
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.collateralUri]>;
|
|
721
1462
|
token: z.ZodString;
|
|
722
1463
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -727,6 +1468,12 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
727
1468
|
decimals?: number | undefined;
|
|
728
1469
|
scale?: number | undefined;
|
|
729
1470
|
isNft?: boolean | undefined;
|
|
1471
|
+
contractVersion?: string | undefined;
|
|
1472
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1473
|
+
bridge: string;
|
|
1474
|
+
approvedTokens?: string[] | undefined;
|
|
1475
|
+
}[]> | undefined;
|
|
1476
|
+
allowedRebalancers?: string[] | undefined;
|
|
730
1477
|
}, {
|
|
731
1478
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
732
1479
|
token: string;
|
|
@@ -735,6 +1482,12 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
735
1482
|
decimals?: number | undefined;
|
|
736
1483
|
scale?: number | undefined;
|
|
737
1484
|
isNft?: boolean | undefined;
|
|
1485
|
+
contractVersion?: string | undefined;
|
|
1486
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1487
|
+
bridge: string;
|
|
1488
|
+
approvedTokens?: string[] | undefined;
|
|
1489
|
+
}[]> | undefined;
|
|
1490
|
+
allowedRebalancers?: string[] | undefined;
|
|
738
1491
|
}>, z.ZodObject<{
|
|
739
1492
|
symbol: z.ZodOptional<z.ZodString>;
|
|
740
1493
|
type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
|
|
@@ -742,6 +1495,18 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
742
1495
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
743
1496
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
744
1497
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1498
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1499
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
1500
|
+
bridge: z.ZodString;
|
|
1501
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1502
|
+
}, "strip", z.ZodTypeAny, {
|
|
1503
|
+
bridge: string;
|
|
1504
|
+
approvedTokens?: string[] | undefined;
|
|
1505
|
+
}, {
|
|
1506
|
+
bridge: string;
|
|
1507
|
+
approvedTokens?: string[] | undefined;
|
|
1508
|
+
}>, "many">>>;
|
|
1509
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
745
1510
|
token: z.ZodString;
|
|
746
1511
|
xERC20: z.ZodOptional<z.ZodObject<{
|
|
747
1512
|
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -812,6 +1577,12 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
812
1577
|
decimals?: number | undefined;
|
|
813
1578
|
scale?: number | undefined;
|
|
814
1579
|
isNft?: boolean | undefined;
|
|
1580
|
+
contractVersion?: string | undefined;
|
|
1581
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1582
|
+
bridge: string;
|
|
1583
|
+
approvedTokens?: string[] | undefined;
|
|
1584
|
+
}[]> | undefined;
|
|
1585
|
+
allowedRebalancers?: string[] | undefined;
|
|
815
1586
|
xERC20?: {
|
|
816
1587
|
warpRouteLimits: {
|
|
817
1588
|
bufferCap?: string | undefined;
|
|
@@ -833,6 +1604,12 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
833
1604
|
decimals?: number | undefined;
|
|
834
1605
|
scale?: number | undefined;
|
|
835
1606
|
isNft?: boolean | undefined;
|
|
1607
|
+
contractVersion?: string | undefined;
|
|
1608
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1609
|
+
bridge: string;
|
|
1610
|
+
approvedTokens?: string[] | undefined;
|
|
1611
|
+
}[]> | undefined;
|
|
1612
|
+
allowedRebalancers?: string[] | undefined;
|
|
836
1613
|
xERC20?: {
|
|
837
1614
|
warpRouteLimits: {
|
|
838
1615
|
bufferCap?: string | undefined;
|
|
@@ -852,6 +1629,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
852
1629
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
853
1630
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
854
1631
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1632
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
855
1633
|
type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri]>;
|
|
856
1634
|
initialSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
857
1635
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -861,6 +1639,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
861
1639
|
decimals?: number | undefined;
|
|
862
1640
|
scale?: number | undefined;
|
|
863
1641
|
isNft?: boolean | undefined;
|
|
1642
|
+
contractVersion?: string | undefined;
|
|
864
1643
|
initialSupply?: string | number | undefined;
|
|
865
1644
|
}, {
|
|
866
1645
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
@@ -869,6 +1648,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
869
1648
|
decimals?: number | undefined;
|
|
870
1649
|
scale?: number | undefined;
|
|
871
1650
|
isNft?: boolean | undefined;
|
|
1651
|
+
contractVersion?: string | undefined;
|
|
872
1652
|
initialSupply?: string | number | undefined;
|
|
873
1653
|
}>, z.ZodObject<{
|
|
874
1654
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -876,6 +1656,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
876
1656
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
877
1657
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
878
1658
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1659
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
879
1660
|
type: z.ZodLiteral<TokenType.syntheticRebase>;
|
|
880
1661
|
collateralChainName: z.ZodString;
|
|
881
1662
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -886,6 +1667,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
886
1667
|
decimals?: number | undefined;
|
|
887
1668
|
scale?: number | undefined;
|
|
888
1669
|
isNft?: boolean | undefined;
|
|
1670
|
+
contractVersion?: string | undefined;
|
|
889
1671
|
}, {
|
|
890
1672
|
type: TokenType.syntheticRebase;
|
|
891
1673
|
collateralChainName: string;
|
|
@@ -894,6 +1676,67 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
894
1676
|
decimals?: number | undefined;
|
|
895
1677
|
scale?: number | undefined;
|
|
896
1678
|
isNft?: boolean | undefined;
|
|
1679
|
+
contractVersion?: string | undefined;
|
|
1680
|
+
}>, z.ZodObject<{
|
|
1681
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
type: z.ZodLiteral<TokenType.collateralCctp>;
|
|
1683
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1684
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1685
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1686
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1687
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1688
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
1689
|
+
bridge: z.ZodString;
|
|
1690
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1691
|
+
}, "strip", z.ZodTypeAny, {
|
|
1692
|
+
bridge: string;
|
|
1693
|
+
approvedTokens?: string[] | undefined;
|
|
1694
|
+
}, {
|
|
1695
|
+
bridge: string;
|
|
1696
|
+
approvedTokens?: string[] | undefined;
|
|
1697
|
+
}>, "many">>>;
|
|
1698
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1699
|
+
token: z.ZodString;
|
|
1700
|
+
messageTransmitter: z.ZodString;
|
|
1701
|
+
tokenMessenger: z.ZodString;
|
|
1702
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1703
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
1704
|
+
}, "strip", z.ZodTypeAny, {
|
|
1705
|
+
type: TokenType.collateralCctp;
|
|
1706
|
+
urls: string[];
|
|
1707
|
+
token: string;
|
|
1708
|
+
messageTransmitter: string;
|
|
1709
|
+
tokenMessenger: string;
|
|
1710
|
+
symbol?: string | undefined;
|
|
1711
|
+
name?: string | undefined;
|
|
1712
|
+
decimals?: number | undefined;
|
|
1713
|
+
scale?: number | undefined;
|
|
1714
|
+
isNft?: boolean | undefined;
|
|
1715
|
+
contractVersion?: string | undefined;
|
|
1716
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1717
|
+
bridge: string;
|
|
1718
|
+
approvedTokens?: string[] | undefined;
|
|
1719
|
+
}[]> | undefined;
|
|
1720
|
+
allowedRebalancers?: string[] | undefined;
|
|
1721
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1722
|
+
}, {
|
|
1723
|
+
type: TokenType.collateralCctp;
|
|
1724
|
+
urls: string[];
|
|
1725
|
+
token: string;
|
|
1726
|
+
messageTransmitter: string;
|
|
1727
|
+
tokenMessenger: string;
|
|
1728
|
+
symbol?: string | undefined;
|
|
1729
|
+
name?: string | undefined;
|
|
1730
|
+
decimals?: number | undefined;
|
|
1731
|
+
scale?: number | undefined;
|
|
1732
|
+
isNft?: boolean | undefined;
|
|
1733
|
+
contractVersion?: string | undefined;
|
|
1734
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
1735
|
+
bridge: string;
|
|
1736
|
+
approvedTokens?: string[] | undefined;
|
|
1737
|
+
}[]> | undefined;
|
|
1738
|
+
allowedRebalancers?: string[] | undefined;
|
|
1739
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
897
1740
|
}>]>, z.ZodObject<{
|
|
898
1741
|
owner: z.ZodString;
|
|
899
1742
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1158,14 +2001,23 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
1158
2001
|
type: IsmType.ARB_L2_TO_L1;
|
|
1159
2002
|
bridge: string;
|
|
1160
2003
|
}>, z.ZodObject<{
|
|
1161
|
-
|
|
2004
|
+
owner: z.ZodString;
|
|
2005
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2006
|
+
type: z.ZodLiteral<IsmType.OFFCHAIN_LOOKUP>;
|
|
2007
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
1162
2008
|
}, "strip", z.ZodTypeAny, {
|
|
1163
|
-
type: IsmType.
|
|
2009
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
2010
|
+
owner: string;
|
|
2011
|
+
urls: string[];
|
|
2012
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1164
2013
|
}, {
|
|
1165
|
-
type: IsmType.
|
|
2014
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
2015
|
+
owner: string;
|
|
2016
|
+
urls: string[];
|
|
2017
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1166
2018
|
}>]>>;
|
|
1167
2019
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
1168
|
-
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2020
|
+
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
|
|
1169
2021
|
address: z.ZodString;
|
|
1170
2022
|
}, "strip", z.ZodTypeAny, {
|
|
1171
2023
|
address: string;
|
|
@@ -1173,7 +2025,7 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
1173
2025
|
address: string;
|
|
1174
2026
|
}>>>;
|
|
1175
2027
|
gas: z.ZodOptional<z.ZodNumber>;
|
|
1176
|
-
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2028
|
+
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
1177
2029
|
}, "strip", z.ZodTypeAny, {
|
|
1178
2030
|
owner: string;
|
|
1179
2031
|
mailbox: string;
|
|
@@ -1262,14 +2114,17 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
1262
2114
|
type: IsmType.ARB_L2_TO_L1;
|
|
1263
2115
|
bridge: string;
|
|
1264
2116
|
} | {
|
|
1265
|
-
type: IsmType.
|
|
2117
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
2118
|
+
owner: string;
|
|
2119
|
+
urls: string[];
|
|
2120
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1266
2121
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
1267
2122
|
foreignDeployment?: string | undefined;
|
|
1268
|
-
remoteRouters?: Record<string, {
|
|
2123
|
+
remoteRouters?: Record<string | number, {
|
|
1269
2124
|
address: string;
|
|
1270
2125
|
}> | undefined;
|
|
1271
2126
|
gas?: number | undefined;
|
|
1272
|
-
destinationGas?: Record<string, string> | undefined;
|
|
2127
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
1273
2128
|
}, {
|
|
1274
2129
|
owner: string;
|
|
1275
2130
|
mailbox: string;
|
|
@@ -1357,54 +2212,198 @@ export declare const HypTokenRouterConfigSchema: z.ZodIntersection<z.ZodIntersec
|
|
|
1357
2212
|
} | {
|
|
1358
2213
|
type: IsmType.ARB_L2_TO_L1;
|
|
1359
2214
|
bridge: string;
|
|
1360
|
-
} | {
|
|
1361
|
-
type: IsmType.
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
}
|
|
1370
|
-
|
|
2215
|
+
} | {
|
|
2216
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
2217
|
+
owner: string;
|
|
2218
|
+
urls: string[];
|
|
2219
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2220
|
+
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
2221
|
+
foreignDeployment?: string | undefined;
|
|
2222
|
+
remoteRouters?: Record<string | number, {
|
|
2223
|
+
address: string;
|
|
2224
|
+
}> | undefined;
|
|
2225
|
+
gas?: number | undefined;
|
|
2226
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
2227
|
+
}>>, z.ZodObject<{
|
|
2228
|
+
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified, ContractVerificationStatus.Error, ContractVerificationStatus.Skipped]>>>;
|
|
2229
|
+
}, "strip", z.ZodTypeAny, {
|
|
2230
|
+
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
2231
|
+
}, {
|
|
2232
|
+
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
2233
|
+
}>>;
|
|
2234
|
+
export type HypTokenRouterConfig = z.infer<typeof HypTokenRouterConfigSchema>;
|
|
2235
|
+
export type DerivedTokenRouterConfig = z.infer<typeof HypTokenConfigSchema> & z.infer<typeof GasRouterConfigSchema> & DerivedRouterConfig;
|
|
2236
|
+
export type DerivedWarpRouteDeployConfig = ChainMap<DerivedTokenRouterConfig>;
|
|
2237
|
+
export declare function derivedHookAddress(config: DerivedTokenRouterConfig): string;
|
|
2238
|
+
export declare function derivedIsmAddress(config: DerivedTokenRouterConfig): string;
|
|
2239
|
+
export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersection<z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2240
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2241
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2242
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2243
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2244
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2245
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2246
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
2247
|
+
bridge: z.ZodString;
|
|
2248
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2249
|
+
}, "strip", z.ZodTypeAny, {
|
|
2250
|
+
bridge: string;
|
|
2251
|
+
approvedTokens?: string[] | undefined;
|
|
2252
|
+
}, {
|
|
2253
|
+
bridge: string;
|
|
2254
|
+
approvedTokens?: string[] | undefined;
|
|
2255
|
+
}>, "many">>>;
|
|
2256
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2257
|
+
type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
|
|
2258
|
+
}, "strip", z.ZodTypeAny, {
|
|
2259
|
+
type: TokenType.native | TokenType.nativeScaled;
|
|
2260
|
+
symbol?: string | undefined;
|
|
2261
|
+
name?: string | undefined;
|
|
2262
|
+
decimals?: number | undefined;
|
|
2263
|
+
scale?: number | undefined;
|
|
2264
|
+
isNft?: boolean | undefined;
|
|
2265
|
+
contractVersion?: string | undefined;
|
|
2266
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2267
|
+
bridge: string;
|
|
2268
|
+
approvedTokens?: string[] | undefined;
|
|
2269
|
+
}[]> | undefined;
|
|
2270
|
+
allowedRebalancers?: string[] | undefined;
|
|
2271
|
+
}, {
|
|
2272
|
+
type: TokenType.native | TokenType.nativeScaled;
|
|
2273
|
+
symbol?: string | undefined;
|
|
2274
|
+
name?: string | undefined;
|
|
2275
|
+
decimals?: number | undefined;
|
|
2276
|
+
scale?: number | undefined;
|
|
2277
|
+
isNft?: boolean | undefined;
|
|
2278
|
+
contractVersion?: string | undefined;
|
|
2279
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2280
|
+
bridge: string;
|
|
2281
|
+
approvedTokens?: string[] | undefined;
|
|
2282
|
+
}[]> | undefined;
|
|
2283
|
+
allowedRebalancers?: string[] | undefined;
|
|
2284
|
+
}>, z.ZodObject<{
|
|
2285
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2286
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2287
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2288
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2289
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2290
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2291
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
2292
|
+
bridge: z.ZodString;
|
|
2293
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2294
|
+
}, "strip", z.ZodTypeAny, {
|
|
2295
|
+
bridge: string;
|
|
2296
|
+
approvedTokens?: string[] | undefined;
|
|
2297
|
+
}, {
|
|
2298
|
+
bridge: string;
|
|
2299
|
+
approvedTokens?: string[] | undefined;
|
|
2300
|
+
}>, "many">>>;
|
|
2301
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2302
|
+
type: z.ZodLiteral<TokenType.nativeOpL2>;
|
|
2303
|
+
l2Bridge: z.ZodString;
|
|
1371
2304
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
-
|
|
2305
|
+
type: TokenType.nativeOpL2;
|
|
2306
|
+
l2Bridge: string;
|
|
2307
|
+
symbol?: string | undefined;
|
|
2308
|
+
name?: string | undefined;
|
|
2309
|
+
decimals?: number | undefined;
|
|
2310
|
+
scale?: number | undefined;
|
|
2311
|
+
isNft?: boolean | undefined;
|
|
2312
|
+
contractVersion?: string | undefined;
|
|
2313
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2314
|
+
bridge: string;
|
|
2315
|
+
approvedTokens?: string[] | undefined;
|
|
2316
|
+
}[]> | undefined;
|
|
2317
|
+
allowedRebalancers?: string[] | undefined;
|
|
1373
2318
|
}, {
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
2319
|
+
type: TokenType.nativeOpL2;
|
|
2320
|
+
l2Bridge: string;
|
|
2321
|
+
symbol?: string | undefined;
|
|
2322
|
+
name?: string | undefined;
|
|
2323
|
+
decimals?: number | undefined;
|
|
2324
|
+
scale?: number | undefined;
|
|
2325
|
+
isNft?: boolean | undefined;
|
|
2326
|
+
contractVersion?: string | undefined;
|
|
2327
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2328
|
+
bridge: string;
|
|
2329
|
+
approvedTokens?: string[] | undefined;
|
|
2330
|
+
}[]> | undefined;
|
|
2331
|
+
allowedRebalancers?: string[] | undefined;
|
|
2332
|
+
}>, z.ZodObject<{
|
|
1382
2333
|
symbol: z.ZodOptional<z.ZodString>;
|
|
2334
|
+
type: z.ZodLiteral<TokenType.nativeOpL1>;
|
|
1383
2335
|
name: z.ZodOptional<z.ZodString>;
|
|
1384
2336
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2337
|
+
version: z.ZodNumber;
|
|
1385
2338
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1386
2339
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1387
|
-
|
|
2340
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2341
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
2342
|
+
bridge: z.ZodString;
|
|
2343
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2344
|
+
}, "strip", z.ZodTypeAny, {
|
|
2345
|
+
bridge: string;
|
|
2346
|
+
approvedTokens?: string[] | undefined;
|
|
2347
|
+
}, {
|
|
2348
|
+
bridge: string;
|
|
2349
|
+
approvedTokens?: string[] | undefined;
|
|
2350
|
+
}>, "many">>>;
|
|
2351
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2352
|
+
portal: z.ZodString;
|
|
2353
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2354
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
1388
2355
|
}, "strip", z.ZodTypeAny, {
|
|
1389
|
-
type: TokenType.
|
|
2356
|
+
type: TokenType.nativeOpL1;
|
|
2357
|
+
urls: string[];
|
|
2358
|
+
version: number;
|
|
2359
|
+
portal: string;
|
|
1390
2360
|
symbol?: string | undefined;
|
|
1391
2361
|
name?: string | undefined;
|
|
1392
2362
|
decimals?: number | undefined;
|
|
1393
2363
|
scale?: number | undefined;
|
|
1394
2364
|
isNft?: boolean | undefined;
|
|
2365
|
+
contractVersion?: string | undefined;
|
|
2366
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2367
|
+
bridge: string;
|
|
2368
|
+
approvedTokens?: string[] | undefined;
|
|
2369
|
+
}[]> | undefined;
|
|
2370
|
+
allowedRebalancers?: string[] | undefined;
|
|
2371
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1395
2372
|
}, {
|
|
1396
|
-
type: TokenType.
|
|
2373
|
+
type: TokenType.nativeOpL1;
|
|
2374
|
+
urls: string[];
|
|
2375
|
+
version: number;
|
|
2376
|
+
portal: string;
|
|
1397
2377
|
symbol?: string | undefined;
|
|
1398
2378
|
name?: string | undefined;
|
|
1399
2379
|
decimals?: number | undefined;
|
|
1400
2380
|
scale?: number | undefined;
|
|
1401
2381
|
isNft?: boolean | undefined;
|
|
2382
|
+
contractVersion?: string | undefined;
|
|
2383
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2384
|
+
bridge: string;
|
|
2385
|
+
approvedTokens?: string[] | undefined;
|
|
2386
|
+
}[]> | undefined;
|
|
2387
|
+
allowedRebalancers?: string[] | undefined;
|
|
2388
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1402
2389
|
}>, z.ZodObject<{
|
|
1403
2390
|
symbol: z.ZodOptional<z.ZodString>;
|
|
1404
2391
|
name: z.ZodOptional<z.ZodString>;
|
|
1405
2392
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1406
2393
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1407
2394
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2395
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2396
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
2397
|
+
bridge: z.ZodString;
|
|
2398
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2399
|
+
}, "strip", z.ZodTypeAny, {
|
|
2400
|
+
bridge: string;
|
|
2401
|
+
approvedTokens?: string[] | undefined;
|
|
2402
|
+
}, {
|
|
2403
|
+
bridge: string;
|
|
2404
|
+
approvedTokens?: string[] | undefined;
|
|
2405
|
+
}>, "many">>>;
|
|
2406
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1408
2407
|
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.collateralUri]>;
|
|
1409
2408
|
token: z.ZodString;
|
|
1410
2409
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1415,6 +2414,12 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1415
2414
|
decimals?: number | undefined;
|
|
1416
2415
|
scale?: number | undefined;
|
|
1417
2416
|
isNft?: boolean | undefined;
|
|
2417
|
+
contractVersion?: string | undefined;
|
|
2418
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2419
|
+
bridge: string;
|
|
2420
|
+
approvedTokens?: string[] | undefined;
|
|
2421
|
+
}[]> | undefined;
|
|
2422
|
+
allowedRebalancers?: string[] | undefined;
|
|
1418
2423
|
}, {
|
|
1419
2424
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
1420
2425
|
token: string;
|
|
@@ -1423,6 +2428,12 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1423
2428
|
decimals?: number | undefined;
|
|
1424
2429
|
scale?: number | undefined;
|
|
1425
2430
|
isNft?: boolean | undefined;
|
|
2431
|
+
contractVersion?: string | undefined;
|
|
2432
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2433
|
+
bridge: string;
|
|
2434
|
+
approvedTokens?: string[] | undefined;
|
|
2435
|
+
}[]> | undefined;
|
|
2436
|
+
allowedRebalancers?: string[] | undefined;
|
|
1426
2437
|
}>, z.ZodObject<{
|
|
1427
2438
|
symbol: z.ZodOptional<z.ZodString>;
|
|
1428
2439
|
type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
|
|
@@ -1430,6 +2441,18 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1430
2441
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1431
2442
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1432
2443
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2444
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2445
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
2446
|
+
bridge: z.ZodString;
|
|
2447
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2448
|
+
}, "strip", z.ZodTypeAny, {
|
|
2449
|
+
bridge: string;
|
|
2450
|
+
approvedTokens?: string[] | undefined;
|
|
2451
|
+
}, {
|
|
2452
|
+
bridge: string;
|
|
2453
|
+
approvedTokens?: string[] | undefined;
|
|
2454
|
+
}>, "many">>>;
|
|
2455
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
1433
2456
|
token: z.ZodString;
|
|
1434
2457
|
xERC20: z.ZodOptional<z.ZodObject<{
|
|
1435
2458
|
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1500,6 +2523,12 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1500
2523
|
decimals?: number | undefined;
|
|
1501
2524
|
scale?: number | undefined;
|
|
1502
2525
|
isNft?: boolean | undefined;
|
|
2526
|
+
contractVersion?: string | undefined;
|
|
2527
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2528
|
+
bridge: string;
|
|
2529
|
+
approvedTokens?: string[] | undefined;
|
|
2530
|
+
}[]> | undefined;
|
|
2531
|
+
allowedRebalancers?: string[] | undefined;
|
|
1503
2532
|
xERC20?: {
|
|
1504
2533
|
warpRouteLimits: {
|
|
1505
2534
|
bufferCap?: string | undefined;
|
|
@@ -1521,6 +2550,12 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1521
2550
|
decimals?: number | undefined;
|
|
1522
2551
|
scale?: number | undefined;
|
|
1523
2552
|
isNft?: boolean | undefined;
|
|
2553
|
+
contractVersion?: string | undefined;
|
|
2554
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2555
|
+
bridge: string;
|
|
2556
|
+
approvedTokens?: string[] | undefined;
|
|
2557
|
+
}[]> | undefined;
|
|
2558
|
+
allowedRebalancers?: string[] | undefined;
|
|
1524
2559
|
xERC20?: {
|
|
1525
2560
|
warpRouteLimits: {
|
|
1526
2561
|
bufferCap?: string | undefined;
|
|
@@ -1540,6 +2575,7 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1540
2575
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1541
2576
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1542
2577
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2578
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1543
2579
|
type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri]>;
|
|
1544
2580
|
initialSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1545
2581
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1549,6 +2585,7 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1549
2585
|
decimals?: number | undefined;
|
|
1550
2586
|
scale?: number | undefined;
|
|
1551
2587
|
isNft?: boolean | undefined;
|
|
2588
|
+
contractVersion?: string | undefined;
|
|
1552
2589
|
initialSupply?: string | number | undefined;
|
|
1553
2590
|
}, {
|
|
1554
2591
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
@@ -1557,6 +2594,7 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1557
2594
|
decimals?: number | undefined;
|
|
1558
2595
|
scale?: number | undefined;
|
|
1559
2596
|
isNft?: boolean | undefined;
|
|
2597
|
+
contractVersion?: string | undefined;
|
|
1560
2598
|
initialSupply?: string | number | undefined;
|
|
1561
2599
|
}>, z.ZodObject<{
|
|
1562
2600
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -1564,6 +2602,7 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1564
2602
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1565
2603
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1566
2604
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2605
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1567
2606
|
type: z.ZodLiteral<TokenType.syntheticRebase>;
|
|
1568
2607
|
collateralChainName: z.ZodString;
|
|
1569
2608
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1574,6 +2613,7 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1574
2613
|
decimals?: number | undefined;
|
|
1575
2614
|
scale?: number | undefined;
|
|
1576
2615
|
isNft?: boolean | undefined;
|
|
2616
|
+
contractVersion?: string | undefined;
|
|
1577
2617
|
}, {
|
|
1578
2618
|
type: TokenType.syntheticRebase;
|
|
1579
2619
|
collateralChainName: string;
|
|
@@ -1582,6 +2622,67 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1582
2622
|
decimals?: number | undefined;
|
|
1583
2623
|
scale?: number | undefined;
|
|
1584
2624
|
isNft?: boolean | undefined;
|
|
2625
|
+
contractVersion?: string | undefined;
|
|
2626
|
+
}>, z.ZodObject<{
|
|
2627
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2628
|
+
type: z.ZodLiteral<TokenType.collateralCctp>;
|
|
2629
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2631
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2632
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2633
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2634
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
2635
|
+
bridge: z.ZodString;
|
|
2636
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2637
|
+
}, "strip", z.ZodTypeAny, {
|
|
2638
|
+
bridge: string;
|
|
2639
|
+
approvedTokens?: string[] | undefined;
|
|
2640
|
+
}, {
|
|
2641
|
+
bridge: string;
|
|
2642
|
+
approvedTokens?: string[] | undefined;
|
|
2643
|
+
}>, "many">>>;
|
|
2644
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2645
|
+
token: z.ZodString;
|
|
2646
|
+
messageTransmitter: z.ZodString;
|
|
2647
|
+
tokenMessenger: z.ZodString;
|
|
2648
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2649
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
2650
|
+
}, "strip", z.ZodTypeAny, {
|
|
2651
|
+
type: TokenType.collateralCctp;
|
|
2652
|
+
urls: string[];
|
|
2653
|
+
token: string;
|
|
2654
|
+
messageTransmitter: string;
|
|
2655
|
+
tokenMessenger: string;
|
|
2656
|
+
symbol?: string | undefined;
|
|
2657
|
+
name?: string | undefined;
|
|
2658
|
+
decimals?: number | undefined;
|
|
2659
|
+
scale?: number | undefined;
|
|
2660
|
+
isNft?: boolean | undefined;
|
|
2661
|
+
contractVersion?: string | undefined;
|
|
2662
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2663
|
+
bridge: string;
|
|
2664
|
+
approvedTokens?: string[] | undefined;
|
|
2665
|
+
}[]> | undefined;
|
|
2666
|
+
allowedRebalancers?: string[] | undefined;
|
|
2667
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2668
|
+
}, {
|
|
2669
|
+
type: TokenType.collateralCctp;
|
|
2670
|
+
urls: string[];
|
|
2671
|
+
token: string;
|
|
2672
|
+
messageTransmitter: string;
|
|
2673
|
+
tokenMessenger: string;
|
|
2674
|
+
symbol?: string | undefined;
|
|
2675
|
+
name?: string | undefined;
|
|
2676
|
+
decimals?: number | undefined;
|
|
2677
|
+
scale?: number | undefined;
|
|
2678
|
+
isNft?: boolean | undefined;
|
|
2679
|
+
contractVersion?: string | undefined;
|
|
2680
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
2681
|
+
bridge: string;
|
|
2682
|
+
approvedTokens?: string[] | undefined;
|
|
2683
|
+
}[]> | undefined;
|
|
2684
|
+
allowedRebalancers?: string[] | undefined;
|
|
2685
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1585
2686
|
}>]>, z.ZodObject<{
|
|
1586
2687
|
owner: z.ZodString;
|
|
1587
2688
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1846,21 +2947,30 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1846
2947
|
type: IsmType.ARB_L2_TO_L1;
|
|
1847
2948
|
bridge: string;
|
|
1848
2949
|
}>, z.ZodObject<{
|
|
1849
|
-
|
|
2950
|
+
owner: z.ZodString;
|
|
2951
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2952
|
+
type: z.ZodLiteral<IsmType.OFFCHAIN_LOOKUP>;
|
|
2953
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
1850
2954
|
}, "strip", z.ZodTypeAny, {
|
|
1851
|
-
type: IsmType.
|
|
2955
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
2956
|
+
owner: string;
|
|
2957
|
+
urls: string[];
|
|
2958
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1852
2959
|
}, {
|
|
1853
|
-
type: IsmType.
|
|
2960
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
2961
|
+
owner: string;
|
|
2962
|
+
urls: string[];
|
|
2963
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1854
2964
|
}>]>>;
|
|
1855
2965
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
1856
|
-
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2966
|
+
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
|
|
1857
2967
|
address: z.ZodString;
|
|
1858
2968
|
}, "strip", z.ZodTypeAny, {
|
|
1859
2969
|
address: string;
|
|
1860
2970
|
}, {
|
|
1861
2971
|
address: string;
|
|
1862
2972
|
}>>>;
|
|
1863
|
-
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2973
|
+
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
1864
2974
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
1865
2975
|
}, "strip", z.ZodTypeAny, {
|
|
1866
2976
|
owner: string;
|
|
@@ -1950,13 +3060,16 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
1950
3060
|
type: IsmType.ARB_L2_TO_L1;
|
|
1951
3061
|
bridge: string;
|
|
1952
3062
|
} | {
|
|
1953
|
-
type: IsmType.
|
|
3063
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
3064
|
+
owner: string;
|
|
3065
|
+
urls: string[];
|
|
3066
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
1954
3067
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
1955
3068
|
foreignDeployment?: string | undefined;
|
|
1956
|
-
remoteRouters?: Record<string, {
|
|
3069
|
+
remoteRouters?: Record<string | number, {
|
|
1957
3070
|
address: string;
|
|
1958
3071
|
}> | undefined;
|
|
1959
|
-
destinationGas?: Record<string, string> | undefined;
|
|
3072
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
1960
3073
|
mailbox?: string | undefined;
|
|
1961
3074
|
}, {
|
|
1962
3075
|
owner: string;
|
|
@@ -2046,13 +3159,16 @@ export declare const HypTokenRouterConfigMailboxOptionalSchema: z.ZodIntersectio
|
|
|
2046
3159
|
type: IsmType.ARB_L2_TO_L1;
|
|
2047
3160
|
bridge: string;
|
|
2048
3161
|
} | {
|
|
2049
|
-
type: IsmType.
|
|
3162
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
3163
|
+
owner: string;
|
|
3164
|
+
urls: string[];
|
|
3165
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2050
3166
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
2051
3167
|
foreignDeployment?: string | undefined;
|
|
2052
|
-
remoteRouters?: Record<string, {
|
|
3168
|
+
remoteRouters?: Record<string | number, {
|
|
2053
3169
|
address: string;
|
|
2054
3170
|
}> | undefined;
|
|
2055
|
-
destinationGas?: Record<string, string> | undefined;
|
|
3171
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
2056
3172
|
mailbox?: string | undefined;
|
|
2057
3173
|
}>>, z.ZodObject<{
|
|
2058
3174
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified, ContractVerificationStatus.Error, ContractVerificationStatus.Skipped]>>>;
|
|
@@ -2068,6 +3184,18 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2068
3184
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2069
3185
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2070
3186
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3187
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3188
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
3189
|
+
bridge: z.ZodString;
|
|
3190
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3191
|
+
}, "strip", z.ZodTypeAny, {
|
|
3192
|
+
bridge: string;
|
|
3193
|
+
approvedTokens?: string[] | undefined;
|
|
3194
|
+
}, {
|
|
3195
|
+
bridge: string;
|
|
3196
|
+
approvedTokens?: string[] | undefined;
|
|
3197
|
+
}>, "many">>>;
|
|
3198
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2071
3199
|
type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
|
|
2072
3200
|
}, "strip", z.ZodTypeAny, {
|
|
2073
3201
|
type: TokenType.native | TokenType.nativeScaled;
|
|
@@ -2076,6 +3204,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2076
3204
|
decimals?: number | undefined;
|
|
2077
3205
|
scale?: number | undefined;
|
|
2078
3206
|
isNft?: boolean | undefined;
|
|
3207
|
+
contractVersion?: string | undefined;
|
|
3208
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3209
|
+
bridge: string;
|
|
3210
|
+
approvedTokens?: string[] | undefined;
|
|
3211
|
+
}[]> | undefined;
|
|
3212
|
+
allowedRebalancers?: string[] | undefined;
|
|
2079
3213
|
}, {
|
|
2080
3214
|
type: TokenType.native | TokenType.nativeScaled;
|
|
2081
3215
|
symbol?: string | undefined;
|
|
@@ -2083,12 +3217,135 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2083
3217
|
decimals?: number | undefined;
|
|
2084
3218
|
scale?: number | undefined;
|
|
2085
3219
|
isNft?: boolean | undefined;
|
|
3220
|
+
contractVersion?: string | undefined;
|
|
3221
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3222
|
+
bridge: string;
|
|
3223
|
+
approvedTokens?: string[] | undefined;
|
|
3224
|
+
}[]> | undefined;
|
|
3225
|
+
allowedRebalancers?: string[] | undefined;
|
|
3226
|
+
}>, z.ZodObject<{
|
|
3227
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3228
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3229
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3230
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3231
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3232
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3233
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
3234
|
+
bridge: z.ZodString;
|
|
3235
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3236
|
+
}, "strip", z.ZodTypeAny, {
|
|
3237
|
+
bridge: string;
|
|
3238
|
+
approvedTokens?: string[] | undefined;
|
|
3239
|
+
}, {
|
|
3240
|
+
bridge: string;
|
|
3241
|
+
approvedTokens?: string[] | undefined;
|
|
3242
|
+
}>, "many">>>;
|
|
3243
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3244
|
+
type: z.ZodLiteral<TokenType.nativeOpL2>;
|
|
3245
|
+
l2Bridge: z.ZodString;
|
|
3246
|
+
}, "strip", z.ZodTypeAny, {
|
|
3247
|
+
type: TokenType.nativeOpL2;
|
|
3248
|
+
l2Bridge: string;
|
|
3249
|
+
symbol?: string | undefined;
|
|
3250
|
+
name?: string | undefined;
|
|
3251
|
+
decimals?: number | undefined;
|
|
3252
|
+
scale?: number | undefined;
|
|
3253
|
+
isNft?: boolean | undefined;
|
|
3254
|
+
contractVersion?: string | undefined;
|
|
3255
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3256
|
+
bridge: string;
|
|
3257
|
+
approvedTokens?: string[] | undefined;
|
|
3258
|
+
}[]> | undefined;
|
|
3259
|
+
allowedRebalancers?: string[] | undefined;
|
|
3260
|
+
}, {
|
|
3261
|
+
type: TokenType.nativeOpL2;
|
|
3262
|
+
l2Bridge: string;
|
|
3263
|
+
symbol?: string | undefined;
|
|
3264
|
+
name?: string | undefined;
|
|
3265
|
+
decimals?: number | undefined;
|
|
3266
|
+
scale?: number | undefined;
|
|
3267
|
+
isNft?: boolean | undefined;
|
|
3268
|
+
contractVersion?: string | undefined;
|
|
3269
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3270
|
+
bridge: string;
|
|
3271
|
+
approvedTokens?: string[] | undefined;
|
|
3272
|
+
}[]> | undefined;
|
|
3273
|
+
allowedRebalancers?: string[] | undefined;
|
|
3274
|
+
}>, z.ZodObject<{
|
|
3275
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3276
|
+
type: z.ZodLiteral<TokenType.nativeOpL1>;
|
|
3277
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3278
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3279
|
+
version: z.ZodNumber;
|
|
3280
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3281
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3282
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3283
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
3284
|
+
bridge: z.ZodString;
|
|
3285
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3286
|
+
}, "strip", z.ZodTypeAny, {
|
|
3287
|
+
bridge: string;
|
|
3288
|
+
approvedTokens?: string[] | undefined;
|
|
3289
|
+
}, {
|
|
3290
|
+
bridge: string;
|
|
3291
|
+
approvedTokens?: string[] | undefined;
|
|
3292
|
+
}>, "many">>>;
|
|
3293
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3294
|
+
portal: z.ZodString;
|
|
3295
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3296
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
3297
|
+
}, "strip", z.ZodTypeAny, {
|
|
3298
|
+
type: TokenType.nativeOpL1;
|
|
3299
|
+
urls: string[];
|
|
3300
|
+
version: number;
|
|
3301
|
+
portal: string;
|
|
3302
|
+
symbol?: string | undefined;
|
|
3303
|
+
name?: string | undefined;
|
|
3304
|
+
decimals?: number | undefined;
|
|
3305
|
+
scale?: number | undefined;
|
|
3306
|
+
isNft?: boolean | undefined;
|
|
3307
|
+
contractVersion?: string | undefined;
|
|
3308
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3309
|
+
bridge: string;
|
|
3310
|
+
approvedTokens?: string[] | undefined;
|
|
3311
|
+
}[]> | undefined;
|
|
3312
|
+
allowedRebalancers?: string[] | undefined;
|
|
3313
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3314
|
+
}, {
|
|
3315
|
+
type: TokenType.nativeOpL1;
|
|
3316
|
+
urls: string[];
|
|
3317
|
+
version: number;
|
|
3318
|
+
portal: string;
|
|
3319
|
+
symbol?: string | undefined;
|
|
3320
|
+
name?: string | undefined;
|
|
3321
|
+
decimals?: number | undefined;
|
|
3322
|
+
scale?: number | undefined;
|
|
3323
|
+
isNft?: boolean | undefined;
|
|
3324
|
+
contractVersion?: string | undefined;
|
|
3325
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3326
|
+
bridge: string;
|
|
3327
|
+
approvedTokens?: string[] | undefined;
|
|
3328
|
+
}[]> | undefined;
|
|
3329
|
+
allowedRebalancers?: string[] | undefined;
|
|
3330
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2086
3331
|
}>, z.ZodObject<{
|
|
2087
3332
|
symbol: z.ZodOptional<z.ZodString>;
|
|
2088
3333
|
name: z.ZodOptional<z.ZodString>;
|
|
2089
3334
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2090
3335
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2091
3336
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3337
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3338
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
3339
|
+
bridge: z.ZodString;
|
|
3340
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3341
|
+
}, "strip", z.ZodTypeAny, {
|
|
3342
|
+
bridge: string;
|
|
3343
|
+
approvedTokens?: string[] | undefined;
|
|
3344
|
+
}, {
|
|
3345
|
+
bridge: string;
|
|
3346
|
+
approvedTokens?: string[] | undefined;
|
|
3347
|
+
}>, "many">>>;
|
|
3348
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2092
3349
|
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.collateralUri]>;
|
|
2093
3350
|
token: z.ZodString;
|
|
2094
3351
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2099,6 +3356,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2099
3356
|
decimals?: number | undefined;
|
|
2100
3357
|
scale?: number | undefined;
|
|
2101
3358
|
isNft?: boolean | undefined;
|
|
3359
|
+
contractVersion?: string | undefined;
|
|
3360
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3361
|
+
bridge: string;
|
|
3362
|
+
approvedTokens?: string[] | undefined;
|
|
3363
|
+
}[]> | undefined;
|
|
3364
|
+
allowedRebalancers?: string[] | undefined;
|
|
2102
3365
|
}, {
|
|
2103
3366
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
2104
3367
|
token: string;
|
|
@@ -2107,6 +3370,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2107
3370
|
decimals?: number | undefined;
|
|
2108
3371
|
scale?: number | undefined;
|
|
2109
3372
|
isNft?: boolean | undefined;
|
|
3373
|
+
contractVersion?: string | undefined;
|
|
3374
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3375
|
+
bridge: string;
|
|
3376
|
+
approvedTokens?: string[] | undefined;
|
|
3377
|
+
}[]> | undefined;
|
|
3378
|
+
allowedRebalancers?: string[] | undefined;
|
|
2110
3379
|
}>, z.ZodObject<{
|
|
2111
3380
|
symbol: z.ZodOptional<z.ZodString>;
|
|
2112
3381
|
type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
|
|
@@ -2114,6 +3383,18 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2114
3383
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2115
3384
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2116
3385
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3386
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3387
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
3388
|
+
bridge: z.ZodString;
|
|
3389
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3390
|
+
}, "strip", z.ZodTypeAny, {
|
|
3391
|
+
bridge: string;
|
|
3392
|
+
approvedTokens?: string[] | undefined;
|
|
3393
|
+
}, {
|
|
3394
|
+
bridge: string;
|
|
3395
|
+
approvedTokens?: string[] | undefined;
|
|
3396
|
+
}>, "many">>>;
|
|
3397
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
2117
3398
|
token: z.ZodString;
|
|
2118
3399
|
xERC20: z.ZodOptional<z.ZodObject<{
|
|
2119
3400
|
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2184,6 +3465,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2184
3465
|
decimals?: number | undefined;
|
|
2185
3466
|
scale?: number | undefined;
|
|
2186
3467
|
isNft?: boolean | undefined;
|
|
3468
|
+
contractVersion?: string | undefined;
|
|
3469
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3470
|
+
bridge: string;
|
|
3471
|
+
approvedTokens?: string[] | undefined;
|
|
3472
|
+
}[]> | undefined;
|
|
3473
|
+
allowedRebalancers?: string[] | undefined;
|
|
2187
3474
|
xERC20?: {
|
|
2188
3475
|
warpRouteLimits: {
|
|
2189
3476
|
bufferCap?: string | undefined;
|
|
@@ -2205,6 +3492,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2205
3492
|
decimals?: number | undefined;
|
|
2206
3493
|
scale?: number | undefined;
|
|
2207
3494
|
isNft?: boolean | undefined;
|
|
3495
|
+
contractVersion?: string | undefined;
|
|
3496
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3497
|
+
bridge: string;
|
|
3498
|
+
approvedTokens?: string[] | undefined;
|
|
3499
|
+
}[]> | undefined;
|
|
3500
|
+
allowedRebalancers?: string[] | undefined;
|
|
2208
3501
|
xERC20?: {
|
|
2209
3502
|
warpRouteLimits: {
|
|
2210
3503
|
bufferCap?: string | undefined;
|
|
@@ -2224,6 +3517,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2224
3517
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2225
3518
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2226
3519
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3520
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2227
3521
|
type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri]>;
|
|
2228
3522
|
initialSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
2229
3523
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2233,6 +3527,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2233
3527
|
decimals?: number | undefined;
|
|
2234
3528
|
scale?: number | undefined;
|
|
2235
3529
|
isNft?: boolean | undefined;
|
|
3530
|
+
contractVersion?: string | undefined;
|
|
2236
3531
|
initialSupply?: string | number | undefined;
|
|
2237
3532
|
}, {
|
|
2238
3533
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
@@ -2241,6 +3536,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2241
3536
|
decimals?: number | undefined;
|
|
2242
3537
|
scale?: number | undefined;
|
|
2243
3538
|
isNft?: boolean | undefined;
|
|
3539
|
+
contractVersion?: string | undefined;
|
|
2244
3540
|
initialSupply?: string | number | undefined;
|
|
2245
3541
|
}>, z.ZodObject<{
|
|
2246
3542
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -2248,6 +3544,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2248
3544
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2249
3545
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2250
3546
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3547
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2251
3548
|
type: z.ZodLiteral<TokenType.syntheticRebase>;
|
|
2252
3549
|
collateralChainName: z.ZodString;
|
|
2253
3550
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2258,6 +3555,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2258
3555
|
decimals?: number | undefined;
|
|
2259
3556
|
scale?: number | undefined;
|
|
2260
3557
|
isNft?: boolean | undefined;
|
|
3558
|
+
contractVersion?: string | undefined;
|
|
2261
3559
|
}, {
|
|
2262
3560
|
type: TokenType.syntheticRebase;
|
|
2263
3561
|
collateralChainName: string;
|
|
@@ -2266,6 +3564,67 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2266
3564
|
decimals?: number | undefined;
|
|
2267
3565
|
scale?: number | undefined;
|
|
2268
3566
|
isNft?: boolean | undefined;
|
|
3567
|
+
contractVersion?: string | undefined;
|
|
3568
|
+
}>, z.ZodObject<{
|
|
3569
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3570
|
+
type: z.ZodLiteral<TokenType.collateralCctp>;
|
|
3571
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3572
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3573
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3574
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3575
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3576
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
3577
|
+
bridge: z.ZodString;
|
|
3578
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3579
|
+
}, "strip", z.ZodTypeAny, {
|
|
3580
|
+
bridge: string;
|
|
3581
|
+
approvedTokens?: string[] | undefined;
|
|
3582
|
+
}, {
|
|
3583
|
+
bridge: string;
|
|
3584
|
+
approvedTokens?: string[] | undefined;
|
|
3585
|
+
}>, "many">>>;
|
|
3586
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3587
|
+
token: z.ZodString;
|
|
3588
|
+
messageTransmitter: z.ZodString;
|
|
3589
|
+
tokenMessenger: z.ZodString;
|
|
3590
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3591
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
3592
|
+
}, "strip", z.ZodTypeAny, {
|
|
3593
|
+
type: TokenType.collateralCctp;
|
|
3594
|
+
urls: string[];
|
|
3595
|
+
token: string;
|
|
3596
|
+
messageTransmitter: string;
|
|
3597
|
+
tokenMessenger: string;
|
|
3598
|
+
symbol?: string | undefined;
|
|
3599
|
+
name?: string | undefined;
|
|
3600
|
+
decimals?: number | undefined;
|
|
3601
|
+
scale?: number | undefined;
|
|
3602
|
+
isNft?: boolean | undefined;
|
|
3603
|
+
contractVersion?: string | undefined;
|
|
3604
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3605
|
+
bridge: string;
|
|
3606
|
+
approvedTokens?: string[] | undefined;
|
|
3607
|
+
}[]> | undefined;
|
|
3608
|
+
allowedRebalancers?: string[] | undefined;
|
|
3609
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3610
|
+
}, {
|
|
3611
|
+
type: TokenType.collateralCctp;
|
|
3612
|
+
urls: string[];
|
|
3613
|
+
token: string;
|
|
3614
|
+
messageTransmitter: string;
|
|
3615
|
+
tokenMessenger: string;
|
|
3616
|
+
symbol?: string | undefined;
|
|
3617
|
+
name?: string | undefined;
|
|
3618
|
+
decimals?: number | undefined;
|
|
3619
|
+
scale?: number | undefined;
|
|
3620
|
+
isNft?: boolean | undefined;
|
|
3621
|
+
contractVersion?: string | undefined;
|
|
3622
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
3623
|
+
bridge: string;
|
|
3624
|
+
approvedTokens?: string[] | undefined;
|
|
3625
|
+
}[]> | undefined;
|
|
3626
|
+
allowedRebalancers?: string[] | undefined;
|
|
3627
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2269
3628
|
}>]>, z.ZodObject<{
|
|
2270
3629
|
owner: z.ZodString;
|
|
2271
3630
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2530,21 +3889,30 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2530
3889
|
type: IsmType.ARB_L2_TO_L1;
|
|
2531
3890
|
bridge: string;
|
|
2532
3891
|
}>, z.ZodObject<{
|
|
2533
|
-
|
|
3892
|
+
owner: z.ZodString;
|
|
3893
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3894
|
+
type: z.ZodLiteral<IsmType.OFFCHAIN_LOOKUP>;
|
|
3895
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
2534
3896
|
}, "strip", z.ZodTypeAny, {
|
|
2535
|
-
type: IsmType.
|
|
3897
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
3898
|
+
owner: string;
|
|
3899
|
+
urls: string[];
|
|
3900
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2536
3901
|
}, {
|
|
2537
|
-
type: IsmType.
|
|
3902
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
3903
|
+
owner: string;
|
|
3904
|
+
urls: string[];
|
|
3905
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2538
3906
|
}>]>>;
|
|
2539
3907
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
2540
|
-
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3908
|
+
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
|
|
2541
3909
|
address: z.ZodString;
|
|
2542
3910
|
}, "strip", z.ZodTypeAny, {
|
|
2543
3911
|
address: string;
|
|
2544
3912
|
}, {
|
|
2545
3913
|
address: string;
|
|
2546
3914
|
}>>>;
|
|
2547
|
-
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3915
|
+
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
2548
3916
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
2549
3917
|
}, "strip", z.ZodTypeAny, {
|
|
2550
3918
|
owner: string;
|
|
@@ -2634,13 +4002,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2634
4002
|
type: IsmType.ARB_L2_TO_L1;
|
|
2635
4003
|
bridge: string;
|
|
2636
4004
|
} | {
|
|
2637
|
-
type: IsmType.
|
|
4005
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
4006
|
+
owner: string;
|
|
4007
|
+
urls: string[];
|
|
4008
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2638
4009
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
2639
4010
|
foreignDeployment?: string | undefined;
|
|
2640
|
-
remoteRouters?: Record<string, {
|
|
4011
|
+
remoteRouters?: Record<string | number, {
|
|
2641
4012
|
address: string;
|
|
2642
4013
|
}> | undefined;
|
|
2643
|
-
destinationGas?: Record<string, string> | undefined;
|
|
4014
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
2644
4015
|
mailbox?: string | undefined;
|
|
2645
4016
|
}, {
|
|
2646
4017
|
owner: string;
|
|
@@ -2730,13 +4101,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2730
4101
|
type: IsmType.ARB_L2_TO_L1;
|
|
2731
4102
|
bridge: string;
|
|
2732
4103
|
} | {
|
|
2733
|
-
type: IsmType.
|
|
4104
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
4105
|
+
owner: string;
|
|
4106
|
+
urls: string[];
|
|
4107
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2734
4108
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
2735
4109
|
foreignDeployment?: string | undefined;
|
|
2736
|
-
remoteRouters?: Record<string, {
|
|
4110
|
+
remoteRouters?: Record<string | number, {
|
|
2737
4111
|
address: string;
|
|
2738
4112
|
}> | undefined;
|
|
2739
|
-
destinationGas?: Record<string, string> | undefined;
|
|
4113
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
2740
4114
|
mailbox?: string | undefined;
|
|
2741
4115
|
}>>, z.ZodObject<{
|
|
2742
4116
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified, ContractVerificationStatus.Error, ContractVerificationStatus.Skipped]>>>;
|
|
@@ -2751,6 +4125,43 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2751
4125
|
decimals?: number | undefined;
|
|
2752
4126
|
scale?: number | undefined;
|
|
2753
4127
|
isNft?: boolean | undefined;
|
|
4128
|
+
contractVersion?: string | undefined;
|
|
4129
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4130
|
+
bridge: string;
|
|
4131
|
+
approvedTokens?: string[] | undefined;
|
|
4132
|
+
}[]> | undefined;
|
|
4133
|
+
allowedRebalancers?: string[] | undefined;
|
|
4134
|
+
} | {
|
|
4135
|
+
type: TokenType.nativeOpL2;
|
|
4136
|
+
l2Bridge: string;
|
|
4137
|
+
symbol?: string | undefined;
|
|
4138
|
+
name?: string | undefined;
|
|
4139
|
+
decimals?: number | undefined;
|
|
4140
|
+
scale?: number | undefined;
|
|
4141
|
+
isNft?: boolean | undefined;
|
|
4142
|
+
contractVersion?: string | undefined;
|
|
4143
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4144
|
+
bridge: string;
|
|
4145
|
+
approvedTokens?: string[] | undefined;
|
|
4146
|
+
}[]> | undefined;
|
|
4147
|
+
allowedRebalancers?: string[] | undefined;
|
|
4148
|
+
} | {
|
|
4149
|
+
type: TokenType.nativeOpL1;
|
|
4150
|
+
urls: string[];
|
|
4151
|
+
version: number;
|
|
4152
|
+
portal: string;
|
|
4153
|
+
symbol?: string | undefined;
|
|
4154
|
+
name?: string | undefined;
|
|
4155
|
+
decimals?: number | undefined;
|
|
4156
|
+
scale?: number | undefined;
|
|
4157
|
+
isNft?: boolean | undefined;
|
|
4158
|
+
contractVersion?: string | undefined;
|
|
4159
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4160
|
+
bridge: string;
|
|
4161
|
+
approvedTokens?: string[] | undefined;
|
|
4162
|
+
}[]> | undefined;
|
|
4163
|
+
allowedRebalancers?: string[] | undefined;
|
|
4164
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2754
4165
|
} | {
|
|
2755
4166
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
2756
4167
|
token: string;
|
|
@@ -2759,6 +4170,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2759
4170
|
decimals?: number | undefined;
|
|
2760
4171
|
scale?: number | undefined;
|
|
2761
4172
|
isNft?: boolean | undefined;
|
|
4173
|
+
contractVersion?: string | undefined;
|
|
4174
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4175
|
+
bridge: string;
|
|
4176
|
+
approvedTokens?: string[] | undefined;
|
|
4177
|
+
}[]> | undefined;
|
|
4178
|
+
allowedRebalancers?: string[] | undefined;
|
|
2762
4179
|
} | {
|
|
2763
4180
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
2764
4181
|
token: string;
|
|
@@ -2767,6 +4184,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2767
4184
|
decimals?: number | undefined;
|
|
2768
4185
|
scale?: number | undefined;
|
|
2769
4186
|
isNft?: boolean | undefined;
|
|
4187
|
+
contractVersion?: string | undefined;
|
|
4188
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4189
|
+
bridge: string;
|
|
4190
|
+
approvedTokens?: string[] | undefined;
|
|
4191
|
+
}[]> | undefined;
|
|
4192
|
+
allowedRebalancers?: string[] | undefined;
|
|
2770
4193
|
xERC20?: {
|
|
2771
4194
|
warpRouteLimits: {
|
|
2772
4195
|
bufferCap?: string | undefined;
|
|
@@ -2780,6 +4203,24 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2780
4203
|
};
|
|
2781
4204
|
}[] | undefined;
|
|
2782
4205
|
} | undefined;
|
|
4206
|
+
} | {
|
|
4207
|
+
type: TokenType.collateralCctp;
|
|
4208
|
+
urls: string[];
|
|
4209
|
+
token: string;
|
|
4210
|
+
messageTransmitter: string;
|
|
4211
|
+
tokenMessenger: string;
|
|
4212
|
+
symbol?: string | undefined;
|
|
4213
|
+
name?: string | undefined;
|
|
4214
|
+
decimals?: number | undefined;
|
|
4215
|
+
scale?: number | undefined;
|
|
4216
|
+
isNft?: boolean | undefined;
|
|
4217
|
+
contractVersion?: string | undefined;
|
|
4218
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4219
|
+
bridge: string;
|
|
4220
|
+
approvedTokens?: string[] | undefined;
|
|
4221
|
+
}[]> | undefined;
|
|
4222
|
+
allowedRebalancers?: string[] | undefined;
|
|
4223
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2783
4224
|
} | {
|
|
2784
4225
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
2785
4226
|
symbol?: string | undefined;
|
|
@@ -2787,6 +4228,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2787
4228
|
decimals?: number | undefined;
|
|
2788
4229
|
scale?: number | undefined;
|
|
2789
4230
|
isNft?: boolean | undefined;
|
|
4231
|
+
contractVersion?: string | undefined;
|
|
2790
4232
|
initialSupply?: string | number | undefined;
|
|
2791
4233
|
} | {
|
|
2792
4234
|
type: TokenType.syntheticRebase;
|
|
@@ -2796,6 +4238,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2796
4238
|
decimals?: number | undefined;
|
|
2797
4239
|
scale?: number | undefined;
|
|
2798
4240
|
isNft?: boolean | undefined;
|
|
4241
|
+
contractVersion?: string | undefined;
|
|
2799
4242
|
}) & {
|
|
2800
4243
|
owner: string;
|
|
2801
4244
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -2884,13 +4327,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2884
4327
|
type: IsmType.ARB_L2_TO_L1;
|
|
2885
4328
|
bridge: string;
|
|
2886
4329
|
} | {
|
|
2887
|
-
type: IsmType.
|
|
4330
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
4331
|
+
owner: string;
|
|
4332
|
+
urls: string[];
|
|
4333
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2888
4334
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
2889
4335
|
foreignDeployment?: string | undefined;
|
|
2890
|
-
remoteRouters?: Record<string, {
|
|
4336
|
+
remoteRouters?: Record<string | number, {
|
|
2891
4337
|
address: string;
|
|
2892
4338
|
}> | undefined;
|
|
2893
|
-
destinationGas?: Record<string, string> | undefined;
|
|
4339
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
2894
4340
|
mailbox?: string | undefined;
|
|
2895
4341
|
}) & {
|
|
2896
4342
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -2901,6 +4347,43 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2901
4347
|
decimals?: number | undefined;
|
|
2902
4348
|
scale?: number | undefined;
|
|
2903
4349
|
isNft?: boolean | undefined;
|
|
4350
|
+
contractVersion?: string | undefined;
|
|
4351
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4352
|
+
bridge: string;
|
|
4353
|
+
approvedTokens?: string[] | undefined;
|
|
4354
|
+
}[]> | undefined;
|
|
4355
|
+
allowedRebalancers?: string[] | undefined;
|
|
4356
|
+
} | {
|
|
4357
|
+
type: TokenType.nativeOpL2;
|
|
4358
|
+
l2Bridge: string;
|
|
4359
|
+
symbol?: string | undefined;
|
|
4360
|
+
name?: string | undefined;
|
|
4361
|
+
decimals?: number | undefined;
|
|
4362
|
+
scale?: number | undefined;
|
|
4363
|
+
isNft?: boolean | undefined;
|
|
4364
|
+
contractVersion?: string | undefined;
|
|
4365
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4366
|
+
bridge: string;
|
|
4367
|
+
approvedTokens?: string[] | undefined;
|
|
4368
|
+
}[]> | undefined;
|
|
4369
|
+
allowedRebalancers?: string[] | undefined;
|
|
4370
|
+
} | {
|
|
4371
|
+
type: TokenType.nativeOpL1;
|
|
4372
|
+
urls: string[];
|
|
4373
|
+
version: number;
|
|
4374
|
+
portal: string;
|
|
4375
|
+
symbol?: string | undefined;
|
|
4376
|
+
name?: string | undefined;
|
|
4377
|
+
decimals?: number | undefined;
|
|
4378
|
+
scale?: number | undefined;
|
|
4379
|
+
isNft?: boolean | undefined;
|
|
4380
|
+
contractVersion?: string | undefined;
|
|
4381
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4382
|
+
bridge: string;
|
|
4383
|
+
approvedTokens?: string[] | undefined;
|
|
4384
|
+
}[]> | undefined;
|
|
4385
|
+
allowedRebalancers?: string[] | undefined;
|
|
4386
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2904
4387
|
} | {
|
|
2905
4388
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
2906
4389
|
token: string;
|
|
@@ -2909,6 +4392,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2909
4392
|
decimals?: number | undefined;
|
|
2910
4393
|
scale?: number | undefined;
|
|
2911
4394
|
isNft?: boolean | undefined;
|
|
4395
|
+
contractVersion?: string | undefined;
|
|
4396
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4397
|
+
bridge: string;
|
|
4398
|
+
approvedTokens?: string[] | undefined;
|
|
4399
|
+
}[]> | undefined;
|
|
4400
|
+
allowedRebalancers?: string[] | undefined;
|
|
2912
4401
|
} | {
|
|
2913
4402
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
2914
4403
|
token: string;
|
|
@@ -2917,6 +4406,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2917
4406
|
decimals?: number | undefined;
|
|
2918
4407
|
scale?: number | undefined;
|
|
2919
4408
|
isNft?: boolean | undefined;
|
|
4409
|
+
contractVersion?: string | undefined;
|
|
4410
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4411
|
+
bridge: string;
|
|
4412
|
+
approvedTokens?: string[] | undefined;
|
|
4413
|
+
}[]> | undefined;
|
|
4414
|
+
allowedRebalancers?: string[] | undefined;
|
|
2920
4415
|
xERC20?: {
|
|
2921
4416
|
warpRouteLimits: {
|
|
2922
4417
|
bufferCap?: string | undefined;
|
|
@@ -2930,6 +4425,24 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2930
4425
|
};
|
|
2931
4426
|
}[] | undefined;
|
|
2932
4427
|
} | undefined;
|
|
4428
|
+
} | {
|
|
4429
|
+
type: TokenType.collateralCctp;
|
|
4430
|
+
urls: string[];
|
|
4431
|
+
token: string;
|
|
4432
|
+
messageTransmitter: string;
|
|
4433
|
+
tokenMessenger: string;
|
|
4434
|
+
symbol?: string | undefined;
|
|
4435
|
+
name?: string | undefined;
|
|
4436
|
+
decimals?: number | undefined;
|
|
4437
|
+
scale?: number | undefined;
|
|
4438
|
+
isNft?: boolean | undefined;
|
|
4439
|
+
contractVersion?: string | undefined;
|
|
4440
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4441
|
+
bridge: string;
|
|
4442
|
+
approvedTokens?: string[] | undefined;
|
|
4443
|
+
}[]> | undefined;
|
|
4444
|
+
allowedRebalancers?: string[] | undefined;
|
|
4445
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
2933
4446
|
} | {
|
|
2934
4447
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
2935
4448
|
symbol?: string | undefined;
|
|
@@ -2937,6 +4450,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2937
4450
|
decimals?: number | undefined;
|
|
2938
4451
|
scale?: number | undefined;
|
|
2939
4452
|
isNft?: boolean | undefined;
|
|
4453
|
+
contractVersion?: string | undefined;
|
|
2940
4454
|
initialSupply?: string | number | undefined;
|
|
2941
4455
|
} | {
|
|
2942
4456
|
type: TokenType.syntheticRebase;
|
|
@@ -2946,6 +4460,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
2946
4460
|
decimals?: number | undefined;
|
|
2947
4461
|
scale?: number | undefined;
|
|
2948
4462
|
isNft?: boolean | undefined;
|
|
4463
|
+
contractVersion?: string | undefined;
|
|
2949
4464
|
}) & {
|
|
2950
4465
|
owner: string;
|
|
2951
4466
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -3034,13 +4549,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3034
4549
|
type: IsmType.ARB_L2_TO_L1;
|
|
3035
4550
|
bridge: string;
|
|
3036
4551
|
} | {
|
|
3037
|
-
type: IsmType.
|
|
4552
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
4553
|
+
owner: string;
|
|
4554
|
+
urls: string[];
|
|
4555
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3038
4556
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
3039
4557
|
foreignDeployment?: string | undefined;
|
|
3040
|
-
remoteRouters?: Record<string, {
|
|
4558
|
+
remoteRouters?: Record<string | number, {
|
|
3041
4559
|
address: string;
|
|
3042
4560
|
}> | undefined;
|
|
3043
|
-
destinationGas?: Record<string, string> | undefined;
|
|
4561
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
3044
4562
|
mailbox?: string | undefined;
|
|
3045
4563
|
}) & {
|
|
3046
4564
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -3051,6 +4569,43 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3051
4569
|
decimals?: number | undefined;
|
|
3052
4570
|
scale?: number | undefined;
|
|
3053
4571
|
isNft?: boolean | undefined;
|
|
4572
|
+
contractVersion?: string | undefined;
|
|
4573
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4574
|
+
bridge: string;
|
|
4575
|
+
approvedTokens?: string[] | undefined;
|
|
4576
|
+
}[]> | undefined;
|
|
4577
|
+
allowedRebalancers?: string[] | undefined;
|
|
4578
|
+
} | {
|
|
4579
|
+
type: TokenType.nativeOpL2;
|
|
4580
|
+
l2Bridge: string;
|
|
4581
|
+
symbol?: string | undefined;
|
|
4582
|
+
name?: string | undefined;
|
|
4583
|
+
decimals?: number | undefined;
|
|
4584
|
+
scale?: number | undefined;
|
|
4585
|
+
isNft?: boolean | undefined;
|
|
4586
|
+
contractVersion?: string | undefined;
|
|
4587
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4588
|
+
bridge: string;
|
|
4589
|
+
approvedTokens?: string[] | undefined;
|
|
4590
|
+
}[]> | undefined;
|
|
4591
|
+
allowedRebalancers?: string[] | undefined;
|
|
4592
|
+
} | {
|
|
4593
|
+
type: TokenType.nativeOpL1;
|
|
4594
|
+
urls: string[];
|
|
4595
|
+
version: number;
|
|
4596
|
+
portal: string;
|
|
4597
|
+
symbol?: string | undefined;
|
|
4598
|
+
name?: string | undefined;
|
|
4599
|
+
decimals?: number | undefined;
|
|
4600
|
+
scale?: number | undefined;
|
|
4601
|
+
isNft?: boolean | undefined;
|
|
4602
|
+
contractVersion?: string | undefined;
|
|
4603
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4604
|
+
bridge: string;
|
|
4605
|
+
approvedTokens?: string[] | undefined;
|
|
4606
|
+
}[]> | undefined;
|
|
4607
|
+
allowedRebalancers?: string[] | undefined;
|
|
4608
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3054
4609
|
} | {
|
|
3055
4610
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
3056
4611
|
token: string;
|
|
@@ -3059,6 +4614,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3059
4614
|
decimals?: number | undefined;
|
|
3060
4615
|
scale?: number | undefined;
|
|
3061
4616
|
isNft?: boolean | undefined;
|
|
4617
|
+
contractVersion?: string | undefined;
|
|
4618
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4619
|
+
bridge: string;
|
|
4620
|
+
approvedTokens?: string[] | undefined;
|
|
4621
|
+
}[]> | undefined;
|
|
4622
|
+
allowedRebalancers?: string[] | undefined;
|
|
3062
4623
|
} | {
|
|
3063
4624
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
3064
4625
|
token: string;
|
|
@@ -3067,6 +4628,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3067
4628
|
decimals?: number | undefined;
|
|
3068
4629
|
scale?: number | undefined;
|
|
3069
4630
|
isNft?: boolean | undefined;
|
|
4631
|
+
contractVersion?: string | undefined;
|
|
4632
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4633
|
+
bridge: string;
|
|
4634
|
+
approvedTokens?: string[] | undefined;
|
|
4635
|
+
}[]> | undefined;
|
|
4636
|
+
allowedRebalancers?: string[] | undefined;
|
|
3070
4637
|
xERC20?: {
|
|
3071
4638
|
warpRouteLimits: {
|
|
3072
4639
|
bufferCap?: string | undefined;
|
|
@@ -3080,6 +4647,24 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3080
4647
|
};
|
|
3081
4648
|
}[] | undefined;
|
|
3082
4649
|
} | undefined;
|
|
4650
|
+
} | {
|
|
4651
|
+
type: TokenType.collateralCctp;
|
|
4652
|
+
urls: string[];
|
|
4653
|
+
token: string;
|
|
4654
|
+
messageTransmitter: string;
|
|
4655
|
+
tokenMessenger: string;
|
|
4656
|
+
symbol?: string | undefined;
|
|
4657
|
+
name?: string | undefined;
|
|
4658
|
+
decimals?: number | undefined;
|
|
4659
|
+
scale?: number | undefined;
|
|
4660
|
+
isNft?: boolean | undefined;
|
|
4661
|
+
contractVersion?: string | undefined;
|
|
4662
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4663
|
+
bridge: string;
|
|
4664
|
+
approvedTokens?: string[] | undefined;
|
|
4665
|
+
}[]> | undefined;
|
|
4666
|
+
allowedRebalancers?: string[] | undefined;
|
|
4667
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3083
4668
|
} | {
|
|
3084
4669
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
3085
4670
|
symbol?: string | undefined;
|
|
@@ -3087,6 +4672,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3087
4672
|
decimals?: number | undefined;
|
|
3088
4673
|
scale?: number | undefined;
|
|
3089
4674
|
isNft?: boolean | undefined;
|
|
4675
|
+
contractVersion?: string | undefined;
|
|
3090
4676
|
initialSupply?: string | number | undefined;
|
|
3091
4677
|
} | {
|
|
3092
4678
|
type: TokenType.syntheticRebase;
|
|
@@ -3096,6 +4682,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3096
4682
|
decimals?: number | undefined;
|
|
3097
4683
|
scale?: number | undefined;
|
|
3098
4684
|
isNft?: boolean | undefined;
|
|
4685
|
+
contractVersion?: string | undefined;
|
|
3099
4686
|
}) & {
|
|
3100
4687
|
owner: string;
|
|
3101
4688
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -3184,13 +4771,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3184
4771
|
type: IsmType.ARB_L2_TO_L1;
|
|
3185
4772
|
bridge: string;
|
|
3186
4773
|
} | {
|
|
3187
|
-
type: IsmType.
|
|
4774
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
4775
|
+
owner: string;
|
|
4776
|
+
urls: string[];
|
|
4777
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3188
4778
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
3189
4779
|
foreignDeployment?: string | undefined;
|
|
3190
|
-
remoteRouters?: Record<string, {
|
|
4780
|
+
remoteRouters?: Record<string | number, {
|
|
3191
4781
|
address: string;
|
|
3192
4782
|
}> | undefined;
|
|
3193
|
-
destinationGas?: Record<string, string> | undefined;
|
|
4783
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
3194
4784
|
mailbox?: string | undefined;
|
|
3195
4785
|
}) & {
|
|
3196
4786
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -3201,6 +4791,43 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3201
4791
|
decimals?: number | undefined;
|
|
3202
4792
|
scale?: number | undefined;
|
|
3203
4793
|
isNft?: boolean | undefined;
|
|
4794
|
+
contractVersion?: string | undefined;
|
|
4795
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4796
|
+
bridge: string;
|
|
4797
|
+
approvedTokens?: string[] | undefined;
|
|
4798
|
+
}[]> | undefined;
|
|
4799
|
+
allowedRebalancers?: string[] | undefined;
|
|
4800
|
+
} | {
|
|
4801
|
+
type: TokenType.nativeOpL2;
|
|
4802
|
+
l2Bridge: string;
|
|
4803
|
+
symbol?: string | undefined;
|
|
4804
|
+
name?: string | undefined;
|
|
4805
|
+
decimals?: number | undefined;
|
|
4806
|
+
scale?: number | undefined;
|
|
4807
|
+
isNft?: boolean | undefined;
|
|
4808
|
+
contractVersion?: string | undefined;
|
|
4809
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4810
|
+
bridge: string;
|
|
4811
|
+
approvedTokens?: string[] | undefined;
|
|
4812
|
+
}[]> | undefined;
|
|
4813
|
+
allowedRebalancers?: string[] | undefined;
|
|
4814
|
+
} | {
|
|
4815
|
+
type: TokenType.nativeOpL1;
|
|
4816
|
+
urls: string[];
|
|
4817
|
+
version: number;
|
|
4818
|
+
portal: string;
|
|
4819
|
+
symbol?: string | undefined;
|
|
4820
|
+
name?: string | undefined;
|
|
4821
|
+
decimals?: number | undefined;
|
|
4822
|
+
scale?: number | undefined;
|
|
4823
|
+
isNft?: boolean | undefined;
|
|
4824
|
+
contractVersion?: string | undefined;
|
|
4825
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4826
|
+
bridge: string;
|
|
4827
|
+
approvedTokens?: string[] | undefined;
|
|
4828
|
+
}[]> | undefined;
|
|
4829
|
+
allowedRebalancers?: string[] | undefined;
|
|
4830
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3204
4831
|
} | {
|
|
3205
4832
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
3206
4833
|
token: string;
|
|
@@ -3209,6 +4836,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3209
4836
|
decimals?: number | undefined;
|
|
3210
4837
|
scale?: number | undefined;
|
|
3211
4838
|
isNft?: boolean | undefined;
|
|
4839
|
+
contractVersion?: string | undefined;
|
|
4840
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4841
|
+
bridge: string;
|
|
4842
|
+
approvedTokens?: string[] | undefined;
|
|
4843
|
+
}[]> | undefined;
|
|
4844
|
+
allowedRebalancers?: string[] | undefined;
|
|
3212
4845
|
} | {
|
|
3213
4846
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
3214
4847
|
token: string;
|
|
@@ -3217,6 +4850,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3217
4850
|
decimals?: number | undefined;
|
|
3218
4851
|
scale?: number | undefined;
|
|
3219
4852
|
isNft?: boolean | undefined;
|
|
4853
|
+
contractVersion?: string | undefined;
|
|
4854
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4855
|
+
bridge: string;
|
|
4856
|
+
approvedTokens?: string[] | undefined;
|
|
4857
|
+
}[]> | undefined;
|
|
4858
|
+
allowedRebalancers?: string[] | undefined;
|
|
3220
4859
|
xERC20?: {
|
|
3221
4860
|
warpRouteLimits: {
|
|
3222
4861
|
bufferCap?: string | undefined;
|
|
@@ -3230,6 +4869,24 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3230
4869
|
};
|
|
3231
4870
|
}[] | undefined;
|
|
3232
4871
|
} | undefined;
|
|
4872
|
+
} | {
|
|
4873
|
+
type: TokenType.collateralCctp;
|
|
4874
|
+
urls: string[];
|
|
4875
|
+
token: string;
|
|
4876
|
+
messageTransmitter: string;
|
|
4877
|
+
tokenMessenger: string;
|
|
4878
|
+
symbol?: string | undefined;
|
|
4879
|
+
name?: string | undefined;
|
|
4880
|
+
decimals?: number | undefined;
|
|
4881
|
+
scale?: number | undefined;
|
|
4882
|
+
isNft?: boolean | undefined;
|
|
4883
|
+
contractVersion?: string | undefined;
|
|
4884
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
4885
|
+
bridge: string;
|
|
4886
|
+
approvedTokens?: string[] | undefined;
|
|
4887
|
+
}[]> | undefined;
|
|
4888
|
+
allowedRebalancers?: string[] | undefined;
|
|
4889
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3233
4890
|
} | {
|
|
3234
4891
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
3235
4892
|
symbol?: string | undefined;
|
|
@@ -3237,6 +4894,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3237
4894
|
decimals?: number | undefined;
|
|
3238
4895
|
scale?: number | undefined;
|
|
3239
4896
|
isNft?: boolean | undefined;
|
|
4897
|
+
contractVersion?: string | undefined;
|
|
3240
4898
|
initialSupply?: string | number | undefined;
|
|
3241
4899
|
} | {
|
|
3242
4900
|
type: TokenType.syntheticRebase;
|
|
@@ -3246,6 +4904,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3246
4904
|
decimals?: number | undefined;
|
|
3247
4905
|
scale?: number | undefined;
|
|
3248
4906
|
isNft?: boolean | undefined;
|
|
4907
|
+
contractVersion?: string | undefined;
|
|
3249
4908
|
}) & {
|
|
3250
4909
|
owner: string;
|
|
3251
4910
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -3334,13 +4993,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3334
4993
|
type: IsmType.ARB_L2_TO_L1;
|
|
3335
4994
|
bridge: string;
|
|
3336
4995
|
} | {
|
|
3337
|
-
type: IsmType.
|
|
4996
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
4997
|
+
owner: string;
|
|
4998
|
+
urls: string[];
|
|
4999
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3338
5000
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
3339
5001
|
foreignDeployment?: string | undefined;
|
|
3340
|
-
remoteRouters?: Record<string, {
|
|
5002
|
+
remoteRouters?: Record<string | number, {
|
|
3341
5003
|
address: string;
|
|
3342
5004
|
}> | undefined;
|
|
3343
|
-
destinationGas?: Record<string, string> | undefined;
|
|
5005
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
3344
5006
|
mailbox?: string | undefined;
|
|
3345
5007
|
}) & {
|
|
3346
5008
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -3351,6 +5013,43 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3351
5013
|
decimals?: number | undefined;
|
|
3352
5014
|
scale?: number | undefined;
|
|
3353
5015
|
isNft?: boolean | undefined;
|
|
5016
|
+
contractVersion?: string | undefined;
|
|
5017
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5018
|
+
bridge: string;
|
|
5019
|
+
approvedTokens?: string[] | undefined;
|
|
5020
|
+
}[]> | undefined;
|
|
5021
|
+
allowedRebalancers?: string[] | undefined;
|
|
5022
|
+
} | {
|
|
5023
|
+
type: TokenType.nativeOpL2;
|
|
5024
|
+
l2Bridge: string;
|
|
5025
|
+
symbol?: string | undefined;
|
|
5026
|
+
name?: string | undefined;
|
|
5027
|
+
decimals?: number | undefined;
|
|
5028
|
+
scale?: number | undefined;
|
|
5029
|
+
isNft?: boolean | undefined;
|
|
5030
|
+
contractVersion?: string | undefined;
|
|
5031
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5032
|
+
bridge: string;
|
|
5033
|
+
approvedTokens?: string[] | undefined;
|
|
5034
|
+
}[]> | undefined;
|
|
5035
|
+
allowedRebalancers?: string[] | undefined;
|
|
5036
|
+
} | {
|
|
5037
|
+
type: TokenType.nativeOpL1;
|
|
5038
|
+
urls: string[];
|
|
5039
|
+
version: number;
|
|
5040
|
+
portal: string;
|
|
5041
|
+
symbol?: string | undefined;
|
|
5042
|
+
name?: string | undefined;
|
|
5043
|
+
decimals?: number | undefined;
|
|
5044
|
+
scale?: number | undefined;
|
|
5045
|
+
isNft?: boolean | undefined;
|
|
5046
|
+
contractVersion?: string | undefined;
|
|
5047
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5048
|
+
bridge: string;
|
|
5049
|
+
approvedTokens?: string[] | undefined;
|
|
5050
|
+
}[]> | undefined;
|
|
5051
|
+
allowedRebalancers?: string[] | undefined;
|
|
5052
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3354
5053
|
} | {
|
|
3355
5054
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
3356
5055
|
token: string;
|
|
@@ -3359,6 +5058,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3359
5058
|
decimals?: number | undefined;
|
|
3360
5059
|
scale?: number | undefined;
|
|
3361
5060
|
isNft?: boolean | undefined;
|
|
5061
|
+
contractVersion?: string | undefined;
|
|
5062
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5063
|
+
bridge: string;
|
|
5064
|
+
approvedTokens?: string[] | undefined;
|
|
5065
|
+
}[]> | undefined;
|
|
5066
|
+
allowedRebalancers?: string[] | undefined;
|
|
3362
5067
|
} | {
|
|
3363
5068
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
3364
5069
|
token: string;
|
|
@@ -3367,6 +5072,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3367
5072
|
decimals?: number | undefined;
|
|
3368
5073
|
scale?: number | undefined;
|
|
3369
5074
|
isNft?: boolean | undefined;
|
|
5075
|
+
contractVersion?: string | undefined;
|
|
5076
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5077
|
+
bridge: string;
|
|
5078
|
+
approvedTokens?: string[] | undefined;
|
|
5079
|
+
}[]> | undefined;
|
|
5080
|
+
allowedRebalancers?: string[] | undefined;
|
|
3370
5081
|
xERC20?: {
|
|
3371
5082
|
warpRouteLimits: {
|
|
3372
5083
|
bufferCap?: string | undefined;
|
|
@@ -3380,6 +5091,24 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3380
5091
|
};
|
|
3381
5092
|
}[] | undefined;
|
|
3382
5093
|
} | undefined;
|
|
5094
|
+
} | {
|
|
5095
|
+
type: TokenType.collateralCctp;
|
|
5096
|
+
urls: string[];
|
|
5097
|
+
token: string;
|
|
5098
|
+
messageTransmitter: string;
|
|
5099
|
+
tokenMessenger: string;
|
|
5100
|
+
symbol?: string | undefined;
|
|
5101
|
+
name?: string | undefined;
|
|
5102
|
+
decimals?: number | undefined;
|
|
5103
|
+
scale?: number | undefined;
|
|
5104
|
+
isNft?: boolean | undefined;
|
|
5105
|
+
contractVersion?: string | undefined;
|
|
5106
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5107
|
+
bridge: string;
|
|
5108
|
+
approvedTokens?: string[] | undefined;
|
|
5109
|
+
}[]> | undefined;
|
|
5110
|
+
allowedRebalancers?: string[] | undefined;
|
|
5111
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3383
5112
|
} | {
|
|
3384
5113
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
3385
5114
|
symbol?: string | undefined;
|
|
@@ -3387,6 +5116,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3387
5116
|
decimals?: number | undefined;
|
|
3388
5117
|
scale?: number | undefined;
|
|
3389
5118
|
isNft?: boolean | undefined;
|
|
5119
|
+
contractVersion?: string | undefined;
|
|
3390
5120
|
initialSupply?: string | number | undefined;
|
|
3391
5121
|
} | {
|
|
3392
5122
|
type: TokenType.syntheticRebase;
|
|
@@ -3396,6 +5126,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3396
5126
|
decimals?: number | undefined;
|
|
3397
5127
|
scale?: number | undefined;
|
|
3398
5128
|
isNft?: boolean | undefined;
|
|
5129
|
+
contractVersion?: string | undefined;
|
|
3399
5130
|
}) & {
|
|
3400
5131
|
owner: string;
|
|
3401
5132
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -3484,13 +5215,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3484
5215
|
type: IsmType.ARB_L2_TO_L1;
|
|
3485
5216
|
bridge: string;
|
|
3486
5217
|
} | {
|
|
3487
|
-
type: IsmType.
|
|
5218
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
5219
|
+
owner: string;
|
|
5220
|
+
urls: string[];
|
|
5221
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3488
5222
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
3489
5223
|
foreignDeployment?: string | undefined;
|
|
3490
|
-
remoteRouters?: Record<string, {
|
|
5224
|
+
remoteRouters?: Record<string | number, {
|
|
3491
5225
|
address: string;
|
|
3492
5226
|
}> | undefined;
|
|
3493
|
-
destinationGas?: Record<string, string> | undefined;
|
|
5227
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
3494
5228
|
mailbox?: string | undefined;
|
|
3495
5229
|
}) & {
|
|
3496
5230
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -3501,6 +5235,43 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3501
5235
|
decimals?: number | undefined;
|
|
3502
5236
|
scale?: number | undefined;
|
|
3503
5237
|
isNft?: boolean | undefined;
|
|
5238
|
+
contractVersion?: string | undefined;
|
|
5239
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5240
|
+
bridge: string;
|
|
5241
|
+
approvedTokens?: string[] | undefined;
|
|
5242
|
+
}[]> | undefined;
|
|
5243
|
+
allowedRebalancers?: string[] | undefined;
|
|
5244
|
+
} | {
|
|
5245
|
+
type: TokenType.nativeOpL2;
|
|
5246
|
+
l2Bridge: string;
|
|
5247
|
+
symbol?: string | undefined;
|
|
5248
|
+
name?: string | undefined;
|
|
5249
|
+
decimals?: number | undefined;
|
|
5250
|
+
scale?: number | undefined;
|
|
5251
|
+
isNft?: boolean | undefined;
|
|
5252
|
+
contractVersion?: string | undefined;
|
|
5253
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5254
|
+
bridge: string;
|
|
5255
|
+
approvedTokens?: string[] | undefined;
|
|
5256
|
+
}[]> | undefined;
|
|
5257
|
+
allowedRebalancers?: string[] | undefined;
|
|
5258
|
+
} | {
|
|
5259
|
+
type: TokenType.nativeOpL1;
|
|
5260
|
+
urls: string[];
|
|
5261
|
+
version: number;
|
|
5262
|
+
portal: string;
|
|
5263
|
+
symbol?: string | undefined;
|
|
5264
|
+
name?: string | undefined;
|
|
5265
|
+
decimals?: number | undefined;
|
|
5266
|
+
scale?: number | undefined;
|
|
5267
|
+
isNft?: boolean | undefined;
|
|
5268
|
+
contractVersion?: string | undefined;
|
|
5269
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5270
|
+
bridge: string;
|
|
5271
|
+
approvedTokens?: string[] | undefined;
|
|
5272
|
+
}[]> | undefined;
|
|
5273
|
+
allowedRebalancers?: string[] | undefined;
|
|
5274
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3504
5275
|
} | {
|
|
3505
5276
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
3506
5277
|
token: string;
|
|
@@ -3509,6 +5280,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3509
5280
|
decimals?: number | undefined;
|
|
3510
5281
|
scale?: number | undefined;
|
|
3511
5282
|
isNft?: boolean | undefined;
|
|
5283
|
+
contractVersion?: string | undefined;
|
|
5284
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5285
|
+
bridge: string;
|
|
5286
|
+
approvedTokens?: string[] | undefined;
|
|
5287
|
+
}[]> | undefined;
|
|
5288
|
+
allowedRebalancers?: string[] | undefined;
|
|
3512
5289
|
} | {
|
|
3513
5290
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
3514
5291
|
token: string;
|
|
@@ -3517,6 +5294,12 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3517
5294
|
decimals?: number | undefined;
|
|
3518
5295
|
scale?: number | undefined;
|
|
3519
5296
|
isNft?: boolean | undefined;
|
|
5297
|
+
contractVersion?: string | undefined;
|
|
5298
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5299
|
+
bridge: string;
|
|
5300
|
+
approvedTokens?: string[] | undefined;
|
|
5301
|
+
}[]> | undefined;
|
|
5302
|
+
allowedRebalancers?: string[] | undefined;
|
|
3520
5303
|
xERC20?: {
|
|
3521
5304
|
warpRouteLimits: {
|
|
3522
5305
|
bufferCap?: string | undefined;
|
|
@@ -3530,6 +5313,24 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3530
5313
|
};
|
|
3531
5314
|
}[] | undefined;
|
|
3532
5315
|
} | undefined;
|
|
5316
|
+
} | {
|
|
5317
|
+
type: TokenType.collateralCctp;
|
|
5318
|
+
urls: string[];
|
|
5319
|
+
token: string;
|
|
5320
|
+
messageTransmitter: string;
|
|
5321
|
+
tokenMessenger: string;
|
|
5322
|
+
symbol?: string | undefined;
|
|
5323
|
+
name?: string | undefined;
|
|
5324
|
+
decimals?: number | undefined;
|
|
5325
|
+
scale?: number | undefined;
|
|
5326
|
+
isNft?: boolean | undefined;
|
|
5327
|
+
contractVersion?: string | undefined;
|
|
5328
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5329
|
+
bridge: string;
|
|
5330
|
+
approvedTokens?: string[] | undefined;
|
|
5331
|
+
}[]> | undefined;
|
|
5332
|
+
allowedRebalancers?: string[] | undefined;
|
|
5333
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3533
5334
|
} | {
|
|
3534
5335
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
3535
5336
|
symbol?: string | undefined;
|
|
@@ -3537,6 +5338,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3537
5338
|
decimals?: number | undefined;
|
|
3538
5339
|
scale?: number | undefined;
|
|
3539
5340
|
isNft?: boolean | undefined;
|
|
5341
|
+
contractVersion?: string | undefined;
|
|
3540
5342
|
initialSupply?: string | number | undefined;
|
|
3541
5343
|
} | {
|
|
3542
5344
|
type: TokenType.syntheticRebase;
|
|
@@ -3546,6 +5348,7 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3546
5348
|
decimals?: number | undefined;
|
|
3547
5349
|
scale?: number | undefined;
|
|
3548
5350
|
isNft?: boolean | undefined;
|
|
5351
|
+
contractVersion?: string | undefined;
|
|
3549
5352
|
}) & {
|
|
3550
5353
|
owner: string;
|
|
3551
5354
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -3634,13 +5437,16 @@ export declare const WarpRouteDeployConfigSchema: z.ZodEffects<z.ZodEffects<z.Zo
|
|
|
3634
5437
|
type: IsmType.ARB_L2_TO_L1;
|
|
3635
5438
|
bridge: string;
|
|
3636
5439
|
} | {
|
|
3637
|
-
type: IsmType.
|
|
5440
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
5441
|
+
owner: string;
|
|
5442
|
+
urls: string[];
|
|
5443
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3638
5444
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
3639
5445
|
foreignDeployment?: string | undefined;
|
|
3640
|
-
remoteRouters?: Record<string, {
|
|
5446
|
+
remoteRouters?: Record<string | number, {
|
|
3641
5447
|
address: string;
|
|
3642
5448
|
}> | undefined;
|
|
3643
|
-
destinationGas?: Record<string, string> | undefined;
|
|
5449
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
3644
5450
|
mailbox?: string | undefined;
|
|
3645
5451
|
}) & {
|
|
3646
5452
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -3652,6 +5458,18 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3652
5458
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3653
5459
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3654
5460
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5461
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5462
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
5463
|
+
bridge: z.ZodString;
|
|
5464
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5465
|
+
}, "strip", z.ZodTypeAny, {
|
|
5466
|
+
bridge: string;
|
|
5467
|
+
approvedTokens?: string[] | undefined;
|
|
5468
|
+
}, {
|
|
5469
|
+
bridge: string;
|
|
5470
|
+
approvedTokens?: string[] | undefined;
|
|
5471
|
+
}>, "many">>>;
|
|
5472
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3655
5473
|
type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
|
|
3656
5474
|
}, "strip", z.ZodTypeAny, {
|
|
3657
5475
|
type: TokenType.native | TokenType.nativeScaled;
|
|
@@ -3660,6 +5478,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3660
5478
|
decimals?: number | undefined;
|
|
3661
5479
|
scale?: number | undefined;
|
|
3662
5480
|
isNft?: boolean | undefined;
|
|
5481
|
+
contractVersion?: string | undefined;
|
|
5482
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5483
|
+
bridge: string;
|
|
5484
|
+
approvedTokens?: string[] | undefined;
|
|
5485
|
+
}[]> | undefined;
|
|
5486
|
+
allowedRebalancers?: string[] | undefined;
|
|
3663
5487
|
}, {
|
|
3664
5488
|
type: TokenType.native | TokenType.nativeScaled;
|
|
3665
5489
|
symbol?: string | undefined;
|
|
@@ -3667,12 +5491,135 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3667
5491
|
decimals?: number | undefined;
|
|
3668
5492
|
scale?: number | undefined;
|
|
3669
5493
|
isNft?: boolean | undefined;
|
|
5494
|
+
contractVersion?: string | undefined;
|
|
5495
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5496
|
+
bridge: string;
|
|
5497
|
+
approvedTokens?: string[] | undefined;
|
|
5498
|
+
}[]> | undefined;
|
|
5499
|
+
allowedRebalancers?: string[] | undefined;
|
|
5500
|
+
}>, z.ZodObject<{
|
|
5501
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
5502
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5503
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5504
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5505
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5506
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5507
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
5508
|
+
bridge: z.ZodString;
|
|
5509
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5510
|
+
}, "strip", z.ZodTypeAny, {
|
|
5511
|
+
bridge: string;
|
|
5512
|
+
approvedTokens?: string[] | undefined;
|
|
5513
|
+
}, {
|
|
5514
|
+
bridge: string;
|
|
5515
|
+
approvedTokens?: string[] | undefined;
|
|
5516
|
+
}>, "many">>>;
|
|
5517
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5518
|
+
type: z.ZodLiteral<TokenType.nativeOpL2>;
|
|
5519
|
+
l2Bridge: z.ZodString;
|
|
5520
|
+
}, "strip", z.ZodTypeAny, {
|
|
5521
|
+
type: TokenType.nativeOpL2;
|
|
5522
|
+
l2Bridge: string;
|
|
5523
|
+
symbol?: string | undefined;
|
|
5524
|
+
name?: string | undefined;
|
|
5525
|
+
decimals?: number | undefined;
|
|
5526
|
+
scale?: number | undefined;
|
|
5527
|
+
isNft?: boolean | undefined;
|
|
5528
|
+
contractVersion?: string | undefined;
|
|
5529
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5530
|
+
bridge: string;
|
|
5531
|
+
approvedTokens?: string[] | undefined;
|
|
5532
|
+
}[]> | undefined;
|
|
5533
|
+
allowedRebalancers?: string[] | undefined;
|
|
5534
|
+
}, {
|
|
5535
|
+
type: TokenType.nativeOpL2;
|
|
5536
|
+
l2Bridge: string;
|
|
5537
|
+
symbol?: string | undefined;
|
|
5538
|
+
name?: string | undefined;
|
|
5539
|
+
decimals?: number | undefined;
|
|
5540
|
+
scale?: number | undefined;
|
|
5541
|
+
isNft?: boolean | undefined;
|
|
5542
|
+
contractVersion?: string | undefined;
|
|
5543
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5544
|
+
bridge: string;
|
|
5545
|
+
approvedTokens?: string[] | undefined;
|
|
5546
|
+
}[]> | undefined;
|
|
5547
|
+
allowedRebalancers?: string[] | undefined;
|
|
5548
|
+
}>, z.ZodObject<{
|
|
5549
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
5550
|
+
type: z.ZodLiteral<TokenType.nativeOpL1>;
|
|
5551
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5552
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5553
|
+
version: z.ZodNumber;
|
|
5554
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5555
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5556
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5557
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
5558
|
+
bridge: z.ZodString;
|
|
5559
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5560
|
+
}, "strip", z.ZodTypeAny, {
|
|
5561
|
+
bridge: string;
|
|
5562
|
+
approvedTokens?: string[] | undefined;
|
|
5563
|
+
}, {
|
|
5564
|
+
bridge: string;
|
|
5565
|
+
approvedTokens?: string[] | undefined;
|
|
5566
|
+
}>, "many">>>;
|
|
5567
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5568
|
+
portal: z.ZodString;
|
|
5569
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5570
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
5571
|
+
}, "strip", z.ZodTypeAny, {
|
|
5572
|
+
type: TokenType.nativeOpL1;
|
|
5573
|
+
urls: string[];
|
|
5574
|
+
version: number;
|
|
5575
|
+
portal: string;
|
|
5576
|
+
symbol?: string | undefined;
|
|
5577
|
+
name?: string | undefined;
|
|
5578
|
+
decimals?: number | undefined;
|
|
5579
|
+
scale?: number | undefined;
|
|
5580
|
+
isNft?: boolean | undefined;
|
|
5581
|
+
contractVersion?: string | undefined;
|
|
5582
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5583
|
+
bridge: string;
|
|
5584
|
+
approvedTokens?: string[] | undefined;
|
|
5585
|
+
}[]> | undefined;
|
|
5586
|
+
allowedRebalancers?: string[] | undefined;
|
|
5587
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5588
|
+
}, {
|
|
5589
|
+
type: TokenType.nativeOpL1;
|
|
5590
|
+
urls: string[];
|
|
5591
|
+
version: number;
|
|
5592
|
+
portal: string;
|
|
5593
|
+
symbol?: string | undefined;
|
|
5594
|
+
name?: string | undefined;
|
|
5595
|
+
decimals?: number | undefined;
|
|
5596
|
+
scale?: number | undefined;
|
|
5597
|
+
isNft?: boolean | undefined;
|
|
5598
|
+
contractVersion?: string | undefined;
|
|
5599
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5600
|
+
bridge: string;
|
|
5601
|
+
approvedTokens?: string[] | undefined;
|
|
5602
|
+
}[]> | undefined;
|
|
5603
|
+
allowedRebalancers?: string[] | undefined;
|
|
5604
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3670
5605
|
}>, z.ZodObject<{
|
|
3671
5606
|
symbol: z.ZodOptional<z.ZodString>;
|
|
3672
5607
|
name: z.ZodOptional<z.ZodString>;
|
|
3673
5608
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3674
5609
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3675
5610
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5611
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5612
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
5613
|
+
bridge: z.ZodString;
|
|
5614
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5615
|
+
}, "strip", z.ZodTypeAny, {
|
|
5616
|
+
bridge: string;
|
|
5617
|
+
approvedTokens?: string[] | undefined;
|
|
5618
|
+
}, {
|
|
5619
|
+
bridge: string;
|
|
5620
|
+
approvedTokens?: string[] | undefined;
|
|
5621
|
+
}>, "many">>>;
|
|
5622
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3676
5623
|
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.collateralUri]>;
|
|
3677
5624
|
token: z.ZodString;
|
|
3678
5625
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3683,6 +5630,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3683
5630
|
decimals?: number | undefined;
|
|
3684
5631
|
scale?: number | undefined;
|
|
3685
5632
|
isNft?: boolean | undefined;
|
|
5633
|
+
contractVersion?: string | undefined;
|
|
5634
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5635
|
+
bridge: string;
|
|
5636
|
+
approvedTokens?: string[] | undefined;
|
|
5637
|
+
}[]> | undefined;
|
|
5638
|
+
allowedRebalancers?: string[] | undefined;
|
|
3686
5639
|
}, {
|
|
3687
5640
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
3688
5641
|
token: string;
|
|
@@ -3691,6 +5644,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3691
5644
|
decimals?: number | undefined;
|
|
3692
5645
|
scale?: number | undefined;
|
|
3693
5646
|
isNft?: boolean | undefined;
|
|
5647
|
+
contractVersion?: string | undefined;
|
|
5648
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5649
|
+
bridge: string;
|
|
5650
|
+
approvedTokens?: string[] | undefined;
|
|
5651
|
+
}[]> | undefined;
|
|
5652
|
+
allowedRebalancers?: string[] | undefined;
|
|
3694
5653
|
}>, z.ZodObject<{
|
|
3695
5654
|
symbol: z.ZodOptional<z.ZodString>;
|
|
3696
5655
|
type: z.ZodEnum<[TokenType.XERC20, TokenType.XERC20Lockbox]>;
|
|
@@ -3698,6 +5657,18 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3698
5657
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3699
5658
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3700
5659
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5660
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5661
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
5662
|
+
bridge: z.ZodString;
|
|
5663
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5664
|
+
}, "strip", z.ZodTypeAny, {
|
|
5665
|
+
bridge: string;
|
|
5666
|
+
approvedTokens?: string[] | undefined;
|
|
5667
|
+
}, {
|
|
5668
|
+
bridge: string;
|
|
5669
|
+
approvedTokens?: string[] | undefined;
|
|
5670
|
+
}>, "many">>>;
|
|
5671
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
3701
5672
|
token: z.ZodString;
|
|
3702
5673
|
xERC20: z.ZodOptional<z.ZodObject<{
|
|
3703
5674
|
extraBridges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3768,6 +5739,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3768
5739
|
decimals?: number | undefined;
|
|
3769
5740
|
scale?: number | undefined;
|
|
3770
5741
|
isNft?: boolean | undefined;
|
|
5742
|
+
contractVersion?: string | undefined;
|
|
5743
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5744
|
+
bridge: string;
|
|
5745
|
+
approvedTokens?: string[] | undefined;
|
|
5746
|
+
}[]> | undefined;
|
|
5747
|
+
allowedRebalancers?: string[] | undefined;
|
|
3771
5748
|
xERC20?: {
|
|
3772
5749
|
warpRouteLimits: {
|
|
3773
5750
|
bufferCap?: string | undefined;
|
|
@@ -3789,6 +5766,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3789
5766
|
decimals?: number | undefined;
|
|
3790
5767
|
scale?: number | undefined;
|
|
3791
5768
|
isNft?: boolean | undefined;
|
|
5769
|
+
contractVersion?: string | undefined;
|
|
5770
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5771
|
+
bridge: string;
|
|
5772
|
+
approvedTokens?: string[] | undefined;
|
|
5773
|
+
}[]> | undefined;
|
|
5774
|
+
allowedRebalancers?: string[] | undefined;
|
|
3792
5775
|
xERC20?: {
|
|
3793
5776
|
warpRouteLimits: {
|
|
3794
5777
|
bufferCap?: string | undefined;
|
|
@@ -3808,6 +5791,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3808
5791
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3809
5792
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3810
5793
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5794
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3811
5795
|
type: z.ZodEnum<[TokenType.synthetic, TokenType.syntheticUri]>;
|
|
3812
5796
|
initialSupply: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
3813
5797
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3817,6 +5801,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3817
5801
|
decimals?: number | undefined;
|
|
3818
5802
|
scale?: number | undefined;
|
|
3819
5803
|
isNft?: boolean | undefined;
|
|
5804
|
+
contractVersion?: string | undefined;
|
|
3820
5805
|
initialSupply?: string | number | undefined;
|
|
3821
5806
|
}, {
|
|
3822
5807
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
@@ -3825,6 +5810,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3825
5810
|
decimals?: number | undefined;
|
|
3826
5811
|
scale?: number | undefined;
|
|
3827
5812
|
isNft?: boolean | undefined;
|
|
5813
|
+
contractVersion?: string | undefined;
|
|
3828
5814
|
initialSupply?: string | number | undefined;
|
|
3829
5815
|
}>, z.ZodObject<{
|
|
3830
5816
|
symbol: z.ZodOptional<z.ZodString>;
|
|
@@ -3832,6 +5818,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3832
5818
|
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3833
5819
|
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3834
5820
|
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5821
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3835
5822
|
type: z.ZodLiteral<TokenType.syntheticRebase>;
|
|
3836
5823
|
collateralChainName: z.ZodString;
|
|
3837
5824
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3842,6 +5829,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3842
5829
|
decimals?: number | undefined;
|
|
3843
5830
|
scale?: number | undefined;
|
|
3844
5831
|
isNft?: boolean | undefined;
|
|
5832
|
+
contractVersion?: string | undefined;
|
|
3845
5833
|
}, {
|
|
3846
5834
|
type: TokenType.syntheticRebase;
|
|
3847
5835
|
collateralChainName: string;
|
|
@@ -3850,6 +5838,67 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
3850
5838
|
decimals?: number | undefined;
|
|
3851
5839
|
scale?: number | undefined;
|
|
3852
5840
|
isNft?: boolean | undefined;
|
|
5841
|
+
contractVersion?: string | undefined;
|
|
5842
|
+
}>, z.ZodObject<{
|
|
5843
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
5844
|
+
type: z.ZodLiteral<TokenType.collateralCctp>;
|
|
5845
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5846
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5847
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5848
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5849
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5850
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
5851
|
+
bridge: z.ZodString;
|
|
5852
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5853
|
+
}, "strip", z.ZodTypeAny, {
|
|
5854
|
+
bridge: string;
|
|
5855
|
+
approvedTokens?: string[] | undefined;
|
|
5856
|
+
}, {
|
|
5857
|
+
bridge: string;
|
|
5858
|
+
approvedTokens?: string[] | undefined;
|
|
5859
|
+
}>, "many">>>;
|
|
5860
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
5861
|
+
token: z.ZodString;
|
|
5862
|
+
messageTransmitter: z.ZodString;
|
|
5863
|
+
tokenMessenger: z.ZodString;
|
|
5864
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5865
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
5866
|
+
}, "strip", z.ZodTypeAny, {
|
|
5867
|
+
type: TokenType.collateralCctp;
|
|
5868
|
+
urls: string[];
|
|
5869
|
+
token: string;
|
|
5870
|
+
messageTransmitter: string;
|
|
5871
|
+
tokenMessenger: string;
|
|
5872
|
+
symbol?: string | undefined;
|
|
5873
|
+
name?: string | undefined;
|
|
5874
|
+
decimals?: number | undefined;
|
|
5875
|
+
scale?: number | undefined;
|
|
5876
|
+
isNft?: boolean | undefined;
|
|
5877
|
+
contractVersion?: string | undefined;
|
|
5878
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5879
|
+
bridge: string;
|
|
5880
|
+
approvedTokens?: string[] | undefined;
|
|
5881
|
+
}[]> | undefined;
|
|
5882
|
+
allowedRebalancers?: string[] | undefined;
|
|
5883
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5884
|
+
}, {
|
|
5885
|
+
type: TokenType.collateralCctp;
|
|
5886
|
+
urls: string[];
|
|
5887
|
+
token: string;
|
|
5888
|
+
messageTransmitter: string;
|
|
5889
|
+
tokenMessenger: string;
|
|
5890
|
+
symbol?: string | undefined;
|
|
5891
|
+
name?: string | undefined;
|
|
5892
|
+
decimals?: number | undefined;
|
|
5893
|
+
scale?: number | undefined;
|
|
5894
|
+
isNft?: boolean | undefined;
|
|
5895
|
+
contractVersion?: string | undefined;
|
|
5896
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
5897
|
+
bridge: string;
|
|
5898
|
+
approvedTokens?: string[] | undefined;
|
|
5899
|
+
}[]> | undefined;
|
|
5900
|
+
allowedRebalancers?: string[] | undefined;
|
|
5901
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
3853
5902
|
}>]>, z.ZodObject<{
|
|
3854
5903
|
owner: z.ZodString;
|
|
3855
5904
|
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -4114,21 +6163,30 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4114
6163
|
type: IsmType.ARB_L2_TO_L1;
|
|
4115
6164
|
bridge: string;
|
|
4116
6165
|
}>, z.ZodObject<{
|
|
4117
|
-
|
|
6166
|
+
owner: z.ZodString;
|
|
6167
|
+
ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6168
|
+
type: z.ZodLiteral<IsmType.OFFCHAIN_LOOKUP>;
|
|
6169
|
+
urls: z.ZodArray<z.ZodString, "many">;
|
|
4118
6170
|
}, "strip", z.ZodTypeAny, {
|
|
4119
|
-
type: IsmType.
|
|
6171
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
6172
|
+
owner: string;
|
|
6173
|
+
urls: string[];
|
|
6174
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4120
6175
|
}, {
|
|
4121
|
-
type: IsmType.
|
|
6176
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
6177
|
+
owner: string;
|
|
6178
|
+
urls: string[];
|
|
6179
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4122
6180
|
}>]>>;
|
|
4123
6181
|
foreignDeployment: z.ZodOptional<z.ZodString>;
|
|
4124
|
-
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6182
|
+
remoteRouters: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodObject<{
|
|
4125
6183
|
address: z.ZodString;
|
|
4126
6184
|
}, "strip", z.ZodTypeAny, {
|
|
4127
6185
|
address: string;
|
|
4128
6186
|
}, {
|
|
4129
6187
|
address: string;
|
|
4130
6188
|
}>>>;
|
|
4131
|
-
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6189
|
+
destinationGas: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>>;
|
|
4132
6190
|
mailbox: z.ZodOptional<z.ZodString>;
|
|
4133
6191
|
}, "strip", z.ZodTypeAny, {
|
|
4134
6192
|
owner: string;
|
|
@@ -4218,13 +6276,16 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4218
6276
|
type: IsmType.ARB_L2_TO_L1;
|
|
4219
6277
|
bridge: string;
|
|
4220
6278
|
} | {
|
|
4221
|
-
type: IsmType.
|
|
6279
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
6280
|
+
owner: string;
|
|
6281
|
+
urls: string[];
|
|
6282
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4222
6283
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
4223
6284
|
foreignDeployment?: string | undefined;
|
|
4224
|
-
remoteRouters?: Record<string, {
|
|
6285
|
+
remoteRouters?: Record<string | number, {
|
|
4225
6286
|
address: string;
|
|
4226
6287
|
}> | undefined;
|
|
4227
|
-
destinationGas?: Record<string, string> | undefined;
|
|
6288
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
4228
6289
|
mailbox?: string | undefined;
|
|
4229
6290
|
}, {
|
|
4230
6291
|
owner: string;
|
|
@@ -4314,13 +6375,16 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4314
6375
|
type: IsmType.ARB_L2_TO_L1;
|
|
4315
6376
|
bridge: string;
|
|
4316
6377
|
} | {
|
|
4317
|
-
type: IsmType.
|
|
6378
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
6379
|
+
owner: string;
|
|
6380
|
+
urls: string[];
|
|
6381
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4318
6382
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
4319
6383
|
foreignDeployment?: string | undefined;
|
|
4320
|
-
remoteRouters?: Record<string, {
|
|
6384
|
+
remoteRouters?: Record<string | number, {
|
|
4321
6385
|
address: string;
|
|
4322
6386
|
}> | undefined;
|
|
4323
|
-
destinationGas?: Record<string, string> | undefined;
|
|
6387
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
4324
6388
|
mailbox?: string | undefined;
|
|
4325
6389
|
}>>, z.ZodObject<{
|
|
4326
6390
|
contractVerificationStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<[ContractVerificationStatus.Verified, ContractVerificationStatus.Unverified, ContractVerificationStatus.Error, ContractVerificationStatus.Skipped]>>>;
|
|
@@ -4335,6 +6399,43 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4335
6399
|
decimals?: number | undefined;
|
|
4336
6400
|
scale?: number | undefined;
|
|
4337
6401
|
isNft?: boolean | undefined;
|
|
6402
|
+
contractVersion?: string | undefined;
|
|
6403
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6404
|
+
bridge: string;
|
|
6405
|
+
approvedTokens?: string[] | undefined;
|
|
6406
|
+
}[]> | undefined;
|
|
6407
|
+
allowedRebalancers?: string[] | undefined;
|
|
6408
|
+
} | {
|
|
6409
|
+
type: TokenType.nativeOpL2;
|
|
6410
|
+
l2Bridge: string;
|
|
6411
|
+
symbol?: string | undefined;
|
|
6412
|
+
name?: string | undefined;
|
|
6413
|
+
decimals?: number | undefined;
|
|
6414
|
+
scale?: number | undefined;
|
|
6415
|
+
isNft?: boolean | undefined;
|
|
6416
|
+
contractVersion?: string | undefined;
|
|
6417
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6418
|
+
bridge: string;
|
|
6419
|
+
approvedTokens?: string[] | undefined;
|
|
6420
|
+
}[]> | undefined;
|
|
6421
|
+
allowedRebalancers?: string[] | undefined;
|
|
6422
|
+
} | {
|
|
6423
|
+
type: TokenType.nativeOpL1;
|
|
6424
|
+
urls: string[];
|
|
6425
|
+
version: number;
|
|
6426
|
+
portal: string;
|
|
6427
|
+
symbol?: string | undefined;
|
|
6428
|
+
name?: string | undefined;
|
|
6429
|
+
decimals?: number | undefined;
|
|
6430
|
+
scale?: number | undefined;
|
|
6431
|
+
isNft?: boolean | undefined;
|
|
6432
|
+
contractVersion?: string | undefined;
|
|
6433
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6434
|
+
bridge: string;
|
|
6435
|
+
approvedTokens?: string[] | undefined;
|
|
6436
|
+
}[]> | undefined;
|
|
6437
|
+
allowedRebalancers?: string[] | undefined;
|
|
6438
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4338
6439
|
} | {
|
|
4339
6440
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
4340
6441
|
token: string;
|
|
@@ -4343,6 +6444,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4343
6444
|
decimals?: number | undefined;
|
|
4344
6445
|
scale?: number | undefined;
|
|
4345
6446
|
isNft?: boolean | undefined;
|
|
6447
|
+
contractVersion?: string | undefined;
|
|
6448
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6449
|
+
bridge: string;
|
|
6450
|
+
approvedTokens?: string[] | undefined;
|
|
6451
|
+
}[]> | undefined;
|
|
6452
|
+
allowedRebalancers?: string[] | undefined;
|
|
4346
6453
|
} | {
|
|
4347
6454
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
4348
6455
|
token: string;
|
|
@@ -4351,6 +6458,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4351
6458
|
decimals?: number | undefined;
|
|
4352
6459
|
scale?: number | undefined;
|
|
4353
6460
|
isNft?: boolean | undefined;
|
|
6461
|
+
contractVersion?: string | undefined;
|
|
6462
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6463
|
+
bridge: string;
|
|
6464
|
+
approvedTokens?: string[] | undefined;
|
|
6465
|
+
}[]> | undefined;
|
|
6466
|
+
allowedRebalancers?: string[] | undefined;
|
|
4354
6467
|
xERC20?: {
|
|
4355
6468
|
warpRouteLimits: {
|
|
4356
6469
|
bufferCap?: string | undefined;
|
|
@@ -4364,6 +6477,24 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4364
6477
|
};
|
|
4365
6478
|
}[] | undefined;
|
|
4366
6479
|
} | undefined;
|
|
6480
|
+
} | {
|
|
6481
|
+
type: TokenType.collateralCctp;
|
|
6482
|
+
urls: string[];
|
|
6483
|
+
token: string;
|
|
6484
|
+
messageTransmitter: string;
|
|
6485
|
+
tokenMessenger: string;
|
|
6486
|
+
symbol?: string | undefined;
|
|
6487
|
+
name?: string | undefined;
|
|
6488
|
+
decimals?: number | undefined;
|
|
6489
|
+
scale?: number | undefined;
|
|
6490
|
+
isNft?: boolean | undefined;
|
|
6491
|
+
contractVersion?: string | undefined;
|
|
6492
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6493
|
+
bridge: string;
|
|
6494
|
+
approvedTokens?: string[] | undefined;
|
|
6495
|
+
}[]> | undefined;
|
|
6496
|
+
allowedRebalancers?: string[] | undefined;
|
|
6497
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4367
6498
|
} | {
|
|
4368
6499
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
4369
6500
|
symbol?: string | undefined;
|
|
@@ -4371,6 +6502,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4371
6502
|
decimals?: number | undefined;
|
|
4372
6503
|
scale?: number | undefined;
|
|
4373
6504
|
isNft?: boolean | undefined;
|
|
6505
|
+
contractVersion?: string | undefined;
|
|
4374
6506
|
initialSupply?: string | number | undefined;
|
|
4375
6507
|
} | {
|
|
4376
6508
|
type: TokenType.syntheticRebase;
|
|
@@ -4380,6 +6512,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4380
6512
|
decimals?: number | undefined;
|
|
4381
6513
|
scale?: number | undefined;
|
|
4382
6514
|
isNft?: boolean | undefined;
|
|
6515
|
+
contractVersion?: string | undefined;
|
|
4383
6516
|
}) & {
|
|
4384
6517
|
owner: string;
|
|
4385
6518
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -4468,13 +6601,16 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4468
6601
|
type: IsmType.ARB_L2_TO_L1;
|
|
4469
6602
|
bridge: string;
|
|
4470
6603
|
} | {
|
|
4471
|
-
type: IsmType.
|
|
6604
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
6605
|
+
owner: string;
|
|
6606
|
+
urls: string[];
|
|
6607
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4472
6608
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
4473
6609
|
foreignDeployment?: string | undefined;
|
|
4474
|
-
remoteRouters?: Record<string, {
|
|
6610
|
+
remoteRouters?: Record<string | number, {
|
|
4475
6611
|
address: string;
|
|
4476
6612
|
}> | undefined;
|
|
4477
|
-
destinationGas?: Record<string, string> | undefined;
|
|
6613
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
4478
6614
|
mailbox?: string | undefined;
|
|
4479
6615
|
}) & {
|
|
4480
6616
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -4485,6 +6621,43 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4485
6621
|
decimals?: number | undefined;
|
|
4486
6622
|
scale?: number | undefined;
|
|
4487
6623
|
isNft?: boolean | undefined;
|
|
6624
|
+
contractVersion?: string | undefined;
|
|
6625
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6626
|
+
bridge: string;
|
|
6627
|
+
approvedTokens?: string[] | undefined;
|
|
6628
|
+
}[]> | undefined;
|
|
6629
|
+
allowedRebalancers?: string[] | undefined;
|
|
6630
|
+
} | {
|
|
6631
|
+
type: TokenType.nativeOpL2;
|
|
6632
|
+
l2Bridge: string;
|
|
6633
|
+
symbol?: string | undefined;
|
|
6634
|
+
name?: string | undefined;
|
|
6635
|
+
decimals?: number | undefined;
|
|
6636
|
+
scale?: number | undefined;
|
|
6637
|
+
isNft?: boolean | undefined;
|
|
6638
|
+
contractVersion?: string | undefined;
|
|
6639
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6640
|
+
bridge: string;
|
|
6641
|
+
approvedTokens?: string[] | undefined;
|
|
6642
|
+
}[]> | undefined;
|
|
6643
|
+
allowedRebalancers?: string[] | undefined;
|
|
6644
|
+
} | {
|
|
6645
|
+
type: TokenType.nativeOpL1;
|
|
6646
|
+
urls: string[];
|
|
6647
|
+
version: number;
|
|
6648
|
+
portal: string;
|
|
6649
|
+
symbol?: string | undefined;
|
|
6650
|
+
name?: string | undefined;
|
|
6651
|
+
decimals?: number | undefined;
|
|
6652
|
+
scale?: number | undefined;
|
|
6653
|
+
isNft?: boolean | undefined;
|
|
6654
|
+
contractVersion?: string | undefined;
|
|
6655
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6656
|
+
bridge: string;
|
|
6657
|
+
approvedTokens?: string[] | undefined;
|
|
6658
|
+
}[]> | undefined;
|
|
6659
|
+
allowedRebalancers?: string[] | undefined;
|
|
6660
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4488
6661
|
} | {
|
|
4489
6662
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
4490
6663
|
token: string;
|
|
@@ -4493,6 +6666,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4493
6666
|
decimals?: number | undefined;
|
|
4494
6667
|
scale?: number | undefined;
|
|
4495
6668
|
isNft?: boolean | undefined;
|
|
6669
|
+
contractVersion?: string | undefined;
|
|
6670
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6671
|
+
bridge: string;
|
|
6672
|
+
approvedTokens?: string[] | undefined;
|
|
6673
|
+
}[]> | undefined;
|
|
6674
|
+
allowedRebalancers?: string[] | undefined;
|
|
4496
6675
|
} | {
|
|
4497
6676
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
4498
6677
|
token: string;
|
|
@@ -4501,6 +6680,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4501
6680
|
decimals?: number | undefined;
|
|
4502
6681
|
scale?: number | undefined;
|
|
4503
6682
|
isNft?: boolean | undefined;
|
|
6683
|
+
contractVersion?: string | undefined;
|
|
6684
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6685
|
+
bridge: string;
|
|
6686
|
+
approvedTokens?: string[] | undefined;
|
|
6687
|
+
}[]> | undefined;
|
|
6688
|
+
allowedRebalancers?: string[] | undefined;
|
|
4504
6689
|
xERC20?: {
|
|
4505
6690
|
warpRouteLimits: {
|
|
4506
6691
|
bufferCap?: string | undefined;
|
|
@@ -4514,6 +6699,24 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4514
6699
|
};
|
|
4515
6700
|
}[] | undefined;
|
|
4516
6701
|
} | undefined;
|
|
6702
|
+
} | {
|
|
6703
|
+
type: TokenType.collateralCctp;
|
|
6704
|
+
urls: string[];
|
|
6705
|
+
token: string;
|
|
6706
|
+
messageTransmitter: string;
|
|
6707
|
+
tokenMessenger: string;
|
|
6708
|
+
symbol?: string | undefined;
|
|
6709
|
+
name?: string | undefined;
|
|
6710
|
+
decimals?: number | undefined;
|
|
6711
|
+
scale?: number | undefined;
|
|
6712
|
+
isNft?: boolean | undefined;
|
|
6713
|
+
contractVersion?: string | undefined;
|
|
6714
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6715
|
+
bridge: string;
|
|
6716
|
+
approvedTokens?: string[] | undefined;
|
|
6717
|
+
}[]> | undefined;
|
|
6718
|
+
allowedRebalancers?: string[] | undefined;
|
|
6719
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4517
6720
|
} | {
|
|
4518
6721
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
4519
6722
|
symbol?: string | undefined;
|
|
@@ -4521,6 +6724,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4521
6724
|
decimals?: number | undefined;
|
|
4522
6725
|
scale?: number | undefined;
|
|
4523
6726
|
isNft?: boolean | undefined;
|
|
6727
|
+
contractVersion?: string | undefined;
|
|
4524
6728
|
initialSupply?: string | number | undefined;
|
|
4525
6729
|
} | {
|
|
4526
6730
|
type: TokenType.syntheticRebase;
|
|
@@ -4530,6 +6734,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4530
6734
|
decimals?: number | undefined;
|
|
4531
6735
|
scale?: number | undefined;
|
|
4532
6736
|
isNft?: boolean | undefined;
|
|
6737
|
+
contractVersion?: string | undefined;
|
|
4533
6738
|
}) & {
|
|
4534
6739
|
owner: string;
|
|
4535
6740
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -4618,13 +6823,16 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4618
6823
|
type: IsmType.ARB_L2_TO_L1;
|
|
4619
6824
|
bridge: string;
|
|
4620
6825
|
} | {
|
|
4621
|
-
type: IsmType.
|
|
6826
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
6827
|
+
owner: string;
|
|
6828
|
+
urls: string[];
|
|
6829
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4622
6830
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
4623
6831
|
foreignDeployment?: string | undefined;
|
|
4624
|
-
remoteRouters?: Record<string, {
|
|
6832
|
+
remoteRouters?: Record<string | number, {
|
|
4625
6833
|
address: string;
|
|
4626
6834
|
}> | undefined;
|
|
4627
|
-
destinationGas?: Record<string, string> | undefined;
|
|
6835
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
4628
6836
|
mailbox?: string | undefined;
|
|
4629
6837
|
}) & {
|
|
4630
6838
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -4635,6 +6843,43 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4635
6843
|
decimals?: number | undefined;
|
|
4636
6844
|
scale?: number | undefined;
|
|
4637
6845
|
isNft?: boolean | undefined;
|
|
6846
|
+
contractVersion?: string | undefined;
|
|
6847
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6848
|
+
bridge: string;
|
|
6849
|
+
approvedTokens?: string[] | undefined;
|
|
6850
|
+
}[]> | undefined;
|
|
6851
|
+
allowedRebalancers?: string[] | undefined;
|
|
6852
|
+
} | {
|
|
6853
|
+
type: TokenType.nativeOpL2;
|
|
6854
|
+
l2Bridge: string;
|
|
6855
|
+
symbol?: string | undefined;
|
|
6856
|
+
name?: string | undefined;
|
|
6857
|
+
decimals?: number | undefined;
|
|
6858
|
+
scale?: number | undefined;
|
|
6859
|
+
isNft?: boolean | undefined;
|
|
6860
|
+
contractVersion?: string | undefined;
|
|
6861
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6862
|
+
bridge: string;
|
|
6863
|
+
approvedTokens?: string[] | undefined;
|
|
6864
|
+
}[]> | undefined;
|
|
6865
|
+
allowedRebalancers?: string[] | undefined;
|
|
6866
|
+
} | {
|
|
6867
|
+
type: TokenType.nativeOpL1;
|
|
6868
|
+
urls: string[];
|
|
6869
|
+
version: number;
|
|
6870
|
+
portal: string;
|
|
6871
|
+
symbol?: string | undefined;
|
|
6872
|
+
name?: string | undefined;
|
|
6873
|
+
decimals?: number | undefined;
|
|
6874
|
+
scale?: number | undefined;
|
|
6875
|
+
isNft?: boolean | undefined;
|
|
6876
|
+
contractVersion?: string | undefined;
|
|
6877
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6878
|
+
bridge: string;
|
|
6879
|
+
approvedTokens?: string[] | undefined;
|
|
6880
|
+
}[]> | undefined;
|
|
6881
|
+
allowedRebalancers?: string[] | undefined;
|
|
6882
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4638
6883
|
} | {
|
|
4639
6884
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
4640
6885
|
token: string;
|
|
@@ -4643,6 +6888,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4643
6888
|
decimals?: number | undefined;
|
|
4644
6889
|
scale?: number | undefined;
|
|
4645
6890
|
isNft?: boolean | undefined;
|
|
6891
|
+
contractVersion?: string | undefined;
|
|
6892
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6893
|
+
bridge: string;
|
|
6894
|
+
approvedTokens?: string[] | undefined;
|
|
6895
|
+
}[]> | undefined;
|
|
6896
|
+
allowedRebalancers?: string[] | undefined;
|
|
4646
6897
|
} | {
|
|
4647
6898
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
4648
6899
|
token: string;
|
|
@@ -4651,6 +6902,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4651
6902
|
decimals?: number | undefined;
|
|
4652
6903
|
scale?: number | undefined;
|
|
4653
6904
|
isNft?: boolean | undefined;
|
|
6905
|
+
contractVersion?: string | undefined;
|
|
6906
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6907
|
+
bridge: string;
|
|
6908
|
+
approvedTokens?: string[] | undefined;
|
|
6909
|
+
}[]> | undefined;
|
|
6910
|
+
allowedRebalancers?: string[] | undefined;
|
|
4654
6911
|
xERC20?: {
|
|
4655
6912
|
warpRouteLimits: {
|
|
4656
6913
|
bufferCap?: string | undefined;
|
|
@@ -4664,6 +6921,24 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4664
6921
|
};
|
|
4665
6922
|
}[] | undefined;
|
|
4666
6923
|
} | undefined;
|
|
6924
|
+
} | {
|
|
6925
|
+
type: TokenType.collateralCctp;
|
|
6926
|
+
urls: string[];
|
|
6927
|
+
token: string;
|
|
6928
|
+
messageTransmitter: string;
|
|
6929
|
+
tokenMessenger: string;
|
|
6930
|
+
symbol?: string | undefined;
|
|
6931
|
+
name?: string | undefined;
|
|
6932
|
+
decimals?: number | undefined;
|
|
6933
|
+
scale?: number | undefined;
|
|
6934
|
+
isNft?: boolean | undefined;
|
|
6935
|
+
contractVersion?: string | undefined;
|
|
6936
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
6937
|
+
bridge: string;
|
|
6938
|
+
approvedTokens?: string[] | undefined;
|
|
6939
|
+
}[]> | undefined;
|
|
6940
|
+
allowedRebalancers?: string[] | undefined;
|
|
6941
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4667
6942
|
} | {
|
|
4668
6943
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
4669
6944
|
symbol?: string | undefined;
|
|
@@ -4671,6 +6946,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4671
6946
|
decimals?: number | undefined;
|
|
4672
6947
|
scale?: number | undefined;
|
|
4673
6948
|
isNft?: boolean | undefined;
|
|
6949
|
+
contractVersion?: string | undefined;
|
|
4674
6950
|
initialSupply?: string | number | undefined;
|
|
4675
6951
|
} | {
|
|
4676
6952
|
type: TokenType.syntheticRebase;
|
|
@@ -4680,6 +6956,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4680
6956
|
decimals?: number | undefined;
|
|
4681
6957
|
scale?: number | undefined;
|
|
4682
6958
|
isNft?: boolean | undefined;
|
|
6959
|
+
contractVersion?: string | undefined;
|
|
4683
6960
|
}) & {
|
|
4684
6961
|
owner: string;
|
|
4685
6962
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -4768,13 +7045,16 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4768
7045
|
type: IsmType.ARB_L2_TO_L1;
|
|
4769
7046
|
bridge: string;
|
|
4770
7047
|
} | {
|
|
4771
|
-
type: IsmType.
|
|
7048
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
7049
|
+
owner: string;
|
|
7050
|
+
urls: string[];
|
|
7051
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4772
7052
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
4773
7053
|
foreignDeployment?: string | undefined;
|
|
4774
|
-
remoteRouters?: Record<string, {
|
|
7054
|
+
remoteRouters?: Record<string | number, {
|
|
4775
7055
|
address: string;
|
|
4776
7056
|
}> | undefined;
|
|
4777
|
-
destinationGas?: Record<string, string> | undefined;
|
|
7057
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
4778
7058
|
mailbox?: string | undefined;
|
|
4779
7059
|
}) & {
|
|
4780
7060
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -4785,6 +7065,43 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4785
7065
|
decimals?: number | undefined;
|
|
4786
7066
|
scale?: number | undefined;
|
|
4787
7067
|
isNft?: boolean | undefined;
|
|
7068
|
+
contractVersion?: string | undefined;
|
|
7069
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7070
|
+
bridge: string;
|
|
7071
|
+
approvedTokens?: string[] | undefined;
|
|
7072
|
+
}[]> | undefined;
|
|
7073
|
+
allowedRebalancers?: string[] | undefined;
|
|
7074
|
+
} | {
|
|
7075
|
+
type: TokenType.nativeOpL2;
|
|
7076
|
+
l2Bridge: string;
|
|
7077
|
+
symbol?: string | undefined;
|
|
7078
|
+
name?: string | undefined;
|
|
7079
|
+
decimals?: number | undefined;
|
|
7080
|
+
scale?: number | undefined;
|
|
7081
|
+
isNft?: boolean | undefined;
|
|
7082
|
+
contractVersion?: string | undefined;
|
|
7083
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7084
|
+
bridge: string;
|
|
7085
|
+
approvedTokens?: string[] | undefined;
|
|
7086
|
+
}[]> | undefined;
|
|
7087
|
+
allowedRebalancers?: string[] | undefined;
|
|
7088
|
+
} | {
|
|
7089
|
+
type: TokenType.nativeOpL1;
|
|
7090
|
+
urls: string[];
|
|
7091
|
+
version: number;
|
|
7092
|
+
portal: string;
|
|
7093
|
+
symbol?: string | undefined;
|
|
7094
|
+
name?: string | undefined;
|
|
7095
|
+
decimals?: number | undefined;
|
|
7096
|
+
scale?: number | undefined;
|
|
7097
|
+
isNft?: boolean | undefined;
|
|
7098
|
+
contractVersion?: string | undefined;
|
|
7099
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7100
|
+
bridge: string;
|
|
7101
|
+
approvedTokens?: string[] | undefined;
|
|
7102
|
+
}[]> | undefined;
|
|
7103
|
+
allowedRebalancers?: string[] | undefined;
|
|
7104
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4788
7105
|
} | {
|
|
4789
7106
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
4790
7107
|
token: string;
|
|
@@ -4793,6 +7110,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4793
7110
|
decimals?: number | undefined;
|
|
4794
7111
|
scale?: number | undefined;
|
|
4795
7112
|
isNft?: boolean | undefined;
|
|
7113
|
+
contractVersion?: string | undefined;
|
|
7114
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7115
|
+
bridge: string;
|
|
7116
|
+
approvedTokens?: string[] | undefined;
|
|
7117
|
+
}[]> | undefined;
|
|
7118
|
+
allowedRebalancers?: string[] | undefined;
|
|
4796
7119
|
} | {
|
|
4797
7120
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
4798
7121
|
token: string;
|
|
@@ -4801,6 +7124,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4801
7124
|
decimals?: number | undefined;
|
|
4802
7125
|
scale?: number | undefined;
|
|
4803
7126
|
isNft?: boolean | undefined;
|
|
7127
|
+
contractVersion?: string | undefined;
|
|
7128
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7129
|
+
bridge: string;
|
|
7130
|
+
approvedTokens?: string[] | undefined;
|
|
7131
|
+
}[]> | undefined;
|
|
7132
|
+
allowedRebalancers?: string[] | undefined;
|
|
4804
7133
|
xERC20?: {
|
|
4805
7134
|
warpRouteLimits: {
|
|
4806
7135
|
bufferCap?: string | undefined;
|
|
@@ -4814,6 +7143,24 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4814
7143
|
};
|
|
4815
7144
|
}[] | undefined;
|
|
4816
7145
|
} | undefined;
|
|
7146
|
+
} | {
|
|
7147
|
+
type: TokenType.collateralCctp;
|
|
7148
|
+
urls: string[];
|
|
7149
|
+
token: string;
|
|
7150
|
+
messageTransmitter: string;
|
|
7151
|
+
tokenMessenger: string;
|
|
7152
|
+
symbol?: string | undefined;
|
|
7153
|
+
name?: string | undefined;
|
|
7154
|
+
decimals?: number | undefined;
|
|
7155
|
+
scale?: number | undefined;
|
|
7156
|
+
isNft?: boolean | undefined;
|
|
7157
|
+
contractVersion?: string | undefined;
|
|
7158
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7159
|
+
bridge: string;
|
|
7160
|
+
approvedTokens?: string[] | undefined;
|
|
7161
|
+
}[]> | undefined;
|
|
7162
|
+
allowedRebalancers?: string[] | undefined;
|
|
7163
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4817
7164
|
} | {
|
|
4818
7165
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
4819
7166
|
symbol?: string | undefined;
|
|
@@ -4821,6 +7168,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4821
7168
|
decimals?: number | undefined;
|
|
4822
7169
|
scale?: number | undefined;
|
|
4823
7170
|
isNft?: boolean | undefined;
|
|
7171
|
+
contractVersion?: string | undefined;
|
|
4824
7172
|
initialSupply?: string | number | undefined;
|
|
4825
7173
|
} | {
|
|
4826
7174
|
type: TokenType.syntheticRebase;
|
|
@@ -4830,6 +7178,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4830
7178
|
decimals?: number | undefined;
|
|
4831
7179
|
scale?: number | undefined;
|
|
4832
7180
|
isNft?: boolean | undefined;
|
|
7181
|
+
contractVersion?: string | undefined;
|
|
4833
7182
|
}) & {
|
|
4834
7183
|
owner: string;
|
|
4835
7184
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -4918,13 +7267,16 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4918
7267
|
type: IsmType.ARB_L2_TO_L1;
|
|
4919
7268
|
bridge: string;
|
|
4920
7269
|
} | {
|
|
4921
|
-
type: IsmType.
|
|
7270
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
7271
|
+
owner: string;
|
|
7272
|
+
urls: string[];
|
|
7273
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4922
7274
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
4923
7275
|
foreignDeployment?: string | undefined;
|
|
4924
|
-
remoteRouters?: Record<string, {
|
|
7276
|
+
remoteRouters?: Record<string | number, {
|
|
4925
7277
|
address: string;
|
|
4926
7278
|
}> | undefined;
|
|
4927
|
-
destinationGas?: Record<string, string> | undefined;
|
|
7279
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
4928
7280
|
mailbox?: string | undefined;
|
|
4929
7281
|
}) & {
|
|
4930
7282
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -4935,6 +7287,43 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4935
7287
|
decimals?: number | undefined;
|
|
4936
7288
|
scale?: number | undefined;
|
|
4937
7289
|
isNft?: boolean | undefined;
|
|
7290
|
+
contractVersion?: string | undefined;
|
|
7291
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7292
|
+
bridge: string;
|
|
7293
|
+
approvedTokens?: string[] | undefined;
|
|
7294
|
+
}[]> | undefined;
|
|
7295
|
+
allowedRebalancers?: string[] | undefined;
|
|
7296
|
+
} | {
|
|
7297
|
+
type: TokenType.nativeOpL2;
|
|
7298
|
+
l2Bridge: string;
|
|
7299
|
+
symbol?: string | undefined;
|
|
7300
|
+
name?: string | undefined;
|
|
7301
|
+
decimals?: number | undefined;
|
|
7302
|
+
scale?: number | undefined;
|
|
7303
|
+
isNft?: boolean | undefined;
|
|
7304
|
+
contractVersion?: string | undefined;
|
|
7305
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7306
|
+
bridge: string;
|
|
7307
|
+
approvedTokens?: string[] | undefined;
|
|
7308
|
+
}[]> | undefined;
|
|
7309
|
+
allowedRebalancers?: string[] | undefined;
|
|
7310
|
+
} | {
|
|
7311
|
+
type: TokenType.nativeOpL1;
|
|
7312
|
+
urls: string[];
|
|
7313
|
+
version: number;
|
|
7314
|
+
portal: string;
|
|
7315
|
+
symbol?: string | undefined;
|
|
7316
|
+
name?: string | undefined;
|
|
7317
|
+
decimals?: number | undefined;
|
|
7318
|
+
scale?: number | undefined;
|
|
7319
|
+
isNft?: boolean | undefined;
|
|
7320
|
+
contractVersion?: string | undefined;
|
|
7321
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7322
|
+
bridge: string;
|
|
7323
|
+
approvedTokens?: string[] | undefined;
|
|
7324
|
+
}[]> | undefined;
|
|
7325
|
+
allowedRebalancers?: string[] | undefined;
|
|
7326
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4938
7327
|
} | {
|
|
4939
7328
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
4940
7329
|
token: string;
|
|
@@ -4943,6 +7332,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4943
7332
|
decimals?: number | undefined;
|
|
4944
7333
|
scale?: number | undefined;
|
|
4945
7334
|
isNft?: boolean | undefined;
|
|
7335
|
+
contractVersion?: string | undefined;
|
|
7336
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7337
|
+
bridge: string;
|
|
7338
|
+
approvedTokens?: string[] | undefined;
|
|
7339
|
+
}[]> | undefined;
|
|
7340
|
+
allowedRebalancers?: string[] | undefined;
|
|
4946
7341
|
} | {
|
|
4947
7342
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
4948
7343
|
token: string;
|
|
@@ -4951,6 +7346,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4951
7346
|
decimals?: number | undefined;
|
|
4952
7347
|
scale?: number | undefined;
|
|
4953
7348
|
isNft?: boolean | undefined;
|
|
7349
|
+
contractVersion?: string | undefined;
|
|
7350
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7351
|
+
bridge: string;
|
|
7352
|
+
approvedTokens?: string[] | undefined;
|
|
7353
|
+
}[]> | undefined;
|
|
7354
|
+
allowedRebalancers?: string[] | undefined;
|
|
4954
7355
|
xERC20?: {
|
|
4955
7356
|
warpRouteLimits: {
|
|
4956
7357
|
bufferCap?: string | undefined;
|
|
@@ -4964,6 +7365,24 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4964
7365
|
};
|
|
4965
7366
|
}[] | undefined;
|
|
4966
7367
|
} | undefined;
|
|
7368
|
+
} | {
|
|
7369
|
+
type: TokenType.collateralCctp;
|
|
7370
|
+
urls: string[];
|
|
7371
|
+
token: string;
|
|
7372
|
+
messageTransmitter: string;
|
|
7373
|
+
tokenMessenger: string;
|
|
7374
|
+
symbol?: string | undefined;
|
|
7375
|
+
name?: string | undefined;
|
|
7376
|
+
decimals?: number | undefined;
|
|
7377
|
+
scale?: number | undefined;
|
|
7378
|
+
isNft?: boolean | undefined;
|
|
7379
|
+
contractVersion?: string | undefined;
|
|
7380
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7381
|
+
bridge: string;
|
|
7382
|
+
approvedTokens?: string[] | undefined;
|
|
7383
|
+
}[]> | undefined;
|
|
7384
|
+
allowedRebalancers?: string[] | undefined;
|
|
7385
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
4967
7386
|
} | {
|
|
4968
7387
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
4969
7388
|
symbol?: string | undefined;
|
|
@@ -4971,6 +7390,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4971
7390
|
decimals?: number | undefined;
|
|
4972
7391
|
scale?: number | undefined;
|
|
4973
7392
|
isNft?: boolean | undefined;
|
|
7393
|
+
contractVersion?: string | undefined;
|
|
4974
7394
|
initialSupply?: string | number | undefined;
|
|
4975
7395
|
} | {
|
|
4976
7396
|
type: TokenType.syntheticRebase;
|
|
@@ -4980,6 +7400,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
4980
7400
|
decimals?: number | undefined;
|
|
4981
7401
|
scale?: number | undefined;
|
|
4982
7402
|
isNft?: boolean | undefined;
|
|
7403
|
+
contractVersion?: string | undefined;
|
|
4983
7404
|
}) & {
|
|
4984
7405
|
owner: string;
|
|
4985
7406
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -5068,13 +7489,16 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
5068
7489
|
type: IsmType.ARB_L2_TO_L1;
|
|
5069
7490
|
bridge: string;
|
|
5070
7491
|
} | {
|
|
5071
|
-
type: IsmType.
|
|
7492
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
7493
|
+
owner: string;
|
|
7494
|
+
urls: string[];
|
|
7495
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5072
7496
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
5073
7497
|
foreignDeployment?: string | undefined;
|
|
5074
|
-
remoteRouters?: Record<string, {
|
|
7498
|
+
remoteRouters?: Record<string | number, {
|
|
5075
7499
|
address: string;
|
|
5076
7500
|
}> | undefined;
|
|
5077
|
-
destinationGas?: Record<string, string> | undefined;
|
|
7501
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
5078
7502
|
mailbox?: string | undefined;
|
|
5079
7503
|
}) & {
|
|
5080
7504
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -5085,6 +7509,43 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
5085
7509
|
decimals?: number | undefined;
|
|
5086
7510
|
scale?: number | undefined;
|
|
5087
7511
|
isNft?: boolean | undefined;
|
|
7512
|
+
contractVersion?: string | undefined;
|
|
7513
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7514
|
+
bridge: string;
|
|
7515
|
+
approvedTokens?: string[] | undefined;
|
|
7516
|
+
}[]> | undefined;
|
|
7517
|
+
allowedRebalancers?: string[] | undefined;
|
|
7518
|
+
} | {
|
|
7519
|
+
type: TokenType.nativeOpL2;
|
|
7520
|
+
l2Bridge: string;
|
|
7521
|
+
symbol?: string | undefined;
|
|
7522
|
+
name?: string | undefined;
|
|
7523
|
+
decimals?: number | undefined;
|
|
7524
|
+
scale?: number | undefined;
|
|
7525
|
+
isNft?: boolean | undefined;
|
|
7526
|
+
contractVersion?: string | undefined;
|
|
7527
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7528
|
+
bridge: string;
|
|
7529
|
+
approvedTokens?: string[] | undefined;
|
|
7530
|
+
}[]> | undefined;
|
|
7531
|
+
allowedRebalancers?: string[] | undefined;
|
|
7532
|
+
} | {
|
|
7533
|
+
type: TokenType.nativeOpL1;
|
|
7534
|
+
urls: string[];
|
|
7535
|
+
version: number;
|
|
7536
|
+
portal: string;
|
|
7537
|
+
symbol?: string | undefined;
|
|
7538
|
+
name?: string | undefined;
|
|
7539
|
+
decimals?: number | undefined;
|
|
7540
|
+
scale?: number | undefined;
|
|
7541
|
+
isNft?: boolean | undefined;
|
|
7542
|
+
contractVersion?: string | undefined;
|
|
7543
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7544
|
+
bridge: string;
|
|
7545
|
+
approvedTokens?: string[] | undefined;
|
|
7546
|
+
}[]> | undefined;
|
|
7547
|
+
allowedRebalancers?: string[] | undefined;
|
|
7548
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5088
7549
|
} | {
|
|
5089
7550
|
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
5090
7551
|
token: string;
|
|
@@ -5093,6 +7554,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
5093
7554
|
decimals?: number | undefined;
|
|
5094
7555
|
scale?: number | undefined;
|
|
5095
7556
|
isNft?: boolean | undefined;
|
|
7557
|
+
contractVersion?: string | undefined;
|
|
7558
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7559
|
+
bridge: string;
|
|
7560
|
+
approvedTokens?: string[] | undefined;
|
|
7561
|
+
}[]> | undefined;
|
|
7562
|
+
allowedRebalancers?: string[] | undefined;
|
|
5096
7563
|
} | {
|
|
5097
7564
|
type: TokenType.XERC20 | TokenType.XERC20Lockbox;
|
|
5098
7565
|
token: string;
|
|
@@ -5101,6 +7568,12 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
5101
7568
|
decimals?: number | undefined;
|
|
5102
7569
|
scale?: number | undefined;
|
|
5103
7570
|
isNft?: boolean | undefined;
|
|
7571
|
+
contractVersion?: string | undefined;
|
|
7572
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7573
|
+
bridge: string;
|
|
7574
|
+
approvedTokens?: string[] | undefined;
|
|
7575
|
+
}[]> | undefined;
|
|
7576
|
+
allowedRebalancers?: string[] | undefined;
|
|
5104
7577
|
xERC20?: {
|
|
5105
7578
|
warpRouteLimits: {
|
|
5106
7579
|
bufferCap?: string | undefined;
|
|
@@ -5114,6 +7587,24 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
5114
7587
|
};
|
|
5115
7588
|
}[] | undefined;
|
|
5116
7589
|
} | undefined;
|
|
7590
|
+
} | {
|
|
7591
|
+
type: TokenType.collateralCctp;
|
|
7592
|
+
urls: string[];
|
|
7593
|
+
token: string;
|
|
7594
|
+
messageTransmitter: string;
|
|
7595
|
+
tokenMessenger: string;
|
|
7596
|
+
symbol?: string | undefined;
|
|
7597
|
+
name?: string | undefined;
|
|
7598
|
+
decimals?: number | undefined;
|
|
7599
|
+
scale?: number | undefined;
|
|
7600
|
+
isNft?: boolean | undefined;
|
|
7601
|
+
contractVersion?: string | undefined;
|
|
7602
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7603
|
+
bridge: string;
|
|
7604
|
+
approvedTokens?: string[] | undefined;
|
|
7605
|
+
}[]> | undefined;
|
|
7606
|
+
allowedRebalancers?: string[] | undefined;
|
|
7607
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5117
7608
|
} | {
|
|
5118
7609
|
type: TokenType.synthetic | TokenType.syntheticUri;
|
|
5119
7610
|
symbol?: string | undefined;
|
|
@@ -5121,6 +7612,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
5121
7612
|
decimals?: number | undefined;
|
|
5122
7613
|
scale?: number | undefined;
|
|
5123
7614
|
isNft?: boolean | undefined;
|
|
7615
|
+
contractVersion?: string | undefined;
|
|
5124
7616
|
initialSupply?: string | number | undefined;
|
|
5125
7617
|
} | {
|
|
5126
7618
|
type: TokenType.syntheticRebase;
|
|
@@ -5130,6 +7622,7 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
5130
7622
|
decimals?: number | undefined;
|
|
5131
7623
|
scale?: number | undefined;
|
|
5132
7624
|
isNft?: boolean | undefined;
|
|
7625
|
+
contractVersion?: string | undefined;
|
|
5133
7626
|
}) & {
|
|
5134
7627
|
owner: string;
|
|
5135
7628
|
ownerOverrides?: Record<string, string> | undefined;
|
|
@@ -5218,13 +7711,16 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
5218
7711
|
type: IsmType.ARB_L2_TO_L1;
|
|
5219
7712
|
bridge: string;
|
|
5220
7713
|
} | {
|
|
5221
|
-
type: IsmType.
|
|
7714
|
+
type: IsmType.OFFCHAIN_LOOKUP;
|
|
7715
|
+
owner: string;
|
|
7716
|
+
urls: string[];
|
|
7717
|
+
ownerOverrides?: Record<string, string> | undefined;
|
|
5222
7718
|
} | import("../ism/types.js").RoutingIsmConfig | import("../ism/types.js").AggregationIsmConfig | undefined;
|
|
5223
7719
|
foreignDeployment?: string | undefined;
|
|
5224
|
-
remoteRouters?: Record<string, {
|
|
7720
|
+
remoteRouters?: Record<string | number, {
|
|
5225
7721
|
address: string;
|
|
5226
7722
|
}> | undefined;
|
|
5227
|
-
destinationGas?: Record<string, string> | undefined;
|
|
7723
|
+
destinationGas?: Record<string | number, string> | undefined;
|
|
5228
7724
|
mailbox?: string | undefined;
|
|
5229
7725
|
}) & {
|
|
5230
7726
|
contractVerificationStatus?: Record<string, ContractVerificationStatus> | undefined;
|
|
@@ -5236,5 +7732,128 @@ export declare const WarpRouteDeployConfigMailboxRequiredSchema: z.ZodIntersecti
|
|
|
5236
7732
|
mailbox: string;
|
|
5237
7733
|
}>>>;
|
|
5238
7734
|
export type WarpRouteDeployConfigMailboxRequired = z.infer<typeof WarpRouteDeployConfigMailboxRequiredSchema>;
|
|
7735
|
+
declare const MovableTokenSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7736
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
7737
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7738
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
7739
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
7740
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
7741
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7742
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
7743
|
+
bridge: z.ZodString;
|
|
7744
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7745
|
+
}, "strip", z.ZodTypeAny, {
|
|
7746
|
+
bridge: string;
|
|
7747
|
+
approvedTokens?: string[] | undefined;
|
|
7748
|
+
}, {
|
|
7749
|
+
bridge: string;
|
|
7750
|
+
approvedTokens?: string[] | undefined;
|
|
7751
|
+
}>, "many">>>;
|
|
7752
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7753
|
+
type: z.ZodEnum<[TokenType.collateral, TokenType.collateralVault, TokenType.collateralVaultRebase, TokenType.collateralFiat, TokenType.collateralUri]>;
|
|
7754
|
+
token: z.ZodString;
|
|
7755
|
+
}, "strip", z.ZodTypeAny, {
|
|
7756
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
7757
|
+
token: string;
|
|
7758
|
+
symbol?: string | undefined;
|
|
7759
|
+
name?: string | undefined;
|
|
7760
|
+
decimals?: number | undefined;
|
|
7761
|
+
scale?: number | undefined;
|
|
7762
|
+
isNft?: boolean | undefined;
|
|
7763
|
+
contractVersion?: string | undefined;
|
|
7764
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7765
|
+
bridge: string;
|
|
7766
|
+
approvedTokens?: string[] | undefined;
|
|
7767
|
+
}[]> | undefined;
|
|
7768
|
+
allowedRebalancers?: string[] | undefined;
|
|
7769
|
+
}, {
|
|
7770
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
7771
|
+
token: string;
|
|
7772
|
+
symbol?: string | undefined;
|
|
7773
|
+
name?: string | undefined;
|
|
7774
|
+
decimals?: number | undefined;
|
|
7775
|
+
scale?: number | undefined;
|
|
7776
|
+
isNft?: boolean | undefined;
|
|
7777
|
+
contractVersion?: string | undefined;
|
|
7778
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7779
|
+
bridge: string;
|
|
7780
|
+
approvedTokens?: string[] | undefined;
|
|
7781
|
+
}[]> | undefined;
|
|
7782
|
+
allowedRebalancers?: string[] | undefined;
|
|
7783
|
+
}>, z.ZodObject<{
|
|
7784
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
7785
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7786
|
+
decimals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
7787
|
+
scale: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
7788
|
+
isNft: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
7789
|
+
contractVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7790
|
+
allowedRebalancingBridges: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodArray<z.ZodObject<{
|
|
7791
|
+
bridge: z.ZodString;
|
|
7792
|
+
approvedTokens: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7793
|
+
}, "strip", z.ZodTypeAny, {
|
|
7794
|
+
bridge: string;
|
|
7795
|
+
approvedTokens?: string[] | undefined;
|
|
7796
|
+
}, {
|
|
7797
|
+
bridge: string;
|
|
7798
|
+
approvedTokens?: string[] | undefined;
|
|
7799
|
+
}>, "many">>>;
|
|
7800
|
+
allowedRebalancers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
7801
|
+
type: z.ZodEnum<[TokenType.native, TokenType.nativeScaled]>;
|
|
7802
|
+
}, "strip", z.ZodTypeAny, {
|
|
7803
|
+
type: TokenType.native | TokenType.nativeScaled;
|
|
7804
|
+
symbol?: string | undefined;
|
|
7805
|
+
name?: string | undefined;
|
|
7806
|
+
decimals?: number | undefined;
|
|
7807
|
+
scale?: number | undefined;
|
|
7808
|
+
isNft?: boolean | undefined;
|
|
7809
|
+
contractVersion?: string | undefined;
|
|
7810
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7811
|
+
bridge: string;
|
|
7812
|
+
approvedTokens?: string[] | undefined;
|
|
7813
|
+
}[]> | undefined;
|
|
7814
|
+
allowedRebalancers?: string[] | undefined;
|
|
7815
|
+
}, {
|
|
7816
|
+
type: TokenType.native | TokenType.nativeScaled;
|
|
7817
|
+
symbol?: string | undefined;
|
|
7818
|
+
name?: string | undefined;
|
|
7819
|
+
decimals?: number | undefined;
|
|
7820
|
+
scale?: number | undefined;
|
|
7821
|
+
isNft?: boolean | undefined;
|
|
7822
|
+
contractVersion?: string | undefined;
|
|
7823
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7824
|
+
bridge: string;
|
|
7825
|
+
approvedTokens?: string[] | undefined;
|
|
7826
|
+
}[]> | undefined;
|
|
7827
|
+
allowedRebalancers?: string[] | undefined;
|
|
7828
|
+
}>]>;
|
|
7829
|
+
export type MovableTokenConfig = z.infer<typeof MovableTokenSchema>;
|
|
7830
|
+
export declare const isMovableCollateralTokenConfig: (config: unknown) => config is {
|
|
7831
|
+
type: TokenType.native | TokenType.nativeScaled;
|
|
7832
|
+
symbol?: string | undefined;
|
|
7833
|
+
name?: string | undefined;
|
|
7834
|
+
decimals?: number | undefined;
|
|
7835
|
+
scale?: number | undefined;
|
|
7836
|
+
isNft?: boolean | undefined;
|
|
7837
|
+
contractVersion?: string | undefined;
|
|
7838
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7839
|
+
bridge: string;
|
|
7840
|
+
approvedTokens?: string[] | undefined;
|
|
7841
|
+
}[]> | undefined;
|
|
7842
|
+
allowedRebalancers?: string[] | undefined;
|
|
7843
|
+
} | {
|
|
7844
|
+
type: TokenType.collateral | TokenType.collateralVault | TokenType.collateralVaultRebase | TokenType.collateralFiat | TokenType.collateralUri;
|
|
7845
|
+
token: string;
|
|
7846
|
+
symbol?: string | undefined;
|
|
7847
|
+
name?: string | undefined;
|
|
7848
|
+
decimals?: number | undefined;
|
|
7849
|
+
scale?: number | undefined;
|
|
7850
|
+
isNft?: boolean | undefined;
|
|
7851
|
+
contractVersion?: string | undefined;
|
|
7852
|
+
allowedRebalancingBridges?: Record<string | number, {
|
|
7853
|
+
bridge: string;
|
|
7854
|
+
approvedTokens?: string[] | undefined;
|
|
7855
|
+
}[]> | undefined;
|
|
7856
|
+
allowedRebalancers?: string[] | undefined;
|
|
7857
|
+
};
|
|
5239
7858
|
export {};
|
|
5240
7859
|
//# sourceMappingURL=types.d.ts.map
|