@gmsol-labs/gmsol-sdk 0.5.0-alpha.10 → 0.5.0-alpha.11
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/index.d.ts +26 -2
- package/index_bg.wasm +0 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -190,11 +190,11 @@ export interface PositionStatus {
|
|
|
190
190
|
/**
|
|
191
191
|
* Leverage.
|
|
192
192
|
*/
|
|
193
|
-
leverage: bigint;
|
|
193
|
+
leverage: bigint | undefined;
|
|
194
194
|
/**
|
|
195
195
|
* Liquidation price.
|
|
196
196
|
*/
|
|
197
|
-
liquidation_price: bigint;
|
|
197
|
+
liquidation_price: bigint | undefined;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
/**
|
|
@@ -233,6 +233,14 @@ export interface MarketStatus {
|
|
|
233
233
|
* Reserved value for short.
|
|
234
234
|
*/
|
|
235
235
|
reserved_value_for_short: bigint;
|
|
236
|
+
/**
|
|
237
|
+
* Max reserve value for long.
|
|
238
|
+
*/
|
|
239
|
+
max_reserve_value_for_long: bigint;
|
|
240
|
+
/**
|
|
241
|
+
* Max reserve value for short.
|
|
242
|
+
*/
|
|
243
|
+
max_reserve_value_for_short: bigint;
|
|
236
244
|
/**
|
|
237
245
|
* Pool value without pnl for long.
|
|
238
246
|
*/
|
|
@@ -249,6 +257,14 @@ export interface MarketStatus {
|
|
|
249
257
|
* Liquidity for short.
|
|
250
258
|
*/
|
|
251
259
|
liquidity_for_short: bigint;
|
|
260
|
+
/**
|
|
261
|
+
* Max liquidity for long.
|
|
262
|
+
*/
|
|
263
|
+
max_liquidity_for_long: bigint;
|
|
264
|
+
/**
|
|
265
|
+
* Max liquidity for short.
|
|
266
|
+
*/
|
|
267
|
+
max_liquidity_for_short: bigint;
|
|
252
268
|
/**
|
|
253
269
|
* Open interest for long.
|
|
254
270
|
*/
|
|
@@ -265,6 +281,14 @@ export interface MarketStatus {
|
|
|
265
281
|
* Open interest in tokens for short.
|
|
266
282
|
*/
|
|
267
283
|
open_interest_in_tokens_for_short: bigint;
|
|
284
|
+
/**
|
|
285
|
+
* Min collateral factor for long.
|
|
286
|
+
*/
|
|
287
|
+
min_collateral_factor_for_long: bigint;
|
|
288
|
+
/**
|
|
289
|
+
* Min collateral factor for short.
|
|
290
|
+
*/
|
|
291
|
+
min_collateral_factor_for_short: bigint;
|
|
268
292
|
}
|
|
269
293
|
|
|
270
294
|
/**
|
package/index_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@gmsol-labs/gmsol-sdk",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "GMX-Solana is an extension of GMX on the Solana blockchain.",
|
|
5
|
-
"version": "0.5.0-alpha.
|
|
5
|
+
"version": "0.5.0-alpha.11",
|
|
6
6
|
"license": "SEE LICENSE IN ../../LICENSE",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|