@crypticdot/defituna-api 1.10.12 → 1.10.13
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 +270 -137
- package/dist/index.d.ts +270 -137
- package/dist/index.js +260 -272
- package/dist/index.mjs +260 -272
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -66,6 +66,86 @@ declare const Pool$1: z$1.ZodObject<{
|
|
|
66
66
|
}, z$1.core.$strip>>>;
|
|
67
67
|
}, z$1.core.$strip>;
|
|
68
68
|
|
|
69
|
+
declare const Market$1: z.ZodObject<{
|
|
70
|
+
address: z.ZodString;
|
|
71
|
+
addressLookupTable: z.ZodString;
|
|
72
|
+
maxLeverage: z.ZodNumber;
|
|
73
|
+
maxSwapSlippage: z.ZodNumber;
|
|
74
|
+
protocolFee: z.ZodNumber;
|
|
75
|
+
protocolFeeOnCollateral: z.ZodNumber;
|
|
76
|
+
liquidationFee: z.ZodNumber;
|
|
77
|
+
liquidationThreshold: z.ZodNumber;
|
|
78
|
+
oraclePriceDeviationThreshold: z.ZodNumber;
|
|
79
|
+
rebalanceProtocolFee: z.ZodNumber;
|
|
80
|
+
borrowedFundsA: z.ZodObject<{
|
|
81
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
82
|
+
usd: z.ZodNumber;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
borrowedFundsB: z.ZodObject<{
|
|
85
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
86
|
+
usd: z.ZodNumber;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
borrowLimitA: z.ZodObject<{
|
|
89
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
90
|
+
usd: z.ZodNumber;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
borrowLimitB: z.ZodObject<{
|
|
93
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
94
|
+
usd: z.ZodNumber;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
97
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
98
|
+
usd: z.ZodNumber;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
101
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
102
|
+
usd: z.ZodNumber;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
pool: z.ZodObject<{
|
|
105
|
+
address: z.ZodString;
|
|
106
|
+
provider: z.ZodEnum<{
|
|
107
|
+
orca: "orca";
|
|
108
|
+
fusion: "fusion";
|
|
109
|
+
}>;
|
|
110
|
+
mintA: z.ZodObject<{
|
|
111
|
+
address: z.ZodString;
|
|
112
|
+
symbol: z.ZodString;
|
|
113
|
+
name: z.ZodString;
|
|
114
|
+
logo: z.ZodString;
|
|
115
|
+
decimals: z.ZodNumber;
|
|
116
|
+
}, z.core.$strip>;
|
|
117
|
+
mintB: z.ZodObject<{
|
|
118
|
+
address: z.ZodString;
|
|
119
|
+
symbol: z.ZodString;
|
|
120
|
+
name: z.ZodString;
|
|
121
|
+
logo: z.ZodString;
|
|
122
|
+
decimals: z.ZodNumber;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
tokenAVault: z.ZodString;
|
|
125
|
+
tokenBVault: z.ZodString;
|
|
126
|
+
tickSpacing: z.ZodNumber;
|
|
127
|
+
feeRate: z.ZodNumber;
|
|
128
|
+
protocolFeeRate: z.ZodNumber;
|
|
129
|
+
olpFeeRate: z.ZodNullable<z.ZodNumber>;
|
|
130
|
+
liquidity: z.ZodCoercedBigInt<unknown>;
|
|
131
|
+
sqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
132
|
+
price: z.ZodNumber;
|
|
133
|
+
tickCurrentIndex: z.ZodNumber;
|
|
134
|
+
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
135
|
+
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
136
|
+
groups: z.ZodObject<{
|
|
137
|
+
"24h": z.ZodObject<{
|
|
138
|
+
volumeUsd: z.ZodNumber;
|
|
139
|
+
feesUsd: z.ZodNumber;
|
|
140
|
+
priceChange: z.ZodNumber;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
}, z.core.$strip>>>;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
disabled: z.ZodBoolean;
|
|
146
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
|
|
69
149
|
declare const LimitOrderState: {
|
|
70
150
|
readonly OPEN: "open";
|
|
71
151
|
readonly PARTIALLY_FILLED: "partially_filled";
|
|
@@ -1072,44 +1152,20 @@ declare const TunaPositionPoolTokenSchema: z$1.ZodEnum<{
|
|
|
1072
1152
|
[x: string]: string;
|
|
1073
1153
|
}>;
|
|
1074
1154
|
|
|
1075
|
-
declare const PoolSnapshot: z$1.ZodObject<{
|
|
1076
|
-
liquidity: z$1.ZodCoercedBigInt<unknown>;
|
|
1077
|
-
tickCurrentIndex: z$1.ZodNumber;
|
|
1078
|
-
price: z$1.ZodNumber;
|
|
1079
|
-
sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
|
|
1080
|
-
tvl: z$1.ZodNumber;
|
|
1081
|
-
priceChange24H: z$1.ZodNumber;
|
|
1082
|
-
volume24H: z$1.ZodNumber;
|
|
1083
|
-
fees24H: z$1.ZodNumber;
|
|
1084
|
-
borrowedFundsA: z$1.ZodObject<{
|
|
1085
|
-
amount: z$1.ZodCoercedBigInt<unknown>;
|
|
1086
|
-
usd: z$1.ZodNumber;
|
|
1087
|
-
}, z$1.core.$strip>;
|
|
1088
|
-
borrowedFundsB: z$1.ZodObject<{
|
|
1089
|
-
amount: z$1.ZodCoercedBigInt<unknown>;
|
|
1090
|
-
usd: z$1.ZodNumber;
|
|
1091
|
-
}, z$1.core.$strip>;
|
|
1092
|
-
borrowLimitA: z$1.ZodObject<{
|
|
1093
|
-
amount: z$1.ZodCoercedBigInt<unknown>;
|
|
1094
|
-
usd: z$1.ZodNumber;
|
|
1095
|
-
}, z$1.core.$strip>;
|
|
1096
|
-
borrowLimitB: z$1.ZodObject<{
|
|
1097
|
-
amount: z$1.ZodCoercedBigInt<unknown>;
|
|
1098
|
-
usd: z$1.ZodNumber;
|
|
1099
|
-
}, z$1.core.$strip>;
|
|
1100
|
-
}, z$1.core.$strip>;
|
|
1101
1155
|
declare const StateSnapshot$1: z$1.ZodObject<{
|
|
1102
1156
|
slot: z$1.ZodCoercedBigInt<unknown>;
|
|
1103
1157
|
blockTime: z$1.ZodCoercedDate<unknown>;
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1158
|
+
markets: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1159
|
+
address: z$1.ZodString;
|
|
1160
|
+
addressLookupTable: z$1.ZodString;
|
|
1161
|
+
maxLeverage: z$1.ZodNumber;
|
|
1162
|
+
maxSwapSlippage: z$1.ZodNumber;
|
|
1163
|
+
protocolFee: z$1.ZodNumber;
|
|
1164
|
+
protocolFeeOnCollateral: z$1.ZodNumber;
|
|
1165
|
+
liquidationFee: z$1.ZodNumber;
|
|
1166
|
+
liquidationThreshold: z$1.ZodNumber;
|
|
1167
|
+
oraclePriceDeviationThreshold: z$1.ZodNumber;
|
|
1168
|
+
rebalanceProtocolFee: z$1.ZodNumber;
|
|
1113
1169
|
borrowedFundsA: z$1.ZodObject<{
|
|
1114
1170
|
amount: z$1.ZodCoercedBigInt<unknown>;
|
|
1115
1171
|
usd: z$1.ZodNumber;
|
|
@@ -1126,6 +1182,57 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1126
1182
|
amount: z$1.ZodCoercedBigInt<unknown>;
|
|
1127
1183
|
usd: z$1.ZodNumber;
|
|
1128
1184
|
}, z$1.core.$strip>;
|
|
1185
|
+
maxSpotPositionSizeA: z$1.ZodObject<{
|
|
1186
|
+
amount: z$1.ZodCoercedBigInt<unknown>;
|
|
1187
|
+
usd: z$1.ZodNumber;
|
|
1188
|
+
}, z$1.core.$strip>;
|
|
1189
|
+
maxSpotPositionSizeB: z$1.ZodObject<{
|
|
1190
|
+
amount: z$1.ZodCoercedBigInt<unknown>;
|
|
1191
|
+
usd: z$1.ZodNumber;
|
|
1192
|
+
}, z$1.core.$strip>;
|
|
1193
|
+
pool: z$1.ZodObject<{
|
|
1194
|
+
address: z$1.ZodString;
|
|
1195
|
+
provider: z$1.ZodEnum<{
|
|
1196
|
+
orca: "orca";
|
|
1197
|
+
fusion: "fusion";
|
|
1198
|
+
}>;
|
|
1199
|
+
mintA: z$1.ZodObject<{
|
|
1200
|
+
address: z$1.ZodString;
|
|
1201
|
+
symbol: z$1.ZodString;
|
|
1202
|
+
name: z$1.ZodString;
|
|
1203
|
+
logo: z$1.ZodString;
|
|
1204
|
+
decimals: z$1.ZodNumber;
|
|
1205
|
+
}, z$1.core.$strip>;
|
|
1206
|
+
mintB: z$1.ZodObject<{
|
|
1207
|
+
address: z$1.ZodString;
|
|
1208
|
+
symbol: z$1.ZodString;
|
|
1209
|
+
name: z$1.ZodString;
|
|
1210
|
+
logo: z$1.ZodString;
|
|
1211
|
+
decimals: z$1.ZodNumber;
|
|
1212
|
+
}, z$1.core.$strip>;
|
|
1213
|
+
tokenAVault: z$1.ZodString;
|
|
1214
|
+
tokenBVault: z$1.ZodString;
|
|
1215
|
+
tickSpacing: z$1.ZodNumber;
|
|
1216
|
+
feeRate: z$1.ZodNumber;
|
|
1217
|
+
protocolFeeRate: z$1.ZodNumber;
|
|
1218
|
+
olpFeeRate: z$1.ZodNullable<z$1.ZodNumber>;
|
|
1219
|
+
liquidity: z$1.ZodCoercedBigInt<unknown>;
|
|
1220
|
+
sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
|
|
1221
|
+
price: z$1.ZodNumber;
|
|
1222
|
+
tickCurrentIndex: z$1.ZodNumber;
|
|
1223
|
+
stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
1224
|
+
tvlUsd: z$1.ZodCoercedNumber<unknown>;
|
|
1225
|
+
groups: z$1.ZodObject<{
|
|
1226
|
+
"24h": z$1.ZodObject<{
|
|
1227
|
+
volumeUsd: z$1.ZodNumber;
|
|
1228
|
+
feesUsd: z$1.ZodNumber;
|
|
1229
|
+
priceChange: z$1.ZodNumber;
|
|
1230
|
+
}, z$1.core.$strip>;
|
|
1231
|
+
}, z$1.core.$strip>;
|
|
1232
|
+
}, z$1.core.$strip>>>;
|
|
1233
|
+
}, z$1.core.$strip>;
|
|
1234
|
+
disabled: z$1.ZodBoolean;
|
|
1235
|
+
createdAt: z$1.ZodCoercedDate<unknown>;
|
|
1129
1236
|
}, z$1.core.$strip>>>;
|
|
1130
1237
|
tunaSpotPositions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1131
1238
|
address: z$1.ZodString;
|
|
@@ -1432,7 +1539,7 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1432
1539
|
openedAt: z$1.ZodCoercedDate<unknown>;
|
|
1433
1540
|
closedAt: z$1.ZodNullable<z$1.ZodCoercedDate<unknown>>;
|
|
1434
1541
|
}, z$1.core.$strip>>>;
|
|
1435
|
-
orderBooks: z$1.ZodOptional<z$1.
|
|
1542
|
+
orderBooks: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1436
1543
|
entries: z$1.ZodArray<z$1.ZodObject<{
|
|
1437
1544
|
concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
|
|
1438
1545
|
concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
|
|
@@ -1634,85 +1741,6 @@ declare const WalletSubscriptionTopicSchema: z.ZodEnum<{
|
|
|
1634
1741
|
declare const PaginationMeta$1: z.ZodObject<{
|
|
1635
1742
|
total: z.ZodNumber;
|
|
1636
1743
|
}, z.core.$strip>;
|
|
1637
|
-
declare const Market$1: z.ZodObject<{
|
|
1638
|
-
address: z.ZodString;
|
|
1639
|
-
addressLookupTable: z.ZodString;
|
|
1640
|
-
maxLeverage: z.ZodNumber;
|
|
1641
|
-
maxSwapSlippage: z.ZodNumber;
|
|
1642
|
-
protocolFee: z.ZodNumber;
|
|
1643
|
-
protocolFeeOnCollateral: z.ZodNumber;
|
|
1644
|
-
liquidationFee: z.ZodNumber;
|
|
1645
|
-
liquidationThreshold: z.ZodNumber;
|
|
1646
|
-
oraclePriceDeviationThreshold: z.ZodNumber;
|
|
1647
|
-
rebalanceProtocolFee: z.ZodNumber;
|
|
1648
|
-
borrowedFundsA: z.ZodObject<{
|
|
1649
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
1650
|
-
usd: z.ZodNumber;
|
|
1651
|
-
}, z.core.$strip>;
|
|
1652
|
-
borrowedFundsB: z.ZodObject<{
|
|
1653
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
1654
|
-
usd: z.ZodNumber;
|
|
1655
|
-
}, z.core.$strip>;
|
|
1656
|
-
borrowLimitA: z.ZodObject<{
|
|
1657
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
1658
|
-
usd: z.ZodNumber;
|
|
1659
|
-
}, z.core.$strip>;
|
|
1660
|
-
borrowLimitB: z.ZodObject<{
|
|
1661
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
1662
|
-
usd: z.ZodNumber;
|
|
1663
|
-
}, z.core.$strip>;
|
|
1664
|
-
maxSpotPositionSizeA: z.ZodObject<{
|
|
1665
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
1666
|
-
usd: z.ZodNumber;
|
|
1667
|
-
}, z.core.$strip>;
|
|
1668
|
-
maxSpotPositionSizeB: z.ZodObject<{
|
|
1669
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
1670
|
-
usd: z.ZodNumber;
|
|
1671
|
-
}, z.core.$strip>;
|
|
1672
|
-
pool: z.ZodObject<{
|
|
1673
|
-
address: z.ZodString;
|
|
1674
|
-
provider: z.ZodEnum<{
|
|
1675
|
-
orca: "orca";
|
|
1676
|
-
fusion: "fusion";
|
|
1677
|
-
}>;
|
|
1678
|
-
mintA: z.ZodObject<{
|
|
1679
|
-
address: z.ZodString;
|
|
1680
|
-
symbol: z.ZodString;
|
|
1681
|
-
name: z.ZodString;
|
|
1682
|
-
logo: z.ZodString;
|
|
1683
|
-
decimals: z.ZodNumber;
|
|
1684
|
-
}, z.core.$strip>;
|
|
1685
|
-
mintB: z.ZodObject<{
|
|
1686
|
-
address: z.ZodString;
|
|
1687
|
-
symbol: z.ZodString;
|
|
1688
|
-
name: z.ZodString;
|
|
1689
|
-
logo: z.ZodString;
|
|
1690
|
-
decimals: z.ZodNumber;
|
|
1691
|
-
}, z.core.$strip>;
|
|
1692
|
-
tokenAVault: z.ZodString;
|
|
1693
|
-
tokenBVault: z.ZodString;
|
|
1694
|
-
tickSpacing: z.ZodNumber;
|
|
1695
|
-
feeRate: z.ZodNumber;
|
|
1696
|
-
protocolFeeRate: z.ZodNumber;
|
|
1697
|
-
olpFeeRate: z.ZodNullable<z.ZodNumber>;
|
|
1698
|
-
liquidity: z.ZodCoercedBigInt<unknown>;
|
|
1699
|
-
sqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
1700
|
-
price: z.ZodNumber;
|
|
1701
|
-
tickCurrentIndex: z.ZodNumber;
|
|
1702
|
-
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1703
|
-
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
1704
|
-
groups: z.ZodObject<{
|
|
1705
|
-
"24h": z.ZodObject<{
|
|
1706
|
-
volumeUsd: z.ZodNumber;
|
|
1707
|
-
feesUsd: z.ZodNumber;
|
|
1708
|
-
priceChange: z.ZodNumber;
|
|
1709
|
-
}, z.core.$strip>;
|
|
1710
|
-
}, z.core.$strip>;
|
|
1711
|
-
}, z.core.$strip>>>;
|
|
1712
|
-
}, z.core.$strip>;
|
|
1713
|
-
disabled: z.ZodBoolean;
|
|
1714
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
1715
|
-
}, z.core.$strip>;
|
|
1716
1744
|
declare const TokenOraclePrice$1: z.ZodObject<{
|
|
1717
1745
|
mint: z.ZodString;
|
|
1718
1746
|
price: z.ZodCoercedBigInt<unknown>;
|
|
@@ -2793,15 +2821,17 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
2793
2821
|
data: z.ZodObject<{
|
|
2794
2822
|
slot: z.ZodCoercedBigInt<unknown>;
|
|
2795
2823
|
blockTime: z.ZodCoercedDate<unknown>;
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2824
|
+
markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2825
|
+
address: z.ZodString;
|
|
2826
|
+
addressLookupTable: z.ZodString;
|
|
2827
|
+
maxLeverage: z.ZodNumber;
|
|
2828
|
+
maxSwapSlippage: z.ZodNumber;
|
|
2829
|
+
protocolFee: z.ZodNumber;
|
|
2830
|
+
protocolFeeOnCollateral: z.ZodNumber;
|
|
2831
|
+
liquidationFee: z.ZodNumber;
|
|
2832
|
+
liquidationThreshold: z.ZodNumber;
|
|
2833
|
+
oraclePriceDeviationThreshold: z.ZodNumber;
|
|
2834
|
+
rebalanceProtocolFee: z.ZodNumber;
|
|
2805
2835
|
borrowedFundsA: z.ZodObject<{
|
|
2806
2836
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
2807
2837
|
usd: z.ZodNumber;
|
|
@@ -2818,6 +2848,57 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
2818
2848
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
2819
2849
|
usd: z.ZodNumber;
|
|
2820
2850
|
}, z.core.$strip>;
|
|
2851
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
2852
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
2853
|
+
usd: z.ZodNumber;
|
|
2854
|
+
}, z.core.$strip>;
|
|
2855
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
2856
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
2857
|
+
usd: z.ZodNumber;
|
|
2858
|
+
}, z.core.$strip>;
|
|
2859
|
+
pool: z.ZodObject<{
|
|
2860
|
+
address: z.ZodString;
|
|
2861
|
+
provider: z.ZodEnum<{
|
|
2862
|
+
orca: "orca";
|
|
2863
|
+
fusion: "fusion";
|
|
2864
|
+
}>;
|
|
2865
|
+
mintA: z.ZodObject<{
|
|
2866
|
+
address: z.ZodString;
|
|
2867
|
+
symbol: z.ZodString;
|
|
2868
|
+
name: z.ZodString;
|
|
2869
|
+
logo: z.ZodString;
|
|
2870
|
+
decimals: z.ZodNumber;
|
|
2871
|
+
}, z.core.$strip>;
|
|
2872
|
+
mintB: z.ZodObject<{
|
|
2873
|
+
address: z.ZodString;
|
|
2874
|
+
symbol: z.ZodString;
|
|
2875
|
+
name: z.ZodString;
|
|
2876
|
+
logo: z.ZodString;
|
|
2877
|
+
decimals: z.ZodNumber;
|
|
2878
|
+
}, z.core.$strip>;
|
|
2879
|
+
tokenAVault: z.ZodString;
|
|
2880
|
+
tokenBVault: z.ZodString;
|
|
2881
|
+
tickSpacing: z.ZodNumber;
|
|
2882
|
+
feeRate: z.ZodNumber;
|
|
2883
|
+
protocolFeeRate: z.ZodNumber;
|
|
2884
|
+
olpFeeRate: z.ZodNullable<z.ZodNumber>;
|
|
2885
|
+
liquidity: z.ZodCoercedBigInt<unknown>;
|
|
2886
|
+
sqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
2887
|
+
price: z.ZodNumber;
|
|
2888
|
+
tickCurrentIndex: z.ZodNumber;
|
|
2889
|
+
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2890
|
+
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
2891
|
+
groups: z.ZodObject<{
|
|
2892
|
+
"24h": z.ZodObject<{
|
|
2893
|
+
volumeUsd: z.ZodNumber;
|
|
2894
|
+
feesUsd: z.ZodNumber;
|
|
2895
|
+
priceChange: z.ZodNumber;
|
|
2896
|
+
}, z.core.$strip>;
|
|
2897
|
+
}, z.core.$strip>;
|
|
2898
|
+
}, z.core.$strip>>>;
|
|
2899
|
+
}, z.core.$strip>;
|
|
2900
|
+
disabled: z.ZodBoolean;
|
|
2901
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
2821
2902
|
}, z.core.$strip>>>;
|
|
2822
2903
|
tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2823
2904
|
address: z.ZodString;
|
|
@@ -3124,7 +3205,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3124
3205
|
openedAt: z.ZodCoercedDate<unknown>;
|
|
3125
3206
|
closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
3126
3207
|
}, z.core.$strip>>>;
|
|
3127
|
-
orderBooks: z.ZodOptional<z.
|
|
3208
|
+
orderBooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3128
3209
|
entries: z.ZodArray<z.ZodObject<{
|
|
3129
3210
|
concentratedAmount: z.ZodCoercedBigInt<unknown>;
|
|
3130
3211
|
concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3161,15 +3242,17 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3161
3242
|
data: z.ZodObject<{
|
|
3162
3243
|
slot: z.ZodCoercedBigInt<unknown>;
|
|
3163
3244
|
blockTime: z.ZodCoercedDate<unknown>;
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3245
|
+
markets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3246
|
+
address: z.ZodString;
|
|
3247
|
+
addressLookupTable: z.ZodString;
|
|
3248
|
+
maxLeverage: z.ZodNumber;
|
|
3249
|
+
maxSwapSlippage: z.ZodNumber;
|
|
3250
|
+
protocolFee: z.ZodNumber;
|
|
3251
|
+
protocolFeeOnCollateral: z.ZodNumber;
|
|
3252
|
+
liquidationFee: z.ZodNumber;
|
|
3253
|
+
liquidationThreshold: z.ZodNumber;
|
|
3254
|
+
oraclePriceDeviationThreshold: z.ZodNumber;
|
|
3255
|
+
rebalanceProtocolFee: z.ZodNumber;
|
|
3173
3256
|
borrowedFundsA: z.ZodObject<{
|
|
3174
3257
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
3175
3258
|
usd: z.ZodNumber;
|
|
@@ -3186,6 +3269,57 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3186
3269
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
3187
3270
|
usd: z.ZodNumber;
|
|
3188
3271
|
}, z.core.$strip>;
|
|
3272
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
3273
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
3274
|
+
usd: z.ZodNumber;
|
|
3275
|
+
}, z.core.$strip>;
|
|
3276
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
3277
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
3278
|
+
usd: z.ZodNumber;
|
|
3279
|
+
}, z.core.$strip>;
|
|
3280
|
+
pool: z.ZodObject<{
|
|
3281
|
+
address: z.ZodString;
|
|
3282
|
+
provider: z.ZodEnum<{
|
|
3283
|
+
orca: "orca";
|
|
3284
|
+
fusion: "fusion";
|
|
3285
|
+
}>;
|
|
3286
|
+
mintA: z.ZodObject<{
|
|
3287
|
+
address: z.ZodString;
|
|
3288
|
+
symbol: z.ZodString;
|
|
3289
|
+
name: z.ZodString;
|
|
3290
|
+
logo: z.ZodString;
|
|
3291
|
+
decimals: z.ZodNumber;
|
|
3292
|
+
}, z.core.$strip>;
|
|
3293
|
+
mintB: z.ZodObject<{
|
|
3294
|
+
address: z.ZodString;
|
|
3295
|
+
symbol: z.ZodString;
|
|
3296
|
+
name: z.ZodString;
|
|
3297
|
+
logo: z.ZodString;
|
|
3298
|
+
decimals: z.ZodNumber;
|
|
3299
|
+
}, z.core.$strip>;
|
|
3300
|
+
tokenAVault: z.ZodString;
|
|
3301
|
+
tokenBVault: z.ZodString;
|
|
3302
|
+
tickSpacing: z.ZodNumber;
|
|
3303
|
+
feeRate: z.ZodNumber;
|
|
3304
|
+
protocolFeeRate: z.ZodNumber;
|
|
3305
|
+
olpFeeRate: z.ZodNullable<z.ZodNumber>;
|
|
3306
|
+
liquidity: z.ZodCoercedBigInt<unknown>;
|
|
3307
|
+
sqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
3308
|
+
price: z.ZodNumber;
|
|
3309
|
+
tickCurrentIndex: z.ZodNumber;
|
|
3310
|
+
stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3311
|
+
tvlUsd: z.ZodCoercedNumber<unknown>;
|
|
3312
|
+
groups: z.ZodObject<{
|
|
3313
|
+
"24h": z.ZodObject<{
|
|
3314
|
+
volumeUsd: z.ZodNumber;
|
|
3315
|
+
feesUsd: z.ZodNumber;
|
|
3316
|
+
priceChange: z.ZodNumber;
|
|
3317
|
+
}, z.core.$strip>;
|
|
3318
|
+
}, z.core.$strip>;
|
|
3319
|
+
}, z.core.$strip>>>;
|
|
3320
|
+
}, z.core.$strip>;
|
|
3321
|
+
disabled: z.ZodBoolean;
|
|
3322
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
3189
3323
|
}, z.core.$strip>>>;
|
|
3190
3324
|
tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3191
3325
|
address: z.ZodString;
|
|
@@ -3492,7 +3626,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3492
3626
|
openedAt: z.ZodCoercedDate<unknown>;
|
|
3493
3627
|
closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
3494
3628
|
}, z.core.$strip>>>;
|
|
3495
|
-
orderBooks: z.ZodOptional<z.
|
|
3629
|
+
orderBooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3496
3630
|
entries: z.ZodArray<z.ZodObject<{
|
|
3497
3631
|
concentratedAmount: z.ZodCoercedBigInt<unknown>;
|
|
3498
3632
|
concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
@@ -3539,7 +3673,6 @@ declare const schemas_OrderHistoryUIDirection: typeof OrderHistoryUIDirection;
|
|
|
3539
3673
|
declare const schemas_OrderHistoryUIDirectionSchema: typeof OrderHistoryUIDirectionSchema;
|
|
3540
3674
|
declare const schemas_PoolProvider: typeof PoolProvider;
|
|
3541
3675
|
declare const schemas_PoolProviderSchema: typeof PoolProviderSchema;
|
|
3542
|
-
declare const schemas_PoolSnapshot: typeof PoolSnapshot;
|
|
3543
3676
|
declare const schemas_PoolSubscriptionTopic: typeof PoolSubscriptionTopic;
|
|
3544
3677
|
declare const schemas_PoolSubscriptionTopicSchema: typeof PoolSubscriptionTopicSchema;
|
|
3545
3678
|
declare const schemas_PoolSwapNotification: typeof PoolSwapNotification;
|
|
@@ -3583,7 +3716,7 @@ declare const schemas_UsdPnlSchema: typeof UsdPnlSchema;
|
|
|
3583
3716
|
declare const schemas_WalletSubscriptionTopic: typeof WalletSubscriptionTopic;
|
|
3584
3717
|
declare const schemas_WalletSubscriptionTopicSchema: typeof WalletSubscriptionTopicSchema;
|
|
3585
3718
|
declare namespace schemas {
|
|
3586
|
-
export { schemas_AmountWithUsdSchema as AmountWithUsdSchema, schemas_AmountWithoutUsdSchema as AmountWithoutUsdSchema, CloseSpotPositionQuote$1 as CloseSpotPositionQuote, DecreaseSpotPositionQuote$1 as DecreaseSpotPositionQuote, FeesStatsGroup$1 as FeesStatsGroup, IncreaseSpotPositionQuote$1 as IncreaseSpotPositionQuote, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, LimitOrderQuoteByInput$1 as LimitOrderQuoteByInput, LimitOrderQuoteByOutput$1 as LimitOrderQuoteByOutput, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, schemas_LpPositionAutoCompound as LpPositionAutoCompound, schemas_LpPositionAutoCompoundSchema as LpPositionAutoCompoundSchema, schemas_LpPositionLimitOrderSwap as LpPositionLimitOrderSwap, schemas_LpPositionLimitOrderSwapSchema as LpPositionLimitOrderSwapSchema, schemas_LpPositionRebalance as LpPositionRebalance, schemas_LpPositionRebalanceSchema as LpPositionRebalanceSchema, schemas_LpPositionsActionType as LpPositionsActionType, schemas_LpPositionsActionTypeSchema as LpPositionsActionTypeSchema, Market$1 as Market, Mint$1 as Mint, schemas_NotificationAction as NotificationAction, schemas_NotificationActionSchema as NotificationActionSchema, schemas_NotificationEntity as NotificationEntity, schemas_NotificationEntitySchema as NotificationEntitySchema, OrderBook$1 as OrderBook, OrderBookEntry$1 as OrderBookEntry, OrderHistoryEntry$1 as OrderHistoryEntry, schemas_OrderHistoryEntryNotification as OrderHistoryEntryNotification, schemas_OrderHistoryOrderType as OrderHistoryOrderType, schemas_OrderHistoryOrderTypeSchema as OrderHistoryOrderTypeSchema, schemas_OrderHistoryStatus as OrderHistoryStatus, schemas_OrderHistoryStatusSchema as OrderHistoryStatusSchema, schemas_OrderHistoryUIDirection as OrderHistoryUIDirection, schemas_OrderHistoryUIDirectionSchema as OrderHistoryUIDirectionSchema, PaginationMeta$1 as PaginationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema,
|
|
3719
|
+
export { schemas_AmountWithUsdSchema as AmountWithUsdSchema, schemas_AmountWithoutUsdSchema as AmountWithoutUsdSchema, CloseSpotPositionQuote$1 as CloseSpotPositionQuote, DecreaseSpotPositionQuote$1 as DecreaseSpotPositionQuote, FeesStatsGroup$1 as FeesStatsGroup, IncreaseSpotPositionQuote$1 as IncreaseSpotPositionQuote, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, LimitOrderQuoteByInput$1 as LimitOrderQuoteByInput, LimitOrderQuoteByOutput$1 as LimitOrderQuoteByOutput, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, schemas_LpPositionAutoCompound as LpPositionAutoCompound, schemas_LpPositionAutoCompoundSchema as LpPositionAutoCompoundSchema, schemas_LpPositionLimitOrderSwap as LpPositionLimitOrderSwap, schemas_LpPositionLimitOrderSwapSchema as LpPositionLimitOrderSwapSchema, schemas_LpPositionRebalance as LpPositionRebalance, schemas_LpPositionRebalanceSchema as LpPositionRebalanceSchema, schemas_LpPositionsActionType as LpPositionsActionType, schemas_LpPositionsActionTypeSchema as LpPositionsActionTypeSchema, Market$1 as Market, Mint$1 as Mint, schemas_NotificationAction as NotificationAction, schemas_NotificationActionSchema as NotificationActionSchema, schemas_NotificationEntity as NotificationEntity, schemas_NotificationEntitySchema as NotificationEntitySchema, OrderBook$1 as OrderBook, OrderBookEntry$1 as OrderBookEntry, OrderHistoryEntry$1 as OrderHistoryEntry, schemas_OrderHistoryEntryNotification as OrderHistoryEntryNotification, schemas_OrderHistoryOrderType as OrderHistoryOrderType, schemas_OrderHistoryOrderTypeSchema as OrderHistoryOrderTypeSchema, schemas_OrderHistoryStatus as OrderHistoryStatus, schemas_OrderHistoryStatusSchema as OrderHistoryStatusSchema, schemas_OrderHistoryUIDirection as OrderHistoryUIDirection, schemas_OrderHistoryUIDirectionSchema as OrderHistoryUIDirectionSchema, PaginationMeta$1 as PaginationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema, schemas_PoolSubscriptionTopic as PoolSubscriptionTopic, schemas_PoolSubscriptionTopicSchema as PoolSubscriptionTopicSchema, PoolSwap$1 as PoolSwap, schemas_PoolSwapNotification as PoolSwapNotification, PoolTicks$1 as PoolTicks, StakingLeaderboardPage$1 as StakingLeaderboardPage, StakingLeaderboardPosition$1 as StakingLeaderboardPosition, StakingPosition$1 as StakingPosition, StakingPositionHistoryAction$1 as StakingPositionHistoryAction, StakingPositionHistoryActionType$1 as StakingPositionHistoryActionType, schemas_StakingPositionHistoryActionTypeSchema as StakingPositionHistoryActionTypeSchema, schemas_StakingPositionNotification as StakingPositionNotification, StakingRevenueStatsGroup$1 as StakingRevenueStatsGroup, StakingTreasury$1 as StakingTreasury, StateSnapshot$1 as StateSnapshot, schemas_StateSnapshotNotification as StateSnapshotNotification, SwapQuoteByInput$1 as SwapQuoteByInput, SwapQuoteByOutput$1 as SwapQuoteByOutput, Tick$1 as Tick, TokenOraclePrice$1 as TokenOraclePrice, schemas_TokensPnlSchema as TokensPnlSchema, TradableAmount$1 as TradableAmount, schemas_TradeHistoryAction as TradeHistoryAction, schemas_TradeHistoryActionSchema as TradeHistoryActionSchema, TradeHistoryEntry$1 as TradeHistoryEntry, schemas_TradeHistoryEntryNotification as TradeHistoryEntryNotification, schemas_TradeHistoryUIDirection as TradeHistoryUIDirection, schemas_TradeHistoryUIDirectionSchema as TradeHistoryUIDirectionSchema, TunaLpPositionAction$1 as TunaLpPositionAction, schemas_TunaLpPositionActionClose as TunaLpPositionActionClose, schemas_TunaLpPositionActionCollectAndCompoundFees as TunaLpPositionActionCollectAndCompoundFees, schemas_TunaLpPositionActionCollectFees as TunaLpPositionActionCollectFees, schemas_TunaLpPositionActionDecreaseLiquidity as TunaLpPositionActionDecreaseLiquidity, schemas_TunaLpPositionActionIncreaseLiquidity as TunaLpPositionActionIncreaseLiquidity, schemas_TunaLpPositionActionLiquidate as TunaLpPositionActionLiquidate, schemas_TunaLpPositionActionOpen as TunaLpPositionActionOpen, schemas_TunaLpPositionActionParametersUpdate as TunaLpPositionActionParametersUpdate, schemas_TunaLpPositionActionRepayDebt as TunaLpPositionActionRepayDebt, schemas_TunaLpPositionAutoCompounding as TunaLpPositionAutoCompounding, schemas_TunaLpPositionAutoCompoundingSchema as TunaLpPositionAutoCompoundingSchema, schemas_TunaLpPositionDtoSchema as TunaLpPositionDtoSchema, schemas_TunaLpPositionFlagsSchema as TunaLpPositionFlagsSchema, schemas_TunaLpPositionHistorical as TunaLpPositionHistorical, schemas_TunaLpPositionParameters as TunaLpPositionParameters, schemas_TunaLpPositionTokenPrices as TunaLpPositionTokenPrices, schemas_TunaLpPositionTransfer as TunaLpPositionTransfer, schemas_TunaLpPositionValue as TunaLpPositionValue, schemas_TunaPositionLegacy as TunaPositionLegacy, schemas_TunaPositionPoolToken as TunaPositionPoolToken, schemas_TunaPositionPoolTokenSchema as TunaPositionPoolTokenSchema, schemas_TunaPositionState as TunaPositionState, schemas_TunaPositionStateSchema as TunaPositionStateSchema, schemas_TunaPositionTokenPnlSchema as TunaPositionTokenPnlSchema, TunaSpotPosition$1 as TunaSpotPosition, schemas_TunaSpotPositionState as TunaSpotPositionState, schemas_TunaSpotPositionStateSchema as TunaSpotPositionStateSchema, schemas_UpdateStreamSubscriptionResult as UpdateStreamSubscriptionResult, schemas_UsdPnlSchema as UsdPnlSchema, Vault$1 as Vault, VaultHistoricalStats$1 as VaultHistoricalStats, schemas_WalletSubscriptionTopic as WalletSubscriptionTopic, schemas_WalletSubscriptionTopicSchema as WalletSubscriptionTopicSchema };
|
|
3587
3720
|
}
|
|
3588
3721
|
|
|
3589
3722
|
type NotificationEntityType = z.infer<typeof NotificationEntitySchema>;
|