@gainsnetwork/sdk 0.2.18 → 0.2.19-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 +8 -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/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
|
@@ -256,6 +256,13 @@ export declare const pairs: {
|
|
|
256
256
|
"UXLINK/USD": string;
|
|
257
257
|
"AVAIL/USD": string;
|
|
258
258
|
"BANANA/USD": string;
|
|
259
|
+
"RARE/USD": string;
|
|
260
|
+
"SYS/USD": string;
|
|
261
|
+
"NMR/USD": string;
|
|
262
|
+
"RSR/USD": string;
|
|
263
|
+
"SYN/USD": string;
|
|
264
|
+
"AUCTION/USD": string;
|
|
265
|
+
"ALICE/USD": string;
|
|
259
266
|
};
|
|
260
267
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
261
268
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -264,6 +264,13 @@ exports.pairs = {
|
|
|
264
264
|
"UXLINK/USD": CRYPTO,
|
|
265
265
|
"AVAIL/USD": CRYPTO,
|
|
266
266
|
"BANANA/USD": CRYPTO,
|
|
267
|
+
"RARE/USD": CRYPTO,
|
|
268
|
+
"SYS/USD": CRYPTO,
|
|
269
|
+
"NMR/USD": CRYPTO,
|
|
270
|
+
"RSR/USD": CRYPTO,
|
|
271
|
+
"SYN/USD": CRYPTO,
|
|
272
|
+
"AUCTION/USD": CRYPTO,
|
|
273
|
+
"ALICE/USD": CRYPTO,
|
|
267
274
|
};
|
|
268
275
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
269
276
|
switch (groupIndex) {
|
|
@@ -299,6 +306,6 @@ exports.delistedPairIxs = new Set([
|
|
|
299
306
|
6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
300
307
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
301
308
|
89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 229, 163,
|
|
302
|
-
155, 15, 170, 239, 254, 230,
|
|
309
|
+
155, 15, 170, 239, 254, 230, 257, 258, 259, 260, 261, 262, 263,
|
|
303
310
|
]);
|
|
304
311
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
@@ -362,4 +362,11 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
362
362
|
[types_1.PairIndex.UXLINKUSD]: "UXLINK to US Dollar",
|
|
363
363
|
[types_1.PairIndex.AVAILUSD]: "Avail to US Dollar",
|
|
364
364
|
[types_1.PairIndex.BANANAUSD]: "Banana Gun to US Dollar",
|
|
365
|
+
[types_1.PairIndex.RAREUSD]: "SuperRare to US Dollar",
|
|
366
|
+
[types_1.PairIndex.SYSUSD]: "Syscoin to US Dollar",
|
|
367
|
+
[types_1.PairIndex.NMRUSD]: "Numeraire to US Dollar",
|
|
368
|
+
[types_1.PairIndex.RSRUSD]: "Reserve Rights to US Dollar",
|
|
369
|
+
[types_1.PairIndex.SYNUSD]: "Synapse to US Dollar",
|
|
370
|
+
[types_1.PairIndex.AUCTIONUSD]: "Bounce to US Dollar",
|
|
371
|
+
[types_1.PairIndex.ALICEUSD]: "My Neighbor Alice to US Dollar",
|
|
365
372
|
};
|
package/lib/trade/types.d.ts
CHANGED
|
@@ -446,5 +446,12 @@ export declare enum PairIndex {
|
|
|
446
446
|
SLERFUSD = 253,
|
|
447
447
|
UXLINKUSD = 254,
|
|
448
448
|
AVAILUSD = 255,
|
|
449
|
-
BANANAUSD = 256
|
|
449
|
+
BANANAUSD = 256,
|
|
450
|
+
RAREUSD = 257,
|
|
451
|
+
SYSUSD = 258,
|
|
452
|
+
NMRUSD = 259,
|
|
453
|
+
RSRUSD = 260,
|
|
454
|
+
SYNUSD = 261,
|
|
455
|
+
AUCTIONUSD = 262,
|
|
456
|
+
ALICEUSD = 263
|
|
450
457
|
}
|
package/lib/trade/types.js
CHANGED
|
@@ -286,4 +286,11 @@ var PairIndex;
|
|
|
286
286
|
PairIndex[PairIndex["UXLINKUSD"] = 254] = "UXLINKUSD";
|
|
287
287
|
PairIndex[PairIndex["AVAILUSD"] = 255] = "AVAILUSD";
|
|
288
288
|
PairIndex[PairIndex["BANANAUSD"] = 256] = "BANANAUSD";
|
|
289
|
+
PairIndex[PairIndex["RAREUSD"] = 257] = "RAREUSD";
|
|
290
|
+
PairIndex[PairIndex["SYSUSD"] = 258] = "SYSUSD";
|
|
291
|
+
PairIndex[PairIndex["NMRUSD"] = 259] = "NMRUSD";
|
|
292
|
+
PairIndex[PairIndex["RSRUSD"] = 260] = "RSRUSD";
|
|
293
|
+
PairIndex[PairIndex["SYNUSD"] = 261] = "SYNUSD";
|
|
294
|
+
PairIndex[PairIndex["AUCTIONUSD"] = 262] = "AUCTIONUSD";
|
|
295
|
+
PairIndex[PairIndex["ALICEUSD"] = 263] = "ALICEUSD";
|
|
289
296
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|