@gainsnetwork/sdk 0.2.38 → 0.2.40-rc1
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 +6 -0
- package/lib/constants.js +7 -1
- package/lib/contracts/utils/pairs.js +6 -0
- package/lib/trade/types.d.ts +7 -1
- package/lib/trade/types.js +6 -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/constants.d.ts
CHANGED
|
@@ -293,6 +293,12 @@ export declare const pairs: {
|
|
|
293
293
|
"ORBS/USD": string;
|
|
294
294
|
"APU/USD": string;
|
|
295
295
|
"BSV/USD": string;
|
|
296
|
+
"HIPPO/USD": string;
|
|
297
|
+
"GOAT/USD": string;
|
|
298
|
+
"DOG/USD": string;
|
|
299
|
+
"HOT/USD": string;
|
|
300
|
+
"STORJ/USD": string;
|
|
301
|
+
"RAY/USD": string;
|
|
296
302
|
};
|
|
297
303
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
298
304
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -301,6 +301,12 @@ exports.pairs = {
|
|
|
301
301
|
"ORBS/USD": CRYPTO,
|
|
302
302
|
"APU/USD": CRYPTO,
|
|
303
303
|
"BSV/USD": CRYPTO,
|
|
304
|
+
"HIPPO/USD": CRYPTO,
|
|
305
|
+
"GOAT/USD": CRYPTO,
|
|
306
|
+
"DOG/USD": CRYPTO,
|
|
307
|
+
"HOT/USD": CRYPTO,
|
|
308
|
+
"STORJ/USD": CRYPTO,
|
|
309
|
+
"RAY/USD": CRYPTO,
|
|
304
310
|
};
|
|
305
311
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
306
312
|
switch (groupIndex) {
|
|
@@ -336,7 +342,7 @@ exports.delistedPairIxs = new Set([
|
|
|
336
342
|
6, 31, 36, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
337
343
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
338
344
|
97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163, 15,
|
|
339
|
-
170, 239, 254, 230, 4, 275,
|
|
345
|
+
170, 239, 254, 230, 4, 275, 290, 292, 294, 295, 296, 297, 298, 299,
|
|
340
346
|
]);
|
|
341
347
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
342
348
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -399,4 +399,10 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
399
399
|
[types_1.PairIndex.ORBSUSD]: "ORBS to US Dollar",
|
|
400
400
|
[types_1.PairIndex.APUUSD]: "Apu Apustaja to US Dollar",
|
|
401
401
|
[types_1.PairIndex.BSVUSD]: "Bitcoin SV to US Dollar",
|
|
402
|
+
[types_1.PairIndex.HIPPOUSD]: "sudeng to US Dollar",
|
|
403
|
+
[types_1.PairIndex.GOATUSD]: "Goatseus Maximus to US Dollar",
|
|
404
|
+
[types_1.PairIndex.DOGUSD]: "DOG GO TO THE MOON (Runes) to US Dollar",
|
|
405
|
+
[types_1.PairIndex.HOTUSD]: "Holo to US Dollar",
|
|
406
|
+
[types_1.PairIndex.STORJUSD]: "Storj to US Dollar",
|
|
407
|
+
[types_1.PairIndex.RAYUSD]: "Raydium to US Dollar",
|
|
402
408
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -323,4 +323,10 @@ var PairIndex;
|
|
|
323
323
|
PairIndex[PairIndex["ORBSUSD"] = 291] = "ORBSUSD";
|
|
324
324
|
PairIndex[PairIndex["APUUSD"] = 292] = "APUUSD";
|
|
325
325
|
PairIndex[PairIndex["BSVUSD"] = 293] = "BSVUSD";
|
|
326
|
+
PairIndex[PairIndex["HIPPOUSD"] = 294] = "HIPPOUSD";
|
|
327
|
+
PairIndex[PairIndex["GOATUSD"] = 295] = "GOATUSD";
|
|
328
|
+
PairIndex[PairIndex["DOGUSD"] = 296] = "DOGUSD";
|
|
329
|
+
PairIndex[PairIndex["HOTUSD"] = 297] = "HOTUSD";
|
|
330
|
+
PairIndex[PairIndex["STORJUSD"] = 298] = "STORJUSD";
|
|
331
|
+
PairIndex[PairIndex["RAYUSD"] = 299] = "RAYUSD";
|
|
326
332
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|