@ichidao/ichi-vaults-sdk 0.0.101 → 0.0.103
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/README.md +15 -92
- package/dist/src/graphql/constants.js +127 -115
- package/dist/src/graphql/constants.js.map +1 -1
- package/dist/src/index.cjs.js +1 -1
- package/dist/src/index.esm.js +1 -1
- package/dist/src/src/types/index.d.ts +2 -0
- package/dist/src/types/index.d.ts +2 -0
- package/dist/src/types/index.js +2 -0
- package/dist/src/types/index.js.map +1 -1
- package/dist/src/utils/config/addresses.js +175 -153
- package/dist/src/utils/config/addresses.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -30,15 +30,13 @@ This sdk contains collection of functions to interact with IchiVault's smart con
|
|
30
30
|
* [`getFeesCollected()`](#18-getFeesCollected)
|
31
31
|
* [`getFeesCollectedInfo()`](#19-getFeesCollectedInfo)
|
32
32
|
* [`getAverageDepositTokenRatios()`](#20-getAverageDepositTokenRatios)
|
33
|
-
* [`
|
34
|
-
* [`
|
35
|
-
* [`
|
36
|
-
* [`
|
37
|
-
* [`
|
38
|
-
* [`
|
39
|
-
* [`
|
40
|
-
* [`getSupportedDexes()`](#28-getSupportedDexes)
|
41
|
-
* [`getChainsForDex()`](#29-getChainsForDex)
|
33
|
+
* [`getVaultMetrics()`](#21-getVaultMetrics)
|
34
|
+
* [`getIchiVaultInfo()`](#22-getIchiVaultInfo)
|
35
|
+
* [`getVaultsByTokens()`](#23-getVaultsByTokens)
|
36
|
+
* [`getVaultsByPool()`](#24-getVaultsByPool)
|
37
|
+
* [`getVaultPositions()`](#25-getVaultPositions)
|
38
|
+
* [`getSupportedDexes()`](#26-getSupportedDexes)
|
39
|
+
* [`getChainsForDex()`](#27-getChainsForDex)
|
42
40
|
|
43
41
|
## Installation
|
44
42
|
Install with
|
@@ -832,83 +830,7 @@ const averageDtr: AverageDepositTokenRatio[] = await getAverageDepositTokenRatio
|
|
832
830
|
)
|
833
831
|
```
|
834
832
|
|
835
|
-
#### 21. `
|
836
|
-
|
837
|
-
| param | type | default | required
|
838
|
-
| -------- | -------- | -------- | --------
|
839
|
-
| vaultAddress | string | - | true |
|
840
|
-
| jsonProvider | [JsonRpcProvider](https://github.com/ethers-io/ethers.js/blob/f97b92bbb1bde22fcc44100af78d7f31602863ab/packages/providers/src.ts/json-rpc-provider.ts#L393) | - | true
|
841
|
-
| dex | SupportedDex | - | true
|
842
|
-
| timeIntervals | number[] | [1, 7, 30] | false |
|
843
|
-
|
844
|
-
<br/>
|
845
|
-
The getLpApr() function returns an array of VaultApr objects representing the Annual Percentage Rate (APR) for the periods of time specified by the 'timeIntervals' parameter.
|
846
|
-
If 'timeIntervals' is not specified, it returns VaultApr objects for time periods of 1, 7, and 30 days.
|
847
|
-
|
848
|
-
```typescript
|
849
|
-
import { Web3Provider } from '@ethersproject/providers';
|
850
|
-
import { getLpApr, SupportedDex, VaultApr } from '@ichidao/ichi-vaults-sdk';
|
851
|
-
|
852
|
-
const web3Provider = new Web3Provider(YOUR_WEB3_PROVIDER);
|
853
|
-
const vaultAddress = "0x3ac9...a5f132";
|
854
|
-
const dex = SupportedDex.UniswapV3;
|
855
|
-
const days = [2, 5, 14, 60];
|
856
|
-
|
857
|
-
const averageDtr: VaultApr[] = await getLpApr(
|
858
|
-
vaultAddress,
|
859
|
-
web3Provider,
|
860
|
-
dex
|
861
|
-
)
|
862
|
-
|
863
|
-
// - or -
|
864
|
-
|
865
|
-
const averageDtr: VaultApr[] = await getLpApr(
|
866
|
-
vaultAddress,
|
867
|
-
web3Provider,
|
868
|
-
dex,
|
869
|
-
days
|
870
|
-
)
|
871
|
-
```
|
872
|
-
|
873
|
-
#### 22. `getLpPriceChange()`
|
874
|
-
|
875
|
-
| param | type | default | required
|
876
|
-
| -------- | -------- | -------- | --------
|
877
|
-
| vaultAddress | string | - | true |
|
878
|
-
| jsonProvider | [JsonRpcProvider](https://github.com/ethers-io/ethers.js/blob/f97b92bbb1bde22fcc44100af78d7f31602863ab/packages/providers/src.ts/json-rpc-provider.ts#L393) | - | true
|
879
|
-
| dex | SupportedDex | - | true
|
880
|
-
| timeIntervals | number[] | [1, 7, 30] | false |
|
881
|
-
|
882
|
-
<br/>
|
883
|
-
The getLpPriceChange() function returns an array of PriceChange objects representing the relative LP (vault token) price change in percentages for the periods of time specified by the 'timeIntervals' parameter.
|
884
|
-
If 'timeIntervals' is not specified, it returns PriceChange objects for time periods of 1, 7, and 30 days.
|
885
|
-
|
886
|
-
```typescript
|
887
|
-
import { Web3Provider } from '@ethersproject/providers';
|
888
|
-
import { getLpPriceChange, SupportedDex } from '@ichidao/ichi-vaults-sdk';
|
889
|
-
|
890
|
-
const web3Provider = new Web3Provider(YOUR_WEB3_PROVIDER);
|
891
|
-
const vaultAddress = "0x3ac9...a5f132";
|
892
|
-
const dex = SupportedDex.UniswapV3;
|
893
|
-
const days = [2, 5, 14, 60];
|
894
|
-
|
895
|
-
const lpPriceChange: PriceChange[] = await getLpPriceChange(
|
896
|
-
vaultAddress,
|
897
|
-
web3Provider,
|
898
|
-
dex
|
899
|
-
)
|
900
|
-
|
901
|
-
// - or -
|
902
|
-
|
903
|
-
const lpPriceChange: PriceChange[] = await getLpPriceChange(
|
904
|
-
vaultAddress,
|
905
|
-
web3Provider,
|
906
|
-
dex,
|
907
|
-
days
|
908
|
-
)
|
909
|
-
```
|
910
|
-
|
911
|
-
#### 23. `getVaultMetrics()`
|
833
|
+
#### 21. `getVaultMetrics()`
|
912
834
|
|
913
835
|
| param | type | default | required
|
914
836
|
| -------- | -------- | -------- | --------
|
@@ -946,7 +868,7 @@ const vaultMetrics: VaultMetrics[] = await getVaultMetrics(
|
|
946
868
|
)
|
947
869
|
```
|
948
870
|
|
949
|
-
####
|
871
|
+
#### 22. `getIchiVaultInfo()`
|
950
872
|
|
951
873
|
| param | type | default | required
|
952
874
|
| -------- | -------- | -------- | --------
|
@@ -972,7 +894,7 @@ if (vaultInfo) {
|
|
972
894
|
}
|
973
895
|
```
|
974
896
|
|
975
|
-
####
|
897
|
+
#### 23. `getVaultsByTokens()`
|
976
898
|
|
977
899
|
| param | type | default | required
|
978
900
|
| -------- | -------- | -------- | --------
|
@@ -1002,7 +924,7 @@ if (vaults.length === 0) {
|
|
1002
924
|
|
1003
925
|
```
|
1004
926
|
|
1005
|
-
####
|
927
|
+
#### 24. `getVaultsByPool()`
|
1006
928
|
|
1007
929
|
| param | type | default | required
|
1008
930
|
| -------- | -------- | -------- | --------
|
@@ -1029,7 +951,7 @@ if (vaults.length === 0) {
|
|
1029
951
|
}
|
1030
952
|
```
|
1031
953
|
|
1032
|
-
####
|
954
|
+
#### 25. `getVaultPositions()`
|
1033
955
|
|
1034
956
|
| param | type | default | required
|
1035
957
|
| -------- | -------- | -------- | --------
|
@@ -1056,7 +978,7 @@ const vaultPositions: VaultPositionsInfo = await getVaultPositions(
|
|
1056
978
|
const currentTick = vaultPositions.currentTick;
|
1057
979
|
```
|
1058
980
|
|
1059
|
-
####
|
981
|
+
#### 26. `getSupportedDexes()`
|
1060
982
|
|
1061
983
|
| param | type | default | required
|
1062
984
|
| -------- | -------- | -------- | --------
|
@@ -1073,7 +995,7 @@ const chainId = SupportedChainId.polygon;
|
|
1073
995
|
const dexes: SupportedDex[] = getSupportedDexes(chainId);
|
1074
996
|
```
|
1075
997
|
|
1076
|
-
####
|
998
|
+
#### 27. `getChainsForDex()`
|
1077
999
|
|
1078
1000
|
| param | type | default | required
|
1079
1001
|
| -------- | -------- | -------- | --------
|
@@ -1100,6 +1022,7 @@ enum SupportedChainId {
|
|
1100
1022
|
arthera = 10242,
|
1101
1023
|
arthera_testnet = 10243,
|
1102
1024
|
base = 8453,
|
1025
|
+
berachain = 80094,
|
1103
1026
|
berachain = 80084,
|
1104
1027
|
blast = 81457,
|
1105
1028
|
blast_sepolia_testnet = 168587773,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
"use strict";
|
2
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14;
|
2
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15;
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
4
|
exports.graphUrls = void 0;
|
5
5
|
/* eslint-disable import/prefer-default-export */
|
@@ -113,319 +113,331 @@ exports.graphUrls = (_a = {},
|
|
113
113
|
supportsCollectFees: true,
|
114
114
|
},
|
115
115
|
_g),
|
116
|
-
_a[types_1.SupportedChainId.
|
117
|
-
_h[types_1.SupportedDex.
|
116
|
+
_a[types_1.SupportedChainId.berachain] = (_h = {},
|
117
|
+
_h[types_1.SupportedDex.Kodiak] = {
|
118
|
+
url: 'https://api.studio.thegraph.com/query/88584/berachain-v1-kodiak/version/latest',
|
119
|
+
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/7P9DAPWihEJ3QHrR9eeEp3KAP9FgTTo2SnzAaXXPQSau',
|
120
|
+
supportsCollectFees: true,
|
121
|
+
},
|
122
|
+
_h),
|
123
|
+
_a[types_1.SupportedChainId.berachain_bartio] = (_j = {},
|
124
|
+
_j[types_1.SupportedDex.Honeypot] = {
|
118
125
|
url: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/berachain-bartio-v1-honeypot/gn',
|
119
126
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/berachain-bartio-v1-honeypot/gn',
|
120
127
|
supportsCollectFees: true,
|
121
128
|
},
|
122
|
-
|
129
|
+
_j[types_1.SupportedDex.Kodiak] = {
|
123
130
|
url: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/berachain-bartio-v1-kodiak/gn',
|
124
131
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/berachain-bartio-v1-kodiak/gn',
|
125
132
|
supportsCollectFees: true,
|
126
133
|
},
|
127
|
-
|
128
|
-
_a[types_1.SupportedChainId.blast] = (
|
129
|
-
|
134
|
+
_j),
|
135
|
+
_a[types_1.SupportedChainId.blast] = (_k = {},
|
136
|
+
_k[types_1.SupportedDex.Fenix] = {
|
130
137
|
url: 'https://api.goldsky.com/api/public/project_clxadvm41bujy01ui2qalezdn/subgraphs/ichi-new-subgraph/0.0.1/gn',
|
131
138
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clxadvm41bujy01ui2qalezdn/subgraphs/ichi-new-subgraph/0.0.1/gn',
|
132
139
|
supportsCollectFees: true,
|
133
140
|
},
|
134
|
-
|
141
|
+
_k[types_1.SupportedDex.Thruster] = {
|
135
142
|
url: 'https://api.studio.thegraph.com/query/88584/blast-v1-thruster/version/latest',
|
136
143
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/JDXqs18mzaghk5kZRTRLtQZAMkrqhfYk1LJagcAgHwPc',
|
137
144
|
supportsCollectFees: true,
|
138
145
|
},
|
139
|
-
|
146
|
+
_k[types_1.SupportedDex.UniswapV3] = {
|
140
147
|
url: 'https://api.studio.thegraph.com/query/88584/blast-v1/version/latest',
|
141
148
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/2WUyxDQ824jLYkQ53JXMByumvXVgTeJcLD6XezRr9QgV',
|
142
149
|
supportsCollectFees: true,
|
143
150
|
},
|
144
|
-
|
145
|
-
_a[types_1.SupportedChainId.blast_sepolia_testnet] = (
|
146
|
-
|
151
|
+
_k),
|
152
|
+
_a[types_1.SupportedChainId.blast_sepolia_testnet] = (_l = {},
|
153
|
+
_l[types_1.SupportedDex.Fenix] = {
|
147
154
|
url: 'https://api.goldsky.com/api/public/project_clxadvm41bujy01ui2qalezdn/subgraphs/blast-sepolia-v1-fenix/1.0.0/gn',
|
148
155
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clxadvm41bujy01ui2qalezdn/subgraphs/blast-sepolia-v1-fenix/1.0.0/gn',
|
149
156
|
supportsCollectFees: true,
|
150
157
|
},
|
151
|
-
|
152
|
-
_a[types_1.SupportedChainId.bsc] = (
|
153
|
-
|
158
|
+
_l),
|
159
|
+
_a[types_1.SupportedChainId.bsc] = (_m = {},
|
160
|
+
_m[types_1.SupportedDex.UniswapV3] = {
|
154
161
|
url: 'https://api.studio.thegraph.com/query/88584/bnb-v1/version/latest',
|
155
162
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/A5d7JgbjDdfD2iSgArqdBUQubFEWHG264vCZuqWBiJDU',
|
156
163
|
supportsCollectFees: false,
|
157
164
|
},
|
158
|
-
|
165
|
+
_m[types_1.SupportedDex.Pancakeswap] = {
|
159
166
|
url: 'https://api.studio.thegraph.com/query/88584/bnb-v1-pancakeswap/version/latest',
|
160
167
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/GC3MXRrHoAvHKpMt1GZf6K9PMHTeTfpZZWPisMJdBEJs',
|
161
168
|
supportsCollectFees: false,
|
162
169
|
},
|
163
|
-
|
170
|
+
_m[types_1.SupportedDex.Thena] = {
|
164
171
|
url: 'https://api.studio.thegraph.com/query/88584/bnb-v1-thena/version/latest',
|
165
172
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/6x5DWy8Tnber9jND8qbxjtCtus11tkkjd6r2qJphoLvf',
|
166
173
|
supportsCollectFees: true,
|
167
174
|
},
|
168
|
-
|
169
|
-
|
170
|
-
|
175
|
+
_m[types_1.SupportedDex.ThenaV3Fees] = {
|
176
|
+
url: 'https://api.studio.thegraph.com/query/88584/bsc-v3-thena-fees/version/latest',
|
177
|
+
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/CUDHBLjeeqpprHGZeesTi9kxtjsZTQnJrvuT4Sm8nyx5',
|
178
|
+
supportsCollectFees: true,
|
179
|
+
},
|
180
|
+
_m),
|
181
|
+
_a[types_1.SupportedChainId.celo] = (_o = {},
|
182
|
+
_o[types_1.SupportedDex.Ubeswap] = {
|
171
183
|
url: 'https://api.studio.thegraph.com/query/88584/celo-v1-ubeswap/version/latest',
|
172
184
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/8N5VoyCYnFxFVLiMgNWXR9dMtcRrTRC1DjHwNeq5DzNY',
|
173
185
|
supportsCollectFees: true,
|
174
186
|
},
|
175
|
-
|
187
|
+
_o[types_1.SupportedDex.UniswapV3] = {
|
176
188
|
url: 'https://api.studio.thegraph.com/query/88584/celo-v1/version/latest',
|
177
189
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/7dD1q2C5qCXmQpGCgnUsHmFaufD9c9qfppNoeEjEfkLm',
|
178
190
|
supportsCollectFees: true,
|
179
191
|
},
|
180
|
-
|
181
|
-
_a[types_1.SupportedChainId.eon] = (
|
182
|
-
|
192
|
+
_o),
|
193
|
+
_a[types_1.SupportedChainId.eon] = (_p = {},
|
194
|
+
_p[types_1.SupportedDex.Ascent] = {
|
183
195
|
url: 'none',
|
184
196
|
publishedUrl: 'none',
|
185
197
|
supportsCollectFees: false,
|
186
198
|
},
|
187
|
-
|
188
|
-
_a[types_1.SupportedChainId.evmos] = (
|
189
|
-
|
199
|
+
_p),
|
200
|
+
_a[types_1.SupportedChainId.evmos] = (_q = {},
|
201
|
+
_q[types_1.SupportedDex.Forge] = {
|
190
202
|
url: 'none',
|
191
203
|
publishedUrl: 'none',
|
192
204
|
supportsCollectFees: false,
|
193
205
|
},
|
194
|
-
|
195
|
-
_a[types_1.SupportedChainId.fantom] = (
|
196
|
-
|
206
|
+
_q),
|
207
|
+
_a[types_1.SupportedChainId.fantom] = (_r = {},
|
208
|
+
_r[types_1.SupportedDex.Equalizer] = {
|
197
209
|
url: 'https://api.studio.thegraph.com/query/88584/fantom-v1-equalizer/version/latest',
|
198
210
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/sB5joTEeHxm7ab61PTbGsrqMpkdsFeMdiwjsURXWXcY',
|
199
211
|
supportsCollectFees: true,
|
200
212
|
},
|
201
|
-
|
213
|
+
_r[types_1.SupportedDex.SpiritSwap] = {
|
202
214
|
url: 'https://api.studio.thegraph.com/query/88584/fantom-v1-spiritswap/version/latest',
|
203
215
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/62EgsMcsvnSR2vUbS2c6u1Au3janYYtuKFhd3D2NkyMd',
|
204
216
|
supportsCollectFees: true,
|
205
217
|
},
|
206
|
-
|
207
|
-
_a[types_1.SupportedChainId.flare] = (
|
208
|
-
|
218
|
+
_r),
|
219
|
+
_a[types_1.SupportedChainId.flare] = (_s = {},
|
220
|
+
_s[types_1.SupportedDex.SparkDex] = {
|
209
221
|
url: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/flare-v2-sparkdex/gn',
|
210
222
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/flare-v2-sparkdex/gn',
|
211
223
|
supportsCollectFees: true,
|
212
224
|
},
|
213
|
-
|
225
|
+
_s[types_1.SupportedDex.SparkDexV1] = {
|
214
226
|
url: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/flare-v1-sparkdex/gn',
|
215
227
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/flare-v1-sparkdex/gn',
|
216
228
|
supportsCollectFees: true,
|
217
229
|
},
|
218
|
-
|
219
|
-
_a[types_1.SupportedChainId.fuse] = (
|
220
|
-
|
230
|
+
_s),
|
231
|
+
_a[types_1.SupportedChainId.fuse] = (_t = {},
|
232
|
+
_t[types_1.SupportedDex.Voltage] = {
|
221
233
|
url: 'https://api.studio.thegraph.com/query/88584/fuse-v1-voltage/version/latest',
|
222
234
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/3vPXgLUrHhG6tRs6YoT7656UQXSa2dN6breZt9P8TfsQ',
|
223
235
|
supportsCollectFees: true,
|
224
236
|
},
|
225
|
-
|
226
|
-
_a[types_1.SupportedChainId.haven1_devnet] = (
|
227
|
-
|
237
|
+
_t),
|
238
|
+
_a[types_1.SupportedChainId.haven1_devnet] = (_u = {},
|
239
|
+
_u[types_1.SupportedDex.Haven1] = {
|
228
240
|
url: 'none',
|
229
241
|
publishedUrl: 'none',
|
230
242
|
supportsCollectFees: false,
|
231
243
|
},
|
232
|
-
|
233
|
-
_a[types_1.SupportedChainId.hedera] = (
|
234
|
-
|
244
|
+
_u),
|
245
|
+
_a[types_1.SupportedChainId.hedera] = (_v = {},
|
246
|
+
_v[types_1.SupportedDex.SaucerSwap] = {
|
235
247
|
url: 'https://mainnet-thegraph.swirldslabs.com/subgraphs/name/ichi-org/hedera-v1-saucerswap',
|
236
248
|
publishedUrl: 'https://mainnet-thegraph.swirldslabs.com/subgraphs/name/ichi-org/hedera-v1-saucerswap',
|
237
249
|
supportsCollectFees: true,
|
238
250
|
},
|
239
|
-
|
240
|
-
_a[types_1.SupportedChainId.hedera_testnet] = (
|
241
|
-
|
251
|
+
_v),
|
252
|
+
_a[types_1.SupportedChainId.hedera_testnet] = (_w = {},
|
253
|
+
_w[types_1.SupportedDex.SaucerSwap] = {
|
242
254
|
url: 'none',
|
243
255
|
publishedUrl: 'none',
|
244
256
|
supportsCollectFees: false,
|
245
257
|
},
|
246
|
-
|
247
|
-
_a[types_1.SupportedChainId.ink] = (
|
248
|
-
|
258
|
+
_w),
|
259
|
+
_a[types_1.SupportedChainId.ink] = (_x = {},
|
260
|
+
_x[types_1.SupportedDex.Reservoir] = {
|
249
261
|
url: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/thedeep/ink-v1/gn',
|
250
262
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/thedeep/ink-v1/gn',
|
251
263
|
supportsCollectFees: true,
|
252
264
|
},
|
253
|
-
|
254
|
-
_a[types_1.SupportedChainId.ink_sepolia] = (
|
255
|
-
|
265
|
+
_x),
|
266
|
+
_a[types_1.SupportedChainId.ink_sepolia] = (_y = {},
|
267
|
+
_y[types_1.SupportedDex.UniswapV3] = {
|
256
268
|
url: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/open-v3/ink-sepolia-v1/gn',
|
257
269
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/open-v3/ink-sepolia-v1/gn',
|
258
270
|
supportsCollectFees: true,
|
259
271
|
},
|
260
|
-
|
261
|
-
_a[types_1.SupportedChainId.kava] = (
|
262
|
-
|
272
|
+
_y),
|
273
|
+
_a[types_1.SupportedChainId.kava] = (_z = {},
|
274
|
+
_z[types_1.SupportedDex.Kinetix] = {
|
263
275
|
url: 'https://the-graph.kava.io/subgraphs/name/ichi-org/kava-v1-kinetix',
|
264
276
|
publishedUrl: 'https://the-graph.kava.io/subgraphs/name/ichi-org/kava-v1-kinetix',
|
265
277
|
supportsCollectFees: true,
|
266
278
|
},
|
267
|
-
|
268
|
-
_a[types_1.SupportedChainId.linea] = (
|
269
|
-
|
279
|
+
_z),
|
280
|
+
_a[types_1.SupportedChainId.linea] = (_0 = {},
|
281
|
+
_0[types_1.SupportedDex.Linehub] = {
|
270
282
|
url: 'https://api.studio.thegraph.com/query/88584/linea-v1-linehub/v0.0.3',
|
271
283
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/T2KQrNBqn6Et7xEjDAhMrvb9aJBYnHqmQhimbauYW9E',
|
272
284
|
supportsCollectFees: true,
|
273
285
|
},
|
274
|
-
|
286
|
+
_0[types_1.SupportedDex.Lynex] = {
|
275
287
|
url: 'https://api.studio.thegraph.com/query/88584/linea-v1-lynex/version/latest',
|
276
288
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/BXngwuUh7YYXg9QY2bFW5tqhuG2okNgczm1utfpEyCX9',
|
277
289
|
supportsCollectFees: true,
|
278
290
|
},
|
279
|
-
|
291
|
+
_0[types_1.SupportedDex.Metavault] = {
|
280
292
|
url: 'https://api.studio.thegraph.com/query/88584/linea-v1-metavault/version/latest',
|
281
293
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/CVBmJy2wVp3NPZQRzwHjboNyfVKsp2jaQoXZbFx1rR2A',
|
282
294
|
supportsCollectFees: true,
|
283
295
|
},
|
284
|
-
|
296
|
+
_0[types_1.SupportedDex.Nile] = {
|
285
297
|
url: 'https://api.studio.thegraph.com/query/88584/linea-v1-nile/version/latest',
|
286
298
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/3vrWez6BeB5jnvzXh9Vs9rbUSWmSKNbwDTcnuHQTbehu',
|
287
299
|
supportsCollectFees: true,
|
288
300
|
},
|
289
|
-
|
301
|
+
_0[types_1.SupportedDex.UniswapV3] = {
|
290
302
|
url: 'https://api.studio.thegraph.com/query/88584/linea-v1/version/latest',
|
291
303
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/3FDwqSf1ftVtvDiTZExGZut3TPJKVx74htgPL2cuWh7g',
|
292
304
|
supportsCollectFees: true,
|
293
305
|
},
|
294
|
-
|
295
|
-
_a[types_1.SupportedChainId.mantle] = (
|
296
|
-
|
306
|
+
_0),
|
307
|
+
_a[types_1.SupportedChainId.mantle] = (_1 = {},
|
308
|
+
_1[types_1.SupportedDex.Agni] = {
|
297
309
|
url: 'https://subgraph-api.mantle.xyz/api/public/0adbe4aa-15df-48ae-aead-f7a80732986d/subgraphs/ichi-org/mantle-v1-agni/v0.0.2/gn',
|
298
310
|
publishedUrl: 'https://subgraph-api.mantle.xyz/api/public/0adbe4aa-15df-48ae-aead-f7a80732986d/subgraphs/ichi-org/mantle-v1-agni/v0.0.2/gn',
|
299
311
|
supportsCollectFees: true,
|
300
312
|
},
|
301
|
-
|
313
|
+
_1[types_1.SupportedDex.Cleo] = {
|
302
314
|
url: 'https://subgraph-api.mantle.xyz/api/public/0adbe4aa-15df-48ae-aead-f7a80732986d/subgraphs/ichi-org/mantle-v1-cleo/v0.0.2/gn',
|
303
315
|
publishedUrl: 'https://subgraph-api.mantle.xyz/api/public/0adbe4aa-15df-48ae-aead-f7a80732986d/subgraphs/ichi-org/mantle-v1-cleo/v0.0.2/gn',
|
304
316
|
supportsCollectFees: true,
|
305
317
|
},
|
306
|
-
|
318
|
+
_1[types_1.SupportedDex.Crust] = {
|
307
319
|
url: 'https://subgraph-api.mantle.xyz/api/public/0adbe4aa-15df-48ae-aead-f7a80732986d/subgraphs/ichi-org/mantle-v1-crust/v0.0.2/gn',
|
308
320
|
publishedUrl: 'https://subgraph-api.mantle.xyz/api/public/0adbe4aa-15df-48ae-aead-f7a80732986d/subgraphs/ichi-org/mantle-v1-crust/v0.0.2/gn',
|
309
321
|
supportsCollectFees: true,
|
310
322
|
},
|
311
|
-
|
312
|
-
_a[types_1.SupportedChainId.mode] = (
|
313
|
-
|
323
|
+
_1),
|
324
|
+
_a[types_1.SupportedChainId.mode] = (_2 = {},
|
325
|
+
_2[types_1.SupportedDex.Kim] = {
|
314
326
|
url: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/mode-v1-kim/gn',
|
315
327
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/mode-v1-kim/gn',
|
316
328
|
supportsCollectFees: true,
|
317
329
|
},
|
318
|
-
|
319
|
-
_a[types_1.SupportedChainId.polygon_zkevm] = (
|
320
|
-
|
330
|
+
_2),
|
331
|
+
_a[types_1.SupportedChainId.polygon_zkevm] = (_3 = {},
|
332
|
+
_3[types_1.SupportedDex.Pancakeswap] = {
|
321
333
|
url: 'https://api.studio.thegraph.com/query/88584/zkevm-v1-pancakeswap/version/latest',
|
322
334
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/6suvZcqmzNcrr6ewVwjeMtq2vNsZ6Z7pL3dVjWvDF96f',
|
323
335
|
supportsCollectFees: true,
|
324
336
|
},
|
325
|
-
|
337
|
+
_3[types_1.SupportedDex.Quickswap] = {
|
326
338
|
url: 'https://api.studio.thegraph.com/query/88584/zkevm-v1-quickswap/version/latest',
|
327
339
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/4LAUjmgShgrvFFv7W9zPRKKDqLeSHMp1BMtPeR7cfBHt',
|
328
340
|
supportsCollectFees: true,
|
329
341
|
},
|
330
|
-
|
331
|
-
_a[types_1.SupportedChainId.real] = (
|
332
|
-
|
342
|
+
_3),
|
343
|
+
_a[types_1.SupportedChainId.real] = (_4 = {},
|
344
|
+
_4[types_1.SupportedDex.Pearl] = {
|
333
345
|
url: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/real-v1-pearl/gn',
|
334
346
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/real-v1-pearl/gn',
|
335
347
|
supportsCollectFees: true,
|
336
348
|
},
|
337
|
-
|
338
|
-
_a[types_1.SupportedChainId.rootstock] = (
|
339
|
-
|
349
|
+
_4),
|
350
|
+
_a[types_1.SupportedChainId.rootstock] = (_5 = {},
|
351
|
+
_5[types_1.SupportedDex.UniswapV3] = {
|
340
352
|
url: 'https://api.studio.thegraph.com/query/88584/rootstock-v1/version/latest',
|
341
353
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/BAvYHGJeD743cE3eg3UXYmjuEjtz72CCJ94Vp1zbFHhY',
|
342
354
|
supportsCollectFees: true,
|
343
355
|
},
|
344
|
-
|
345
|
-
_a[types_1.SupportedChainId.scroll] = (
|
346
|
-
|
356
|
+
_5),
|
357
|
+
_a[types_1.SupportedChainId.scroll] = (_6 = {},
|
358
|
+
_6[types_1.SupportedDex.Metavault] = {
|
347
359
|
url: 'https://api.studio.thegraph.com/query/88584/scroll-v1-metavault/version/latest',
|
348
360
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/J9ftF7FnUTbLDxxTXza1ekix2w39dspgpiFiquRK1qL',
|
349
361
|
supportsCollectFees: true,
|
350
362
|
},
|
351
|
-
|
363
|
+
_6[types_1.SupportedDex.UniswapV3] = {
|
352
364
|
url: 'https://api.studio.thegraph.com/query/88584/scroll-v1/version/latest',
|
353
365
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/3LqDsCLFLTTkwSfoCNVuHufLBeWyogSb1fZYicPmjron',
|
354
366
|
supportsCollectFees: true,
|
355
367
|
},
|
356
|
-
|
357
|
-
_a[types_1.SupportedChainId.skale_europa] = (
|
358
|
-
|
368
|
+
_6),
|
369
|
+
_a[types_1.SupportedChainId.skale_europa] = (_7 = {},
|
370
|
+
_7[types_1.SupportedDex.Sushiswap] = {
|
359
371
|
url: 'https://elated-tan-skat-graph.skalenodes.com:8000/subgraphs/name/ichi-org/skale-europa-v1-sushiswap',
|
360
372
|
publishedUrl: 'https://elated-tan-skat-graph.skalenodes.com:8000/subgraphs/name/ichi-org/skale-europa-v1-sushiswap',
|
361
373
|
supportsCollectFees: true,
|
362
374
|
},
|
363
|
-
|
364
|
-
_a[types_1.SupportedChainId.sonic] = (
|
365
|
-
|
375
|
+
_7),
|
376
|
+
_a[types_1.SupportedChainId.sonic] = (_8 = {},
|
377
|
+
_8[types_1.SupportedDex.Equalizer] = {
|
366
378
|
url: 'https://api.studio.thegraph.com/query/88584/sonic-v1-equalizer/version/latest',
|
367
379
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/nPdJMpi6vnGWYWwLXwkmtGe7qW6oUC28pmYPmWz2eY1',
|
368
380
|
supportsCollectFees: true,
|
369
381
|
},
|
370
|
-
|
382
|
+
_8[types_1.SupportedDex.SwapX] = {
|
371
383
|
url: 'https://api.studio.thegraph.com/query/88584/sonic-v1-swapx/version/latest',
|
372
384
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/Gw1DrPbd1pBNorCWEfyb9i8txJ962qYqqPtuyX6iEH8u',
|
373
385
|
supportsCollectFees: true,
|
374
386
|
},
|
375
|
-
|
376
|
-
_a[types_1.SupportedChainId.taiko] = (
|
377
|
-
|
387
|
+
_8),
|
388
|
+
_a[types_1.SupportedChainId.taiko] = (_9 = {},
|
389
|
+
_9[types_1.SupportedDex.Henjin] = {
|
378
390
|
url: 'https://api.goldsky.com/api/public/project_clvwe2yydw1n701uh6yple20i/subgraphs/henjin-ichi/1.0.0/gn',
|
379
391
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clvwe2yydw1n701uh6yple20i/subgraphs/henjin-ichi/1.0.0/gn',
|
380
392
|
supportsCollectFees: true,
|
381
393
|
},
|
382
|
-
|
383
|
-
_a[types_1.SupportedChainId.taiko_hekla] = (
|
384
|
-
|
394
|
+
_9),
|
395
|
+
_a[types_1.SupportedChainId.taiko_hekla] = (_10 = {},
|
396
|
+
_10[types_1.SupportedDex.Henjin] = {
|
385
397
|
url: 'none',
|
386
398
|
publishedUrl: 'none',
|
387
399
|
supportsCollectFees: true,
|
388
400
|
},
|
389
|
-
|
390
|
-
_a[types_1.SupportedChainId.unreal] = (
|
391
|
-
|
401
|
+
_10),
|
402
|
+
_a[types_1.SupportedChainId.unreal] = (_11 = {},
|
403
|
+
_11[types_1.SupportedDex.Pearl] = {
|
392
404
|
url: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/unreal-v1-pearl/gn',
|
393
405
|
publishedUrl: 'https://api.goldsky.com/api/public/project_clynrq1h8gam301xx6vgngo9p/subgraphs/ichi-org/unreal-v1-pearl/gn',
|
394
406
|
supportsCollectFees: true,
|
395
407
|
},
|
396
|
-
|
397
|
-
_a[types_1.SupportedChainId.x_layer_testnet] = (
|
398
|
-
|
408
|
+
_11),
|
409
|
+
_a[types_1.SupportedChainId.x_layer_testnet] = (_12 = {},
|
410
|
+
_12[types_1.SupportedDex.XSwap] = {
|
399
411
|
url: 'https://api.studio.thegraph.com/query/88584/xlayer-sepolia-v1-xswap/version/latest',
|
400
412
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/EsPs6Mz2akM2Hbqm66jTb4YrnW1cjHVDnoqcJV2Xvitt',
|
401
413
|
supportsCollectFees: true,
|
402
414
|
},
|
403
|
-
|
404
|
-
_a[types_1.SupportedChainId.zircuit] = (
|
405
|
-
|
415
|
+
_12),
|
416
|
+
_a[types_1.SupportedChainId.zircuit] = (_13 = {},
|
417
|
+
_13[types_1.SupportedDex.Ocelex] = {
|
406
418
|
url: 'none',
|
407
419
|
publishedUrl: 'none',
|
408
420
|
supportsCollectFees: false,
|
409
421
|
},
|
410
|
-
|
411
|
-
_a[types_1.SupportedChainId.zksync_era] = (
|
412
|
-
|
422
|
+
_13),
|
423
|
+
_a[types_1.SupportedChainId.zksync_era] = (_14 = {},
|
424
|
+
_14[types_1.SupportedDex.Pancakeswap] = {
|
413
425
|
url: 'https://api.studio.thegraph.com/query/88584/zksync-v1-pancakeswap/version/latest',
|
414
426
|
publishedUrl: 'https://gateway-arbitrum.network.thegraph.com/api/[api-key]/subgraphs/id/HRoLbVrr8T8zCbC769cMseTpHq9Ebnqv5fKaJKJ4qkYc',
|
415
427
|
supportsCollectFees: true,
|
416
428
|
},
|
417
|
-
|
429
|
+
_14[types_1.SupportedDex.Velocore] = {
|
418
430
|
url: 'https://api.studio.thegraph.com/query/88584/zksync-v1-velocore/version/latest',
|
419
431
|
publishedUrl: 'https://api.studio.thegraph.com/query/88584/zksync-v1-velocore/version/latest',
|
420
432
|
supportsCollectFees: false,
|
421
433
|
},
|
422
|
-
|
423
|
-
_a[types_1.SupportedChainId.zksync_era_testnet] = (
|
424
|
-
|
434
|
+
_14),
|
435
|
+
_a[types_1.SupportedChainId.zksync_era_testnet] = (_15 = {},
|
436
|
+
_15[types_1.SupportedDex.Velocore] = {
|
425
437
|
url: 'none',
|
426
438
|
publishedUrl: 'none',
|
427
439
|
supportsCollectFees: true,
|
428
440
|
},
|
429
|
-
|
441
|
+
_15),
|
430
442
|
_a);
|
431
443
|
//# sourceMappingURL=constants.js.map
|