@crypticdot/defituna-api 1.10.10 → 1.10.11
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/index.d.mts +71 -146
- package/dist/index.d.ts +71 -146
- package/dist/index.js +305 -325
- package/dist/index.mjs +295 -315
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -15,14 +15,42 @@ declare const UsdPnlSchema: z.ZodObject<{
|
|
|
15
15
|
amount: z.ZodNumber;
|
|
16
16
|
rate: z.ZodNumber;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
|
+
|
|
18
19
|
declare const PoolProvider: {
|
|
19
20
|
readonly ORCA: "orca";
|
|
20
21
|
readonly FUSION: "fusion";
|
|
21
22
|
};
|
|
22
|
-
declare const PoolProviderSchema: z.ZodEnum<{
|
|
23
|
+
declare const PoolProviderSchema: z$1.ZodEnum<{
|
|
23
24
|
orca: "orca";
|
|
24
25
|
fusion: "fusion";
|
|
25
26
|
}>;
|
|
27
|
+
declare const Pool$1: z$1.ZodObject<{
|
|
28
|
+
address: z$1.ZodString;
|
|
29
|
+
provider: z$1.ZodEnum<{
|
|
30
|
+
orca: "orca";
|
|
31
|
+
fusion: "fusion";
|
|
32
|
+
}>;
|
|
33
|
+
tokenAMint: z$1.ZodString;
|
|
34
|
+
tokenBMint: z$1.ZodString;
|
|
35
|
+
tokenAVault: z$1.ZodString;
|
|
36
|
+
tokenBVault: z$1.ZodString;
|
|
37
|
+
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
38
|
+
tickSpacing: z$1.ZodNumber;
|
|
39
|
+
feeRate: z$1.ZodNumber;
|
|
40
|
+
protocolFeeRate: z$1.ZodNumber;
|
|
41
|
+
olpFeeRate: z$1.ZodNullable<z$1.ZodNumber>;
|
|
42
|
+
liquidity: z$1.ZodCoercedBigInt<unknown>;
|
|
43
|
+
sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
|
|
44
|
+
price: z$1.ZodNumber;
|
|
45
|
+
tickCurrentIndex: z$1.ZodNumber;
|
|
46
|
+
stats: z$1.ZodObject<{
|
|
47
|
+
"24h": z$1.ZodObject<{
|
|
48
|
+
volume: z$1.ZodNumber;
|
|
49
|
+
fees: z$1.ZodNumber;
|
|
50
|
+
priceChange: z$1.ZodNumber;
|
|
51
|
+
}, z$1.core.$strip>;
|
|
52
|
+
}, z$1.core.$strip>;
|
|
53
|
+
}, z$1.core.$strip>;
|
|
26
54
|
|
|
27
55
|
declare const LimitOrderState: {
|
|
28
56
|
readonly OPEN: "open";
|
|
@@ -41,6 +69,7 @@ declare const LimitOrderStateSchema: z.ZodEnum<{
|
|
|
41
69
|
declare const LimitOrder$1: z.ZodObject<{
|
|
42
70
|
address: z.ZodString;
|
|
43
71
|
orderMint: z.ZodString;
|
|
72
|
+
authority: z.ZodString;
|
|
44
73
|
mintA: z.ZodObject<{
|
|
45
74
|
mint: z.ZodString;
|
|
46
75
|
symbol: z.ZodString;
|
|
@@ -1219,6 +1248,7 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1219
1248
|
fusionLimitOrders: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1220
1249
|
address: z$1.ZodString;
|
|
1221
1250
|
orderMint: z$1.ZodString;
|
|
1251
|
+
authority: z$1.ZodString;
|
|
1222
1252
|
mintA: z$1.ZodObject<{
|
|
1223
1253
|
mint: z$1.ZodString;
|
|
1224
1254
|
symbol: z$1.ZodString;
|
|
@@ -1275,6 +1305,7 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1275
1305
|
askSide: z$1.ZodBoolean;
|
|
1276
1306
|
}, z$1.core.$strip>>;
|
|
1277
1307
|
poolPrice: z$1.ZodNumber;
|
|
1308
|
+
poolAddress: z$1.ZodString;
|
|
1278
1309
|
}, z$1.core.$strip>>>;
|
|
1279
1310
|
}, z$1.core.$strip>;
|
|
1280
1311
|
|
|
@@ -1312,6 +1343,7 @@ declare const OrderBook$1: z$1.ZodObject<{
|
|
|
1312
1343
|
askSide: z$1.ZodBoolean;
|
|
1313
1344
|
}, z$1.core.$strip>>;
|
|
1314
1345
|
poolPrice: z$1.ZodNumber;
|
|
1346
|
+
poolAddress: z$1.ZodString;
|
|
1315
1347
|
}, z$1.core.$strip>;
|
|
1316
1348
|
|
|
1317
1349
|
declare const NotificationEntity: {
|
|
@@ -1472,28 +1504,14 @@ declare const PaginationMeta$1: z.ZodObject<{
|
|
|
1472
1504
|
declare const Market$1: z.ZodObject<{
|
|
1473
1505
|
address: z.ZodString;
|
|
1474
1506
|
addressLookupTable: z.ZodString;
|
|
1475
|
-
poolAddress: z.ZodString;
|
|
1476
|
-
poolFeeRate: z.ZodNumber;
|
|
1477
|
-
provider: z.ZodEnum<{
|
|
1478
|
-
orca: "orca";
|
|
1479
|
-
fusion: "fusion";
|
|
1480
|
-
}>;
|
|
1481
1507
|
maxLeverage: z.ZodNumber;
|
|
1482
1508
|
maxSwapSlippage: z.ZodNumber;
|
|
1483
1509
|
protocolFee: z.ZodNumber;
|
|
1484
|
-
rebalanceProtocolFee: z.ZodNumber;
|
|
1485
1510
|
protocolFeeOnCollateral: z.ZodNumber;
|
|
1486
1511
|
liquidationFee: z.ZodNumber;
|
|
1487
1512
|
liquidationThreshold: z.ZodNumber;
|
|
1488
1513
|
oraclePriceDeviationThreshold: z.ZodNumber;
|
|
1489
|
-
|
|
1490
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
1491
|
-
usd: z.ZodNumber;
|
|
1492
|
-
}, z.core.$strip>;
|
|
1493
|
-
maxSpotPositionSizeB: z.ZodObject<{
|
|
1494
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
1495
|
-
usd: z.ZodNumber;
|
|
1496
|
-
}, z.core.$strip>;
|
|
1514
|
+
rebalanceProtocolFee: z.ZodNumber;
|
|
1497
1515
|
borrowedFundsA: z.ZodObject<{
|
|
1498
1516
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
1499
1517
|
usd: z.ZodNumber;
|
|
@@ -1502,22 +1520,49 @@ declare const Market$1: z.ZodObject<{
|
|
|
1502
1520
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
1503
1521
|
usd: z.ZodNumber;
|
|
1504
1522
|
}, z.core.$strip>;
|
|
1505
|
-
|
|
1523
|
+
borrowLimitA: z.ZodObject<{
|
|
1506
1524
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
1507
1525
|
usd: z.ZodNumber;
|
|
1508
1526
|
}, z.core.$strip>;
|
|
1509
|
-
|
|
1527
|
+
borrowLimitB: z.ZodObject<{
|
|
1510
1528
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
1511
1529
|
usd: z.ZodNumber;
|
|
1512
1530
|
}, z.core.$strip>;
|
|
1513
|
-
|
|
1531
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
1514
1532
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
1515
1533
|
usd: z.ZodNumber;
|
|
1516
1534
|
}, z.core.$strip>;
|
|
1517
|
-
|
|
1535
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
1518
1536
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
1519
1537
|
usd: z.ZodNumber;
|
|
1520
1538
|
}, z.core.$strip>;
|
|
1539
|
+
pool: z.ZodObject<{
|
|
1540
|
+
address: z.ZodString;
|
|
1541
|
+
provider: z.ZodEnum<{
|
|
1542
|
+
orca: "orca";
|
|
1543
|
+
fusion: "fusion";
|
|
1544
|
+
}>;
|
|
1545
|
+
tokenAMint: z.ZodString;
|
|
1546
|
+
tokenBMint: z.ZodString;
|
|
1547
|
+
tokenAVault: z.ZodString;
|
|
1548
|
+
tokenBVault: z.ZodString;
|
|
1549
|
+
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
1550
|
+
tickSpacing: z.ZodNumber;
|
|
1551
|
+
feeRate: z.ZodNumber;
|
|
1552
|
+
protocolFeeRate: z.ZodNumber;
|
|
1553
|
+
olpFeeRate: z.ZodNullable<z.ZodNumber>;
|
|
1554
|
+
liquidity: z.ZodCoercedBigInt<unknown>;
|
|
1555
|
+
sqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
1556
|
+
price: z.ZodNumber;
|
|
1557
|
+
tickCurrentIndex: z.ZodNumber;
|
|
1558
|
+
stats: z.ZodObject<{
|
|
1559
|
+
"24h": z.ZodObject<{
|
|
1560
|
+
volume: z.ZodNumber;
|
|
1561
|
+
fees: z.ZodNumber;
|
|
1562
|
+
priceChange: z.ZodNumber;
|
|
1563
|
+
}, z.core.$strip>;
|
|
1564
|
+
}, z.core.$strip>;
|
|
1565
|
+
}, z.core.$strip>;
|
|
1521
1566
|
disabled: z.ZodBoolean;
|
|
1522
1567
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
1523
1568
|
}, z.core.$strip>;
|
|
@@ -1564,46 +1609,6 @@ declare const VaultHistoricalStats$1: z.ZodObject<{
|
|
|
1564
1609
|
supplyApy: z.ZodNumber;
|
|
1565
1610
|
borrowApr: z.ZodNumber;
|
|
1566
1611
|
}, z.core.$strip>;
|
|
1567
|
-
declare const Pool$1: z.ZodObject<{
|
|
1568
|
-
address: z.ZodString;
|
|
1569
|
-
provider: z.ZodEnum<{
|
|
1570
|
-
orca: "orca";
|
|
1571
|
-
fusion: "fusion";
|
|
1572
|
-
}>;
|
|
1573
|
-
tokenAMint: z.ZodString;
|
|
1574
|
-
tokenBMint: z.ZodString;
|
|
1575
|
-
tokenAVault: z.ZodString;
|
|
1576
|
-
tokenBVault: z.ZodString;
|
|
1577
|
-
tvlUsdc: z.ZodCoercedNumber<unknown>;
|
|
1578
|
-
priceChange24H: z.ZodNumber;
|
|
1579
|
-
tickSpacing: z.ZodNumber;
|
|
1580
|
-
feeRate: z.ZodNumber;
|
|
1581
|
-
olpFeeRate: z.ZodNullable<z.ZodNumber>;
|
|
1582
|
-
protocolFeeRate: z.ZodNumber;
|
|
1583
|
-
liquidity: z.ZodCoercedBigInt<unknown>;
|
|
1584
|
-
sqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
1585
|
-
tickCurrentIndex: z.ZodNumber;
|
|
1586
|
-
stats: z.ZodObject<{
|
|
1587
|
-
"24h": z.ZodObject<{
|
|
1588
|
-
volume: z.ZodCoercedNumber<unknown>;
|
|
1589
|
-
fees: z.ZodCoercedNumber<unknown>;
|
|
1590
|
-
rewards: z.ZodCoercedNumber<unknown>;
|
|
1591
|
-
yieldOverTvl: z.ZodCoercedNumber<unknown>;
|
|
1592
|
-
}, z.core.$strip>;
|
|
1593
|
-
"7d": z.ZodObject<{
|
|
1594
|
-
volume: z.ZodCoercedNumber<unknown>;
|
|
1595
|
-
fees: z.ZodCoercedNumber<unknown>;
|
|
1596
|
-
rewards: z.ZodCoercedNumber<unknown>;
|
|
1597
|
-
yieldOverTvl: z.ZodCoercedNumber<unknown>;
|
|
1598
|
-
}, z.core.$strip>;
|
|
1599
|
-
"30d": z.ZodObject<{
|
|
1600
|
-
volume: z.ZodCoercedNumber<unknown>;
|
|
1601
|
-
fees: z.ZodCoercedNumber<unknown>;
|
|
1602
|
-
rewards: z.ZodCoercedNumber<unknown>;
|
|
1603
|
-
yieldOverTvl: z.ZodCoercedNumber<unknown>;
|
|
1604
|
-
}, z.core.$strip>;
|
|
1605
|
-
}, z.core.$strip>;
|
|
1606
|
-
}, z.core.$strip>;
|
|
1607
1612
|
declare const Tick$1: z.ZodObject<{
|
|
1608
1613
|
index: z.ZodNumber;
|
|
1609
1614
|
liquidity: z.ZodCoercedBigInt<unknown>;
|
|
@@ -1898,11 +1903,6 @@ declare const TradableAmount$1: z.ZodObject<{
|
|
|
1898
1903
|
declare const UpdateStreamSubscriptionResult: z.ZodObject<{
|
|
1899
1904
|
status: z.ZodString;
|
|
1900
1905
|
}, z.core.$strip>;
|
|
1901
|
-
declare const OrderBookNotificationMeta$1: z.ZodObject<{
|
|
1902
|
-
pool: z.ZodString;
|
|
1903
|
-
priceStep: z.ZodNumber;
|
|
1904
|
-
inverted: z.ZodBoolean;
|
|
1905
|
-
}, z.core.$strip>;
|
|
1906
1906
|
declare const PoolSwapNotification: z.ZodObject<{
|
|
1907
1907
|
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1908
1908
|
entity: z.ZodEnum<{
|
|
@@ -1964,83 +1964,6 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1964
1964
|
id: z.ZodString;
|
|
1965
1965
|
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1966
1966
|
}, z.core.$strip>;
|
|
1967
|
-
declare const OrderBookNotification: z.ZodObject<{
|
|
1968
|
-
meta: z.ZodObject<{
|
|
1969
|
-
pool: z.ZodString;
|
|
1970
|
-
priceStep: z.ZodNumber;
|
|
1971
|
-
inverted: z.ZodBoolean;
|
|
1972
|
-
}, z.core.$strip>;
|
|
1973
|
-
entity: z.ZodEnum<{
|
|
1974
|
-
pool_swap: "pool_swap";
|
|
1975
|
-
pool_price: "pool_price";
|
|
1976
|
-
order_book: "order_book";
|
|
1977
|
-
tuna_position: "tuna_position";
|
|
1978
|
-
tuna_spot_position: "tuna_spot_position";
|
|
1979
|
-
lending_position: "lending_position";
|
|
1980
|
-
staking_position: "staking_position";
|
|
1981
|
-
fusion_limit_order: "fusion_limit_order";
|
|
1982
|
-
trade_history_entry: "trade_history_entry";
|
|
1983
|
-
order_history_entry: "order_history_entry";
|
|
1984
|
-
state_snapshot: "state_snapshot";
|
|
1985
|
-
}>;
|
|
1986
|
-
action: z.ZodEnum<{
|
|
1987
|
-
create: "create";
|
|
1988
|
-
update: "update";
|
|
1989
|
-
}>;
|
|
1990
|
-
data: z.ZodObject<{
|
|
1991
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
1992
|
-
concentratedAmount: z.ZodCoercedBigInt<unknown>;
|
|
1993
|
-
concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
1994
|
-
concentratedTotal: z.ZodCoercedBigInt<unknown>;
|
|
1995
|
-
concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
|
|
1996
|
-
limitAmount: z.ZodCoercedBigInt<unknown>;
|
|
1997
|
-
limitAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
1998
|
-
limitTotal: z.ZodCoercedBigInt<unknown>;
|
|
1999
|
-
limitTotalQuote: z.ZodCoercedBigInt<unknown>;
|
|
2000
|
-
price: z.ZodNumber;
|
|
2001
|
-
askSide: z.ZodBoolean;
|
|
2002
|
-
}, z.core.$strip>>;
|
|
2003
|
-
poolPrice: z.ZodNumber;
|
|
2004
|
-
}, z.core.$strip>;
|
|
2005
|
-
id: z.ZodString;
|
|
2006
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2007
|
-
} | {
|
|
2008
|
-
meta: z.ZodNullable<z.ZodUndefined>;
|
|
2009
|
-
entity: z.ZodEnum<{
|
|
2010
|
-
pool_swap: "pool_swap";
|
|
2011
|
-
pool_price: "pool_price";
|
|
2012
|
-
order_book: "order_book";
|
|
2013
|
-
tuna_position: "tuna_position";
|
|
2014
|
-
tuna_spot_position: "tuna_spot_position";
|
|
2015
|
-
lending_position: "lending_position";
|
|
2016
|
-
staking_position: "staking_position";
|
|
2017
|
-
fusion_limit_order: "fusion_limit_order";
|
|
2018
|
-
trade_history_entry: "trade_history_entry";
|
|
2019
|
-
order_history_entry: "order_history_entry";
|
|
2020
|
-
state_snapshot: "state_snapshot";
|
|
2021
|
-
}>;
|
|
2022
|
-
action: z.ZodEnum<{
|
|
2023
|
-
create: "create";
|
|
2024
|
-
update: "update";
|
|
2025
|
-
}>;
|
|
2026
|
-
data: z.ZodObject<{
|
|
2027
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
2028
|
-
concentratedAmount: z.ZodCoercedBigInt<unknown>;
|
|
2029
|
-
concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
2030
|
-
concentratedTotal: z.ZodCoercedBigInt<unknown>;
|
|
2031
|
-
concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
|
|
2032
|
-
limitAmount: z.ZodCoercedBigInt<unknown>;
|
|
2033
|
-
limitAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
2034
|
-
limitTotal: z.ZodCoercedBigInt<unknown>;
|
|
2035
|
-
limitTotalQuote: z.ZodCoercedBigInt<unknown>;
|
|
2036
|
-
price: z.ZodNumber;
|
|
2037
|
-
askSide: z.ZodBoolean;
|
|
2038
|
-
}, z.core.$strip>>;
|
|
2039
|
-
poolPrice: z.ZodNumber;
|
|
2040
|
-
}, z.core.$strip>;
|
|
2041
|
-
id: z.ZodString;
|
|
2042
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2043
|
-
}, z.core.$strip>;
|
|
2044
1967
|
declare const LendingPositionNotification: z.ZodObject<{
|
|
2045
1968
|
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2046
1969
|
entity: z.ZodEnum<{
|
|
@@ -2749,6 +2672,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
2749
2672
|
fusionLimitOrders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2750
2673
|
address: z.ZodString;
|
|
2751
2674
|
orderMint: z.ZodString;
|
|
2675
|
+
authority: z.ZodString;
|
|
2752
2676
|
mintA: z.ZodObject<{
|
|
2753
2677
|
mint: z.ZodString;
|
|
2754
2678
|
symbol: z.ZodString;
|
|
@@ -2805,6 +2729,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
2805
2729
|
askSide: z.ZodBoolean;
|
|
2806
2730
|
}, z.core.$strip>>;
|
|
2807
2731
|
poolPrice: z.ZodNumber;
|
|
2732
|
+
poolAddress: z.ZodString;
|
|
2808
2733
|
}, z.core.$strip>>>;
|
|
2809
2734
|
}, z.core.$strip>;
|
|
2810
2735
|
id: z.ZodString;
|
|
@@ -3053,6 +2978,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3053
2978
|
fusionLimitOrders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3054
2979
|
address: z.ZodString;
|
|
3055
2980
|
orderMint: z.ZodString;
|
|
2981
|
+
authority: z.ZodString;
|
|
3056
2982
|
mintA: z.ZodObject<{
|
|
3057
2983
|
mint: z.ZodString;
|
|
3058
2984
|
symbol: z.ZodString;
|
|
@@ -3109,6 +3035,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3109
3035
|
askSide: z.ZodBoolean;
|
|
3110
3036
|
}, z.core.$strip>>;
|
|
3111
3037
|
poolPrice: z.ZodNumber;
|
|
3038
|
+
poolAddress: z.ZodString;
|
|
3112
3039
|
}, z.core.$strip>>>;
|
|
3113
3040
|
}, z.core.$strip>;
|
|
3114
3041
|
id: z.ZodString;
|
|
@@ -3132,7 +3059,6 @@ declare const schemas_NotificationAction: typeof NotificationAction;
|
|
|
3132
3059
|
declare const schemas_NotificationActionSchema: typeof NotificationActionSchema;
|
|
3133
3060
|
declare const schemas_NotificationEntity: typeof NotificationEntity;
|
|
3134
3061
|
declare const schemas_NotificationEntitySchema: typeof NotificationEntitySchema;
|
|
3135
|
-
declare const schemas_OrderBookNotification: typeof OrderBookNotification;
|
|
3136
3062
|
declare const schemas_OrderHistoryEntryNotification: typeof OrderHistoryEntryNotification;
|
|
3137
3063
|
declare const schemas_OrderHistoryOrderType: typeof OrderHistoryOrderType;
|
|
3138
3064
|
declare const schemas_OrderHistoryOrderTypeSchema: typeof OrderHistoryOrderTypeSchema;
|
|
@@ -3187,7 +3113,7 @@ declare const schemas_UsdPnlSchema: typeof UsdPnlSchema;
|
|
|
3187
3113
|
declare const schemas_WalletSubscriptionTopic: typeof WalletSubscriptionTopic;
|
|
3188
3114
|
declare const schemas_WalletSubscriptionTopicSchema: typeof WalletSubscriptionTopicSchema;
|
|
3189
3115
|
declare namespace schemas {
|
|
3190
|
-
export { schemas_AmountWithUsdSchema as AmountWithUsdSchema, schemas_AmountWithoutUsdSchema as AmountWithoutUsdSchema, CloseSpotPositionQuote$1 as CloseSpotPositionQuote, DecreaseSpotPositionQuote$1 as DecreaseSpotPositionQuote, FeesStatsGroup$1 as FeesStatsGroup, IncreaseSpotPositionQuote$1 as IncreaseSpotPositionQuote, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, LimitOrderQuoteByInput$1 as LimitOrderQuoteByInput, LimitOrderQuoteByOutput$1 as LimitOrderQuoteByOutput, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, schemas_LpPositionAutoCompound as LpPositionAutoCompound, schemas_LpPositionAutoCompoundSchema as LpPositionAutoCompoundSchema, schemas_LpPositionLimitOrderSwap as LpPositionLimitOrderSwap, schemas_LpPositionLimitOrderSwapSchema as LpPositionLimitOrderSwapSchema, schemas_LpPositionRebalance as LpPositionRebalance, schemas_LpPositionRebalanceSchema as LpPositionRebalanceSchema, schemas_LpPositionsActionType as LpPositionsActionType, schemas_LpPositionsActionTypeSchema as LpPositionsActionTypeSchema, Market$1 as Market, Mint$1 as Mint, schemas_NotificationAction as NotificationAction, schemas_NotificationActionSchema as NotificationActionSchema, schemas_NotificationEntity as NotificationEntity, schemas_NotificationEntitySchema as NotificationEntitySchema, OrderBook$1 as OrderBook, OrderBookEntry$1 as OrderBookEntry,
|
|
3116
|
+
export { schemas_AmountWithUsdSchema as AmountWithUsdSchema, schemas_AmountWithoutUsdSchema as AmountWithoutUsdSchema, CloseSpotPositionQuote$1 as CloseSpotPositionQuote, DecreaseSpotPositionQuote$1 as DecreaseSpotPositionQuote, FeesStatsGroup$1 as FeesStatsGroup, IncreaseSpotPositionQuote$1 as IncreaseSpotPositionQuote, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, LimitOrderQuoteByInput$1 as LimitOrderQuoteByInput, LimitOrderQuoteByOutput$1 as LimitOrderQuoteByOutput, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, schemas_LpPositionAutoCompound as LpPositionAutoCompound, schemas_LpPositionAutoCompoundSchema as LpPositionAutoCompoundSchema, schemas_LpPositionLimitOrderSwap as LpPositionLimitOrderSwap, schemas_LpPositionLimitOrderSwapSchema as LpPositionLimitOrderSwapSchema, schemas_LpPositionRebalance as LpPositionRebalance, schemas_LpPositionRebalanceSchema as LpPositionRebalanceSchema, schemas_LpPositionsActionType as LpPositionsActionType, schemas_LpPositionsActionTypeSchema as LpPositionsActionTypeSchema, Market$1 as Market, Mint$1 as Mint, schemas_NotificationAction as NotificationAction, schemas_NotificationActionSchema as NotificationActionSchema, schemas_NotificationEntity as NotificationEntity, schemas_NotificationEntitySchema as NotificationEntitySchema, OrderBook$1 as OrderBook, OrderBookEntry$1 as OrderBookEntry, OrderHistoryEntry$1 as OrderHistoryEntry, schemas_OrderHistoryEntryNotification as OrderHistoryEntryNotification, schemas_OrderHistoryOrderType as OrderHistoryOrderType, schemas_OrderHistoryOrderTypeSchema as OrderHistoryOrderTypeSchema, schemas_OrderHistoryStatus as OrderHistoryStatus, schemas_OrderHistoryStatusSchema as OrderHistoryStatusSchema, schemas_OrderHistoryUIDirection as OrderHistoryUIDirection, schemas_OrderHistoryUIDirectionSchema as OrderHistoryUIDirectionSchema, PaginationMeta$1 as PaginationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema, schemas_PoolSnapshot as PoolSnapshot, schemas_PoolSubscriptionTopic as PoolSubscriptionTopic, schemas_PoolSubscriptionTopicSchema as PoolSubscriptionTopicSchema, PoolSwap$1 as PoolSwap, schemas_PoolSwapNotification as PoolSwapNotification, PoolTicks$1 as PoolTicks, StakingLeaderboardPage$1 as StakingLeaderboardPage, StakingLeaderboardPosition$1 as StakingLeaderboardPosition, StakingPosition$1 as StakingPosition, StakingPositionHistoryAction$1 as StakingPositionHistoryAction, StakingPositionHistoryActionType$1 as StakingPositionHistoryActionType, schemas_StakingPositionHistoryActionTypeSchema as StakingPositionHistoryActionTypeSchema, schemas_StakingPositionNotification as StakingPositionNotification, StakingRevenueStatsGroup$1 as StakingRevenueStatsGroup, StakingTreasury$1 as StakingTreasury, StateSnapshot$1 as StateSnapshot, schemas_StateSnapshotNotification as StateSnapshotNotification, SwapQuoteByInput$1 as SwapQuoteByInput, SwapQuoteByOutput$1 as SwapQuoteByOutput, Tick$1 as Tick, TokenOraclePrice$1 as TokenOraclePrice, schemas_TokensPnlSchema as TokensPnlSchema, TradableAmount$1 as TradableAmount, schemas_TradeHistoryAction as TradeHistoryAction, schemas_TradeHistoryActionSchema as TradeHistoryActionSchema, TradeHistoryEntry$1 as TradeHistoryEntry, schemas_TradeHistoryEntryNotification as TradeHistoryEntryNotification, schemas_TradeHistoryUIDirection as TradeHistoryUIDirection, schemas_TradeHistoryUIDirectionSchema as TradeHistoryUIDirectionSchema, TunaLpPositionAction$1 as TunaLpPositionAction, schemas_TunaLpPositionActionClose as TunaLpPositionActionClose, schemas_TunaLpPositionActionCollectAndCompoundFees as TunaLpPositionActionCollectAndCompoundFees, schemas_TunaLpPositionActionCollectFees as TunaLpPositionActionCollectFees, schemas_TunaLpPositionActionDecreaseLiquidity as TunaLpPositionActionDecreaseLiquidity, schemas_TunaLpPositionActionIncreaseLiquidity as TunaLpPositionActionIncreaseLiquidity, schemas_TunaLpPositionActionLiquidate as TunaLpPositionActionLiquidate, schemas_TunaLpPositionActionOpen as TunaLpPositionActionOpen, schemas_TunaLpPositionActionParametersUpdate as TunaLpPositionActionParametersUpdate, schemas_TunaLpPositionActionRepayDebt as TunaLpPositionActionRepayDebt, schemas_TunaLpPositionAutoCompounding as TunaLpPositionAutoCompounding, schemas_TunaLpPositionAutoCompoundingSchema as TunaLpPositionAutoCompoundingSchema, schemas_TunaLpPositionDtoSchema as TunaLpPositionDtoSchema, schemas_TunaLpPositionFlagsSchema as TunaLpPositionFlagsSchema, schemas_TunaLpPositionHistorical as TunaLpPositionHistorical, schemas_TunaLpPositionParameters as TunaLpPositionParameters, schemas_TunaLpPositionTokenPrices as TunaLpPositionTokenPrices, schemas_TunaLpPositionTransfer as TunaLpPositionTransfer, schemas_TunaLpPositionValue as TunaLpPositionValue, schemas_TunaPositionLegacy as TunaPositionLegacy, schemas_TunaPositionPoolSchema as TunaPositionPoolSchema, schemas_TunaPositionPoolToken as TunaPositionPoolToken, schemas_TunaPositionPoolTokenSchema as TunaPositionPoolTokenSchema, schemas_TunaPositionState as TunaPositionState, schemas_TunaPositionStateSchema as TunaPositionStateSchema, schemas_TunaPositionTokenPnlSchema as TunaPositionTokenPnlSchema, TunaSpotPosition$1 as TunaSpotPosition, schemas_TunaSpotPositionState as TunaSpotPositionState, schemas_TunaSpotPositionStateSchema as TunaSpotPositionStateSchema, schemas_UpdateStreamSubscriptionResult as UpdateStreamSubscriptionResult, schemas_UsdPnlSchema as UsdPnlSchema, Vault$1 as Vault, VaultHistoricalStats$1 as VaultHistoricalStats, schemas_WalletSubscriptionTopic as WalletSubscriptionTopic, schemas_WalletSubscriptionTopicSchema as WalletSubscriptionTopicSchema };
|
|
3191
3117
|
}
|
|
3192
3118
|
|
|
3193
3119
|
type NotificationEntityType = z.infer<typeof NotificationEntitySchema>;
|
|
@@ -3215,7 +3141,6 @@ type PoolTicks = z.infer<typeof PoolTicks$1>;
|
|
|
3215
3141
|
type PoolSwap = z.infer<typeof PoolSwap$1>;
|
|
3216
3142
|
type OrderBookEntry = z.infer<typeof OrderBookEntry$1>;
|
|
3217
3143
|
type OrderBook = z.infer<typeof OrderBook$1>;
|
|
3218
|
-
type OrderBookNotificationMeta = z.infer<typeof OrderBookNotificationMeta$1>;
|
|
3219
3144
|
type LendingPosition = z.infer<typeof LendingPosition$1>;
|
|
3220
3145
|
type TunaPosition = z.infer<typeof TunaPositionLegacy>;
|
|
3221
3146
|
type TunaLpPosition = z.infer<typeof TunaLpPositionHistorical>;
|
|
@@ -3464,4 +3389,4 @@ declare class TunaApiClient {
|
|
|
3464
3389
|
private appendUrlSearchParams;
|
|
3465
3390
|
}
|
|
3466
3391
|
|
|
3467
|
-
export { type CloseSpotPositionQuote, type DecreaseSpotPositionQuote, type DurationInMs, type FeesStatsGroup, type GetCloseSpotPositionQuoteArgs, type GetDecreaseSpotPositionQuoteArgs, type GetIncreaseSpotPositionQuoteArgs, type GetLimitOrderQuoteByInputArgs, type GetLimitOrderQuoteByOutputArgs, type GetLpPositionsOptions, type GetPoolPriceCandlesOptions, type GetSwapQuoteByInputArgs, type GetSwapQuoteByOutputArgs, type GetTradableAmountArgs, type GetUserLimitOrdersOptions, type GetUserOrderHistoryOptions, type GetUserTradeHistoryOptions, type IncreaseSpotPositionQuote, type LendingPosition, type LimitOrder, type LimitOrderQuoteByInput, type LimitOrderQuoteByOutput, type LimitOrderStateType, type Market, type Mint, NotificationAction, NotificationEntity, type NotificationEntityType, type OrderBook, type OrderBookEntry, type
|
|
3392
|
+
export { type CloseSpotPositionQuote, type DecreaseSpotPositionQuote, type DurationInMs, type FeesStatsGroup, type GetCloseSpotPositionQuoteArgs, type GetDecreaseSpotPositionQuoteArgs, type GetIncreaseSpotPositionQuoteArgs, type GetLimitOrderQuoteByInputArgs, type GetLimitOrderQuoteByOutputArgs, type GetLpPositionsOptions, type GetPoolPriceCandlesOptions, type GetSwapQuoteByInputArgs, type GetSwapQuoteByOutputArgs, type GetTradableAmountArgs, type GetUserLimitOrdersOptions, type GetUserOrderHistoryOptions, type GetUserTradeHistoryOptions, type IncreaseSpotPositionQuote, type LendingPosition, type LimitOrder, type LimitOrderQuoteByInput, type LimitOrderQuoteByOutput, type LimitOrderStateType, type Market, type Mint, NotificationAction, NotificationEntity, type NotificationEntityType, type OrderBook, type OrderBookEntry, type OrderHistoryEntry, type OrderHistoryOrderTypeType, type OrderHistoryStatusType, type OrderHistoryUIDirectionType, type PaginationMeta, type Pool, type PoolPriceCandle, PoolProvider, type PoolProviderType, PoolSubscriptionTopic, type PoolSubscriptionTopicType, type PoolSwap, type PoolTicks, ProviderFilter, type StakingLeaderboardPage, type StakingLeaderboardPosition, type StakingPosition, type StakingPositionHistoryAction, type StakingPositionHistoryActionType, type StakingRevenueStatsGroup, type StakingTreasury, type StateSnapshot, type SubscriptionPayload, type SwapQuoteByInput, type SwapQuoteByOutput, type Tick, type TokenOraclePrice, type TradableAmount, type TradeHistoryActionType, type TradeHistoryEntry, type TradeHistoryUIDirectionType, TunaApiClient, type TunaApiClientConfig, type TunaLpPosition, type TunaLpPositionAction, type TunaLpPositionV2, type TunaPosition, TunaPositionState, type TunaPositionStateType, type TunaSpotPosition, type TunaSpotPositionStateType, type Vault, type VaultHistoricalStats, WalletSubscriptionTopic, type WalletSubscriptionTopicType, schemas };
|