impermax-sdk 1.2.26 → 1.2.27

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.
@@ -4,9 +4,6 @@ exports.WHITELIST_SUBGRAPH_URL = exports.CONFIG_MANAGER_SUBGRAPH_URL = exports.X
4
4
  const types_1 = require("./types");
5
5
  /*
6
6
  * Unsupported networks by latest SDK update (old subgraph version)
7
- * - Ethereum
8
- * - Arbitrum
9
- * - Avalanche
10
7
  * - Moonriver
11
8
  * - Aurora
12
9
  * - Fantom
@@ -16,35 +13,31 @@ const types_1 = require("./types");
16
13
  exports.IMPERMAX_SUBGRAPH_URL = {
17
14
  [types_1.Networks.Ropsten]: {},
18
15
  [types_1.Networks.Mainnet]: {
19
- [types_1.Factory.V2V1]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap1'
16
+ [types_1.Factory.V2V1]: 'https://api.studio.thegraph.com/query/46041/impermax-mainnet-v1/v0.0.1'
20
17
  },
21
18
  [types_1.Networks.Polygon]: {
22
- [types_1.Factory.V2V1_1]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-polygon',
23
- [types_1.Factory.V2V2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-polygon-v2',
24
- [types_1.Factory.SOLV2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-polygon-solv2',
25
- [types_1.Factory.SOL_STABLE]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-polygon-sol-stable',
19
+ [types_1.Factory.V2V1_1]: 'https://api.studio.thegraph.com/query/46041/impermax-x-uniswap-v2-polygon/v0.0.1',
20
+ [types_1.Factory.V2V2]: 'https://api.studio.thegraph.com/query/46041/impermax-x-uniswap-v2-polygon-v2/v0.0.1',
21
+ [types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-polygon-solv2/v0.0.1',
22
+ [types_1.Factory.SOL_STABLE]: 'https://api.studio.thegraph.com/query/46041/impermax-polygon-sol-stable/v0.0.1',
26
23
  },
27
24
  [types_1.Networks.Arbitrum]: {
28
- [types_1.Factory.V2V1_1]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-arbitrum',
29
- [types_1.Factory.V2V2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-arbitrum-v2-1',
30
- [types_1.Factory.SOLV2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-arbitrum-solv2',
31
- //[F.V2V1_1]: 'https://api.impermax.finance/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-arbitrum02'
25
+ [types_1.Factory.V2V1_1]: 'https://api.studio.thegraph.com/query/46041/impermax-arbitrum-v1/v0.0.1',
26
+ [types_1.Factory.V2V2]: 'https://api.studio.thegraph.com/query/46041/impermax-arbitrum-v2/v0.0.1',
27
+ [types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-arbitrum-solv2/v0.0.2',
32
28
  },
33
29
  [types_1.Networks.Avalanche]: {
34
- [types_1.Factory.V2V1_2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-avalanche1',
35
- [types_1.Factory.V2V2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-avalanche-v2',
36
- [types_1.Factory.SOLV2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-avalanche-solv2',
30
+ [types_1.Factory.V2V1_2]: 'https://api.studio.thegraph.com/query/46041/impermax-avalanche-v1/v0.0.1',
31
+ [types_1.Factory.V2V2]: 'https://api.studio.thegraph.com/query/46041/impermax-avalanche-v2/v0.0.2',
32
+ [types_1.Factory.SOLV2]: 'https://api.studio.thegraph.com/query/46041/impermax-avalanche-solv2/v0.0.2',
37
33
  },
38
34
  [types_1.Networks.Moonriver]: {
39
- [types_1.Factory.V2V1_2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-moonriver'
40
- },
41
- [types_1.Networks.Aurora]: {
42
- [types_1.Factory.V2V1_2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-aurora'
35
+ [types_1.Factory.V2V1_2]: 'https://api.studio.thegraph.com/query/46041/impermax-moonriver-v1/v0.0.1'
43
36
  },
37
+ [types_1.Networks.Aurora]: {},
44
38
  [types_1.Networks.Cronos]: {},
45
39
  [types_1.Networks.Fantom]: {
46
- [types_1.Factory.SOLV1_2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-fantom',
47
- //[Factory.SOLV2]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-x-uniswap-v2-fantom-v2',
40
+ [types_1.Factory.SOLV1_2]: 'https://api.studio.thegraph.com/query/46041/impermax-fantom-solv1/v0.0.1',
48
41
  },
49
42
  [types_1.Networks.Canto]: {
50
43
  [types_1.Factory.SOLV2]: 'https://api.impermax.finance/subgraphs/name/impermax-finance/impermax-canto-solv2',
@@ -62,12 +55,12 @@ exports.IMPERMAX_SUBGRAPH_URL = {
62
55
  exports.IMPERMAX_CHEF_SUBGRAPH_URL = {
63
56
  [types_1.Networks.Ropsten]: '',
64
57
  [types_1.Networks.Mainnet]: '',
65
- [types_1.Networks.Polygon]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-chef-polygon',
58
+ [types_1.Networks.Polygon]: 'https://api.studio.thegraph.com/query/46041/impermax-chef-polygon/v0.0.1',
66
59
  //[Networks.Arbitrum]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-chef-arbitrum',
67
- [types_1.Networks.Arbitrum]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-chef-arbitrum-ibex',
68
- [types_1.Networks.Avalanche]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-chef-avalanche',
69
- [types_1.Networks.Moonriver]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-chef-moonriver',
70
- [types_1.Networks.Fantom]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-chef-fantom',
60
+ [types_1.Networks.Arbitrum]: 'https://api.studio.thegraph.com/query/46041/impermax-chef-arbitrum-ibex/v0.0.1',
61
+ [types_1.Networks.Avalanche]: 'https://api.studio.thegraph.com/query/46041/impermax-chef-avalanche/v0.0.1',
62
+ [types_1.Networks.Moonriver]: 'https://api.studio.thegraph.com/query/46041/impermax-chef-moonriver/v0.0.1',
63
+ [types_1.Networks.Fantom]: 'https://api.studio.thegraph.com/query/46041/impermax-chef-fantom/v0.0.1',
71
64
  [types_1.Networks.Aurora]: '',
72
65
  [types_1.Networks.Cronos]: '',
73
66
  [types_1.Networks.Harmony]: '',
@@ -80,8 +73,8 @@ exports.IMPERMAX_CHEF_SUBGRAPH_URL = {
80
73
  exports.LENDING_VAULT_SUBGRAPH_URL = {
81
74
  [types_1.Networks.Ropsten]: '',
82
75
  [types_1.Networks.Mainnet]: '',
83
- [types_1.Networks.Polygon]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/lending-vault-polygon',
84
- [types_1.Networks.Arbitrum]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/lending-vault-arbitrum',
76
+ [types_1.Networks.Polygon]: 'https://api.studio.thegraph.com/query/46041/lending-vault-polygon/v0.0.1',
77
+ [types_1.Networks.Arbitrum]: 'https://api.studio.thegraph.com/query/46041/lending-vault-arbitrum/v0.0.1',
85
78
  [types_1.Networks.Avalanche]: '',
86
79
  [types_1.Networks.Moonriver]: '',
87
80
  [types_1.Networks.Fantom]: '',
@@ -115,7 +108,7 @@ exports.XIMX_SUBGRAPH_URL = "https://api.thegraph.com/subgraphs/name/impermax-fi
115
108
  exports.CONFIG_MANAGER_SUBGRAPH_URL = {
116
109
  [types_1.Networks.Ropsten]: '',
117
110
  [types_1.Networks.Mainnet]: '',
118
- [types_1.Networks.Polygon]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-config-manager-polygo',
111
+ [types_1.Networks.Polygon]: 'https://api.studio.thegraph.com/query/46041/impermax-config-manager-polygo/v0.0.1',
119
112
  [types_1.Networks.Arbitrum]: '',
120
113
  [types_1.Networks.Avalanche]: '',
121
114
  [types_1.Networks.Moonriver]: '',
@@ -132,7 +125,7 @@ exports.CONFIG_MANAGER_SUBGRAPH_URL = {
132
125
  exports.WHITELIST_SUBGRAPH_URL = {
133
126
  [types_1.Networks.Ropsten]: '',
134
127
  [types_1.Networks.Mainnet]: '',
135
- [types_1.Networks.Polygon]: 'https://api.thegraph.com/subgraphs/name/impermax-finance/impermax-whitelist-polygon',
128
+ [types_1.Networks.Polygon]: 'https://api.studio.thegraph.com/query/46041/impermax-whitelist-polygon/v0.0.1',
136
129
  [types_1.Networks.Arbitrum]: '',
137
130
  [types_1.Networks.Avalanche]: '',
138
131
  [types_1.Networks.Moonriver]: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.2.26",
3
+ "version": "1.2.27",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",