@ichidao/ichi-vaults-sdk 0.1.33 → 0.1.35
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 +4 -0
- package/dist/src/functions/_vaultEvents.js +6 -6
- package/dist/src/functions/_vaultEvents.js.map +1 -1
- package/dist/src/functions/calculateApr.js +3 -3
- package/dist/src/functions/calculateApr.js.map +1 -1
- package/dist/src/functions/calculateFees.js +3 -3
- package/dist/src/functions/calculateFees.js.map +1 -1
- package/dist/src/functions/getFeeAprs.js +2 -2
- package/dist/src/functions/getFeeAprs.js.map +1 -1
- package/dist/src/functions/rewardInfo.js +3 -3
- package/dist/src/functions/rewardInfo.js.map +1 -1
- package/dist/src/functions/userBalances.js +3 -3
- package/dist/src/functions/userBalances.js.map +1 -1
- package/dist/src/functions/vault.js +5 -5
- package/dist/src/functions/vault.js.map +1 -1
- package/dist/src/graphql/constants.js +163 -147
- package/dist/src/graphql/constants.js.map +1 -1
- package/dist/src/graphql/queries.js +3 -6
- package/dist/src/graphql/queries.js.map +1 -1
- package/dist/src/index.cjs.js +2 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.esm.js +2 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/src/index.d.ts +1 -0
- package/dist/src/src/types/index.d.ts +4 -0
- package/dist/src/src/utils/getGraphUrls.d.ts +1 -1
- package/dist/src/types/index.d.ts +4 -0
- package/dist/src/types/index.js +4 -0
- package/dist/src/types/index.js.map +1 -1
- package/dist/src/utils/config/addresses.js +217 -193
- package/dist/src/utils/config/addresses.js.map +1 -1
- package/dist/src/utils/getGraphUrls.d.ts +1 -1
- package/dist/src/utils/getGraphUrls.js +3 -1
- package/dist/src/utils/getGraphUrls.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/graphql/constants.ts"],"names":[],"mappings":";;;;AA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AC,wBAAgB,CAAC,OAAO;QACvB,IAAC,oBAAY,CAAC,MAAM,IAAG;YACrB,GAAG,EAAE,oHAAoH;YACzH,YAAY,EACV,oHAAoH;YACtH,mBAAmB,EAAE,IAAI;SAC1B;YACF;IACD,GAAC,wBAAgB,CAAC,UAAU;QAC1B,IAAC,oBAAY,CAAC,WAAW,IAAG;YAC1B,GAAG,EAAE,kFAAkF;YACvF,YAAY,EACV,uHAAuH;YACzH,mBAAmB,EAAE,IAAI;SAC1B;QACD,IAAC,oBAAY,CAAC,QAAQ,IAAG;YACvB,GAAG,EAAE,+EAA+E;YACpF,YAAY,EAAE,+EAA+E;YAC7F,mBAAmB,EAAE,KAAK;SAC3B;YACF;IACD,GAAC,wBAAgB,CAAC,kBAAkB;QAClC,IAAC,oBAAY,CAAC,QAAQ,IAAG;YACvB,GAAG,EAAE,MAAM;YACX,YAAY,EAAE,MAAM;YACpB,mBAAmB,EAAE,IAAI;SAC1B;YACF;QACD"}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/graphql/constants.ts"],"names":[],"mappings":";;;;AAAA,iDAAiD;AACjD,kCAA0D;AAa1D,2DAA2D;AAC9C,QAAA,SAAS;IACpB,GAAC,wBAAgB,CAAC,QAAQ;QACxB,GAAC,oBAAY,CAAC,SAAS,IAAG;YACxB,GAAG,EAAE,wEAAwE;YAC7E,YAAY,EACV,uHAAuH;YACzH,mBAAmB,EAAE,KAAK;SAC3B;QACD,GAAC,oBAAY,CAAC,WAAW,IAAG;YAC1B,GAAG,EAAE,oFAAoF;YACzF,YAAY,EACV,uHAAuH;YACzH,mBAAmB,EAAE,IAAI;SAC1B;QACD,GAAC,oBAAY,CAAC,MAAM,IAAG;YACrB,GAAG,EAAE,+EAA+E;YACpF,YAAY,EACV,uHAAuH;YACzH,mBAAmB,EAAE,KAAK;SAC3B;QACD,GAAC,oBAAY,CAAC,SAAS,IAAG;YACxB,GAAG,EAAE,kFAAkF;YACvF,YAAY,EACV,uH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QAC1B,IAAC,oBAAY,CAAC,WAAW,IAAG;YAC1B,GAAG,EAAE,kFAAkF;YACvF,YAAY,EACV,uHAAuH;YACzH,mBAAmB,EAAE,IAAI;SAC1B;QACD,IAAC,oBAAY,CAAC,QAAQ,IAAG;YACvB,GAAG,EAAE,+EAA+E;YACpF,YAAY,EAAE,+EAA+E;YAC7F,mBAAmB,EAAE,KAAK;SAC3B;YACF;IACD,GAAC,wBAAgB,CAAC,kBAAkB;QAClC,IAAC,oBAAY,CAAC,QAAQ,IAAG;YACvB,GAAG,EAAE,MAAM;YACX,YAAY,EAAE,MAAM;YACpB,mBAAmB,EAAE,IAAI;SAC1B;YACF;QACD"}
|
|
@@ -3,16 +3,13 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
4
|
return cooked;
|
|
5
5
|
};
|
|
6
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
7
|
exports.allRewardVaults = exports.allRewardInfoQuery = exports.rewardInfoQuery = exports.feeAprQuery = exports.getUserBalancesQuery = exports.allEventsNoCollectFeesQuery = exports.allEventsQuery = exports.vaultWithdrawsQuery = exports.vaultDepositsQuery = exports.vaultCollectFeesQuery = exports.rebalancesQuery = exports.vaultByPoolQuery = exports.vaultByTokensQuery = exports.getVaultQuery = exports.vaultQueryVelodrome = exports.vaultQueryAlgebra = exports.vaultQuery = void 0;
|
|
11
8
|
// eslint-disable-next-line import/no-unresolved
|
|
12
9
|
var graphql_request_1 = require("graphql-request");
|
|
13
10
|
var types_1 = require("../types");
|
|
14
11
|
var addresses_1 = require("../utils/config/addresses");
|
|
15
|
-
var getGraphUrls_1 =
|
|
12
|
+
var getGraphUrls_1 = require("../utils/getGraphUrls");
|
|
16
13
|
var isVelodrome_1 = require("../utils/isVelodrome");
|
|
17
14
|
function noHoldersCount(dex, chainId) {
|
|
18
15
|
return (dex === types_1.SupportedDex.Fenix ||
|
|
@@ -52,7 +49,7 @@ exports.vaultQueryVelodrome = (0, graphql_request_1.gql)(templateObject_5 || (te
|
|
|
52
49
|
function getVaultQuery(chainId, dex) {
|
|
53
50
|
var _a, _b, _c, _d;
|
|
54
51
|
var includeHoldersCount = !noHoldersCount(dex, chainId);
|
|
55
|
-
var version = (0, getGraphUrls_1.
|
|
52
|
+
var version = (0, getGraphUrls_1.getGraphUrls)(chainId, dex).version;
|
|
56
53
|
// Check for Velodrome AMM version first
|
|
57
54
|
if ((0, isVelodrome_1.isVelodromeDex)(chainId, dex)) {
|
|
58
55
|
return exports.vaultQueryVelodrome;
|
|
@@ -87,7 +84,7 @@ exports.allEventsQuery = allEventsQuery;
|
|
|
87
84
|
var allEventsNoCollectFeesQuery = function (lastTimestamps) { return (0, graphql_request_1.gql)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n query ($vaultAddress: String!, $createdAtTimestamp_gt: String!) {\n vaultRebalances(\n first: 1000,\n where: {\n vault: $vaultAddress,\n createdAtTimestamp_gt: ", "\n },\n orderBy: createdAtTimestamp,\n orderDirection: asc\n ) {\n feeAmount0\n feeAmount1\n totalAmount0\n totalAmount1\n createdAtTimestamp\n vault\n sqrtPrice\n totalSupply\n },\n vaultDeposits(\n first: 1000,\n where: {\n vault: $vaultAddress,\n createdAtTimestamp_gt: ", "\n },\n orderBy: createdAtTimestamp,\n orderDirection: asc\n ) {\n vault\n createdAtTimestamp\n totalAmount0\n totalAmount1\n totalAmount0BeforeEvent\n totalAmount1BeforeEvent\n sqrtPrice\n totalSupply\n },\n vaultWithdraws(\n first: 1000,\n where: {\n vault: $vaultAddress,\n createdAtTimestamp_gt: ", "\n },\n orderBy: createdAtTimestamp,\n orderDirection: asc\n ) {\n createdAtTimestamp\n totalAmount0\n totalAmount1\n totalAmount0BeforeEvent\n totalAmount1BeforeEvent\n vault\n sqrtPrice\n totalSupply\n }\n }\n"], ["\n query ($vaultAddress: String!, $createdAtTimestamp_gt: String!) {\n vaultRebalances(\n first: 1000,\n where: {\n vault: $vaultAddress,\n createdAtTimestamp_gt: ", "\n },\n orderBy: createdAtTimestamp,\n orderDirection: asc\n ) {\n feeAmount0\n feeAmount1\n totalAmount0\n totalAmount1\n createdAtTimestamp\n vault\n sqrtPrice\n totalSupply\n },\n vaultDeposits(\n first: 1000,\n where: {\n vault: $vaultAddress,\n createdAtTimestamp_gt: ", "\n },\n orderBy: createdAtTimestamp,\n orderDirection: asc\n ) {\n vault\n createdAtTimestamp\n totalAmount0\n totalAmount1\n totalAmount0BeforeEvent\n totalAmount1BeforeEvent\n sqrtPrice\n totalSupply\n },\n vaultWithdraws(\n first: 1000,\n where: {\n vault: $vaultAddress,\n createdAtTimestamp_gt: ", "\n },\n orderBy: createdAtTimestamp,\n orderDirection: asc\n ) {\n createdAtTimestamp\n totalAmount0\n totalAmount1\n totalAmount0BeforeEvent\n totalAmount1BeforeEvent\n vault\n sqrtPrice\n totalSupply\n }\n }\n"])), lastTimestamps.rebalances ? "\"".concat(lastTimestamps.rebalances, "\"") : '$createdAtTimestamp_gt', lastTimestamps.deposits ? "\"".concat(lastTimestamps.deposits, "\"") : '$createdAtTimestamp_gt', lastTimestamps.withdraws ? "\"".concat(lastTimestamps.withdraws, "\"") : '$createdAtTimestamp_gt'); };
|
|
88
85
|
exports.allEventsNoCollectFeesQuery = allEventsNoCollectFeesQuery;
|
|
89
86
|
function getUserBalancesQuery(chainId, dex) {
|
|
90
|
-
var version = (0, getGraphUrls_1.
|
|
87
|
+
var version = (0, getGraphUrls_1.getGraphUrls)(chainId, dex).version;
|
|
91
88
|
// Check for Velodrome AMM version first
|
|
92
89
|
var isVelodrome = (0, isVelodrome_1.isVelodromeDex)(chainId, dex);
|
|
93
90
|
return (0, graphql_request_1.gql)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n query ($accountAddress: String!) {\n user(id: $accountAddress) {\n vaultShares {\n vault {\n id\n ", "\n ", "\n ", "\n }\n vaultShareBalance\n ", "\n }\n }\n }\n "], ["\n query ($accountAddress: String!) {\n user(id: $accountAddress) {\n vaultShares {\n vault {\n id\n ", "\n ", "\n ", "\n }\n vaultShareBalance\n ", "\n }\n }\n }\n "])), version === 2 ? 'token0' : 'tokenA', version === 2 ? 'token1' : 'tokenB', isVelodrome ? 'farmingContract { id }' : '', isVelodrome ? 'stakedVaultShareBalance' : '');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../src/graphql/queries.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../src/graphql/queries.ts"],"names":[],"mappings":";;;;;;;AAAA,gDAAgD;AAChD,mDAAsC;AACtC,kCAA0D;AAC1D,uDAA0D;AAC1D,sDAAqD;AACrD,oDAAsD;AAEtD,SAAS,cAAc,CAAC,GAAiB,EAAE,OAAyB;IAClE,OAAO,CACL,GAAG,KAAK,oBAAY,CAAC,KAAK;QAC1B,GAAG,KAAK,oBAAY,CAAC,MAAM;QAC3B,GAAG,KAAK,oBAAY,CAAC,OAAO;QAC5B,CAAC,GAAG,KAAK,oBAAY,CAAC,SAAS,IAAI,OAAO,KAAK,wBAAgB,CAAC,YAAY,CAAC;QAC7E,CAAC,GAAG,KAAK,oBAAY,CAAC,QAAQ,IAAI,OAAO,KAAK,wBAAgB,CAAC,kBAAkB,CAAC,CACnF,CAAC;AACJ,CAAC;AAED,SAAgB,UAAU,CAAC,mBAA4B,EAAE,OAAmB;IAAnB,wBAAA,EAAA,WAAmB;IAC1E,wDAAwD;IACxD,IAAI,OAAO,KAAK,CAAC,EAAE;QACjB,WAAO,qBAAG,+SAAA,6MASF,EAAyC,4BAGhD,KAHO,mBAAmB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAG/C;KAC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wC;IACxC,IAAM,WAAW,GAAG,IAAA,4BAAc,EAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAEjD,WAAO,qBAAG,4VAAA,qJAME,EAAmC,gBACnC,EAAmC,gBACnC,EAA2C,wDAG7C,EAA4C,iCAIrD,KATW,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,EACnC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,EACnC,WAAW,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,EAG7C,WAAW,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAAE,EAIpD;AACJ,CAAC;AAtBD,oDAsBC;AAEY,QAAA,WAAW,OAAG,qBAAG,mOAAA,6JAS7B,KAAC;AAEW,QAAA,eAAe,OAAG,qBAAG,qWAAA,+RAejC,KAAC;AAEW,QAAA,kBAAkB,OAAG,qBAAG,0TAAA,oPAepC,KAAC;AAEW,QAAA,eAAe,OAAG,qBAAG,uSAAA,iOAajC,KAAC"}
|
package/dist/src/index.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* author: ICHI DAO <core@ichi.org>
|
|
5
|
-
* ichi-vaults-sdk.js v0.1.
|
|
5
|
+
* ichi-vaults-sdk.js v0.1.35
|
|
6
6
|
* Released under the MIT license.
|
|
7
7
|
*/
|
|
8
8
|
|
|
@@ -29,3 +29,4 @@ tslib_1.__exportStar(require("./functions/rewardInfo"), exports);
|
|
|
29
29
|
tslib_1.__exportStar(require("./functions/userRewards"), exports);
|
|
30
30
|
tslib_1.__exportStar(require("./functions/claimRewards"), exports);
|
|
31
31
|
tslib_1.__exportStar(require("./types/index"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./utils/getGraphUrls"), exports);
|
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.esm.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* author: ICHI DAO <core@ichi.org>
|
|
5
|
-
* ichi-vaults-sdk.js v0.1.
|
|
5
|
+
* ichi-vaults-sdk.js v0.1.35
|
|
6
6
|
* Released under the MIT license.
|
|
7
7
|
*/
|
|
8
8
|
|
|
@@ -27,3 +27,4 @@ tslib_1.__exportStar(require("./functions/rewardInfo"), exports);
|
|
|
27
27
|
tslib_1.__exportStar(require("./functions/userRewards"), exports);
|
|
28
28
|
tslib_1.__exportStar(require("./functions/claimRewards"), exports);
|
|
29
29
|
tslib_1.__exportStar(require("./types/index"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./utils/getGraphUrls"), exports);
|
package/dist/src/index.js
CHANGED
|
@@ -33,4 +33,5 @@ __exportStar(require("./functions/rewardInfo"), exports);
|
|
|
33
33
|
__exportStar(require("./functions/userRewards"), exports);
|
|
34
34
|
__exportStar(require("./functions/claimRewards"), exports);
|
|
35
35
|
__exportStar(require("./types/index"), exports);
|
|
36
|
+
__exportStar(require("./utils/getGraphUrls"), exports);
|
|
36
37
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,sDAAoC;AACpC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,2DAAyC;AACzC,2DAAyC;AACzC,2DAAyC;AACzC,uDAAqC;AACrC,2DAAyC;AACzC,qDAAmC;AACnC,6DAA2C;AAC3C,yDAAuC;AACvC,yDAAuC;AACvC,0DAAwC;AACxC,2DAAyC;AACzC,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,sDAAoC;AACpC,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,2DAAyC;AACzC,2DAAyC;AACzC,2DAAyC;AACzC,uDAAqC;AACrC,2DAAyC;AACzC,qDAAmC;AACnC,6DAA2C;AAC3C,yDAAuC;AACvC,yDAAuC;AACvC,0DAAwC;AACxC,2DAAyC;AACzC,gDAA8B;AAC9B,uDAAqC"}
|
package/dist/src/src/index.d.ts
CHANGED
|
@@ -12,9 +12,11 @@ export declare enum SupportedChainId {
|
|
|
12
12
|
berachain_bartio = 80084,
|
|
13
13
|
blast = 81457,
|
|
14
14
|
blast_sepolia_testnet = 168587773,
|
|
15
|
+
botanix = 3637,
|
|
15
16
|
bsc = 56,
|
|
16
17
|
celo = 42220,
|
|
17
18
|
citrea_testnet = 5115,
|
|
19
|
+
cronos = 25,
|
|
18
20
|
eon = 7332,
|
|
19
21
|
evmos = 9001,
|
|
20
22
|
fantom = 250,
|
|
@@ -60,6 +62,7 @@ export declare enum SupportedDex {
|
|
|
60
62
|
Agni = "Agni",
|
|
61
63
|
Ascent = "Ascent",
|
|
62
64
|
Atlantis = "Atlantis",
|
|
65
|
+
Bitzy = "Bitzy",
|
|
63
66
|
Blueprint = "Blueprint",
|
|
64
67
|
Bonzo = "Bonzo",
|
|
65
68
|
Catex = "Catex",
|
|
@@ -110,6 +113,7 @@ export declare enum SupportedDex {
|
|
|
110
113
|
Velocore = "Velocore",
|
|
111
114
|
Velodrome = "Velodrome",
|
|
112
115
|
Voltage = "Voltage",
|
|
116
|
+
VVS = "VVS",
|
|
113
117
|
Wasabee = "Wasabee",
|
|
114
118
|
XSwap = "XSwap"
|
|
115
119
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SupportedChainId, SupportedDex } from '../types';
|
|
2
|
-
export
|
|
2
|
+
export declare function getGraphUrls(chainId: SupportedChainId, dex: SupportedDex, isGraphRequired?: boolean): {
|
|
3
3
|
url: string;
|
|
4
4
|
publishedUrl: string | undefined;
|
|
5
5
|
version: number;
|
|
@@ -12,9 +12,11 @@ export declare enum SupportedChainId {
|
|
|
12
12
|
berachain_bartio = 80084,
|
|
13
13
|
blast = 81457,
|
|
14
14
|
blast_sepolia_testnet = 168587773,
|
|
15
|
+
botanix = 3637,
|
|
15
16
|
bsc = 56,
|
|
16
17
|
celo = 42220,
|
|
17
18
|
citrea_testnet = 5115,
|
|
19
|
+
cronos = 25,
|
|
18
20
|
eon = 7332,
|
|
19
21
|
evmos = 9001,
|
|
20
22
|
fantom = 250,
|
|
@@ -60,6 +62,7 @@ export declare enum SupportedDex {
|
|
|
60
62
|
Agni = "Agni",
|
|
61
63
|
Ascent = "Ascent",
|
|
62
64
|
Atlantis = "Atlantis",
|
|
65
|
+
Bitzy = "Bitzy",
|
|
63
66
|
Blueprint = "Blueprint",
|
|
64
67
|
Bonzo = "Bonzo",
|
|
65
68
|
Catex = "Catex",
|
|
@@ -110,6 +113,7 @@ export declare enum SupportedDex {
|
|
|
110
113
|
Velocore = "Velocore",
|
|
111
114
|
Velodrome = "Velodrome",
|
|
112
115
|
Voltage = "Voltage",
|
|
116
|
+
VVS = "VVS",
|
|
113
117
|
Wasabee = "Wasabee",
|
|
114
118
|
XSwap = "XSwap"
|
|
115
119
|
}
|
package/dist/src/types/index.js
CHANGED
|
@@ -12,9 +12,11 @@ var SupportedChainId;
|
|
|
12
12
|
SupportedChainId[SupportedChainId["berachain_bartio"] = 80084] = "berachain_bartio";
|
|
13
13
|
SupportedChainId[SupportedChainId["blast"] = 81457] = "blast";
|
|
14
14
|
SupportedChainId[SupportedChainId["blast_sepolia_testnet"] = 168587773] = "blast_sepolia_testnet";
|
|
15
|
+
SupportedChainId[SupportedChainId["botanix"] = 3637] = "botanix";
|
|
15
16
|
SupportedChainId[SupportedChainId["bsc"] = 56] = "bsc";
|
|
16
17
|
SupportedChainId[SupportedChainId["celo"] = 42220] = "celo";
|
|
17
18
|
SupportedChainId[SupportedChainId["citrea_testnet"] = 5115] = "citrea_testnet";
|
|
19
|
+
SupportedChainId[SupportedChainId["cronos"] = 25] = "cronos";
|
|
18
20
|
SupportedChainId[SupportedChainId["eon"] = 7332] = "eon";
|
|
19
21
|
SupportedChainId[SupportedChainId["evmos"] = 9001] = "evmos";
|
|
20
22
|
SupportedChainId[SupportedChainId["fantom"] = 250] = "fantom";
|
|
@@ -61,6 +63,7 @@ var SupportedDex;
|
|
|
61
63
|
SupportedDex["Agni"] = "Agni";
|
|
62
64
|
SupportedDex["Ascent"] = "Ascent";
|
|
63
65
|
SupportedDex["Atlantis"] = "Atlantis";
|
|
66
|
+
SupportedDex["Bitzy"] = "Bitzy";
|
|
64
67
|
SupportedDex["Blueprint"] = "Blueprint";
|
|
65
68
|
SupportedDex["Bonzo"] = "Bonzo";
|
|
66
69
|
SupportedDex["Catex"] = "Catex";
|
|
@@ -111,6 +114,7 @@ var SupportedDex;
|
|
|
111
114
|
SupportedDex["Velocore"] = "Velocore";
|
|
112
115
|
SupportedDex["Velodrome"] = "Velodrome";
|
|
113
116
|
SupportedDex["Voltage"] = "Voltage";
|
|
117
|
+
SupportedDex["VVS"] = "VVS";
|
|
114
118
|
SupportedDex["Wasabee"] = "Wasabee";
|
|
115
119
|
SupportedDex["XSwap"] = "XSwap";
|
|
116
120
|
})(SupportedDex = exports.SupportedDex || (exports.SupportedDex = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;AAQA,IAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";;;AAQA,IAAY,gBAsDX;AAtDD,WAAY,gBAAgB;IAC1B,mEAAgB,CAAA;IAChB,iEAAe,CAAA;IACf,iFAAuB,CAAA;IACvB,0DAAW,CAAA;IACX,2EAAoB,CAAA;IACpB,qEAAiB,CAAA;IACjB,mFAAwB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