curvance 5.3.0 → 5.3.2
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/chains/monad-mainnet.json +195 -0
- package/dist/chains/monad-testnet.json +83 -0
- package/dist/classes/CToken.d.ts +10 -0
- package/dist/classes/CToken.d.ts.map +1 -1
- package/dist/classes/CToken.js +15 -4
- package/dist/classes/CToken.js.map +1 -1
- package/dist/classes/CVE.d.ts +7 -0
- package/dist/classes/CVE.d.ts.map +1 -0
- package/dist/classes/CVE.js +7 -0
- package/dist/classes/CVE.js.map +1 -0
- package/dist/classes/Faucet.d.ts +23 -0
- package/dist/classes/Faucet.d.ts.map +1 -0
- package/dist/classes/Faucet.js +55 -0
- package/dist/classes/Faucet.js.map +1 -0
- package/dist/classes/Redstone.d.ts +15 -0
- package/dist/classes/Redstone.d.ts.map +1 -0
- package/dist/classes/Redstone.js +56 -0
- package/dist/classes/Redstone.js.map +1 -0
- package/dist/contracts/arb-sepolia.json +8 -4
- package/dist/contracts/index.d.ts +112 -74
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/monad-mainnet.json +130 -96
- package/dist/helpers.d.ts +112 -74
- package/dist/helpers.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/abis/Optimizer.json +0 -484
package/dist/helpers.d.ts
CHANGED
|
@@ -123,7 +123,6 @@ export declare function getContractAddresses(chain: ChainRpcPrefix): {
|
|
|
123
123
|
readonly adaptors: {
|
|
124
124
|
readonly ChainlinkAdaptor: string;
|
|
125
125
|
readonly RedstoneClassicAdaptor: string;
|
|
126
|
-
readonly RedstoneCoreAdaptor: string;
|
|
127
126
|
};
|
|
128
127
|
readonly calldataCheckers: {
|
|
129
128
|
readonly RedstoneAdaptorMulticallChecker: string;
|
|
@@ -135,179 +134,205 @@ export declare function getContractAddresses(chain: ChainRpcPrefix): {
|
|
|
135
134
|
readonly simpleZapper: string;
|
|
136
135
|
readonly optimizerZapper: string;
|
|
137
136
|
};
|
|
138
|
-
readonly "VaultAggregator-AUSD-sAUSD": string;
|
|
139
|
-
readonly "StaticPriceAggregator-loAZND": string;
|
|
140
137
|
readonly markets: {
|
|
141
138
|
readonly "MUBOND | AUSD": {
|
|
142
139
|
readonly address: string;
|
|
143
|
-
readonly "muBOND-DynamicIRM": string;
|
|
144
140
|
readonly tokens: {
|
|
145
141
|
readonly muBOND: string;
|
|
146
142
|
readonly AUSD: string;
|
|
147
143
|
};
|
|
144
|
+
readonly irms: {
|
|
145
|
+
readonly muBOND: string;
|
|
146
|
+
readonly AUSD: string;
|
|
147
|
+
};
|
|
148
148
|
readonly plugins: {
|
|
149
149
|
readonly simplePositionManager: string;
|
|
150
150
|
};
|
|
151
|
-
readonly "AUSD-DynamicIRM": string;
|
|
152
151
|
};
|
|
153
152
|
readonly "loAZND | AUSD": {
|
|
154
153
|
readonly address: string;
|
|
155
|
-
readonly "loAZND-DynamicIRM": string;
|
|
156
154
|
readonly tokens: {
|
|
157
155
|
readonly loAZND: string;
|
|
158
156
|
readonly AUSD: string;
|
|
159
157
|
};
|
|
158
|
+
readonly irms: {
|
|
159
|
+
readonly loAZND: string;
|
|
160
|
+
readonly AUSD: string;
|
|
161
|
+
};
|
|
160
162
|
readonly plugins: {
|
|
161
163
|
readonly simplePositionManager: string;
|
|
162
164
|
};
|
|
163
|
-
readonly "AUSD-DynamicIRM": string;
|
|
164
165
|
};
|
|
165
166
|
readonly "ezETH | WETH": {
|
|
166
167
|
readonly address: string;
|
|
167
|
-
readonly "ezETH-DynamicIRM": string;
|
|
168
168
|
readonly tokens: {
|
|
169
169
|
readonly ezETH: string;
|
|
170
170
|
readonly WETH: string;
|
|
171
171
|
};
|
|
172
|
+
readonly irms: {
|
|
173
|
+
readonly ezETH: string;
|
|
174
|
+
readonly WETH: string;
|
|
175
|
+
};
|
|
172
176
|
readonly plugins: {
|
|
173
177
|
readonly simplePositionManager: string;
|
|
174
178
|
};
|
|
175
|
-
readonly "WETH-DynamicIRM": string;
|
|
176
179
|
};
|
|
177
180
|
readonly "shMON | WMON": {
|
|
178
181
|
readonly address: string;
|
|
179
|
-
readonly "shMON-DynamicIRM": string;
|
|
180
182
|
readonly tokens: {
|
|
181
183
|
readonly shMON: string;
|
|
182
184
|
readonly WMON: string;
|
|
183
185
|
};
|
|
186
|
+
readonly irms: {
|
|
187
|
+
readonly shMON: string;
|
|
188
|
+
readonly WMON: string;
|
|
189
|
+
};
|
|
184
190
|
readonly plugins: {
|
|
185
191
|
readonly nativeVaultPositionManager: string;
|
|
186
192
|
readonly simplePositionManager: string;
|
|
187
193
|
};
|
|
188
|
-
readonly "WMON-DynamicIRM": string;
|
|
189
194
|
};
|
|
190
195
|
readonly "aprMON | WMON": {
|
|
191
196
|
readonly address: string;
|
|
192
|
-
readonly "aprMON-DynamicIRM": string;
|
|
193
197
|
readonly tokens: {
|
|
194
198
|
readonly aprMON: string;
|
|
195
199
|
readonly WMON: string;
|
|
196
200
|
};
|
|
201
|
+
readonly irms: {
|
|
202
|
+
readonly aprMON: string;
|
|
203
|
+
readonly WMON: string;
|
|
204
|
+
};
|
|
197
205
|
readonly plugins: {
|
|
198
206
|
readonly nativeVaultPositionManager: string;
|
|
199
207
|
readonly simplePositionManager: string;
|
|
200
208
|
};
|
|
201
|
-
readonly "WMON-DynamicIRM": string;
|
|
202
209
|
};
|
|
203
210
|
readonly "sMON | WMON": {
|
|
204
211
|
readonly address: string;
|
|
205
|
-
readonly "sMON-DynamicIRM": string;
|
|
206
212
|
readonly tokens: {
|
|
207
213
|
readonly sMON: string;
|
|
208
214
|
readonly WMON: string;
|
|
209
215
|
};
|
|
216
|
+
readonly irms: {
|
|
217
|
+
readonly sMON: string;
|
|
218
|
+
readonly WMON: string;
|
|
219
|
+
};
|
|
210
220
|
readonly plugins: {
|
|
211
221
|
readonly simplePositionManager: string;
|
|
212
222
|
};
|
|
213
|
-
readonly "WMON-DynamicIRM": string;
|
|
214
223
|
};
|
|
215
224
|
readonly "sAUSD | AUSD": {
|
|
216
225
|
readonly address: string;
|
|
217
|
-
readonly "sAUSD-DynamicIRM": string;
|
|
218
226
|
readonly tokens: {
|
|
219
227
|
readonly sAUSD: string;
|
|
220
228
|
readonly AUSD: string;
|
|
221
229
|
};
|
|
230
|
+
readonly irms: {
|
|
231
|
+
readonly sAUSD: string;
|
|
232
|
+
readonly AUSD: string;
|
|
233
|
+
};
|
|
222
234
|
readonly plugins: {
|
|
223
235
|
readonly simplePositionManager: string;
|
|
224
236
|
readonly vaultPositionManager: string;
|
|
225
237
|
};
|
|
226
|
-
readonly "AUSD-DynamicIRM": string;
|
|
227
238
|
};
|
|
228
239
|
readonly "earnAUSD | AUSD": {
|
|
229
240
|
readonly address: string;
|
|
230
|
-
readonly "earnAUSD-DynamicIRM": string;
|
|
231
241
|
readonly tokens: {
|
|
232
242
|
readonly earnAUSD: string;
|
|
233
243
|
readonly AUSD: string;
|
|
234
244
|
};
|
|
245
|
+
readonly irms: {
|
|
246
|
+
readonly earnAUSD: string;
|
|
247
|
+
readonly AUSD: string;
|
|
248
|
+
};
|
|
235
249
|
readonly plugins: {
|
|
236
250
|
readonly simplePositionManager: string;
|
|
237
251
|
};
|
|
238
|
-
readonly "AUSD-DynamicIRM": string;
|
|
239
252
|
};
|
|
240
253
|
readonly "WMON | AUSD": {
|
|
241
254
|
readonly address: string;
|
|
242
|
-
readonly "WMON-DynamicIRM": string;
|
|
243
255
|
readonly tokens: {
|
|
244
256
|
readonly WMON: string;
|
|
245
257
|
readonly AUSD: string;
|
|
246
258
|
};
|
|
259
|
+
readonly irms: {
|
|
260
|
+
readonly WMON: string;
|
|
261
|
+
readonly AUSD: string;
|
|
262
|
+
};
|
|
247
263
|
readonly plugins: {
|
|
248
264
|
readonly simplePositionManager: string;
|
|
249
265
|
};
|
|
250
|
-
readonly "AUSD-DynamicIRM": string;
|
|
251
266
|
};
|
|
252
267
|
readonly "WMON | USDC": {
|
|
253
268
|
readonly address: string;
|
|
254
|
-
readonly "WMON-DynamicIRM": string;
|
|
255
269
|
readonly tokens: {
|
|
256
270
|
readonly WMON: string;
|
|
257
271
|
readonly USDC: string;
|
|
258
272
|
};
|
|
273
|
+
readonly irms: {
|
|
274
|
+
readonly WMON: string;
|
|
275
|
+
readonly USDC: string;
|
|
276
|
+
};
|
|
259
277
|
readonly plugins: {
|
|
260
278
|
readonly simplePositionManager: string;
|
|
261
279
|
};
|
|
262
|
-
readonly "USDC-DynamicIRM": string;
|
|
263
280
|
};
|
|
264
281
|
readonly "WBTC | USDC": {
|
|
265
282
|
readonly address: string;
|
|
266
|
-
readonly "WBTC-DynamicIRM": string;
|
|
267
283
|
readonly tokens: {
|
|
268
284
|
readonly WBTC: string;
|
|
269
285
|
readonly USDC: string;
|
|
270
286
|
};
|
|
287
|
+
readonly irms: {
|
|
288
|
+
readonly WBTC: string;
|
|
289
|
+
readonly USDC: string;
|
|
290
|
+
};
|
|
271
291
|
readonly plugins: {
|
|
272
292
|
readonly simplePositionManager: string;
|
|
273
293
|
};
|
|
274
|
-
readonly "USDC-DynamicIRM": string;
|
|
275
294
|
};
|
|
276
295
|
readonly "WETH | USDC": {
|
|
277
296
|
readonly address: string;
|
|
278
|
-
readonly "WETH-DynamicIRM": string;
|
|
279
297
|
readonly tokens: {
|
|
280
298
|
readonly WETH: string;
|
|
281
299
|
readonly USDC: string;
|
|
282
300
|
};
|
|
301
|
+
readonly irms: {
|
|
302
|
+
readonly WETH: string;
|
|
303
|
+
readonly USDC: string;
|
|
304
|
+
};
|
|
283
305
|
readonly plugins: {
|
|
284
306
|
readonly simplePositionManager: string;
|
|
285
307
|
};
|
|
286
|
-
readonly "USDC-DynamicIRM": string;
|
|
287
308
|
};
|
|
288
309
|
readonly "gMON | WMON": {
|
|
289
310
|
readonly address: string;
|
|
290
|
-
readonly "gMON-DynamicIRM": string;
|
|
291
311
|
readonly tokens: {
|
|
292
312
|
readonly gMON: string;
|
|
293
313
|
readonly WMON: string;
|
|
294
314
|
};
|
|
315
|
+
readonly irms: {
|
|
316
|
+
readonly gMON: string;
|
|
317
|
+
readonly WMON: string;
|
|
318
|
+
};
|
|
295
319
|
readonly plugins: {
|
|
296
320
|
readonly simplePositionManager: string;
|
|
297
321
|
};
|
|
298
|
-
readonly "WMON-DynamicIRM": string;
|
|
299
322
|
};
|
|
300
323
|
readonly "syzUSD | AUSD": {
|
|
301
324
|
readonly address: string;
|
|
302
|
-
readonly "syzUSD-DynamicIRM": string;
|
|
303
325
|
readonly tokens: {
|
|
304
326
|
readonly syzUSD: string;
|
|
305
327
|
readonly AUSD: string;
|
|
306
328
|
};
|
|
329
|
+
readonly irms: {
|
|
330
|
+
readonly syzUSD: string;
|
|
331
|
+
readonly AUSD: string;
|
|
332
|
+
};
|
|
307
333
|
readonly plugins: {
|
|
308
334
|
readonly simplePositionManager: string;
|
|
309
335
|
};
|
|
310
|
-
readonly "AUSD-DynamicIRM": string;
|
|
311
336
|
};
|
|
312
337
|
readonly "wsrUSD | AUSD": {
|
|
313
338
|
readonly address: string;
|
|
@@ -315,104 +340,113 @@ export declare function getContractAddresses(chain: ChainRpcPrefix): {
|
|
|
315
340
|
readonly wsrUSD: string;
|
|
316
341
|
readonly AUSD: string;
|
|
317
342
|
};
|
|
343
|
+
readonly irms: {
|
|
344
|
+
readonly wsrUSD: string;
|
|
345
|
+
readonly AUSD: string;
|
|
346
|
+
};
|
|
318
347
|
readonly plugins: {
|
|
319
348
|
readonly simplePositionManager: string;
|
|
320
349
|
};
|
|
321
|
-
readonly "AUSD-DynamicIRM": string;
|
|
322
|
-
readonly "wsrUSD-DynamicIRM": string;
|
|
323
350
|
};
|
|
324
351
|
readonly "YZM | AUSD": {
|
|
325
352
|
readonly address: string;
|
|
326
|
-
readonly plugins: {
|
|
327
|
-
readonly simplePositionManager: string;
|
|
328
|
-
};
|
|
329
|
-
readonly "YZM-DynamicIRM": string;
|
|
330
353
|
readonly tokens: {
|
|
331
354
|
readonly YZM: string;
|
|
332
355
|
readonly AUSD: string;
|
|
333
356
|
};
|
|
334
|
-
readonly
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
357
|
+
readonly irms: {
|
|
358
|
+
readonly YZM: string;
|
|
359
|
+
readonly AUSD: string;
|
|
360
|
+
};
|
|
338
361
|
readonly plugins: {
|
|
339
362
|
readonly simplePositionManager: string;
|
|
340
363
|
};
|
|
341
|
-
|
|
364
|
+
};
|
|
365
|
+
readonly "vUSD | AUSD": {
|
|
366
|
+
readonly address: string;
|
|
342
367
|
readonly tokens: {
|
|
343
368
|
readonly vUSD: string;
|
|
344
369
|
readonly AUSD: string;
|
|
345
370
|
};
|
|
346
|
-
readonly
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
371
|
+
readonly irms: {
|
|
372
|
+
readonly vUSD: string;
|
|
373
|
+
readonly AUSD: string;
|
|
374
|
+
};
|
|
350
375
|
readonly plugins: {
|
|
351
376
|
readonly simplePositionManager: string;
|
|
352
377
|
};
|
|
353
|
-
|
|
378
|
+
};
|
|
379
|
+
readonly "eBTC | WBTC": {
|
|
380
|
+
readonly address: string;
|
|
354
381
|
readonly tokens: {
|
|
355
382
|
readonly eBTC: string;
|
|
356
383
|
readonly WBTC: string;
|
|
357
384
|
};
|
|
358
|
-
readonly
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
385
|
+
readonly irms: {
|
|
386
|
+
readonly eBTC: string;
|
|
387
|
+
readonly WBTC: string;
|
|
388
|
+
};
|
|
362
389
|
readonly plugins: {
|
|
363
390
|
readonly simplePositionManager: string;
|
|
364
391
|
};
|
|
365
|
-
|
|
392
|
+
};
|
|
393
|
+
readonly "savUSD | USDC": {
|
|
394
|
+
readonly address: string;
|
|
395
|
+
readonly tokens: {
|
|
366
396
|
readonly savUSD: string;
|
|
367
397
|
readonly USDC: string;
|
|
368
398
|
};
|
|
369
|
-
readonly
|
|
399
|
+
readonly irms: {
|
|
370
400
|
readonly savUSD: string;
|
|
371
401
|
readonly USDC: string;
|
|
372
402
|
};
|
|
403
|
+
readonly plugins: {
|
|
404
|
+
readonly simplePositionManager: string;
|
|
405
|
+
};
|
|
373
406
|
};
|
|
374
407
|
readonly "savUSD | AUSD": {
|
|
375
408
|
readonly address: string;
|
|
376
|
-
readonly
|
|
377
|
-
readonly
|
|
409
|
+
readonly tokens: {
|
|
410
|
+
readonly savUSD: string;
|
|
411
|
+
readonly AUSD: string;
|
|
378
412
|
};
|
|
379
413
|
readonly irms: {
|
|
380
414
|
readonly savUSD: string;
|
|
381
415
|
readonly AUSD: string;
|
|
382
416
|
};
|
|
417
|
+
readonly plugins: {
|
|
418
|
+
readonly simplePositionManager: string;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
readonly "PT AUSD 8OCT2026 | AUSD": {
|
|
422
|
+
readonly address: string;
|
|
383
423
|
readonly tokens: {
|
|
384
|
-
readonly
|
|
424
|
+
readonly "PT-AUSD-8OCT2026": string;
|
|
425
|
+
readonly AUSD: string;
|
|
426
|
+
};
|
|
427
|
+
readonly irms: {
|
|
428
|
+
readonly "PT-AUSD-8OCT2026": string;
|
|
385
429
|
readonly AUSD: string;
|
|
386
430
|
};
|
|
387
431
|
};
|
|
388
432
|
};
|
|
389
433
|
readonly Optimizers: {
|
|
390
|
-
readonly "
|
|
434
|
+
readonly "High Yield AUSD": string;
|
|
391
435
|
};
|
|
392
436
|
readonly OptimizerReader: string;
|
|
393
437
|
readonly ProtocolReader: string;
|
|
394
438
|
readonly "CombinedAggregator-ezETH": string;
|
|
395
439
|
readonly "CombinedAggregator-earnAUSD": string;
|
|
396
440
|
readonly "CombinedAggregator-savUSD": string;
|
|
441
|
+
readonly "StaticPriceAggregator-loAZND": string;
|
|
442
|
+
readonly "StaticPriceAggregator-sAUSD": string;
|
|
397
443
|
readonly DAOTimelock: string;
|
|
398
444
|
readonly "VaultAggregator-USDC-YZM": string;
|
|
399
445
|
readonly "VaultAggregator-AUSD-vUSD": string;
|
|
400
446
|
readonly "VaultAggregator-accNUSD-AUSD": string;
|
|
401
447
|
readonly "ProtocolManagerMassPause-EC": string;
|
|
402
448
|
readonly "ProtocolManagerMassPause-RapidResponse": string;
|
|
403
|
-
readonly
|
|
404
|
-
readonly adaptors: {
|
|
405
|
-
readonly ChainlinkAdaptor: string;
|
|
406
|
-
readonly RedstoneClassicAdaptor: string;
|
|
407
|
-
};
|
|
408
|
-
readonly aggregators: {
|
|
409
|
-
readonly "CombinedAggregator-earnAUSD": string;
|
|
410
|
-
readonly "VaultAggregator-USDC-YZM": string;
|
|
411
|
-
readonly "CombinedAggregator-savUSD": string;
|
|
412
|
-
readonly "CombinedAggregator-ezETH": string;
|
|
413
|
-
readonly "VaultAggregator-AUSD-sAUSD": string;
|
|
414
|
-
};
|
|
415
|
-
};
|
|
449
|
+
readonly "PendlePTAggregator-PT-AUSD-8OCT2026": string;
|
|
416
450
|
} | {
|
|
417
451
|
readonly CentralRegistry: string;
|
|
418
452
|
readonly OracleManager: string;
|
|
@@ -438,21 +472,25 @@ export declare function getContractAddresses(chain: ChainRpcPrefix): {
|
|
|
438
472
|
readonly markets: {
|
|
439
473
|
readonly "Stable Market": {
|
|
440
474
|
readonly address: string;
|
|
441
|
-
readonly "USDC-DynamicIRM": string;
|
|
442
475
|
readonly tokens: {
|
|
443
476
|
readonly USDC: string;
|
|
444
477
|
readonly AUSD: string;
|
|
445
478
|
};
|
|
446
|
-
readonly
|
|
479
|
+
readonly irms: {
|
|
480
|
+
readonly USDC: string;
|
|
481
|
+
readonly AUSD: string;
|
|
482
|
+
};
|
|
447
483
|
};
|
|
448
484
|
readonly "Volatile Market": {
|
|
449
485
|
readonly address: string;
|
|
450
|
-
readonly "BTC-DynamicIRM": string;
|
|
451
486
|
readonly tokens: {
|
|
452
487
|
readonly BTC: string;
|
|
453
488
|
readonly ETH: string;
|
|
454
489
|
};
|
|
455
|
-
readonly
|
|
490
|
+
readonly irms: {
|
|
491
|
+
readonly BTC: string;
|
|
492
|
+
readonly ETH: string;
|
|
493
|
+
};
|
|
456
494
|
};
|
|
457
495
|
};
|
|
458
496
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AS,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,aAAa,SAAK,GAAG,CAAC,CA4D1F"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "curvance",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.2",
|
|
4
4
|
"packageManager": "npm@11.14.1",
|
|
5
5
|
"engines": {
|
|
6
6
|
"npm": ">=11.14.1 <12"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"build": "node node_modules/typescript/bin/tsc",
|
|
38
38
|
"test": "npm run test:transport",
|
|
39
39
|
"test:all": "node --test --test-concurrency=1 --require ts-node/register tests/*.test.ts",
|
|
40
|
-
"test:transport": "node --test --test-concurrency=1 --require ts-node/register tests/contract-gas-buffer.test.ts tests/retry-fallback.test.ts tests/rpc-ranking.test.ts tests/rpc-config-shape.test.ts tests/protocol-reader.test.ts tests/setup-race.test.ts tests/query-budget.test.ts tests/conversion.test.ts tests/erc20.test.ts tests/feePolicy.test.ts tests/validation.test.ts tests/api.test.ts tests/market-refresh.test.ts tests/market-boot.test.ts tests/merkl.test.ts tests/detached-context.test.ts tests/market-get-all-indexes.test.ts tests/snapshot-multichain.test.ts tests/dex-aggregators.test.ts tests/calldata-compat.test.ts tests/leverage-math.test.ts tests/ctoken-deposits.test.ts tests/ctoken-collateral-removal.test.ts tests/ctoken-snapshot.test.ts tests/borrowable-helpers.test.ts tests/zapper-calldata.test.ts tests/optimizer-zapper.test.ts tests/leverage-vault-behavior.test.ts tests/ctoken-leverage-planning.test.ts tests/ctoken-leverage-execution.test.ts tests/market-leverage-preview.test.ts tests/market-position-health-units.test.ts tests/optimizer-reader.test.ts tests/lending-optimizer.test.ts tests/source-invariants.test.ts",
|
|
40
|
+
"test:transport": "node --test --test-concurrency=1 --require ts-node/register tests/contract-gas-buffer.test.ts tests/retry-fallback.test.ts tests/rpc-ranking.test.ts tests/rpc-config-shape.test.ts tests/protocol-reader.test.ts tests/setup-race.test.ts tests/query-budget.test.ts tests/conversion.test.ts tests/erc20.test.ts tests/feePolicy.test.ts tests/validation.test.ts tests/api.test.ts tests/market-refresh.test.ts tests/market-boot.test.ts tests/merkl.test.ts tests/detached-context.test.ts tests/market-get-all-indexes.test.ts tests/snapshot-multichain.test.ts tests/dex-aggregators.test.ts tests/calldata-compat.test.ts tests/leverage-math.test.ts tests/ctoken-deposits.test.ts tests/ctoken-collateral-removal.test.ts tests/ctoken-snapshot.test.ts tests/ctoken-price.test.ts tests/borrowable-helpers.test.ts tests/zapper-calldata.test.ts tests/optimizer-zapper.test.ts tests/leverage-vault-behavior.test.ts tests/ctoken-leverage-planning.test.ts tests/ctoken-leverage-execution.test.ts tests/market-leverage-preview.test.ts tests/market-position-health-units.test.ts tests/optimizer-reader.test.ts tests/lending-optimizer.test.ts tests/source-invariants.test.ts",
|
|
41
41
|
"test:fork": "node --test --test-concurrency=1 --require ts-node/register tests/fork-integration.ts tests/basic.test.ts tests/arb-basic.test.ts tests/optimizer.test.ts tests/optimizer-zap.test.ts tests/leverage.test.ts tests/zap.test.ts tests/dual-fork-switch.test.ts",
|
|
42
42
|
"test:dist-smoke": "npm run build && node tests/dist-smoke.cjs",
|
|
43
43
|
"test:leverage": "ts-node tests/leverage.test.ts",
|