@crypticdot/defituna-api 1.10.11 → 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 CHANGED
@@ -30,11 +30,22 @@ declare const Pool$1: z$1.ZodObject<{
30
30
  orca: "orca";
31
31
  fusion: "fusion";
32
32
  }>;
33
- tokenAMint: z$1.ZodString;
34
- tokenBMint: z$1.ZodString;
33
+ mintA: z$1.ZodObject<{
34
+ address: z$1.ZodString;
35
+ symbol: z$1.ZodString;
36
+ name: z$1.ZodString;
37
+ logo: z$1.ZodString;
38
+ decimals: z$1.ZodNumber;
39
+ }, z$1.core.$strip>;
40
+ mintB: z$1.ZodObject<{
41
+ address: z$1.ZodString;
42
+ symbol: z$1.ZodString;
43
+ name: z$1.ZodString;
44
+ logo: z$1.ZodString;
45
+ decimals: z$1.ZodNumber;
46
+ }, z$1.core.$strip>;
35
47
  tokenAVault: z$1.ZodString;
36
48
  tokenBVault: z$1.ZodString;
37
- tvlUsd: z$1.ZodCoercedNumber<unknown>;
38
49
  tickSpacing: z$1.ZodNumber;
39
50
  feeRate: z$1.ZodNumber;
40
51
  protocolFeeRate: z$1.ZodNumber;
@@ -43,15 +54,98 @@ declare const Pool$1: z$1.ZodObject<{
43
54
  sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
44
55
  price: z$1.ZodNumber;
45
56
  tickCurrentIndex: z$1.ZodNumber;
46
- stats: z$1.ZodObject<{
47
- "24h": z$1.ZodObject<{
48
- volume: z$1.ZodNumber;
49
- fees: z$1.ZodNumber;
50
- priceChange: z$1.ZodNumber;
57
+ stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
58
+ tvlUsd: z$1.ZodCoercedNumber<unknown>;
59
+ groups: z$1.ZodObject<{
60
+ "24h": z$1.ZodObject<{
61
+ volumeUsd: z$1.ZodNumber;
62
+ feesUsd: z$1.ZodNumber;
63
+ priceChange: z$1.ZodNumber;
64
+ }, z$1.core.$strip>;
51
65
  }, z$1.core.$strip>;
52
- }, z$1.core.$strip>;
66
+ }, z$1.core.$strip>>>;
53
67
  }, z$1.core.$strip>;
54
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
+
55
149
  declare const LimitOrderState: {
56
150
  readonly OPEN: "open";
57
151
  readonly PARTIALLY_FILLED: "partially_filled";
@@ -70,24 +164,46 @@ declare const LimitOrder$1: z.ZodObject<{
70
164
  address: z.ZodString;
71
165
  orderMint: z.ZodString;
72
166
  authority: z.ZodString;
73
- mintA: z.ZodObject<{
74
- mint: z.ZodString;
75
- symbol: z.ZodString;
76
- name: z.ZodString;
77
- logo: z.ZodString;
78
- decimals: z.ZodNumber;
79
- }, z.core.$strip>;
80
- mintB: z.ZodObject<{
81
- mint: z.ZodString;
82
- symbol: z.ZodString;
83
- name: z.ZodString;
84
- logo: z.ZodString;
85
- decimals: z.ZodNumber;
86
- }, z.core.$strip>;
87
167
  pool: z.ZodObject<{
88
- addr: z.ZodString;
89
- price: z.ZodNumber;
168
+ address: z.ZodString;
169
+ provider: z.ZodEnum<{
170
+ orca: "orca";
171
+ fusion: "fusion";
172
+ }>;
173
+ mintA: z.ZodObject<{
174
+ address: z.ZodString;
175
+ symbol: z.ZodString;
176
+ name: z.ZodString;
177
+ logo: z.ZodString;
178
+ decimals: z.ZodNumber;
179
+ }, z.core.$strip>;
180
+ mintB: z.ZodObject<{
181
+ address: z.ZodString;
182
+ symbol: z.ZodString;
183
+ name: z.ZodString;
184
+ logo: z.ZodString;
185
+ decimals: z.ZodNumber;
186
+ }, z.core.$strip>;
187
+ tokenAVault: z.ZodString;
188
+ tokenBVault: z.ZodString;
90
189
  tickSpacing: z.ZodNumber;
190
+ feeRate: z.ZodNumber;
191
+ protocolFeeRate: z.ZodNumber;
192
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
193
+ liquidity: z.ZodCoercedBigInt<unknown>;
194
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
195
+ price: z.ZodNumber;
196
+ tickCurrentIndex: z.ZodNumber;
197
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
198
+ tvlUsd: z.ZodCoercedNumber<unknown>;
199
+ groups: z.ZodObject<{
200
+ "24h": z.ZodObject<{
201
+ volumeUsd: z.ZodNumber;
202
+ feesUsd: z.ZodNumber;
203
+ priceChange: z.ZodNumber;
204
+ }, z.core.$strip>;
205
+ }, z.core.$strip>;
206
+ }, z.core.$strip>>>;
91
207
  }, z.core.$strip>;
92
208
  state: z.ZodEnum<{
93
209
  open: "open";
@@ -219,24 +335,46 @@ declare const TunaLpPositionDtoSchema: z$1.ZodObject<{
219
335
  }>>;
220
336
  autoRebalancing: z$1.ZodBoolean;
221
337
  }, z$1.core.$strip>;
222
- mintA: z$1.ZodObject<{
223
- mint: z$1.ZodString;
224
- symbol: z$1.ZodString;
225
- name: z$1.ZodString;
226
- logo: z$1.ZodString;
227
- decimals: z$1.ZodNumber;
228
- }, z$1.core.$strip>;
229
- mintB: z$1.ZodObject<{
230
- mint: z$1.ZodString;
231
- symbol: z$1.ZodString;
232
- name: z$1.ZodString;
233
- logo: z$1.ZodString;
234
- decimals: z$1.ZodNumber;
235
- }, z$1.core.$strip>;
236
338
  pool: z$1.ZodObject<{
237
- addr: z$1.ZodString;
238
- price: z$1.ZodNumber;
339
+ address: z$1.ZodString;
340
+ provider: z$1.ZodEnum<{
341
+ orca: "orca";
342
+ fusion: "fusion";
343
+ }>;
344
+ mintA: z$1.ZodObject<{
345
+ address: z$1.ZodString;
346
+ symbol: z$1.ZodString;
347
+ name: z$1.ZodString;
348
+ logo: z$1.ZodString;
349
+ decimals: z$1.ZodNumber;
350
+ }, z$1.core.$strip>;
351
+ mintB: z$1.ZodObject<{
352
+ address: z$1.ZodString;
353
+ symbol: z$1.ZodString;
354
+ name: z$1.ZodString;
355
+ logo: z$1.ZodString;
356
+ decimals: z$1.ZodNumber;
357
+ }, z$1.core.$strip>;
358
+ tokenAVault: z$1.ZodString;
359
+ tokenBVault: z$1.ZodString;
239
360
  tickSpacing: z$1.ZodNumber;
361
+ feeRate: z$1.ZodNumber;
362
+ protocolFeeRate: z$1.ZodNumber;
363
+ olpFeeRate: z$1.ZodNullable<z$1.ZodNumber>;
364
+ liquidity: z$1.ZodCoercedBigInt<unknown>;
365
+ sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
366
+ price: z$1.ZodNumber;
367
+ tickCurrentIndex: z$1.ZodNumber;
368
+ stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
369
+ tvlUsd: z$1.ZodCoercedNumber<unknown>;
370
+ groups: z$1.ZodObject<{
371
+ "24h": z$1.ZodObject<{
372
+ volumeUsd: z$1.ZodNumber;
373
+ feesUsd: z$1.ZodNumber;
374
+ priceChange: z$1.ZodNumber;
375
+ }, z$1.core.$strip>;
376
+ }, z$1.core.$strip>;
377
+ }, z$1.core.$strip>>>;
240
378
  }, z$1.core.$strip>;
