@gainsnetwork/sdk 0.1.26-rc2 → 0.1.27-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 +5 -1
- package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.d.ts +979 -0
- package/lib/contracts/types/generated/GNSBorrowingFeesV6_3_2.js +2 -0
- package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.d.ts +1058 -0
- package/lib/contracts/types/generated/GNSBorrowingFeesV6_4.js +2 -0
- package/lib/contracts/types/generated/GNSPairInfosV6_1.d.ts +911 -0
- package/lib/contracts/types/generated/GNSPairInfosV6_1.js +2 -0
- package/lib/contracts/types/generated/GNSPairsStorageV6.d.ts +660 -0
- package/lib/contracts/types/generated/GNSPairsStorageV6.js +2 -0
- package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.d.ts +806 -0
- package/lib/contracts/types/generated/GNSTradingCallbacksV6_3_2.js +2 -0
- package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.d.ts +821 -0
- package/lib/contracts/types/generated/GNSTradingCallbacksV6_4.js +2 -0
- package/lib/contracts/types/generated/GTokenV6_3_2.d.ts +1838 -0
- package/lib/contracts/types/generated/GTokenV6_3_2.js +2 -0
- package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.d.ts +88 -0
- package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_3_2__factory.js +1654 -0
- package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.d.ts +113 -0
- package/lib/contracts/types/generated/factories/GNSBorrowingFeesV6_4__factory.js +1742 -0
- package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.d.ts +98 -0
- package/lib/contracts/types/generated/factories/GNSPairInfosV6_1__factory.js +1485 -0
- package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.d.ts +117 -0
- package/lib/contracts/types/generated/factories/GNSPairsStorageV6__factory.js +1265 -0
- package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.d.ts +82 -0
- package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_3_2__factory.js +1273 -0
- package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.d.ts +82 -0
- package/lib/contracts/types/generated/factories/GNSTradingCallbacksV6_4__factory.js +1326 -0
- package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.d.ts +110 -0
- package/lib/contracts/types/generated/factories/GTokenV6_3_2__factory.js +2682 -0
- 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/constants.d.ts
CHANGED
|
@@ -223,6 +223,9 @@ export declare const pairs: {
|
|
|
223
223
|
"ZEUS/USD": string;
|
|
224
224
|
"TNSR/USD": string;
|
|
225
225
|
"TAO/USD": string;
|
|
226
|
+
"OMNI/USD": string;
|
|
227
|
+
"PRCL/USD": string;
|
|
228
|
+
"MERL/USD": string;
|
|
226
229
|
};
|
|
227
230
|
export declare const getAssetClassFromGroupIndex: (groupIndex: number) => string | undefined;
|
|
228
231
|
export declare const tickerChanges: {
|
package/lib/constants.js
CHANGED
|
@@ -231,6 +231,9 @@ exports.pairs = {
|
|
|
231
231
|
"ZEUS/USD": CRYPTO,
|
|
232
232
|
"TNSR/USD": CRYPTO,
|
|
233
233
|
"TAO/USD": CRYPTO,
|
|
234
|
+
"OMNI/USD": CRYPTO,
|
|
235
|
+
"PRCL/USD": CRYPTO,
|
|
236
|
+
"MERL/USD": CRYPTO,
|
|
234
237
|
};
|
|
235
238
|
const getAssetClassFromGroupIndex = (groupIndex) => {
|
|
236
239
|
switch (groupIndex) {
|
|
@@ -264,6 +267,7 @@ exports.stockSplits = {
|
|
|
264
267
|
exports.delistedPairIxs = new Set([
|
|
265
268
|
6, 31, 36, 42, 45, 48, 51, 54, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
266
269
|
70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
|
|
267
|
-
89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190,
|
|
270
|
+
89, 97, 99, 101, 106, 108, 52, 131, 147, 160, 179, 182, 183, 190, 224, 225,
|
|
271
|
+
226,
|
|
268
272
|
]);
|
|
269
273
|
exports.delistedGroupsIxs = new Set([6, 7]);
|