@crypticdot/defituna-api 1.10.3 → 1.10.5
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 +105 -605
- package/dist/index.d.ts +105 -605
- package/dist/index.js +44 -48
- package/dist/index.mjs +44 -48
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -40,8 +40,26 @@ declare const LimitOrderStateSchema: z.ZodEnum<{
|
|
|
40
40
|
}>;
|
|
41
41
|
declare const LimitOrder$1: z.ZodObject<{
|
|
42
42
|
address: z.ZodString;
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
orderMint: z.ZodString;
|
|
44
|
+
mintA: z.ZodObject<{
|
|
45
|
+
mint: z.ZodString;
|
|
46
|
+
symbol: z.ZodString;
|
|
47
|
+
name: z.ZodString;
|
|
48
|
+
logo: z.ZodString;
|
|
49
|
+
decimals: z.ZodNumber;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
mintB: z.ZodObject<{
|
|
52
|
+
mint: z.ZodString;
|
|
53
|
+
symbol: z.ZodString;
|
|
54
|
+
name: z.ZodString;
|
|
55
|
+
logo: z.ZodString;
|
|
56
|
+
decimals: z.ZodNumber;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
pool: z.ZodObject<{
|
|
59
|
+
addr: z.ZodString;
|
|
60
|
+
price: z.ZodNumber;
|
|
61
|
+
tickSpacing: z.ZodNumber;
|
|
62
|
+
}, z.core.$strip>;
|
|
45
63
|
state: z.ZodEnum<{
|
|
46
64
|
open: "open";
|
|
47
65
|
partially_filled: "partially_filled";
|
|
@@ -875,14 +893,12 @@ declare const TunaSpotPosition$1: z.ZodObject<{
|
|
|
875
893
|
price: z.ZodNumber;
|
|
876
894
|
tickSpacing: z.ZodNumber;
|
|
877
895
|
}, z.core.$strip>;
|
|
878
|
-
positionToken: {
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
readonly B: "b";
|
|
885
|
-
};
|
|
896
|
+
positionToken: z.ZodEnum<{
|
|
897
|
+
[x: string]: string;
|
|
898
|
+
}>;
|
|
899
|
+
collateralToken: z.ZodEnum<{
|
|
900
|
+
[x: string]: string;
|
|
901
|
+
}>;
|
|
886
902
|
marketMaker: z.ZodEnum<{
|
|
887
903
|
orca: "orca";
|
|
888
904
|
fusion: "fusion";
|
|
@@ -997,14 +1013,12 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
997
1013
|
price: z$1.ZodNumber;
|
|
998
1014
|
tickSpacing: z$1.ZodNumber;
|
|
999
1015
|
}, z$1.core.$strip>;
|
|
1000
|
-
positionToken: {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
readonly B: "b";
|
|
1007
|
-
};
|
|
1016
|
+
positionToken: z$1.ZodEnum<{
|
|
1017
|
+
[x: string]: string;
|
|
1018
|
+
}>;
|
|
1019
|
+
collateralToken: z$1.ZodEnum<{
|
|
1020
|
+
[x: string]: string;
|
|
1021
|
+
}>;
|
|
1008
1022
|
marketMaker: z$1.ZodEnum<{
|
|
1009
1023
|
orca: "orca";
|
|
1010
1024
|
fusion: "fusion";
|
|
@@ -1164,8 +1178,26 @@ declare const StateSnapshot$1: z$1.ZodObject<{
|
|
|
1164
1178
|
}, z$1.core.$strip>>>;
|
|
1165
1179
|
fusionLimitOrders: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
1166
1180
|
address: z$1.ZodString;
|
|
1167
|
-
|
|
1168
|
-
|
|
1181
|
+
orderMint: z$1.ZodString;
|
|
1182
|
+
mintA: z$1.ZodObject<{
|
|
1183
|
+
mint: z$1.ZodString;
|
|
1184
|
+
symbol: z$1.ZodString;
|
|
1185
|
+
name: z$1.ZodString;
|
|
1186
|
+
logo: z$1.ZodString;
|
|
1187
|
+
decimals: z$1.ZodNumber;
|
|
1188
|
+
}, z$1.core.$strip>;
|
|
1189
|
+
mintB: z$1.ZodObject<{
|
|
1190
|
+
mint: z$1.ZodString;
|
|
1191
|
+
symbol: z$1.ZodString;
|
|
1192
|
+
name: z$1.ZodString;
|
|
1193
|
+
logo: z$1.ZodString;
|
|
1194
|
+
decimals: z$1.ZodNumber;
|
|
1195
|
+
}, z$1.core.$strip>;
|
|
1196
|
+
pool: z$1.ZodObject<{
|
|
1197
|
+
addr: z$1.ZodString;
|
|
1198
|
+
price: z$1.ZodNumber;
|
|
1199
|
+
tickSpacing: z$1.ZodNumber;
|
|
1200
|
+
}, z$1.core.$strip>;
|
|
1169
1201
|
state: z$1.ZodEnum<{
|
|
1170
1202
|
open: "open";
|
|
1171
1203
|
partially_filled: "partially_filled";
|
|
@@ -1876,61 +1908,6 @@ declare const PoolSwapNotification: z.ZodObject<{
|
|
|
1876
1908
|
id: z.ZodString;
|
|
1877
1909
|
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1878
1910
|
}, z.core.$strip>;
|
|
1879
|
-
declare const PoolPriceUpdateNotification: z.ZodObject<{
|
|
1880
|
-
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
1881
|
-
entity: z.ZodEnum<{
|
|
1882
|
-
pool_swap: "pool_swap";
|
|
1883
|
-
pool_price: "pool_price";
|
|
1884
|
-
order_book: "order_book";
|
|
1885
|
-
tuna_position: "tuna_position";
|
|
1886
|
-
tuna_spot_position: "tuna_spot_position";
|
|
1887
|
-
lending_position: "lending_position";
|
|
1888
|
-
staking_position: "staking_position";
|
|
1889
|
-
fusion_limit_order: "fusion_limit_order";
|
|
1890
|
-
trade_history_entry: "trade_history_entry";
|
|
1891
|
-
order_history_entry: "order_history_entry";
|
|
1892
|
-
state_snapshot: "state_snapshot";
|
|
1893
|
-
}>;
|
|
1894
|
-
action: z.ZodEnum<{
|
|
1895
|
-
create: "create";
|
|
1896
|
-
update: "update";
|
|
1897
|
-
}>;
|
|
1898
|
-
data: z.ZodObject<{
|
|
1899
|
-
pool: z.ZodString;
|
|
1900
|
-
price: z.ZodNumber;
|
|
1901
|
-
sqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
1902
|
-
time: z.ZodCoercedDate<unknown>;
|
|
1903
|
-
}, z.core.$strip>;
|
|
1904
|
-
id: z.ZodString;
|
|
1905
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1906
|
-
} | {
|
|
1907
|
-
meta: z.ZodNullable<z.ZodUndefined>;
|
|
1908
|
-
entity: z.ZodEnum<{
|
|
1909
|
-
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
|
-
lending_position: "lending_position";
|
|
1915
|
-
staking_position: "staking_position";
|
|
1916
|
-
fusion_limit_order: "fusion_limit_order";
|
|
1917
|
-
trade_history_entry: "trade_history_entry";
|
|
1918
|
-
order_history_entry: "order_history_entry";
|
|
1919
|
-
state_snapshot: "state_snapshot";
|
|
1920
|
-
}>;
|
|
1921
|
-
action: z.ZodEnum<{
|
|
1922
|
-
create: "create";
|
|
1923
|
-
update: "update";
|
|
1924
|
-
}>;
|
|
1925
|
-
data: z.ZodObject<{
|
|
1926
|
-
pool: z.ZodString;
|
|
1927
|
-
price: z.ZodNumber;
|
|
1928
|
-
sqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
1929
|
-
time: z.ZodCoercedDate<unknown>;
|
|
1930
|
-
}, z.core.$strip>;
|
|
1931
|
-
id: z.ZodString;
|
|
1932
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1933
|
-
}, z.core.$strip>;
|
|
1934
1911
|
declare const OrderBookNotification: z.ZodObject<{
|
|
1935
1912
|
meta: z.ZodObject<{
|
|
1936
1913
|
pool: z.ZodString;
|
|
@@ -2008,414 +1985,6 @@ declare const OrderBookNotification: z.ZodObject<{
|
|
|
2008
1985
|
id: z.ZodString;
|
|
2009
1986
|
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2010
1987
|
}, z.core.$strip>;
|
|
2011
|
-
declare const TunaPositionNotification: z.ZodObject<{
|
|
2012
|
-
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2013
|
-
entity: z.ZodEnum<{
|
|
2014
|
-
pool_swap: "pool_swap";
|
|
2015
|
-
pool_price: "pool_price";
|
|
2016
|
-
order_book: "order_book";
|
|
2017
|
-
tuna_position: "tuna_position";
|
|
2018
|
-
tuna_spot_position: "tuna_spot_position";
|
|
2019
|
-
lending_position: "lending_position";
|
|
2020
|
-
staking_position: "staking_position";
|
|
2021
|
-
fusion_limit_order: "fusion_limit_order";
|
|
2022
|
-
trade_history_entry: "trade_history_entry";
|
|
2023
|
-
order_history_entry: "order_history_entry";
|
|
2024
|
-
state_snapshot: "state_snapshot";
|
|
2025
|
-
}>;
|
|
2026
|
-
action: z.ZodEnum<{
|
|
2027
|
-
create: "create";
|
|
2028
|
-
update: "update";
|
|
2029
|
-
}>;
|
|
2030
|
-
data: z.ZodObject<{
|
|
2031
|
-
address: z.ZodString;
|
|
2032
|
-
authority: z.ZodString;
|
|
2033
|
-
version: z.ZodNumber;
|
|
2034
|
-
state: z.ZodEnum<{
|
|
2035
|
-
open: "open";
|
|
2036
|
-
liquidated: "liquidated";
|
|
2037
|
-
closed_by_limit_order: "closed_by_limit_order";
|
|
2038
|
-
closed: "closed";
|
|
2039
|
-
}>;
|
|
2040
|
-
positionMint: z.ZodString;
|
|
2041
|
-
liquidity: z.ZodCoercedBigInt<unknown>;
|
|
2042
|
-
tickLowerIndex: z.ZodNumber;
|
|
2043
|
-
tickUpperIndex: z.ZodNumber;
|
|
2044
|
-
entrySqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
2045
|
-
lowerLimitOrderSqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
2046
|
-
upperLimitOrderSqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
2047
|
-
flags: z.ZodNumber;
|
|
2048
|
-
pool: z.ZodString;
|
|
2049
|
-
poolSqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
2050
|
-
depositedCollateralA: z.ZodObject<{
|
|
2051
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2052
|
-
}, z.core.$strip>;
|
|
2053
|
-
depositedCollateralB: z.ZodObject<{
|
|
2054
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2055
|
-
}, z.core.$strip>;
|
|
2056
|
-
depositedCollateralUsd: z.ZodObject<{
|
|
2057
|
-
amount: z.ZodNumber;
|
|
2058
|
-
}, z.core.$strip>;
|
|
2059
|
-
loanFundsA: z.ZodObject<{
|
|
2060
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2061
|
-
usd: z.ZodNumber;
|
|
2062
|
-
}, z.core.$strip>;
|
|
2063
|
-
loanFundsB: z.ZodObject<{
|
|
2064
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2065
|
-
usd: z.ZodNumber;
|
|
2066
|
-
}, z.core.$strip>;
|
|
2067
|
-
currentLoanA: z.ZodObject<{
|
|
2068
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2069
|
-
usd: z.ZodNumber;
|
|
2070
|
-
}, z.core.$strip>;
|
|
2071
|
-
currentLoanB: z.ZodObject<{
|
|
2072
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2073
|
-
usd: z.ZodNumber;
|
|
2074
|
-
}, z.core.$strip>;
|
|
2075
|
-
leftoversA: z.ZodObject<{
|
|
2076
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2077
|
-
usd: z.ZodNumber;
|
|
2078
|
-
}, z.core.$strip>;
|
|
2079
|
-
leftoversB: z.ZodObject<{
|
|
2080
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2081
|
-
usd: z.ZodNumber;
|
|
2082
|
-
}, z.core.$strip>;
|
|
2083
|
-
yieldA: z.ZodObject<{
|
|
2084
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2085
|
-
usd: z.ZodNumber;
|
|
2086
|
-
}, z.core.$strip>;
|
|
2087
|
-
yieldB: z.ZodObject<{
|
|
2088
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2089
|
-
usd: z.ZodNumber;
|
|
2090
|
-
}, z.core.$strip>;
|
|
2091
|
-
compoundedYieldA: z.ZodObject<{
|
|
2092
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2093
|
-
usd: z.ZodNumber;
|
|
2094
|
-
}, z.core.$strip>;
|
|
2095
|
-
compoundedYieldB: z.ZodObject<{
|
|
2096
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2097
|
-
usd: z.ZodNumber;
|
|
2098
|
-
}, z.core.$strip>;
|
|
2099
|
-
totalA: z.ZodObject<{
|
|
2100
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2101
|
-
usd: z.ZodNumber;
|
|
2102
|
-
}, z.core.$strip>;
|
|
2103
|
-
totalB: z.ZodObject<{
|
|
2104
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2105
|
-
usd: z.ZodNumber;
|
|
2106
|
-
}, z.core.$strip>;
|
|
2107
|
-
pnlA: z.ZodObject<{
|
|
2108
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2109
|
-
rate: z.ZodNumber;
|
|
2110
|
-
}, z.core.$strip>;
|
|
2111
|
-
pnlB: z.ZodObject<{
|
|
2112
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2113
|
-
rate: z.ZodNumber;
|
|
2114
|
-
}, z.core.$strip>;
|
|
2115
|
-
pnlUsd: z.ZodObject<{
|
|
2116
|
-
amount: z.ZodNumber;
|
|
2117
|
-
rate: z.ZodNumber;
|
|
2118
|
-
}, z.core.$strip>;
|
|
2119
|
-
openedAt: z.ZodCoercedDate<unknown>;
|
|
2120
|
-
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
2121
|
-
closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2122
|
-
}, z.core.$strip>;
|
|
2123
|
-
id: z.ZodString;
|
|
2124
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2125
|
-
} | {
|
|
2126
|
-
meta: z.ZodNullable<z.ZodUndefined>;
|
|
2127
|
-
entity: z.ZodEnum<{
|
|
2128
|
-
pool_swap: "pool_swap";
|
|
2129
|
-
pool_price: "pool_price";
|
|
2130
|
-
order_book: "order_book";
|
|
2131
|
-
tuna_position: "tuna_position";
|
|
2132
|
-
tuna_spot_position: "tuna_spot_position";
|
|
2133
|
-
lending_position: "lending_position";
|
|
2134
|
-
staking_position: "staking_position";
|
|
2135
|
-
fusion_limit_order: "fusion_limit_order";
|
|
2136
|
-
trade_history_entry: "trade_history_entry";
|
|
2137
|
-
order_history_entry: "order_history_entry";
|
|
2138
|
-
state_snapshot: "state_snapshot";
|
|
2139
|
-
}>;
|
|
2140
|
-
action: z.ZodEnum<{
|
|
2141
|
-
create: "create";
|
|
2142
|
-
update: "update";
|
|
2143
|
-
}>;
|
|
2144
|
-
data: z.ZodObject<{
|
|
2145
|
-
address: z.ZodString;
|
|
2146
|
-
authority: z.ZodString;
|
|
2147
|
-
version: z.ZodNumber;
|
|
2148
|
-
state: z.ZodEnum<{
|
|
2149
|
-
open: "open";
|
|
2150
|
-
liquidated: "liquidated";
|
|
2151
|
-
closed_by_limit_order: "closed_by_limit_order";
|
|
2152
|
-
closed: "closed";
|
|
2153
|
-
}>;
|
|
2154
|
-
positionMint: z.ZodString;
|
|
2155
|
-
liquidity: z.ZodCoercedBigInt<unknown>;
|
|
2156
|
-
tickLowerIndex: z.ZodNumber;
|
|
2157
|
-
tickUpperIndex: z.ZodNumber;
|
|
2158
|
-
entrySqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
2159
|
-
lowerLimitOrderSqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
2160
|
-
upperLimitOrderSqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
2161
|
-
flags: z.ZodNumber;
|
|
2162
|
-
pool: z.ZodString;
|
|
2163
|
-
poolSqrtPrice: z.ZodCoercedBigInt<unknown>;
|
|
2164
|
-
depositedCollateralA: z.ZodObject<{
|
|
2165
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2166
|
-
}, z.core.$strip>;
|
|
2167
|
-
depositedCollateralB: z.ZodObject<{
|
|
2168
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2169
|
-
}, z.core.$strip>;
|
|
2170
|
-
depositedCollateralUsd: z.ZodObject<{
|
|
2171
|
-
amount: z.ZodNumber;
|
|
2172
|
-
}, z.core.$strip>;
|
|
2173
|
-
loanFundsA: z.ZodObject<{
|
|
2174
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2175
|
-
usd: z.ZodNumber;
|
|
2176
|
-
}, z.core.$strip>;
|
|
2177
|
-
loanFundsB: z.ZodObject<{
|
|
2178
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2179
|
-
usd: z.ZodNumber;
|
|
2180
|
-
}, z.core.$strip>;
|
|
2181
|
-
currentLoanA: z.ZodObject<{
|
|
2182
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2183
|
-
usd: z.ZodNumber;
|
|
2184
|
-
}, z.core.$strip>;
|
|
2185
|
-
currentLoanB: z.ZodObject<{
|
|
2186
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2187
|
-
usd: z.ZodNumber;
|
|
2188
|
-
}, z.core.$strip>;
|
|
2189
|
-
leftoversA: z.ZodObject<{
|
|
2190
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2191
|
-
usd: z.ZodNumber;
|
|
2192
|
-
}, z.core.$strip>;
|
|
2193
|
-
leftoversB: z.ZodObject<{
|
|
2194
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2195
|
-
usd: z.ZodNumber;
|
|
2196
|
-
}, z.core.$strip>;
|
|
2197
|
-
yieldA: z.ZodObject<{
|
|
2198
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2199
|
-
usd: z.ZodNumber;
|
|
2200
|
-
}, z.core.$strip>;
|
|
2201
|
-
yieldB: z.ZodObject<{
|
|
2202
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2203
|
-
usd: z.ZodNumber;
|
|
2204
|
-
}, z.core.$strip>;
|
|
2205
|
-
compoundedYieldA: z.ZodObject<{
|
|
2206
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2207
|
-
usd: z.ZodNumber;
|
|
2208
|
-
}, z.core.$strip>;
|
|
2209
|
-
compoundedYieldB: z.ZodObject<{
|
|
2210
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2211
|
-
usd: z.ZodNumber;
|
|
2212
|
-
}, z.core.$strip>;
|
|
2213
|
-
totalA: z.ZodObject<{
|
|
2214
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2215
|
-
usd: z.ZodNumber;
|
|
2216
|
-
}, z.core.$strip>;
|
|
2217
|
-
totalB: z.ZodObject<{
|
|
2218
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2219
|
-
usd: z.ZodNumber;
|
|
2220
|
-
}, z.core.$strip>;
|
|
2221
|
-
pnlA: z.ZodObject<{
|
|
2222
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2223
|
-
rate: z.ZodNumber;
|
|
2224
|
-
}, z.core.$strip>;
|
|
2225
|
-
pnlB: z.ZodObject<{
|
|
2226
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2227
|
-
rate: z.ZodNumber;
|
|
2228
|
-
}, z.core.$strip>;
|
|
2229
|
-
pnlUsd: z.ZodObject<{
|
|
2230
|
-
amount: z.ZodNumber;
|
|
2231
|
-
rate: z.ZodNumber;
|
|
2232
|
-
}, z.core.$strip>;
|
|
2233
|
-
openedAt: z.ZodCoercedDate<unknown>;
|
|
2234
|
-
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
2235
|
-
closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2236
|
-
}, z.core.$strip>;
|
|
2237
|
-
id: z.ZodString;
|
|
2238
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2239
|
-
}, z.core.$strip>;
|
|
2240
|
-
declare const TunaSpotPositionNotification: z.ZodObject<{
|
|
2241
|
-
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2242
|
-
entity: z.ZodEnum<{
|
|
2243
|
-
pool_swap: "pool_swap";
|
|
2244
|
-
pool_price: "pool_price";
|
|
2245
|
-
order_book: "order_book";
|
|
2246
|
-
tuna_position: "tuna_position";
|
|
2247
|
-
tuna_spot_position: "tuna_spot_position";
|
|
2248
|
-
lending_position: "lending_position";
|
|
2249
|
-
staking_position: "staking_position";
|
|
2250
|
-
fusion_limit_order: "fusion_limit_order";
|
|
2251
|
-
trade_history_entry: "trade_history_entry";
|
|
2252
|
-
order_history_entry: "order_history_entry";
|
|
2253
|
-
state_snapshot: "state_snapshot";
|
|
2254
|
-
}>;
|
|
2255
|
-
action: z.ZodEnum<{
|
|
2256
|
-
create: "create";
|
|
2257
|
-
update: "update";
|
|
2258
|
-
}>;
|
|
2259
|
-
data: z.ZodObject<{
|
|
2260
|
-
address: z.ZodString;
|
|
2261
|
-
authority: z.ZodString;
|
|
2262
|
-
version: z.ZodNumber;
|
|
2263
|
-
state: z.ZodEnum<{
|
|
2264
|
-
open: "open";
|
|
2265
|
-
closed: "closed";
|
|
2266
|
-
}>;
|
|
2267
|
-
lowerLimitOrderPrice: z.ZodNumber;
|
|
2268
|
-
upperLimitOrderPrice: z.ZodNumber;
|
|
2269
|
-
entryPrice: z.ZodNumber;
|
|
2270
|
-
mintA: z.ZodObject<{
|
|
2271
|
-
mint: z.ZodString;
|
|
2272
|
-
symbol: z.ZodString;
|
|
2273
|
-
name: z.ZodString;
|
|
2274
|
-
logo: z.ZodString;
|
|
2275
|
-
decimals: z.ZodNumber;
|
|
2276
|
-
}, z.core.$strip>;
|
|
2277
|
-
mintB: z.ZodObject<{
|
|
2278
|
-
mint: z.ZodString;
|
|
2279
|
-
symbol: z.ZodString;
|
|
2280
|
-
name: z.ZodString;
|
|
2281
|
-
logo: z.ZodString;
|
|
2282
|
-
decimals: z.ZodNumber;
|
|
2283
|
-
}, z.core.$strip>;
|
|
2284
|
-
pool: z.ZodObject<{
|
|
2285
|
-
addr: z.ZodString;
|
|
2286
|
-
price: z.ZodNumber;
|
|
2287
|
-
tickSpacing: z.ZodNumber;
|
|
2288
|
-
}, z.core.$strip>;
|
|
2289
|
-
positionToken: {
|
|
2290
|
-
readonly A: "a";
|
|
2291
|
-
readonly B: "b";
|
|
2292
|
-
};
|
|
2293
|
-
collateralToken: {
|
|
2294
|
-
readonly A: "a";
|
|
2295
|
-
readonly B: "b";
|
|
2296
|
-
};
|
|
2297
|
-
marketMaker: z.ZodEnum<{
|
|
2298
|
-
orca: "orca";
|
|
2299
|
-
fusion: "fusion";
|
|
2300
|
-
}>;
|
|
2301
|
-
depositedCollateral: z.ZodObject<{
|
|
2302
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2303
|
-
usd: z.ZodNumber;
|
|
2304
|
-
}, z.core.$strip>;
|
|
2305
|
-
initialDebt: z.ZodObject<{
|
|
2306
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2307
|
-
usd: z.ZodNumber;
|
|
2308
|
-
}, z.core.$strip>;
|
|
2309
|
-
currentDebt: z.ZodObject<{
|
|
2310
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2311
|
-
usd: z.ZodNumber;
|
|
2312
|
-
}, z.core.$strip>;
|
|
2313
|
-
total: z.ZodObject<{
|
|
2314
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2315
|
-
usd: z.ZodNumber;
|
|
2316
|
-
}, z.core.$strip>;
|
|
2317
|
-
leverage: z.ZodNumber;
|
|
2318
|
-
maxLeverage: z.ZodNumber;
|
|
2319
|
-
liquidationPrice: z.ZodNumber;
|
|
2320
|
-
pnlUsd: z.ZodObject<{
|
|
2321
|
-
amount: z.ZodNumber;
|
|
2322
|
-
rate: z.ZodNumber;
|
|
2323
|
-
}, z.core.$strip>;
|
|
2324
|
-
openedAt: z.ZodCoercedDate<unknown>;
|
|
2325
|
-
closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2326
|
-
}, z.core.$strip>;
|
|
2327
|
-
id: z.ZodString;
|
|
2328
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2329
|
-
} | {
|
|
2330
|
-
meta: z.ZodNullable<z.ZodUndefined>;
|
|
2331
|
-
entity: z.ZodEnum<{
|
|
2332
|
-
pool_swap: "pool_swap";
|
|
2333
|
-
pool_price: "pool_price";
|
|
2334
|
-
order_book: "order_book";
|
|
2335
|
-
tuna_position: "tuna_position";
|
|
2336
|
-
tuna_spot_position: "tuna_spot_position";
|
|
2337
|
-
lending_position: "lending_position";
|
|
2338
|
-
staking_position: "staking_position";
|
|
2339
|
-
fusion_limit_order: "fusion_limit_order";
|
|
2340
|
-
trade_history_entry: "trade_history_entry";
|
|
2341
|
-
order_history_entry: "order_history_entry";
|
|
2342
|
-
state_snapshot: "state_snapshot";
|
|
2343
|
-
}>;
|
|
2344
|
-
action: z.ZodEnum<{
|
|
2345
|
-
create: "create";
|
|
2346
|
-
update: "update";
|
|
2347
|
-
}>;
|
|
2348
|
-
data: z.ZodObject<{
|
|
2349
|
-
address: z.ZodString;
|
|
2350
|
-
authority: z.ZodString;
|
|
2351
|
-
version: z.ZodNumber;
|
|
2352
|
-
state: z.ZodEnum<{
|
|
2353
|
-
open: "open";
|
|
2354
|
-
closed: "closed";
|
|
2355
|
-
}>;
|
|
2356
|
-
lowerLimitOrderPrice: z.ZodNumber;
|
|
2357
|
-
upperLimitOrderPrice: z.ZodNumber;
|
|
2358
|
-
entryPrice: z.ZodNumber;
|
|
2359
|
-
mintA: z.ZodObject<{
|
|
2360
|
-
mint: z.ZodString;
|
|
2361
|
-
symbol: z.ZodString;
|
|
2362
|
-
name: z.ZodString;
|
|
2363
|
-
logo: z.ZodString;
|
|
2364
|
-
decimals: z.ZodNumber;
|
|
2365
|
-
}, z.core.$strip>;
|
|
2366
|
-
mintB: z.ZodObject<{
|
|
2367
|
-
mint: z.ZodString;
|
|
2368
|
-
symbol: z.ZodString;
|
|
2369
|
-
name: z.ZodString;
|
|
2370
|
-
logo: z.ZodString;
|
|
2371
|
-
decimals: z.ZodNumber;
|
|
2372
|
-
}, z.core.$strip>;
|
|
2373
|
-
pool: z.ZodObject<{
|
|
2374
|
-
addr: z.ZodString;
|
|
2375
|
-
price: z.ZodNumber;
|
|
2376
|
-
tickSpacing: z.ZodNumber;
|
|
2377
|
-
}, z.core.$strip>;
|
|
2378
|
-
positionToken: {
|
|
2379
|
-
readonly A: "a";
|
|
2380
|
-
readonly B: "b";
|
|
2381
|
-
};
|
|
2382
|
-
collateralToken: {
|
|
2383
|
-
readonly A: "a";
|
|
2384
|
-
readonly B: "b";
|
|
2385
|
-
};
|
|
2386
|
-
marketMaker: z.ZodEnum<{
|
|
2387
|
-
orca: "orca";
|
|
2388
|
-
fusion: "fusion";
|
|
2389
|
-
}>;
|
|
2390
|
-
depositedCollateral: z.ZodObject<{
|
|
2391
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2392
|
-
usd: z.ZodNumber;
|
|
2393
|
-
}, z.core.$strip>;
|
|
2394
|
-
initialDebt: z.ZodObject<{
|
|
2395
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2396
|
-
usd: z.ZodNumber;
|
|
2397
|
-
}, z.core.$strip>;
|
|
2398
|
-
currentDebt: z.ZodObject<{
|
|
2399
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2400
|
-
usd: z.ZodNumber;
|
|
2401
|
-
}, z.core.$strip>;
|
|
2402
|
-
total: z.ZodObject<{
|
|
2403
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2404
|
-
usd: z.ZodNumber;
|
|
2405
|
-
}, z.core.$strip>;
|
|
2406
|
-
leverage: z.ZodNumber;
|
|
2407
|
-
maxLeverage: z.ZodNumber;
|
|
2408
|
-
liquidationPrice: z.ZodNumber;
|
|
2409
|
-
pnlUsd: z.ZodObject<{
|
|
2410
|
-
amount: z.ZodNumber;
|
|
2411
|
-
rate: z.ZodNumber;
|
|
2412
|
-
}, z.core.$strip>;
|
|
2413
|
-
openedAt: z.ZodCoercedDate<unknown>;
|
|
2414
|
-
closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2415
|
-
}, z.core.$strip>;
|
|
2416
|
-
id: z.ZodString;
|
|
2417
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
|
-
}, z.core.$strip>;
|
|
2419
1988
|
declare const LendingPositionNotification: z.ZodObject<{
|
|
2420
1989
|
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2421
1990
|
entity: z.ZodEnum<{
|
|
@@ -2489,103 +2058,6 @@ declare const LendingPositionNotification: z.ZodObject<{
|
|
|
2489
2058
|
id: z.ZodString;
|
|
2490
2059
|
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2491
2060
|
}, z.core.$strip>;
|
|
2492
|
-
declare const LimitOrderNotification: z.ZodObject<{
|
|
2493
|
-
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2494
|
-
entity: z.ZodEnum<{
|
|
2495
|
-
pool_swap: "pool_swap";
|
|
2496
|
-
pool_price: "pool_price";
|
|
2497
|
-
order_book: "order_book";
|
|
2498
|
-
tuna_position: "tuna_position";
|
|
2499
|
-
tuna_spot_position: "tuna_spot_position";
|
|
2500
|
-
lending_position: "lending_position";
|
|
2501
|
-
staking_position: "staking_position";
|
|
2502
|
-
fusion_limit_order: "fusion_limit_order";
|
|
2503
|
-
trade_history_entry: "trade_history_entry";
|
|
2504
|
-
order_history_entry: "order_history_entry";
|
|
2505
|
-
state_snapshot: "state_snapshot";
|
|
2506
|
-
}>;
|
|
2507
|
-
action: z.ZodEnum<{
|
|
2508
|
-
create: "create";
|
|
2509
|
-
update: "update";
|
|
2510
|
-
}>;
|
|
2511
|
-
data: z.ZodObject<{
|
|
2512
|
-
address: z.ZodString;
|
|
2513
|
-
mint: z.ZodString;
|
|
2514
|
-
pool: z.ZodString;
|
|
2515
|
-
state: z.ZodEnum<{
|
|
2516
|
-
open: "open";
|
|
2517
|
-
partially_filled: "partially_filled";
|
|
2518
|
-
filled: "filled";
|
|
2519
|
-
complete: "complete";
|
|
2520
|
-
cancelled: "cancelled";
|
|
2521
|
-
}>;
|
|
2522
|
-
aToB: z.ZodBoolean;
|
|
2523
|
-
tickIndex: z.ZodNumber;
|
|
2524
|
-
fillRatio: z.ZodNumber;
|
|
2525
|
-
openTxSignature: z.ZodString;
|
|
2526
|
-
closeTxSignature: z.ZodNullable<z.ZodString>;
|
|
2527
|
-
amountIn: z.ZodObject<{
|
|
2528
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2529
|
-
usd: z.ZodNumber;
|
|
2530
|
-
}, z.core.$strip>;
|
|
2531
|
-
amountOut: z.ZodObject<{
|
|
2532
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2533
|
-
usd: z.ZodNumber;
|
|
2534
|
-
}, z.core.$strip>;
|
|
2535
|
-
openedAt: z.ZodCoercedDate<unknown>;
|
|
2536
|
-
closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2537
|
-
}, z.core.$strip>;
|
|
2538
|
-
id: z.ZodString;
|
|
2539
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2540
|
-
} | {
|
|
2541
|
-
meta: z.ZodNullable<z.ZodUndefined>;
|
|
2542
|
-
entity: z.ZodEnum<{
|
|
2543
|
-
pool_swap: "pool_swap";
|
|
2544
|
-
pool_price: "pool_price";
|
|
2545
|
-
order_book: "order_book";
|
|
2546
|
-
tuna_position: "tuna_position";
|
|
2547
|
-
tuna_spot_position: "tuna_spot_position";
|
|
2548
|
-
lending_position: "lending_position";
|
|
2549
|
-
staking_position: "staking_position";
|
|
2550
|
-
fusion_limit_order: "fusion_limit_order";
|
|
2551
|
-
trade_history_entry: "trade_history_entry";
|
|
2552
|
-
order_history_entry: "order_history_entry";
|
|
2553
|
-
state_snapshot: "state_snapshot";
|
|
2554
|
-
}>;
|
|
2555
|
-
action: z.ZodEnum<{
|
|
2556
|
-
create: "create";
|
|
2557
|
-
update: "update";
|
|
2558
|
-
}>;
|
|
2559
|
-
data: z.ZodObject<{
|
|
2560
|
-
address: z.ZodString;
|
|
2561
|
-
mint: z.ZodString;
|
|
2562
|
-
pool: z.ZodString;
|
|
2563
|
-
state: z.ZodEnum<{
|
|
2564
|
-
open: "open";
|
|
2565
|
-
partially_filled: "partially_filled";
|
|
2566
|
-
filled: "filled";
|
|
2567
|
-
complete: "complete";
|
|
2568
|
-
cancelled: "cancelled";
|
|
2569
|
-
}>;
|
|
2570
|
-
aToB: z.ZodBoolean;
|
|
2571
|
-
tickIndex: z.ZodNumber;
|
|
2572
|
-
fillRatio: z.ZodNumber;
|
|
2573
|
-
openTxSignature: z.ZodString;
|
|
2574
|
-
closeTxSignature: z.ZodNullable<z.ZodString>;
|
|
2575
|
-
amountIn: z.ZodObject<{
|
|
2576
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2577
|
-
usd: z.ZodNumber;
|
|
2578
|
-
}, z.core.$strip>;
|
|
2579
|
-
amountOut: z.ZodObject<{
|
|
2580
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
2581
|
-
usd: z.ZodNumber;
|
|
2582
|
-
}, z.core.$strip>;
|
|
2583
|
-
openedAt: z.ZodCoercedDate<unknown>;
|
|
2584
|
-
closedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
2585
|
-
}, z.core.$strip>;
|
|
2586
|
-
id: z.ZodString;
|
|
2587
|
-
authority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2588
|
-
}, z.core.$strip>;
|
|
2589
2061
|
declare const TradeHistoryEntryNotification: z.ZodObject<{
|
|
2590
2062
|
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
2591
2063
|
entity: z.ZodEnum<{
|
|
@@ -3035,14 +2507,12 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3035
2507
|
price: z.ZodNumber;
|
|
3036
2508
|
tickSpacing: z.ZodNumber;
|
|
3037
2509
|
}, z.core.$strip>;
|
|
3038
|
-
positionToken: {
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
readonly B: "b";
|
|
3045
|
-
};
|
|
2510
|
+
positionToken: z.ZodEnum<{
|
|
2511
|
+
[x: string]: string;
|
|
2512
|
+
}>;
|
|
2513
|
+
collateralToken: z.ZodEnum<{
|
|
2514
|
+
[x: string]: string;
|
|
2515
|
+
}>;
|
|
3046
2516
|
marketMaker: z.ZodEnum<{
|
|
3047
2517
|
orca: "orca";
|
|
3048
2518
|
fusion: "fusion";
|
|
@@ -3202,8 +2672,26 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3202
2672
|
}, z.core.$strip>>>;
|
|
3203
2673
|
fusionLimitOrders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3204
2674
|
address: z.ZodString;
|
|
3205
|
-
|
|
3206
|
-
|
|
2675
|
+
orderMint: 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
|
+
pool: z.ZodObject<{
|
|
2691
|
+
addr: z.ZodString;
|
|
2692
|
+
price: z.ZodNumber;
|
|
2693
|
+
tickSpacing: z.ZodNumber;
|
|
2694
|
+
}, z.core.$strip>;
|
|
3207
2695
|
state: z.ZodEnum<{
|
|
3208
2696
|
open: "open";
|
|
3209
2697
|
partially_filled: "partially_filled";
|
|
@@ -3288,14 +2776,12 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3288
2776
|
price: z.ZodNumber;
|
|
3289
2777
|
tickSpacing: z.ZodNumber;
|
|
3290
2778
|
}, z.core.$strip>;
|
|
3291
|
-
positionToken: {
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
readonly B: "b";
|
|
3298
|
-
};
|
|
2779
|
+
positionToken: z.ZodEnum<{
|
|
2780
|
+
[x: string]: string;
|
|
2781
|
+
}>;
|
|
2782
|
+
collateralToken: z.ZodEnum<{
|
|
2783
|
+
[x: string]: string;
|
|
2784
|
+
}>;
|
|
3299
2785
|
marketMaker: z.ZodEnum<{
|
|
3300
2786
|
orca: "orca";
|
|
3301
2787
|
fusion: "fusion";
|
|
@@ -3455,8 +2941,26 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3455
2941
|
}, z.core.$strip>>>;
|
|
3456
2942
|
fusionLimitOrders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3457
2943
|
address: z.ZodString;
|
|
3458
|
-
|
|
3459
|
-
|
|
2944
|
+
orderMint: z.ZodString;
|
|
2945
|
+
mintA: z.ZodObject<{
|
|
2946
|
+
mint: z.ZodString;
|
|
2947
|
+
symbol: z.ZodString;
|
|
2948
|
+
name: z.ZodString;
|
|
2949
|
+
logo: z.ZodString;
|
|
2950
|
+
decimals: z.ZodNumber;
|
|
2951
|
+
}, z.core.$strip>;
|
|
2952
|
+
mintB: z.ZodObject<{
|
|
2953
|
+
mint: z.ZodString;
|
|
2954
|
+
symbol: z.ZodString;
|
|
2955
|
+
name: z.ZodString;
|
|
2956
|
+
logo: z.ZodString;
|
|
2957
|
+
decimals: z.ZodNumber;
|
|
2958
|
+
}, z.core.$strip>;
|
|
2959
|
+
pool: z.ZodObject<{
|
|
2960
|
+
addr: z.ZodString;
|
|
2961
|
+
price: z.ZodNumber;
|
|
2962
|
+
tickSpacing: z.ZodNumber;
|
|
2963
|
+
}, z.core.$strip>;
|
|
3460
2964
|
state: z.ZodEnum<{
|
|
3461
2965
|
open: "open";
|
|
3462
2966
|
partially_filled: "partially_filled";
|
|
@@ -3488,7 +2992,6 @@ declare const StateSnapshotNotification: z.ZodObject<{
|
|
|
3488
2992
|
declare const schemas_AmountWithUsdSchema: typeof AmountWithUsdSchema;
|
|
3489
2993
|
declare const schemas_AmountWithoutUsdSchema: typeof AmountWithoutUsdSchema;
|
|
3490
2994
|
declare const schemas_LendingPositionNotification: typeof LendingPositionNotification;
|
|
3491
|
-
declare const schemas_LimitOrderNotification: typeof LimitOrderNotification;
|
|
3492
2995
|
declare const schemas_LimitOrderState: typeof LimitOrderState;
|
|
3493
2996
|
declare const schemas_LimitOrderStateSchema: typeof LimitOrderStateSchema;
|
|
3494
2997
|
declare const schemas_LpPositionAutoCompound: typeof LpPositionAutoCompound;
|
|
@@ -3511,7 +3014,6 @@ declare const schemas_OrderHistoryStatus: typeof OrderHistoryStatus;
|
|
|
3511
3014
|
declare const schemas_OrderHistoryStatusSchema: typeof OrderHistoryStatusSchema;
|
|
3512
3015
|
declare const schemas_OrderHistoryUIDirection: typeof OrderHistoryUIDirection;
|
|
3513
3016
|
declare const schemas_OrderHistoryUIDirectionSchema: typeof OrderHistoryUIDirectionSchema;
|
|
3514
|
-
declare const schemas_PoolPriceUpdateNotification: typeof PoolPriceUpdateNotification;
|
|
3515
3017
|
declare const schemas_PoolProvider: typeof PoolProvider;
|
|
3516
3018
|
declare const schemas_PoolProviderSchema: typeof PoolProviderSchema;
|
|
3517
3019
|
declare const schemas_PoolSubscriptionTopic: typeof PoolSubscriptionTopic;
|
|
@@ -3545,14 +3047,12 @@ declare const schemas_TunaLpPositionTokenPrices: typeof TunaLpPositionTokenPrice
|
|
|
3545
3047
|
declare const schemas_TunaLpPositionTransfer: typeof TunaLpPositionTransfer;
|
|
3546
3048
|
declare const schemas_TunaLpPositionValue: typeof TunaLpPositionValue;
|
|
3547
3049
|
declare const schemas_TunaPositionLegacy: typeof TunaPositionLegacy;
|
|
3548
|
-
declare const schemas_TunaPositionNotification: typeof TunaPositionNotification;
|
|
3549
3050
|
declare const schemas_TunaPositionPoolSchema: typeof TunaPositionPoolSchema;
|
|
3550
3051
|
declare const schemas_TunaPositionPoolToken: typeof TunaPositionPoolToken;
|
|
3551
3052
|
declare const schemas_TunaPositionPoolTokenSchema: typeof TunaPositionPoolTokenSchema;
|
|
3552
3053
|
declare const schemas_TunaPositionState: typeof TunaPositionState;
|
|
3553
3054
|
declare const schemas_TunaPositionStateSchema: typeof TunaPositionStateSchema;
|
|
3554
3055
|
declare const schemas_TunaPositionTokenPnlSchema: typeof TunaPositionTokenPnlSchema;
|
|
3555
|
-
declare const schemas_TunaSpotPositionNotification: typeof TunaSpotPositionNotification;
|
|
3556
3056
|
declare const schemas_TunaSpotPositionState: typeof TunaSpotPositionState;
|
|
3557
3057
|
declare const schemas_TunaSpotPositionStateSchema: typeof TunaSpotPositionStateSchema;
|
|
3558
3058
|
declare const schemas_UpdateStreamSubscriptionResult: typeof UpdateStreamSubscriptionResult;
|
|
@@ -3560,7 +3060,7 @@ declare const schemas_UsdPnlSchema: typeof UsdPnlSchema;
|
|
|
3560
3060
|
declare const schemas_WalletSubscriptionTopic: typeof WalletSubscriptionTopic;
|
|
3561
3061
|
declare const schemas_WalletSubscriptionTopicSchema: typeof WalletSubscriptionTopicSchema;
|
|
3562
3062
|
declare namespace schemas {
|
|
3563
|
-
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,
|
|
3063
|
+
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, schemas_OrderBookNotification as OrderBookNotification, OrderBookNotificationMeta$1 as OrderBookNotificationMeta, 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, PoolPriceUpdate$1 as PoolPriceUpdate, 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_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 };
|
|
3564
3064
|
}
|
|
3565
3065
|
|
|
3566
3066
|
type NotificationEntityType = z.infer<typeof NotificationEntitySchema>;
|