@crypticdot/defituna-api 1.1.40 → 1.1.42
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 +48 -44
- package/dist/index.d.ts +48 -44
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6,6 +6,7 @@ declare const NotificationEntity: {
|
|
|
6
6
|
readonly ORDER_BOOK: "order_book";
|
|
7
7
|
readonly TUNA_POSITION: "tuna_position";
|
|
8
8
|
readonly LENDING_POSITION: "lending_position";
|
|
9
|
+
readonly STAKING_POSITION: "staking_position";
|
|
9
10
|
readonly FUSION_LIMIT_ORDER: "fusion_limit_order";
|
|
10
11
|
};
|
|
11
12
|
declare const NotificationAction: {
|
|
@@ -46,14 +47,14 @@ declare const WalletSubscriptionTopic: {
|
|
|
46
47
|
readonly FUSION_LIMIT_ORDERS: "fusion_limit_orders";
|
|
47
48
|
readonly STAKING_POSITION: "staking_position";
|
|
48
49
|
};
|
|
49
|
-
declare const NotificationEntitySchema: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
50
|
+
declare const NotificationEntitySchema: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
50
51
|
declare const NotificationActionSchema: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
51
52
|
declare const PoolProviderSchema: z.ZodEnum<["orca", ...("orca" | "fusion")[]]>;
|
|
52
53
|
declare const TunaPositionStateSchema: z.ZodEnum<["open", ...("open" | "liquidated" | "closed_by_limit_order" | "closed")[]]>;
|
|
53
54
|
declare const LimitOrderStateSchema: z.ZodEnum<["open", ...("open" | "partially_filled" | "filled" | "complete" | "cancelled")[]]>;
|
|
54
55
|
declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
|
|
55
56
|
declare const PoolSubscriptionTopicSchema: z.ZodEnum<["order_book", ...("order_book" | "pool_prices" | "pool_swaps")[]]>;
|
|
56
|
-
declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("
|
|
57
|
+
declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "lending_positions" | "fusion_limit_orders")[]]>;
|
|
57
58
|
declare const Mint$1: z.ZodObject<{
|
|
58
59
|
symbol: z.ZodString;
|
|
59
60
|
mint: z.ZodString;
|
|
@@ -376,6 +377,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
376
377
|
tokenAVault: z.ZodString;
|
|
377
378
|
tokenBVault: z.ZodString;
|
|
378
379
|
tvlUsdc: z.ZodNumber;
|
|
380
|
+
priceChange24H: z.ZodNumber;
|
|
379
381
|
tickSpacing: z.ZodNumber;
|
|
380
382
|
feeRate: z.ZodNumber;
|
|
381
383
|
protocolFeeRate: z.ZodNumber;
|
|
@@ -478,6 +480,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
478
480
|
tokenAVault: string;
|
|
479
481
|
tokenBVault: string;
|
|
480
482
|
tvlUsdc: number;
|
|
483
|
+
priceChange24H: number;
|
|
481
484
|
tickSpacing: number;
|
|
482
485
|
feeRate: number;
|
|
483
486
|
protocolFeeRate: number;
|
|
@@ -512,6 +515,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
512
515
|
tokenAVault: string;
|
|
513
516
|
tokenBVault: string;
|
|
514
517
|
tvlUsdc: number;
|
|
518
|
+
priceChange24H: number;
|
|
515
519
|
tickSpacing: number;
|
|
516
520
|
feeRate: number;
|
|
517
521
|
protocolFeeRate: number;
|
|
@@ -1492,7 +1496,7 @@ declare const OrderBookNotificationMeta: z.ZodObject<{
|
|
|
1492
1496
|
}>;
|
|
1493
1497
|
declare const PoolSwapNotification: z.ZodObject<{
|
|
1494
1498
|
meta: z.ZodTypeAny;
|
|
1495
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1499
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1496
1500
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1497
1501
|
data: z.ZodObject<{
|
|
1498
1502
|
id: z.ZodString;
|
|
@@ -1523,7 +1527,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1523
1527
|
authority: z.ZodNullable<z.ZodString>;
|
|
1524
1528
|
} | {
|
|
1525
1529
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
1526
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1530
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1527
1531
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1528
1532
|
data: z.ZodObject<{
|
|
1529
1533
|
id: z.ZodString;
|
|
@@ -1556,7 +1560,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1556
1560
|
authority: string | null;
|
|
1557
1561
|
id: string;
|
|
1558
1562
|
action: "create" | "update";
|
|
1559
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1563
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1560
1564
|
data: {
|
|
1561
1565
|
time: Date;
|
|
1562
1566
|
pool: string;
|
|
@@ -1571,7 +1575,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1571
1575
|
authority: string | null;
|
|
1572
1576
|
id: string;
|
|
1573
1577
|
action: "create" | "update";
|
|
1574
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1578
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1575
1579
|
data: {
|
|
1576
1580
|
time: Date;
|
|
1577
1581
|
pool: string;
|
|
@@ -1586,7 +1590,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1586
1590
|
authority: string | null;
|
|
1587
1591
|
id: string;
|
|
1588
1592
|
action: "create" | "update";
|
|
1589
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1593
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1590
1594
|
data: {
|
|
1591
1595
|
time: Date;
|
|
1592
1596
|
pool: string;
|
|
@@ -1601,7 +1605,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1601
1605
|
authority: string | null;
|
|
1602
1606
|
id: string;
|
|
1603
1607
|
action: "create" | "update";
|
|
1604
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1608
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1605
1609
|
data: {
|
|
1606
1610
|
time: Date;
|
|
1607
1611
|
pool: string;
|
|
@@ -1615,7 +1619,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1615
1619
|
}>;
|
|
1616
1620
|
declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
1617
1621
|
meta: z.ZodTypeAny;
|
|
1618
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1622
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1619
1623
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1620
1624
|
data: z.ZodObject<{
|
|
1621
1625
|
pool: z.ZodString;
|
|
@@ -1637,7 +1641,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1637
1641
|
authority: z.ZodNullable<z.ZodString>;
|
|
1638
1642
|
} | {
|
|
1639
1643
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
1640
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1644
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1641
1645
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1642
1646
|
data: z.ZodObject<{
|
|
1643
1647
|
pool: z.ZodString;
|
|
@@ -1661,7 +1665,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1661
1665
|
authority: string | null;
|
|
1662
1666
|
id: string;
|
|
1663
1667
|
action: "create" | "update";
|
|
1664
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1668
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1665
1669
|
data: {
|
|
1666
1670
|
price: number;
|
|
1667
1671
|
time: Date;
|
|
@@ -1673,7 +1677,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1673
1677
|
authority: string | null;
|
|
1674
1678
|
id: string;
|
|
1675
1679
|
action: "create" | "update";
|
|
1676
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1680
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1677
1681
|
data: {
|
|
1678
1682
|
price: number;
|
|
1679
1683
|
time: Date;
|
|
@@ -1685,7 +1689,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1685
1689
|
authority: string | null;
|
|
1686
1690
|
id: string;
|
|
1687
1691
|
action: "create" | "update";
|
|
1688
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1692
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1689
1693
|
data: {
|
|
1690
1694
|
price: number;
|
|
1691
1695
|
time: Date;
|
|
@@ -1697,7 +1701,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1697
1701
|
authority: string | null;
|
|
1698
1702
|
id: string;
|
|
1699
1703
|
action: "create" | "update";
|
|
1700
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1704
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1701
1705
|
data: {
|
|
1702
1706
|
price: number;
|
|
1703
1707
|
time: Date;
|
|
@@ -1720,7 +1724,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1720
1724
|
priceStep: number;
|
|
1721
1725
|
inverted: boolean;
|
|
1722
1726
|
}>;
|
|
1723
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1727
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1724
1728
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1725
1729
|
data: z.ZodObject<{
|
|
1726
1730
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -1791,7 +1795,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1791
1795
|
authority: z.ZodNullable<z.ZodString>;
|
|
1792
1796
|
} | {
|
|
1793
1797
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
1794
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1798
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1795
1799
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1796
1800
|
data: z.ZodObject<{
|
|
1797
1801
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -1864,7 +1868,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1864
1868
|
authority: string | null;
|
|
1865
1869
|
id: string;
|
|
1866
1870
|
action: "create" | "update";
|
|
1867
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1871
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1868
1872
|
data: {
|
|
1869
1873
|
entries: {
|
|
1870
1874
|
price: number;
|
|
@@ -1889,7 +1893,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1889
1893
|
authority: string | null;
|
|
1890
1894
|
id: string;
|
|
1891
1895
|
action: "create" | "update";
|
|
1892
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1896
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1893
1897
|
data: {
|
|
1894
1898
|
entries: {
|
|
1895
1899
|
price: number;
|
|
@@ -1914,7 +1918,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1914
1918
|
authority: string | null;
|
|
1915
1919
|
id: string;
|
|
1916
1920
|
action: "create" | "update";
|
|
1917
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1921
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1918
1922
|
data: {
|
|
1919
1923
|
entries: {
|
|
1920
1924
|
price: number;
|
|
@@ -1939,7 +1943,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1939
1943
|
authority: string | null;
|
|
1940
1944
|
id: string;
|
|
1941
1945
|
action: "create" | "update";
|
|
1942
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1946
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1943
1947
|
data: {
|
|
1944
1948
|
entries: {
|
|
1945
1949
|
price: number;
|
|
@@ -1963,7 +1967,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1963
1967
|
}>;
|
|
1964
1968
|
declare const TunaPositionNotification: z.ZodObject<{
|
|
1965
1969
|
meta: z.ZodTypeAny;
|
|
1966
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1970
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1967
1971
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1968
1972
|
data: z.ZodObject<{
|
|
1969
1973
|
address: z.ZodString;
|
|
@@ -2336,7 +2340,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2336
2340
|
authority: z.ZodNullable<z.ZodString>;
|
|
2337
2341
|
} | {
|
|
2338
2342
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
2339
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
2343
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
2340
2344
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
2341
2345
|
data: z.ZodObject<{
|
|
2342
2346
|
address: z.ZodString;
|
|
@@ -2711,7 +2715,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2711
2715
|
authority: string | null;
|
|
2712
2716
|
id: string;
|
|
2713
2717
|
action: "create" | "update";
|
|
2714
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
2718
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2715
2719
|
data: {
|
|
2716
2720
|
address: string;
|
|
2717
2721
|
liquidity: bigint;
|
|
@@ -2806,7 +2810,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2806
2810
|
authority: string | null;
|
|
2807
2811
|
id: string;
|
|
2808
2812
|
action: "create" | "update";
|
|
2809
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
2813
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2810
2814
|
data: {
|
|
2811
2815
|
address: string;
|
|
2812
2816
|
liquidity: bigint;
|
|
@@ -2901,7 +2905,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2901
2905
|
authority: string | null;
|
|
2902
2906
|
id: string;
|
|
2903
2907
|
action: "create" | "update";
|
|
2904
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
2908
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2905
2909
|
data: {
|
|
2906
2910
|
address: string;
|
|
2907
2911
|
liquidity: bigint;
|
|
@@ -2996,7 +3000,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2996
3000
|
authority: string | null;
|
|
2997
3001
|
id: string;
|
|
2998
3002
|
action: "create" | "update";
|
|
2999
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3003
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3000
3004
|
data: {
|
|
3001
3005
|
address: string;
|
|
3002
3006
|
liquidity: bigint;
|
|
@@ -3090,7 +3094,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3090
3094
|
}>;
|
|
3091
3095
|
declare const LendingPositionNotification: z.ZodObject<{
|
|
3092
3096
|
meta: z.ZodTypeAny;
|
|
3093
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3097
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3094
3098
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3095
3099
|
data: z.ZodObject<{
|
|
3096
3100
|
address: z.ZodString;
|
|
@@ -3151,7 +3155,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3151
3155
|
authority: z.ZodNullable<z.ZodString>;
|
|
3152
3156
|
} | {
|
|
3153
3157
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
3154
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3158
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3155
3159
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3156
3160
|
data: z.ZodObject<{
|
|
3157
3161
|
address: z.ZodString;
|
|
@@ -3214,7 +3218,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3214
3218
|
authority: string | null;
|
|
3215
3219
|
id: string;
|
|
3216
3220
|
action: "create" | "update";
|
|
3217
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3221
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3218
3222
|
data: {
|
|
3219
3223
|
mint: string;
|
|
3220
3224
|
address: string;
|
|
@@ -3235,7 +3239,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3235
3239
|
authority: string | null;
|
|
3236
3240
|
id: string;
|
|
3237
3241
|
action: "create" | "update";
|
|
3238
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3242
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3239
3243
|
data: {
|
|
3240
3244
|
mint: string;
|
|
3241
3245
|
address: string;
|
|
@@ -3256,7 +3260,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3256
3260
|
authority: string | null;
|
|
3257
3261
|
id: string;
|
|
3258
3262
|
action: "create" | "update";
|
|
3259
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3263
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3260
3264
|
data: {
|
|
3261
3265
|
mint: string;
|
|
3262
3266
|
address: string;
|
|
@@ -3277,7 +3281,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3277
3281
|
authority: string | null;
|
|
3278
3282
|
id: string;
|
|
3279
3283
|
action: "create" | "update";
|
|
3280
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3284
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3281
3285
|
data: {
|
|
3282
3286
|
mint: string;
|
|
3283
3287
|
address: string;
|
|
@@ -3297,7 +3301,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3297
3301
|
}>;
|
|
3298
3302
|
declare const LimitOrderNotification: z.ZodObject<{
|
|
3299
3303
|
meta: z.ZodTypeAny;
|
|
3300
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3304
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3301
3305
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3302
3306
|
data: z.ZodObject<{
|
|
3303
3307
|
address: z.ZodString;
|
|
@@ -3376,7 +3380,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3376
3380
|
authority: z.ZodNullable<z.ZodString>;
|
|
3377
3381
|
} | {
|
|
3378
3382
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
3379
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3383
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3380
3384
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3381
3385
|
data: z.ZodObject<{
|
|
3382
3386
|
address: z.ZodString;
|
|
@@ -3457,7 +3461,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3457
3461
|
authority: string | null;
|
|
3458
3462
|
id: string;
|
|
3459
3463
|
action: "create" | "update";
|
|
3460
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3464
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3461
3465
|
data: {
|
|
3462
3466
|
mint: string;
|
|
3463
3467
|
address: string;
|
|
@@ -3484,7 +3488,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3484
3488
|
authority: string | null;
|
|
3485
3489
|
id: string;
|
|
3486
3490
|
action: "create" | "update";
|
|
3487
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3491
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3488
3492
|
data: {
|
|
3489
3493
|
mint: string;
|
|
3490
3494
|
address: string;
|
|
@@ -3511,7 +3515,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3511
3515
|
authority: string | null;
|
|
3512
3516
|
id: string;
|
|
3513
3517
|
action: "create" | "update";
|
|
3514
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3518
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3515
3519
|
data: {
|
|
3516
3520
|
mint: string;
|
|
3517
3521
|
address: string;
|
|
@@ -3538,7 +3542,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3538
3542
|
authority: string | null;
|
|
3539
3543
|
id: string;
|
|
3540
3544
|
action: "create" | "update";
|
|
3541
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3545
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3542
3546
|
data: {
|
|
3543
3547
|
mint: string;
|
|
3544
3548
|
address: string;
|
|
@@ -3564,7 +3568,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3564
3568
|
}>;
|
|
3565
3569
|
declare const StakingPositionNotification: z.ZodObject<{
|
|
3566
3570
|
meta: z.ZodTypeAny;
|
|
3567
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3571
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3568
3572
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3569
3573
|
data: z.ZodObject<{
|
|
3570
3574
|
address: z.ZodString;
|
|
@@ -3738,7 +3742,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
3738
3742
|
authority: z.ZodNullable<z.ZodString>;
|
|
3739
3743
|
} | {
|
|
3740
3744
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
3741
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3745
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3742
3746
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3743
3747
|
data: z.ZodObject<{
|
|
3744
3748
|
address: z.ZodString;
|
|
@@ -3914,7 +3918,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
3914
3918
|
authority: string | null;
|
|
3915
3919
|
id: string;
|
|
3916
3920
|
action: "create" | "update";
|
|
3917
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3921
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3918
3922
|
data: {
|
|
3919
3923
|
address: string;
|
|
3920
3924
|
owner: string;
|
|
@@ -3956,7 +3960,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
3956
3960
|
authority: string | null;
|
|
3957
3961
|
id: string;
|
|
3958
3962
|
action: "create" | "update";
|
|
3959
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3963
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3960
3964
|
data: {
|
|
3961
3965
|
address: string;
|
|
3962
3966
|
owner: string;
|
|
@@ -3998,7 +4002,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
3998
4002
|
authority: string | null;
|
|
3999
4003
|
id: string;
|
|
4000
4004
|
action: "create" | "update";
|
|
4001
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
4005
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4002
4006
|
data: {
|
|
4003
4007
|
address: string;
|
|
4004
4008
|
owner: string;
|
|
@@ -4040,7 +4044,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
4040
4044
|
authority: string | null;
|
|
4041
4045
|
id: string;
|
|
4042
4046
|
action: "create" | "update";
|
|
4043
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
4047
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4044
4048
|
data: {
|
|
4045
4049
|
address: string;
|
|
4046
4050
|
owner: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ declare const NotificationEntity: {
|
|
|
6
6
|
readonly ORDER_BOOK: "order_book";
|
|
7
7
|
readonly TUNA_POSITION: "tuna_position";
|
|
8
8
|
readonly LENDING_POSITION: "lending_position";
|
|
9
|
+
readonly STAKING_POSITION: "staking_position";
|
|
9
10
|
readonly FUSION_LIMIT_ORDER: "fusion_limit_order";
|
|
10
11
|
};
|
|
11
12
|
declare const NotificationAction: {
|
|
@@ -46,14 +47,14 @@ declare const WalletSubscriptionTopic: {
|
|
|
46
47
|
readonly FUSION_LIMIT_ORDERS: "fusion_limit_orders";
|
|
47
48
|
readonly STAKING_POSITION: "staking_position";
|
|
48
49
|
};
|
|
49
|
-
declare const NotificationEntitySchema: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
50
|
+
declare const NotificationEntitySchema: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
50
51
|
declare const NotificationActionSchema: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
51
52
|
declare const PoolProviderSchema: z.ZodEnum<["orca", ...("orca" | "fusion")[]]>;
|
|
52
53
|
declare const TunaPositionStateSchema: z.ZodEnum<["open", ...("open" | "liquidated" | "closed_by_limit_order" | "closed")[]]>;
|
|
53
54
|
declare const LimitOrderStateSchema: z.ZodEnum<["open", ...("open" | "partially_filled" | "filled" | "complete" | "cancelled")[]]>;
|
|
54
55
|
declare const StakingPositionHistoryActionTypeSchema: z.ZodEnum<["stake", ...("stake" | "unstake" | "withdraw" | "claim_rewards")[]]>;
|
|
55
56
|
declare const PoolSubscriptionTopicSchema: z.ZodEnum<["order_book", ...("order_book" | "pool_prices" | "pool_swaps")[]]>;
|
|
56
|
-
declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("
|
|
57
|
+
declare const WalletSubscriptionTopicSchema: z.ZodEnum<["tuna_positions", ...("staking_position" | "tuna_positions" | "lending_positions" | "fusion_limit_orders")[]]>;
|
|
57
58
|
declare const Mint$1: z.ZodObject<{
|
|
58
59
|
symbol: z.ZodString;
|
|
59
60
|
mint: z.ZodString;
|
|
@@ -376,6 +377,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
376
377
|
tokenAVault: z.ZodString;
|
|
377
378
|
tokenBVault: z.ZodString;
|
|
378
379
|
tvlUsdc: z.ZodNumber;
|
|
380
|
+
priceChange24H: z.ZodNumber;
|
|
379
381
|
tickSpacing: z.ZodNumber;
|
|
380
382
|
feeRate: z.ZodNumber;
|
|
381
383
|
protocolFeeRate: z.ZodNumber;
|
|
@@ -478,6 +480,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
478
480
|
tokenAVault: string;
|
|
479
481
|
tokenBVault: string;
|
|
480
482
|
tvlUsdc: number;
|
|
483
|
+
priceChange24H: number;
|
|
481
484
|
tickSpacing: number;
|
|
482
485
|
feeRate: number;
|
|
483
486
|
protocolFeeRate: number;
|
|
@@ -512,6 +515,7 @@ declare const Pool$1: z.ZodObject<{
|
|
|
512
515
|
tokenAVault: string;
|
|
513
516
|
tokenBVault: string;
|
|
514
517
|
tvlUsdc: number;
|
|
518
|
+
priceChange24H: number;
|
|
515
519
|
tickSpacing: number;
|
|
516
520
|
feeRate: number;
|
|
517
521
|
protocolFeeRate: number;
|
|
@@ -1492,7 +1496,7 @@ declare const OrderBookNotificationMeta: z.ZodObject<{
|
|
|
1492
1496
|
}>;
|
|
1493
1497
|
declare const PoolSwapNotification: z.ZodObject<{
|
|
1494
1498
|
meta: z.ZodTypeAny;
|
|
1495
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1499
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1496
1500
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1497
1501
|
data: z.ZodObject<{
|
|
1498
1502
|
id: z.ZodString;
|
|
@@ -1523,7 +1527,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1523
1527
|
authority: z.ZodNullable<z.ZodString>;
|
|
1524
1528
|
} | {
|
|
1525
1529
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
1526
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1530
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1527
1531
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1528
1532
|
data: z.ZodObject<{
|
|
1529
1533
|
id: z.ZodString;
|
|
@@ -1556,7 +1560,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1556
1560
|
authority: string | null;
|
|
1557
1561
|
id: string;
|
|
1558
1562
|
action: "create" | "update";
|
|
1559
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1563
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1560
1564
|
data: {
|
|
1561
1565
|
time: Date;
|
|
1562
1566
|
pool: string;
|
|
@@ -1571,7 +1575,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1571
1575
|
authority: string | null;
|
|
1572
1576
|
id: string;
|
|
1573
1577
|
action: "create" | "update";
|
|
1574
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1578
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1575
1579
|
data: {
|
|
1576
1580
|
time: Date;
|
|
1577
1581
|
pool: string;
|
|
@@ -1586,7 +1590,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1586
1590
|
authority: string | null;
|
|
1587
1591
|
id: string;
|
|
1588
1592
|
action: "create" | "update";
|
|
1589
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1593
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1590
1594
|
data: {
|
|
1591
1595
|
time: Date;
|
|
1592
1596
|
pool: string;
|
|
@@ -1601,7 +1605,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1601
1605
|
authority: string | null;
|
|
1602
1606
|
id: string;
|
|
1603
1607
|
action: "create" | "update";
|
|
1604
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1608
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1605
1609
|
data: {
|
|
1606
1610
|
time: Date;
|
|
1607
1611
|
pool: string;
|
|
@@ -1615,7 +1619,7 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1615
1619
|
}>;
|
|
1616
1620
|
declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
1617
1621
|
meta: z.ZodTypeAny;
|
|
1618
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1622
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1619
1623
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1620
1624
|
data: z.ZodObject<{
|
|
1621
1625
|
pool: z.ZodString;
|
|
@@ -1637,7 +1641,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1637
1641
|
authority: z.ZodNullable<z.ZodString>;
|
|
1638
1642
|
} | {
|
|
1639
1643
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
1640
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1644
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1641
1645
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1642
1646
|
data: z.ZodObject<{
|
|
1643
1647
|
pool: z.ZodString;
|
|
@@ -1661,7 +1665,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1661
1665
|
authority: string | null;
|
|
1662
1666
|
id: string;
|
|
1663
1667
|
action: "create" | "update";
|
|
1664
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1668
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1665
1669
|
data: {
|
|
1666
1670
|
price: number;
|
|
1667
1671
|
time: Date;
|
|
@@ -1673,7 +1677,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1673
1677
|
authority: string | null;
|
|
1674
1678
|
id: string;
|
|
1675
1679
|
action: "create" | "update";
|
|
1676
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1680
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1677
1681
|
data: {
|
|
1678
1682
|
price: number;
|
|
1679
1683
|
time: Date;
|
|
@@ -1685,7 +1689,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1685
1689
|
authority: string | null;
|
|
1686
1690
|
id: string;
|
|
1687
1691
|
action: "create" | "update";
|
|
1688
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1692
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1689
1693
|
data: {
|
|
1690
1694
|
price: number;
|
|
1691
1695
|
time: Date;
|
|
@@ -1697,7 +1701,7 @@ declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
|
1697
1701
|
authority: string | null;
|
|
1698
1702
|
id: string;
|
|
1699
1703
|
action: "create" | "update";
|
|
1700
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1704
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1701
1705
|
data: {
|
|
1702
1706
|
price: number;
|
|
1703
1707
|
time: Date;
|
|
@@ -1720,7 +1724,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1720
1724
|
priceStep: number;
|
|
1721
1725
|
inverted: boolean;
|
|
1722
1726
|
}>;
|
|
1723
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1727
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1724
1728
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1725
1729
|
data: z.ZodObject<{
|
|
1726
1730
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -1791,7 +1795,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1791
1795
|
authority: z.ZodNullable<z.ZodString>;
|
|
1792
1796
|
} | {
|
|
1793
1797
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
1794
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1798
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1795
1799
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1796
1800
|
data: z.ZodObject<{
|
|
1797
1801
|
entries: z.ZodArray<z.ZodObject<{
|
|
@@ -1864,7 +1868,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1864
1868
|
authority: string | null;
|
|
1865
1869
|
id: string;
|
|
1866
1870
|
action: "create" | "update";
|
|
1867
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1871
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1868
1872
|
data: {
|
|
1869
1873
|
entries: {
|
|
1870
1874
|
price: number;
|
|
@@ -1889,7 +1893,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1889
1893
|
authority: string | null;
|
|
1890
1894
|
id: string;
|
|
1891
1895
|
action: "create" | "update";
|
|
1892
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1896
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1893
1897
|
data: {
|
|
1894
1898
|
entries: {
|
|
1895
1899
|
price: number;
|
|
@@ -1914,7 +1918,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1914
1918
|
authority: string | null;
|
|
1915
1919
|
id: string;
|
|
1916
1920
|
action: "create" | "update";
|
|
1917
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1921
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1918
1922
|
data: {
|
|
1919
1923
|
entries: {
|
|
1920
1924
|
price: number;
|
|
@@ -1939,7 +1943,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1939
1943
|
authority: string | null;
|
|
1940
1944
|
id: string;
|
|
1941
1945
|
action: "create" | "update";
|
|
1942
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
1946
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
1943
1947
|
data: {
|
|
1944
1948
|
entries: {
|
|
1945
1949
|
price: number;
|
|
@@ -1963,7 +1967,7 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
1963
1967
|
}>;
|
|
1964
1968
|
declare const TunaPositionNotification: z.ZodObject<{
|
|
1965
1969
|
meta: z.ZodTypeAny;
|
|
1966
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
1970
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
1967
1971
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
1968
1972
|
data: z.ZodObject<{
|
|
1969
1973
|
address: z.ZodString;
|
|
@@ -2336,7 +2340,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2336
2340
|
authority: z.ZodNullable<z.ZodString>;
|
|
2337
2341
|
} | {
|
|
2338
2342
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
2339
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
2343
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
2340
2344
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
2341
2345
|
data: z.ZodObject<{
|
|
2342
2346
|
address: z.ZodString;
|
|
@@ -2711,7 +2715,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2711
2715
|
authority: string | null;
|
|
2712
2716
|
id: string;
|
|
2713
2717
|
action: "create" | "update";
|
|
2714
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
2718
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2715
2719
|
data: {
|
|
2716
2720
|
address: string;
|
|
2717
2721
|
liquidity: bigint;
|
|
@@ -2806,7 +2810,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2806
2810
|
authority: string | null;
|
|
2807
2811
|
id: string;
|
|
2808
2812
|
action: "create" | "update";
|
|
2809
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
2813
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2810
2814
|
data: {
|
|
2811
2815
|
address: string;
|
|
2812
2816
|
liquidity: bigint;
|
|
@@ -2901,7 +2905,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2901
2905
|
authority: string | null;
|
|
2902
2906
|
id: string;
|
|
2903
2907
|
action: "create" | "update";
|
|
2904
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
2908
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
2905
2909
|
data: {
|
|
2906
2910
|
address: string;
|
|
2907
2911
|
liquidity: bigint;
|
|
@@ -2996,7 +3000,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
2996
3000
|
authority: string | null;
|
|
2997
3001
|
id: string;
|
|
2998
3002
|
action: "create" | "update";
|
|
2999
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3003
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3000
3004
|
data: {
|
|
3001
3005
|
address: string;
|
|
3002
3006
|
liquidity: bigint;
|
|
@@ -3090,7 +3094,7 @@ declare const TunaPositionNotification: z.ZodObject<{
|
|
|
3090
3094
|
}>;
|
|
3091
3095
|
declare const LendingPositionNotification: z.ZodObject<{
|
|
3092
3096
|
meta: z.ZodTypeAny;
|
|
3093
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3097
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3094
3098
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3095
3099
|
data: z.ZodObject<{
|
|
3096
3100
|
address: z.ZodString;
|
|
@@ -3151,7 +3155,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3151
3155
|
authority: z.ZodNullable<z.ZodString>;
|
|
3152
3156
|
} | {
|
|
3153
3157
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
3154
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3158
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3155
3159
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3156
3160
|
data: z.ZodObject<{
|
|
3157
3161
|
address: z.ZodString;
|
|
@@ -3214,7 +3218,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3214
3218
|
authority: string | null;
|
|
3215
3219
|
id: string;
|
|
3216
3220
|
action: "create" | "update";
|
|
3217
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3221
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3218
3222
|
data: {
|
|
3219
3223
|
mint: string;
|
|
3220
3224
|
address: string;
|
|
@@ -3235,7 +3239,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3235
3239
|
authority: string | null;
|
|
3236
3240
|
id: string;
|
|
3237
3241
|
action: "create" | "update";
|
|
3238
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3242
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3239
3243
|
data: {
|
|
3240
3244
|
mint: string;
|
|
3241
3245
|
address: string;
|
|
@@ -3256,7 +3260,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3256
3260
|
authority: string | null;
|
|
3257
3261
|
id: string;
|
|
3258
3262
|
action: "create" | "update";
|
|
3259
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3263
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3260
3264
|
data: {
|
|
3261
3265
|
mint: string;
|
|
3262
3266
|
address: string;
|
|
@@ -3277,7 +3281,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3277
3281
|
authority: string | null;
|
|
3278
3282
|
id: string;
|
|
3279
3283
|
action: "create" | "update";
|
|
3280
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3284
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3281
3285
|
data: {
|
|
3282
3286
|
mint: string;
|
|
3283
3287
|
address: string;
|
|
@@ -3297,7 +3301,7 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
3297
3301
|
}>;
|
|
3298
3302
|
declare const LimitOrderNotification: z.ZodObject<{
|
|
3299
3303
|
meta: z.ZodTypeAny;
|
|
3300
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3304
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3301
3305
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3302
3306
|
data: z.ZodObject<{
|
|
3303
3307
|
address: z.ZodString;
|
|
@@ -3376,7 +3380,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3376
3380
|
authority: z.ZodNullable<z.ZodString>;
|
|
3377
3381
|
} | {
|
|
3378
3382
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
3379
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3383
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3380
3384
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3381
3385
|
data: z.ZodObject<{
|
|
3382
3386
|
address: z.ZodString;
|
|
@@ -3457,7 +3461,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3457
3461
|
authority: string | null;
|
|
3458
3462
|
id: string;
|
|
3459
3463
|
action: "create" | "update";
|
|
3460
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3464
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3461
3465
|
data: {
|
|
3462
3466
|
mint: string;
|
|
3463
3467
|
address: string;
|
|
@@ -3484,7 +3488,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3484
3488
|
authority: string | null;
|
|
3485
3489
|
id: string;
|
|
3486
3490
|
action: "create" | "update";
|
|
3487
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3491
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3488
3492
|
data: {
|
|
3489
3493
|
mint: string;
|
|
3490
3494
|
address: string;
|
|
@@ -3511,7 +3515,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3511
3515
|
authority: string | null;
|
|
3512
3516
|
id: string;
|
|
3513
3517
|
action: "create" | "update";
|
|
3514
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3518
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3515
3519
|
data: {
|
|
3516
3520
|
mint: string;
|
|
3517
3521
|
address: string;
|
|
@@ -3538,7 +3542,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3538
3542
|
authority: string | null;
|
|
3539
3543
|
id: string;
|
|
3540
3544
|
action: "create" | "update";
|
|
3541
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3545
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3542
3546
|
data: {
|
|
3543
3547
|
mint: string;
|
|
3544
3548
|
address: string;
|
|
@@ -3564,7 +3568,7 @@ declare const LimitOrderNotification: z.ZodObject<{
|
|
|
3564
3568
|
}>;
|
|
3565
3569
|
declare const StakingPositionNotification: z.ZodObject<{
|
|
3566
3570
|
meta: z.ZodTypeAny;
|
|
3567
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3571
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3568
3572
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3569
3573
|
data: z.ZodObject<{
|
|
3570
3574
|
address: z.ZodString;
|
|
@@ -3738,7 +3742,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
3738
3742
|
authority: z.ZodNullable<z.ZodString>;
|
|
3739
3743
|
} | {
|
|
3740
3744
|
meta: z.ZodNullable<z.ZodUndefined>;
|
|
3741
|
-
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order")[]]>;
|
|
3745
|
+
entity: z.ZodEnum<["pool_swap", ...("pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order")[]]>;
|
|
3742
3746
|
action: z.ZodEnum<["create", ...("create" | "update")[]]>;
|
|
3743
3747
|
data: z.ZodObject<{
|
|
3744
3748
|
address: z.ZodString;
|
|
@@ -3914,7 +3918,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
3914
3918
|
authority: string | null;
|
|
3915
3919
|
id: string;
|
|
3916
3920
|
action: "create" | "update";
|
|
3917
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3921
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3918
3922
|
data: {
|
|
3919
3923
|
address: string;
|
|
3920
3924
|
owner: string;
|
|
@@ -3956,7 +3960,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
3956
3960
|
authority: string | null;
|
|
3957
3961
|
id: string;
|
|
3958
3962
|
action: "create" | "update";
|
|
3959
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
3963
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
3960
3964
|
data: {
|
|
3961
3965
|
address: string;
|
|
3962
3966
|
owner: string;
|
|
@@ -3998,7 +4002,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
3998
4002
|
authority: string | null;
|
|
3999
4003
|
id: string;
|
|
4000
4004
|
action: "create" | "update";
|
|
4001
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
4005
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4002
4006
|
data: {
|
|
4003
4007
|
address: string;
|
|
4004
4008
|
owner: string;
|
|
@@ -4040,7 +4044,7 @@ declare const StakingPositionNotification: z.ZodObject<{
|
|
|
4040
4044
|
authority: string | null;
|
|
4041
4045
|
id: string;
|
|
4042
4046
|
action: "create" | "update";
|
|
4043
|
-
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "fusion_limit_order";
|
|
4047
|
+
entity: "pool_swap" | "pool_price" | "order_book" | "tuna_position" | "lending_position" | "staking_position" | "fusion_limit_order";
|
|
4044
4048
|
data: {
|
|
4045
4049
|
address: string;
|
|
4046
4050
|
owner: string;
|
package/dist/index.js
CHANGED
|
@@ -113,6 +113,7 @@ var NotificationEntity = {
|
|
|
113
113
|
ORDER_BOOK: "order_book",
|
|
114
114
|
TUNA_POSITION: "tuna_position",
|
|
115
115
|
LENDING_POSITION: "lending_position",
|
|
116
|
+
STAKING_POSITION: "staking_position",
|
|
116
117
|
FUSION_LIMIT_ORDER: "fusion_limit_order"
|
|
117
118
|
};
|
|
118
119
|
var NotificationAction = {
|
|
@@ -241,6 +242,7 @@ var Pool = import_zod.z.object({
|
|
|
241
242
|
tokenAVault: import_zod.z.string(),
|
|
242
243
|
tokenBVault: import_zod.z.string(),
|
|
243
244
|
tvlUsdc: import_zod.z.coerce.number(),
|
|
245
|
+
priceChange24H: import_zod.z.number(),
|
|
244
246
|
tickSpacing: import_zod.z.number(),
|
|
245
247
|
feeRate: import_zod.z.number(),
|
|
246
248
|
protocolFeeRate: import_zod.z.number(),
|
package/dist/index.mjs
CHANGED
|
@@ -78,6 +78,7 @@ var NotificationEntity = {
|
|
|
78
78
|
ORDER_BOOK: "order_book",
|
|
79
79
|
TUNA_POSITION: "tuna_position",
|
|
80
80
|
LENDING_POSITION: "lending_position",
|
|
81
|
+
STAKING_POSITION: "staking_position",
|
|
81
82
|
FUSION_LIMIT_ORDER: "fusion_limit_order"
|
|
82
83
|
};
|
|
83
84
|
var NotificationAction = {
|
|
@@ -206,6 +207,7 @@ var Pool = z.object({
|
|
|
206
207
|
tokenAVault: z.string(),
|
|
207
208
|
tokenBVault: z.string(),
|
|
208
209
|
tvlUsdc: z.coerce.number(),
|
|
210
|
+
priceChange24H: z.number(),
|
|
209
211
|
tickSpacing: z.number(),
|
|
210
212
|
feeRate: z.number(),
|
|
211
213
|
protocolFeeRate: z.number(),
|