@crypticdot/defituna-api 1.1.50 → 1.1.52
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 +178 -58
- package/dist/index.d.ts +178 -58
- package/dist/index.js +31 -0
- package/dist/index.mjs +31 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -56,6 +56,13 @@ declare const LimitOrderStateSchema: z.ZodEnum<["open", ...("open" | "partially_
|
|
|
56
56
|
declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
|
|
57
57
|
declare const PoolSubscriptionTopicSchema: z.ZodEnum<["order_book", ...("order_book" | "pool_prices" | "pool_swaps")[]]>;
|
|
58
58
|
declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "lending_positions" | "fusion_limit_orders")[]]>;
|
|
59
|
+
declare const PaginationMeta$1: z.ZodObject<{
|
|
60
|
+
total: z.ZodNumber;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
total: number;
|
|
63
|
+
}, {
|
|
64
|
+
total: number;
|
|
65
|
+
}>;
|
|
59
66
|
declare const Mint$1: z.ZodObject<{
|
|
60
67
|
symbol: z.ZodString;
|
|
61
68
|
mint: z.ZodString;
|
|
@@ -79,10 +86,13 @@ declare const Market$1: z.ZodObject<{
|
|
|
79
86
|
poolFeeRate: z.ZodNumber;
|
|
80
87
|
provider: z.ZodEnum<["orca", ...("orca" | "fusion")[]]>;
|
|
81
88
|
maxLeverage: z.ZodNumber;
|
|
89
|
+
maxSwapSlippage: z.ZodNumber;
|
|
82
90
|
protocolFee: z.ZodNumber;
|
|
91
|
+
rebalanceProtocolFee: z.ZodNumber;
|
|
83
92
|
protocolFeeOnCollateral: z.ZodNumber;
|
|
84
93
|
liquidationFee: z.ZodNumber;
|
|
85
94
|
liquidationThreshold: z.ZodNumber;
|
|
95
|
+
oraclePriceDeviationThreshold: z.ZodNumber;
|
|
86
96
|
limitOrderExecutionFee: z.ZodNumber;
|
|
87
97
|
borrowedFundsA: z.ZodObject<{
|
|
88
98
|
amount: z.ZodBigInt;
|
|
@@ -152,10 +162,13 @@ declare const Market$1: z.ZodObject<{
|
|
|
152
162
|
poolFeeRate: number;
|
|
153
163
|
provider: "orca" | "fusion";
|
|
154
164
|
maxLeverage: number;
|
|
165
|
+
maxSwapSlippage: number;
|
|
155
166
|
protocolFee: number;
|
|
167
|
+
rebalanceProtocolFee: number;
|
|
156
168
|
protocolFeeOnCollateral: number;
|
|
157
169
|
liquidationFee: number;
|
|
158
170
|
liquidationThreshold: number;
|
|
171
|
+
oraclePriceDeviationThreshold: number;
|
|
159
172
|
limitOrderExecutionFee: number;
|
|
160
173
|
borrowedFundsA: {
|
|
161
174
|
amount: bigint;
|
|
@@ -189,10 +202,13 @@ declare const Market$1: z.ZodObject<{
|
|
|
189
202
|
poolFeeRate: number;
|
|
190
203
|
provider: "orca" | "fusion";
|
|
191
204
|
maxLeverage: number;
|
|
205
|
+
maxSwapSlippage: number;
|
|
192
206
|
protocolFee: number;
|
|
207
|
+
rebalanceProtocolFee: number;
|
|
193
208
|
protocolFeeOnCollateral: number;
|
|
194
209
|
liquidationFee: number;
|
|
195
210
|
liquidationThreshold: number;
|
|
211
|
+
oraclePriceDeviationThreshold: number;
|
|
196
212
|
limitOrderExecutionFee: number;
|
|
197
213
|
borrowedFundsA: {
|
|
198
214
|
amount: bigint;
|
|
@@ -273,6 +289,7 @@ declare const Vault$1: z.ZodObject<{
|
|
|
273
289
|
depositedShares: z.ZodBigInt;
|
|
274
290
|
supplyApy: z.ZodNumber;
|
|
275
291
|
borrowApy: z.ZodNumber;
|
|
292
|
+
interestRate: z.ZodBigInt;
|
|
276
293
|
utilization: z.ZodNumber;
|
|
277
294
|
pythOracleFeedId: z.ZodString;
|
|
278
295
|
pythOraclePriceUpdate: z.ZodString;
|
|
@@ -295,6 +312,7 @@ declare const Vault$1: z.ZodObject<{
|
|
|
295
312
|
depositedShares: bigint;
|
|
296
313
|
supplyApy: number;
|
|
297
314
|
borrowApy: number;
|
|
315
|
+
interestRate: bigint;
|
|
298
316
|
utilization: number;
|
|
299
317
|
pythOracleFeedId: string;
|
|
300
318
|
pythOraclePriceUpdate: string;
|
|
@@ -317,6 +335,7 @@ declare const Vault$1: z.ZodObject<{
|
|
|
317
335
|
depositedShares: bigint;
|
|
318
336
|
supplyApy: number;
|
|
319
337
|
borrowApy: number;
|
|
338
|
+
interestRate: bigint;
|
|
320
339
|
utilization: number;
|
|
321
340
|
pythOracleFeedId: string;
|
|
322
341
|
pythOraclePriceUpdate: string;
|
|
@@ -1449,6 +1468,103 @@ declare const StakingPosition$1: z.ZodObject<{
|
|
|
1449
1468
|
lastUnstakedAt: Date | null;
|
|
1450
1469
|
withdrawAvailableAt: Date | null;
|
|
1451
1470
|
}>;
|
|
1471
|
+
declare const StakingLeaderboardPosition$1: z.ZodObject<{
|
|
1472
|
+
rank: z.ZodNumber;
|
|
1473
|
+
address: z.ZodString;
|
|
1474
|
+
owner: z.ZodString;
|
|
1475
|
+
staked: z.ZodObject<{
|
|
1476
|
+
amount: z.ZodBigInt;
|
|
1477
|
+
usd: z.ZodNumber;
|
|
1478
|
+
}, "strip", z.ZodTypeAny, {
|
|
1479
|
+
amount: bigint;
|
|
1480
|
+
usd: number;
|
|
1481
|
+
}, {
|
|
1482
|
+
amount: bigint;
|
|
1483
|
+
usd: number;
|
|
1484
|
+
}>;
|
|
1485
|
+
}, "strip", z.ZodTypeAny, {
|
|
1486
|
+
address: string;
|
|
1487
|
+
owner: string;
|
|
1488
|
+
staked: {
|
|
1489
|
+
amount: bigint;
|
|
1490
|
+
usd: number;
|
|
1491
|
+
};
|
|
1492
|
+
rank: number;
|
|
1493
|
+
}, {
|
|
1494
|
+
address: string;
|
|
1495
|
+
owner: string;
|
|
1496
|
+
staked: {
|
|
1497
|
+
amount: bigint;
|
|
1498
|
+
usd: number;
|
|
1499
|
+
};
|
|
1500
|
+
rank: number;
|
|
1501
|
+
}>;
|
|
1502
|
+
declare const StakingLeaderboardPage$1: z.ZodObject<{
|
|
1503
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1504
|
+
rank: z.ZodNumber;
|
|
1505
|
+
address: z.ZodString;
|
|
1506
|
+
owner: z.ZodString;
|
|
1507
|
+
staked: z.ZodObject<{
|
|
1508
|
+
amount: z.ZodBigInt;
|
|
1509
|
+
usd: z.ZodNumber;
|
|
1510
|
+
}, "strip", z.ZodTypeAny, {
|
|
1511
|
+
amount: bigint;
|
|
1512
|
+
usd: number;
|
|
1513
|
+
}, {
|
|
1514
|
+
amount: bigint;
|
|
1515
|
+
usd: number;
|
|
1516
|
+
}>;
|
|
1517
|
+
}, "strip", z.ZodTypeAny, {
|
|
1518
|
+
address: string;
|
|
1519
|
+
owner: string;
|
|
1520
|
+
staked: {
|
|
1521
|
+
amount: bigint;
|
|
1522
|
+
usd: number;
|
|
1523
|
+
};
|
|
1524
|
+
rank: number;
|
|
1525
|
+
}, {
|
|
1526
|
+
address: string;
|
|
1527
|
+
owner: string;
|
|
1528
|
+
staked: {
|
|
1529
|
+
amount: bigint;
|
|
1530
|
+
usd: number;
|
|
1531
|
+
};
|
|
1532
|
+
rank: number;
|
|
1533
|
+
}>, "many">;
|
|
1534
|
+
meta: z.ZodObject<{
|
|
1535
|
+
total: z.ZodNumber;
|
|
1536
|
+
}, "strip", z.ZodTypeAny, {
|
|
1537
|
+
total: number;
|
|
1538
|
+
}, {
|
|
1539
|
+
total: number;
|
|
1540
|
+
}>;
|
|
1541
|
+
}, "strip", z.ZodTypeAny, {
|
|
1542
|
+
data: {
|
|
1543
|
+
address: string;
|
|
1544
|
+
owner: string;
|
|
1545
|
+
staked: {
|
|
1546
|
+
amount: bigint;
|
|
1547
|
+
usd: number;
|
|
1548
|
+
};
|
|
1549
|
+
rank: number;
|
|
1550
|
+
}[];
|
|
1551
|
+
meta: {
|
|
1552
|
+
total: number;
|
|
1553
|
+
};
|
|
1554
|
+
}, {
|
|
1555
|
+
data: {
|
|
1556
|
+
address: string;
|
|
1557
|
+
owner: string;
|
|
1558
|
+
staked: {
|
|
1559
|
+
amount: bigint;
|
|
1560
|
+
usd: number;
|
|
1561
|
+
};
|
|
1562
|
+
rank: number;
|
|
1563
|
+
}[];
|
|
1564
|
+
meta: {
|
|
1565
|
+
total: number;
|
|
1566
|
+
};
|
|
1567
|
+
}>;
|
|
1452
1568
|
declare const StakingPositionHistoryAction$1: z.ZodObject<{
|
|
1453
1569
|
position: z.ZodString;
|
|
1454
1570
|
action: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards" | "compound_rewards")[]]>;
|
|
@@ -1685,8 +1801,6 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1685
1801
|
}, "strip", z.ZodTypeAny, {
|
|
1686
1802
|
authority: string | null;
|
|
1687
1803
|
id: string;
|
|
1688
|
-
action: "create" | "update";
|
|
1689
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1690
1804
|
data: {
|
|
1691
1805
|
time: Date;
|
|
1692
1806
|
pool: string;
|
|
@@ -1696,12 +1810,12 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1696
1810
|
amountUsd: number;
|
|
1697
1811
|
aToB: boolean;
|
|
1698
1812
|
};
|
|
1813
|
+
action: "create" | "update";
|
|
1814
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1699
1815
|
meta?: any;
|
|
1700
1816
|
} | {
|
|
1701
1817
|
authority: string | null;
|
|
1702
1818
|
id: string;
|
|
1703
|
-
action: "create" | "update";
|
|
1704
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1705
1819
|
data: {
|
|
1706
1820
|
time: Date;
|
|
1707
1821
|
pool: string;
|
|
@@ -1711,12 +1825,12 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1711
1825
|
amountUsd: number;
|
|
1712
1826
|
aToB: boolean;
|
|
1713
1827
|
};
|
|
1828
|
+
action: "create" | "update";
|
|
1829
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1714
1830
|
meta?: any;
|
|
1715
1831
|
}, {
|
|
1716
1832
|
authority: string | null;
|
|
1717
1833
|
id: string;
|
|
1718
|
-
action: "create" | "update";
|
|
1719
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1720
1834
|
data: {
|
|
1721
1835
|
time: Date;
|
|
1722
1836
|
pool: string;
|
|
@@ -1726,12 +1840,12 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1726
1840
|
amountUsd: number;
|
|
1727
1841
|
aToB: boolean;
|
|
1728
1842
|
};
|
|
1843
|
+
action: "create" | "update";
|
|
1844
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1729
1845
|
meta?: any;
|
|
1730
1846
|
} | {
|
|
1731
1847
|
authority: string | null;
|
|
1732
1848
|
id: string;
|
|
1733
|
-
action: "create" | "update";
|
|
1734
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1735
1849
|
data: {
|
|
1736
1850
|
time: Date;
|
|
1737
1851
|
pool: string;
|
|
@@ -1741,6 +1855,8 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1741
1855
|
amountUsd: number;
|
|
1742
1856
|
aToB: boolean;
|
|
1743
1857
|
};
|
|
1858
|
+
action: "create" | "update";
|
|
1859
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1744
1860
|
meta?: any;
|
|
1745
1861
|
}>;
|
|
1746
1862
|
declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
@@ -1790,50 +1906,50 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1790
1906
|
}, "strip", z.ZodTypeAny, {
|
|
1791
1907
|
authority: string | null;
|
|
1792
1908
|
id: string;
|
|
1793
|
-
action: "create" | "update";
|
|
1794
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1795
1909
|
data: {
|
|
1796
1910
|
price: number;
|
|
1797
1911
|
time: Date;
|
|
1798
1912
|
sqrtPrice: bigint;
|
|
1799
1913
|
pool: string;
|
|
1800
1914
|
};
|
|
1915
|
+
action: "create" | "update";
|
|
1916
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1801
1917
|
meta?: any;
|
|
1802
1918
|
} | {
|
|
1803
1919
|
authority: string | null;
|
|
1804
1920
|
id: string;
|
|
1805
|
-
action: "create" | "update";
|
|
1806
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1807
1921
|
data: {
|
|
1808
1922
|
price: number;
|
|
1809
1923
|
time: Date;
|
|
1810
1924
|
sqrtPrice: bigint;
|
|
1811
1925
|
pool: string;
|
|
1812
1926
|
};
|
|
1927
|
+
action: "create" | "update";
|
|
1928
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1813
1929
|
meta?: any;
|
|
1814
1930
|
}, {
|
|
1815
1931
|
authority: string | null;
|
|
1816
1932
|
id: string;
|
|
1817
|
-
action: "create" | "update";
|
|
1818
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1819
1933
|
data: {
|
|
1820
1934
|
price: number;
|
|
1821
1935
|
time: Date;
|
|
1822
1936
|
sqrtPrice: bigint;
|
|
1823
1937
|
pool: string;
|
|
1824
1938
|
};
|
|
1939
|
+
action: "create" | "update";
|
|
1940
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1825
1941
|
meta?: any;
|
|
1826
1942
|
} | {
|
|
1827
1943
|
authority: string | null;
|
|
1828
1944
|
id: string;
|
|
1829
|
-
action: "create" | "update";
|
|
1830
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1831
1945
|
data: {
|
|
1832
1946
|
price: number;
|
|
1833
1947
|
time: Date;
|
|
1834
1948
|
sqrtPrice: bigint;
|
|
1835
1949
|
pool: string;
|
|
1836
1950
|
};
|
|
1951
|
+
action: "create" | "update";
|
|
1952
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1837
1953
|
meta?: any;
|
|
1838
1954
|
}>;
|
|
1839
1955
|
declare const OrderBookNotification: z.ZodObject<{
|
|
@@ -1993,8 +2109,6 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1993
2109
|
}, "strip", z.ZodTypeAny, {
|
|
1994
2110
|
authority: string | null;
|
|
1995
2111
|
id: string;
|
|
1996
|
-
action: "create" | "update";
|
|
1997
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1998
2112
|
data: {
|
|
1999
2113
|
entries: {
|
|
2000
2114
|
price: number;
|
|
@@ -2015,11 +2129,11 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
2015
2129
|
priceStep: number;
|
|
2016
2130
|
inverted: boolean;
|
|
2017
2131
|
} | null | undefined;
|
|
2132
|
+
action: "create" | "update";
|
|
2133
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2018
2134
|
} | {
|
|
2019
2135
|
authority: string | null;
|
|
2020
2136
|
id: string;
|
|
2021
|
-
action: "create" | "update";
|
|
2022
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2023
2137
|
data: {
|
|
2024
2138
|
entries: {
|
|
2025
2139
|
price: number;
|
|
@@ -2040,11 +2154,11 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
2040
2154
|
priceStep: number;
|
|
2041
2155
|
inverted: boolean;
|
|
2042
2156
|
} | null | undefined;
|
|
2157
|
+
action: "create" | "update";
|
|
2158
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2043
2159
|
}, {
|
|
2044
2160
|
authority: string | null;
|
|
2045
2161
|
id: string;
|
|
2046
|
-
action: "create" | "update";
|
|
2047
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2048
2162
|
data: {
|
|
2049
2163
|
entries: {
|
|
2050
2164
|
price: number;
|
|
@@ -2065,11 +2179,11 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
2065
2179
|
priceStep: number;
|
|
2066
2180
|
inverted: boolean;
|
|
2067
2181
|
} | null | undefined;
|
|
2182
|
+
action: "create" | "update";
|
|
2183
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2068
2184
|
} | {
|
|
2069
2185
|
authority: string | null;
|
|
2070
2186
|
id: string;
|
|
2071
|
-
action: "create" | "update";
|
|
2072
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2073
2187
|
data: {
|
|
2074
2188
|
entries: {
|
|
2075
2189
|
price: number;
|
|
@@ -2090,6 +2204,8 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
2090
2204
|
priceStep: number;
|
|
2091
2205
|
inverted: boolean;
|
|
2092
2206
|
} | null | undefined;
|
|
2207
|
+
action: "create" | "update";
|
|
2208
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2093
2209
|
}>;
|
|
2094
2210
|
declare const TunaPositionNotification: z.ZodObject<{
|
|
2095
2211
|
meta: z.ZodTypeAny;
|
|
@@ -2840,8 +2956,6 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2840
2956
|
}, "strip", z.ZodTypeAny, {
|
|
2841
2957
|
authority: string | null;
|
|
2842
2958
|
id: string;
|
|
2843
|
-
action: "create" | "update";
|
|
2844
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2845
2959
|
data: {
|
|
2846
2960
|
address: string;
|
|
2847
2961
|
liquidity: bigint;
|
|
@@ -2931,12 +3045,12 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2931
3045
|
updatedAtSlot: bigint;
|
|
2932
3046
|
closedAt: Date | null;
|
|
2933
3047
|
};
|
|
3048
|
+
action: "create" | "update";
|
|
3049
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2934
3050
|
meta?: any;
|
|
2935
3051
|
} | {
|
|
2936
3052
|
authority: string | null;
|
|
2937
3053
|
id: string;
|
|
2938
|
-
action: "create" | "update";
|
|
2939
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2940
3054
|
data: {
|
|
2941
3055
|
address: string;
|
|
2942
3056
|
liquidity: bigint;
|
|
@@ -3026,12 +3140,12 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3026
3140
|
updatedAtSlot: bigint;
|
|
3027
3141
|
closedAt: Date | null;
|
|
3028
3142
|
};
|
|
3143
|
+
action: "create" | "update";
|
|
3144
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3029
3145
|
meta?: any;
|
|
3030
3146
|
}, {
|
|
3031
3147
|
authority: string | null;
|
|
3032
3148
|
id: string;
|
|
3033
|
-
action: "create" | "update";
|
|
3034
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3035
3149
|
data: {
|
|
3036
3150
|
address: string;
|
|
3037
3151
|
liquidity: bigint;
|
|
@@ -3121,12 +3235,12 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3121
3235
|
updatedAtSlot: bigint;
|
|
3122
3236
|
closedAt: Date | null;
|
|
3123
3237
|
};
|
|
3238
|
+
action: "create" | "update";
|
|
3239
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3124
3240
|
meta?: any;
|
|
3125
3241
|
} | {
|
|
3126
3242
|
authority: string | null;
|
|
3127
3243
|
id: string;
|
|
3128
|
-
action: "create" | "update";
|
|
3129
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3130
3244
|
data: {
|
|
3131
3245
|
address: string;
|
|
3132
3246
|
liquidity: bigint;
|
|
@@ -3216,6 +3330,8 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3216
3330
|
updatedAtSlot: bigint;
|
|
3217
3331
|
closedAt: Date | null;
|
|
3218
3332
|
};
|
|
3333
|
+
action: "create" | "update";
|
|
3334
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3219
3335
|
meta?: any;
|
|
3220
3336
|
}>;
|
|
3221
3337
|
declare const LendingPositionNotification: z.ZodObject<{
|
|
@@ -3343,8 +3459,6 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3343
3459
|
}, "strip", z.ZodTypeAny, {
|
|
3344
3460
|
authority: string | null;
|
|
3345
3461
|
id: string;
|
|
3346
|
-
action: "create" | "update";
|
|
3347
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3348
3462
|
data: {
|
|
3349
3463
|
mint: string;
|
|
3350
3464
|
address: string;
|
|
@@ -3360,12 +3474,12 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3360
3474
|
usd: number;
|
|
3361
3475
|
};
|
|
3362
3476
|
};
|
|
3477
|
+
action: "create" | "update";
|
|
3478
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3363
3479
|
meta?: any;
|
|
3364
3480
|
} | {
|
|
3365
3481
|
authority: string | null;
|
|
3366
3482
|
id: string;
|
|
3367
|
-
action: "create" | "update";
|
|
3368
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3369
3483
|
data: {
|
|
3370
3484
|
mint: string;
|
|
3371
3485
|
address: string;
|
|
@@ -3381,12 +3495,12 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3381
3495
|
usd: number;
|
|
3382
3496
|
};
|
|
3383
3497
|
};
|
|
3498
|
+
action: "create" | "update";
|
|
3499
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3384
3500
|
meta?: any;
|
|
3385
3501
|
}, {
|
|
3386
3502
|
authority: string | null;
|
|
3387
3503
|
id: string;
|
|
3388
|
-
action: "create" | "update";
|
|
3389
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3390
3504
|
data: {
|
|
3391
3505
|
mint: string;
|
|
3392
3506
|
address: string;
|
|
@@ -3402,12 +3516,12 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3402
3516
|
usd: number;
|
|
3403
3517
|
};
|
|
3404
3518
|
};
|
|
3519
|
+
action: "create" | "update";
|
|
3520
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3405
3521
|
meta?: any;
|
|
3406
3522
|
} | {
|
|
3407
3523
|
authority: string | null;
|
|
3408
3524
|
id: string;
|
|
3409
|
-
action: "create" | "update";
|
|
3410
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3411
3525
|
data: {
|
|
3412
3526
|
mint: string;
|
|
3413
3527
|
address: string;
|
|
@@ -3423,6 +3537,8 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3423
3537
|
usd: number;
|
|
3424
3538
|
};
|
|
3425
3539
|
};
|
|
3540
|
+
action: "create" | "update";
|
|
3541
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3426
3542
|
meta?: any;
|
|
3427
3543
|
}>;
|
|
3428
3544
|
declare const LimitOrderNotification: z.ZodObject<{
|
|
@@ -3586,8 +3702,6 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3586
3702
|
}, "strip", z.ZodTypeAny, {
|
|
3587
3703
|
authority: string | null;
|
|
3588
3704
|
id: string;
|
|
3589
|
-
action: "create" | "update";
|
|
3590
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3591
3705
|
data: {
|
|
3592
3706
|
mint: string;
|
|
3593
3707
|
address: string;
|
|
@@ -3609,12 +3723,12 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3609
3723
|
openTxSignature: string;
|
|
3610
3724
|
closeTxSignature: string | null;
|
|
3611
3725
|
};
|
|
3726
|
+
action: "create" | "update";
|
|
3727
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3612
3728
|
meta?: any;
|
|
3613
3729
|
} | {
|
|
3614
3730
|
authority: string | null;
|
|
3615
3731
|
id: string;
|
|
3616
|
-
action: "create" | "update";
|
|
3617
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3618
3732
|
data: {
|
|
3619
3733
|
mint: string;
|
|
3620
3734
|
address: string;
|
|
@@ -3636,12 +3750,12 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3636
3750
|
openTxSignature: string;
|
|
3637
3751
|
closeTxSignature: string | null;
|
|
3638
3752
|
};
|
|
3753
|
+
action: "create" | "update";
|
|
3754
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3639
3755
|
meta?: any;
|
|
3640
3756
|
}, {
|
|
3641
3757
|
authority: string | null;
|
|
3642
3758
|
id: string;
|
|
3643
|
-
action: "create" | "update";
|
|
3644
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3645
3759
|
data: {
|
|
3646
3760
|
mint: string;
|
|
3647
3761
|
address: string;
|
|
@@ -3663,12 +3777,12 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3663
3777
|
openTxSignature: string;
|
|
3664
3778
|
closeTxSignature: string | null;
|
|
3665
3779
|
};
|
|
3780
|
+
action: "create" | "update";
|
|
3781
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3666
3782
|
meta?: any;
|
|
3667
3783
|
} | {
|
|
3668
3784
|
authority: string | null;
|
|
3669
3785
|
id: string;
|
|
3670
|
-
action: "create" | "update";
|
|
3671
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3672
3786
|
data: {
|
|
3673
3787
|
mint: string;
|
|
3674
3788
|
address: string;
|
|
@@ -3690,6 +3804,8 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3690
3804
|
openTxSignature: string;
|
|
3691
3805
|
closeTxSignature: string | null;
|
|
3692
3806
|
};
|
|
3807
|
+
action: "create" | "update";
|
|
3808
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3693
3809
|
meta?: any;
|
|
3694
3810
|
}>;
|
|
3695
3811
|
declare const StakingPositionNotification: z.ZodObject<{
|
|
@@ -4043,8 +4159,6 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
4043
4159
|
}, "strip", z.ZodTypeAny, {
|
|
4044
4160
|
authority: string | null;
|
|
4045
4161
|
id: string;
|
|
4046
|
-
action: "create" | "update";
|
|
4047
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4048
4162
|
data: {
|
|
4049
4163
|
address: string;
|
|
4050
4164
|
owner: string;
|
|
@@ -4081,12 +4195,12 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
4081
4195
|
lastUnstakedAt: Date | null;
|
|
4082
4196
|
withdrawAvailableAt: Date | null;
|
|
4083
4197
|
};
|
|
4198
|
+
action: "create" | "update";
|
|
4199
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4084
4200
|
meta?: any;
|
|
4085
4201
|
} | {
|
|
4086
4202
|
authority: string | null;
|
|
4087
4203
|
id: string;
|
|
4088
|
-
action: "create" | "update";
|
|
4089
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4090
4204
|
data: {
|
|
4091
4205
|
address: string;
|
|
4092
4206
|
owner: string;
|
|
@@ -4123,12 +4237,12 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
4123
4237
|
lastUnstakedAt: Date | null;
|
|
4124
4238
|
withdrawAvailableAt: Date | null;
|
|
4125
4239
|
};
|
|
4240
|
+
action: "create" | "update";
|
|
4241
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4126
4242
|
meta?: any;
|
|
4127
4243
|
}, {
|
|
4128
4244
|
authority: string | null;
|
|
4129
4245
|
id: string;
|
|
4130
|
-
action: "create" | "update";
|
|
4131
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4132
4246
|
data: {
|
|
4133
4247
|
address: string;
|
|
4134
4248
|
owner: string;
|
|
@@ -4165,12 +4279,12 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
4165
4279
|
lastUnstakedAt: Date | null;
|
|
4166
4280
|
withdrawAvailableAt: Date | null;
|
|
4167
4281
|
};
|
|
4282
|
+
action: "create" | "update";
|
|
4283
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4168
4284
|
meta?: any;
|
|
4169
4285
|
} | {
|
|
4170
4286
|
authority: string | null;
|
|
4171
4287
|
id: string;
|
|
4172
|
-
action: "create" | "update";
|
|
4173
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4174
4288
|
data: {
|
|
4175
4289
|
address: string;
|
|
4176
4290
|
owner: string;
|
|
@@ -4207,6 +4321,8 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
4207
4321
|
lastUnstakedAt: Date | null;
|
|
4208
4322
|
withdrawAvailableAt: Date | null;
|
|
4209
4323
|
};
|
|
4324
|
+
action: "create" | "update";
|
|
4325
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4210
4326
|
meta?: any;
|
|
4211
4327
|
}>;
|
|
4212
4328
|
|
|
@@ -4235,7 +4351,7 @@ declare const schemas_UpdateStreamSubscriptionResult: typeof UpdateStreamSubscri
|
|
|
4235
4351
|
declare const schemas_WalletSubscriptionTopic: typeof WalletSubscriptionTopic;
|
|
4236
4352
|
declare const schemas_WalletSubscriptionTopicSchema: typeof WalletSubscriptionTopicSchema;
|
|
4237
4353
|
declare namespace schemas {
|
|
4238
|
-
export { FeesStatsGroup$1 as FeesStatsGroup, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, schemas_LimitOrderNotification as LimitOrderNotification, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, 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, schemas_OrderBookNotification as OrderBookNotification, schemas_OrderBookNotificationMeta as OrderBookNotificationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, PoolPriceUpdate$1 as PoolPriceUpdate, schemas_PoolPriceUpdateNotification as PoolPriceUpdateNotification, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema, schemas_PoolSubscriptionTopic as PoolSubscriptionTopic, schemas_PoolSubscriptionTopicSchema as PoolSubscriptionTopicSchema, PoolSwap$1 as PoolSwap, schemas_PoolSwapNotification as PoolSwapNotification, PoolTicks$1 as PoolTicks, 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, Tick$1 as Tick, TokenOraclePrice$1 as TokenOraclePrice, TunaPosition$1 as TunaPosition, schemas_TunaPositionNotification as TunaPositionNotification, schemas_TunaPositionState as TunaPositionState, schemas_TunaPositionStateSchema as TunaPositionStateSchema, schemas_UpdateStreamSubscriptionResult as UpdateStreamSubscriptionResult, Vault$1 as Vault, VaultHistoricalStats$1 as VaultHistoricalStats, schemas_WalletSubscriptionTopic as WalletSubscriptionTopic, schemas_WalletSubscriptionTopicSchema as WalletSubscriptionTopicSchema };
|
|
4354
|
+
export { FeesStatsGroup$1 as FeesStatsGroup, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, schemas_LimitOrderNotification as LimitOrderNotification, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, 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, schemas_OrderBookNotification as OrderBookNotification, schemas_OrderBookNotificationMeta as OrderBookNotificationMeta, PaginationMeta$1 as PaginationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, PoolPriceUpdate$1 as PoolPriceUpdate, schemas_PoolPriceUpdateNotification as PoolPriceUpdateNotification, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema, 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, Tick$1 as Tick, TokenOraclePrice$1 as TokenOraclePrice, TunaPosition$1 as TunaPosition, schemas_TunaPositionNotification as TunaPositionNotification, schemas_TunaPositionState as TunaPositionState, schemas_TunaPositionStateSchema as TunaPositionStateSchema, schemas_UpdateStreamSubscriptionResult as UpdateStreamSubscriptionResult, Vault$1 as Vault, VaultHistoricalStats$1 as VaultHistoricalStats, schemas_WalletSubscriptionTopic as WalletSubscriptionTopic, schemas_WalletSubscriptionTopicSchema as WalletSubscriptionTopicSchema };
|
|
4239
4355
|
}
|
|
4240
4356
|
|
|
4241
4357
|
type PoolProviderType = z.infer<typeof PoolProviderSchema>;
|
|
@@ -4244,6 +4360,7 @@ type LimitOrderStateType = z.infer<typeof LimitOrderStateSchema>;
|
|
|
4244
4360
|
type StakingPositionHistoryActionType = z.infer<typeof StakingPositionHistoryActionTypeSchema>;
|
|
4245
4361
|
type PoolSubscriptionTopicType = z.infer<typeof PoolSubscriptionTopicSchema>;
|
|
4246
4362
|
type WalletSubscriptionTopicType = z.infer<typeof WalletSubscriptionTopicSchema>;
|
|
4363
|
+
type PaginationMeta = z.infer<typeof PaginationMeta$1>;
|
|
4247
4364
|
type Mint = z.infer<typeof Mint$1>;
|
|
4248
4365
|
type Market = z.infer<typeof Market$1>;
|
|
4249
4366
|
type TokenOraclePrice = z.infer<typeof TokenOraclePrice$1>;
|
|
@@ -4260,6 +4377,8 @@ type TunaPosition = z.infer<typeof TunaPosition$1>;
|
|
|
4260
4377
|
type LimitOrder = z.infer<typeof LimitOrder$1>;
|
|
4261
4378
|
type StakingPosition = z.infer<typeof StakingPosition$1>;
|
|
4262
4379
|
type StakingTreasury = z.infer<typeof StakingTreasury$1>;
|
|
4380
|
+
type StakingLeaderboardPage = z.infer<typeof StakingLeaderboardPage$1>;
|
|
4381
|
+
type StakingLeaderboardPosition = z.infer<typeof StakingLeaderboardPosition$1>;
|
|
4263
4382
|
type StakingPositionHistoryAction = z.infer<typeof StakingPositionHistoryAction$1>;
|
|
4264
4383
|
type PoolPriceCandle = z.infer<typeof PoolPriceCandle$1>;
|
|
4265
4384
|
type FeesStatsGroup = z.infer<typeof FeesStatsGroup$1>;
|
|
@@ -4339,6 +4458,7 @@ declare class TunaApiClient {
|
|
|
4339
4458
|
getPoolOrderBook(poolAddress: string, priceStep: number, inverted: boolean): Promise<OrderBook>;
|
|
4340
4459
|
getPoolPriceCandles(poolAddress: string, options: GetPoolPriceCandlesOptions): Promise<PoolPriceCandle[]>;
|
|
4341
4460
|
getStakingTreasury(): Promise<StakingTreasury>;
|
|
4461
|
+
getStakingLeaderboard(page: number, pageSize: number): Promise<StakingLeaderboardPage>;
|
|
4342
4462
|
getUserLendingPositions(userAddress: string): Promise<LendingPosition[]>;
|
|
4343
4463
|
getUserLendingPositionByAddress(userAddress: string, lendingPositionAddress: string): Promise<LendingPosition>;
|
|
4344
4464
|
getUserTunaPositions(userAddress: string): Promise<TunaPosition[]>;
|
|
@@ -4355,4 +4475,4 @@ declare class TunaApiClient {
|
|
|
4355
4475
|
private appendUrlSearchParams;
|
|
4356
4476
|
}
|
|
4357
4477
|
|
|
4358
|
-
export { type DurationInMs, type FeesStatsGroup, type GetPoolPriceCandlesOptions, type LendingPosition, type LimitOrder, type LimitOrderStateType, type Market, type Mint, NotificationAction, NotificationEntity, type OrderBook, type OrderBookEntry, type Pool, type PoolPriceCandle, type PoolPriceUpdate, PoolProvider, type PoolProviderType, type PoolSubscriptionTopicType, type PoolSwap, type PoolTicks, ProviderFilter, type StakingPosition, type StakingPositionHistoryAction, type StakingPositionHistoryActionType, type StakingRevenueStatsGroup, type StakingTreasury, type SubscriptionPayload, type Tick, type TokenOraclePrice, TunaApiClient, type TunaApiClientConfig, type TunaPosition, TunaPositionState, type TunaPositionStateType, type Vault, type VaultHistoricalStats, type WalletSubscriptionTopicType, schemas };
|
|
4478
|
+
export { type DurationInMs, type FeesStatsGroup, type GetPoolPriceCandlesOptions, type LendingPosition, type LimitOrder, type LimitOrderStateType, type Market, type Mint, NotificationAction, NotificationEntity, type OrderBook, type OrderBookEntry, type PaginationMeta, type Pool, type PoolPriceCandle, type PoolPriceUpdate, PoolProvider, type PoolProviderType, type PoolSubscriptionTopicType, type PoolSwap, type PoolTicks, ProviderFilter, type StakingLeaderboardPage, type StakingLeaderboardPosition, type StakingPosition, type StakingPositionHistoryAction, type StakingPositionHistoryActionType, type StakingRevenueStatsGroup, type StakingTreasury, type SubscriptionPayload, type Tick, type TokenOraclePrice, TunaApiClient, type TunaApiClientConfig, type TunaPosition, TunaPositionState, type TunaPositionStateType, type Vault, type VaultHistoricalStats, type WalletSubscriptionTopicType, schemas };
|