@gainsnetwork/sdk 0.2.59-rc1 → 0.2.59-rc3
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
CHANGED
|
@@ -348,6 +348,9 @@ export declare const pairs: {
|
|
|
348
348
|
"TST/USD": string;
|
|
349
349
|
"IP/USD": string;
|
|
350
350
|
"KAITO/USD": string;
|
|
351
|
+
"ELX/USD": string;
|
|
352
|
+
"PI/USD": string;
|
|
353
|
+
"SHELL/USD": string;
|
|
351
354
|
};
|
|
352
355
|
export declare const syntheticPairs: Set<string>;
|
|
353
356
|
export declare const parentToSyntheticPairMap: Map<string, string>;
|
package/lib/constants.js
CHANGED
|
@@ -356,6 +356,9 @@ exports.pairs = {
|
|
|
356
356
|
"TST/USD": CRYPTO,
|
|
357
357
|
"IP/USD": CRYPTO,
|
|
358
358
|
"KAITO/USD": CRYPTO,
|
|
359
|
+
"ELX/USD": CRYPTO,
|
|
360
|
+
"PI/USD": CRYPTO,
|
|
361
|
+
"SHELL/USD": CRYPTO,
|
|
359
362
|
};
|
|
360
363
|
exports.syntheticPairs = new Set([
|
|
361
364
|
"BTCDEGEN/USD",
|
|
@@ -406,7 +409,7 @@ exports.delistedPairIxs = new Set([
|
|
|
406
409
|
4, 6, 31, 36, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
407
410
|
71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,
|
|
408
411
|
97, 99, 101, 106, 52, 147, 152, 160, 179, 182, 183, 190, 229, 163, 15, 170,
|
|
409
|
-
239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276, 347, 348,
|
|
412
|
+
239, 254, 230, 4, 275, 290, 296, 311, 330, 250, 276, 347, 348, 349, 350, 351,
|
|
410
413
|
]);
|
|
411
414
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
412
415
|
exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"gToken": "0x0000000000000000000000000000000000000000"
|
|
46
46
|
},
|
|
47
47
|
"GNS": {
|
|
48
|
-
"gTokenOpenPnlFeed": "
|
|
49
|
-
"gToken": "
|
|
48
|
+
"gTokenOpenPnlFeed": "0x4ca1638754Be8060E544Aca4A4F43702Be30E0D1",
|
|
49
|
+
"gToken": "0x4BeeF1113F968326905224D2Ca272f3032A9a9F4"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"421614": {
|
package/lib/contracts/index.js
CHANGED
|
@@ -53,6 +53,7 @@ exports.COLLATERAL_TO_CHAIN_COLLATERAL_INDEX = {
|
|
|
53
53
|
[types_1.CollateralTypes.DAI]: 1,
|
|
54
54
|
[types_1.CollateralTypes.ETH]: 2,
|
|
55
55
|
[types_1.CollateralTypes.USDC]: 3,
|
|
56
|
+
[types_1.CollateralTypes.GNS]: 4,
|
|
56
57
|
},
|
|
57
58
|
[types_1.ChainId.ARBITRUM_SEPOLIA]: {
|
|
58
59
|
[types_1.CollateralTypes.DAI]: 1,
|
|
@@ -454,4 +454,7 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
454
454
|
[types_1.PairIndex.TSTUSD]: "Test to US Dollar",
|
|
455
455
|
[types_1.PairIndex.IPUSD]: "Story to US Dollar",
|
|
456
456
|
[types_1.PairIndex.KAITOUSD]: "KAITO to US Dollar",
|
|
457
|
+
[types_1.PairIndex.ELXUSD]: "Elixir to US Dollar",
|
|
458
|
+
[types_1.PairIndex.PIUSD]: "Pi Network to US Dollar",
|
|
459
|
+
[types_1.PairIndex.SHELLUSD]: "MyShell to US Dollar",
|
|
457
460
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -378,4 +378,7 @@ var PairIndex;
|
|
|
378
378
|
PairIndex[PairIndex["TSTUSD"] = 346] = "TSTUSD";
|
|
379
379
|
PairIndex[PairIndex["IPUSD"] = 347] = "IPUSD";
|
|
380
380
|
PairIndex[PairIndex["KAITOUSD"] = 348] = "KAITOUSD";
|
|
381
|
+
PairIndex[PairIndex["ELXUSD"] = 349] = "ELXUSD";
|
|
382
|
+
PairIndex[PairIndex["PIUSD"] = 350] = "PIUSD";
|
|
383
|
+
PairIndex[PairIndex["SHELLUSD"] = 351] = "SHELLUSD";
|
|
381
384
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|