@gainsnetwork/sdk 1.3.0-rc6 → 1.3.0-rc7

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.
@@ -413,6 +413,10 @@ export declare const pairs: {
413
413
  "BGSC/USD": string;
414
414
  "TAG/USD": string;
415
415
  "WLFI/USD": string;
416
+ "ASTER/USD": string;
417
+ "OKB/USD": string;
418
+ "CRO/USD": string;
419
+ "SKY/USD": string;
416
420
  };
417
421
  export declare const syntheticPairs: Set<string>;
418
422
  export declare const parentToSyntheticPairMap: Map<string, string>;
package/lib/constants.js CHANGED
@@ -421,6 +421,10 @@ exports.pairs = {
421
421
  "BGSC/USD": CRYPTO,
422
422
  "TAG/USD": CRYPTO,
423
423
  "WLFI/USD": CRYPTO,
424
+ "ASTER/USD": CRYPTO,
425
+ "OKB/USD": CRYPTO,
426
+ "CRO/USD": CRYPTO,
427
+ "SKY/USD": CRYPTO,
424
428
  };
425
429
  exports.syntheticPairs = new Set([
426
430
  "BTCDEGEN/USD",
@@ -474,6 +478,7 @@ exports.delistedPairIxs = new Set([
474
478
  160, 163, 170, 179, 182, 183, 188, 189, 190, 208, 209, 225, 229, 230, 231,
475
479
  238, 239, 241, 250, 253, 254, 258, 270, 275, 276, 278, 279, 282, 285, 290,
476
480
  294, 296, 305, 311, 330, 349, 352, 353, 354, 355, 357, 365, 366, 395, 396,
481
+ 415, 416, 417,
477
482
  ]);
478
483
  exports.delistedGroupsIxs = new Set([]);
479
484
  exports.DEFAULT_PROTECTION_CLOSE_FACTOR = 1;
@@ -3,14 +3,6 @@ import type { Provider } from "@ethersproject/providers";
3
3
  import type { GNSMultiCollatDiamond, GNSMultiCollatDiamondInterface } from "../GNSMultiCollatDiamond";
4
4
  export declare class GNSMultiCollatDiamond__factory {
5
5
  static readonly abi: ({
6
- inputs: never[];
7
- stateMutability: string;
8
- type: string;
9
- name?: undefined;
10
- outputs?: undefined;
11
- signature?: undefined;
12
- anonymous?: undefined;
13
- } | {
14
6
  inputs: {
15
7
  internalType: string;
16
8
  name: string;
@@ -18,8 +10,8 @@ export declare class GNSMultiCollatDiamond__factory {
18
10
  }[];
19
11
  name: string;
20
12
  type: string;
21
- stateMutability?: undefined;
22
13
  outputs?: undefined;
14
+ stateMutability?: undefined;
23
15
  signature?: undefined;
24
16
  anonymous?: undefined;
25
17
  } | {
@@ -158,8 +150,8 @@ export declare class GNSMultiCollatDiamond__factory {
158
150
  name: string;
159
151
  type: string;
160
152
  signature: string;
161
- stateMutability?: undefined;
162
153
  outputs?: undefined;
154
+ stateMutability?: undefined;
163
155
  } | {
164
156
  inputs: ({
165
157
  components: {
@@ -6,11 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.GNSMultiCollatDiamond__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
- {
10
- inputs: [],
11
- stateMutability: "nonpayable",
12
- type: "constructor",
13
- },
14
9
  {
15
10
  inputs: [],
16
11
  name: "AboveMax",
@@ -569,4 +569,8 @@ const PAIR_INDEX_TO_DESCRIPTION = {
569
569
  [types_1.PairIndex.BGSCUSD]: "BugsCoin to US Dollar",
570
570
  [types_1.PairIndex.TAGUSD]: "TAGGER to US Dollar",
571
571
  [types_1.PairIndex.WLFIUSD]: "World Liberty Financial to US Dollar",
572
+ [types_1.PairIndex.ASTERUSD]: "Aster to US Dollar",
573
+ [types_1.PairIndex.OKBUSD]: "OKB to US Dollar",
574
+ [types_1.PairIndex.CROUSD]: "Cronos to US Dollar",
575
+ [types_1.PairIndex.SKYUSD]: "SKy to US Dollar",
572
576
  };
@@ -737,5 +737,9 @@ export declare enum PairIndex {
737
737
  ERAUSD = 410,
738
738
  BGSCUSD = 411,
739
739
  TAGUSD = 412,
740
- WLFIUSD = 413
740
+ WLFIUSD = 413,
741
+ ASTERUSD = 414,
742
+ OKBUSD = 415,
743
+ CROUSD = 416,
744
+ SKYUSD = 417
741
745
  }
@@ -443,4 +443,8 @@ var PairIndex;
443
443
  PairIndex[PairIndex["BGSCUSD"] = 411] = "BGSCUSD";
444
444
  PairIndex[PairIndex["TAGUSD"] = 412] = "TAGUSD";
445
445
  PairIndex[PairIndex["WLFIUSD"] = 413] = "WLFIUSD";
446
+ PairIndex[PairIndex["ASTERUSD"] = 414] = "ASTERUSD";
447
+ PairIndex[PairIndex["OKBUSD"] = 415] = "OKBUSD";
448
+ PairIndex[PairIndex["CROUSD"] = 416] = "CROUSD";
449
+ PairIndex[PairIndex["SKYUSD"] = 417] = "SKYUSD";
446
450
  })(PairIndex = exports.PairIndex || (exports.PairIndex = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "1.3.0-rc6",
3
+ "version": "1.3.0-rc7",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [