@sonarwatch/portfolio-plugins 0.11.127 → 0.11.129
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +1239 -1231
- package/README.md +3 -3
- package/package.json +2 -2
- package/src/plugins/balancer/helpers/pools.js +21 -21
- package/src/plugins/bskt/vestingFetcher.js +4 -2
- package/src/plugins/bskt/vestingFetcher.js.map +1 -1
- package/src/plugins/flash/perpetualFetcher.js +3 -3
- package/src/plugins/flash/perpetualFetcher.js.map +1 -1
- package/src/plugins/flash/structs.d.ts +1 -1
- package/src/plugins/flash/types.d.ts +1 -1
- package/src/plugins/jupiter/custodiesJob.js +2 -2
- package/src/plugins/jupiter/custodiesJob.js.map +1 -1
- package/src/plugins/jupiter/filters.js +1 -1
- package/src/plugins/jupiter/helpers.d.ts +1 -1
- package/src/plugins/jupiter/helpers.js +6 -3
- package/src/plugins/jupiter/helpers.js.map +1 -1
- package/src/plugins/jupiter/perpetualFetcher.js +4 -4
- package/src/plugins/jupiter/perpetualFetcher.js.map +1 -1
- package/src/plugins/jupiter/poolJob.js +3 -3
- package/src/plugins/jupiter/poolJob.js.map +1 -1
- package/src/plugins/jupiter/{structs.js → structs/perpetuals.js} +2 -2
- package/src/plugins/jupiter/structs/perpetuals.js.map +1 -0
- package/src/plugins/jupiter/structs/valueAverage.js +4 -4
- package/src/plugins/jupiter/structs/valueAverage.js.map +1 -1
- package/src/plugins/jupiter/valueAverageFetcher.js +53 -21
- package/src/plugins/jupiter/valueAverageFetcher.js.map +1 -1
- package/src/plugins/lifinity/xLfntyJob.js +4 -4
- package/src/plugins/lifinity/xLfntyJob.js.map +1 -1
- package/src/plugins/sushiswap/helpers.js +24 -24
- package/src/plugins/symmetry/basketsJob.js +12 -9
- package/src/plugins/symmetry/basketsJob.js.map +1 -1
- package/src/plugins/symmetry/structs.d.ts +5 -1
- package/src/plugins/symmetry/structs.js +7 -2
- package/src/plugins/symmetry/structs.js.map +1 -1
- package/src/plugins/uniswap-v2/helpers.js +22 -22
- package/src/utils/sei/constants.js +8 -8
- package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
- package/src/utils/solana/getDecimals.d.ts +3 -0
- package/src/utils/solana/getDecimals.js +26 -0
- package/src/utils/solana/getDecimals.js.map +1 -0
- package/src/utils/solana/getMultipleDecimals.d.ts +3 -0
- package/src/utils/solana/getMultipleDecimals.js +32 -0
- package/src/utils/solana/getMultipleDecimals.js.map +1 -0
- package/src/plugins/jupiter/structs.js.map +0 -1
- /package/src/plugins/jupiter/{structs.d.ts → structs/perpetuals.d.ts} +0 -0
@@ -54,30 +54,30 @@ function sushiV3PairToUniV2(pair) {
|
|
54
54
|
}
|
55
55
|
function getV3PairsAddresses(url, length = 300) {
|
56
56
|
return __awaiter(this, void 0, void 0, function* () {
|
57
|
-
const query = (0, graphql_request_1.gql) `
|
58
|
-
{
|
59
|
-
pools(
|
60
|
-
orderBy: totalValueLockedUSD
|
61
|
-
first: ${length}
|
62
|
-
orderDirection: desc
|
63
|
-
where: { volumeUSD_not: "0", liquidity_not: "0" }
|
64
|
-
) {
|
65
|
-
id
|
66
|
-
token0Price
|
67
|
-
token1Price
|
68
|
-
liquidity
|
69
|
-
token0 {
|
70
|
-
id
|
71
|
-
totalSupply
|
72
|
-
decimals
|
73
|
-
}
|
74
|
-
token1 {
|
75
|
-
id
|
76
|
-
totalSupply
|
77
|
-
decimals
|
78
|
-
}
|
79
|
-
}
|
80
|
-
}
|
57
|
+
const query = (0, graphql_request_1.gql) `
|
58
|
+
{
|
59
|
+
pools(
|
60
|
+
orderBy: totalValueLockedUSD
|
61
|
+
first: ${length}
|
62
|
+
orderDirection: desc
|
63
|
+
where: { volumeUSD_not: "0", liquidity_not: "0" }
|
64
|
+
) {
|
65
|
+
id
|
66
|
+
token0Price
|
67
|
+
token1Price
|
68
|
+
liquidity
|
69
|
+
token0 {
|
70
|
+
id
|
71
|
+
totalSupply
|
72
|
+
decimals
|
73
|
+
}
|
74
|
+
token1 {
|
75
|
+
id
|
76
|
+
totalSupply
|
77
|
+
decimals
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
81
|
`;
|
82
82
|
const res = yield (0, graphql_request_1.default)(url, query);
|
83
83
|
const pools = res.pools;
|
@@ -12,6 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
/* eslint-disable no-labels */
|
15
16
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
17
|
const constants_1 = require("./constants");
|
17
18
|
const solana_1 = require("../../utils/solana");
|
@@ -20,26 +21,25 @@ const structs_1 = require("./structs");
|
|
20
21
|
const filters_1 = require("./filters");
|
21
22
|
const getParsedAccountInfo_1 = require("../../utils/solana/getParsedAccountInfo");
|
22
23
|
const getLpTokenSourceRaw_1 = __importDefault(require("../../utils/misc/getLpTokenSourceRaw"));
|
23
|
-
const runInBatch_1 = __importDefault(require("../../utils/misc/runInBatch"));
|
24
24
|
const helpers_1 = require("../../utils/solana/pyth/helpers");
|
25
25
|
const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
26
26
|
const connection = (0, clients_1.getClientSolana)();
|
27
27
|
const tokenListRes = yield (0, getParsedAccountInfo_1.getParsedAccountInfo)(connection, structs_1.tokenListStruct, constants_1.tokenListAddress);
|
28
28
|
if (!tokenListRes)
|
29
29
|
return;
|
30
|
-
const tokenSettings = tokenListRes.list
|
31
|
-
.map((t) => t)
|
32
|
-
.slice(0, tokenListRes.numTokens.toNumber());
|
30
|
+
const tokenSettings = [...tokenListRes.list].slice(0, tokenListRes.numTokens.toNumber());
|
33
31
|
// Add tokens prices from Pyth Oracles
|
34
|
-
const
|
32
|
+
const pythSources = yield (0, helpers_1.getPythTokenPriceSources)(connection, tokenSettings
|
33
|
+
.filter((ts) => ts.oracleType === structs_1.OracleType.Pyth)
|
34
|
+
.map((ts) => ({
|
35
35
|
mint: ts.tokenMint,
|
36
36
|
oracle: ts.oracleAccount,
|
37
37
|
})));
|
38
|
-
yield cache.setTokenPriceSources(
|
38
|
+
yield cache.setTokenPriceSources(pythSources);
|
39
39
|
const tokenPrices = yield cache.getTokenPrices(tokenSettings.map((ts) => ts.tokenMint.toString()), portfolio_core_1.NetworkId.solana);
|
40
40
|
const accounts = yield (0, solana_1.getParsedProgramAccounts)(connection, structs_1.fundStruct, constants_1.basketProgramId, filters_1.fundFilters);
|
41
41
|
const lpSources = [];
|
42
|
-
for (let i = 0; i < accounts.length; i++) {
|
42
|
+
mainLoop: for (let i = 0; i < accounts.length; i++) {
|
43
43
|
const account = accounts[i];
|
44
44
|
if (account.supplyOutstanding.isZero())
|
45
45
|
continue;
|
@@ -48,12 +48,15 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
48
48
|
const tokenIndex = account.currentCompToken[j].toNumber();
|
49
49
|
const tokenPrice = tokenPrices[tokenIndex];
|
50
50
|
if (!tokenPrice)
|
51
|
+
continue mainLoop;
|
52
|
+
const reserveAmountRaw = account.currentCompAmount[j];
|
53
|
+
if (reserveAmountRaw.isZero())
|
51
54
|
continue;
|
52
55
|
poolUnderlyingRaw.push({
|
53
56
|
address: tokenPrice.address,
|
54
57
|
decimals: tokenPrice.decimals,
|
55
58
|
price: tokenPrice.price,
|
56
|
-
reserveAmountRaw
|
59
|
+
reserveAmountRaw,
|
57
60
|
});
|
58
61
|
}
|
59
62
|
if (poolUnderlyingRaw.length === 0)
|
@@ -65,7 +68,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
65
68
|
}, poolUnderlyingRaw);
|
66
69
|
lpSources.push(lpSource);
|
67
70
|
}
|
68
|
-
yield
|
71
|
+
yield cache.setTokenPriceSources(lpSources);
|
69
72
|
});
|
70
73
|
const job = {
|
71
74
|
id: `${constants_1.platformId}-baskets`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"basketsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/symmetry/basketsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAyE;AAGzE,2CAA4E;AAC5E,+CAA8D;AAC9D,iDAAsD;AACtD,
|
1
|
+
{"version":3,"file":"basketsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/symmetry/basketsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,8BAA8B;AAC9B,+DAAyE;AAGzE,2CAA4E;AAC5E,+CAA8D;AAC9D,iDAAsD;AACtD,uCAAoE;AACpE,uCAAwC;AACxC,kFAA+E;AAC/E,+FAE8C;AAC9C,6DAA2E;AAE3E,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,YAAY,GAAG,MAAM,IAAA,2CAAoB,EAC7C,UAAU,EACV,yBAAe,EACf,4BAAgB,CACjB,CAAC;IACF,IAAI,CAAC,YAAY;QAAE,OAAO;IAC1B,MAAM,aAAa,GAAG,CAAC,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC,KAAK,CAChD,CAAC,EACD,YAAY,CAAC,SAAS,CAAC,QAAQ,EAAE,CAClC,CAAC;IAEF,sCAAsC;IACtC,MAAM,WAAW,GAAG,MAAM,IAAA,kCAAwB,EAChD,UAAU,EACV,aAAa;SACV,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,UAAU,KAAK,oBAAU,CAAC,IAAI,CAAC;SACjD,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;QACZ,IAAI,EAAE,EAAE,CAAC,SAAS;QAClB,MAAM,EAAE,EAAE,CAAC,aAAa;KACzB,CAAC,CAAC,CACN,CAAC;IACF,MAAM,KAAK,CAAC,oBAAoB,CAAC,WAAW,CAAC,CAAC;IAE9C,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,cAAc,CAC5C,aAAa,CAAC,GAAG,CAAC,C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AAQ,GAAG,IAAA,6BAAmB,EAClC,0BAAS,CAAC,MAAM,EAChB,sBAAU,EACV,sBAAU,EACV,QAAQ,EACR;YACE,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE;YACrC,QAAQ,EAAE,CAAC;YACX,SAAS,EAAE,OAAO,CAAC,iBAAiB;SACrC,EACD,iBAAiB,CAClB,CAAC;QACF,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC3B,CAAC;IACD,MAAM,KAAK,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC;AAC9C,CAAC,CAAA,CAAC;AACF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
|
@@ -52,12 +52,16 @@ export type Fund = {
|
|
52
52
|
extraBytes: number[];
|
53
53
|
};
|
54
54
|
export declare const fundStruct: BeetStruct<Fund, Partial<Fund>>;
|
55
|
+
export declare enum OracleType {
|
56
|
+
Pyth = 0,
|
57
|
+
CustomSwitchboard = 1
|
58
|
+
}
|
55
59
|
export type TokenSettings = {
|
56
60
|
tokenMint: PublicKey;
|
57
61
|
decimals: number;
|
58
62
|
coingeckoId: number[];
|
59
63
|
pdaTokenAccount: PublicKey;
|
60
|
-
oracleType:
|
64
|
+
oracleType: OracleType;
|
61
65
|
oracleAccount: PublicKey;
|
62
66
|
oracleIndex: number;
|
63
67
|
oracleConfidencePct: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.tokenListStruct = exports.tokenSettingsStruct = exports.fundStruct = void 0;
|
3
|
+
exports.tokenListStruct = exports.tokenSettingsStruct = exports.OracleType = exports.fundStruct = void 0;
|
4
4
|
const beet_solana_1 = require("@metaplex-foundation/beet-solana");
|
5
5
|
const beet_1 = require("@metaplex-foundation/beet");
|
6
6
|
const solana_1 = require("../../utils/solana");
|
@@ -53,6 +53,11 @@ exports.fundStruct = new beet_1.BeetStruct([
|
|
53
53
|
['uri', (0, beet_1.uniformFixedSizeArray)(beet_1.u8, 300)],
|
54
54
|
['extraBytes', (0, beet_1.uniformFixedSizeArray)(beet_1.u8, 394)],
|
55
55
|
], (args) => args);
|
56
|
+
var OracleType;
|
57
|
+
(function (OracleType) {
|
58
|
+
OracleType[OracleType["Pyth"] = 0] = "Pyth";
|
59
|
+
OracleType[OracleType["CustomSwitchboard"] = 1] = "CustomSwitchboard";
|
60
|
+
})(OracleType || (exports.OracleType = OracleType = {}));
|
56
61
|
exports.tokenSettingsStruct = new beet_1.BeetStruct([
|
57
62
|
['tokenMint', beet_solana_1.publicKey],
|
58
63
|
['decimals', beet_1.u8],
|
@@ -73,6 +78,6 @@ exports.tokenSettingsStruct = new beet_1.BeetStruct([
|
|
73
78
|
exports.tokenListStruct = new beet_1.FixableBeetStruct([
|
74
79
|
['buffer', (0, solana_1.blob)(8)],
|
75
80
|
['numTokens', solana_1.u64],
|
76
|
-
['list', (0, beet_1.uniformFixedSizeArray)(exports.tokenSettingsStruct,
|
81
|
+
['list', (0, beet_1.uniformFixedSizeArray)(exports.tokenSettingsStruct, 200)],
|
77
82
|
], (args) => args);
|
78
83
|
//# sourceMappingURL=structs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/symmetry/structs.ts"],"names":[],"mappings":";;;AAAA,kEAA6D;AAC7D,oDAKmC;AAGnC,+CAA+C;AAqDlC,QAAA,UAAU,GAAG,IAAI,iBAAU,CACtC;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,SAAS,EAAE,YAAG,CAAC;IAChB,CAAC,SAAS,EAAE,uBAAS,CAAC;IACtB,CAAC,WAAW,EAAE,uBAAS,CAAC;IACxB,CAAC,YAAY,EAA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AGrB;AAoBY,QAAA,mBAAmB,GAAG,IAAI,iBAAU,CAC/C;IACE,CAAC,WAAW,EAAE,uBAAS,CAAC;IACxB,CAAC,UAAU,EAAE,SAAE,CAAC;IAChB,CAAC,aAAa,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,EAAE,CAAC,CAAC;IAC9C,CAAC,iBAAiB,EAAE,uBAAS,CAAC;IAC9B,CAAC,YAAY,EAAE,SAAE,CAAC;IAClB,CAAC,eAAe,EAAE,uBAAS,CAAC;IAC5B,CAAC,aAAa,EAAE,SAAE,CAAC;IACnB,CAAC,qBAAqB,EAAE,SAAE,CAAC;IAC3B,CAAC,oBAAoB,EAAE,SAAE,CAAC;IAC1B,CAAC,wBAAwB,EAAE,SAAE,CAAC;IAC9B,CAAC,yBAAyB,EAAE,SAAE,CAAC;IAC/B,CAAC,QAAQ,EAAE,SAAE,CAAC;IACd,CAAC,MAAM,EAAE,SAAE,CAAC;IACZ,CAAC,cAAc,EAAE,SAAE,CAAC;IACpB,CAAC,gBAAgB,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,EAAE,CAAC,CAAC;CAClD,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAqB,CAChC,CAAC;AAQW,QAAA,eAAe,GAAG,IAAI,wBAAiB,CAClD;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,WAAW,EAAE,YAAG,CAAC;IAClB,CAAC,MAAM,EAAE,IAAA,4BAAqB,EAAC,2BAAmB,EAAE,GAAG,CAAC,CAAC;CAC1D,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAiB,CAC5B,CAAC"}
|
@@ -40,28 +40,28 @@ function getPairKey(version) {
|
|
40
40
|
exports.getPairKey = getPairKey;
|
41
41
|
function getPairsV2FromTheGraph(url, length = 300) {
|
42
42
|
return __awaiter(this, void 0, void 0, function* () {
|
43
|
-
const query = (0, graphql_request_1.gql) `
|
44
|
-
{
|
45
|
-
pairs(
|
46
|
-
orderBy: reserveUSD
|
47
|
-
first: ${length}
|
48
|
-
orderDirection: desc
|
49
|
-
where: { trackedReserveETH_not: "0" }
|
50
|
-
) {
|
51
|
-
id
|
52
|
-
reserve0
|
53
|
-
reserve1
|
54
|
-
totalSupply
|
55
|
-
token0 {
|
56
|
-
id
|
57
|
-
decimals
|
58
|
-
}
|
59
|
-
token1 {
|
60
|
-
id
|
61
|
-
decimals
|
62
|
-
}
|
63
|
-
}
|
64
|
-
}
|
43
|
+
const query = (0, graphql_request_1.gql) `
|
44
|
+
{
|
45
|
+
pairs(
|
46
|
+
orderBy: reserveUSD
|
47
|
+
first: ${length}
|
48
|
+
orderDirection: desc
|
49
|
+
where: { trackedReserveETH_not: "0" }
|
50
|
+
) {
|
51
|
+
id
|
52
|
+
reserve0
|
53
|
+
reserve1
|
54
|
+
totalSupply
|
55
|
+
token0 {
|
56
|
+
id
|
57
|
+
decimals
|
58
|
+
}
|
59
|
+
token1 {
|
60
|
+
id
|
61
|
+
decimals
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
65
|
`;
|
66
66
|
const res = yield (0, graphql_request_1.default)(url, query);
|
67
67
|
const pairs = res.pairs;
|
@@ -1,16 +1,16 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.poolQueryMsg = exports.minterQueryMsg = exports.tokenInfoQueryMsg = exports.infoQueryMsg = void 0;
|
4
|
-
exports.infoQueryMsg = JSON.parse(`{
|
5
|
-
"info": {}
|
4
|
+
exports.infoQueryMsg = JSON.parse(`{
|
5
|
+
"info": {}
|
6
6
|
}`);
|
7
|
-
exports.tokenInfoQueryMsg = JSON.parse(`{
|
8
|
-
"token_info": {}
|
7
|
+
exports.tokenInfoQueryMsg = JSON.parse(`{
|
8
|
+
"token_info": {}
|
9
9
|
}`);
|
10
|
-
exports.minterQueryMsg = JSON.parse(`{
|
11
|
-
"minter": {}
|
10
|
+
exports.minterQueryMsg = JSON.parse(`{
|
11
|
+
"minter": {}
|
12
12
|
}`);
|
13
|
-
exports.poolQueryMsg = JSON.parse(`{
|
14
|
-
"pool": {}
|
13
|
+
exports.poolQueryMsg = JSON.parse(`{
|
14
|
+
"pool": {}
|
15
15
|
}`);
|
16
16
|
//# sourceMappingURL=constants.js.map
|
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
function getQueryBalanceByOwner(owner) {
|
4
|
-
return JSON.parse(`{
|
5
|
-
"balance": {
|
6
|
-
"address": "${owner}"
|
7
|
-
}
|
4
|
+
return JSON.parse(`{
|
5
|
+
"balance": {
|
6
|
+
"address": "${owner}"
|
7
|
+
}
|
8
8
|
}`);
|
9
9
|
}
|
10
10
|
exports.default = getQueryBalanceByOwner;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.getDecimals = void 0;
|
13
|
+
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
14
|
+
const getParsedAccountInfo_1 = require("./getParsedAccountInfo");
|
15
|
+
const structs_1 = require("./structs");
|
16
|
+
const solMints = [portfolio_core_1.solanaNativeAddress, portfolio_core_1.solanaNativeWrappedAddress];
|
17
|
+
function getDecimals(connection, mint) {
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
19
|
+
if (solMints.includes(mint.toString()))
|
20
|
+
return portfolio_core_1.solanaNativeDecimals;
|
21
|
+
const mintAccount = yield (0, getParsedAccountInfo_1.getParsedAccountInfo)(connection, structs_1.mintAccountStruct, mint);
|
22
|
+
return (mintAccount === null || mintAccount === void 0 ? void 0 : mintAccount.decimals) || null;
|
23
|
+
});
|
24
|
+
}
|
25
|
+
exports.getDecimals = getDecimals;
|
26
|
+
//# sourceMappingURL=getDecimals.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getDecimals.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/solana/getDecimals.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,+DAIoC;AAEpC,iEAA8D;AAC9D,uCAA8C;AAE9C,MAAM,QAAQ,GAAG,CAAC,oCAAmB,EAAE,2CAA0B,CAAC,CAAC;AAEnE,SAAsB,WAAW,CAC/B,UAAwB,EACxB,IAAe;;QAEf,IAAI,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YAAE,OAAO,qCAAoB,CAAC;QAEpE,MAAM,WAAW,GAAG,MAAM,IAAA,2CAAoB,EAC5C,UAAU,EACV,2BAAiB,EACjB,IAAI,CACL,CAAC;QACF,OAAO,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ,KAAI,IAAI,CAAC;IACvC,CAAC;CAAA;AAZD,kCAYC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
|
+
});
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.getMultipleDecimals = void 0;
|
13
|
+
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
14
|
+
const structs_1 = require("./structs");
|
15
|
+
const getParsedMultipleAccountsInfo_1 = require("./getParsedMultipleAccountsInfo");
|
16
|
+
const solMints = [portfolio_core_1.solanaNativeAddress, portfolio_core_1.solanaNativeWrappedAddress];
|
17
|
+
function getMultipleDecimals(connection, mints) {
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
19
|
+
const mintAccounts = yield (0, getParsedMultipleAccountsInfo_1.getParsedMultipleAccountsInfo)(connection, structs_1.mintAccountStruct, mints.filter((m) => solMints.includes(m.toString())));
|
20
|
+
const decimalsMap = new Map();
|
21
|
+
decimalsMap.set(portfolio_core_1.solanaNativeAddress, portfolio_core_1.solanaNativeDecimals);
|
22
|
+
decimalsMap.set(portfolio_core_1.solanaNativeWrappedAddress, portfolio_core_1.solanaNativeDecimals);
|
23
|
+
mintAccounts.forEach((acc) => {
|
24
|
+
if (!acc)
|
25
|
+
return;
|
26
|
+
decimalsMap.set(acc.pubkey.toString(), acc.decimals);
|
27
|
+
});
|
28
|
+
return mints.map((m) => decimalsMap.get(m.toString()) || null);
|
29
|
+
});
|
30
|
+
}
|
31
|
+
exports.getMultipleDecimals = getMultipleDecimals;
|
32
|
+
//# sourceMappingURL=getMultipleDecimals.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getMultipleDecimals.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/solana/getMultipleDecimals.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,+DAIoC;AAEpC,uCAA8C;AAC9C,mFAAgF;AAEhF,MAAM,QAAQ,GAAG,CAAC,oCAAmB,EAAE,2CA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