@gainsnetwork/sdk 0.1.27-rc3 → 0.1.28-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 +3 -0
- package/lib/constants.js +4 -1
- package/lib/contracts/utils/pairs.js +3 -0
- package/lib/trade/types.d.ts +4 -1
- package/lib/trade/types.js +3 -0
- package/package.json +1 -1
- 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/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/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/GTokenV6_3_2.d.ts +0 -1838
- package/lib/contracts/types/generated/GTokenV6_3_2.js +0 -2
- 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/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/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
|
@@ -226,6 +226,9 @@ export declare const pairs: {
|
|
|
226
226
|
"OMNI/USD": string;
|
|
227
227
|
"PRCL/USD": string;
|
|
228
228
|
"MERL/USD": string;
|
|
229
|
+
"SAFE/USD": string;
|
|
230
|
+
"SAGA/USD": string;
|
|
231
|
+
"LL/USD": string;
|
|
229
232
|
};
|
|
230
233
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
231
234
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -234,6 +234,9 @@ exports.pairs = {
|
|
|
234
234
|
"OMNI/USD": CRYPTO,
|
|
235
235
|
"PRCL/USD": CRYPTO,
|
|
236
236
|
"MERL/USD": CRYPTO,
|
|
237
|
+
"SAFE/USD": CRYPTO,
|
|
238
|
+
"SAGA/USD": CRYPTO,
|
|
239
|
+
"LL/USD": CRYPTO,
|
|
237
240
|
};
|
|
238
241
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
239
242
|
switch (groupIndex) {
|
|
@@ -267,6 +270,6 @@ exports.stockSplits = {
|
|
|
267
270
|
exports.delistedPairIxs = new Set([
|
|
268
271
|
6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
269
272
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
270
|
-
89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190,
|
|
273
|
+
89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 227, 228, 229,
|
|
271
274
|
]);
|
|
272
275
|
exports.delistedGroupsIxs = new Set([6, 7]);
|
|
@@ -329,4 +329,7 @@ const PAIR_INDEX_TO_DESCRIPTION = {
|
|
|
329
329
|
[types_1.PairIndex.OMNIUSD]: "Omni Network to US Dollar",
|
|
330
330
|
[types_1.PairIndex.PRCLUSD]: "Parcl to US Dollar",
|
|
331
331
|
[types_1.PairIndex.MERLUSD]: "Merlin Chain to US Dollar",
|
|
332
|
+
[types_1.PairIndex.SAFEUSD]: "Safe to US Dollar",
|
|
333
|
+
[types_1.PairIndex.SAGAUSD]: "Saga to US Dollar",
|
|
334
|
+
[types_1.PairIndex.LLUSD]: "Light Link to US Dollar",
|
|
332
335
|
};
|
package/lib/trade/types.d.ts
CHANGED
package/lib/trade/types.js
CHANGED
|
@@ -241,4 +241,7 @@ var PairIndex;
|
|
|
241
241
|
PairIndex[PairIndex["OMNIUSD"] = 224] = "OMNIUSD";
|
|
242
242
|
PairIndex[PairIndex["PRCLUSD"] = 225] = "PRCLUSD";
|
|
243
243
|
PairIndex[PairIndex["MERLUSD"] = 226] = "MERLUSD";
|
|
244
|
+
PairIndex[PairIndex["SAFEUSD"] = 227] = "SAFEUSD";
|
|
245
|
+
PairIndex[PairIndex["SAGAUSD"] = 228] = "SAGAUSD";
|
|
246
|
+
PairIndex[PairIndex["LLUSD"] = 229] = "LLUSD";
|
|
244
247
|
})(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
|