@gearbox-protocol/sdk 18.1.0 → 18.2.0-next.10
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/cjs/abi/compressors/subcompressors/liquidation/treehouseLiquidationSubcompressor.js +179 -0
- package/dist/cjs/abi/compressors/subcompressors/withdrawal/treehouseWithdrawalSubcompressor.js +534 -0
- package/dist/cjs/abi/router/treehouseWorker.js +885 -0
- package/dist/cjs/onchain/market/adapters/abi/actionAbi.js +1 -0
- package/dist/cjs/onchain/market/adapters/abi/conctructorAbi.js +3 -0
- package/dist/cjs/onchain/market/adapters/types.js +3 -0
- package/dist/cjs/permissionless/api/GearboxPermissionless.js +12 -5
- package/dist/cjs/permissionless/api/analytics/PermissionlessAnalytics.js +50 -0
- package/dist/cjs/permissionless/api/analytics/index.js +4 -0
- package/dist/cjs/permissionless/api/analytics/schemas.js +27 -0
- package/dist/cjs/permissionless/api/analytics/types.js +1 -0
- package/dist/cjs/permissionless/api/index.js +3 -0
- package/dist/cjs/permissionless/api/oracles/PermissionlessOracles.js +444 -28
- package/dist/cjs/permissionless/api/oracles/enrich.js +99 -0
- package/dist/cjs/permissionless/api/oracles/schemas.js +102 -16
- package/dist/cjs/permissionless/api/schemas.js +0 -3
- package/dist/cjs/permissionless/bindings/index.js +1 -1
- package/dist/cjs/permissionless/index.js +4 -1
- package/dist/cjs/permissionless/utils/index.js +1 -0
- package/dist/cjs/permissionless/utils/price-update/get-prices.js +25 -0
- package/dist/cjs/permissionless/utils/price-update/index.js +1 -0
- package/dist/cjs/testnets/TestnetsAPI.js +179 -0
- package/dist/cjs/testnets/errors/TestnetNotFoundError.js +15 -0
- package/dist/cjs/testnets/errors/TestnetRequestFailedError.js +24 -0
- package/dist/cjs/testnets/errors/TestnetStatusError.js +19 -0
- package/dist/cjs/testnets/errors/TestnetValidationError.js +24 -0
- package/dist/cjs/testnets/errors/TestnetWaitTimeoutError.js +30 -0
- package/dist/cjs/testnets/errors/TestnetsError.js +34 -0
- package/dist/cjs/testnets/errors/index.js +13 -0
- package/dist/cjs/testnets/index.js +32 -0
- package/dist/cjs/testnets/package.json +1 -0
- package/dist/cjs/testnets/schemas.js +242 -0
- package/dist/cjs/testnets/types.js +1 -0
- package/dist/esm/abi/compressors/subcompressors/liquidation/treehouseLiquidationSubcompressor.js +178 -0
- package/dist/esm/abi/compressors/subcompressors/withdrawal/treehouseWithdrawalSubcompressor.js +533 -0
- package/dist/esm/abi/router/treehouseWorker.js +884 -0
- package/dist/esm/onchain/market/adapters/abi/actionAbi.js +1 -0
- package/dist/esm/onchain/market/adapters/abi/conctructorAbi.js +3 -0
- package/dist/esm/onchain/market/adapters/types.js +3 -0
- package/dist/esm/permissionless/api/GearboxPermissionless.js +12 -5
- package/dist/esm/permissionless/api/analytics/PermissionlessAnalytics.js +49 -0
- package/dist/esm/permissionless/api/analytics/index.js +2 -0
- package/dist/esm/permissionless/api/analytics/schemas.js +25 -0
- package/dist/esm/permissionless/api/analytics/types.js +1 -0
- package/dist/esm/permissionless/api/index.js +3 -1
- package/dist/esm/permissionless/api/oracles/PermissionlessOracles.js +446 -30
- package/dist/esm/permissionless/api/oracles/enrich.js +94 -0
- package/dist/esm/permissionless/api/oracles/schemas.js +94 -17
- package/dist/esm/permissionless/api/schemas.js +2 -4
- package/dist/esm/permissionless/bindings/index.js +1 -1
- package/dist/esm/permissionless/index.js +4 -3
- package/dist/esm/permissionless/utils/index.js +2 -2
- package/dist/esm/permissionless/utils/price-update/get-prices.js +25 -1
- package/dist/esm/permissionless/utils/price-update/index.js +2 -2
- package/dist/esm/testnets/TestnetsAPI.js +178 -0
- package/dist/esm/testnets/errors/TestnetNotFoundError.js +14 -0
- package/dist/esm/testnets/errors/TestnetRequestFailedError.js +23 -0
- package/dist/esm/testnets/errors/TestnetStatusError.js +18 -0
- package/dist/esm/testnets/errors/TestnetValidationError.js +23 -0
- package/dist/esm/testnets/errors/TestnetWaitTimeoutError.js +29 -0
- package/dist/esm/testnets/errors/TestnetsError.js +33 -0
- package/dist/esm/testnets/errors/index.js +7 -0
- package/dist/esm/testnets/index.js +11 -0
- package/dist/esm/testnets/package.json +1 -0
- package/dist/esm/testnets/schemas.js +228 -0
- package/dist/esm/testnets/types.js +1 -0
- package/dist/types/abi/compressors/subcompressors/liquidation/treehouseLiquidationSubcompressor.d.ts +148 -0
- package/dist/types/abi/compressors/subcompressors/withdrawal/treehouseWithdrawalSubcompressor.d.ts +440 -0
- package/dist/types/abi/router/treehouseWorker.d.ts +728 -0
- package/dist/types/onchain/market/adapters/types.d.ts +4 -1
- package/dist/types/permissionless/api/GearboxPermissionless.d.ts +11 -5
- package/dist/types/permissionless/api/analytics/PermissionlessAnalytics.d.ts +38 -0
- package/dist/types/permissionless/api/analytics/index.d.ts +3 -0
- package/dist/types/permissionless/api/analytics/schemas.d.ts +32 -0
- package/dist/types/permissionless/api/analytics/types.d.ts +38 -0
- package/dist/types/permissionless/api/index.d.ts +5 -2
- package/dist/types/permissionless/api/oracles/PermissionlessOracles.d.ts +159 -22
- package/dist/types/permissionless/api/oracles/enrich.d.ts +59 -0
- package/dist/types/permissionless/api/oracles/index.d.ts +2 -2
- package/dist/types/permissionless/api/oracles/schemas.d.ts +202 -7
- package/dist/types/permissionless/api/oracles/types.d.ts +401 -22
- package/dist/types/permissionless/api/schemas.d.ts +0 -2
- package/dist/types/permissionless/index.d.ts +5 -3
- package/dist/types/permissionless/utils/index.d.ts +2 -2
- package/dist/types/permissionless/utils/price-update/get-prices.d.ts +17 -0
- package/dist/types/permissionless/utils/price-update/index.d.ts +2 -2
- package/dist/types/testnets/TestnetsAPI.d.ts +108 -0
- package/dist/types/testnets/errors/TestnetNotFoundError.d.ts +12 -0
- package/dist/types/testnets/errors/TestnetRequestFailedError.d.ts +11 -0
- package/dist/types/testnets/errors/TestnetStatusError.d.ts +15 -0
- package/dist/types/testnets/errors/TestnetValidationError.d.ts +16 -0
- package/dist/types/testnets/errors/TestnetWaitTimeoutError.d.ts +21 -0
- package/dist/types/testnets/errors/TestnetsError.d.ts +47 -0
- package/dist/types/testnets/errors/index.d.ts +7 -0
- package/dist/types/testnets/index.d.ts +11 -0
- package/dist/types/testnets/schemas.d.ts +554 -0
- package/dist/types/testnets/types.d.ts +717 -0
- package/package.json +9 -3
|
@@ -0,0 +1,554 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
//#region src/testnets/schemas.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* {@link TestnetStageStatus}
|
|
5
|
+
**/
|
|
6
|
+
export declare const testnetStageStatusSchema: z.ZodEnum<{
|
|
7
|
+
error: "error";
|
|
8
|
+
failed: "failed";
|
|
9
|
+
queued: "queued";
|
|
10
|
+
started: "started";
|
|
11
|
+
success: "success";
|
|
12
|
+
terminated: "terminated";
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* {@link TestnetBackendState}
|
|
16
|
+
**/
|
|
17
|
+
export declare const testnetBackendStateSchema: z.ZodEnum<{
|
|
18
|
+
active: "active";
|
|
19
|
+
error: "error";
|
|
20
|
+
provisioning: "provisioning";
|
|
21
|
+
starting: "starting";
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* {@link Testnet}
|
|
25
|
+
**/
|
|
26
|
+
export declare const testnetSchema: z.ZodObject<{
|
|
27
|
+
alias: z.ZodString;
|
|
28
|
+
executionId: z.ZodString;
|
|
29
|
+
isActive: z.ZodBoolean;
|
|
30
|
+
description: z.ZodString;
|
|
31
|
+
persistent: z.ZodBoolean;
|
|
32
|
+
paused: z.ZodBoolean;
|
|
33
|
+
network: z.ZodEnum<{
|
|
34
|
+
Arbitrum: "Arbitrum";
|
|
35
|
+
Avalanche: "Avalanche";
|
|
36
|
+
BNB: "BNB";
|
|
37
|
+
Base: "Base";
|
|
38
|
+
Berachain: "Berachain";
|
|
39
|
+
Etherlink: "Etherlink";
|
|
40
|
+
Hemi: "Hemi";
|
|
41
|
+
Lisk: "Lisk";
|
|
42
|
+
Mainnet: "Mainnet";
|
|
43
|
+
MegaETH: "MegaETH";
|
|
44
|
+
Monad: "Monad";
|
|
45
|
+
Optimism: "Optimism";
|
|
46
|
+
Plasma: "Plasma";
|
|
47
|
+
Somnia: "Somnia";
|
|
48
|
+
Sonic: "Sonic";
|
|
49
|
+
WorldChain: "WorldChain";
|
|
50
|
+
}>;
|
|
51
|
+
createdAt: z.ZodISODateTime;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
/**
|
|
54
|
+
* {@link TestnetBackendOptions}
|
|
55
|
+
**/
|
|
56
|
+
export declare const testnetBackendOptionsSchema: z.ZodObject<{
|
|
57
|
+
version: z.ZodOptional<z.ZodString>;
|
|
58
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
59
|
+
parentBranchId: z.ZodOptional<z.ZodString>;
|
|
60
|
+
}, z.core.$strip>;
|
|
61
|
+
/**
|
|
62
|
+
* {@link TestnetBackendStatus}
|
|
63
|
+
**/
|
|
64
|
+
export declare const testnetBackendStatusSchema: z.ZodObject<{
|
|
65
|
+
state: z.ZodEnum<{
|
|
66
|
+
active: "active";
|
|
67
|
+
error: "error";
|
|
68
|
+
provisioning: "provisioning";
|
|
69
|
+
starting: "starting";
|
|
70
|
+
}>;
|
|
71
|
+
error: z.ZodOptional<z.ZodString>;
|
|
72
|
+
version: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
/**
|
|
75
|
+
* {@link TestnetBlock}
|
|
76
|
+
**/
|
|
77
|
+
export declare const testnetBlockSchema: z.ZodObject<{
|
|
78
|
+
number: z.ZodNumber;
|
|
79
|
+
time: z.ZodISODateTime;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
/**
|
|
82
|
+
* {@link TestnetScriptBlock}
|
|
83
|
+
**/
|
|
84
|
+
export declare const testnetScriptBlockSchema: z.ZodObject<{
|
|
85
|
+
number: z.ZodNumber;
|
|
86
|
+
time: z.ZodISODateTime;
|
|
87
|
+
timeDrift: z.ZodNumber;
|
|
88
|
+
originDrift: z.ZodString;
|
|
89
|
+
automine: z.ZodBoolean;
|
|
90
|
+
mineInterval: z.ZodNumber;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
/**
|
|
93
|
+
* {@link TestnetScriptOptions}
|
|
94
|
+
**/
|
|
95
|
+
export declare const testnetScriptOptionsSchema: z.ZodObject<{
|
|
96
|
+
id: z.ZodString;
|
|
97
|
+
description: z.ZodString;
|
|
98
|
+
npx: z.ZodOptional<z.ZodString>;
|
|
99
|
+
docker: z.ZodOptional<z.ZodString>;
|
|
100
|
+
args: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
101
|
+
env: z.ZodPipe<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodTransform<Record<string, string>, Record<string, string> | null>>;
|
|
102
|
+
flags: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
103
|
+
timeout: z.ZodString;
|
|
104
|
+
packageManager: z.ZodOptional<z.ZodString>;
|
|
105
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
/**
|
|
108
|
+
* {@link TestnetScript}
|
|
109
|
+
**/
|
|
110
|
+
export declare const testnetScriptSchema: z.ZodObject<{
|
|
111
|
+
script: z.ZodObject<{
|
|
112
|
+
id: z.ZodString;
|
|
113
|
+
description: z.ZodString;
|
|
114
|
+
npx: z.ZodOptional<z.ZodString>;
|
|
115
|
+
docker: z.ZodOptional<z.ZodString>;
|
|
116
|
+
args: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
117
|
+
env: z.ZodPipe<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodTransform<Record<string, string>, Record<string, string> | null>>;
|
|
118
|
+
flags: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
119
|
+
timeout: z.ZodString;
|
|
120
|
+
packageManager: z.ZodOptional<z.ZodString>;
|
|
121
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
duration: z.ZodString;
|
|
124
|
+
blockBefore: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
number: z.ZodNumber;
|
|
126
|
+
time: z.ZodISODateTime;
|
|
127
|
+
timeDrift: z.ZodNumber;
|
|
128
|
+
originDrift: z.ZodString;
|
|
129
|
+
automine: z.ZodBoolean;
|
|
130
|
+
mineInterval: z.ZodNumber;
|
|
131
|
+
}, z.core.$strip>>;
|
|
132
|
+
blockAfter: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
number: z.ZodNumber;
|
|
134
|
+
time: z.ZodISODateTime;
|
|
135
|
+
timeDrift: z.ZodNumber;
|
|
136
|
+
originDrift: z.ZodString;
|
|
137
|
+
automine: z.ZodBoolean;
|
|
138
|
+
mineInterval: z.ZodNumber;
|
|
139
|
+
}, z.core.$strip>>;
|
|
140
|
+
status: z.ZodEnum<{
|
|
141
|
+
error: "error";
|
|
142
|
+
failed: "failed";
|
|
143
|
+
queued: "queued";
|
|
144
|
+
started: "started";
|
|
145
|
+
success: "success";
|
|
146
|
+
terminated: "terminated";
|
|
147
|
+
}>;
|
|
148
|
+
error: z.ZodOptional<z.ZodString>;
|
|
149
|
+
exitCode: z.ZodNumber;
|
|
150
|
+
source: z.ZodOptional<z.ZodString>;
|
|
151
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
152
|
+
}, z.core.$strip>;
|
|
153
|
+
/**
|
|
154
|
+
* {@link TestnetTaskDefinition}
|
|
155
|
+
**/
|
|
156
|
+
export declare const testnetTaskDefinitionSchema: z.ZodObject<{
|
|
157
|
+
id: z.ZodOptional<z.ZodString>;
|
|
158
|
+
family: z.ZodOptional<z.ZodString>;
|
|
159
|
+
name: z.ZodOptional<z.ZodString>;
|
|
160
|
+
description: z.ZodOptional<z.ZodString>;
|
|
161
|
+
image: z.ZodString;
|
|
162
|
+
version: z.ZodOptional<z.ZodString>;
|
|
163
|
+
entrypoint: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
164
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
165
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
166
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
167
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
168
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
concurrent: z.ZodBoolean;
|
|
170
|
+
multicontainer: z.ZodBoolean;
|
|
171
|
+
schemaVersion: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
/**
|
|
174
|
+
* {@link TestnetTaskProgress}
|
|
175
|
+
**/
|
|
176
|
+
export declare const testnetTaskProgressSchema: z.ZodObject<{
|
|
177
|
+
completed: z.ZodNumber;
|
|
178
|
+
total: z.ZodNumber;
|
|
179
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
180
|
+
}, z.core.$strip>;
|
|
181
|
+
/**
|
|
182
|
+
* {@link TestnetTask}
|
|
183
|
+
**/
|
|
184
|
+
export declare const testnetTaskSchema: z.ZodObject<{
|
|
185
|
+
id: z.ZodString;
|
|
186
|
+
definitionId: z.ZodString;
|
|
187
|
+
family: z.ZodString;
|
|
188
|
+
executionId: z.ZodString;
|
|
189
|
+
name: z.ZodOptional<z.ZodString>;
|
|
190
|
+
description: z.ZodOptional<z.ZodString>;
|
|
191
|
+
image: z.ZodString;
|
|
192
|
+
source: z.ZodOptional<z.ZodString>;
|
|
193
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
194
|
+
entrypoint: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
195
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
196
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
197
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
198
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
199
|
+
multicontainer: z.ZodBoolean;
|
|
200
|
+
concurrent: z.ZodBoolean;
|
|
201
|
+
outputDir: z.ZodOptional<z.ZodString>;
|
|
202
|
+
status: z.ZodEnum<{
|
|
203
|
+
error: "error";
|
|
204
|
+
failed: "failed";
|
|
205
|
+
queued: "queued";
|
|
206
|
+
started: "started";
|
|
207
|
+
success: "success";
|
|
208
|
+
terminated: "terminated";
|
|
209
|
+
}>;
|
|
210
|
+
error: z.ZodOptional<z.ZodString>;
|
|
211
|
+
createdAt: z.ZodISODateTime;
|
|
212
|
+
updatedAt: z.ZodISODateTime;
|
|
213
|
+
progress: z.ZodObject<{
|
|
214
|
+
completed: z.ZodNumber;
|
|
215
|
+
total: z.ZodNumber;
|
|
216
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
/**
|
|
220
|
+
* {@link TestnetOptions}
|
|
221
|
+
**/
|
|
222
|
+
export declare const testnetOptionsSchema: z.ZodObject<{
|
|
223
|
+
description: z.ZodOptional<z.ZodString>;
|
|
224
|
+
chainId: z.ZodOptional<z.ZodNumber>;
|
|
225
|
+
network: z.ZodEnum<{
|
|
226
|
+
Arbitrum: "Arbitrum";
|
|
227
|
+
Avalanche: "Avalanche";
|
|
228
|
+
BNB: "BNB";
|
|
229
|
+
Base: "Base";
|
|
230
|
+
Berachain: "Berachain";
|
|
231
|
+
Etherlink: "Etherlink";
|
|
232
|
+
Hemi: "Hemi";
|
|
233
|
+
Lisk: "Lisk";
|
|
234
|
+
Mainnet: "Mainnet";
|
|
235
|
+
MegaETH: "MegaETH";
|
|
236
|
+
Monad: "Monad";
|
|
237
|
+
Optimism: "Optimism";
|
|
238
|
+
Plasma: "Plasma";
|
|
239
|
+
Somnia: "Somnia";
|
|
240
|
+
Sonic: "Sonic";
|
|
241
|
+
WorldChain: "WorldChain";
|
|
242
|
+
}>;
|
|
243
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
244
|
+
anvilFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
245
|
+
anvilImage: z.ZodOptional<z.ZodString>;
|
|
246
|
+
rpcProvider: z.ZodOptional<z.ZodString>;
|
|
247
|
+
addressProvider: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>;
|
|
248
|
+
marketConfigurators: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>>;
|
|
249
|
+
rwaFactories: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>>;
|
|
250
|
+
blockNumber: z.ZodString;
|
|
251
|
+
owner: z.ZodString;
|
|
252
|
+
timeout: z.ZodString;
|
|
253
|
+
synctronLogLevel: z.ZodOptional<z.ZodString>;
|
|
254
|
+
scripts: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
255
|
+
id: z.ZodString;
|
|
256
|
+
description: z.ZodString;
|
|
257
|
+
npx: z.ZodOptional<z.ZodString>;
|
|
258
|
+
docker: z.ZodOptional<z.ZodString>;
|
|
259
|
+
args: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
260
|
+
env: z.ZodPipe<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodTransform<Record<string, string>, Record<string, string> | null>>;
|
|
261
|
+
flags: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
262
|
+
timeout: z.ZodString;
|
|
263
|
+
packageManager: z.ZodOptional<z.ZodString>;
|
|
264
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
265
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
266
|
+
id: string;
|
|
267
|
+
description: string;
|
|
268
|
+
npx?: string | undefined;
|
|
269
|
+
docker?: string | undefined;
|
|
270
|
+
args: string[];
|
|
271
|
+
env: Record<string, string>;
|
|
272
|
+
flags: string[];
|
|
273
|
+
timeout: string;
|
|
274
|
+
packageManager?: string | undefined;
|
|
275
|
+
input?: unknown;
|
|
276
|
+
}[], {
|
|
277
|
+
id: string;
|
|
278
|
+
description: string;
|
|
279
|
+
npx?: string | undefined;
|
|
280
|
+
docker?: string | undefined;
|
|
281
|
+
args: string[];
|
|
282
|
+
env: Record<string, string>;
|
|
283
|
+
flags: string[];
|
|
284
|
+
timeout: string;
|
|
285
|
+
packageManager?: string | undefined;
|
|
286
|
+
input?: unknown;
|
|
287
|
+
}[] | null>>;
|
|
288
|
+
disableSync: z.ZodBoolean;
|
|
289
|
+
disableIntervalMining: z.ZodBoolean;
|
|
290
|
+
disableRPCProtection: z.ZodBoolean;
|
|
291
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
292
|
+
webhooks: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
293
|
+
backend: z.ZodOptional<z.ZodObject<{
|
|
294
|
+
version: z.ZodOptional<z.ZodString>;
|
|
295
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
296
|
+
parentBranchId: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, z.core.$strip>>;
|
|
298
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
299
|
+
id: z.ZodOptional<z.ZodString>;
|
|
300
|
+
family: z.ZodOptional<z.ZodString>;
|
|
301
|
+
name: z.ZodOptional<z.ZodString>;
|
|
302
|
+
description: z.ZodOptional<z.ZodString>;
|
|
303
|
+
image: z.ZodString;
|
|
304
|
+
version: z.ZodOptional<z.ZodString>;
|
|
305
|
+
entrypoint: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
306
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
307
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
308
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
309
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
310
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
311
|
+
concurrent: z.ZodBoolean;
|
|
312
|
+
multicontainer: z.ZodBoolean;
|
|
313
|
+
schemaVersion: z.ZodOptional<z.ZodNumber>;
|
|
314
|
+
}, z.core.$strip>>>;
|
|
315
|
+
}, z.core.$strip>;
|
|
316
|
+
/**
|
|
317
|
+
* {@link TestnetStatus}
|
|
318
|
+
**/
|
|
319
|
+
export declare const testnetStatusSchema: z.ZodObject<{
|
|
320
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
321
|
+
network: z.ZodEnum<{
|
|
322
|
+
Arbitrum: "Arbitrum";
|
|
323
|
+
Avalanche: "Avalanche";
|
|
324
|
+
BNB: "BNB";
|
|
325
|
+
Base: "Base";
|
|
326
|
+
Berachain: "Berachain";
|
|
327
|
+
Etherlink: "Etherlink";
|
|
328
|
+
Hemi: "Hemi";
|
|
329
|
+
Lisk: "Lisk";
|
|
330
|
+
Mainnet: "Mainnet";
|
|
331
|
+
MegaETH: "MegaETH";
|
|
332
|
+
Monad: "Monad";
|
|
333
|
+
Optimism: "Optimism";
|
|
334
|
+
Plasma: "Plasma";
|
|
335
|
+
Somnia: "Somnia";
|
|
336
|
+
Sonic: "Sonic";
|
|
337
|
+
WorldChain: "WorldChain";
|
|
338
|
+
}>;
|
|
339
|
+
nextRestart: z.ZodOptional<z.ZodISODateTime>;
|
|
340
|
+
isActive: z.ZodBoolean;
|
|
341
|
+
ready: z.ZodBoolean;
|
|
342
|
+
paused: z.ZodBoolean;
|
|
343
|
+
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
344
|
+
url: z.ZodString;
|
|
345
|
+
logsUrl: z.ZodString;
|
|
346
|
+
persistent: z.ZodBoolean;
|
|
347
|
+
latestBlock: z.ZodOptional<z.ZodObject<{
|
|
348
|
+
number: z.ZodNumber;
|
|
349
|
+
time: z.ZodISODateTime;
|
|
350
|
+
timeDrift: z.ZodNumber;
|
|
351
|
+
originDrift: z.ZodString;
|
|
352
|
+
automine: z.ZodBoolean;
|
|
353
|
+
mineInterval: z.ZodNumber;
|
|
354
|
+
}, z.core.$strip>>;
|
|
355
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
356
|
+
id: z.ZodString;
|
|
357
|
+
definitionId: z.ZodString;
|
|
358
|
+
family: z.ZodString;
|
|
359
|
+
executionId: z.ZodString;
|
|
360
|
+
name: z.ZodOptional<z.ZodString>;
|
|
361
|
+
description: z.ZodOptional<z.ZodString>;
|
|
362
|
+
image: z.ZodString;
|
|
363
|
+
source: z.ZodOptional<z.ZodString>;
|
|
364
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
365
|
+
entrypoint: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
366
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
367
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
368
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
369
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
370
|
+
multicontainer: z.ZodBoolean;
|
|
371
|
+
concurrent: z.ZodBoolean;
|
|
372
|
+
outputDir: z.ZodOptional<z.ZodString>;
|
|
373
|
+
status: z.ZodEnum<{
|
|
374
|
+
error: "error";
|
|
375
|
+
failed: "failed";
|
|
376
|
+
queued: "queued";
|
|
377
|
+
started: "started";
|
|
378
|
+
success: "success";
|
|
379
|
+
terminated: "terminated";
|
|
380
|
+
}>;
|
|
381
|
+
error: z.ZodOptional<z.ZodString>;
|
|
382
|
+
createdAt: z.ZodISODateTime;
|
|
383
|
+
updatedAt: z.ZodISODateTime;
|
|
384
|
+
progress: z.ZodObject<{
|
|
385
|
+
completed: z.ZodNumber;
|
|
386
|
+
total: z.ZodNumber;
|
|
387
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
388
|
+
}, z.core.$strip>;
|
|
389
|
+
}, z.core.$strip>>>;
|
|
390
|
+
backend: z.ZodOptional<z.ZodObject<{
|
|
391
|
+
state: z.ZodEnum<{
|
|
392
|
+
active: "active";
|
|
393
|
+
error: "error";
|
|
394
|
+
provisioning: "provisioning";
|
|
395
|
+
starting: "starting";
|
|
396
|
+
}>;
|
|
397
|
+
error: z.ZodOptional<z.ZodString>;
|
|
398
|
+
version: z.ZodOptional<z.ZodString>;
|
|
399
|
+
}, z.core.$strip>>;
|
|
400
|
+
executionId: z.ZodString;
|
|
401
|
+
options: z.ZodObject<{
|
|
402
|
+
description: z.ZodOptional<z.ZodString>;
|
|
403
|
+
chainId: z.ZodOptional<z.ZodNumber>;
|
|
404
|
+
network: z.ZodEnum<{
|
|
405
|
+
Arbitrum: "Arbitrum";
|
|
406
|
+
Avalanche: "Avalanche";
|
|
407
|
+
BNB: "BNB";
|
|
408
|
+
Base: "Base";
|
|
409
|
+
Berachain: "Berachain";
|
|
410
|
+
Etherlink: "Etherlink";
|
|
411
|
+
Hemi: "Hemi";
|
|
412
|
+
Lisk: "Lisk";
|
|
413
|
+
Mainnet: "Mainnet";
|
|
414
|
+
MegaETH: "MegaETH";
|
|
415
|
+
Monad: "Monad";
|
|
416
|
+
Optimism: "Optimism";
|
|
417
|
+
Plasma: "Plasma";
|
|
418
|
+
Somnia: "Somnia";
|
|
419
|
+
Sonic: "Sonic";
|
|
420
|
+
WorldChain: "WorldChain";
|
|
421
|
+
}>;
|
|
422
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
423
|
+
anvilFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
424
|
+
anvilImage: z.ZodOptional<z.ZodString>;
|
|
425
|
+
rpcProvider: z.ZodOptional<z.ZodString>;
|
|
426
|
+
addressProvider: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>;
|
|
427
|
+
marketConfigurators: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>>;
|
|
428
|
+
rwaFactories: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>>;
|
|
429
|
+
blockNumber: z.ZodString;
|
|
430
|
+
owner: z.ZodString;
|
|
431
|
+
timeout: z.ZodString;
|
|
432
|
+
synctronLogLevel: z.ZodOptional<z.ZodString>;
|
|
433
|
+
scripts: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
434
|
+
id: z.ZodString;
|
|
435
|
+
description: z.ZodString;
|
|
436
|
+
npx: z.ZodOptional<z.ZodString>;
|
|
437
|
+
docker: z.ZodOptional<z.ZodString>;
|
|
438
|
+
args: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
439
|
+
env: z.ZodPipe<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodTransform<Record<string, string>, Record<string, string> | null>>;
|
|
440
|
+
flags: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
441
|
+
timeout: z.ZodString;
|
|
442
|
+
packageManager: z.ZodOptional<z.ZodString>;
|
|
443
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
444
|
+
}, z.core.$strip>>>, z.ZodTransform<{
|
|
445
|
+
id: string;
|
|
446
|
+
description: string;
|
|
447
|
+
npx?: string | undefined;
|
|
448
|
+
docker?: string | undefined;
|
|
449
|
+
args: string[];
|
|
450
|
+
env: Record<string, string>;
|
|
451
|
+
flags: string[];
|
|
452
|
+
timeout: string;
|
|
453
|
+
packageManager?: string | undefined;
|
|
454
|
+
input?: unknown;
|
|
455
|
+
}[], {
|
|
456
|
+
id: string;
|
|
457
|
+
description: string;
|
|
458
|
+
npx?: string | undefined;
|
|
459
|
+
docker?: string | undefined;
|
|
460
|
+
args: string[];
|
|
461
|
+
env: Record<string, string>;
|
|
462
|
+
flags: string[];
|
|
463
|
+
timeout: string;
|
|
464
|
+
packageManager?: string | undefined;
|
|
465
|
+
input?: unknown;
|
|
466
|
+
}[] | null>>;
|
|
467
|
+
disableSync: z.ZodBoolean;
|
|
468
|
+
disableIntervalMining: z.ZodBoolean;
|
|
469
|
+
disableRPCProtection: z.ZodBoolean;
|
|
470
|
+
debug: z.ZodOptional<z.ZodBoolean>;
|
|
471
|
+
webhooks: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
472
|
+
backend: z.ZodOptional<z.ZodObject<{
|
|
473
|
+
version: z.ZodOptional<z.ZodString>;
|
|
474
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
475
|
+
parentBranchId: z.ZodOptional<z.ZodString>;
|
|
476
|
+
}, z.core.$strip>>;
|
|
477
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
478
|
+
id: z.ZodOptional<z.ZodString>;
|
|
479
|
+
family: z.ZodOptional<z.ZodString>;
|
|
480
|
+
name: z.ZodOptional<z.ZodString>;
|
|
481
|
+
description: z.ZodOptional<z.ZodString>;
|
|
482
|
+
image: z.ZodString;
|
|
483
|
+
version: z.ZodOptional<z.ZodString>;
|
|
484
|
+
entrypoint: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
485
|
+
command: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
486
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
487
|
+
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
488
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
489
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
490
|
+
concurrent: z.ZodBoolean;
|
|
491
|
+
multicontainer: z.ZodBoolean;
|
|
492
|
+
schemaVersion: z.ZodOptional<z.ZodNumber>;
|
|
493
|
+
}, z.core.$strip>>>;
|
|
494
|
+
}, z.core.$strip>;
|
|
495
|
+
forkBlock: z.ZodObject<{
|
|
496
|
+
number: z.ZodNumber;
|
|
497
|
+
time: z.ZodISODateTime;
|
|
498
|
+
}, z.core.$strip>;
|
|
499
|
+
syncBlock: z.ZodNumber;
|
|
500
|
+
syncError: z.ZodOptional<z.ZodString>;
|
|
501
|
+
originChainId: z.ZodNumber;
|
|
502
|
+
anvilChainId: z.ZodNumber;
|
|
503
|
+
createdAt: z.ZodISODateTime;
|
|
504
|
+
addressProvider: z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
|
|
505
|
+
marketConfigurators: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>>;
|
|
506
|
+
rwaFactories: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>>>;
|
|
507
|
+
onchainExecutionId: z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
|
|
508
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
509
|
+
script: z.ZodObject<{
|
|
510
|
+
id: z.ZodString;
|
|
511
|
+
description: z.ZodString;
|
|
512
|
+
npx: z.ZodOptional<z.ZodString>;
|
|
513
|
+
docker: z.ZodOptional<z.ZodString>;
|
|
514
|
+
args: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
515
|
+
env: z.ZodPipe<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>, z.ZodTransform<Record<string, string>, Record<string, string> | null>>;
|
|
516
|
+
flags: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodString>>, z.ZodTransform<string[], string[] | null>>;
|
|
517
|
+
timeout: z.ZodString;
|
|
518
|
+
packageManager: z.ZodOptional<z.ZodString>;
|
|
519
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
520
|
+
}, z.core.$strip>;
|
|
521
|
+
duration: z.ZodString;
|
|
522
|
+
blockBefore: z.ZodOptional<z.ZodObject<{
|
|
523
|
+
number: z.ZodNumber;
|
|
524
|
+
time: z.ZodISODateTime;
|
|
525
|
+
timeDrift: z.ZodNumber;
|
|
526
|
+
originDrift: z.ZodString;
|
|
527
|
+
automine: z.ZodBoolean;
|
|
528
|
+
mineInterval: z.ZodNumber;
|
|
529
|
+
}, z.core.$strip>>;
|
|
530
|
+
blockAfter: z.ZodOptional<z.ZodObject<{
|
|
531
|
+
number: z.ZodNumber;
|
|
532
|
+
time: z.ZodISODateTime;
|
|
533
|
+
timeDrift: z.ZodNumber;
|
|
534
|
+
originDrift: z.ZodString;
|
|
535
|
+
automine: z.ZodBoolean;
|
|
536
|
+
mineInterval: z.ZodNumber;
|
|
537
|
+
}, z.core.$strip>>;
|
|
538
|
+
status: z.ZodEnum<{
|
|
539
|
+
error: "error";
|
|
540
|
+
failed: "failed";
|
|
541
|
+
queued: "queued";
|
|
542
|
+
started: "started";
|
|
543
|
+
success: "success";
|
|
544
|
+
terminated: "terminated";
|
|
545
|
+
}>;
|
|
546
|
+
error: z.ZodOptional<z.ZodString>;
|
|
547
|
+
exitCode: z.ZodNumber;
|
|
548
|
+
source: z.ZodOptional<z.ZodString>;
|
|
549
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
550
|
+
}, z.core.$strip>>>;
|
|
551
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
552
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
553
|
+
}, z.core.$strip>;
|
|
554
|
+
//#endregion
|