@sonarwatch/portfolio-plugins 0.7.0 → 0.7.1
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.d.ts +0 -1
- package/src/index.js +30 -15
- package/src/index.js.map +1 -1
- package/src/plugins/aave/constants.d.ts +2 -1
- package/src/plugins/aave/constants.js +6 -1
- package/src/plugins/aave/constants.js.map +1 -1
- package/src/plugins/aave/index.d.ts +2 -0
- package/src/plugins/aave/index.js +2 -1
- package/src/plugins/aave/index.js.map +1 -1
- package/src/plugins/aftermath/constants.d.ts +2 -0
- package/src/plugins/aftermath/constants.js +6 -1
- package/src/plugins/aftermath/constants.js.map +1 -1
- package/src/plugins/aftermath/index.d.ts +2 -0
- package/src/plugins/aftermath/index.js +3 -1
- package/src/plugins/aftermath/index.js.map +1 -1
- package/src/plugins/astroport/constants.d.ts +2 -0
- package/src/plugins/astroport/constants.js +6 -1
- package/src/plugins/astroport/constants.js.map +1 -1
- package/src/plugins/astroport/index.d.ts +2 -0
- package/src/plugins/astroport/index.js +3 -1
- package/src/plugins/astroport/index.js.map +1 -1
- package/src/plugins/auxexchange/constants.d.ts +2 -0
- package/src/plugins/auxexchange/constants.js +6 -1
- package/src/plugins/auxexchange/constants.js.map +1 -1
- package/src/plugins/auxexchange/index.d.ts +2 -0
- package/src/plugins/auxexchange/index.js +3 -1
- package/src/plugins/auxexchange/index.js.map +1 -1
- package/src/plugins/cetus/constants.d.ts +2 -0
- package/src/plugins/cetus/constants.js +6 -1
- package/src/plugins/cetus/constants.js.map +1 -1
- package/src/plugins/cetus/index.d.ts +2 -0
- package/src/plugins/cetus/index.js +3 -1
- package/src/plugins/cetus/index.js.map +1 -1
- package/src/plugins/drift/constants.d.ts +2 -0
- package/src/plugins/drift/constants.js +6 -1
- package/src/plugins/drift/constants.js.map +1 -1
- package/src/plugins/drift/index.d.ts +2 -0
- package/src/plugins/drift/index.js +3 -1
- package/src/plugins/drift/index.js.map +1 -1
- package/src/plugins/liquiditypools-sei/constants.d.ts +4 -1
- package/src/plugins/liquiditypools-sei/constants.js +16 -7
- package/src/plugins/liquiditypools-sei/constants.js.map +1 -1
- package/src/plugins/liquiditypools-sei/fetcher.js +1 -1
- package/src/plugins/liquiditypools-sei/fetcher.js.map +1 -1
- package/src/plugins/liquiditypools-sei/index.d.ts +2 -0
- package/src/plugins/liquiditypools-sei/index.js +3 -1
- package/src/plugins/liquiditypools-sei/index.js.map +1 -1
- package/src/plugins/liquiditypools-sei/job.js +1 -1
- package/src/plugins/liquiditypools-sei/job.js.map +1 -1
- package/src/plugins/liquidswap/constants.d.ts +2 -0
- package/src/plugins/liquidswap/constants.js +6 -1
- package/src/plugins/liquidswap/constants.js.map +1 -1
- package/src/plugins/liquidswap/index.d.ts +2 -0
- package/src/plugins/liquidswap/index.js +3 -1
- package/src/plugins/liquidswap/index.js.map +1 -1
- package/src/plugins/maker/sdaiJob.js +2 -2
- package/src/plugins/maker/sdaiJob.js.map +1 -1
- package/src/plugins/mango/constants.d.ts +2 -0
- package/src/plugins/mango/constants.js +6 -1
- package/src/plugins/mango/constants.js.map +1 -1
- package/src/plugins/mango/index.d.ts +2 -0
- package/src/plugins/mango/index.js +3 -1
- package/src/plugins/mango/index.js.map +1 -1
- package/src/plugins/marginfi/constants.d.ts +2 -0
- package/src/plugins/marginfi/constants.js +6 -1
- package/src/plugins/marginfi/constants.js.map +1 -1
- package/src/plugins/marginfi/index.d.ts +2 -0
- package/src/plugins/marginfi/index.js +3 -1
- package/src/plugins/marginfi/index.js.map +1 -1
- package/src/plugins/marinade/constants.d.ts +3 -1
- package/src/plugins/marinade/constants.js +7 -3
- package/src/plugins/marinade/constants.js.map +1 -1
- package/src/plugins/marinade/index.d.ts +2 -0
- package/src/plugins/marinade/index.js +3 -1
- package/src/plugins/marinade/index.js.map +1 -1
- package/src/plugins/meteora/constants.d.ts +2 -0
- package/src/plugins/meteora/constants.js +6 -1
- package/src/plugins/meteora/constants.js.map +1 -1
- package/src/plugins/meteora/index.d.ts +2 -0
- package/src/plugins/meteora/index.js +3 -1
- package/src/plugins/meteora/index.js.map +1 -1
- package/src/plugins/morpho/constants.d.ts +2 -0
- package/src/plugins/morpho/constants.js +6 -1
- package/src/plugins/morpho/constants.js.map +1 -1
- package/src/plugins/morpho/index.d.ts +2 -0
- package/src/plugins/morpho/index.js +3 -1
- package/src/plugins/morpho/index.js.map +1 -1
- package/src/plugins/native-stake/aptosFetcher.js +1 -2
- package/src/plugins/native-stake/aptosFetcher.js.map +1 -1
- package/src/plugins/native-stake/constants.d.ts +2 -0
- package/src/plugins/native-stake/constants.js +6 -1
- package/src/plugins/native-stake/constants.js.map +1 -1
- package/src/plugins/native-stake/index.d.ts +2 -0
- package/src/plugins/native-stake/index.js +3 -1
- package/src/plugins/native-stake/index.js.map +1 -1
- package/src/plugins/native-stake/solanaFetcher.js +2 -3
- package/src/plugins/native-stake/solanaFetcher.js.map +1 -1
- package/src/plugins/native-stake/suiFetcher.js +1 -2
- package/src/plugins/native-stake/suiFetcher.js.map +1 -1
- package/src/plugins/orca/constants.d.ts +2 -0
- package/src/plugins/orca/constants.js +6 -1
- package/src/plugins/orca/constants.js.map +1 -1
- package/src/plugins/orca/index.d.ts +2 -0
- package/src/plugins/orca/index.js +3 -1
- package/src/plugins/orca/index.js.map +1 -1
- package/src/plugins/orders/clobs-solana/constants.d.ts +3 -0
- package/src/plugins/orders/clobs-solana/constants.js +15 -6
- package/src/plugins/orders/clobs-solana/constants.js.map +1 -1
- package/src/plugins/orders/clobs-solana/openbookFetcher.js +2 -3
- package/src/plugins/orders/clobs-solana/openbookFetcher.js.map +1 -1
- package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js +4 -4
- package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js.map +1 -1
- package/src/plugins/orders/constants.d.ts +1 -1
- package/src/plugins/orders/constants.js +2 -2
- package/src/plugins/orders/constants.js.map +1 -1
- package/src/plugins/orders/index.d.ts +2 -0
- package/src/plugins/orders/index.js +8 -1
- package/src/plugins/orders/index.js.map +1 -1
- package/src/plugins/orders/jupiter/constants.d.ts +2 -0
- package/src/plugins/orders/jupiter/constants.js +9 -0
- package/src/plugins/orders/jupiter/constants.js.map +1 -0
- package/src/plugins/orders/jupiter/limitFetcher.js +3 -3
- package/src/plugins/orders/jupiter/limitFetcher.js.map +1 -1
- package/src/plugins/pancakeswap/constants.d.ts +2 -0
- package/src/plugins/pancakeswap/constants.js +6 -1
- package/src/plugins/pancakeswap/constants.js.map +1 -1
- package/src/plugins/pancakeswap/index.d.ts +2 -0
- package/src/plugins/pancakeswap/index.js +3 -1
- package/src/plugins/pancakeswap/index.js.map +1 -1
- package/src/plugins/raydium/constants.d.ts +2 -0
- package/src/plugins/raydium/constants.js +6 -1
- package/src/plugins/raydium/constants.js.map +1 -1
- package/src/plugins/raydium/index.d.ts +2 -0
- package/src/plugins/raydium/index.js +3 -1
- package/src/plugins/raydium/index.js.map +1 -1
- package/src/plugins/saber/constants.d.ts +2 -0
- package/src/plugins/saber/constants.js +6 -1
- package/src/plugins/saber/constants.js.map +1 -1
- package/src/plugins/saber/index.d.ts +2 -0
- package/src/plugins/saber/index.js +3 -1
- package/src/plugins/saber/index.js.map +1 -1
- package/src/plugins/solend/constants.d.ts +2 -0
- package/src/plugins/solend/constants.js +6 -1
- package/src/plugins/solend/constants.js.map +1 -1
- package/src/plugins/solend/index.d.ts +2 -0
- package/src/plugins/solend/index.js +3 -1
- package/src/plugins/solend/index.js.map +1 -1
- package/src/plugins/staking-aptos/constants.d.ts +2 -0
- package/src/plugins/staking-aptos/constants.js +7 -3
- package/src/plugins/staking-aptos/constants.js.map +1 -1
- package/src/plugins/staking-aptos/index.d.ts +2 -0
- package/src/plugins/staking-aptos/index.js +3 -1
- package/src/plugins/staking-aptos/index.js.map +1 -1
- package/src/plugins/tensor/constants.d.ts +3 -1
- package/src/plugins/tensor/constants.js +7 -3
- package/src/plugins/tensor/constants.js.map +1 -1
- package/src/plugins/tensor/index.d.ts +2 -0
- package/src/plugins/tensor/index.js +3 -1
- package/src/plugins/tensor/index.js.map +1 -1
- package/src/plugins/thala/constants.d.ts +2 -0
- package/src/plugins/thala/constants.js +6 -1
- package/src/plugins/thala/constants.js.map +1 -1
- package/src/plugins/thala/index.d.ts +2 -0
- package/src/plugins/thala/index.js +3 -1
- package/src/plugins/thala/index.js.map +1 -1
- package/src/plugins/tokens/constants.d.ts +3 -0
- package/src/plugins/tokens/constants.js +12 -3
- package/src/plugins/tokens/constants.js.map +1 -1
- package/src/plugins/tokens/fetchers/aptos-nfts.js +3 -3
- package/src/plugins/tokens/fetchers/aptos-nfts.js.map +1 -1
- package/src/plugins/tokens/fetchers/aptos.js +4 -4
- package/src/plugins/tokens/fetchers/aptos.js.map +1 -1
- package/src/plugins/tokens/fetchers/evms/evmExecutorGenerator.js +1 -2
- package/src/plugins/tokens/fetchers/evms/evmExecutorGenerator.js.map +1 -1
- package/src/plugins/tokens/fetchers/evms/evmNativeExecutorGenerator.js +2 -2
- package/src/plugins/tokens/fetchers/evms/evmNativeExecutorGenerator.js.map +1 -1
- package/src/plugins/tokens/fetchers/evms/index.js +4 -4
- package/src/plugins/tokens/fetchers/evms/index.js.map +1 -1
- package/src/plugins/tokens/fetchers/sei.js +3 -3
- package/src/plugins/tokens/fetchers/sei.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-native.js +3 -3
- package/src/plugins/tokens/fetchers/solana-native.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js +2 -2
- package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-nfts.js +3 -3
- package/src/plugins/tokens/fetchers/solana-nfts.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana.js +4 -4
- package/src/plugins/tokens/fetchers/solana.js.map +1 -1
- package/src/plugins/tokens/fetchers/sui-nfts.js +3 -3
- package/src/plugins/tokens/fetchers/sui-nfts.js.map +1 -1
- package/src/plugins/tokens/fetchers/sui.js +2 -3
- package/src/plugins/tokens/fetchers/sui.js.map +1 -1
- package/src/plugins/tokens/index.d.ts +2 -0
- package/src/plugins/tokens/index.js +10 -9
- package/src/plugins/tokens/index.js.map +1 -1
- package/src/plugins/turbos/constants.d.ts +2 -0
- package/src/plugins/turbos/constants.js +6 -1
- package/src/plugins/turbos/constants.js.map +1 -1
- package/src/plugins/turbos/index.d.ts +2 -0
- package/src/plugins/turbos/index.js +3 -1
- package/src/plugins/turbos/index.js.map +1 -1
- package/src/utils/misc/computeAndStoreTokenPrice.js +2 -2
- package/src/utils/misc/computeAndStoreTokenPrice.js.map +1 -1
- package/src/platforms.d.ts +0 -33
- package/src/platforms.js +0 -164
- package/src/platforms.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solana.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DASoC;AACpC,6CAA4C;AAG5C,
|
1
|
+
{"version":3,"file":"solana.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DASoC;AACpC,6CAA4C;AAG5C,4CAAoD;AACpD,oDAAyD;AACzD,kDAAgE;AAChE,0GAAkF;AAClF,wGAAgF;AAEhF,SAAS,MAAM,CAAC,UAAkB,EAAE,WAAoB;IACtD,OAAO,GAAG,UAAU,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;AAClE,CAAC;AAED,SAAS,QAAQ,CAAC,GAAW;IAI3B,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAClC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC;QAAE,MAAM,IAAI,KAAK,CAA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AAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -14,9 +14,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
16
|
const sui_js_1 = require("@mysten/sui.js");
|
17
|
-
const platforms_1 = require("../../../platforms");
|
18
17
|
const clients_1 = require("../../../utils/clients");
|
19
18
|
const getFormattedCollectionNameAndId_1 = __importDefault(require("../../../utils/sui/getFormattedCollectionNameAndId"));
|
19
|
+
const constants_1 = require("../constants");
|
20
20
|
const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
21
21
|
const client = (0, clients_1.getClientSui)();
|
22
22
|
const assets = [];
|
@@ -85,7 +85,7 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
85
85
|
const element = {
|
86
86
|
type: portfolio_core_1.PortfolioElementType.multiple,
|
87
87
|
networkId: portfolio_core_1.NetworkId.sui,
|
88
|
-
platformId:
|
88
|
+
platformId: constants_1.walletNftsPlatform.id,
|
89
89
|
label: 'Wallet',
|
90
90
|
value: null,
|
91
91
|
data: {
|
@@ -95,7 +95,7 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
95
95
|
return [element];
|
96
96
|
});
|
97
97
|
const fetcher = {
|
98
|
-
id: `${
|
98
|
+
id: `${constants_1.walletNftsPlatform.id}-${portfolio_core_1.NetworkId.sui}`,
|
99
99
|
networkId: portfolio_core_1.NetworkId.sui,
|
100
100
|
executor,
|
101
101
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sui-nfts.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui-nfts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,2CAMwB;
|
1
|
+
{"version":3,"file":"sui-nfts.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/f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,OAAO,CAAC,CAAC;AACnB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,8BAAkB,CAAC,EAAE,IAAI,0BAAS,CAAC,GAAG,EAAE;IAC/C,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -13,7 +13,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
|
-
const platforms_1 = require("../../../platforms");
|
17
16
|
const clients_1 = require("../../../utils/clients");
|
18
17
|
const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
|
19
18
|
const constants_1 = require("../constants");
|
@@ -49,7 +48,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
49
48
|
const element = {
|
50
49
|
type: portfolio_core_1.PortfolioElementType.multiple,
|
51
50
|
networkId: portfolio_core_1.NetworkId.sui,
|
52
|
-
platformId: constants_1.
|
51
|
+
platformId: constants_1.walletTokensPlatform.id,
|
53
52
|
label: 'Wallet',
|
54
53
|
value: (0, portfolio_core_1.getUsdValueSum)(walletTokensAssets.map((a) => a.value)),
|
55
54
|
data: {
|
@@ -59,7 +58,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
59
58
|
return [element];
|
60
59
|
});
|
61
60
|
const fetcher = {
|
62
|
-
id: `${
|
61
|
+
id: `${constants_1.walletTokensPlatform.id}-sui`,
|
63
62
|
networkId: portfolio_core_1.NetworkId.sui,
|
64
63
|
executor,
|
65
64
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sui.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+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Default) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.fetchers = exports.jobs = void 0;
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
8
|
-
const platforms_1 = require("../../platforms");
|
9
8
|
const jobExecutorGenerator_1 = __importDefault(require("./jobExecutorGenerator"));
|
10
9
|
const aptos_1 = __importDefault(require("./fetchers/aptos"));
|
11
10
|
const aptos_nfts_1 = __importDefault(require("./fetchers/aptos-nfts"));
|
@@ -18,33 +17,35 @@ const solana_nfts_1 = __importDefault(require("./fetchers/solana-nfts"));
|
|
18
17
|
const solana_nfts_underlyings_1 = __importDefault(require("./fetchers/solana-nfts-underlyings"));
|
19
18
|
const tokenListsJob_1 = __importDefault(require("./tokenListsJob"));
|
20
19
|
const evms_1 = require("./fetchers/evms");
|
20
|
+
const constants_1 = require("./constants");
|
21
|
+
exports.platforms = [constants_1.walletTokensPlatform, constants_1.walletNftsPlatform];
|
21
22
|
exports.jobs = [
|
22
23
|
{
|
23
|
-
id: `${
|
24
|
+
id: `${constants_1.walletTokensPlatform.id}-${portfolio_core_1.NetworkId.aptos}`,
|
24
25
|
executor: (0, jobExecutorGenerator_1.default)(portfolio_core_1.NetworkId.aptos),
|
25
26
|
},
|
26
27
|
{
|
27
|
-
id: `${
|
28
|
+
id: `${constants_1.walletTokensPlatform.id}-${portfolio_core_1.NetworkId.solana}`,
|
28
29
|
executor: (0, jobExecutorGenerator_1.default)(portfolio_core_1.NetworkId.solana),
|
29
30
|
},
|
30
31
|
{
|
31
|
-
id: `${
|
32
|
+
id: `${constants_1.walletTokensPlatform.id}-${portfolio_core_1.NetworkId.ethereum}`,
|
32
33
|
executor: (0, jobExecutorGenerator_1.default)(portfolio_core_1.NetworkId.ethereum),
|
33
34
|
},
|
34
35
|
{
|
35
|
-
id: `${
|
36
|
+
id: `${constants_1.walletTokensPlatform.id}-${portfolio_core_1.NetworkId.avalanche}`,
|
36
37
|
executor: (0, jobExecutorGenerator_1.default)(portfolio_core_1.NetworkId.avalanche),
|
37
38
|
},
|
38
39
|
{
|
39
|
-
id: `${
|
40
|
+
id: `${constants_1.walletTokensPlatform.id}-${portfolio_core_1.NetworkId.polygon}`,
|
40
41
|
executor: (0, jobExecutorGenerator_1.default)(portfolio_core_1.NetworkId.polygon),
|
41
42
|
},
|
42
43
|
{
|
43
|
-
id: `${
|
44
|
+
id: `${constants_1.walletTokensPlatform.id}-${portfolio_core_1.NetworkId.sui}`,
|
44
45
|
executor: (0, jobExecutorGenerator_1.default)(portfolio_core_1.NetworkId.sui),
|
45
46
|
},
|
46
47
|
{
|
47
|
-
id: `${
|
48
|
+
id: `${constants_1.walletTokensPlatform.id}-${portfolio_core_1.NetworkId.sei}`,
|
48
49
|
executor: (0, jobExecutorGenerator_1.default)(portfolio_core_1.NetworkId.sei),
|
49
50
|
},
|
50
51
|
tokenListsJob_1.default,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/index.ts"],"names":[],"mappings":";;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAiE;AACjE,kFAA0D;AAC1D,6DAA4C;AAC5C,uEAAqD;AACrD,+DAA8C;AAC9C,yDAAwC;AACxC,mEAAiD;AACjD,yDAAwC;AACxC,6EAA2D;AAC3D,yEAAuD;AACvD,iGAA8E;AAE9E,oEAA4C;AAE5C,0CAA0D;AAC1D,2CAAuE;AAE1D,QAAA,SAAS,GAAe,CAAC,gCAAoB,EAAE,8BAAkB,CAAC,CAAC;AACnE,QAAA,IAAI,GAAU;IACzB;QACE,EAAE,EAAE,GAAG,gCAAoB,CAAC,EAAE,IAAI,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
import { Platform } from '@sonarwatch/portfolio-core';
|
1
2
|
export declare const platformId = "turbos";
|
3
|
+
export declare const turbosPlatform: Platform;
|
2
4
|
export declare const clmmPoolsPrefix: string;
|
3
5
|
export declare const poolTableId = "0x08984ed8705f44b6403705dc248896e56ab7961447820ae29be935ce0d32198b";
|
4
6
|
export declare const packageIdOriginal = "0x91bfbc386a41afcfd9b2533058d7e915a1d3829089cc268ff4333d54d6339ca1";
|
@@ -1,7 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.clmmNftType = exports.packageIdOriginal = exports.poolTableId = exports.clmmPoolsPrefix = exports.platformId = void 0;
|
3
|
+
exports.clmmNftType = exports.packageIdOriginal = exports.poolTableId = exports.clmmPoolsPrefix = exports.turbosPlatform = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'turbos';
|
5
|
+
exports.turbosPlatform = {
|
6
|
+
id: exports.platformId,
|
7
|
+
name: 'Turbos',
|
8
|
+
image: 'https://alpha.sonar.watch/img/platforms/turbos.png',
|
9
|
+
};
|
5
10
|
exports.clmmPoolsPrefix = `${exports.platformId}-clmmPools`;
|
6
11
|
exports.poolTableId = '0x08984ed8705f44b6403705dc248896e56ab7961447820ae29be935ce0d32198b';
|
7
12
|
exports.packageIdOriginal = '0x91bfbc386a41afcfd9b2533058d7e915a1d3829089cc268ff4333d54d6339ca1';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/turbos/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/turbos/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,oDAAoD;CAC5D,CAAC;AACW,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAE5C,QAAA,WAAW,GACtB,oEAAoE,CAAC;AAE1D,QAAA,iBAAiB,GAC5B,oEAAoE,CAAC;AAE1D,QAAA,WAAW,GAAG,GAAG,yBAAiB,mCAAmC,CAAC"}
|
@@ -3,9 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.fetchers = exports.jobs = void 0;
|
6
|
+
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const poolsJob_1 = __importDefault(require("./poolsJob"));
|
8
8
|
const clmmsPositionsFetcher_1 = __importDefault(require("./clmmsPositionsFetcher"));
|
9
|
+
const constants_1 = require("./constants");
|
10
|
+
exports.platforms = [constants_1.turbosPlatform];
|
9
11
|
exports.jobs = [poolsJob_1.default];
|
10
12
|
exports.fetchers = [clmmsPositionsFetcher_1.default];
|
11
13
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/turbos/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/turbos/index.ts"],"names":[],"mappings":";;;;;;AAGA,0DAAkC;AAClC,oFAA0D;AAC1D,2CAA6C;AAEhC,QAAA,SAAS,GAAe,CAAC,0BAAc,CAAC,CAAC;AACzC,QAAA,IAAI,GAAU,CAAC,kBAAQ,CAAC,CAAC;AACzB,QAAA,QAAQ,GAAc,CAAC,+BAAmB,CAAC,CAAC"}
|
@@ -15,8 +15,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.tokensToRelyOnByNetwork = void 0;
|
16
16
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
17
17
|
const getSourceWeight_1 = __importDefault(require("./getSourceWeight"));
|
18
|
-
const platforms_1 = require("../../platforms");
|
19
18
|
const getDecimalsForToken_1 = require("./getDecimalsForToken");
|
19
|
+
const constants_1 = require("../../plugins/tokens/constants");
|
20
20
|
/**
|
21
21
|
* This list is used to avoid calulating low liquidity tokens with others low liquidity tokens.
|
22
22
|
* To prevent wrong prices (with very low precision) to be calculated, we setup a list of tokens to rely on.
|
@@ -148,7 +148,7 @@ function checkComputeAndStoreTokensPrices(cache, source, networkId, tokenX, toke
|
|
148
148
|
weight,
|
149
149
|
address,
|
150
150
|
networkId,
|
151
|
-
platformId:
|
151
|
+
platformId: constants_1.walletTokensPlatform.id,
|
152
152
|
decimals,
|
153
153
|
price,
|
154
154
|
timestamp: Date.now(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"computeAndStoreTokenPrice.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/computeAndStoreTokenPrice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAKoC;AAGpC,wEAAgD;AAChD,+
|
1
|
+
{"version":3,"file":"computeAndStoreTokenPrice.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/computeAndStoreTokenPrice.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAKoC;AAGpC,wEAAgD;AAChD,+DAA4D;AAC5D,8DAAsE;AAetE;;;;;;;GAOG;AACU,QAAA,uBAAuB,GAAiC,IAAI,GAAG,CAAC;IAC3E;QACE,0BAAS,CAAC,GAAG;QACb;YACE,yBAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO;YAC3B,sEAAsE;YACtE,qHAAqH,EAAE,SAAS;SACjI;KACF;IACD;QACE,0BAAS,CAAC,MAAM;QAChB;YACE,yBAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO;YAC9B,6CAA6C;YAC7C,8CAA8C;YAC9C,6CAA6C;YAC7C,8CAA8C;YAC9C,8CAA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EAAE,MAAM;aACd,CAAC;YAEF,uBAAuB,GAAG;gBACxB,SAAS;gBACT,OAAO,EAAE,MAAM,CAAC,IAAI;gBACpB,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,MAAM;aACd,CAAC;YAEF,MAAM,KAAK,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC;YACtD,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,CAAC;SAC7D;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CAAA;AArID,mDAqIC"}
|
package/src/platforms.d.ts
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
import { Platform } from '@sonarwatch/portfolio-core';
|
2
|
-
export declare const walletTokensPlatform: Platform;
|
3
|
-
export declare const walletNftsPlatform: Platform;
|
4
|
-
export declare const marinadePlatform: Platform;
|
5
|
-
export declare const aavePlatform: Platform;
|
6
|
-
export declare const marginfiPlatform: Platform;
|
7
|
-
export declare const tensorPlatform: Platform;
|
8
|
-
export declare const thalaPlatform: Platform;
|
9
|
-
export declare const tortugaPlatform: Platform;
|
10
|
-
export declare const auxExchangePlatform: Platform;
|
11
|
-
export declare const pancakeswapPlatform: Platform;
|
12
|
-
export declare const liquidswapPlatform: Platform;
|
13
|
-
export declare const dittoPlatform: Platform;
|
14
|
-
export declare const animeswapPlatform: Platform;
|
15
|
-
export declare const raydiumPlatform: Platform;
|
16
|
-
export declare const solendPlatform: Platform;
|
17
|
-
export declare const orcaPlatform: Platform;
|
18
|
-
export declare const meteoraPlatform: Platform;
|
19
|
-
export declare const driftPlatform: Platform;
|
20
|
-
export declare const mangoPlatform: Platform;
|
21
|
-
export declare const cetusPlatform: Platform;
|
22
|
-
export declare const turbosPlatform: Platform;
|
23
|
-
export declare const meeiroPlatform: Platform;
|
24
|
-
export declare const nativeStakePlatform: Platform;
|
25
|
-
export declare const saberPlatform: Platform;
|
26
|
-
export declare const jupiterPlatform: Platform;
|
27
|
-
export declare const serumPlatform: Platform;
|
28
|
-
export declare const openbookPlatform: Platform;
|
29
|
-
export declare const morphoPlatform: Platform;
|
30
|
-
export declare const fuzioPlatform: Platform;
|
31
|
-
export declare const astroportPlatform: Platform;
|
32
|
-
export declare const seaswapPlatform: Platform;
|
33
|
-
export declare const aftermathPlatform: Platform;
|
package/src/platforms.js
DELETED
@@ -1,164 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.aftermathPlatform = exports.seaswapPlatform = exports.astroportPlatform = exports.fuzioPlatform = exports.morphoPlatform = exports.openbookPlatform = exports.serumPlatform = exports.jupiterPlatform = exports.saberPlatform = exports.nativeStakePlatform = exports.meeiroPlatform = exports.turbosPlatform = exports.cetusPlatform = exports.mangoPlatform = exports.driftPlatform = exports.meteoraPlatform = exports.orcaPlatform = exports.solendPlatform = exports.raydiumPlatform = exports.animeswapPlatform = exports.dittoPlatform = exports.liquidswapPlatform = exports.pancakeswapPlatform = exports.auxExchangePlatform = exports.tortugaPlatform = exports.thalaPlatform = exports.tensorPlatform = exports.marginfiPlatform = exports.aavePlatform = exports.marinadePlatform = exports.walletNftsPlatform = exports.walletTokensPlatform = void 0;
|
4
|
-
exports.walletTokensPlatform = {
|
5
|
-
id: 'wallet-tokens',
|
6
|
-
name: 'Tokens',
|
7
|
-
image: 'https://alpha.sonar.watch/img/platforms/wallet-tokens.png',
|
8
|
-
};
|
9
|
-
exports.walletNftsPlatform = {
|
10
|
-
id: 'wallet-nfts',
|
11
|
-
name: 'NFTs',
|
12
|
-
image: 'https://alpha.sonar.watch/img/platforms/wallet-nfts.png',
|
13
|
-
};
|
14
|
-
exports.marinadePlatform = {
|
15
|
-
id: 'marinade',
|
16
|
-
name: 'Marinade',
|
17
|
-
image: 'https://alpha.sonar.watch/img/platforms/marinade.png',
|
18
|
-
};
|
19
|
-
exports.aavePlatform = {
|
20
|
-
id: 'aave',
|
21
|
-
name: 'AAVE',
|
22
|
-
image: 'https://alpha.sonar.watch/img/platforms/aave.png',
|
23
|
-
};
|
24
|
-
exports.marginfiPlatform = {
|
25
|
-
id: 'marginfi',
|
26
|
-
name: 'Marginfi',
|
27
|
-
image: 'https://alpha.sonar.watch/img/platforms/marginfi.png',
|
28
|
-
};
|
29
|
-
exports.tensorPlatform = {
|
30
|
-
id: 'tensor',
|
31
|
-
name: 'Tensor',
|
32
|
-
image: 'https://alpha.sonar.watch/img/platforms/tensor.png',
|
33
|
-
};
|
34
|
-
exports.thalaPlatform = {
|
35
|
-
id: 'thala',
|
36
|
-
name: 'Thala',
|
37
|
-
image: 'https://alpha.sonar.watch/img/platforms/thala.png',
|
38
|
-
};
|
39
|
-
exports.tortugaPlatform = {
|
40
|
-
id: 'tortuga',
|
41
|
-
name: 'Tortuga Finance',
|
42
|
-
image: 'https://alpha.sonar.watch/img/platforms/tortuga.png',
|
43
|
-
};
|
44
|
-
exports.auxExchangePlatform = {
|
45
|
-
id: 'auxexchange',
|
46
|
-
name: 'Aux Exchange',
|
47
|
-
image: 'https://alpha.sonar.watch/img/platforms/auxexchange.png',
|
48
|
-
};
|
49
|
-
exports.pancakeswapPlatform = {
|
50
|
-
id: 'pancakeswap',
|
51
|
-
name: 'PancakeSwap',
|
52
|
-
image: 'https://alpha.sonar.watch/img/platforms/pancakeswap.png',
|
53
|
-
};
|
54
|
-
exports.liquidswapPlatform = {
|
55
|
-
id: 'liquidswap',
|
56
|
-
name: 'Liquidswap',
|
57
|
-
image: 'https://alpha.sonar.watch/img/platforms/liquidswap.png',
|
58
|
-
};
|
59
|
-
exports.dittoPlatform = {
|
60
|
-
id: 'ditto',
|
61
|
-
name: 'Ditto Finance',
|
62
|
-
image: 'https://alpha.sonar.watch/img/platforms/ditto.png',
|
63
|
-
};
|
64
|
-
exports.animeswapPlatform = {
|
65
|
-
id: 'animeswap',
|
66
|
-
name: 'AnimeSwap',
|
67
|
-
image: 'https://alpha.sonar.watch/img/platforms/animeswap.png',
|
68
|
-
};
|
69
|
-
exports.raydiumPlatform = {
|
70
|
-
id: 'raydium',
|
71
|
-
name: 'Raydium',
|
72
|
-
image: 'https://alpha.sonar.watch/img/platforms/raydium.png',
|
73
|
-
};
|
74
|
-
exports.solendPlatform = {
|
75
|
-
id: 'solend',
|
76
|
-
name: 'Solend',
|
77
|
-
image: 'https://alpha.sonar.watch/img/platforms/solend.png',
|
78
|
-
};
|
79
|
-
exports.orcaPlatform = {
|
80
|
-
id: 'orca',
|
81
|
-
name: 'Orca',
|
82
|
-
image: 'https://alpha.sonar.watch/img/platforms/orca.png',
|
83
|
-
};
|
84
|
-
exports.meteoraPlatform = {
|
85
|
-
id: 'meteora',
|
86
|
-
name: 'Meteora',
|
87
|
-
image: 'https://alpha.sonar.watch/img/platforms/meteora.png',
|
88
|
-
};
|
89
|
-
exports.driftPlatform = {
|
90
|
-
id: 'drift',
|
91
|
-
name: 'Drift',
|
92
|
-
image: 'https://alpha.sonar.watch/img/platforms/drift.png',
|
93
|
-
};
|
94
|
-
exports.mangoPlatform = {
|
95
|
-
id: 'mango',
|
96
|
-
name: 'Mango',
|
97
|
-
image: 'https://alpha.sonar.watch/img/platforms/mango.png',
|
98
|
-
};
|
99
|
-
exports.cetusPlatform = {
|
100
|
-
id: 'cetus',
|
101
|
-
name: 'Cetus',
|
102
|
-
image: 'https://alpha.sonar.watch/img/platforms/cetus.png',
|
103
|
-
};
|
104
|
-
exports.turbosPlatform = {
|
105
|
-
id: 'turbos',
|
106
|
-
name: 'Turbos',
|
107
|
-
image: 'https://alpha.sonar.watch/img/platforms/turbos.png',
|
108
|
-
};
|
109
|
-
exports.meeiroPlatform = {
|
110
|
-
id: 'meeiro',
|
111
|
-
name: 'Meeiro',
|
112
|
-
image: 'https://alpha.sonar.watch/img/platforms/meeiro.png',
|
113
|
-
};
|
114
|
-
exports.nativeStakePlatform = {
|
115
|
-
id: 'native-stake',
|
116
|
-
name: 'Native Stake',
|
117
|
-
image: 'https://alpha.sonar.watch/img/platforms/native-stake.png',
|
118
|
-
};
|
119
|
-
exports.saberPlatform = {
|
120
|
-
id: 'saber',
|
121
|
-
name: 'Saber',
|
122
|
-
image: 'https://alpha.sonar.watch/img/platforms/saber.png',
|
123
|
-
};
|
124
|
-
exports.jupiterPlatform = {
|
125
|
-
id: 'jupiter',
|
126
|
-
name: 'Jupiter',
|
127
|
-
image: 'https://alpha.sonar.watch/img/platforms/jupiter.png',
|
128
|
-
};
|
129
|
-
exports.serumPlatform = {
|
130
|
-
id: 'serum',
|
131
|
-
name: 'Serum',
|
132
|
-
image: 'https://alpha.sonar.watch/img/platforms/serum.png',
|
133
|
-
};
|
134
|
-
exports.openbookPlatform = {
|
135
|
-
id: 'openbook',
|
136
|
-
name: 'OpenBook',
|
137
|
-
image: 'https://alpha.sonar.watch/img/platforms/openbook.png',
|
138
|
-
};
|
139
|
-
exports.morphoPlatform = {
|
140
|
-
id: 'morpho',
|
141
|
-
name: 'Morpho',
|
142
|
-
image: 'https://alpha.sonar.watch/img/platforms/morpho.png',
|
143
|
-
};
|
144
|
-
exports.fuzioPlatform = {
|
145
|
-
id: 'fuzio',
|
146
|
-
name: 'Fuzio',
|
147
|
-
image: 'https://alpha.sonar.watch/img/platforms/fuzio.png',
|
148
|
-
};
|
149
|
-
exports.astroportPlatform = {
|
150
|
-
id: 'astroport',
|
151
|
-
name: 'Astroport',
|
152
|
-
image: 'https://alpha.sonar.watch/img/platforms/astroport.png',
|
153
|
-
};
|
154
|
-
exports.seaswapPlatform = {
|
155
|
-
id: 'seaswap',
|
156
|
-
name: 'Seaswap',
|
157
|
-
image: 'https://alpha.sonar.watch/img/platforms/seaswap.png',
|
158
|
-
};
|
159
|
-
exports.aftermathPlatform = {
|
160
|
-
id: 'aftermath',
|
161
|
-
name: 'Aftermath',
|
162
|
-
image: 'https://alpha.sonar.watch/img/platforms/aftermath.png',
|
163
|
-
};
|
164
|
-
//# sourceMappingURL=platforms.js.map
|
package/src/platforms.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"platforms.js","sourceRoot":"","s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