@bulletxyz/bullet-sdk 0.25.0-rc.6 → 0.25.0-rc.8
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/browser/index.js +43 -63
- package/dist/browser/index.js.map +2 -2
- package/dist/node/index.js +43 -63
- package/dist/node/index.js.map +2 -2
- package/dist/types/bullet-wasm/index.d.ts +3 -3
- package/dist/types/calc.d.ts +4 -4
- package/dist/types/client.d.ts +0 -10
- package/dist/types/zod-types/rest.d.ts +370 -769
- package/package.json +1 -1
|
@@ -363,15 +363,21 @@ export declare const BaseResponseSchemas: {
|
|
|
363
363
|
}>;
|
|
364
364
|
};
|
|
365
365
|
declare const PriceLevel: z.ZodTuple<[z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>], null>;
|
|
366
|
-
declare const
|
|
366
|
+
declare const BorrowLendRiskConfig: z.ZodObject<{
|
|
367
|
+
liquidation_reward_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
368
|
+
liability_liquidation_limit_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
367
369
|
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
368
370
|
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
369
371
|
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
370
372
|
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
374
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
371
375
|
asset_weight: import("decimal.js").Decimal;
|
|
372
376
|
initial_liability_weight: import("decimal.js").Decimal;
|
|
373
377
|
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
374
378
|
}, {
|
|
379
|
+
liquidation_reward_ratio: string | number;
|
|
380
|
+
liability_liquidation_limit_ratio: string | number;
|
|
375
381
|
asset_weight: string | number;
|
|
376
382
|
initial_liability_weight: string | number;
|
|
377
383
|
maintenance_liability_weight: string | number;
|
|
@@ -616,35 +622,12 @@ export declare const Schemas: {
|
|
|
616
622
|
address: z.ZodString;
|
|
617
623
|
usdc_ledger: z.ZodObject<{
|
|
618
624
|
ledger: z.ZodObject<{
|
|
619
|
-
weights: z.ZodObject<{
|
|
620
|
-
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
621
|
-
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
622
|
-
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
623
|
-
}, "strip", z.ZodTypeAny, {
|
|
624
|
-
asset_weight: import("decimal.js").Decimal;
|
|
625
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
626
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
627
|
-
}, {
|
|
628
|
-
asset_weight: string | number;
|
|
629
|
-
initial_liability_weight: string | number;
|
|
630
|
-
maintenance_liability_weight: string | number;
|
|
631
|
-
}>;
|
|
632
625
|
asset: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
633
626
|
liability: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
634
627
|
}, "strip", z.ZodTypeAny, {
|
|
635
|
-
weights: {
|
|
636
|
-
asset_weight: import("decimal.js").Decimal;
|
|
637
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
638
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
639
|
-
};
|
|
640
628
|
asset: import("decimal.js").Decimal;
|
|
641
629
|
liability: import("decimal.js").Decimal;
|
|
642
630
|
}, {
|
|
643
|
-
weights: {
|
|
644
|
-
asset_weight: string | number;
|
|
645
|
-
initial_liability_weight: string | number;
|
|
646
|
-
maintenance_liability_weight: string | number;
|
|
647
|
-
};
|
|
648
631
|
asset: string | number;
|
|
649
632
|
liability: string | number;
|
|
650
633
|
}>;
|
|
@@ -652,11 +635,6 @@ export declare const Schemas: {
|
|
|
652
635
|
unsettled_perp_profit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
653
636
|
}, "strip", z.ZodTypeAny, {
|
|
654
637
|
ledger: {
|
|
655
|
-
weights: {
|
|
656
|
-
asset_weight: import("decimal.js").Decimal;
|
|
657
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
658
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
659
|
-
};
|
|
660
638
|
asset: import("decimal.js").Decimal;
|
|
661
639
|
liability: import("decimal.js").Decimal;
|
|
662
640
|
};
|
|
@@ -664,11 +642,6 @@ export declare const Schemas: {
|
|
|
664
642
|
unsettled_perp_profit: import("decimal.js").Decimal;
|
|
665
643
|
}, {
|
|
666
644
|
ledger: {
|
|
667
|
-
weights: {
|
|
668
|
-
asset_weight: string | number;
|
|
669
|
-
initial_liability_weight: string | number;
|
|
670
|
-
maintenance_liability_weight: string | number;
|
|
671
|
-
};
|
|
672
645
|
asset: string | number;
|
|
673
646
|
liability: string | number;
|
|
674
647
|
};
|
|
@@ -677,51 +650,18 @@ export declare const Schemas: {
|
|
|
677
650
|
}>;
|
|
678
651
|
client_order_ids: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodBigInt>, Map<bigint, bigint>, Record<string, bigint>>;
|
|
679
652
|
spot_ledgers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
680
|
-
weights: z.ZodObject<{
|
|
681
|
-
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
682
|
-
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
683
|
-
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
684
|
-
}, "strip", z.ZodTypeAny, {
|
|
685
|
-
asset_weight: import("decimal.js").Decimal;
|
|
686
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
687
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
688
|
-
}, {
|
|
689
|
-
asset_weight: string | number;
|
|
690
|
-
initial_liability_weight: string | number;
|
|
691
|
-
maintenance_liability_weight: string | number;
|
|
692
|
-
}>;
|
|
693
653
|
asset: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
694
654
|
liability: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
695
655
|
}, "strip", z.ZodTypeAny, {
|
|
696
|
-
weights: {
|
|
697
|
-
asset_weight: import("decimal.js").Decimal;
|
|
698
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
699
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
700
|
-
};
|
|
701
656
|
asset: import("decimal.js").Decimal;
|
|
702
657
|
liability: import("decimal.js").Decimal;
|
|
703
658
|
}, {
|
|
704
|
-
weights: {
|
|
705
|
-
asset_weight: string | number;
|
|
706
|
-
initial_liability_weight: string | number;
|
|
707
|
-
maintenance_liability_weight: string | number;
|
|
708
|
-
};
|
|
709
659
|
asset: string | number;
|
|
710
660
|
liability: string | number;
|
|
711
661
|
}>>, Map<number, {
|
|
712
|
-
weights: {
|
|
713
|
-
asset_weight: import("decimal.js").Decimal;
|
|
714
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
715
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
716
|
-
};
|
|
717
662
|
asset: import("decimal.js").Decimal;
|
|
718
663
|
liability: import("decimal.js").Decimal;
|
|
719
664
|
}>, Record<string, {
|
|
720
|
-
weights: {
|
|
721
|
-
asset_weight: string | number;
|
|
722
|
-
initial_liability_weight: string | number;
|
|
723
|
-
maintenance_liability_weight: string | number;
|
|
724
|
-
};
|
|
725
665
|
asset: string | number;
|
|
726
666
|
liability: string | number;
|
|
727
667
|
}>>;
|
|
@@ -1259,11 +1199,6 @@ export declare const Schemas: {
|
|
|
1259
1199
|
address: string;
|
|
1260
1200
|
usdc_ledger: {
|
|
1261
1201
|
ledger: {
|
|
1262
|
-
weights: {
|
|
1263
|
-
asset_weight: import("decimal.js").Decimal;
|
|
1264
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
1265
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1266
|
-
};
|
|
1267
1202
|
asset: import("decimal.js").Decimal;
|
|
1268
1203
|
liability: import("decimal.js").Decimal;
|
|
1269
1204
|
};
|
|
@@ -1272,11 +1207,6 @@ export declare const Schemas: {
|
|
|
1272
1207
|
};
|
|
1273
1208
|
client_order_ids: Map<bigint, bigint>;
|
|
1274
1209
|
spot_ledgers: Map<number, {
|
|
1275
|
-
weights: {
|
|
1276
|
-
asset_weight: import("decimal.js").Decimal;
|
|
1277
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
1278
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1279
|
-
};
|
|
1280
1210
|
asset: import("decimal.js").Decimal;
|
|
1281
1211
|
liability: import("decimal.js").Decimal;
|
|
1282
1212
|
}>;
|
|
@@ -1340,11 +1270,6 @@ export declare const Schemas: {
|
|
|
1340
1270
|
address: string;
|
|
1341
1271
|
usdc_ledger: {
|
|
1342
1272
|
ledger: {
|
|
1343
|
-
weights: {
|
|
1344
|
-
asset_weight: string | number;
|
|
1345
|
-
initial_liability_weight: string | number;
|
|
1346
|
-
maintenance_liability_weight: string | number;
|
|
1347
|
-
};
|
|
1348
1273
|
asset: string | number;
|
|
1349
1274
|
liability: string | number;
|
|
1350
1275
|
};
|
|
@@ -1353,11 +1278,6 @@ export declare const Schemas: {
|
|
|
1353
1278
|
};
|
|
1354
1279
|
client_order_ids: Record<string, bigint>;
|
|
1355
1280
|
spot_ledgers: Record<string, {
|
|
1356
|
-
weights: {
|
|
1357
|
-
asset_weight: string | number;
|
|
1358
|
-
initial_liability_weight: string | number;
|
|
1359
|
-
maintenance_liability_weight: string | number;
|
|
1360
|
-
};
|
|
1361
1281
|
asset: string | number;
|
|
1362
1282
|
liability: string | number;
|
|
1363
1283
|
}>;
|
|
@@ -1453,45 +1373,6 @@ export declare const Schemas: {
|
|
|
1453
1373
|
asset_id: z.ZodNumber;
|
|
1454
1374
|
is_active: z.ZodBoolean;
|
|
1455
1375
|
last_update_timestamp: z.ZodBigInt;
|
|
1456
|
-
risk_params: z.ZodObject<{
|
|
1457
|
-
weights: z.ZodObject<{
|
|
1458
|
-
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1459
|
-
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1460
|
-
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1461
|
-
}, "strip", z.ZodTypeAny, {
|
|
1462
|
-
asset_weight: import("decimal.js").Decimal;
|
|
1463
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
1464
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1465
|
-
}, {
|
|
1466
|
-
asset_weight: string | number;
|
|
1467
|
-
initial_liability_weight: string | number;
|
|
1468
|
-
maintenance_liability_weight: string | number;
|
|
1469
|
-
}>;
|
|
1470
|
-
deposit_limit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1471
|
-
borrow_limit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1472
|
-
liquidation_reward_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1473
|
-
liability_liquidation_limit_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1474
|
-
}, "strip", z.ZodTypeAny, {
|
|
1475
|
-
weights: {
|
|
1476
|
-
asset_weight: import("decimal.js").Decimal;
|
|
1477
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
1478
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1479
|
-
};
|
|
1480
|
-
deposit_limit: import("decimal.js").Decimal;
|
|
1481
|
-
borrow_limit: import("decimal.js").Decimal;
|
|
1482
|
-
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
1483
|
-
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
1484
|
-
}, {
|
|
1485
|
-
weights: {
|
|
1486
|
-
asset_weight: string | number;
|
|
1487
|
-
initial_liability_weight: string | number;
|
|
1488
|
-
maintenance_liability_weight: string | number;
|
|
1489
|
-
};
|
|
1490
|
-
deposit_limit: string | number;
|
|
1491
|
-
borrow_limit: string | number;
|
|
1492
|
-
liquidation_reward_ratio: string | number;
|
|
1493
|
-
liability_liquidation_limit_ratio: string | number;
|
|
1494
|
-
}>;
|
|
1495
1376
|
rate_params: z.ZodObject<{
|
|
1496
1377
|
optimal_utilisation_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1497
1378
|
min_borrow_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
@@ -1508,6 +1389,8 @@ export declare const Schemas: {
|
|
|
1508
1389
|
optimal_borrow_rate: string | number;
|
|
1509
1390
|
max_borrow_rate: string | number;
|
|
1510
1391
|
}>;
|
|
1392
|
+
deposit_limit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1393
|
+
borrow_limit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1511
1394
|
available_amount: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1512
1395
|
borrowed_amount: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1513
1396
|
cumulative_deposit_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
@@ -1517,23 +1400,14 @@ export declare const Schemas: {
|
|
|
1517
1400
|
last_update_timestamp: bigint;
|
|
1518
1401
|
asset_id: number;
|
|
1519
1402
|
is_active: boolean;
|
|
1520
|
-
risk_params: {
|
|
1521
|
-
weights: {
|
|
1522
|
-
asset_weight: import("decimal.js").Decimal;
|
|
1523
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
1524
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1525
|
-
};
|
|
1526
|
-
deposit_limit: import("decimal.js").Decimal;
|
|
1527
|
-
borrow_limit: import("decimal.js").Decimal;
|
|
1528
|
-
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
1529
|
-
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
1530
|
-
};
|
|
1531
1403
|
rate_params: {
|
|
1532
1404
|
optimal_utilisation_rate: import("decimal.js").Decimal;
|
|
1533
1405
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
1534
1406
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
1535
1407
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
1536
1408
|
};
|
|
1409
|
+
deposit_limit: import("decimal.js").Decimal;
|
|
1410
|
+
borrow_limit: import("decimal.js").Decimal;
|
|
1537
1411
|
available_amount: import("decimal.js").Decimal;
|
|
1538
1412
|
borrowed_amount: import("decimal.js").Decimal;
|
|
1539
1413
|
cumulative_deposit_rate: import("decimal.js").Decimal;
|
|
@@ -1543,23 +1417,14 @@ export declare const Schemas: {
|
|
|
1543
1417
|
last_update_timestamp: bigint;
|
|
1544
1418
|
asset_id: number;
|
|
1545
1419
|
is_active: boolean;
|
|
1546
|
-
risk_params: {
|
|
1547
|
-
weights: {
|
|
1548
|
-
asset_weight: string | number;
|
|
1549
|
-
initial_liability_weight: string | number;
|
|
1550
|
-
maintenance_liability_weight: string | number;
|
|
1551
|
-
};
|
|
1552
|
-
deposit_limit: string | number;
|
|
1553
|
-
borrow_limit: string | number;
|
|
1554
|
-
liquidation_reward_ratio: string | number;
|
|
1555
|
-
liability_liquidation_limit_ratio: string | number;
|
|
1556
|
-
};
|
|
1557
1420
|
rate_params: {
|
|
1558
1421
|
optimal_utilisation_rate: string | number;
|
|
1559
1422
|
min_borrow_rate: string | number;
|
|
1560
1423
|
optimal_borrow_rate: string | number;
|
|
1561
1424
|
max_borrow_rate: string | number;
|
|
1562
1425
|
};
|
|
1426
|
+
deposit_limit: string | number;
|
|
1427
|
+
borrow_limit: string | number;
|
|
1563
1428
|
available_amount: string | number;
|
|
1564
1429
|
borrowed_amount: string | number;
|
|
1565
1430
|
cumulative_deposit_rate: string | number;
|
|
@@ -1569,23 +1434,14 @@ export declare const Schemas: {
|
|
|
1569
1434
|
last_update_timestamp: bigint;
|
|
1570
1435
|
asset_id: number;
|
|
1571
1436
|
is_active: boolean;
|
|
1572
|
-
risk_params: {
|
|
1573
|
-
weights: {
|
|
1574
|
-
asset_weight: import("decimal.js").Decimal;
|
|
1575
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
1576
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1577
|
-
};
|
|
1578
|
-
deposit_limit: import("decimal.js").Decimal;
|
|
1579
|
-
borrow_limit: import("decimal.js").Decimal;
|
|
1580
|
-
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
1581
|
-
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
1582
|
-
};
|
|
1583
1437
|
rate_params: {
|
|
1584
1438
|
optimal_utilisation_rate: import("decimal.js").Decimal;
|
|
1585
1439
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
1586
1440
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
1587
1441
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
1588
1442
|
};
|
|
1443
|
+
deposit_limit: import("decimal.js").Decimal;
|
|
1444
|
+
borrow_limit: import("decimal.js").Decimal;
|
|
1589
1445
|
available_amount: import("decimal.js").Decimal;
|
|
1590
1446
|
borrowed_amount: import("decimal.js").Decimal;
|
|
1591
1447
|
cumulative_deposit_rate: import("decimal.js").Decimal;
|
|
@@ -1595,23 +1451,14 @@ export declare const Schemas: {
|
|
|
1595
1451
|
last_update_timestamp: bigint;
|
|
1596
1452
|
asset_id: number;
|
|
1597
1453
|
is_active: boolean;
|
|
1598
|
-
risk_params: {
|
|
1599
|
-
weights: {
|
|
1600
|
-
asset_weight: string | number;
|
|
1601
|
-
initial_liability_weight: string | number;
|
|
1602
|
-
maintenance_liability_weight: string | number;
|
|
1603
|
-
};
|
|
1604
|
-
deposit_limit: string | number;
|
|
1605
|
-
borrow_limit: string | number;
|
|
1606
|
-
liquidation_reward_ratio: string | number;
|
|
1607
|
-
liability_liquidation_limit_ratio: string | number;
|
|
1608
|
-
};
|
|
1609
1454
|
rate_params: {
|
|
1610
1455
|
optimal_utilisation_rate: string | number;
|
|
1611
1456
|
min_borrow_rate: string | number;
|
|
1612
1457
|
optimal_borrow_rate: string | number;
|
|
1613
1458
|
max_borrow_rate: string | number;
|
|
1614
1459
|
};
|
|
1460
|
+
deposit_limit: string | number;
|
|
1461
|
+
borrow_limit: string | number;
|
|
1615
1462
|
available_amount: string | number;
|
|
1616
1463
|
borrowed_amount: string | number;
|
|
1617
1464
|
cumulative_deposit_rate: string | number;
|
|
@@ -1671,22 +1518,69 @@ export declare const Schemas: {
|
|
|
1671
1518
|
rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1672
1519
|
accum_per_lot: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1673
1520
|
last_update_timestamp: z.ZodBigInt;
|
|
1521
|
+
parameters: z.ZodObject<{
|
|
1522
|
+
interest_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1523
|
+
min_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1524
|
+
max_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1525
|
+
min_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1526
|
+
max_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1527
|
+
}, "strip", z.ZodTypeAny, {
|
|
1528
|
+
interest_rate: import("decimal.js").Decimal;
|
|
1529
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1530
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1531
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1532
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1533
|
+
}, {
|
|
1534
|
+
interest_rate: string | number;
|
|
1535
|
+
min_interest_rate_clamp: string | number;
|
|
1536
|
+
max_interest_rate_clamp: string | number;
|
|
1537
|
+
min_funding_rate_clamp: string | number;
|
|
1538
|
+
max_funding_rate_clamp: string | number;
|
|
1539
|
+
}>;
|
|
1674
1540
|
}, "strip", z.ZodTypeAny, {
|
|
1675
1541
|
last_update_timestamp: bigint;
|
|
1676
1542
|
rate: import("decimal.js").Decimal;
|
|
1677
1543
|
accum_per_lot: import("decimal.js").Decimal;
|
|
1544
|
+
parameters: {
|
|
1545
|
+
interest_rate: import("decimal.js").Decimal;
|
|
1546
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1547
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1548
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1549
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1550
|
+
};
|
|
1678
1551
|
}, {
|
|
1679
1552
|
last_update_timestamp: bigint;
|
|
1680
1553
|
rate: string | number;
|
|
1681
1554
|
accum_per_lot: string | number;
|
|
1555
|
+
parameters: {
|
|
1556
|
+
interest_rate: string | number;
|
|
1557
|
+
min_interest_rate_clamp: string | number;
|
|
1558
|
+
max_interest_rate_clamp: string | number;
|
|
1559
|
+
min_funding_rate_clamp: string | number;
|
|
1560
|
+
max_funding_rate_clamp: string | number;
|
|
1561
|
+
};
|
|
1682
1562
|
}>>, Map<number, {
|
|
1683
1563
|
last_update_timestamp: bigint;
|
|
1684
1564
|
rate: import("decimal.js").Decimal;
|
|
1685
1565
|
accum_per_lot: import("decimal.js").Decimal;
|
|
1566
|
+
parameters: {
|
|
1567
|
+
interest_rate: import("decimal.js").Decimal;
|
|
1568
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1569
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1570
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1571
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1572
|
+
};
|
|
1686
1573
|
}>, Record<string, {
|
|
1687
1574
|
last_update_timestamp: bigint;
|
|
1688
1575
|
rate: string | number;
|
|
1689
1576
|
accum_per_lot: string | number;
|
|
1577
|
+
parameters: {
|
|
1578
|
+
interest_rate: string | number;
|
|
1579
|
+
min_interest_rate_clamp: string | number;
|
|
1580
|
+
max_interest_rate_clamp: string | number;
|
|
1581
|
+
min_funding_rate_clamp: string | number;
|
|
1582
|
+
max_funding_rate_clamp: string | number;
|
|
1583
|
+
};
|
|
1690
1584
|
}>>;
|
|
1691
1585
|
}, "strip", z.ZodTypeAny, {
|
|
1692
1586
|
pricing_frequency_seconds: number;
|
|
@@ -1705,6 +1599,13 @@ export declare const Schemas: {
|
|
|
1705
1599
|
last_update_timestamp: bigint;
|
|
1706
1600
|
rate: import("decimal.js").Decimal;
|
|
1707
1601
|
accum_per_lot: import("decimal.js").Decimal;
|
|
1602
|
+
parameters: {
|
|
1603
|
+
interest_rate: import("decimal.js").Decimal;
|
|
1604
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1605
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1606
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1607
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1608
|
+
};
|
|
1708
1609
|
}>;
|
|
1709
1610
|
}, {
|
|
1710
1611
|
pricing_frequency_seconds: number;
|
|
@@ -1723,6 +1624,13 @@ export declare const Schemas: {
|
|
|
1723
1624
|
last_update_timestamp: bigint;
|
|
1724
1625
|
rate: string | number;
|
|
1725
1626
|
accum_per_lot: string | number;
|
|
1627
|
+
parameters: {
|
|
1628
|
+
interest_rate: string | number;
|
|
1629
|
+
min_interest_rate_clamp: string | number;
|
|
1630
|
+
max_interest_rate_clamp: string | number;
|
|
1631
|
+
min_funding_rate_clamp: string | number;
|
|
1632
|
+
max_funding_rate_clamp: string | number;
|
|
1633
|
+
};
|
|
1726
1634
|
}>;
|
|
1727
1635
|
}>;
|
|
1728
1636
|
readonly PerpMarket: z.ZodObject<{
|
|
@@ -1730,25 +1638,6 @@ export declare const Schemas: {
|
|
|
1730
1638
|
is_active: z.ZodBoolean;
|
|
1731
1639
|
min_tick_size: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1732
1640
|
min_lot_size: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1733
|
-
funding_parameters: z.ZodObject<{
|
|
1734
|
-
interest_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1735
|
-
min_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1736
|
-
max_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1737
|
-
min_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1738
|
-
max_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1739
|
-
}, "strip", z.ZodTypeAny, {
|
|
1740
|
-
interest_rate: import("decimal.js").Decimal;
|
|
1741
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1742
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1743
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1744
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1745
|
-
}, {
|
|
1746
|
-
interest_rate: string | number;
|
|
1747
|
-
min_interest_rate_clamp: string | number;
|
|
1748
|
-
max_interest_rate_clamp: string | number;
|
|
1749
|
-
min_funding_rate_clamp: string | number;
|
|
1750
|
-
max_funding_rate_clamp: string | number;
|
|
1751
|
-
}>;
|
|
1752
1641
|
impact_margin: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1753
1642
|
orderbook: z.ZodObject<{
|
|
1754
1643
|
market_id: z.ZodNumber;
|
|
@@ -1811,13 +1700,6 @@ export declare const Schemas: {
|
|
|
1811
1700
|
is_active: boolean;
|
|
1812
1701
|
min_tick_size: import("decimal.js").Decimal;
|
|
1813
1702
|
min_lot_size: import("decimal.js").Decimal;
|
|
1814
|
-
funding_parameters: {
|
|
1815
|
-
interest_rate: import("decimal.js").Decimal;
|
|
1816
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1817
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
1818
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1819
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
1820
|
-
};
|
|
1821
1703
|
impact_margin: import("decimal.js").Decimal;
|
|
1822
1704
|
orderbook: {
|
|
1823
1705
|
market_id: number;
|
|
@@ -1836,13 +1718,6 @@ export declare const Schemas: {
|
|
|
1836
1718
|
is_active: boolean;
|
|
1837
1719
|
min_tick_size: string | number;
|
|
1838
1720
|
min_lot_size: string | number;
|
|
1839
|
-
funding_parameters: {
|
|
1840
|
-
interest_rate: string | number;
|
|
1841
|
-
min_interest_rate_clamp: string | number;
|
|
1842
|
-
max_interest_rate_clamp: string | number;
|
|
1843
|
-
min_funding_rate_clamp: string | number;
|
|
1844
|
-
max_funding_rate_clamp: string | number;
|
|
1845
|
-
};
|
|
1846
1721
|
impact_margin: string | number;
|
|
1847
1722
|
orderbook: {
|
|
1848
1723
|
market_id: number;
|
|
@@ -1858,6 +1733,19 @@ export declare const Schemas: {
|
|
|
1858
1733
|
last_trade_price: string | number;
|
|
1859
1734
|
}>;
|
|
1860
1735
|
readonly MarginConfig: z.ZodObject<{
|
|
1736
|
+
perp_liquidation_config: z.ZodObject<{
|
|
1737
|
+
liquidation_ioc_buffer: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1738
|
+
backstop_liquidation_threshold: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1739
|
+
liquidation_fee: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1740
|
+
}, "strip", z.ZodTypeAny, {
|
|
1741
|
+
liquidation_ioc_buffer: import("decimal.js").Decimal;
|
|
1742
|
+
backstop_liquidation_threshold: import("decimal.js").Decimal;
|
|
1743
|
+
liquidation_fee: import("decimal.js").Decimal;
|
|
1744
|
+
}, {
|
|
1745
|
+
liquidation_ioc_buffer: string | number;
|
|
1746
|
+
backstop_liquidation_threshold: string | number;
|
|
1747
|
+
liquidation_fee: string | number;
|
|
1748
|
+
}>;
|
|
1861
1749
|
perp_leverage_tables: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1862
1750
|
tiers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1863
1751
|
max_leverage: z.ZodNumber;
|
|
@@ -1905,10 +1793,43 @@ export declare const Schemas: {
|
|
|
1905
1793
|
maintenance_amount: string | number;
|
|
1906
1794
|
}>;
|
|
1907
1795
|
}>>;
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1796
|
+
borrow_lend_risk_configs: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1797
|
+
liquidation_reward_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1798
|
+
liability_liquidation_limit_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1799
|
+
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1800
|
+
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1801
|
+
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
1802
|
+
}, "strip", z.ZodTypeAny, {
|
|
1803
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
1804
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
1805
|
+
asset_weight: import("decimal.js").Decimal;
|
|
1806
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
1807
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1808
|
+
}, {
|
|
1809
|
+
liquidation_reward_ratio: string | number;
|
|
1810
|
+
liability_liquidation_limit_ratio: string | number;
|
|
1811
|
+
asset_weight: string | number;
|
|
1812
|
+
initial_liability_weight: string | number;
|
|
1813
|
+
maintenance_liability_weight: string | number;
|
|
1814
|
+
}>>, Map<number, {
|
|
1815
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
1816
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
1817
|
+
asset_weight: import("decimal.js").Decimal;
|
|
1818
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
1819
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1820
|
+
}>, Record<string, {
|
|
1821
|
+
liquidation_reward_ratio: string | number;
|
|
1822
|
+
liability_liquidation_limit_ratio: string | number;
|
|
1823
|
+
asset_weight: string | number;
|
|
1824
|
+
initial_liability_weight: string | number;
|
|
1825
|
+
maintenance_liability_weight: string | number;
|
|
1826
|
+
}>>;
|
|
1911
1827
|
}, "strip", z.ZodTypeAny, {
|
|
1828
|
+
perp_liquidation_config: {
|
|
1829
|
+
liquidation_ioc_buffer: import("decimal.js").Decimal;
|
|
1830
|
+
backstop_liquidation_threshold: import("decimal.js").Decimal;
|
|
1831
|
+
liquidation_fee: import("decimal.js").Decimal;
|
|
1832
|
+
};
|
|
1912
1833
|
perp_leverage_tables: Map<number, {
|
|
1913
1834
|
tiers: Map<string, {
|
|
1914
1835
|
max_leverage: number;
|
|
@@ -1916,10 +1837,19 @@ export declare const Schemas: {
|
|
|
1916
1837
|
maintenance_amount: import("decimal.js").Decimal;
|
|
1917
1838
|
}>;
|
|
1918
1839
|
}>;
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1840
|
+
borrow_lend_risk_configs: Map<number, {
|
|
1841
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
1842
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
1843
|
+
asset_weight: import("decimal.js").Decimal;
|
|
1844
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
1845
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
1846
|
+
}>;
|
|
1922
1847
|
}, {
|
|
1848
|
+
perp_liquidation_config: {
|
|
1849
|
+
liquidation_ioc_buffer: string | number;
|
|
1850
|
+
backstop_liquidation_threshold: string | number;
|
|
1851
|
+
liquidation_fee: string | number;
|
|
1852
|
+
};
|
|
1923
1853
|
perp_leverage_tables: Record<string, {
|
|
1924
1854
|
tiers: Record<string, {
|
|
1925
1855
|
max_leverage: number;
|
|
@@ -1927,9 +1857,13 @@ export declare const Schemas: {
|
|
|
1927
1857
|
maintenance_amount: string | number;
|
|
1928
1858
|
}>;
|
|
1929
1859
|
}>;
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1860
|
+
borrow_lend_risk_configs: Record<string, {
|
|
1861
|
+
liquidation_reward_ratio: string | number;
|
|
1862
|
+
liability_liquidation_limit_ratio: string | number;
|
|
1863
|
+
asset_weight: string | number;
|
|
1864
|
+
initial_liability_weight: string | number;
|
|
1865
|
+
maintenance_liability_weight: string | number;
|
|
1866
|
+
}>;
|
|
1933
1867
|
}>;
|
|
1934
1868
|
readonly AccountAddresses: z.ZodObject<{
|
|
1935
1869
|
addresses: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2484,22 +2418,69 @@ export declare const ResponseSchemas: {
|
|
|
2484
2418
|
rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
2485
2419
|
accum_per_lot: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
2486
2420
|
last_update_timestamp: z.ZodBigInt;
|
|
2421
|
+
parameters: z.ZodObject<{
|
|
2422
|
+
interest_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
2423
|
+
min_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
2424
|
+
max_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
2425
|
+
min_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
2426
|
+
max_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
2427
|
+
}, "strip", z.ZodTypeAny, {
|
|
2428
|
+
interest_rate: import("decimal.js").Decimal;
|
|
2429
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2430
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2431
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2432
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2433
|
+
}, {
|
|
2434
|
+
interest_rate: string | number;
|
|
2435
|
+
min_interest_rate_clamp: string | number;
|
|
2436
|
+
max_interest_rate_clamp: string | number;
|
|
2437
|
+
min_funding_rate_clamp: string | number;
|
|
2438
|
+
max_funding_rate_clamp: string | number;
|
|
2439
|
+
}>;
|
|
2487
2440
|
}, "strip", z.ZodTypeAny, {
|
|
2488
2441
|
last_update_timestamp: bigint;
|
|
2489
2442
|
rate: import("decimal.js").Decimal;
|
|
2490
2443
|
accum_per_lot: import("decimal.js").Decimal;
|
|
2444
|
+
parameters: {
|
|
2445
|
+
interest_rate: import("decimal.js").Decimal;
|
|
2446
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2447
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2448
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2449
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2450
|
+
};
|
|
2491
2451
|
}, {
|
|
2492
2452
|
last_update_timestamp: bigint;
|
|
2493
2453
|
rate: string | number;
|
|
2494
2454
|
accum_per_lot: string | number;
|
|
2455
|
+
parameters: {
|
|
2456
|
+
interest_rate: string | number;
|
|
2457
|
+
min_interest_rate_clamp: string | number;
|
|
2458
|
+
max_interest_rate_clamp: string | number;
|
|
2459
|
+
min_funding_rate_clamp: string | number;
|
|
2460
|
+
max_funding_rate_clamp: string | number;
|
|
2461
|
+
};
|
|
2495
2462
|
}>>, Map<number, {
|
|
2496
2463
|
last_update_timestamp: bigint;
|
|
2497
2464
|
rate: import("decimal.js").Decimal;
|
|
2498
2465
|
accum_per_lot: import("decimal.js").Decimal;
|
|
2466
|
+
parameters: {
|
|
2467
|
+
interest_rate: import("decimal.js").Decimal;
|
|
2468
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2469
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2470
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2471
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2472
|
+
};
|
|
2499
2473
|
}>, Record<string, {
|
|
2500
2474
|
last_update_timestamp: bigint;
|
|
2501
2475
|
rate: string | number;
|
|
2502
2476
|
accum_per_lot: string | number;
|
|
2477
|
+
parameters: {
|
|
2478
|
+
interest_rate: string | number;
|
|
2479
|
+
min_interest_rate_clamp: string | number;
|
|
2480
|
+
max_interest_rate_clamp: string | number;
|
|
2481
|
+
min_funding_rate_clamp: string | number;
|
|
2482
|
+
max_funding_rate_clamp: string | number;
|
|
2483
|
+
};
|
|
2503
2484
|
}>>;
|
|
2504
2485
|
}, "strip", z.ZodTypeAny, {
|
|
2505
2486
|
pricing_frequency_seconds: number;
|
|
@@ -2518,6 +2499,13 @@ export declare const ResponseSchemas: {
|
|
|
2518
2499
|
last_update_timestamp: bigint;
|
|
2519
2500
|
rate: import("decimal.js").Decimal;
|
|
2520
2501
|
accum_per_lot: import("decimal.js").Decimal;
|
|
2502
|
+
parameters: {
|
|
2503
|
+
interest_rate: import("decimal.js").Decimal;
|
|
2504
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2505
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2506
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2507
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2508
|
+
};
|
|
2521
2509
|
}>;
|
|
2522
2510
|
}, {
|
|
2523
2511
|
pricing_frequency_seconds: number;
|
|
@@ -2536,6 +2524,13 @@ export declare const ResponseSchemas: {
|
|
|
2536
2524
|
last_update_timestamp: bigint;
|
|
2537
2525
|
rate: string | number;
|
|
2538
2526
|
accum_per_lot: string | number;
|
|
2527
|
+
parameters: {
|
|
2528
|
+
interest_rate: string | number;
|
|
2529
|
+
min_interest_rate_clamp: string | number;
|
|
2530
|
+
max_interest_rate_clamp: string | number;
|
|
2531
|
+
min_funding_rate_clamp: string | number;
|
|
2532
|
+
max_funding_rate_clamp: string | number;
|
|
2533
|
+
};
|
|
2539
2534
|
}>;
|
|
2540
2535
|
}>>;
|
|
2541
2536
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2556,6 +2551,13 @@ export declare const ResponseSchemas: {
|
|
|
2556
2551
|
last_update_timestamp: bigint;
|
|
2557
2552
|
rate: import("decimal.js").Decimal;
|
|
2558
2553
|
accum_per_lot: import("decimal.js").Decimal;
|
|
2554
|
+
parameters: {
|
|
2555
|
+
interest_rate: import("decimal.js").Decimal;
|
|
2556
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2557
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2558
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2559
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2560
|
+
};
|
|
2559
2561
|
}>;
|
|
2560
2562
|
} | null;
|
|
2561
2563
|
}, {
|
|
@@ -2576,6 +2578,13 @@ export declare const ResponseSchemas: {
|
|
|
2576
2578
|
last_update_timestamp: bigint;
|
|
2577
2579
|
rate: string | number;
|
|
2578
2580
|
accum_per_lot: string | number;
|
|
2581
|
+
parameters: {
|
|
2582
|
+
interest_rate: string | number;
|
|
2583
|
+
min_interest_rate_clamp: string | number;
|
|
2584
|
+
max_interest_rate_clamp: string | number;
|
|
2585
|
+
min_funding_rate_clamp: string | number;
|
|
2586
|
+
max_funding_rate_clamp: string | number;
|
|
2587
|
+
};
|
|
2579
2588
|
}>;
|
|
2580
2589
|
} | null;
|
|
2581
2590
|
}>;
|
|
@@ -2599,6 +2608,13 @@ export declare const ResponseSchemas: {
|
|
|
2599
2608
|
last_update_timestamp: bigint;
|
|
2600
2609
|
rate: import("decimal.js").Decimal;
|
|
2601
2610
|
accum_per_lot: import("decimal.js").Decimal;
|
|
2611
|
+
parameters: {
|
|
2612
|
+
interest_rate: import("decimal.js").Decimal;
|
|
2613
|
+
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2614
|
+
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
2615
|
+
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2616
|
+
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
2617
|
+
};
|
|
2602
2618
|
}>;
|
|
2603
2619
|
} | null;
|
|
2604
2620
|
};
|
|
@@ -2622,6 +2638,13 @@ export declare const ResponseSchemas: {
|
|
|
2622
2638
|
last_update_timestamp: bigint;
|
|
2623
2639
|
rate: string | number;
|
|
2624
2640
|
accum_per_lot: string | number;
|
|
2641
|
+
parameters: {
|
|
2642
|
+
interest_rate: string | number;
|
|
2643
|
+
min_interest_rate_clamp: string | number;
|
|
2644
|
+
max_interest_rate_clamp: string | number;
|
|
2645
|
+
min_funding_rate_clamp: string | number;
|
|
2646
|
+
max_funding_rate_clamp: string | number;
|
|
2647
|
+
};
|
|
2625
2648
|
}>;
|
|
2626
2649
|
} | null;
|
|
2627
2650
|
};
|
|
@@ -3015,35 +3038,12 @@ export declare const ResponseSchemas: {
|
|
|
3015
3038
|
address: z.ZodString;
|
|
3016
3039
|
usdc_ledger: z.ZodObject<{
|
|
3017
3040
|
ledger: z.ZodObject<{
|
|
3018
|
-
weights: z.ZodObject<{
|
|
3019
|
-
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3020
|
-
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3021
|
-
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3022
|
-
}, "strip", z.ZodTypeAny, {
|
|
3023
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3024
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3025
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3026
|
-
}, {
|
|
3027
|
-
asset_weight: string | number;
|
|
3028
|
-
initial_liability_weight: string | number;
|
|
3029
|
-
maintenance_liability_weight: string | number;
|
|
3030
|
-
}>;
|
|
3031
3041
|
asset: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3032
3042
|
liability: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3033
3043
|
}, "strip", z.ZodTypeAny, {
|
|
3034
|
-
weights: {
|
|
3035
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3036
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3037
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3038
|
-
};
|
|
3039
3044
|
asset: import("decimal.js").Decimal;
|
|
3040
3045
|
liability: import("decimal.js").Decimal;
|
|
3041
3046
|
}, {
|
|
3042
|
-
weights: {
|
|
3043
|
-
asset_weight: string | number;
|
|
3044
|
-
initial_liability_weight: string | number;
|
|
3045
|
-
maintenance_liability_weight: string | number;
|
|
3046
|
-
};
|
|
3047
3047
|
asset: string | number;
|
|
3048
3048
|
liability: string | number;
|
|
3049
3049
|
}>;
|
|
@@ -3051,11 +3051,6 @@ export declare const ResponseSchemas: {
|
|
|
3051
3051
|
unsettled_perp_profit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3052
3052
|
}, "strip", z.ZodTypeAny, {
|
|
3053
3053
|
ledger: {
|
|
3054
|
-
weights: {
|
|
3055
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3056
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3057
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3058
|
-
};
|
|
3059
3054
|
asset: import("decimal.js").Decimal;
|
|
3060
3055
|
liability: import("decimal.js").Decimal;
|
|
3061
3056
|
};
|
|
@@ -3063,11 +3058,6 @@ export declare const ResponseSchemas: {
|
|
|
3063
3058
|
unsettled_perp_profit: import("decimal.js").Decimal;
|
|
3064
3059
|
}, {
|
|
3065
3060
|
ledger: {
|
|
3066
|
-
weights: {
|
|
3067
|
-
asset_weight: string | number;
|
|
3068
|
-
initial_liability_weight: string | number;
|
|
3069
|
-
maintenance_liability_weight: string | number;
|
|
3070
|
-
};
|
|
3071
3061
|
asset: string | number;
|
|
3072
3062
|
liability: string | number;
|
|
3073
3063
|
};
|
|
@@ -3076,51 +3066,18 @@ export declare const ResponseSchemas: {
|
|
|
3076
3066
|
}>;
|
|
3077
3067
|
client_order_ids: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodBigInt>, Map<bigint, bigint>, Record<string, bigint>>;
|
|
3078
3068
|
spot_ledgers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3079
|
-
weights: z.ZodObject<{
|
|
3080
|
-
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3081
|
-
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3082
|
-
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3083
|
-
}, "strip", z.ZodTypeAny, {
|
|
3084
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3085
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3086
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3087
|
-
}, {
|
|
3088
|
-
asset_weight: string | number;
|
|
3089
|
-
initial_liability_weight: string | number;
|
|
3090
|
-
maintenance_liability_weight: string | number;
|
|
3091
|
-
}>;
|
|
3092
3069
|
asset: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3093
3070
|
liability: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
3094
3071
|
}, "strip", z.ZodTypeAny, {
|
|
3095
|
-
weights: {
|
|
3096
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3097
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3098
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3099
|
-
};
|
|
3100
3072
|
asset: import("decimal.js").Decimal;
|
|
3101
3073
|
liability: import("decimal.js").Decimal;
|
|
3102
3074
|
}, {
|
|
3103
|
-
weights: {
|
|
3104
|
-
asset_weight: string | number;
|
|
3105
|
-
initial_liability_weight: string | number;
|
|
3106
|
-
maintenance_liability_weight: string | number;
|
|
3107
|
-
};
|
|
3108
3075
|
asset: string | number;
|
|
3109
3076
|
liability: string | number;
|
|
3110
3077
|
}>>, Map<number, {
|
|
3111
|
-
weights: {
|
|
3112
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3113
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3114
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3115
|
-
};
|
|
3116
3078
|
asset: import("decimal.js").Decimal;
|
|
3117
3079
|
liability: import("decimal.js").Decimal;
|
|
3118
3080
|
}>, Record<string, {
|
|
3119
|
-
weights: {
|
|
3120
|
-
asset_weight: string | number;
|
|
3121
|
-
initial_liability_weight: string | number;
|
|
3122
|
-
maintenance_liability_weight: string | number;
|
|
3123
|
-
};
|
|
3124
3081
|
asset: string | number;
|
|
3125
3082
|
liability: string | number;
|
|
3126
3083
|
}>>;
|
|
@@ -3658,11 +3615,6 @@ export declare const ResponseSchemas: {
|
|
|
3658
3615
|
address: string;
|
|
3659
3616
|
usdc_ledger: {
|
|
3660
3617
|
ledger: {
|
|
3661
|
-
weights: {
|
|
3662
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3663
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3664
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3665
|
-
};
|
|
3666
3618
|
asset: import("decimal.js").Decimal;
|
|
3667
3619
|
liability: import("decimal.js").Decimal;
|
|
3668
3620
|
};
|
|
@@ -3671,11 +3623,6 @@ export declare const ResponseSchemas: {
|
|
|
3671
3623
|
};
|
|
3672
3624
|
client_order_ids: Map<bigint, bigint>;
|
|
3673
3625
|
spot_ledgers: Map<number, {
|
|
3674
|
-
weights: {
|
|
3675
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3676
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3677
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3678
|
-
};
|
|
3679
3626
|
asset: import("decimal.js").Decimal;
|
|
3680
3627
|
liability: import("decimal.js").Decimal;
|
|
3681
3628
|
}>;
|
|
@@ -3739,11 +3686,6 @@ export declare const ResponseSchemas: {
|
|
|
3739
3686
|
address: string;
|
|
3740
3687
|
usdc_ledger: {
|
|
3741
3688
|
ledger: {
|
|
3742
|
-
weights: {
|
|
3743
|
-
asset_weight: string | number;
|
|
3744
|
-
initial_liability_weight: string | number;
|
|
3745
|
-
maintenance_liability_weight: string | number;
|
|
3746
|
-
};
|
|
3747
3689
|
asset: string | number;
|
|
3748
3690
|
liability: string | number;
|
|
3749
3691
|
};
|
|
@@ -3752,11 +3694,6 @@ export declare const ResponseSchemas: {
|
|
|
3752
3694
|
};
|
|
3753
3695
|
client_order_ids: Record<string, bigint>;
|
|
3754
3696
|
spot_ledgers: Record<string, {
|
|
3755
|
-
weights: {
|
|
3756
|
-
asset_weight: string | number;
|
|
3757
|
-
initial_liability_weight: string | number;
|
|
3758
|
-
maintenance_liability_weight: string | number;
|
|
3759
|
-
};
|
|
3760
3697
|
asset: string | number;
|
|
3761
3698
|
liability: string | number;
|
|
3762
3699
|
}>;
|
|
@@ -3823,11 +3760,6 @@ export declare const ResponseSchemas: {
|
|
|
3823
3760
|
address: string;
|
|
3824
3761
|
usdc_ledger: {
|
|
3825
3762
|
ledger: {
|
|
3826
|
-
weights: {
|
|
3827
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3828
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3829
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3830
|
-
};
|
|
3831
3763
|
asset: import("decimal.js").Decimal;
|
|
3832
3764
|
liability: import("decimal.js").Decimal;
|
|
3833
3765
|
};
|
|
@@ -3836,11 +3768,6 @@ export declare const ResponseSchemas: {
|
|
|
3836
3768
|
};
|
|
3837
3769
|
client_order_ids: Map<bigint, bigint>;
|
|
3838
3770
|
spot_ledgers: Map<number, {
|
|
3839
|
-
weights: {
|
|
3840
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3841
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
3842
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
3843
|
-
};
|
|
3844
3771
|
asset: import("decimal.js").Decimal;
|
|
3845
3772
|
liability: import("decimal.js").Decimal;
|
|
3846
3773
|
}>;
|
|
@@ -3907,11 +3834,6 @@ export declare const ResponseSchemas: {
|
|
|
3907
3834
|
address: string;
|
|
3908
3835
|
usdc_ledger: {
|
|
3909
3836
|
ledger: {
|
|
3910
|
-
weights: {
|
|
3911
|
-
asset_weight: string | number;
|
|
3912
|
-
initial_liability_weight: string | number;
|
|
3913
|
-
maintenance_liability_weight: string | number;
|
|
3914
|
-
};
|
|
3915
3837
|
asset: string | number;
|
|
3916
3838
|
liability: string | number;
|
|
3917
3839
|
};
|
|
@@ -3920,11 +3842,6 @@ export declare const ResponseSchemas: {
|
|
|
3920
3842
|
};
|
|
3921
3843
|
client_order_ids: Record<string, bigint>;
|
|
3922
3844
|
spot_ledgers: Record<string, {
|
|
3923
|
-
weights: {
|
|
3924
|
-
asset_weight: string | number;
|
|
3925
|
-
initial_liability_weight: string | number;
|
|
3926
|
-
maintenance_liability_weight: string | number;
|
|
3927
|
-
};
|
|
3928
3845
|
asset: string | number;
|
|
3929
3846
|
liability: string | number;
|
|
3930
3847
|
}>;
|
|
@@ -3994,11 +3911,6 @@ export declare const ResponseSchemas: {
|
|
|
3994
3911
|
address: string;
|
|
3995
3912
|
usdc_ledger: {
|
|
3996
3913
|
ledger: {
|
|
3997
|
-
weights: {
|
|
3998
|
-
asset_weight: import("decimal.js").Decimal;
|
|
3999
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4000
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4001
|
-
};
|
|
4002
3914
|
asset: import("decimal.js").Decimal;
|
|
4003
3915
|
liability: import("decimal.js").Decimal;
|
|
4004
3916
|
};
|
|
@@ -4007,11 +3919,6 @@ export declare const ResponseSchemas: {
|
|
|
4007
3919
|
};
|
|
4008
3920
|
client_order_ids: Map<bigint, bigint>;
|
|
4009
3921
|
spot_ledgers: Map<number, {
|
|
4010
|
-
weights: {
|
|
4011
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4012
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4013
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4014
|
-
};
|
|
4015
3922
|
asset: import("decimal.js").Decimal;
|
|
4016
3923
|
liability: import("decimal.js").Decimal;
|
|
4017
3924
|
}>;
|
|
@@ -4081,11 +3988,6 @@ export declare const ResponseSchemas: {
|
|
|
4081
3988
|
address: string;
|
|
4082
3989
|
usdc_ledger: {
|
|
4083
3990
|
ledger: {
|
|
4084
|
-
weights: {
|
|
4085
|
-
asset_weight: string | number;
|
|
4086
|
-
initial_liability_weight: string | number;
|
|
4087
|
-
maintenance_liability_weight: string | number;
|
|
4088
|
-
};
|
|
4089
3991
|
asset: string | number;
|
|
4090
3992
|
liability: string | number;
|
|
4091
3993
|
};
|
|
@@ -4094,11 +3996,6 @@ export declare const ResponseSchemas: {
|
|
|
4094
3996
|
};
|
|
4095
3997
|
client_order_ids: Record<string, bigint>;
|
|
4096
3998
|
spot_ledgers: Record<string, {
|
|
4097
|
-
weights: {
|
|
4098
|
-
asset_weight: string | number;
|
|
4099
|
-
initial_liability_weight: string | number;
|
|
4100
|
-
maintenance_liability_weight: string | number;
|
|
4101
|
-
};
|
|
4102
3999
|
asset: string | number;
|
|
4103
4000
|
liability: string | number;
|
|
4104
4001
|
}>;
|
|
@@ -4168,35 +4065,12 @@ export declare const ResponseSchemas: {
|
|
|
4168
4065
|
address: z.ZodString;
|
|
4169
4066
|
usdc_ledger: z.ZodObject<{
|
|
4170
4067
|
ledger: z.ZodObject<{
|
|
4171
|
-
weights: z.ZodObject<{
|
|
4172
|
-
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4173
|
-
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4174
|
-
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4175
|
-
}, "strip", z.ZodTypeAny, {
|
|
4176
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4177
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4178
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4179
|
-
}, {
|
|
4180
|
-
asset_weight: string | number;
|
|
4181
|
-
initial_liability_weight: string | number;
|
|
4182
|
-
maintenance_liability_weight: string | number;
|
|
4183
|
-
}>;
|
|
4184
4068
|
asset: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4185
4069
|
liability: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4186
4070
|
}, "strip", z.ZodTypeAny, {
|
|
4187
|
-
weights: {
|
|
4188
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4189
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4190
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4191
|
-
};
|
|
4192
4071
|
asset: import("decimal.js").Decimal;
|
|
4193
4072
|
liability: import("decimal.js").Decimal;
|
|
4194
4073
|
}, {
|
|
4195
|
-
weights: {
|
|
4196
|
-
asset_weight: string | number;
|
|
4197
|
-
initial_liability_weight: string | number;
|
|
4198
|
-
maintenance_liability_weight: string | number;
|
|
4199
|
-
};
|
|
4200
4074
|
asset: string | number;
|
|
4201
4075
|
liability: string | number;
|
|
4202
4076
|
}>;
|
|
@@ -4204,11 +4078,6 @@ export declare const ResponseSchemas: {
|
|
|
4204
4078
|
unsettled_perp_profit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4205
4079
|
}, "strip", z.ZodTypeAny, {
|
|
4206
4080
|
ledger: {
|
|
4207
|
-
weights: {
|
|
4208
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4209
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4210
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4211
|
-
};
|
|
4212
4081
|
asset: import("decimal.js").Decimal;
|
|
4213
4082
|
liability: import("decimal.js").Decimal;
|
|
4214
4083
|
};
|
|
@@ -4216,11 +4085,6 @@ export declare const ResponseSchemas: {
|
|
|
4216
4085
|
unsettled_perp_profit: import("decimal.js").Decimal;
|
|
4217
4086
|
}, {
|
|
4218
4087
|
ledger: {
|
|
4219
|
-
weights: {
|
|
4220
|
-
asset_weight: string | number;
|
|
4221
|
-
initial_liability_weight: string | number;
|
|
4222
|
-
maintenance_liability_weight: string | number;
|
|
4223
|
-
};
|
|
4224
4088
|
asset: string | number;
|
|
4225
4089
|
liability: string | number;
|
|
4226
4090
|
};
|
|
@@ -4229,51 +4093,18 @@ export declare const ResponseSchemas: {
|
|
|
4229
4093
|
}>;
|
|
4230
4094
|
client_order_ids: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodBigInt>, Map<bigint, bigint>, Record<string, bigint>>;
|
|
4231
4095
|
spot_ledgers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4232
|
-
weights: z.ZodObject<{
|
|
4233
|
-
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4234
|
-
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4235
|
-
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4236
|
-
}, "strip", z.ZodTypeAny, {
|
|
4237
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4238
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4239
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4240
|
-
}, {
|
|
4241
|
-
asset_weight: string | number;
|
|
4242
|
-
initial_liability_weight: string | number;
|
|
4243
|
-
maintenance_liability_weight: string | number;
|
|
4244
|
-
}>;
|
|
4245
4096
|
asset: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4246
4097
|
liability: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
4247
4098
|
}, "strip", z.ZodTypeAny, {
|
|
4248
|
-
weights: {
|
|
4249
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4250
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4251
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4252
|
-
};
|
|
4253
4099
|
asset: import("decimal.js").Decimal;
|
|
4254
4100
|
liability: import("decimal.js").Decimal;
|
|
4255
4101
|
}, {
|
|
4256
|
-
weights: {
|
|
4257
|
-
asset_weight: string | number;
|
|
4258
|
-
initial_liability_weight: string | number;
|
|
4259
|
-
maintenance_liability_weight: string | number;
|
|
4260
|
-
};
|
|
4261
4102
|
asset: string | number;
|
|
4262
4103
|
liability: string | number;
|
|
4263
4104
|
}>>, Map<number, {
|
|
4264
|
-
weights: {
|
|
4265
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4266
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4267
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4268
|
-
};
|
|
4269
4105
|
asset: import("decimal.js").Decimal;
|
|
4270
4106
|
liability: import("decimal.js").Decimal;
|
|
4271
4107
|
}>, Record<string, {
|
|
4272
|
-
weights: {
|
|
4273
|
-
asset_weight: string | number;
|
|
4274
|
-
initial_liability_weight: string | number;
|
|
4275
|
-
maintenance_liability_weight: string | number;
|
|
4276
|
-
};
|
|
4277
4108
|
asset: string | number;
|
|
4278
4109
|
liability: string | number;
|
|
4279
4110
|
}>>;
|
|
@@ -4811,11 +4642,6 @@ export declare const ResponseSchemas: {
|
|
|
4811
4642
|
address: string;
|
|
4812
4643
|
usdc_ledger: {
|
|
4813
4644
|
ledger: {
|
|
4814
|
-
weights: {
|
|
4815
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4816
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4817
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4818
|
-
};
|
|
4819
4645
|
asset: import("decimal.js").Decimal;
|
|
4820
4646
|
liability: import("decimal.js").Decimal;
|
|
4821
4647
|
};
|
|
@@ -4824,11 +4650,6 @@ export declare const ResponseSchemas: {
|
|
|
4824
4650
|
};
|
|
4825
4651
|
client_order_ids: Map<bigint, bigint>;
|
|
4826
4652
|
spot_ledgers: Map<number, {
|
|
4827
|
-
weights: {
|
|
4828
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4829
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4830
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4831
|
-
};
|
|
4832
4653
|
asset: import("decimal.js").Decimal;
|
|
4833
4654
|
liability: import("decimal.js").Decimal;
|
|
4834
4655
|
}>;
|
|
@@ -4892,11 +4713,6 @@ export declare const ResponseSchemas: {
|
|
|
4892
4713
|
address: string;
|
|
4893
4714
|
usdc_ledger: {
|
|
4894
4715
|
ledger: {
|
|
4895
|
-
weights: {
|
|
4896
|
-
asset_weight: string | number;
|
|
4897
|
-
initial_liability_weight: string | number;
|
|
4898
|
-
maintenance_liability_weight: string | number;
|
|
4899
|
-
};
|
|
4900
4716
|
asset: string | number;
|
|
4901
4717
|
liability: string | number;
|
|
4902
4718
|
};
|
|
@@ -4905,11 +4721,6 @@ export declare const ResponseSchemas: {
|
|
|
4905
4721
|
};
|
|
4906
4722
|
client_order_ids: Record<string, bigint>;
|
|
4907
4723
|
spot_ledgers: Record<string, {
|
|
4908
|
-
weights: {
|
|
4909
|
-
asset_weight: string | number;
|
|
4910
|
-
initial_liability_weight: string | number;
|
|
4911
|
-
maintenance_liability_weight: string | number;
|
|
4912
|
-
};
|
|
4913
4724
|
asset: string | number;
|
|
4914
4725
|
liability: string | number;
|
|
4915
4726
|
}>;
|
|
@@ -4973,11 +4784,6 @@ export declare const ResponseSchemas: {
|
|
|
4973
4784
|
address: string;
|
|
4974
4785
|
usdc_ledger: {
|
|
4975
4786
|
ledger: {
|
|
4976
|
-
weights: {
|
|
4977
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4978
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4979
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4980
|
-
};
|
|
4981
4787
|
asset: import("decimal.js").Decimal;
|
|
4982
4788
|
liability: import("decimal.js").Decimal;
|
|
4983
4789
|
};
|
|
@@ -4986,11 +4792,6 @@ export declare const ResponseSchemas: {
|
|
|
4986
4792
|
};
|
|
4987
4793
|
client_order_ids: Map<bigint, bigint>;
|
|
4988
4794
|
spot_ledgers: Map<number, {
|
|
4989
|
-
weights: {
|
|
4990
|
-
asset_weight: import("decimal.js").Decimal;
|
|
4991
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
4992
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
4993
|
-
};
|
|
4994
4795
|
asset: import("decimal.js").Decimal;
|
|
4995
4796
|
liability: import("decimal.js").Decimal;
|
|
4996
4797
|
}>;
|
|
@@ -5054,11 +4855,6 @@ export declare const ResponseSchemas: {
|
|
|
5054
4855
|
address: string;
|
|
5055
4856
|
usdc_ledger: {
|
|
5056
4857
|
ledger: {
|
|
5057
|
-
weights: {
|
|
5058
|
-
asset_weight: string | number;
|
|
5059
|
-
initial_liability_weight: string | number;
|
|
5060
|
-
maintenance_liability_weight: string | number;
|
|
5061
|
-
};
|
|
5062
4858
|
asset: string | number;
|
|
5063
4859
|
liability: string | number;
|
|
5064
4860
|
};
|
|
@@ -5067,11 +4863,6 @@ export declare const ResponseSchemas: {
|
|
|
5067
4863
|
};
|
|
5068
4864
|
client_order_ids: Record<string, bigint>;
|
|
5069
4865
|
spot_ledgers: Record<string, {
|
|
5070
|
-
weights: {
|
|
5071
|
-
asset_weight: string | number;
|
|
5072
|
-
initial_liability_weight: string | number;
|
|
5073
|
-
maintenance_liability_weight: string | number;
|
|
5074
|
-
};
|
|
5075
4866
|
asset: string | number;
|
|
5076
4867
|
liability: string | number;
|
|
5077
4868
|
}>;
|
|
@@ -5138,11 +4929,6 @@ export declare const ResponseSchemas: {
|
|
|
5138
4929
|
address: string;
|
|
5139
4930
|
usdc_ledger: {
|
|
5140
4931
|
ledger: {
|
|
5141
|
-
weights: {
|
|
5142
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5143
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5144
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5145
|
-
};
|
|
5146
4932
|
asset: import("decimal.js").Decimal;
|
|
5147
4933
|
liability: import("decimal.js").Decimal;
|
|
5148
4934
|
};
|
|
@@ -5151,11 +4937,6 @@ export declare const ResponseSchemas: {
|
|
|
5151
4937
|
};
|
|
5152
4938
|
client_order_ids: Map<bigint, bigint>;
|
|
5153
4939
|
spot_ledgers: Map<number, {
|
|
5154
|
-
weights: {
|
|
5155
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5156
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5157
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5158
|
-
};
|
|
5159
4940
|
asset: import("decimal.js").Decimal;
|
|
5160
4941
|
liability: import("decimal.js").Decimal;
|
|
5161
4942
|
}>;
|
|
@@ -5222,11 +5003,6 @@ export declare const ResponseSchemas: {
|
|
|
5222
5003
|
address: string;
|
|
5223
5004
|
usdc_ledger: {
|
|
5224
5005
|
ledger: {
|
|
5225
|
-
weights: {
|
|
5226
|
-
asset_weight: string | number;
|
|
5227
|
-
initial_liability_weight: string | number;
|
|
5228
|
-
maintenance_liability_weight: string | number;
|
|
5229
|
-
};
|
|
5230
5006
|
asset: string | number;
|
|
5231
5007
|
liability: string | number;
|
|
5232
5008
|
};
|
|
@@ -5235,11 +5011,6 @@ export declare const ResponseSchemas: {
|
|
|
5235
5011
|
};
|
|
5236
5012
|
client_order_ids: Record<string, bigint>;
|
|
5237
5013
|
spot_ledgers: Record<string, {
|
|
5238
|
-
weights: {
|
|
5239
|
-
asset_weight: string | number;
|
|
5240
|
-
initial_liability_weight: string | number;
|
|
5241
|
-
maintenance_liability_weight: string | number;
|
|
5242
|
-
};
|
|
5243
5014
|
asset: string | number;
|
|
5244
5015
|
liability: string | number;
|
|
5245
5016
|
}>;
|
|
@@ -5309,11 +5080,6 @@ export declare const ResponseSchemas: {
|
|
|
5309
5080
|
address: string;
|
|
5310
5081
|
usdc_ledger: {
|
|
5311
5082
|
ledger: {
|
|
5312
|
-
weights: {
|
|
5313
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5314
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5315
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5316
|
-
};
|
|
5317
5083
|
asset: import("decimal.js").Decimal;
|
|
5318
5084
|
liability: import("decimal.js").Decimal;
|
|
5319
5085
|
};
|
|
@@ -5322,11 +5088,6 @@ export declare const ResponseSchemas: {
|
|
|
5322
5088
|
};
|
|
5323
5089
|
client_order_ids: Map<bigint, bigint>;
|
|
5324
5090
|
spot_ledgers: Map<number, {
|
|
5325
|
-
weights: {
|
|
5326
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5327
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5328
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5329
|
-
};
|
|
5330
5091
|
asset: import("decimal.js").Decimal;
|
|
5331
5092
|
liability: import("decimal.js").Decimal;
|
|
5332
5093
|
}>;
|
|
@@ -5396,11 +5157,6 @@ export declare const ResponseSchemas: {
|
|
|
5396
5157
|
address: string;
|
|
5397
5158
|
usdc_ledger: {
|
|
5398
5159
|
ledger: {
|
|
5399
|
-
weights: {
|
|
5400
|
-
asset_weight: string | number;
|
|
5401
|
-
initial_liability_weight: string | number;
|
|
5402
|
-
maintenance_liability_weight: string | number;
|
|
5403
|
-
};
|
|
5404
5160
|
asset: string | number;
|
|
5405
5161
|
liability: string | number;
|
|
5406
5162
|
};
|
|
@@ -5409,11 +5165,6 @@ export declare const ResponseSchemas: {
|
|
|
5409
5165
|
};
|
|
5410
5166
|
client_order_ids: Record<string, bigint>;
|
|
5411
5167
|
spot_ledgers: Record<string, {
|
|
5412
|
-
weights: {
|
|
5413
|
-
asset_weight: string | number;
|
|
5414
|
-
initial_liability_weight: string | number;
|
|
5415
|
-
maintenance_liability_weight: string | number;
|
|
5416
|
-
};
|
|
5417
5168
|
asset: string | number;
|
|
5418
5169
|
liability: string | number;
|
|
5419
5170
|
}>;
|
|
@@ -5484,45 +5235,6 @@ export declare const ResponseSchemas: {
|
|
|
5484
5235
|
asset_id: z.ZodNumber;
|
|
5485
5236
|
is_active: z.ZodBoolean;
|
|
5486
5237
|
last_update_timestamp: z.ZodBigInt;
|
|
5487
|
-
risk_params: z.ZodObject<{
|
|
5488
|
-
weights: z.ZodObject<{
|
|
5489
|
-
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5490
|
-
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5491
|
-
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5492
|
-
}, "strip", z.ZodTypeAny, {
|
|
5493
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5494
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5495
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5496
|
-
}, {
|
|
5497
|
-
asset_weight: string | number;
|
|
5498
|
-
initial_liability_weight: string | number;
|
|
5499
|
-
maintenance_liability_weight: string | number;
|
|
5500
|
-
}>;
|
|
5501
|
-
deposit_limit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5502
|
-
borrow_limit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5503
|
-
liquidation_reward_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5504
|
-
liability_liquidation_limit_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5505
|
-
}, "strip", z.ZodTypeAny, {
|
|
5506
|
-
weights: {
|
|
5507
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5508
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5509
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5510
|
-
};
|
|
5511
|
-
deposit_limit: import("decimal.js").Decimal;
|
|
5512
|
-
borrow_limit: import("decimal.js").Decimal;
|
|
5513
|
-
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
5514
|
-
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
5515
|
-
}, {
|
|
5516
|
-
weights: {
|
|
5517
|
-
asset_weight: string | number;
|
|
5518
|
-
initial_liability_weight: string | number;
|
|
5519
|
-
maintenance_liability_weight: string | number;
|
|
5520
|
-
};
|
|
5521
|
-
deposit_limit: string | number;
|
|
5522
|
-
borrow_limit: string | number;
|
|
5523
|
-
liquidation_reward_ratio: string | number;
|
|
5524
|
-
liability_liquidation_limit_ratio: string | number;
|
|
5525
|
-
}>;
|
|
5526
5238
|
rate_params: z.ZodObject<{
|
|
5527
5239
|
optimal_utilisation_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5528
5240
|
min_borrow_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
@@ -5539,6 +5251,8 @@ export declare const ResponseSchemas: {
|
|
|
5539
5251
|
optimal_borrow_rate: string | number;
|
|
5540
5252
|
max_borrow_rate: string | number;
|
|
5541
5253
|
}>;
|
|
5254
|
+
deposit_limit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5255
|
+
borrow_limit: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5542
5256
|
available_amount: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5543
5257
|
borrowed_amount: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5544
5258
|
cumulative_deposit_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
@@ -5548,23 +5262,14 @@ export declare const ResponseSchemas: {
|
|
|
5548
5262
|
last_update_timestamp: bigint;
|
|
5549
5263
|
asset_id: number;
|
|
5550
5264
|
is_active: boolean;
|
|
5551
|
-
risk_params: {
|
|
5552
|
-
weights: {
|
|
5553
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5554
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5555
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5556
|
-
};
|
|
5557
|
-
deposit_limit: import("decimal.js").Decimal;
|
|
5558
|
-
borrow_limit: import("decimal.js").Decimal;
|
|
5559
|
-
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
5560
|
-
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
5561
|
-
};
|
|
5562
5265
|
rate_params: {
|
|
5563
5266
|
optimal_utilisation_rate: import("decimal.js").Decimal;
|
|
5564
5267
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
5565
5268
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
5566
5269
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
5567
5270
|
};
|
|
5271
|
+
deposit_limit: import("decimal.js").Decimal;
|
|
5272
|
+
borrow_limit: import("decimal.js").Decimal;
|
|
5568
5273
|
available_amount: import("decimal.js").Decimal;
|
|
5569
5274
|
borrowed_amount: import("decimal.js").Decimal;
|
|
5570
5275
|
cumulative_deposit_rate: import("decimal.js").Decimal;
|
|
@@ -5574,23 +5279,14 @@ export declare const ResponseSchemas: {
|
|
|
5574
5279
|
last_update_timestamp: bigint;
|
|
5575
5280
|
asset_id: number;
|
|
5576
5281
|
is_active: boolean;
|
|
5577
|
-
risk_params: {
|
|
5578
|
-
weights: {
|
|
5579
|
-
asset_weight: string | number;
|
|
5580
|
-
initial_liability_weight: string | number;
|
|
5581
|
-
maintenance_liability_weight: string | number;
|
|
5582
|
-
};
|
|
5583
|
-
deposit_limit: string | number;
|
|
5584
|
-
borrow_limit: string | number;
|
|
5585
|
-
liquidation_reward_ratio: string | number;
|
|
5586
|
-
liability_liquidation_limit_ratio: string | number;
|
|
5587
|
-
};
|
|
5588
5282
|
rate_params: {
|
|
5589
5283
|
optimal_utilisation_rate: string | number;
|
|
5590
5284
|
min_borrow_rate: string | number;
|
|
5591
5285
|
optimal_borrow_rate: string | number;
|
|
5592
5286
|
max_borrow_rate: string | number;
|
|
5593
5287
|
};
|
|
5288
|
+
deposit_limit: string | number;
|
|
5289
|
+
borrow_limit: string | number;
|
|
5594
5290
|
available_amount: string | number;
|
|
5595
5291
|
borrowed_amount: string | number;
|
|
5596
5292
|
cumulative_deposit_rate: string | number;
|
|
@@ -5600,23 +5296,14 @@ export declare const ResponseSchemas: {
|
|
|
5600
5296
|
last_update_timestamp: bigint;
|
|
5601
5297
|
asset_id: number;
|
|
5602
5298
|
is_active: boolean;
|
|
5603
|
-
risk_params: {
|
|
5604
|
-
weights: {
|
|
5605
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5606
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5607
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5608
|
-
};
|
|
5609
|
-
deposit_limit: import("decimal.js").Decimal;
|
|
5610
|
-
borrow_limit: import("decimal.js").Decimal;
|
|
5611
|
-
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
5612
|
-
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
5613
|
-
};
|
|
5614
5299
|
rate_params: {
|
|
5615
5300
|
optimal_utilisation_rate: import("decimal.js").Decimal;
|
|
5616
5301
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
5617
5302
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
5618
5303
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
5619
5304
|
};
|
|
5305
|
+
deposit_limit: import("decimal.js").Decimal;
|
|
5306
|
+
borrow_limit: import("decimal.js").Decimal;
|
|
5620
5307
|
available_amount: import("decimal.js").Decimal;
|
|
5621
5308
|
borrowed_amount: import("decimal.js").Decimal;
|
|
5622
5309
|
cumulative_deposit_rate: import("decimal.js").Decimal;
|
|
@@ -5626,23 +5313,14 @@ export declare const ResponseSchemas: {
|
|
|
5626
5313
|
last_update_timestamp: bigint;
|
|
5627
5314
|
asset_id: number;
|
|
5628
5315
|
is_active: boolean;
|
|
5629
|
-
risk_params: {
|
|
5630
|
-
weights: {
|
|
5631
|
-
asset_weight: string | number;
|
|
5632
|
-
initial_liability_weight: string | number;
|
|
5633
|
-
maintenance_liability_weight: string | number;
|
|
5634
|
-
};
|
|
5635
|
-
deposit_limit: string | number;
|
|
5636
|
-
borrow_limit: string | number;
|
|
5637
|
-
liquidation_reward_ratio: string | number;
|
|
5638
|
-
liability_liquidation_limit_ratio: string | number;
|
|
5639
|
-
};
|
|
5640
5316
|
rate_params: {
|
|
5641
5317
|
optimal_utilisation_rate: string | number;
|
|
5642
5318
|
min_borrow_rate: string | number;
|
|
5643
5319
|
optimal_borrow_rate: string | number;
|
|
5644
5320
|
max_borrow_rate: string | number;
|
|
5645
5321
|
};
|
|
5322
|
+
deposit_limit: string | number;
|
|
5323
|
+
borrow_limit: string | number;
|
|
5646
5324
|
available_amount: string | number;
|
|
5647
5325
|
borrowed_amount: string | number;
|
|
5648
5326
|
cumulative_deposit_rate: string | number;
|
|
@@ -5654,23 +5332,14 @@ export declare const ResponseSchemas: {
|
|
|
5654
5332
|
last_update_timestamp: bigint;
|
|
5655
5333
|
asset_id: number;
|
|
5656
5334
|
is_active: boolean;
|
|
5657
|
-
risk_params: {
|
|
5658
|
-
weights: {
|
|
5659
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5660
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5661
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5662
|
-
};
|
|
5663
|
-
deposit_limit: import("decimal.js").Decimal;
|
|
5664
|
-
borrow_limit: import("decimal.js").Decimal;
|
|
5665
|
-
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
5666
|
-
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
5667
|
-
};
|
|
5668
5335
|
rate_params: {
|
|
5669
5336
|
optimal_utilisation_rate: import("decimal.js").Decimal;
|
|
5670
5337
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
5671
5338
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
5672
5339
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
5673
5340
|
};
|
|
5341
|
+
deposit_limit: import("decimal.js").Decimal;
|
|
5342
|
+
borrow_limit: import("decimal.js").Decimal;
|
|
5674
5343
|
available_amount: import("decimal.js").Decimal;
|
|
5675
5344
|
borrowed_amount: import("decimal.js").Decimal;
|
|
5676
5345
|
cumulative_deposit_rate: import("decimal.js").Decimal;
|
|
@@ -5682,23 +5351,14 @@ export declare const ResponseSchemas: {
|
|
|
5682
5351
|
last_update_timestamp: bigint;
|
|
5683
5352
|
asset_id: number;
|
|
5684
5353
|
is_active: boolean;
|
|
5685
|
-
risk_params: {
|
|
5686
|
-
weights: {
|
|
5687
|
-
asset_weight: string | number;
|
|
5688
|
-
initial_liability_weight: string | number;
|
|
5689
|
-
maintenance_liability_weight: string | number;
|
|
5690
|
-
};
|
|
5691
|
-
deposit_limit: string | number;
|
|
5692
|
-
borrow_limit: string | number;
|
|
5693
|
-
liquidation_reward_ratio: string | number;
|
|
5694
|
-
liability_liquidation_limit_ratio: string | number;
|
|
5695
|
-
};
|
|
5696
5354
|
rate_params: {
|
|
5697
5355
|
optimal_utilisation_rate: string | number;
|
|
5698
5356
|
min_borrow_rate: string | number;
|
|
5699
5357
|
optimal_borrow_rate: string | number;
|
|
5700
5358
|
max_borrow_rate: string | number;
|
|
5701
5359
|
};
|
|
5360
|
+
deposit_limit: string | number;
|
|
5361
|
+
borrow_limit: string | number;
|
|
5702
5362
|
available_amount: string | number;
|
|
5703
5363
|
borrowed_amount: string | number;
|
|
5704
5364
|
cumulative_deposit_rate: string | number;
|
|
@@ -5713,23 +5373,14 @@ export declare const ResponseSchemas: {
|
|
|
5713
5373
|
last_update_timestamp: bigint;
|
|
5714
5374
|
asset_id: number;
|
|
5715
5375
|
is_active: boolean;
|
|
5716
|
-
risk_params: {
|
|
5717
|
-
weights: {
|
|
5718
|
-
asset_weight: import("decimal.js").Decimal;
|
|
5719
|
-
initial_liability_weight: import("decimal.js").Decimal;
|
|
5720
|
-
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5721
|
-
};
|
|
5722
|
-
deposit_limit: import("decimal.js").Decimal;
|
|
5723
|
-
borrow_limit: import("decimal.js").Decimal;
|
|
5724
|
-
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
5725
|
-
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
5726
|
-
};
|
|
5727
5376
|
rate_params: {
|
|
5728
5377
|
optimal_utilisation_rate: import("decimal.js").Decimal;
|
|
5729
5378
|
min_borrow_rate: import("decimal.js").Decimal;
|
|
5730
5379
|
optimal_borrow_rate: import("decimal.js").Decimal;
|
|
5731
5380
|
max_borrow_rate: import("decimal.js").Decimal;
|
|
5732
5381
|
};
|
|
5382
|
+
deposit_limit: import("decimal.js").Decimal;
|
|
5383
|
+
borrow_limit: import("decimal.js").Decimal;
|
|
5733
5384
|
available_amount: import("decimal.js").Decimal;
|
|
5734
5385
|
borrowed_amount: import("decimal.js").Decimal;
|
|
5735
5386
|
cumulative_deposit_rate: import("decimal.js").Decimal;
|
|
@@ -5744,23 +5395,14 @@ export declare const ResponseSchemas: {
|
|
|
5744
5395
|
last_update_timestamp: bigint;
|
|
5745
5396
|
asset_id: number;
|
|
5746
5397
|
is_active: boolean;
|
|
5747
|
-
risk_params: {
|
|
5748
|
-
weights: {
|
|
5749
|
-
asset_weight: string | number;
|
|
5750
|
-
initial_liability_weight: string | number;
|
|
5751
|
-
maintenance_liability_weight: string | number;
|
|
5752
|
-
};
|
|
5753
|
-
deposit_limit: string | number;
|
|
5754
|
-
borrow_limit: string | number;
|
|
5755
|
-
liquidation_reward_ratio: string | number;
|
|
5756
|
-
liability_liquidation_limit_ratio: string | number;
|
|
5757
|
-
};
|
|
5758
5398
|
rate_params: {
|
|
5759
5399
|
optimal_utilisation_rate: string | number;
|
|
5760
5400
|
min_borrow_rate: string | number;
|
|
5761
5401
|
optimal_borrow_rate: string | number;
|
|
5762
5402
|
max_borrow_rate: string | number;
|
|
5763
5403
|
};
|
|
5404
|
+
deposit_limit: string | number;
|
|
5405
|
+
borrow_limit: string | number;
|
|
5764
5406
|
available_amount: string | number;
|
|
5765
5407
|
borrowed_amount: string | number;
|
|
5766
5408
|
cumulative_deposit_rate: string | number;
|
|
@@ -5778,25 +5420,6 @@ export declare const ResponseSchemas: {
|
|
|
5778
5420
|
is_active: z.ZodBoolean;
|
|
5779
5421
|
min_tick_size: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5780
5422
|
min_lot_size: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5781
|
-
funding_parameters: z.ZodObject<{
|
|
5782
|
-
interest_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5783
|
-
min_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5784
|
-
max_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5785
|
-
min_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5786
|
-
max_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5787
|
-
}, "strip", z.ZodTypeAny, {
|
|
5788
|
-
interest_rate: import("decimal.js").Decimal;
|
|
5789
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
5790
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
5791
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
5792
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
5793
|
-
}, {
|
|
5794
|
-
interest_rate: string | number;
|
|
5795
|
-
min_interest_rate_clamp: string | number;
|
|
5796
|
-
max_interest_rate_clamp: string | number;
|
|
5797
|
-
min_funding_rate_clamp: string | number;
|
|
5798
|
-
max_funding_rate_clamp: string | number;
|
|
5799
|
-
}>;
|
|
5800
5423
|
impact_margin: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5801
5424
|
orderbook: z.ZodObject<{
|
|
5802
5425
|
market_id: z.ZodNumber;
|
|
@@ -5859,13 +5482,6 @@ export declare const ResponseSchemas: {
|
|
|
5859
5482
|
is_active: boolean;
|
|
5860
5483
|
min_tick_size: import("decimal.js").Decimal;
|
|
5861
5484
|
min_lot_size: import("decimal.js").Decimal;
|
|
5862
|
-
funding_parameters: {
|
|
5863
|
-
interest_rate: import("decimal.js").Decimal;
|
|
5864
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
5865
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
5866
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
5867
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
5868
|
-
};
|
|
5869
5485
|
impact_margin: import("decimal.js").Decimal;
|
|
5870
5486
|
orderbook: {
|
|
5871
5487
|
market_id: number;
|
|
@@ -5884,13 +5500,6 @@ export declare const ResponseSchemas: {
|
|
|
5884
5500
|
is_active: boolean;
|
|
5885
5501
|
min_tick_size: string | number;
|
|
5886
5502
|
min_lot_size: string | number;
|
|
5887
|
-
funding_parameters: {
|
|
5888
|
-
interest_rate: string | number;
|
|
5889
|
-
min_interest_rate_clamp: string | number;
|
|
5890
|
-
max_interest_rate_clamp: string | number;
|
|
5891
|
-
min_funding_rate_clamp: string | number;
|
|
5892
|
-
max_funding_rate_clamp: string | number;
|
|
5893
|
-
};
|
|
5894
5503
|
impact_margin: string | number;
|
|
5895
5504
|
orderbook: {
|
|
5896
5505
|
market_id: number;
|
|
@@ -5912,13 +5521,6 @@ export declare const ResponseSchemas: {
|
|
|
5912
5521
|
is_active: boolean;
|
|
5913
5522
|
min_tick_size: import("decimal.js").Decimal;
|
|
5914
5523
|
min_lot_size: import("decimal.js").Decimal;
|
|
5915
|
-
funding_parameters: {
|
|
5916
|
-
interest_rate: import("decimal.js").Decimal;
|
|
5917
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
5918
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
5919
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
5920
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
5921
|
-
};
|
|
5922
5524
|
impact_margin: import("decimal.js").Decimal;
|
|
5923
5525
|
orderbook: {
|
|
5924
5526
|
market_id: number;
|
|
@@ -5940,13 +5542,6 @@ export declare const ResponseSchemas: {
|
|
|
5940
5542
|
is_active: boolean;
|
|
5941
5543
|
min_tick_size: string | number;
|
|
5942
5544
|
min_lot_size: string | number;
|
|
5943
|
-
funding_parameters: {
|
|
5944
|
-
interest_rate: string | number;
|
|
5945
|
-
min_interest_rate_clamp: string | number;
|
|
5946
|
-
max_interest_rate_clamp: string | number;
|
|
5947
|
-
min_funding_rate_clamp: string | number;
|
|
5948
|
-
max_funding_rate_clamp: string | number;
|
|
5949
|
-
};
|
|
5950
5545
|
impact_margin: string | number;
|
|
5951
5546
|
orderbook: {
|
|
5952
5547
|
market_id: number;
|
|
@@ -5971,13 +5566,6 @@ export declare const ResponseSchemas: {
|
|
|
5971
5566
|
is_active: boolean;
|
|
5972
5567
|
min_tick_size: import("decimal.js").Decimal;
|
|
5973
5568
|
min_lot_size: import("decimal.js").Decimal;
|
|
5974
|
-
funding_parameters: {
|
|
5975
|
-
interest_rate: import("decimal.js").Decimal;
|
|
5976
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
5977
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
5978
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
5979
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
5980
|
-
};
|
|
5981
5569
|
impact_margin: import("decimal.js").Decimal;
|
|
5982
5570
|
orderbook: {
|
|
5983
5571
|
market_id: number;
|
|
@@ -6002,13 +5590,6 @@ export declare const ResponseSchemas: {
|
|
|
6002
5590
|
is_active: boolean;
|
|
6003
5591
|
min_tick_size: string | number;
|
|
6004
5592
|
min_lot_size: string | number;
|
|
6005
|
-
funding_parameters: {
|
|
6006
|
-
interest_rate: string | number;
|
|
6007
|
-
min_interest_rate_clamp: string | number;
|
|
6008
|
-
max_interest_rate_clamp: string | number;
|
|
6009
|
-
min_funding_rate_clamp: string | number;
|
|
6010
|
-
max_funding_rate_clamp: string | number;
|
|
6011
|
-
};
|
|
6012
5593
|
impact_margin: string | number;
|
|
6013
5594
|
orderbook: {
|
|
6014
5595
|
market_id: number;
|
|
@@ -6033,25 +5614,6 @@ export declare const ResponseSchemas: {
|
|
|
6033
5614
|
is_active: z.ZodBoolean;
|
|
6034
5615
|
min_tick_size: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
6035
5616
|
min_lot_size: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
6036
|
-
funding_parameters: z.ZodObject<{
|
|
6037
|
-
interest_rate: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
6038
|
-
min_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
6039
|
-
max_interest_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
6040
|
-
min_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
6041
|
-
max_funding_rate_clamp: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
6042
|
-
}, "strip", z.ZodTypeAny, {
|
|
6043
|
-
interest_rate: import("decimal.js").Decimal;
|
|
6044
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6045
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6046
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6047
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6048
|
-
}, {
|
|
6049
|
-
interest_rate: string | number;
|
|
6050
|
-
min_interest_rate_clamp: string | number;
|
|
6051
|
-
max_interest_rate_clamp: string | number;
|
|
6052
|
-
min_funding_rate_clamp: string | number;
|
|
6053
|
-
max_funding_rate_clamp: string | number;
|
|
6054
|
-
}>;
|
|
6055
5617
|
impact_margin: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
6056
5618
|
orderbook: z.ZodObject<{
|
|
6057
5619
|
market_id: z.ZodNumber;
|
|
@@ -6114,13 +5676,6 @@ export declare const ResponseSchemas: {
|
|
|
6114
5676
|
is_active: boolean;
|
|
6115
5677
|
min_tick_size: import("decimal.js").Decimal;
|
|
6116
5678
|
min_lot_size: import("decimal.js").Decimal;
|
|
6117
|
-
funding_parameters: {
|
|
6118
|
-
interest_rate: import("decimal.js").Decimal;
|
|
6119
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6120
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6121
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6122
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6123
|
-
};
|
|
6124
5679
|
impact_margin: import("decimal.js").Decimal;
|
|
6125
5680
|
orderbook: {
|
|
6126
5681
|
market_id: number;
|
|
@@ -6139,13 +5694,6 @@ export declare const ResponseSchemas: {
|
|
|
6139
5694
|
is_active: boolean;
|
|
6140
5695
|
min_tick_size: string | number;
|
|
6141
5696
|
min_lot_size: string | number;
|
|
6142
|
-
funding_parameters: {
|
|
6143
|
-
interest_rate: string | number;
|
|
6144
|
-
min_interest_rate_clamp: string | number;
|
|
6145
|
-
max_interest_rate_clamp: string | number;
|
|
6146
|
-
min_funding_rate_clamp: string | number;
|
|
6147
|
-
max_funding_rate_clamp: string | number;
|
|
6148
|
-
};
|
|
6149
5697
|
impact_margin: string | number;
|
|
6150
5698
|
orderbook: {
|
|
6151
5699
|
market_id: number;
|
|
@@ -6164,13 +5712,6 @@ export declare const ResponseSchemas: {
|
|
|
6164
5712
|
is_active: boolean;
|
|
6165
5713
|
min_tick_size: import("decimal.js").Decimal;
|
|
6166
5714
|
min_lot_size: import("decimal.js").Decimal;
|
|
6167
|
-
funding_parameters: {
|
|
6168
|
-
interest_rate: import("decimal.js").Decimal;
|
|
6169
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6170
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6171
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6172
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6173
|
-
};
|
|
6174
5715
|
impact_margin: import("decimal.js").Decimal;
|
|
6175
5716
|
orderbook: {
|
|
6176
5717
|
market_id: number;
|
|
@@ -6189,13 +5730,6 @@ export declare const ResponseSchemas: {
|
|
|
6189
5730
|
is_active: boolean;
|
|
6190
5731
|
min_tick_size: string | number;
|
|
6191
5732
|
min_lot_size: string | number;
|
|
6192
|
-
funding_parameters: {
|
|
6193
|
-
interest_rate: string | number;
|
|
6194
|
-
min_interest_rate_clamp: string | number;
|
|
6195
|
-
max_interest_rate_clamp: string | number;
|
|
6196
|
-
min_funding_rate_clamp: string | number;
|
|
6197
|
-
max_funding_rate_clamp: string | number;
|
|
6198
|
-
};
|
|
6199
5733
|
impact_margin: string | number;
|
|
6200
5734
|
orderbook: {
|
|
6201
5735
|
market_id: number;
|
|
@@ -6217,13 +5751,6 @@ export declare const ResponseSchemas: {
|
|
|
6217
5751
|
is_active: boolean;
|
|
6218
5752
|
min_tick_size: import("decimal.js").Decimal;
|
|
6219
5753
|
min_lot_size: import("decimal.js").Decimal;
|
|
6220
|
-
funding_parameters: {
|
|
6221
|
-
interest_rate: import("decimal.js").Decimal;
|
|
6222
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6223
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6224
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6225
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6226
|
-
};
|
|
6227
5754
|
impact_margin: import("decimal.js").Decimal;
|
|
6228
5755
|
orderbook: {
|
|
6229
5756
|
market_id: number;
|
|
@@ -6245,13 +5772,6 @@ export declare const ResponseSchemas: {
|
|
|
6245
5772
|
is_active: boolean;
|
|
6246
5773
|
min_tick_size: string | number;
|
|
6247
5774
|
min_lot_size: string | number;
|
|
6248
|
-
funding_parameters: {
|
|
6249
|
-
interest_rate: string | number;
|
|
6250
|
-
min_interest_rate_clamp: string | number;
|
|
6251
|
-
max_interest_rate_clamp: string | number;
|
|
6252
|
-
min_funding_rate_clamp: string | number;
|
|
6253
|
-
max_funding_rate_clamp: string | number;
|
|
6254
|
-
};
|
|
6255
5775
|
impact_margin: string | number;
|
|
6256
5776
|
orderbook: {
|
|
6257
5777
|
market_id: number;
|
|
@@ -6276,13 +5796,6 @@ export declare const ResponseSchemas: {
|
|
|
6276
5796
|
is_active: boolean;
|
|
6277
5797
|
min_tick_size: import("decimal.js").Decimal;
|
|
6278
5798
|
min_lot_size: import("decimal.js").Decimal;
|
|
6279
|
-
funding_parameters: {
|
|
6280
|
-
interest_rate: import("decimal.js").Decimal;
|
|
6281
|
-
min_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6282
|
-
max_interest_rate_clamp: import("decimal.js").Decimal;
|
|
6283
|
-
min_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6284
|
-
max_funding_rate_clamp: import("decimal.js").Decimal;
|
|
6285
|
-
};
|
|
6286
5799
|
impact_margin: import("decimal.js").Decimal;
|
|
6287
5800
|
orderbook: {
|
|
6288
5801
|
market_id: number;
|
|
@@ -6307,13 +5820,6 @@ export declare const ResponseSchemas: {
|
|
|
6307
5820
|
is_active: boolean;
|
|
6308
5821
|
min_tick_size: string | number;
|
|
6309
5822
|
min_lot_size: string | number;
|
|
6310
|
-
funding_parameters: {
|
|
6311
|
-
interest_rate: string | number;
|
|
6312
|
-
min_interest_rate_clamp: string | number;
|
|
6313
|
-
max_interest_rate_clamp: string | number;
|
|
6314
|
-
min_funding_rate_clamp: string | number;
|
|
6315
|
-
max_funding_rate_clamp: string | number;
|
|
6316
|
-
};
|
|
6317
5823
|
impact_margin: string | number;
|
|
6318
5824
|
orderbook: {
|
|
6319
5825
|
market_id: number;
|
|
@@ -6335,6 +5841,19 @@ export declare const ResponseSchemas: {
|
|
|
6335
5841
|
readonly MarginConfig: z.ZodObject<{
|
|
6336
5842
|
data: z.ZodObject<{
|
|
6337
5843
|
value: z.ZodNullable<z.ZodObject<{
|
|
5844
|
+
perp_liquidation_config: z.ZodObject<{
|
|
5845
|
+
liquidation_ioc_buffer: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5846
|
+
backstop_liquidation_threshold: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5847
|
+
liquidation_fee: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5848
|
+
}, "strip", z.ZodTypeAny, {
|
|
5849
|
+
liquidation_ioc_buffer: import("decimal.js").Decimal;
|
|
5850
|
+
backstop_liquidation_threshold: import("decimal.js").Decimal;
|
|
5851
|
+
liquidation_fee: import("decimal.js").Decimal;
|
|
5852
|
+
}, {
|
|
5853
|
+
liquidation_ioc_buffer: string | number;
|
|
5854
|
+
backstop_liquidation_threshold: string | number;
|
|
5855
|
+
liquidation_fee: string | number;
|
|
5856
|
+
}>;
|
|
6338
5857
|
perp_leverage_tables: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6339
5858
|
tiers: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6340
5859
|
max_leverage: z.ZodNumber;
|
|
@@ -6382,10 +5901,43 @@ export declare const ResponseSchemas: {
|
|
|
6382
5901
|
maintenance_amount: string | number;
|
|
6383
5902
|
}>;
|
|
6384
5903
|
}>>;
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
5904
|
+
borrow_lend_risk_configs: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5905
|
+
liquidation_reward_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5906
|
+
liability_liquidation_limit_ratio: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5907
|
+
asset_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5908
|
+
initial_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5909
|
+
maintenance_liability_weight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, import("decimal.js").Decimal, string | number>;
|
|
5910
|
+
}, "strip", z.ZodTypeAny, {
|
|
5911
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
5912
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
5913
|
+
asset_weight: import("decimal.js").Decimal;
|
|
5914
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
5915
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5916
|
+
}, {
|
|
5917
|
+
liquidation_reward_ratio: string | number;
|
|
5918
|
+
liability_liquidation_limit_ratio: string | number;
|
|
5919
|
+
asset_weight: string | number;
|
|
5920
|
+
initial_liability_weight: string | number;
|
|
5921
|
+
maintenance_liability_weight: string | number;
|
|
5922
|
+
}>>, Map<number, {
|
|
5923
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
5924
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
5925
|
+
asset_weight: import("decimal.js").Decimal;
|
|
5926
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
5927
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5928
|
+
}>, Record<string, {
|
|
5929
|
+
liquidation_reward_ratio: string | number;
|
|
5930
|
+
liability_liquidation_limit_ratio: string | number;
|
|
5931
|
+
asset_weight: string | number;
|
|
5932
|
+
initial_liability_weight: string | number;
|
|
5933
|
+
maintenance_liability_weight: string | number;
|
|
5934
|
+
}>>;
|
|
6388
5935
|
}, "strip", z.ZodTypeAny, {
|
|
5936
|
+
perp_liquidation_config: {
|
|
5937
|
+
liquidation_ioc_buffer: import("decimal.js").Decimal;
|
|
5938
|
+
backstop_liquidation_threshold: import("decimal.js").Decimal;
|
|
5939
|
+
liquidation_fee: import("decimal.js").Decimal;
|
|
5940
|
+
};
|
|
6389
5941
|
perp_leverage_tables: Map<number, {
|
|
6390
5942
|
tiers: Map<string, {
|
|
6391
5943
|
max_leverage: number;
|
|
@@ -6393,10 +5945,19 @@ export declare const ResponseSchemas: {
|
|
|
6393
5945
|
maintenance_amount: import("decimal.js").Decimal;
|
|
6394
5946
|
}>;
|
|
6395
5947
|
}>;
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
5948
|
+
borrow_lend_risk_configs: Map<number, {
|
|
5949
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
5950
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
5951
|
+
asset_weight: import("decimal.js").Decimal;
|
|
5952
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
5953
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5954
|
+
}>;
|
|
6399
5955
|
}, {
|
|
5956
|
+
perp_liquidation_config: {
|
|
5957
|
+
liquidation_ioc_buffer: string | number;
|
|
5958
|
+
backstop_liquidation_threshold: string | number;
|
|
5959
|
+
liquidation_fee: string | number;
|
|
5960
|
+
};
|
|
6400
5961
|
perp_leverage_tables: Record<string, {
|
|
6401
5962
|
tiers: Record<string, {
|
|
6402
5963
|
max_leverage: number;
|
|
@@ -6404,12 +5965,21 @@ export declare const ResponseSchemas: {
|
|
|
6404
5965
|
maintenance_amount: string | number;
|
|
6405
5966
|
}>;
|
|
6406
5967
|
}>;
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
5968
|
+
borrow_lend_risk_configs: Record<string, {
|
|
5969
|
+
liquidation_reward_ratio: string | number;
|
|
5970
|
+
liability_liquidation_limit_ratio: string | number;
|
|
5971
|
+
asset_weight: string | number;
|
|
5972
|
+
initial_liability_weight: string | number;
|
|
5973
|
+
maintenance_liability_weight: string | number;
|
|
5974
|
+
}>;
|
|
6410
5975
|
}>>;
|
|
6411
5976
|
}, "strip", z.ZodTypeAny, {
|
|
6412
5977
|
value: {
|
|
5978
|
+
perp_liquidation_config: {
|
|
5979
|
+
liquidation_ioc_buffer: import("decimal.js").Decimal;
|
|
5980
|
+
backstop_liquidation_threshold: import("decimal.js").Decimal;
|
|
5981
|
+
liquidation_fee: import("decimal.js").Decimal;
|
|
5982
|
+
};
|
|
6413
5983
|
perp_leverage_tables: Map<number, {
|
|
6414
5984
|
tiers: Map<string, {
|
|
6415
5985
|
max_leverage: number;
|
|
@@ -6417,12 +5987,21 @@ export declare const ResponseSchemas: {
|
|
|
6417
5987
|
maintenance_amount: import("decimal.js").Decimal;
|
|
6418
5988
|
}>;
|
|
6419
5989
|
}>;
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
5990
|
+
borrow_lend_risk_configs: Map<number, {
|
|
5991
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
5992
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
5993
|
+
asset_weight: import("decimal.js").Decimal;
|
|
5994
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
5995
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
5996
|
+
}>;
|
|
6423
5997
|
} | null;
|
|
6424
5998
|
}, {
|
|
6425
5999
|
value: {
|
|
6000
|
+
perp_liquidation_config: {
|
|
6001
|
+
liquidation_ioc_buffer: string | number;
|
|
6002
|
+
backstop_liquidation_threshold: string | number;
|
|
6003
|
+
liquidation_fee: string | number;
|
|
6004
|
+
};
|
|
6426
6005
|
perp_leverage_tables: Record<string, {
|
|
6427
6006
|
tiers: Record<string, {
|
|
6428
6007
|
max_leverage: number;
|
|
@@ -6430,15 +6009,24 @@ export declare const ResponseSchemas: {
|
|
|
6430
6009
|
maintenance_amount: string | number;
|
|
6431
6010
|
}>;
|
|
6432
6011
|
}>;
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6012
|
+
borrow_lend_risk_configs: Record<string, {
|
|
6013
|
+
liquidation_reward_ratio: string | number;
|
|
6014
|
+
liability_liquidation_limit_ratio: string | number;
|
|
6015
|
+
asset_weight: string | number;
|
|
6016
|
+
initial_liability_weight: string | number;
|
|
6017
|
+
maintenance_liability_weight: string | number;
|
|
6018
|
+
}>;
|
|
6436
6019
|
} | null;
|
|
6437
6020
|
}>;
|
|
6438
6021
|
meta: z.ZodNullable<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Map<unknown, unknown>, Record<string, unknown>>>;
|
|
6439
6022
|
}, "strip", z.ZodTypeAny, {
|
|
6440
6023
|
data: {
|
|
6441
6024
|
value: {
|
|
6025
|
+
perp_liquidation_config: {
|
|
6026
|
+
liquidation_ioc_buffer: import("decimal.js").Decimal;
|
|
6027
|
+
backstop_liquidation_threshold: import("decimal.js").Decimal;
|
|
6028
|
+
liquidation_fee: import("decimal.js").Decimal;
|
|
6029
|
+
};
|
|
6442
6030
|
perp_leverage_tables: Map<number, {
|
|
6443
6031
|
tiers: Map<string, {
|
|
6444
6032
|
max_leverage: number;
|
|
@@ -6446,15 +6034,24 @@ export declare const ResponseSchemas: {
|
|
|
6446
6034
|
maintenance_amount: import("decimal.js").Decimal;
|
|
6447
6035
|
}>;
|
|
6448
6036
|
}>;
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6037
|
+
borrow_lend_risk_configs: Map<number, {
|
|
6038
|
+
liquidation_reward_ratio: import("decimal.js").Decimal;
|
|
6039
|
+
liability_liquidation_limit_ratio: import("decimal.js").Decimal;
|
|
6040
|
+
asset_weight: import("decimal.js").Decimal;
|
|
6041
|
+
initial_liability_weight: import("decimal.js").Decimal;
|
|
6042
|
+
maintenance_liability_weight: import("decimal.js").Decimal;
|
|
6043
|
+
}>;
|
|
6452
6044
|
} | null;
|
|
6453
6045
|
};
|
|
6454
6046
|
meta: Map<unknown, unknown> | null;
|
|
6455
6047
|
}, {
|
|
6456
6048
|
data: {
|
|
6457
6049
|
value: {
|
|
6050
|
+
perp_liquidation_config: {
|
|
6051
|
+
liquidation_ioc_buffer: string | number;
|
|
6052
|
+
backstop_liquidation_threshold: string | number;
|
|
6053
|
+
liquidation_fee: string | number;
|
|
6054
|
+
};
|
|
6458
6055
|
perp_leverage_tables: Record<string, {
|
|
6459
6056
|
tiers: Record<string, {
|
|
6460
6057
|
max_leverage: number;
|
|
@@ -6462,9 +6059,13 @@ export declare const ResponseSchemas: {
|
|
|
6462
6059
|
maintenance_amount: string | number;
|
|
6463
6060
|
}>;
|
|
6464
6061
|
}>;
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6062
|
+
borrow_lend_risk_configs: Record<string, {
|
|
6063
|
+
liquidation_reward_ratio: string | number;
|
|
6064
|
+
liability_liquidation_limit_ratio: string | number;
|
|
6065
|
+
asset_weight: string | number;
|
|
6066
|
+
initial_liability_weight: string | number;
|
|
6067
|
+
maintenance_liability_weight: string | number;
|
|
6068
|
+
}>;
|
|
6468
6069
|
} | null;
|
|
6469
6070
|
};
|
|
6470
6071
|
meta: Record<string, unknown> | null;
|
|
@@ -6516,5 +6117,5 @@ export type PerpMarket = z.infer<typeof Schemas.PerpMarket>;
|
|
|
6516
6117
|
export type MarginConfig = z.infer<typeof Schemas.MarginConfig>;
|
|
6517
6118
|
export type Tpsl = z.infer<typeof Tpsl>;
|
|
6518
6119
|
export type AccountAddresses = z.infer<typeof Schemas.AccountAddresses>;
|
|
6519
|
-
export type
|
|
6120
|
+
export type BorrowLendRiskConfig = z.infer<typeof BorrowLendRiskConfig>;
|
|
6520
6121
|
export {};
|