241
379
  marketMaker: z$1.ZodEnum<{
242
380
  orca: "orca";
@@ -903,24 +1041,46 @@ declare const TunaSpotPosition$1: z.ZodObject<{
903
1041
  lowerLimitOrderPrice: z.ZodNumber;
904
1042
  upperLimitOrderPrice: z.ZodNumber;
905
1043
  entryPrice: z.ZodNumber;
906
- mintA: z.ZodObject<{
907
- mint: z.ZodString;
908
- symbol: z.ZodString;
909
- name: z.ZodString;
910
- logo: z.ZodString;
911
- decimals: z.ZodNumber;
912
- }, z.core.$strip>;
913
- mintB: z.ZodObject<{
914
- mint: z.ZodString;
915
- symbol: z.ZodString;
916
- name: z.ZodString;
917
- logo: z.ZodString;
918
- decimals: z.ZodNumber;
919
- }, z.core.$strip>;
920
1044
  pool: z.ZodObject<{
921
- addr: z.ZodString;
922
- price: z.ZodNumber;
1045
+ address: z.ZodString;
1046
+ provider: z.ZodEnum<{
1047
+ orca: "orca";
1048
+ fusion: "fusion";
1049
+ }>;
1050
+ mintA: z.ZodObject<{
1051
+ address: z.ZodString;
1052
+ symbol: z.ZodString;
1053
+ name: z.ZodString;
1054
+ logo: z.ZodString;
1055
+ decimals: z.ZodNumber;
1056
+ }, z.core.$strip>;
1057
+ mintB: z.ZodObject<{
1058
+ address: z.ZodString;
1059
+ symbol: z.ZodString;
1060
+ name: z.ZodString;
1061
+ logo: z.ZodString;
1062
+ decimals: z.ZodNumber;
1063
+ }, z.core.$strip>;
1064
+ tokenAVault: z.ZodString;
1065
+ tokenBVault: z.ZodString;
923
1066
  tickSpacing: z.ZodNumber;
1067
+ feeRate: z.ZodNumber;
1068
+ protocolFeeRate: z.ZodNumber;
1069
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
1070
+ liquidity: z.ZodCoercedBigInt<unknown>;
1071
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
1072
+ price: z.ZodNumber;
1073
+ tickCurrentIndex: z.ZodNumber;
1074
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1075
+ tvlUsd: z.ZodCoercedNumber<unknown>;
1076
+ groups: z.ZodObject<{
1077
+ "24h": z.ZodObject<{
1078
+ volumeUsd: z.ZodNumber;
1079
+ feesUsd: z.ZodNumber;
1080
+ priceChange: z.ZodNumber;
1081
+ }, z.core.$strip>;
1082
+ }, z.core.$strip>;
1083
+ }, z.core.$strip>>>;
924
1084
  }, z.core.$strip>;
925
1085
  positionToken: z.ZodEnum<{
926
1086
  [x: string]: string;
@@ -984,11 +1144,6 @@ declare const CloseSpotPositionQuote$1: z.ZodObject<{
984
1144
  priceImpact: z.ZodNumber;
985
1145
  }, z.core.$strip>;
986
1146
 
987
- declare const TunaPositionPoolSchema: z$1.ZodObject<{
988
- addr: z$1.ZodString;
989
- price: z$1.ZodNumber;
990
- tickSpacing: z$1.ZodNumber;
991
- }, z$1.core.$strip>;
992
1147
  declare const TunaPositionPoolToken: {
993
1148
  readonly A: "a";
994
1149
  readonly B: "b";
@@ -997,44 +1152,20 @@ declare const TunaPositionPoolTokenSchema: z$1.ZodEnum<{
997
1152
  [x: string]: string;
998
1153
  }>;
999
1154
 
1000
- declare const PoolSnapshot: z$1.ZodObject<{
1001
- liquidity: z$1.ZodCoercedBigInt<unknown>;
1002
- tickCurrentIndex: z$1.ZodNumber;
1003
- price: z$1.ZodNumber;
1004
- sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
1005
- tvl: z$1.ZodNumber;
1006
- priceChange24H: z$1.ZodNumber;
1007
- volume24H: z$1.ZodNumber;
1008
- fees24H: z$1.ZodNumber;
1009
- borrowedFundsA: z$1.ZodObject<{
1010
- amount: z$1.ZodCoercedBigInt<unknown>;
1011
- usd: z$1.ZodNumber;
1012
- }, z$1.core.$strip>;
1013
- borrowedFundsB: z$1.ZodObject<{
1014
- amount: z$1.ZodCoercedBigInt<unknown>;
1015
- usd: z$1.ZodNumber;
1016
- }, z$1.core.$strip>;
1017
- borrowLimitA: z$1.ZodObject<{
1018
- amount: z$1.ZodCoercedBigInt<unknown>;
1019
- usd: z$1.ZodNumber;
1020
- }, z$1.core.$strip>;
1021
- borrowLimitB: z$1.ZodObject<{
1022
- amount: z$1.ZodCoercedBigInt<unknown>;
1023
- usd: z$1.ZodNumber;
1024
- }, z$1.core.$strip>;
1025
- }, z$1.core.$strip>;
1026
1155
  declare const StateSnapshot$1: z$1.ZodObject<{
1027
1156
  slot: z$1.ZodCoercedBigInt<unknown>;
1028
1157
  blockTime: z$1.ZodCoercedDate<unknown>;
1029
- pools: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1030
- liquidity: z$1.ZodCoercedBigInt<unknown>;
1031
- tickCurrentIndex: z$1.ZodNumber;
1032
- price: z$1.ZodNumber;
1033
- sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
1034
- tvl: z$1.ZodNumber;
1035
- priceChange24H: z$1.ZodNumber;
1036
- volume24H: z$1.ZodNumber;
1037
- fees24H: z$1.ZodNumber;
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;
1038
1169
  borrowedFundsA: z$1.ZodObject<{
1039
1170
  amount: z$1.ZodCoercedBigInt<unknown>;
1040
1171
  usd: z$1.ZodNumber;
@@ -1051,6 +1182,57 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1051
1182
  amount: z$1.ZodCoercedBigInt<unknown>;
1052
1183
  usd: z$1.ZodNumber;
1053
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>;
1054
1236
  }, z$1.core.$strip>>>;
1055
1237
  tunaSpotPositions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1056
1238
  address: z$1.ZodString;
@@ -1063,24 +1245,46 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1063
1245
  lowerLimitOrderPrice: z$1.ZodNumber;
1064
1246
  upperLimitOrderPrice: z$1.ZodNumber;
1065
1247
  entryPrice: z$1.ZodNumber;
1066
- mintA: z$1.ZodObject<{
1067
- mint: z$1.ZodString;
1068
- symbol: z$1.ZodString;
1069
- name: z$1.ZodString;
1070
- logo: z$1.ZodString;
1071
- decimals: z$1.ZodNumber;
1072
- }, z$1.core.$strip>;
1073
- mintB: z$1.ZodObject<{
1074
- mint: z$1.ZodString;
1075
- symbol: z$1.ZodString;
1076
- name: z$1.ZodString;
1077
- logo: z$1.ZodString;
1078
- decimals: z$1.ZodNumber;
1079
- }, z$1.core.$strip>;
1080
1248
  pool: z$1.ZodObject<{
1081
- addr: z$1.ZodString;
1082
- price: z$1.ZodNumber;
1249
+ address: z$1.ZodString;
1250
+ provider: z$1.ZodEnum<{
1251
+ orca: "orca";
1252
+ fusion: "fusion";
1253
+ }>;
1254
+ mintA: z$1.ZodObject<{
1255
+ address: z$1.ZodString;
1256
+ symbol: z$1.ZodString;
1257
+ name: z$1.ZodString;
1258
+ logo: z$1.ZodString;
1259
+ decimals: z$1.ZodNumber;
1260
+ }, z$1.core.$strip>;
1261
+ mintB: z$1.ZodObject<{
1262
+ address: z$1.ZodString;
1263
+ symbol: z$1.ZodString;
1264
+ name: z$1.ZodString;
1265
+ logo: z$1.ZodString;
1266
+ decimals: z$1.ZodNumber;
1267
+ }, z$1.core.$strip>;
1268
+ tokenAVault: z$1.ZodString;
1269
+ tokenBVault: z$1.ZodString;
1083
1270
  tickSpacing: z$1.ZodNumber;
1271
+ feeRate: z$1.ZodNumber;
1272
+ protocolFeeRate: z$1.ZodNumber;
1273
+ olpFeeRate: z$1.ZodNullable<z$1.ZodNumber>;
1274
+ liquidity: z$1.ZodCoercedBigInt<unknown>;
1275
+ sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
1276
+ price: z$1.ZodNumber;
1277
+ tickCurrentIndex: z$1.ZodNumber;
1278
+ stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
1279
+ tvlUsd: z$1.ZodCoercedNumber<unknown>;
1280
+ groups: z$1.ZodObject<{
1281
+ "24h": z$1.ZodObject<{
1282
+ volumeUsd: z$1.ZodNumber;
1283
+ feesUsd: z$1.ZodNumber;
1284
+ priceChange: z$1.ZodNumber;
1285
+ }, z$1.core.$strip>;
1286
+ }, z$1.core.$strip>;
1287
+ }, z$1.core.$strip>>>;
1084
1288
  }, z$1.core.$strip>;
1085
1289
  positionToken: z$1.ZodEnum<{
1086
1290
  [x: string]: string;
@@ -1147,24 +1351,46 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1147
1351
  }>>;
1148
1352
  autoRebalancing: z$1.ZodBoolean;
1149
1353
  }, z$1.core.$strip>;
1150
- mintA: z$1.ZodObject<{
1151
- mint: z$1.ZodString;
1152
- symbol: z$1.ZodString;
1153
- name: z$1.ZodString;
1154
- logo: z$1.ZodString;
1155
- decimals: z$1.ZodNumber;
1156
- }, z$1.core.$strip>;
1157
- mintB: z$1.ZodObject<{
1158
- mint: z$1.ZodString;
1159
- symbol: z$1.ZodString;
1160
- name: z$1.ZodString;
1161
- logo: z$1.ZodString;
1162
- decimals: z$1.ZodNumber;
1163
- }, z$1.core.$strip>;
1164
1354
  pool: z$1.ZodObject<{
1165
- addr: z$1.ZodString;
1166
- price: z$1.ZodNumber;
1355
+ address: z$1.ZodString;
1356
+ provider: z$1.ZodEnum<{
1357
+ orca: "orca";
1358
+ fusion: "fusion";
1359
+ }>;
1360
+ mintA: z$1.ZodObject<{
1361
+ address: z$1.ZodString;
1362
+ symbol: z$1.ZodString;
1363
+ name: z$1.ZodString;
1364
+ logo: z$1.ZodString;
1365
+ decimals: z$1.ZodNumber;
1366
+ }, z$1.core.$strip>;
1367
+ mintB: z$1.ZodObject<{
1368
+ address: z$1.ZodString;
1369
+ symbol: z$1.ZodString;
1370
+ name: z$1.ZodString;
1371
+ logo: z$1.ZodString;
1372
+ decimals: z$1.ZodNumber;
1373
+ }, z$1.core.$strip>;
1374
+ tokenAVault: z$1.ZodString;
1375
+ tokenBVault: z$1.ZodString;
1167
1376
  tickSpacing: z$1.ZodNumber;
1377
+ feeRate: z$1.ZodNumber;
1378
+ protocolFeeRate: z$1.ZodNumber;
1379
+ olpFeeRate: z$1.ZodNullable<z$1.ZodNumber>;
1380
+ liquidity: z$1.ZodCoercedBigInt<unknown>;
1381
+ sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
1382
+ price: z$1.ZodNumber;
1383
+ tickCurrentIndex: z$1.ZodNumber;
1384
+ stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
1385
+ tvlUsd: z$1.ZodCoercedNumber<unknown>;
1386
+ groups: z$1.ZodObject<{
1387
+ "24h": z$1.ZodObject<{
1388
+ volumeUsd: z$1.ZodNumber;
1389
+ feesUsd: z$1.ZodNumber;
1390
+ priceChange: z$1.ZodNumber;
1391
+ }, z$1.core.$strip>;
1392
+ }, z$1.core.$strip>;
1393
+ }, z$1.core.$strip>>>;
1168
1394
  }, z$1.core.$strip>;
1169
1395
  marketMaker: z$1.ZodEnum<{
1170
1396
  orca: "orca";
@@ -1249,24 +1475,46 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1249
1475
  address: z$1.ZodString;
1250
1476
  orderMint: z$1.ZodString;
1251
1477
  authority: z$1.ZodString;
1252
- mintA: z$1.ZodObject<{
1253
- mint: z$1.ZodString;
1254
- symbol: z$1.ZodString;
1255
- name: z$1.ZodString;
1256
- logo: z$1.ZodString;
1257
- decimals: z$1.ZodNumber;
1258
- }, z$1.core.$strip>;
1259
- mintB: z$1.ZodObject<{
1260
- mint: z$1.ZodString;
1261
- symbol: z$1.ZodString;
1262
- name: z$1.ZodString;
1263
- logo: z$1.ZodString;
1264
- decimals: z$1.ZodNumber;
1265
- }, z$1.core.$strip>;
1266
1478
  pool: z$1.ZodObject<{
1267
- addr: z$1.ZodString;
1268
- price: z$1.ZodNumber;
1479
+ address: z$1.ZodString;
1480
+ provider: z$1.ZodEnum<{
1481
+ orca: "orca";
1482
+ fusion: "fusion";
1483
+ }>;
1484
+ mintA: z$1.ZodObject<{
1485
+ address: z$1.ZodString;
1486
+ symbol: z$1.ZodString;
1487
+ name: z$1.ZodString;
1488
+ logo: z$1.ZodString;
1489
+ decimals: z$1.ZodNumber;
1490
+ }, z$1.core.$strip>;
1491
+ mintB: z$1.ZodObject<{
1492
+ address: z$1.ZodString;
1493
+ symbol: z$1.ZodString;
1494
+ name: z$1.ZodString;
1495
+ logo: z$1.ZodString;
1496
+ decimals: z$1.ZodNumber;
1497
+ }, z$1.core.$strip>;
1498
+ tokenAVault: z$1.ZodString;
1499
+ tokenBVault: z$1.ZodString;
1269
1500
  tickSpacing: z$1.ZodNumber;
1501
+ feeRate: z$1.ZodNumber;
1502
+ protocolFeeRate: z$1.ZodNumber;
1503
+ olpFeeRate: z$1.ZodNullable<z$1.ZodNumber>;
1504
+ liquidity: z$1.ZodCoercedBigInt<unknown>;
1505
+ sqrtPrice: z$1.ZodCoercedBigInt<unknown>;
1506
+ price: z$1.ZodNumber;
1507
+ tickCurrentIndex: z$1.ZodNumber;
1508
+ stats: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
1509
+ tvlUsd: z$1.ZodCoercedNumber<unknown>;
1510
+ groups: z$1.ZodObject<{
1511
+ "24h": z$1.ZodObject<{
1512
+ volumeUsd: z$1.ZodNumber;
1513
+ feesUsd: z$1.ZodNumber;
1514
+ priceChange: z$1.ZodNumber;
1515
+ }, z$1.core.$strip>;
1516
+ }, z$1.core.$strip>;
1517
+ }, z$1.core.$strip>>>;
1270
1518
  }, z$1.core.$strip>;
1271
1519
  state: z$1.ZodEnum<{
1272
1520
  open: "open";
@@ -1291,7 +1539,7 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1291
1539
  openedAt: z$1.ZodCoercedDate<unknown>;
1292
1540
  closedAt: z$1.ZodNullable<z$1.ZodCoercedDate<unknown>>;
1293
1541
  }, z$1.core.$strip>>>;
1294
- orderBooks: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1542
+ orderBooks: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
1295
1543
  entries: z$1.ZodArray<z$1.ZodObject<{
1296
1544
  concentratedAmount: z$1.ZodCoercedBigInt<unknown>;
1297
1545
  concentratedAmountQuote: z$1.ZodCoercedBigInt<unknown>;
@@ -1310,7 +1558,7 @@ declare const StateSnapshot$1: z$1.ZodObject<{
1310
1558
  }, z$1.core.$strip>;
1311
1559
 
1312
1560
  declare const Mint$1: z.ZodObject<{
1313
- mint: z.ZodString;
1561
+ address: z.ZodString;
1314
1562
  symbol: z.ZodString;
1315
1563
  name: z.ZodString;
1316
1564
  logo: z.ZodString;
@@ -1348,13 +1596,9 @@ declare const OrderBook$1: z$1.ZodObject<{
1348
1596
 
1349
1597
  declare const NotificationEntity: {
1350
1598
  readonly POOL_SWAP: "pool_swap";
1351
- readonly POOL_PRICE: "pool_price";
1352
- readonly ORDER_BOOK: "order_book";
1353
- readonly TUNA_POSITION: "tuna_position";
1354
- readonly TUNA_SPOT_POSITION: "tuna_spot_position";
1355
1599
  readonly LENDING_POSITION: "lending_position";
1356
1600
  readonly STAKING_POSITION: "staking_position";
1357
- readonly FUSION_LIMIT_ORDER: "fusion_limit_order";
1601
+ readonly MARKET: "market";
1358
1602
  readonly TRADE_HISTORY_ENTRY: "trade_history_entry";
1359
1603
  readonly ORDER_HISTORY_ENTRY: "order_history_entry";
1360
1604
  readonly STATE_SNAPSHOT: "state_snapshot";
@@ -1424,13 +1668,9 @@ declare const WalletSubscriptionTopic: {
1424
1668
  };
1425
1669
  declare const NotificationEntitySchema: z.ZodEnum<{
1426
1670
  pool_swap: "pool_swap";
1427
- pool_price: "pool_price";
1428
- order_book: "order_book";
1429
- tuna_position: "tuna_position";
1430
- tuna_spot_position: "tuna_spot_position";
1431
1671
  lending_position: "lending_position";
1432
1672
  staking_position: "staking_position";
1433
- fusion_limit_order: "fusion_limit_order";
1673
+ market: "market";
1434
1674
  trade_history_entry: "trade_history_entry";
1435
1675
  order_history_entry: "order_history_entry";
1436
1676
  state_snapshot: "state_snapshot";
@@ -1501,71 +1741,6 @@ declare const WalletSubscriptionTopicSchema: z.ZodEnum<{
1501
1741
  declare const PaginationMeta$1: z.ZodObject<{
1502
1742
  total: z.ZodNumber;
1503
1743
  }, z.core.$strip>;
1504
- declare const Market$1: z.ZodObject<{
1505
- address: z.ZodString;
1506
- addressLookupTable: z.ZodString;
1507
- maxLeverage: z.ZodNumber;
1508
- maxSwapSlippage: z.ZodNumber;
1509
- protocolFee: z.ZodNumber;
1510
- protocolFeeOnCollateral: z.ZodNumber;
1511
- liquidationFee: z.ZodNumber;
1512
- liquidationThreshold: z.ZodNumber;
1513
- oraclePriceDeviationThreshold: z.ZodNumber;
1514
- rebalanceProtocolFee: z.ZodNumber;
1515
- borrowedFundsA: z.ZodObject<{
1516
- amount: z.ZodCoercedBigInt<unknown>;
1517
- usd: z.ZodNumber;
1518
- }, z.core.$strip>;
1519
- borrowedFundsB: z.ZodObject<{
1520
- amount: z.ZodCoercedBigInt<unknown>;
1521
- usd: z.ZodNumber;
1522
- }, z.core.$strip>;
1523
- borrowLimitA: z.ZodObject<{
1524
- amount: z.ZodCoercedBigInt<unknown>;
1525
- usd: z.ZodNumber;
1526
- }, z.core.$strip>;
1527
- borrowLimitB: z.ZodObject<{
1528
- amount: z.ZodCoercedBigInt<unknown>;
1529
- usd: z.ZodNumber;
1530
- }, z.core.$strip>;
1531
- maxSpotPositionSizeA: z.ZodObject<{
1532
- amount: z.ZodCoercedBigInt<unknown>;
1533
- usd: z.ZodNumber;
1534
- }, z.core.$strip>;
1535
- maxSpotPositionSizeB: z.ZodObject<{
1536
- amount: z.ZodCoercedBigInt<unknown>;
1537
- usd: z.ZodNumber;
1538
- }, z.core.$strip>;
1539
- pool: z.ZodObject<{
1540
- address: z.ZodString;
1541
- provider: z.ZodEnum<{
1542
- orca: "orca";
1543
- fusion: "fusion";
1544
- }>;
1545
- tokenAMint: z.ZodString;
1546
- tokenBMint: z.ZodString;
1547
- tokenAVault: z.ZodString;
1548
- tokenBVault: z.ZodString;
1549
- tvlUsd: z.ZodCoercedNumber<unknown>;
1550
- tickSpacing: z.ZodNumber;
1551
- feeRate: z.ZodNumber;
1552
- protocolFeeRate: z.ZodNumber;
1553
- olpFeeRate: z.ZodNullable<z.ZodNumber>;
1554
- liquidity: z.ZodCoercedBigInt<unknown>;
1555
- sqrtPrice: z.ZodCoercedBigInt<unknown>;
1556
- price: z.ZodNumber;
1557
- tickCurrentIndex: z.ZodNumber;
1558
- stats: z.ZodObject<{
1559
- "24h": z.ZodObject<{
1560
- volume: z.ZodNumber;
1561
- fees: z.ZodNumber;
1562
- priceChange: z.ZodNumber;
1563
- }, z.core.$strip>;
1564
- }, z.core.$strip>;
1565
- }, z.core.$strip>;
1566
- disabled: z.ZodBoolean;
1567
- createdAt: z.ZodCoercedDate<unknown>;
1568
- }, z.core.$strip>;
1569
1744
  declare const TokenOraclePrice$1: z.ZodObject<{
1570
1745
  mint: z.ZodString;
1571
1746
  price: z.ZodCoercedBigInt<unknown>;
@@ -1646,7 +1821,47 @@ declare const PoolSwap$1: z.ZodObject<{
1646
1821
  }, z.core.$strip>;
1647
1822
  declare const TradeHistoryEntry$1: z.ZodObject<{
1648
1823
  id: z.ZodString;
1649
- pool: z.ZodString;
1824
+ pool: z.ZodObject<{
1825
+ address: z.ZodString;
1826
+ provider: z.ZodEnum<{
1827
+ orca: "orca";
1828
+ fusion: "fusion";
1829
+ }>;
1830
+ mintA: z.ZodObject<{
1831
+ address: z.ZodString;
1832
+ symbol: z.ZodString;
1833
+ name: z.ZodString;
1834
+ logo: z.ZodString;
1835
+ decimals: z.ZodNumber;
1836
+ }, z.core.$strip>;
1837
+ mintB: z.ZodObject<{
1838
+ address: z.ZodString;
1839
+ symbol: z.ZodString;
1840
+ name: z.ZodString;
1841
+ logo: z.ZodString;
1842
+ decimals: z.ZodNumber;
1843
+ }, z.core.$strip>;
1844
+ tokenAVault: z.ZodString;
1845
+ tokenBVault: z.ZodString;
1846
+ tickSpacing: z.ZodNumber;
1847
+ feeRate: z.ZodNumber;
1848
+ protocolFeeRate: z.ZodNumber;
1849
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
1850
+ liquidity: z.ZodCoercedBigInt<unknown>;
1851
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
1852
+ price: z.ZodNumber;
1853
+ tickCurrentIndex: z.ZodNumber;
1854
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1855
+ tvlUsd: z.ZodCoercedNumber<unknown>;
1856
+ groups: z.ZodObject<{
1857
+ "24h": z.ZodObject<{
1858
+ volumeUsd: z.ZodNumber;
1859
+ feesUsd: z.ZodNumber;
1860
+ priceChange: z.ZodNumber;
1861
+ }, z.core.$strip>;
1862
+ }, z.core.$strip>;
1863
+ }, z.core.$strip>>>;
1864
+ }, z.core.$strip>;
1650
1865
  authority: z.ZodString;
1651
1866
  aToB: z.ZodBoolean;
1652
1867
  action: z.ZodEnum<{
@@ -1690,7 +1905,47 @@ declare const TradeHistoryEntry$1: z.ZodObject<{
1690
1905
  }, z.core.$strip>;
1691
1906
  declare const OrderHistoryEntry$1: z.ZodObject<{
1692
1907
  id: z.ZodString;
1693
- pool: z.ZodString;
1908
+ pool: z.ZodObject<{
1909
+ address: z.ZodString;
1910
+ provider: z.ZodEnum<{
1911
+ orca: "orca";
1912
+ fusion: "fusion";
1913
+ }>;
1914
+ mintA: z.ZodObject<{
1915
+ address: z.ZodString;
1916
+ symbol: z.ZodString;
1917
+ name: z.ZodString;
1918
+ logo: z.ZodString;
1919
+ decimals: z.ZodNumber;
1920
+ }, z.core.$strip>;
1921
+ mintB: z.ZodObject<{
1922
+ address: z.ZodString;
1923
+ symbol: z.ZodString;
1924
+ name: z.ZodString;
1925
+ logo: z.ZodString;
1926
+ decimals: z.ZodNumber;
1927
+ }, z.core.$strip>;
1928
+ tokenAVault: z.ZodString;
1929
+ tokenBVault: z.ZodString;
1930
+ tickSpacing: z.ZodNumber;
1931
+ feeRate: z.ZodNumber;
1932
+ protocolFeeRate: z.ZodNumber;
1933
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
1934
+ liquidity: z.ZodCoercedBigInt<unknown>;
1935
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
1936
+ price: z.ZodNumber;
1937
+ tickCurrentIndex: z.ZodNumber;
1938
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1939
+ tvlUsd: z.ZodCoercedNumber<unknown>;
1940
+ groups: z.ZodObject<{
1941
+ "24h": z.ZodObject<{
1942
+ volumeUsd: z.ZodNumber;
1943
+ feesUsd: z.ZodNumber;
1944
+ priceChange: z.ZodNumber;
1945
+ }, z.core.$strip>;
1946
+ }, z.core.$strip>;
1947
+ }, z.core.$strip>>>;
1948
+ }, z.core.$strip>;
1694
1949
  authority: z.ZodString;
1695
1950
  orderType: z.ZodEnum<{
1696
1951
  market: "market";
@@ -1907,13 +2162,9 @@ declare const PoolSwapNotification: z.ZodObject<{
1907
2162
  meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1908
2163
  entity: z.ZodEnum<{
1909
2164
  pool_swap: "pool_swap";
1910
- pool_price: "pool_price";
1911
- order_book: "order_book";
1912
- tuna_position: "tuna_position";
1913
- tuna_spot_position: "tuna_spot_position";
1914
2165
  lending_position: "lending_position";
1915
2166
  staking_position: "staking_position";
1916
- fusion_limit_order: "fusion_limit_order";
2167
+ market: "market";
1917
2168
  trade_history_entry: "trade_history_entry";
1918
2169
  order_history_entry: "order_history_entry";
1919
2170
  state_snapshot: "state_snapshot";
@@ -1937,13 +2188,9 @@ declare const PoolSwapNotification: z.ZodObject<{
1937
2188
  meta: z.ZodNullable<z.ZodUndefined>;
1938
2189
  entity: z.ZodEnum<{
1939
2190
  pool_swap: "pool_swap";
1940
- pool_price: "pool_price";
1941
- order_book: "order_book";
1942
- tuna_position: "tuna_position";
1943
- tuna_spot_position: "tuna_spot_position";
1944
2191
  lending_position: "lending_position";
1945
2192
  staking_position: "staking_position";
1946
- fusion_limit_order: "fusion_limit_order";
2193
+ market: "market";
1947
2194
  trade_history_entry: "trade_history_entry";
1948
2195
  order_history_entry: "order_history_entry";
1949
2196
  state_snapshot: "state_snapshot";
@@ -1968,13 +2215,9 @@ declare const LendingPositionNotification: z.ZodObject<{
1968
2215
  meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
1969
2216
  entity: z.ZodEnum<{
1970
2217
  pool_swap: "pool_swap";
1971
- pool_price: "pool_price";
1972
- order_book: "order_book";
1973
- tuna_position: "tuna_position";
1974
- tuna_spot_position: "tuna_spot_position";
1975
2218
  lending_position: "lending_position";
1976
2219
  staking_position: "staking_position";
1977
- fusion_limit_order: "fusion_limit_order";
2220
+ market: "market";
1978
2221
  trade_history_entry: "trade_history_entry";
1979
2222
  order_history_entry: "order_history_entry";
1980
2223
  state_snapshot: "state_snapshot";
@@ -2004,13 +2247,9 @@ declare const LendingPositionNotification: z.ZodObject<{
2004
2247
  meta: z.ZodNullable<z.ZodUndefined>;
2005
2248
  entity: z.ZodEnum<{
2006
2249
  pool_swap: "pool_swap";
2007
- pool_price: "pool_price";
2008
- order_book: "order_book";
2009
- tuna_position: "tuna_position";
2010
- tuna_spot_position: "tuna_spot_position";
2011
2250
  lending_position: "lending_position";
2012
2251
  staking_position: "staking_position";
2013
- fusion_limit_order: "fusion_limit_order";
2252
+ market: "market";
2014
2253
  trade_history_entry: "trade_history_entry";
2015
2254
  order_history_entry: "order_history_entry";
2016
2255
  state_snapshot: "state_snapshot";
@@ -2041,13 +2280,9 @@ declare const TradeHistoryEntryNotification: z.ZodObject<{
2041
2280
  meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2042
2281
  entity: z.ZodEnum<{
2043
2282
  pool_swap: "pool_swap";
2044
- pool_price: "pool_price";
2045
- order_book: "order_book";
2046
- tuna_position: "tuna_position";
2047
- tuna_spot_position: "tuna_spot_position";
2048
2283
  lending_position: "lending_position";
2049
2284
  staking_position: "staking_position";
2050
- fusion_limit_order: "fusion_limit_order";
2285
+ market: "market";
2051
2286
  trade_history_entry: "trade_history_entry";
2052
2287
  order_history_entry: "order_history_entry";
2053
2288
  state_snapshot: "state_snapshot";
@@ -2058,7 +2293,47 @@ declare const TradeHistoryEntryNotification: z.ZodObject<{
2058
2293
  }>;
2059
2294
  data: z.ZodObject<{
2060
2295
  id: z.ZodString;
2061
- pool: z.ZodString;
2296
+ pool: z.ZodObject<{
2297
+ address: z.ZodString;
2298
+ provider: z.ZodEnum<{
2299
+ orca: "orca";
2300
+ fusion: "fusion";
2301
+ }>;
2302
+ mintA: z.ZodObject<{
2303
+ address: z.ZodString;
2304
+ symbol: z.ZodString;
2305
+ name: z.ZodString;
2306
+ logo: z.ZodString;
2307
+ decimals: z.ZodNumber;
2308
+ }, z.core.$strip>;
2309
+ mintB: z.ZodObject<{
2310
+ address: z.ZodString;
2311
+ symbol: z.ZodString;
2312
+ name: z.ZodString;
2313
+ logo: z.ZodString;
2314
+ decimals: z.ZodNumber;
2315
+ }, z.core.$strip>;
2316
+ tokenAVault: z.ZodString;
2317
+ tokenBVault: z.ZodString;
2318
+ tickSpacing: z.ZodNumber;
2319
+ feeRate: z.ZodNumber;
2320
+ protocolFeeRate: z.ZodNumber;
2321
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
2322
+ liquidity: z.ZodCoercedBigInt<unknown>;
2323
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
2324
+ price: z.ZodNumber;
2325
+ tickCurrentIndex: z.ZodNumber;
2326
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2327
+ tvlUsd: z.ZodCoercedNumber<unknown>;
2328
+ groups: z.ZodObject<{
2329
+ "24h": z.ZodObject<{
2330
+ volumeUsd: z.ZodNumber;
2331
+ feesUsd: z.ZodNumber;
2332
+ priceChange: z.ZodNumber;
2333
+ }, z.core.$strip>;
2334
+ }, z.core.$strip>;
2335
+ }, z.core.$strip>>>;
2336
+ }, z.core.$strip>;
2062
2337
  authority: z.ZodString;
2063
2338
  aToB: z.ZodBoolean;
2064
2339
  action: z.ZodEnum<{
@@ -2106,13 +2381,9 @@ declare const TradeHistoryEntryNotification: z.ZodObject<{
2106
2381
  meta: z.ZodNullable<z.ZodUndefined>;
2107
2382
  entity: z.ZodEnum<{
2108
2383
  pool_swap: "pool_swap";
2109
- pool_price: "pool_price";
2110
- order_book: "order_book";
2111
- tuna_position: "tuna_position";
2112
- tuna_spot_position: "tuna_spot_position";
2113
2384
  lending_position: "lending_position";
2114
2385
  staking_position: "staking_position";
2115
- fusion_limit_order: "fusion_limit_order";
2386
+ market: "market";
2116
2387
  trade_history_entry: "trade_history_entry";
2117
2388
  order_history_entry: "order_history_entry";
2118
2389
  state_snapshot: "state_snapshot";
@@ -2123,7 +2394,47 @@ declare const TradeHistoryEntryNotification: z.ZodObject<{
2123
2394
  }>;
2124
2395
  data: z.ZodObject<{
2125
2396
  id: z.ZodString;
2126
- pool: z.ZodString;
2397
+ pool: z.ZodObject<{
2398
+ address: z.ZodString;
2399
+ provider: z.ZodEnum<{
2400
+ orca: "orca";
2401
+ fusion: "fusion";
2402
+ }>;
2403
+ mintA: z.ZodObject<{
2404
+ address: z.ZodString;
2405
+ symbol: z.ZodString;
2406
+ name: z.ZodString;
2407
+ logo: z.ZodString;
2408
+ decimals: z.ZodNumber;
2409
+ }, z.core.$strip>;
2410
+ mintB: z.ZodObject<{
2411
+ address: z.ZodString;
2412
+ symbol: z.ZodString;
2413
+ name: z.ZodString;
2414
+ logo: z.ZodString;
2415
+ decimals: z.ZodNumber;
2416
+ }, z.core.$strip>;
2417
+ tokenAVault: z.ZodString;
2418
+ tokenBVault: z.ZodString;
2419
+ tickSpacing: z.ZodNumber;
2420
+ feeRate: z.ZodNumber;
2421
+ protocolFeeRate: z.ZodNumber;
2422
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
2423
+ liquidity: z.ZodCoercedBigInt<unknown>;
2424
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
2425
+ price: z.ZodNumber;
2426
+ tickCurrentIndex: z.ZodNumber;
2427
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2428
+ tvlUsd: z.ZodCoercedNumber<unknown>;
2429
+ groups: z.ZodObject<{
2430
+ "24h": z.ZodObject<{
2431
+ volumeUsd: z.ZodNumber;
2432
+ feesUsd: z.ZodNumber;
2433
+ priceChange: z.ZodNumber;
2434
+ }, z.core.$strip>;
2435
+ }, z.core.$strip>;
2436
+ }, z.core.$strip>>>;
2437
+ }, z.core.$strip>;
2127
2438
  authority: z.ZodString;
2128
2439
  aToB: z.ZodBoolean;
2129
2440
  action: z.ZodEnum<{
@@ -2172,13 +2483,9 @@ declare const OrderHistoryEntryNotification: z.ZodObject<{
2172
2483
  meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2173
2484
  entity: z.ZodEnum<{
2174
2485
  pool_swap: "pool_swap";
2175
- pool_price: "pool_price";
2176
- order_book: "order_book";
2177
- tuna_position: "tuna_position";
2178
- tuna_spot_position: "tuna_spot_position";
2179
2486
  lending_position: "lending_position";
2180
2487
  staking_position: "staking_position";
2181
- fusion_limit_order: "fusion_limit_order";
2488
+ market: "market";
2182
2489
  trade_history_entry: "trade_history_entry";
2183
2490
  order_history_entry: "order_history_entry";
2184
2491
  state_snapshot: "state_snapshot";
@@ -2189,7 +2496,47 @@ declare const OrderHistoryEntryNotification: z.ZodObject<{
2189
2496
  }>;
2190
2497
  data: z.ZodObject<{
2191
2498
  id: z.ZodString;
2192
- pool: z.ZodString;
2499
+ pool: z.ZodObject<{
2500
+ address: z.ZodString;
2501
+ provider: z.ZodEnum<{
2502
+ orca: "orca";
2503
+ fusion: "fusion";
2504
+ }>;
2505
+ mintA: z.ZodObject<{
2506
+ address: z.ZodString;
2507
+ symbol: z.ZodString;
2508
+ name: z.ZodString;
2509
+ logo: z.ZodString;
2510
+ decimals: z.ZodNumber;
2511
+ }, z.core.$strip>;
2512
+ mintB: z.ZodObject<{
2513
+ address: z.ZodString;
2514
+ symbol: z.ZodString;
2515
+ name: z.ZodString;
2516
+ logo: z.ZodString;
2517
+ decimals: z.ZodNumber;
2518
+ }, z.core.$strip>;
2519
+ tokenAVault: z.ZodString;
2520
+ tokenBVault: z.ZodString;
2521
+ tickSpacing: z.ZodNumber;
2522
+ feeRate: z.ZodNumber;
2523
+ protocolFeeRate: z.ZodNumber;
2524
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
2525
+ liquidity: z.ZodCoercedBigInt<unknown>;
2526
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
2527
+ price: z.ZodNumber;
2528
+ tickCurrentIndex: z.ZodNumber;
2529
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2530
+ tvlUsd: z.ZodCoercedNumber<unknown>;
2531
+ groups: z.ZodObject<{
2532
+ "24h": z.ZodObject<{
2533
+ volumeUsd: z.ZodNumber;
2534
+ feesUsd: z.ZodNumber;
2535
+ priceChange: z.ZodNumber;
2536
+ }, z.core.$strip>;
2537
+ }, z.core.$strip>;
2538
+ }, z.core.$strip>>>;
2539
+ }, z.core.$strip>;
2193
2540
  authority: z.ZodString;
2194
2541
  orderType: z.ZodEnum<{
2195
2542
  market: "market";
@@ -2243,13 +2590,9 @@ declare const OrderHistoryEntryNotification: z.ZodObject<{
2243
2590
  meta: z.ZodNullable<z.ZodUndefined>;
2244
2591
  entity: z.ZodEnum<{
2245
2592
  pool_swap: "pool_swap";
2246
- pool_price: "pool_price";
2247
- order_book: "order_book";
2248
- tuna_position: "tuna_position";
2249
- tuna_spot_position: "tuna_spot_position";
2250
2593
  lending_position: "lending_position";
2251
2594
  staking_position: "staking_position";
2252
- fusion_limit_order: "fusion_limit_order";
2595
+ market: "market";
2253
2596
  trade_history_entry: "trade_history_entry";
2254
2597
  order_history_entry: "order_history_entry";
2255
2598
  state_snapshot: "state_snapshot";
@@ -2260,7 +2603,47 @@ declare const OrderHistoryEntryNotification: z.ZodObject<{
2260
2603
  }>;
2261
2604
  data: z.ZodObject<{
2262
2605
  id: z.ZodString;
2263
- pool: z.ZodString;
2606
+ pool: z.ZodObject<{
2607
+ address: z.ZodString;
2608
+ provider: z.ZodEnum<{
2609
+ orca: "orca";
2610
+ fusion: "fusion";
2611
+ }>;
2612
+ mintA: z.ZodObject<{
2613
+ address: z.ZodString;
2614
+ symbol: z.ZodString;
2615
+ name: z.ZodString;
2616
+ logo: z.ZodString;
2617
+ decimals: z.ZodNumber;
2618
+ }, z.core.$strip>;
2619
+ mintB: z.ZodObject<{
2620
+ address: z.ZodString;
2621
+ symbol: z.ZodString;
2622
+ name: z.ZodString;
2623
+ logo: z.ZodString;
2624
+ decimals: z.ZodNumber;
2625
+ }, z.core.$strip>;
2626
+ tokenAVault: z.ZodString;
2627
+ tokenBVault: z.ZodString;
2628
+ tickSpacing: z.ZodNumber;
2629
+ feeRate: z.ZodNumber;
2630
+ protocolFeeRate: z.ZodNumber;
2631
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
2632
+ liquidity: z.ZodCoercedBigInt<unknown>;
2633
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
2634
+ price: z.ZodNumber;
2635
+ tickCurrentIndex: z.ZodNumber;
2636
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2637
+ tvlUsd: z.ZodCoercedNumber<unknown>;
2638
+ groups: z.ZodObject<{
2639
+ "24h": z.ZodObject<{
2640
+ volumeUsd: z.ZodNumber;
2641
+ feesUsd: z.ZodNumber;
2642
+ priceChange: z.ZodNumber;
2643
+ }, z.core.$strip>;
2644
+ }, z.core.$strip>;
2645
+ }, z.core.$strip>>>;
2646
+ }, z.core.$strip>;
2264
2647
  authority: z.ZodString;
2265
2648
  orderType: z.ZodEnum<{
2266
2649
  market: "market";
@@ -2315,13 +2698,9 @@ declare const StakingPositionNotification: z.ZodObject<{
2315
2698
  meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2316
2699
  entity: z.ZodEnum<{
2317
2700
  pool_swap: "pool_swap";
2318
- pool_price: "pool_price";
2319
- order_book: "order_book";
2320
- tuna_position: "tuna_position";
2321
- tuna_spot_position: "tuna_spot_position";
2322
2701
  lending_position: "lending_position";
2323
2702
  staking_position: "staking_position";
2324
- fusion_limit_order: "fusion_limit_order";
2703
+ market: "market";
2325
2704
  trade_history_entry: "trade_history_entry";
2326
2705
  order_history_entry: "order_history_entry";
2327
2706
  state_snapshot: "state_snapshot";
@@ -2373,13 +2752,9 @@ declare const StakingPositionNotification: z.ZodObject<{
2373
2752
  meta: z.ZodNullable<z.ZodUndefined>;
2374
2753
  entity: z.ZodEnum<{
2375
2754
  pool_swap: "pool_swap";
2376
- pool_price: "pool_price";
2377
- order_book: "order_book";
2378
- tuna_position: "tuna_position";
2379
- tuna_spot_position: "tuna_spot_position";
2380
2755
  lending_position: "lending_position";
2381
2756
  staking_position: "staking_position";
2382
- fusion_limit_order: "fusion_limit_order";
2757
+ market: "market";
2383
2758
  trade_history_entry: "trade_history_entry";
2384
2759
  order_history_entry: "order_history_entry";
2385
2760
  state_snapshot: "state_snapshot";
@@ -2432,13 +2807,9 @@ declare const StateSnapshotNotification: z.ZodObject<{
2432
2807
  meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2433
2808
  entity: z.ZodEnum<{
2434
2809
  pool_swap: "pool_swap";
2435
- pool_price: "pool_price";
2436
- order_book: "order_book";
2437
- tuna_position: "tuna_position";
2438
- tuna_spot_position: "tuna_spot_position";
2439
2810
  lending_position: "lending_position";
2440
2811
  staking_position: "staking_position";
2441
- fusion_limit_order: "fusion_limit_order";
2812
+ market: "market";
2442
2813
  trade_history_entry: "trade_history_entry";
2443
2814
  order_history_entry: "order_history_entry";
2444
2815
  state_snapshot: "state_snapshot";
@@ -2450,15 +2821,17 @@ declare const StateSnapshotNotification: z.ZodObject<{
2450
2821
  data: z.ZodObject<{
2451
2822
  slot: z.ZodCoercedBigInt<unknown>;
2452
2823
  blockTime: z.ZodCoercedDate<unknown>;
2453
- pools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2454
- liquidity: z.ZodCoercedBigInt<unknown>;
2455
- tickCurrentIndex: z.ZodNumber;
2456
- price: z.ZodNumber;
2457
- sqrtPrice: z.ZodCoercedBigInt<unknown>;
2458
- tvl: z.ZodNumber;
2459
- priceChange24H: z.ZodNumber;
2460
- volume24H: z.ZodNumber;
2461
- fees24H: z.ZodNumber;
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;
2462
2835
  borrowedFundsA: z.ZodObject<{
2463
2836
  amount: z.ZodCoercedBigInt<unknown>;
2464
2837
  usd: z.ZodNumber;
@@ -2475,6 +2848,57 @@ declare const StateSnapshotNotification: z.ZodObject<{
2475
2848
  amount: z.ZodCoercedBigInt<unknown>;
2476
2849
  usd: z.ZodNumber;
2477
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>;
2478
2902
  }, z.core.$strip>>>;
2479
2903
  tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2480
2904
  address: z.ZodString;
@@ -2487,24 +2911,46 @@ declare const StateSnapshotNotification: z.ZodObject<{
2487
2911
  lowerLimitOrderPrice: z.ZodNumber;
2488
2912
  upperLimitOrderPrice: z.ZodNumber;
2489
2913
  entryPrice: z.ZodNumber;
2490
- mintA: z.ZodObject<{
2491
- mint: z.ZodString;
2492
- symbol: z.ZodString;
2493
- name: z.ZodString;
2494
- logo: z.ZodString;
2495
- decimals: z.ZodNumber;
2496
- }, z.core.$strip>;
2497
- mintB: z.ZodObject<{
2498
- mint: z.ZodString;
2499
- symbol: z.ZodString;
2500
- name: z.ZodString;
2501
- logo: z.ZodString;
2502
- decimals: z.ZodNumber;
2503
- }, z.core.$strip>;
2504
2914
  pool: z.ZodObject<{
2505
- addr: z.ZodString;
2506
- price: z.ZodNumber;
2915
+ address: z.ZodString;
2916
+ provider: z.ZodEnum<{
2917
+ orca: "orca";
2918
+ fusion: "fusion";
2919
+ }>;
2920
+ mintA: z.ZodObject<{
2921
+ address: z.ZodString;
2922
+ symbol: z.ZodString;
2923
+ name: z.ZodString;
2924
+ logo: z.ZodString;
2925
+ decimals: z.ZodNumber;
2926
+ }, z.core.$strip>;
2927
+ mintB: z.ZodObject<{
2928
+ address: z.ZodString;
2929
+ symbol: z.ZodString;
2930
+ name: z.ZodString;
2931
+ logo: z.ZodString;
2932
+ decimals: z.ZodNumber;
2933
+ }, z.core.$strip>;
2934
+ tokenAVault: z.ZodString;
2935
+ tokenBVault: z.ZodString;
2507
2936
  tickSpacing: z.ZodNumber;
2937
+ feeRate: z.ZodNumber;
2938
+ protocolFeeRate: z.ZodNumber;
2939
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
2940
+ liquidity: z.ZodCoercedBigInt<unknown>;
2941
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
2942
+ price: z.ZodNumber;
2943
+ tickCurrentIndex: z.ZodNumber;
2944
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2945
+ tvlUsd: z.ZodCoercedNumber<unknown>;
2946
+ groups: z.ZodObject<{
2947
+ "24h": z.ZodObject<{
2948
+ volumeUsd: z.ZodNumber;
2949
+ feesUsd: z.ZodNumber;
2950
+ priceChange: z.ZodNumber;
2951
+ }, z.core.$strip>;
2952
+ }, z.core.$strip>;
2953
+ }, z.core.$strip>>>;
2508
2954
  }, z.core.$strip>;
2509
2955
  positionToken: z.ZodEnum<{
2510
2956
  [x: string]: string;
@@ -2571,24 +3017,46 @@ declare const StateSnapshotNotification: z.ZodObject<{
2571
3017
  }>>;
2572
3018
  autoRebalancing: z.ZodBoolean;
2573
3019
  }, z.core.$strip>;
2574
- mintA: z.ZodObject<{
2575
- mint: z.ZodString;
2576
- symbol: z.ZodString;
2577
- name: z.ZodString;
2578
- logo: z.ZodString;
2579
- decimals: z.ZodNumber;
2580
- }, z.core.$strip>;
2581
- mintB: z.ZodObject<{
2582
- mint: z.ZodString;
2583
- symbol: z.ZodString;
2584
- name: z.ZodString;
2585
- logo: z.ZodString;
2586
- decimals: z.ZodNumber;
2587
- }, z.core.$strip>;
2588
3020
  pool: z.ZodObject<{
2589
- addr: z.ZodString;
2590
- price: z.ZodNumber;
3021
+ address: z.ZodString;
3022
+ provider: z.ZodEnum<{
3023
+ orca: "orca";
3024
+ fusion: "fusion";
3025
+ }>;
3026
+ mintA: z.ZodObject<{
3027
+ address: z.ZodString;
3028
+ symbol: z.ZodString;
3029
+ name: z.ZodString;
3030
+ logo: z.ZodString;
3031
+ decimals: z.ZodNumber;
3032
+ }, z.core.$strip>;
3033
+ mintB: z.ZodObject<{
3034
+ address: z.ZodString;
3035
+ symbol: z.ZodString;
3036
+ name: z.ZodString;
3037
+ logo: z.ZodString;
3038
+ decimals: z.ZodNumber;
3039
+ }, z.core.$strip>;
3040
+ tokenAVault: z.ZodString;
3041
+ tokenBVault: z.ZodString;
2591
3042
  tickSpacing: z.ZodNumber;
3043
+ feeRate: z.ZodNumber;
3044
+ protocolFeeRate: z.ZodNumber;
3045
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
3046
+ liquidity: z.ZodCoercedBigInt<unknown>;
3047
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
3048
+ price: z.ZodNumber;
3049
+ tickCurrentIndex: z.ZodNumber;
3050
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3051
+ tvlUsd: z.ZodCoercedNumber<unknown>;
3052
+ groups: z.ZodObject<{
3053
+ "24h": z.ZodObject<{
3054
+ volumeUsd: z.ZodNumber;
3055
+ feesUsd: z.ZodNumber;
3056
+ priceChange: z.ZodNumber;
3057
+ }, z.core.$strip>;
3058
+ }, z.core.$strip>;
3059
+ }, z.core.$strip>>>;
2592
3060
  }, z.core.$strip>;
2593
3061
  marketMaker: z.ZodEnum<{
2594
3062
  orca: "orca";
@@ -2673,24 +3141,46 @@ declare const StateSnapshotNotification: z.ZodObject<{
2673
3141
  address: z.ZodString;
2674
3142
  orderMint: z.ZodString;
2675
3143
  authority: z.ZodString;
2676
- mintA: z.ZodObject<{
2677
- mint: z.ZodString;
2678
- symbol: z.ZodString;
2679
- name: z.ZodString;
2680
- logo: z.ZodString;
2681
- decimals: z.ZodNumber;
2682
- }, z.core.$strip>;
2683
- mintB: z.ZodObject<{
2684
- mint: z.ZodString;
2685
- symbol: z.ZodString;
2686
- name: z.ZodString;
2687
- logo: z.ZodString;
2688
- decimals: z.ZodNumber;
2689
- }, z.core.$strip>;
2690
3144
  pool: z.ZodObject<{
2691
- addr: z.ZodString;
2692
- price: z.ZodNumber;
3145
+ address: z.ZodString;
3146
+ provider: z.ZodEnum<{
3147
+ orca: "orca";
3148
+ fusion: "fusion";
3149
+ }>;
3150
+ mintA: z.ZodObject<{
3151
+ address: z.ZodString;
3152
+ symbol: z.ZodString;
3153
+ name: z.ZodString;
3154
+ logo: z.ZodString;
3155
+ decimals: z.ZodNumber;
3156
+ }, z.core.$strip>;
3157
+ mintB: z.ZodObject<{
3158
+ address: z.ZodString;
3159
+ symbol: z.ZodString;
3160
+ name: z.ZodString;
3161
+ logo: z.ZodString;
3162
+ decimals: z.ZodNumber;
3163
+ }, z.core.$strip>;
3164
+ tokenAVault: z.ZodString;
3165
+ tokenBVault: z.ZodString;
2693
3166
  tickSpacing: z.ZodNumber;
3167
+ feeRate: z.ZodNumber;
3168
+ protocolFeeRate: z.ZodNumber;
3169
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
3170
+ liquidity: z.ZodCoercedBigInt<unknown>;
3171
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
3172
+ price: z.ZodNumber;
3173
+ tickCurrentIndex: z.ZodNumber;
3174
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3175
+ tvlUsd: z.ZodCoercedNumber<unknown>;
3176
+ groups: z.ZodObject<{
3177
+ "24h": z.ZodObject<{
3178
+ volumeUsd: z.ZodNumber;
3179
+ feesUsd: z.ZodNumber;
3180
+ priceChange: z.ZodNumber;
3181
+ }, z.core.$strip>;
3182
+ }, z.core.$strip>;
3183
+ }, z.core.$strip>>>;
2694
3184
  }, z.core.$strip>;
2695
3185
  state: z.ZodEnum<{
2696
3186
  open: "open";
@@ -2715,7 +3205,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
2715
3205
  openedAt: z.ZodCoercedDate<unknown>;
2716
3206
  closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
2717
3207
  }, z.core.$strip>>>;
2718
- orderBooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3208
+ orderBooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
2719
3209
  entries: z.ZodArray<z.ZodObject<{
2720
3210
  concentratedAmount: z.ZodCoercedBigInt<unknown>;
2721
3211
  concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
@@ -2738,13 +3228,9 @@ declare const StateSnapshotNotification: z.ZodObject<{
2738
3228
  meta: z.ZodNullable<z.ZodUndefined>;
2739
3229
  entity: z.ZodEnum<{
2740
3230
  pool_swap: "pool_swap";
2741
- pool_price: "pool_price";
2742
- order_book: "order_book";
2743
- tuna_position: "tuna_position";
2744
- tuna_spot_position: "tuna_spot_position";
2745
3231
  lending_position: "lending_position";
2746
3232
  staking_position: "staking_position";
2747
- fusion_limit_order: "fusion_limit_order";
3233
+ market: "market";
2748
3234
  trade_history_entry: "trade_history_entry";
2749
3235
  order_history_entry: "order_history_entry";
2750
3236
  state_snapshot: "state_snapshot";
@@ -2756,15 +3242,17 @@ declare const StateSnapshotNotification: z.ZodObject<{
2756
3242
  data: z.ZodObject<{
2757
3243
  slot: z.ZodCoercedBigInt<unknown>;
2758
3244
  blockTime: z.ZodCoercedDate<unknown>;
2759
- pools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2760
- liquidity: z.ZodCoercedBigInt<unknown>;
2761
- tickCurrentIndex: z.ZodNumber;
2762
- price: z.ZodNumber;
2763
- sqrtPrice: z.ZodCoercedBigInt<unknown>;
2764
- tvl: z.ZodNumber;
2765
- priceChange24H: z.ZodNumber;
2766
- volume24H: z.ZodNumber;
2767
- fees24H: z.ZodNumber;
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;
2768
3256
  borrowedFundsA: z.ZodObject<{
2769
3257
  amount: z.ZodCoercedBigInt<unknown>;
2770
3258
  usd: z.ZodNumber;
@@ -2781,6 +3269,57 @@ declare const StateSnapshotNotification: z.ZodObject<{
2781
3269
  amount: z.ZodCoercedBigInt<unknown>;
2782
3270
  usd: z.ZodNumber;
2783
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>;
2784
3323
  }, z.core.$strip>>>;
2785
3324
  tunaSpotPositions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2786
3325
  address: z.ZodString;
@@ -2793,24 +3332,46 @@ declare const StateSnapshotNotification: z.ZodObject<{
2793
3332
  lowerLimitOrderPrice: z.ZodNumber;
2794
3333
  upperLimitOrderPrice: z.ZodNumber;
2795
3334
  entryPrice: z.ZodNumber;
2796
- mintA: z.ZodObject<{
2797
- mint: z.ZodString;
2798
- symbol: z.ZodString;
2799
- name: z.ZodString;
2800
- logo: z.ZodString;
2801
- decimals: z.ZodNumber;
2802
- }, z.core.$strip>;
2803
- mintB: z.ZodObject<{
2804
- mint: z.ZodString;
2805
- symbol: z.ZodString;
2806
- name: z.ZodString;
2807
- logo: z.ZodString;
2808
- decimals: z.ZodNumber;
2809
- }, z.core.$strip>;
2810
3335
  pool: z.ZodObject<{
2811
- addr: z.ZodString;
2812
- price: z.ZodNumber;
3336
+ address: z.ZodString;
3337
+ provider: z.ZodEnum<{
3338
+ orca: "orca";
3339
+ fusion: "fusion";
3340
+ }>;
3341
+ mintA: z.ZodObject<{
3342
+ address: z.ZodString;
3343
+ symbol: z.ZodString;
3344
+ name: z.ZodString;
3345
+ logo: z.ZodString;
3346
+ decimals: z.ZodNumber;
3347
+ }, z.core.$strip>;
3348
+ mintB: z.ZodObject<{
3349
+ address: z.ZodString;
3350
+ symbol: z.ZodString;
3351
+ name: z.ZodString;
3352
+ logo: z.ZodString;
3353
+ decimals: z.ZodNumber;
3354
+ }, z.core.$strip>;
3355
+ tokenAVault: z.ZodString;
3356
+ tokenBVault: z.ZodString;
2813
3357
  tickSpacing: z.ZodNumber;
3358
+ feeRate: z.ZodNumber;
3359
+ protocolFeeRate: z.ZodNumber;
3360
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
3361
+ liquidity: z.ZodCoercedBigInt<unknown>;
3362
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
3363
+ price: z.ZodNumber;
3364
+ tickCurrentIndex: z.ZodNumber;
3365
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3366
+ tvlUsd: z.ZodCoercedNumber<unknown>;
3367
+ groups: z.ZodObject<{
3368
+ "24h": z.ZodObject<{
3369
+ volumeUsd: z.ZodNumber;
3370
+ feesUsd: z.ZodNumber;
3371
+ priceChange: z.ZodNumber;
3372
+ }, z.core.$strip>;
3373
+ }, z.core.$strip>;
3374
+ }, z.core.$strip>>>;
2814
3375
  }, z.core.$strip>;
2815
3376
  positionToken: z.ZodEnum<{
2816
3377
  [x: string]: string;
@@ -2877,24 +3438,46 @@ declare const StateSnapshotNotification: z.ZodObject<{
2877
3438
  }>>;
2878
3439
  autoRebalancing: z.ZodBoolean;
2879
3440
  }, z.core.$strip>;
2880
- mintA: z.ZodObject<{
2881
- mint: z.ZodString;
2882
- symbol: z.ZodString;
2883
- name: z.ZodString;
2884
- logo: z.ZodString;
2885
- decimals: z.ZodNumber;
2886
- }, z.core.$strip>;
2887
- mintB: z.ZodObject<{
2888
- mint: z.ZodString;
2889
- symbol: z.ZodString;
2890
- name: z.ZodString;
2891
- logo: z.ZodString;
2892
- decimals: z.ZodNumber;
2893
- }, z.core.$strip>;
2894
3441
  pool: z.ZodObject<{
2895
- addr: z.ZodString;
2896
- price: z.ZodNumber;
3442
+ address: z.ZodString;
3443
+ provider: z.ZodEnum<{
3444
+ orca: "orca";
3445
+ fusion: "fusion";
3446
+ }>;
3447
+ mintA: z.ZodObject<{
3448
+ address: z.ZodString;
3449
+ symbol: z.ZodString;
3450
+ name: z.ZodString;
3451
+ logo: z.ZodString;
3452
+ decimals: z.ZodNumber;
3453
+ }, z.core.$strip>;
3454
+ mintB: z.ZodObject<{
3455
+ address: z.ZodString;
3456
+ symbol: z.ZodString;
3457
+ name: z.ZodString;
3458
+ logo: z.ZodString;
3459
+ decimals: z.ZodNumber;
3460
+ }, z.core.$strip>;
3461
+ tokenAVault: z.ZodString;
3462
+ tokenBVault: z.ZodString;
2897
3463
  tickSpacing: z.ZodNumber;
3464
+ feeRate: z.ZodNumber;
3465
+ protocolFeeRate: z.ZodNumber;
3466
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
3467
+ liquidity: z.ZodCoercedBigInt<unknown>;
3468
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
3469
+ price: z.ZodNumber;
3470
+ tickCurrentIndex: z.ZodNumber;
3471
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3472
+ tvlUsd: z.ZodCoercedNumber<unknown>;
3473
+ groups: z.ZodObject<{
3474
+ "24h": z.ZodObject<{
3475
+ volumeUsd: z.ZodNumber;
3476
+ feesUsd: z.ZodNumber;
3477
+ priceChange: z.ZodNumber;
3478
+ }, z.core.$strip>;
3479
+ }, z.core.$strip>;
3480
+ }, z.core.$strip>>>;
2898
3481
  }, z.core.$strip>;
2899
3482
  marketMaker: z.ZodEnum<{
2900
3483
  orca: "orca";
@@ -2979,24 +3562,46 @@ declare const StateSnapshotNotification: z.ZodObject<{
2979
3562
  address: z.ZodString;
2980
3563
  orderMint: z.ZodString;
2981
3564
  authority: z.ZodString;
2982
- mintA: z.ZodObject<{
2983
- mint: z.ZodString;
2984
- symbol: z.ZodString;
2985
- name: z.ZodString;
2986
- logo: z.ZodString;
2987
- decimals: z.ZodNumber;
2988
- }, z.core.$strip>;
2989
- mintB: z.ZodObject<{
2990
- mint: z.ZodString;
2991
- symbol: z.ZodString;
2992
- name: z.ZodString;
2993
- logo: z.ZodString;
2994
- decimals: z.ZodNumber;
2995
- }, z.core.$strip>;
2996
3565
  pool: z.ZodObject<{
2997
- addr: z.ZodString;
2998
- price: z.ZodNumber;
3566
+ address: z.ZodString;
3567
+ provider: z.ZodEnum<{
3568
+ orca: "orca";
3569
+ fusion: "fusion";
3570
+ }>;
3571
+ mintA: z.ZodObject<{
3572
+ address: z.ZodString;
3573
+ symbol: z.ZodString;
3574
+ name: z.ZodString;
3575
+ logo: z.ZodString;
3576
+ decimals: z.ZodNumber;
3577
+ }, z.core.$strip>;
3578
+ mintB: z.ZodObject<{
3579
+ address: z.ZodString;
3580
+ symbol: z.ZodString;
3581
+ name: z.ZodString;
3582
+ logo: z.ZodString;
3583
+ decimals: z.ZodNumber;
3584
+ }, z.core.$strip>;
3585
+ tokenAVault: z.ZodString;
3586
+ tokenBVault: z.ZodString;
2999
3587
  tickSpacing: z.ZodNumber;
3588
+ feeRate: z.ZodNumber;
3589
+ protocolFeeRate: z.ZodNumber;
3590
+ olpFeeRate: z.ZodNullable<z.ZodNumber>;
3591
+ liquidity: z.ZodCoercedBigInt<unknown>;
3592
+ sqrtPrice: z.ZodCoercedBigInt<unknown>;
3593
+ price: z.ZodNumber;
3594
+ tickCurrentIndex: z.ZodNumber;
3595
+ stats: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3596
+ tvlUsd: z.ZodCoercedNumber<unknown>;
3597
+ groups: z.ZodObject<{
3598
+ "24h": z.ZodObject<{
3599
+ volumeUsd: z.ZodNumber;
3600
+ feesUsd: z.ZodNumber;
3601
+ priceChange: z.ZodNumber;
3602
+ }, z.core.$strip>;
3603
+ }, z.core.$strip>;
3604
+ }, z.core.$strip>>>;
3000
3605
  }, z.core.$strip>;
3001
3606
  state: z.ZodEnum<{
3002
3607
  open: "open";
@@ -3021,7 +3626,7 @@ declare const StateSnapshotNotification: z.ZodObject<{
3021
3626
  openedAt: z.ZodCoercedDate<unknown>;
3022
3627
  closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
3023
3628
  }, z.core.$strip>>>;
3024
- orderBooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3629
+ orderBooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3025
3630
  entries: z.ZodArray<z.ZodObject<{
3026
3631
  concentratedAmount: z.ZodCoercedBigInt<unknown>;
3027
3632
  concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
@@ -3068,7 +3673,6 @@ declare const schemas_OrderHistoryUIDirection: typeof OrderHistoryUIDirection;
3068
3673
  declare const schemas_OrderHistoryUIDirectionSchema: typeof OrderHistoryUIDirectionSchema;
3069
3674
  declare const schemas_PoolProvider: typeof PoolProvider;
3070
3675
  declare const schemas_PoolProviderSchema: typeof PoolProviderSchema;
3071
- declare const schemas_PoolSnapshot: typeof PoolSnapshot;
3072
3676
  declare const schemas_PoolSubscriptionTopic: typeof PoolSubscriptionTopic;
3073
3677
  declare const schemas_PoolSubscriptionTopicSchema: typeof PoolSubscriptionTopicSchema;
3074
3678
  declare const schemas_PoolSwapNotification: typeof PoolSwapNotification;
@@ -3100,7 +3704,6 @@ declare const schemas_TunaLpPositionTokenPrices: typeof TunaLpPositionTokenPrice
3100
3704
  declare const schemas_TunaLpPositionTransfer: typeof TunaLpPositionTransfer;
3101
3705
  declare const schemas_TunaLpPositionValue: typeof TunaLpPositionValue;
3102
3706
  declare const schemas_TunaPositionLegacy: typeof TunaPositionLegacy;
3103
- declare const schemas_TunaPositionPoolSchema: typeof TunaPositionPoolSchema;
3104
3707
  declare const schemas_TunaPositionPoolToken: typeof TunaPositionPoolToken;
3105
3708
  declare const schemas_TunaPositionPoolTokenSchema: typeof TunaPositionPoolTokenSchema;
3106
3709
  declare const schemas_TunaPositionState: typeof TunaPositionState;
@@ -3113,7 +3716,7 @@ declare const schemas_UsdPnlSchema: typeof UsdPnlSchema;
3113
3716
  declare const schemas_WalletSubscriptionTopic: typeof WalletSubscriptionTopic;
3114
3717
  declare const schemas_WalletSubscriptionTopicSchema: typeof WalletSubscriptionTopicSchema;
3115
3718
  declare namespace schemas {
3116
- export { schemas_AmountWithUsdSchema as AmountWithUsdSchema, schemas_AmountWithoutUsdSchema as AmountWithoutUsdSchema, CloseSpotPositionQuote$1 as CloseSpotPositionQuote, DecreaseSpotPositionQuote$1 as DecreaseSpotPositionQuote, FeesStatsGroup$1 as FeesStatsGroup, IncreaseSpotPositionQuote$1 as IncreaseSpotPositionQuote, LendingPosition$1 as LendingPosition, schemas_LendingPositionNotification as LendingPositionNotification, LimitOrder$1 as LimitOrder, LimitOrderQuoteByInput$1 as LimitOrderQuoteByInput, LimitOrderQuoteByOutput$1 as LimitOrderQuoteByOutput, schemas_LimitOrderState as LimitOrderState, schemas_LimitOrderStateSchema as LimitOrderStateSchema, schemas_LpPositionAutoCompound as LpPositionAutoCompound, schemas_LpPositionAutoCompoundSchema as LpPositionAutoCompoundSchema, schemas_LpPositionLimitOrderSwap as LpPositionLimitOrderSwap, schemas_LpPositionLimitOrderSwapSchema as LpPositionLimitOrderSwapSchema, schemas_LpPositionRebalance as LpPositionRebalance, schemas_LpPositionRebalanceSchema as LpPositionRebalanceSchema, schemas_LpPositionsActionType as LpPositionsActionType, schemas_LpPositionsActionTypeSchema as LpPositionsActionTypeSchema, Market$1 as Market, Mint$1 as Mint, schemas_NotificationAction as NotificationAction, schemas_NotificationActionSchema as NotificationActionSchema, schemas_NotificationEntity as NotificationEntity, schemas_NotificationEntitySchema as NotificationEntitySchema, OrderBook$1 as OrderBook, OrderBookEntry$1 as OrderBookEntry, OrderHistoryEntry$1 as OrderHistoryEntry, schemas_OrderHistoryEntryNotification as OrderHistoryEntryNotification, schemas_OrderHistoryOrderType as OrderHistoryOrderType, schemas_OrderHistoryOrderTypeSchema as OrderHistoryOrderTypeSchema, schemas_OrderHistoryStatus as OrderHistoryStatus, schemas_OrderHistoryStatusSchema as OrderHistoryStatusSchema, schemas_OrderHistoryUIDirection as OrderHistoryUIDirection, schemas_OrderHistoryUIDirectionSchema as OrderHistoryUIDirectionSchema, PaginationMeta$1 as PaginationMeta, Pool$1 as Pool, PoolPriceCandle$1 as PoolPriceCandle, schemas_PoolProvider as PoolProvider, schemas_PoolProviderSchema as PoolProviderSchema, schemas_PoolSnapshot as PoolSnapshot, schemas_PoolSubscriptionTopic as PoolSubscriptionTopic, schemas_PoolSubscriptionTopicSchema as PoolSubscriptionTopicSchema, PoolSwap$1 as PoolSwap, schemas_PoolSwapNotification as PoolSwapNotification, PoolTicks$1 as PoolTicks, StakingLeaderboardPage$1 as StakingLeaderboardPage, StakingLeaderboardPosition$1 as StakingLeaderboardPosition, StakingPosition$1 as StakingPosition, StakingPositionHistoryAction$1 as StakingPositionHistoryAction, StakingPositionHistoryActionType$1 as StakingPositionHistoryActionType, schemas_StakingPositionHistoryActionTypeSchema as StakingPositionHistoryActionTypeSchema, schemas_StakingPositionNotification as StakingPositionNotification, StakingRevenueStatsGroup$1 as StakingRevenueStatsGroup, StakingTreasury$1 as StakingTreasury, StateSnapshot$1 as StateSnapshot, schemas_StateSnapshotNotification as StateSnapshotNotification, SwapQuoteByInput$1 as SwapQuoteByInput, SwapQuoteByOutput$1 as SwapQuoteByOutput, Tick$1 as Tick, TokenOraclePrice$1 as TokenOraclePrice, schemas_TokensPnlSchema as TokensPnlSchema, TradableAmount$1 as TradableAmount, schemas_TradeHistoryAction as TradeHistoryAction, schemas_TradeHistoryActionSchema as TradeHistoryActionSchema, TradeHistoryEntry$1 as TradeHistoryEntry, schemas_TradeHistoryEntryNotification as TradeHistoryEntryNotification, schemas_TradeHistoryUIDirection as TradeHistoryUIDirection, schemas_TradeHistoryUIDirectionSchema as TradeHistoryUIDirectionSchema, TunaLpPositionAction$1 as TunaLpPositionAction, schemas_TunaLpPositionActionClose as TunaLpPositionActionClose, schemas_TunaLpPositionActionCollectAndCompoundFees as TunaLpPositionActionCollectAndCompoundFees, schemas_TunaLpPositionActionCollectFees as TunaLpPositionActionCollectFees, schemas_TunaLpPositionActionDecreaseLiquidity as TunaLpPositionActionDecreaseLiquidity, schemas_TunaLpPositionActionIncreaseLiquidity as TunaLpPositionActionIncreaseLiquidity, schemas_TunaLpPositionActionLiquidate as TunaLpPositionActionLiquidate, schemas_TunaLpPositionActionOpen as TunaLpPositionActionOpen, schemas_TunaLpPositionActionParametersUpdate as TunaLpPositionActionParametersUpdate, schemas_TunaLpPositionActionRepayDebt as TunaLpPositionActionRepayDebt, schemas_TunaLpPositionAutoCompounding as TunaLpPositionAutoCompounding, schemas_TunaLpPositionAutoCompoundingSchema as TunaLpPositionAutoCompoundingSchema, schemas_TunaLpPositionDtoSchema as TunaLpPositionDtoSchema, schemas_TunaLpPositionFlagsSchema as TunaLpPositionFlagsSchema, schemas_TunaLpPositionHistorical as TunaLpPositionHistorical, schemas_TunaLpPositionParameters as TunaLpPositionParameters, schemas_TunaLpPositionTokenPrices as TunaLpPositionTokenPrices, schemas_TunaLpPositionTransfer as TunaLpPositionTransfer, schemas_TunaLpPositionValue as TunaLpPositionValue, schemas_TunaPositionLegacy as TunaPositionLegacy, schemas_TunaPositionPoolSchema as TunaPositionPoolSchema, schemas_TunaPositionPoolToken as TunaPositionPoolToken, schemas_TunaPositionPoolTokenSchema as TunaPositionPoolTokenSchema, schemas_TunaPositionState as TunaPositionState, schemas_TunaPositionStateSchema as TunaPositionStateSchema, schemas_TunaPositionTokenPnlSchema as TunaPositionTokenPnlSchema, TunaSpotPosition$1 as TunaSpotPosition, schemas_TunaSpotPositionState as TunaSpotPositionState, schemas_TunaSpotPositionStateSchema as TunaSpotPositionStateSchema, schemas_UpdateStreamSubscriptionResult as UpdateStreamSubscriptionResult, schemas_UsdPnlSchema as UsdPnlSchema, Vault$1 as Vault, VaultHistoricalStats$1 as VaultHistoricalStats, schemas_WalletSubscriptionTopic as WalletSubscriptionTopic, schemas_WalletSubscriptionTopicSchema as WalletSubscriptionTopicSchema };
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 };
3117
3720
  }
3118
3721
 
3119
3722
  type NotificationEntityType = z.infer<typeof NotificationEntitySchema>;