@gainsnetwork/sdk 0.2.65 → 0.2.66-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 +7 -0
- package/lib/constants.js +9 -1
- package/lib/contracts/utils/pairs.js +7 -0
- package/lib/trade/types.d.ts +8 -1
- package/lib/trade/types.js +7 -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/GNSBorrowingFeesV6_3_2.d.ts +0 -979
- package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.js +0 -2
- package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.d.ts +0 -1058
- package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.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/GNSPairInfosV6_1.d.ts +0 -911
- package/lib/contracts/types/generated/GNSPairInfosV6_1.js +0 -2
- package/lib/contracts/types/generated/GNSPairsStorageV6.d.ts +0 -660
- package/lib/contracts/types/generated/GNSPairsStorageV6.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/GNSTradingCallbacksV6_3_2.d.ts +0 -806
- package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.js +0 -2
- package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.d.ts +0 -821
- package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.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/GTokenV6_3_2.d.ts +0 -1838
- package/lib/contracts/types/generated/GTokenV6_3_2.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/GNSBorrowingFeesV6_3_2__factory.d.ts +0 -88
- package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.js +0 -1654
- package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.d.ts +0 -113
- package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.js +0 -1742
- 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/GNSPairInfosV6_1__factory.d.ts +0 -98
- package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.js +0 -1485
- package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.d.ts +0 -117
- package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.js +0 -1265
- package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.d.ts +0 -82
- package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.js +0 -1273
- package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.d.ts +0 -82
- package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.js +0 -1326
- 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/types/generated/factories/GTokenV6_3_2__factory.d.ts +0 -110
- package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.js +0 -2682
package/lib/constants.d.ts
CHANGED
|
@@ -369,6 +369,13 @@ export declare const pairs: {
|
|
|
369
369
|
"WCT/USD": string;
|
|
370
370
|
"BIGTIME/USD": string;
|
|
371
371
|
"BABY/USD": string;
|
|
372
|
+
"COOKIE/USD": string;
|
|
373
|
+
"KMNO/USD": string;
|
|
374
|
+
"INIT/USD": string;
|
|
375
|
+
"SYRUP/USD": string;
|
|
376
|
+
"SIGN/USD": string;
|
|
377
|
+
"ZORA/USD": string;
|
|
378
|
+
"COIN/USD": string;
|
|
372
379
|
};
|
|
373
380
|
export declare const syntheticPairs: Set<string>;
|
|
374
381
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -377,6 +377,13 @@ exports.pairs = {
|
|
|
377
377
|
"WCT/USD": CRYPTO,
|
|
378
378
|
"BIGTIME/USD": CRYPTO,
|
|
379
379
|
"BABY/USD": CRYPTO,
|
|
380
|
+
"COOKIE/USD": CRYPTO,
|
|
381
|
+
"KMNO/USD": CRYPTO,
|
|
382
|
+
"INIT/USD": CRYPTO,
|
|
383
|
+
"SYRUP/USD": CRYPTO,
|
|
384
|
+
"SIGN/USD": CRYPTO,
|
|
385
|
+
"ZORA/USD": CRYPTO,
|
|
386
|
+
"COIN/USD": STOCKS,
|
|
380
387
|
};
|
|
381
388
|
exports.syntheticPairs = new Set([
|
|
382
389
|
"BTCDEGEN/USD",
|
|
@@ -429,7 +436,8 @@ exports.delistedPairIxs = new Set([
|
|
|
429
436
|
99, 101, 106, 111, 113, 114, 116, 118, 120, 122, 123, 125, 127, 130, 147, 152,
|
|
430
437
|
160, 163, 170, 179, 182, 183, 187, 188, 189, 190, 208, 209, 225, 229, 230,
|
|
431
438
|
231, 238, 239, 241, 250, 253, 254, 258, 270, 275, 276, 278, 279, 282, 285,
|
|
432
|
-
290, 294, 296, 305, 330, 349, 352, 353, 354, 355, 357, 365, 366,
|
|
439
|
+
290, 294, 296, 305, 330, 349, 352, 353, 354, 355, 357, 365, 366, 370, 371,
|
|
440
|
+
372, 373, 374, 375, 376,
|
|
433
441
|
]);
|
|
434
442
|
exports.delistedGroupsIxs = new Set([]);
|
|
435
443
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -475,4 +475,11 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
475
475
|
[types_1.PairIndex.WCTUSD]: "WalletConnect Token to US Dollar",
|
|
476
476
|
[types_1.PairIndex.BIGTIMEUSD]: "Big Time to US Dollar",
|
|
477
477
|
[types_1.PairIndex.BABYUSD]: "Babylon to US Dollar",
|
|
478
|
+
[types_1.PairIndex.COOKIEUSD]: "Cookie DAO to US Dollar",
|
|
479
|
+
[types_1.PairIndex.KMNOUSD]: "Kamino to US Dollar",
|
|
480
|
+
[types_1.PairIndex.INITUSD]: "Initia to US Dollar",
|
|
481
|
+
[types_1.PairIndex.SYRUPUSD]: "Maple Finance to US Dollar",
|
|
482
|
+
[types_1.PairIndex.SIGNUSD]: "Sign to US Dollar",
|
|
483
|
+
[types_1.PairIndex.ZORAUSD]: "ZORA to US Dollar",
|
|
484
|
+
[types_1.PairIndex.COINUSD]: "Coinbase to US Dollar",
|
|
478
485
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -592,5 +592,12 @@ export declare enum PairIndex {
|
|
|
592
592
|
RFCUSD = 366,
|
|
593
593
|
WCTUSD = 367,
|
|
594
594
|
BIGTIMEUSD = 368,
|
|
595
|
-
BABYUSD = 369
|
|
595
|
+
BABYUSD = 369,
|
|
596
|
+
COOKIEUSD = 370,
|
|
597
|
+
KMNOUSD = 371,
|
|
598
|
+
INITUSD = 372,
|
|
599
|
+
SYRUPUSD = 373,
|
|
600
|
+
SIGNUSD = 374,
|
|
601
|
+
ZORAUSD = 375,
|
|
602
|
+
COINUSD = 376
|
|
596
603
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -399,4 +399,11 @@ var PairIndex;
|
|
|
399
399
|
PairIndex[PairIndex["WCTUSD"] = 367] = "WCTUSD";
|
|
400
400
|
PairIndex[PairIndex["BIGTIMEUSD"] = 368] = "BIGTIMEUSD";
|
|
401
401
|
PairIndex[PairIndex["BABYUSD"] = 369] = "BABYUSD";
|
|
402
|
+
PairIndex[PairIndex["COOKIEUSD"] = 370] = "COOKIEUSD";
|
|
403
|
+
PairIndex[PairIndex["KMNOUSD"] = 371] = "KMNOUSD";
|
|
404
|
+
PairIndex[PairIndex["INITUSD"] = 372] = "INITUSD";
|
|
405
|
+
PairIndex[PairIndex["SYRUPUSD"] = 373] = "SYRUPUSD";
|
|
406
|
+
PairIndex[PairIndex["SIGNUSD"] = 374] = "SIGNUSD";
|
|
407
|
+
PairIndex[PairIndex["ZORAUSD"] = 375] = "ZORAUSD";
|
|
408
|
+
PairIndex[PairIndex["COINUSD"] = 376] = "COINUSD";
|
|
402
409
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|