@sonarwatch/portfolio-plugins 0.8.33 → 0.8.34
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/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/src/index.js +8 -0
- package/src/index.js.map +1 -1
- package/src/plugins/aftermath/constants.js +1 -1
- package/src/plugins/aftermath/constants.js.map +1 -1
- package/src/plugins/compound/abis.d.ts +94 -0
- package/src/plugins/compound/abis.js +64 -0
- package/src/plugins/compound/abis.js.map +1 -0
- package/src/plugins/compound/constants.d.ts +6 -0
- package/src/plugins/compound/constants.js +100 -0
- package/src/plugins/compound/constants.js.map +1 -0
- package/src/plugins/compound/getPositionsV3Fetcher.d.ts +3 -0
- package/src/plugins/compound/getPositionsV3Fetcher.js +130 -0
- package/src/plugins/compound/getPositionsV3Fetcher.js.map +1 -0
- package/src/plugins/compound/index.d.ts +6 -0
- package/src/plugins/compound/index.js +17 -0
- package/src/plugins/compound/index.js.map +1 -0
- package/src/plugins/compound/marketsJob.d.ts +3 -0
- package/src/plugins/compound/marketsJob.js +39 -0
- package/src/plugins/compound/marketsJob.js.map +1 -0
- package/src/plugins/compound/types.d.ts +13 -0
- package/src/plugins/compound/types.js +3 -0
- package/src/plugins/compound/types.js.map +1 -0
- package/src/plugins/stargate/abis.d.ts +143 -0
- package/src/plugins/stargate/abis.js +161 -0
- package/src/plugins/stargate/abis.js.map +1 -0
- package/src/plugins/stargate/constants.d.ts +7 -0
- package/src/plugins/stargate/constants.js +37 -0
- package/src/plugins/stargate/constants.js.map +1 -0
- package/src/plugins/stargate/farmsJob.d.ts +3 -0
- package/src/plugins/stargate/farmsJob.js +48 -0
- package/src/plugins/stargate/farmsJob.js.map +1 -0
- package/src/plugins/stargate/gePoolPositionsFetcher.d.ts +3 -0
- package/src/plugins/stargate/gePoolPositionsFetcher.js +90 -0
- package/src/plugins/stargate/gePoolPositionsFetcher.js.map +1 -0
- package/src/plugins/stargate/getFarmPositionsFetcher.d.ts +3 -0
- package/src/plugins/stargate/getFarmPositionsFetcher.js +94 -0
- package/src/plugins/stargate/getFarmPositionsFetcher.js.map +1 -0
- package/src/plugins/stargate/getVoteTokensFetcher.d.ts +3 -0
- package/src/plugins/stargate/getVoteTokensFetcher.js +69 -0
- package/src/plugins/stargate/getVoteTokensFetcher.js.map +1 -0
- package/src/plugins/stargate/index.d.ts +6 -0
- package/src/plugins/stargate/index.js +24 -0
- package/src/plugins/stargate/index.js.map +1 -0
- package/src/plugins/stargate/poolsJob.d.ts +3 -0
- package/src/plugins/stargate/poolsJob.js +105 -0
- package/src/plugins/stargate/poolsJob.js.map +1 -0
- package/src/plugins/stargate/types.d.ts +8 -0
- package/src/plugins/stargate/types.js +3 -0
- package/src/plugins/stargate/types.js.map +1 -0
@@ -0,0 +1,69 @@
|
|
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
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
|
+
};
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
exports.getVoteTokensFetcher = void 0;
|
16
|
+
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
17
|
+
const clients_1 = require("../../utils/clients");
|
18
|
+
const abis_1 = require("./abis");
|
19
|
+
const constants_1 = require("./constants");
|
20
|
+
const tokenPriceToAssetToken_1 = __importDefault(require("../../utils/misc/tokenPriceToAssetToken"));
|
21
|
+
function getVoteTokensFetcher(config) {
|
22
|
+
const { networkId, votingEscrow, stgAddress } = config;
|
23
|
+
const executor = (owner, cache) => __awaiter(this, void 0, void 0, function* () {
|
24
|
+
const client = (0, clients_1.getEvmClient)(networkId);
|
25
|
+
const tokenPrice = yield cache.getTokenPrice(stgAddress, networkId);
|
26
|
+
if (!tokenPrice)
|
27
|
+
return [];
|
28
|
+
const contract = {
|
29
|
+
address: votingEscrow,
|
30
|
+
abi: abis_1.lockedAbi,
|
31
|
+
functionName: 'locked',
|
32
|
+
args: [owner],
|
33
|
+
};
|
34
|
+
const results = yield client.readContract(contract);
|
35
|
+
if (results[0] === BigInt(0))
|
36
|
+
return [];
|
37
|
+
const amountLocked = Number(results[0]) / Math.pow(10, tokenPrice.decimals);
|
38
|
+
const assets = [
|
39
|
+
(0, tokenPriceToAssetToken_1.default)(stgAddress, amountLocked, networkId, tokenPrice, tokenPrice.price),
|
40
|
+
];
|
41
|
+
const value = amountLocked * tokenPrice.price;
|
42
|
+
const liquidity = {
|
43
|
+
assets,
|
44
|
+
assetsValue: value,
|
45
|
+
value,
|
46
|
+
yields: [],
|
47
|
+
rewardAssets: [],
|
48
|
+
rewardAssetsValue: null,
|
49
|
+
};
|
50
|
+
return [
|
51
|
+
{
|
52
|
+
networkId,
|
53
|
+
platformId: constants_1.platformId,
|
54
|
+
label: 'Vesting',
|
55
|
+
type: portfolio_core_1.PortfolioElementType.liquidity,
|
56
|
+
data: { liquidities: [liquidity] },
|
57
|
+
value,
|
58
|
+
name: 'Voting Escrow',
|
59
|
+
},
|
60
|
+
];
|
61
|
+
});
|
62
|
+
return {
|
63
|
+
executor,
|
64
|
+
networkId,
|
65
|
+
id: `${constants_1.platformId}-${networkId}-vesting`,
|
66
|
+
};
|
67
|
+
}
|
68
|
+
exports.getVoteTokensFetcher = getVoteTokensFetcher;
|
69
|
+
//# sourceMappingURL=getVoteTokensFetcher.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getVoteTokensFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/stargate/getVoteTokensFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAIoC;AACpC,iDAAmD;AAGnD,iCAAmC;AACnC,2CAAyC;AACzC,qGAA6E;AAG7E,SAAgB,oBAAoB,CAAC,MAAiB;IACpD,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC;IACvD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;QACtE,MAAM,MAAM,GAAG,IAAA,sBAAY,EAAC,SAAS,CAAC,CAAC;QAEvC,MAAM,UAAU,GAAG,MAAM,KAAK,CAAC,aAAa,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC;QACpE,IAAI,CAAC,UAAU;YAAE,OAAO,EAAE,CAAC;QAE3B,MAAM,QAAQ,GAAG;YACf,OAAO,EAAE,YAAY;YACrB,GAAG,EAAE,gBAAS;YACd,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,CAAC,KAAsB,CAAC;SACtB,CAAC;QACX,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;QACpD,IAAI,OAAO,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC;YAAE,OAAO,EAAE,CAAC;QAExC,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,SAAA,EAAE,EAAI,UAAU,CAAC,QAAQ,CAAA,CAAC;QAEpE,MAAM,MAAM,GAA0B;YACpC,IAAA,gCAAsB,EACpB,UAAU,EACV,YAAY,EACZ,SAAS,EACT,UAAU,EACV,UAAU,CAAC,KAAK,CACjB;SACF,CAAC;QACF,MAAM,KAAK,GAAG,YAAY,GAAG,UAAU,CAAC,KAAK,CAAC;QAE9C,MAAM,SAAS,GAAuB;YACpC,MAAM;YACN,WAAW,EAAE,KAAK;YAClB,KAAK;YACL,MAAM,EAAE,EAAE;YACV,YAAY,EAAE,EAAE;YAChB,iBAAiB,EAAE,IAAI;SACxB,CAAC;QAEF,OAAO;YACL;gBACE,SAAS;gBACT,UAAU,EAAV,sBAAU;gBACV,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE,qCAAoB,CAAC,SAAS;gBACpC,IAAI,EAAE,EAAE,WAAW,EAAE,CAAC,SAAS,CAAC,EAAE;gBAClC,KAAK;gBACL,IAAI,EAAE,eAAe;aACtB;SACF,CAAC;IACJ,CAAC,CAAA,CAAC;IACF,OAAO;QACL,QAAQ;QACR,SAAS;QACT,EAAE,EAAE,GAAG,sBAAU,IAAI,SAAS,UAAU;KACzC,CAAC;AACJ,CAAC;AAxDD,oDAwDC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.platforms = exports.fetchers = exports.jobs = void 0;
|
7
|
+
const gePoolPositionsFetcher_1 = require("./gePoolPositionsFetcher");
|
8
|
+
const poolsJob_1 = __importDefault(require("./poolsJob"));
|
9
|
+
const farmsJob_1 = __importDefault(require("./farmsJob"));
|
10
|
+
const constants_1 = require("./constants");
|
11
|
+
const getFarmPositionsFetcher_1 = require("./getFarmPositionsFetcher");
|
12
|
+
const getVoteTokensFetcher_1 = require("./getVoteTokensFetcher");
|
13
|
+
exports.jobs = [poolsJob_1.default, farmsJob_1.default];
|
14
|
+
exports.fetchers = [
|
15
|
+
...constants_1.stargateNetworksConfigs
|
16
|
+
.map((config) => [
|
17
|
+
(0, gePoolPositionsFetcher_1.getPoolsPositionsFetcher)(config),
|
18
|
+
(0, getFarmPositionsFetcher_1.getFarmsPositionsFetcher)(config),
|
19
|
+
(0, getVoteTokensFetcher_1.getVoteTokensFetcher)(config),
|
20
|
+
])
|
21
|
+
.flat(),
|
22
|
+
];
|
23
|
+
exports.platforms = [constants_1.stargatePlatform];
|
24
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/stargate/index.ts"],"names":[],"mappings":";;;;;;AAGA,qEAAoE;AACpE,0DAAkC;AAClC,0DAAkC;AAClC,2CAAwE;AACxE,uEAAqE;AACrE,iEAA8D;AAEjD,QAAA,IAAI,GAAU,CAAC,kBAAQ,EAAE,kBAAQ,CAAC,CAAC;AACnC,QAAA,QAAQ,GAAc;IACjC,GAAG,mCAAuB;SACvB,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;QACf,IAAA,iDAAwB,EAAC,MAAM,CAAC;QAChC,IAAA,kDAAwB,EAAC,MAAM,CAAC;QAChC,IAAA,2CAAoB,EAAC,MAAM,CAAC;KAC7B,CAAC;SACD,IAAI,EAAE;CACV,CAAC;AACW,QAAA,SAAS,GAAe,CAAC,4BAAgB,CAAC,CAAC"}
|
@@ -0,0 +1,105 @@
|
|
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
|
+
const viem_1 = require("viem");
|
13
|
+
const clients_1 = require("../../utils/clients");
|
14
|
+
const constants_1 = require("./constants");
|
15
|
+
const abis_1 = require("./abis");
|
16
|
+
const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
17
|
+
for (const config of constants_1.stargateNetworksConfigs) {
|
18
|
+
const { poolsContract: address, networkId } = config;
|
19
|
+
const client = (0, clients_1.getEvmClient)(networkId);
|
20
|
+
const contract = {
|
21
|
+
address,
|
22
|
+
abi: abis_1.allPoolsLengthAbi,
|
23
|
+
functionName: 'allPoolsLength',
|
24
|
+
};
|
25
|
+
const poolsLength = yield client.readContract(contract);
|
26
|
+
const poolsAddressesContracts = [];
|
27
|
+
for (let i = BigInt(0); i < Number(poolsLength); i++) {
|
28
|
+
poolsAddressesContracts.push({
|
29
|
+
address,
|
30
|
+
abi: abis_1.allPoolsAbi,
|
31
|
+
functionName: 'allPools',
|
32
|
+
args: [i],
|
33
|
+
});
|
34
|
+
}
|
35
|
+
const results = yield client.multicall({
|
36
|
+
contracts: poolsAddressesContracts,
|
37
|
+
});
|
38
|
+
const poolsAddresses = results
|
39
|
+
.map((res) => (res.status === 'failure' ? [] : res.result))
|
40
|
+
.flat();
|
41
|
+
const tokensAddressesContracts = poolsAddresses.map((poolAd) => ({
|
42
|
+
address: poolAd,
|
43
|
+
abi: abis_1.tokenAbi,
|
44
|
+
functionName: 'token',
|
45
|
+
}));
|
46
|
+
const tokensAddressesResults = yield client.multicall({
|
47
|
+
contracts: tokensAddressesContracts,
|
48
|
+
});
|
49
|
+
const tokensAddresses = tokensAddressesResults
|
50
|
+
.map((res) => (res.status === 'failure' ? '0' : res.result))
|
51
|
+
.flat();
|
52
|
+
const poolsDecimalsContract = poolsAddresses.map((poolAd) => ({
|
53
|
+
address: poolAd,
|
54
|
+
abi: abis_1.decimalsAbi,
|
55
|
+
functionName: 'decimals',
|
56
|
+
}));
|
57
|
+
const decimalsResults = yield client.multicall({
|
58
|
+
contracts: poolsDecimalsContract,
|
59
|
+
});
|
60
|
+
const poolsDecimals = decimalsResults.map((res) => res.status === 'failure' ? -1 : res.result);
|
61
|
+
// handle ETH specific case
|
62
|
+
poolsAddresses.push('0x72e2f4830b9e45d52f80ac08cb2bec0fef72ed9c');
|
63
|
+
tokensAddresses.push(viem_1.zeroAddress);
|
64
|
+
const tokensPrices = yield cache.getTokenPrices(tokensAddresses, networkId);
|
65
|
+
for (let i = 0; i < poolsAddresses.length; i++) {
|
66
|
+
const tokenPrice = tokensPrices[i];
|
67
|
+
if (!tokenPrice)
|
68
|
+
continue;
|
69
|
+
const poolAddress = poolsAddresses[i];
|
70
|
+
const poolDecimals = poolsDecimals[i];
|
71
|
+
if (poolDecimals === -1)
|
72
|
+
continue;
|
73
|
+
const { price } = tokenPrice;
|
74
|
+
yield cache.setTokenPriceSource({
|
75
|
+
address: poolAddress,
|
76
|
+
decimals: Number(poolDecimals),
|
77
|
+
id: constants_1.platformId,
|
78
|
+
networkId,
|
79
|
+
platformId: constants_1.platformId,
|
80
|
+
price,
|
81
|
+
timestamp: Date.now(),
|
82
|
+
weight: 1,
|
83
|
+
underlyings: [
|
84
|
+
{
|
85
|
+
address: tokenPrice.address,
|
86
|
+
amountPerLp: 1,
|
87
|
+
decimals: tokenPrice.decimals,
|
88
|
+
networkId,
|
89
|
+
price: tokenPrice.price,
|
90
|
+
},
|
91
|
+
],
|
92
|
+
});
|
93
|
+
}
|
94
|
+
yield cache.setItem(constants_1.poolsKey, poolsAddresses, {
|
95
|
+
prefix: constants_1.platformId,
|
96
|
+
networkId,
|
97
|
+
});
|
98
|
+
}
|
99
|
+
});
|
100
|
+
const job = {
|
101
|
+
id: `${constants_1.platformId}-pools`,
|
102
|
+
executor,
|
103
|
+
};
|
104
|
+
exports.default = job;
|
105
|
+
//# sourceMappingURL=poolsJob.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/stargate/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+BAAmC;A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