@gainsnetwork/sdk 0.2.55 → 0.2.56-rc2
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/lib/constants.d.ts +4 -0
- package/lib/constants.js +6 -1
- package/lib/contracts/utils/borrowingFees.js +1 -0
- package/lib/contracts/utils/pairs.js +4 -0
- package/lib/trade/types.d.ts +5 -1
- package/lib/trade/types.js +4 -0
- package/package.json +1 -1
- package/lib/contracts/types/generated/GFarmTradingStorageV5.d.ts +0 -1911
- package/lib/contracts/types/generated/GFarmTradingStorageV5.js +0 -2
- package/lib/contracts/types/generated/GNSBorrowingFees.d.ts +0 -1067
- package/lib/contracts/types/generated/GNSBorrowingFees.js +0 -2
- package/lib/contracts/types/generated/GNSNftRewardsV6.d.ts +0 -533
- package/lib/contracts/types/generated/GNSNftRewardsV6.js +0 -2
- package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.d.ts +0 -613
- package/lib/contracts/types/generated/GNSNftRewardsV6_3_1.js +0 -2
- package/lib/contracts/types/generated/GNSTrading.d.ts +0 -758
- package/lib/contracts/types/generated/GNSTrading.js +0 -2
- package/lib/contracts/types/generated/GNSTradingCallbacks.d.ts +0 -875
- package/lib/contracts/types/generated/GNSTradingCallbacks.js +0 -2
- package/lib/contracts/types/generated/GNSTradingStorage.d.ts +0 -1387
- package/lib/contracts/types/generated/GNSTradingStorage.js +0 -2
- package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.d.ts +0 -83
- package/lib/contracts/types/generated/factories/GFarmTradingStorageV5__factory.js +0 -2691
- package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.d.ts +0 -124
- package/lib/contracts/types/generated/factories/GNSBorrowingFees__factory.js +0 -1784
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.d.ts +0 -100
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6_3_1__factory.js +0 -1116
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.d.ts +0 -100
- package/lib/contracts/types/generated/factories/GNSNftRewardsV6__factory.js +0 -1003
- package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.d.ts +0 -113
- package/lib/contracts/types/generated/factories/GNSTradingCallbacks__factory.js +0 -1428
- package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.d.ts +0 -96
- package/lib/contracts/types/generated/factories/GNSTradingStorage__factory.js +0 -2241
- package/lib/contracts/types/generated/factories/GNSTrading__factory.d.ts +0 -95
- package/lib/contracts/types/generated/factories/GNSTrading__factory.js +0 -1071
- package/lib/contracts/utils/openLimitOrders.d.ts +0 -8
- package/lib/contracts/utils/openLimitOrders.js +0 -88
- package/lib/trade/openLimitOrder.d.ts +0 -2
- package/lib/trade/openLimitOrder.js +0 -23
package/lib/constants.d.ts
CHANGED
|
@@ -342,6 +342,10 @@ export declare const pairs: {
|
|
|
342
342
|
"VINE/USD": string;
|
|
343
343
|
"TOSHI/USD": string;
|
|
344
344
|
"BERA/USD": string;
|
|
345
|
+
"LAYER/USD": string;
|
|
346
|
+
"CHEEMS/USD": string;
|
|
347
|
+
"SOLV/USD": string;
|
|
348
|
+
"TST/USD": string;
|
|
345
349
|
};
|
|
346
350
|
export declare const syntheticPairs: Set<string>;
|
|
347
351
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -350,6 +350,10 @@ exports.pairs = {
|
|
|
350
350
|
"VINE/USD": CRYPTO,
|
|
351
351
|
"TOSHI/USD": CRYPTO,
|
|
352
352
|
"BERA/USD": CRYPTO,
|
|
353
|
+
"LAYER/USD": CRYPTO,
|
|
354
|
+
"CHEEMS/USD": CRYPTO,
|
|
355
|
+
"SOLV/USD": CRYPTO,
|
|
356
|
+
"TST/USD": CRYPTO,
|
|
353
357
|
};
|
|
354
358
|
exports.syntheticPairs = new Set([
|
|
355
359
|
"BTCDEGEN/USD",
|
|
@@ -400,7 +404,8 @@ exports.delistedPairIxs = new Set([
|
|
|
400
404
|
4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
401
405
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
402
406
|
97, 99, 101, 106, 108, 52, 131, 147, 152, 160, 179, 182, 183, 190, 229, 163,
|
|
403
|
-
15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276,
|
|
407
|
+
15, 170, 239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276, 343, 344, 345,
|
|
408
|
+
346,
|
|
404
409
|
]);
|
|
405
410
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
406
411
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -448,4 +448,8 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
448
448
|
[types_1.PairIndex.VINEUSD]: "Vine coin to US Dollar",
|
|
449
449
|
[types_1.PairIndex.TOSHIUSD]: "Toshi to US Dollar",
|
|
450
450
|
[types_1.PairIndex.BERAUSD]: "Berachain to US Dollar",
|
|
451
|
+
[types_1.PairIndex.LAYERUSD]: "Solayer to US Dollar",
|
|
452
|
+
[types_1.PairIndex.CHEEMSUSD]: "Cheems Token to US Dollar",
|
|
453
|
+
[types_1.PairIndex.SOLVUSD]: "Solv Protocol to US Dollar",
|
|
454
|
+
[types_1.PairIndex.TSTUSD]: "Test to US Dollar",
|
|
451
455
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -372,4 +372,8 @@ var PairIndex;
|
|
|
372
372
|
PairIndex[PairIndex["VINEUSD"] = 340] = "VINEUSD";
|
|
373
373
|
PairIndex[PairIndex["TOSHIUSD"] = 341] = "TOSHIUSD";
|
|
374
374
|
PairIndex[PairIndex["BERAUSD"] = 342] = "BERAUSD";
|
|
375
|
+
PairIndex[PairIndex["LAYERUSD"] = 343] = "LAYERUSD";
|
|
376
|
+
PairIndex[PairIndex["CHEEMSUSD"] = 344] = "CHEEMSUSD";
|
|
377
|
+
PairIndex[PairIndex["SOLVUSD"] = 345] = "SOLVUSD";
|
|
378
|
+
PairIndex[PairIndex["TSTUSD"] = 346] = "TSTUSD";
|
|
375
379
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|