@sonarwatch/portfolio-plugins 0.11.183 → 0.11.185
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +1477 -1459
- package/README.md +3 -3
- package/package.json +2 -2
- package/src/generators/helpers.js +1 -1
- package/src/generators/helpers.js.map +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/plugins/aave/constants.d.ts +1 -1
- package/src/plugins/aave/constants.js +2 -2
- package/src/plugins/aave/constants.js.map +1 -1
- package/src/plugins/aave/index.js +1 -1
- package/src/plugins/aave/index.js.map +1 -1
- package/src/plugins/aftermath/constants.d.ts +1 -1
- package/src/plugins/aftermath/constants.js +2 -2
- package/src/plugins/aftermath/constants.js.map +1 -1
- package/src/plugins/aftermath/index.js +1 -1
- package/src/plugins/aftermath/index.js.map +1 -1
- package/src/plugins/aptin/constants.d.ts +3 -0
- package/src/plugins/aptin/constants.js +5 -2
- package/src/plugins/aptin/constants.js.map +1 -1
- package/src/plugins/aptin/depositsFetcher.js +2 -2
- package/src/plugins/aptin/depositsFetcher.js.map +1 -1
- package/src/plugins/armada-staking/constants.js +6 -6
- package/src/plugins/armada-staking/constants.js.map +1 -1
- package/src/plugins/aurory/constants.d.ts +1 -1
- package/src/plugins/aurory/constants.js +3 -3
- package/src/plugins/aurory/constants.js.map +1 -1
- package/src/plugins/aurory/stakingFetcher.js +2 -2
- package/src/plugins/aurory/stakingFetcher.js.map +1 -1
- package/src/plugins/auxexchange/aptosLpJob.js +2 -2
- package/src/plugins/auxexchange/aptosLpJob.js.map +1 -1
- package/src/plugins/auxexchange/constants.d.ts +2 -2
- package/src/plugins/auxexchange/constants.js +4 -4
- package/src/plugins/auxexchange/constants.js.map +1 -1
- package/src/plugins/auxexchange/index.js +1 -1
- package/src/plugins/auxexchange/index.js.map +1 -1
- package/src/plugins/balancer/helpers/pools.js +21 -21
- package/src/plugins/banx/constants.js +1 -1
- package/src/plugins/banx/constants.js.map +1 -1
- package/src/plugins/bucket/constants.d.ts +1 -1
- package/src/plugins/bucket/constants.js +2 -2
- package/src/plugins/bucket/constants.js.map +1 -1
- package/src/plugins/bucket/index.js +1 -1
- package/src/plugins/bucket/index.js.map +1 -1
- package/src/plugins/cetus/constants.d.ts +1 -1
- package/src/plugins/cetus/constants.js +2 -2
- package/src/plugins/cetus/constants.js.map +1 -1
- package/src/plugins/cetus/index.js +1 -1
- package/src/plugins/cetus/index.js.map +1 -1
- package/src/plugins/clone/constants.js +1 -1
- package/src/plugins/clone/constants.js.map +1 -1
- package/src/plugins/compound/constants.d.ts +1 -1
- package/src/plugins/compound/constants.js +2 -2
- package/src/plugins/compound/constants.js.map +1 -1
- package/src/plugins/compound/index.js +1 -1
- package/src/plugins/compound/index.js.map +1 -1
- package/src/plugins/curve/constants.d.ts +1 -1
- package/src/plugins/curve/constants.js +2 -2
- package/src/plugins/curve/constants.js.map +1 -1
- package/src/plugins/curve/index.js +1 -1
- package/src/plugins/curve/index.js.map +1 -1
- package/src/plugins/daos/constants.js +2 -1
- package/src/plugins/daos/constants.js.map +1 -1
- package/src/plugins/drift/constants.d.ts +1 -1
- package/src/plugins/drift/constants.js +2 -2
- package/src/plugins/drift/constants.js.map +1 -1
- package/src/plugins/drift/index.js +1 -1
- package/src/plugins/drift/index.js.map +1 -1
- package/src/plugins/flash/constants.d.ts +1 -0
- package/src/plugins/flash/constants.js +2 -1
- package/src/plugins/flash/constants.js.map +1 -1
- package/src/plugins/flash/poolJob.js +28 -4
- package/src/plugins/flash/poolJob.js.map +1 -1
- package/src/plugins/flash/stakeFetcher.js +42 -18
- package/src/plugins/flash/stakeFetcher.js.map +1 -1
- package/src/plugins/flash/types.d.ts +5 -0
- package/src/plugins/flexlend/constants.d.ts +1 -1
- package/src/plugins/flexlend/constants.js +2 -2
- package/src/plugins/flexlend/constants.js.map +1 -1
- package/src/plugins/flexlend/depositsFetcher.js +1 -1
- package/src/plugins/flexlend/depositsFetcher.js.map +1 -1
- package/src/plugins/flexlend/index.js +1 -1
- package/src/plugins/flexlend/index.js.map +1 -1
- package/src/plugins/goosefx/constants.d.ts +1 -1
- package/src/plugins/goosefx/constants.js +2 -2
- package/src/plugins/goosefx/constants.js.map +1 -1
- package/src/plugins/goosefx/index.js +1 -1
- package/src/plugins/goosefx/index.js.map +1 -1
- package/src/plugins/hawksight/constants.d.ts +1 -1
- package/src/plugins/hawksight/constants.js +2 -2
- package/src/plugins/hawksight/constants.js.map +1 -1
- package/src/plugins/hawksight/index.js +1 -1
- package/src/plugins/hawksight/index.js.map +1 -1
- package/src/plugins/jito/constants.d.ts +1 -1
- package/src/plugins/jito/constants.js +2 -2
- package/src/plugins/jito/constants.js.map +1 -1
- package/src/plugins/jito/index.js +1 -1
- package/src/plugins/jito/index.js.map +1 -1
- package/src/plugins/jupiter/exchange/constants.d.ts +1 -1
- package/src/plugins/jupiter/exchange/constants.js +2 -2
- package/src/plugins/jupiter/exchange/constants.js.map +1 -1
- package/src/plugins/jupiter/exchange/dcaFetcher.js +1 -1
- package/src/plugins/jupiter/exchange/dcaFetcher.js.map +1 -1
- package/src/plugins/jupiter/governance/constants.d.ts +2 -2
- package/src/plugins/jupiter/governance/constants.js +4 -4
- package/src/plugins/jupiter/governance/constants.js.map +1 -1
- package/src/plugins/jupiter/governance/voteFetcher.js +2 -2
- package/src/plugins/jupiter/governance/voteFetcher.js.map +1 -1
- package/src/plugins/jupiter/index.js +3 -3
- package/src/plugins/jupiter/index.js.map +1 -1
- package/src/plugins/jupiter/launchpad/allocationsFetcher.js +2 -2
- package/src/plugins/jupiter/launchpad/allocationsFetcher.js.map +1 -1
- package/src/plugins/jupiter/launchpad/constants.d.ts +2 -2
- package/src/plugins/jupiter/launchpad/constants.js +4 -4
- package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
- package/src/plugins/kamino/airdropFetcher.js +2 -2
- package/src/plugins/kamino/airdropFetcher.js.map +1 -1
- package/src/plugins/kamino/constants.d.ts +1 -1
- package/src/plugins/kamino/constants.js +2 -2
- package/src/plugins/kamino/constants.js.map +1 -1
- package/src/plugins/kamino/index.js +1 -1
- package/src/plugins/kamino/index.js.map +1 -1
- package/src/plugins/lido/constants.d.ts +1 -1
- package/src/plugins/lido/constants.js +2 -2
- package/src/plugins/lido/constants.js.map +1 -1
- package/src/plugins/lido/index.js +1 -1
- package/src/plugins/lido/index.js.map +1 -1
- package/src/plugins/liquidswap/constants.d.ts +1 -1
- package/src/plugins/liquidswap/constants.js +2 -2
- package/src/plugins/liquidswap/constants.js.map +1 -1
- package/src/plugins/liquidswap/index.js +1 -1
- package/src/plugins/liquidswap/index.js.map +1 -1
- package/src/plugins/magiceden/constants.d.ts +1 -1
- package/src/plugins/magiceden/constants.js +2 -2
- package/src/plugins/magiceden/constants.js.map +1 -1
- package/src/plugins/magiceden/index.js +1 -1
- package/src/plugins/magiceden/index.js.map +1 -1
- package/src/plugins/maker/constants.d.ts +1 -1
- package/src/plugins/maker/constants.js +2 -2
- package/src/plugins/maker/constants.js.map +1 -1
- package/src/plugins/maker/index.js +1 -1
- package/src/plugins/maker/index.js.map +1 -1
- package/src/plugins/mango/constants.d.ts +1 -1
- package/src/plugins/mango/constants.js +2 -2
- package/src/plugins/mango/constants.js.map +1 -1
- package/src/plugins/mango/index.js +1 -1
- package/src/plugins/mango/index.js.map +1 -1
- package/src/plugins/maple/constants.d.ts +1 -1
- package/src/plugins/maple/constants.js +2 -2
- package/src/plugins/maple/constants.js.map +1 -1
- package/src/plugins/maple/index.js +1 -1
- package/src/plugins/maple/index.js.map +1 -1
- package/src/plugins/marginfi/constants.d.ts +2 -2
- package/src/plugins/marginfi/constants.js +3 -3
- package/src/plugins/marginfi/constants.js.map +1 -1
- package/src/plugins/marginfi/index.js +1 -1
- package/src/plugins/marginfi/index.js.map +1 -1
- package/src/plugins/marinade/constants.d.ts +1 -1
- package/src/plugins/marinade/constants.js +2 -2
- package/src/plugins/marinade/constants.js.map +1 -1
- package/src/plugins/marinade/index.js +1 -1
- package/src/plugins/marinade/index.js.map +1 -1
- package/src/plugins/meteora/constants.d.ts +1 -1
- package/src/plugins/meteora/constants.js +2 -2
- package/src/plugins/meteora/constants.js.map +1 -1
- package/src/plugins/meteora/index.js +1 -1
- package/src/plugins/meteora/index.js.map +1 -1
- package/src/plugins/morpho/constants.d.ts +1 -1
- package/src/plugins/morpho/constants.js +2 -2
- package/src/plugins/morpho/constants.js.map +1 -1
- package/src/plugins/morpho/index.js +1 -1
- package/src/plugins/morpho/index.js.map +1 -1
- package/src/plugins/native-stake/solana/solanaFetcher.js +7 -7
- package/src/plugins/native-stake/solana/solanaFetcher.js.map +1 -1
- package/src/plugins/navi/constants.d.ts +1 -1
- package/src/plugins/navi/constants.js +2 -2
- package/src/plugins/navi/constants.js.map +1 -1
- package/src/plugins/navi/index.js +1 -1
- package/src/plugins/navi/index.js.map +1 -1
- package/src/plugins/nosana/constants.js +1 -1
- package/src/plugins/nosana/constants.js.map +1 -1
- package/src/plugins/orca/constants.d.ts +1 -1
- package/src/plugins/orca/constants.js +2 -2
- package/src/plugins/orca/constants.js.map +1 -1
- package/src/plugins/orca/index.js +1 -1
- package/src/plugins/orca/index.js.map +1 -1
- package/src/plugins/pancakeswap/constants.d.ts +1 -1
- package/src/plugins/pancakeswap/constants.js +2 -2
- package/src/plugins/pancakeswap/constants.js.map +1 -1
- package/src/plugins/pancakeswap/index.js +1 -1
- package/src/plugins/pancakeswap/index.js.map +1 -1
- package/src/plugins/paraswap/constants.d.ts +1 -1
- package/src/plugins/paraswap/constants.js +2 -2
- package/src/plugins/paraswap/constants.js.map +1 -1
- package/src/plugins/paraswap/index.js +1 -1
- package/src/plugins/paraswap/index.js.map +1 -1
- package/src/plugins/parcl/airdropFetcher.js +3 -0
- package/src/plugins/parcl/airdropFetcher.js.map +1 -1
- package/src/plugins/parcl/constants.d.ts +1 -1
- package/src/plugins/parcl/constants.js +2 -2
- package/src/plugins/parcl/constants.js.map +1 -1
- package/src/plugins/parcl/index.js +1 -1
- package/src/plugins/parcl/index.js.map +1 -1
- package/src/plugins/rain/constants.js +1 -1
- package/src/plugins/rain/constants.js.map +1 -1
- package/src/plugins/raydium/constants.d.ts +1 -1
- package/src/plugins/raydium/constants.js +2 -2
- package/src/plugins/raydium/constants.js.map +1 -1
- package/src/plugins/raydium/index.js +1 -1
- package/src/plugins/raydium/index.js.map +1 -1
- package/src/plugins/rocket-pool/constants.d.ts +1 -1
- package/src/plugins/rocket-pool/constants.js +2 -2
- package/src/plugins/rocket-pool/constants.js.map +1 -1
- package/src/plugins/rocket-pool/index.js +1 -1
- package/src/plugins/rocket-pool/index.js.map +1 -1
- package/src/plugins/saber/constants.d.ts +1 -1
- package/src/plugins/saber/constants.js +2 -2
- package/src/plugins/saber/constants.js.map +1 -1
- package/src/plugins/saber/index.js +1 -1
- package/src/plugins/saber/index.js.map +1 -1
- package/src/plugins/scallop/constants.d.ts +1 -1
- package/src/plugins/scallop/constants.js +9 -9
- package/src/plugins/scallop/constants.js.map +1 -1
- package/src/plugins/scallop/index.js +1 -1
- package/src/plugins/scallop/index.js.map +1 -1
- package/src/plugins/solend/constants.d.ts +1 -1
- package/src/plugins/solend/constants.js +2 -2
- package/src/plugins/solend/constants.js.map +1 -1
- package/src/plugins/solend/index.js +1 -1
- package/src/plugins/solend/index.js.map +1 -1
- package/src/plugins/stader/constants.d.ts +1 -1
- package/src/plugins/stader/constants.js +2 -2
- package/src/plugins/stader/constants.js.map +1 -1
- package/src/plugins/stader/index.js +1 -1
- package/src/plugins/stader/index.js.map +1 -1
- package/src/plugins/stargate/constants.d.ts +1 -1
- package/src/plugins/stargate/constants.js +2 -2
- package/src/plugins/stargate/constants.js.map +1 -1
- package/src/plugins/stargate/index.js +1 -1
- package/src/plugins/stargate/index.js.map +1 -1
- package/src/plugins/sushiswap/helpers.js +24 -24
- package/src/plugins/switchboard/constants.d.ts +1 -0
- package/src/plugins/switchboard/constants.js +5 -0
- package/src/plugins/switchboard/constants.js.map +1 -0
- package/src/plugins/switchboard/helpers/getSwitchboardPrice.d.ts +3 -0
- package/src/plugins/switchboard/helpers/getSwitchboardPrice.js +20 -0
- package/src/plugins/switchboard/helpers/getSwitchboardPrice.js.map +1 -0
- package/src/plugins/switchboard/helpers/getSwitchboardPrices.d.ts +3 -0
- package/src/plugins/switchboard/helpers/getSwitchboardPrices.js +23 -0
- package/src/plugins/switchboard/helpers/getSwitchboardPrices.js.map +1 -0
- package/src/plugins/switchboard/helpers/misc.d.ts +2 -0
- package/src/plugins/switchboard/helpers/misc.js +26 -0
- package/src/plugins/switchboard/helpers/misc.js.map +1 -0
- package/src/plugins/switchboard/index.d.ts +4 -0
- package/src/plugins/switchboard/index.js +10 -0
- package/src/plugins/switchboard/index.js.map +1 -0
- package/src/plugins/switchboard/pricingJob.d.ts +3 -0
- package/src/plugins/switchboard/pricingJob.js +57 -0
- package/src/plugins/switchboard/pricingJob.js.map +1 -0
- package/src/plugins/switchboard/structs.d.ts +74 -0
- package/src/plugins/switchboard/structs.js +72 -0
- package/src/plugins/switchboard/structs.js.map +1 -0
- package/src/plugins/tensor/constants.d.ts +1 -1
- package/src/plugins/tensor/constants.js +2 -2
- package/src/plugins/tensor/constants.js.map +1 -1
- package/src/plugins/tensor/index.js +1 -1
- package/src/plugins/tensor/index.js.map +1 -1
- package/src/plugins/thala/constants.d.ts +12 -5
- package/src/plugins/thala/constants.js +9 -9
- package/src/plugins/thala/constants.js.map +1 -1
- package/src/plugins/thala/index.js +1 -1
- package/src/plugins/thala/index.js.map +1 -1
- package/src/plugins/thala/vaultsRatesJob.js +1 -1
- package/src/plugins/thala/vaultsRatesJob.js.map +1 -1
- package/src/plugins/turbos/constants.d.ts +1 -1
- package/src/plugins/turbos/constants.js +2 -2
- package/src/plugins/turbos/constants.js.map +1 -1
- package/src/plugins/turbos/index.js +1 -1
- package/src/plugins/turbos/index.js.map +1 -1
- package/src/plugins/uniswap/constants.d.ts +1 -1
- package/src/plugins/uniswap/constants.js +2 -2
- package/src/plugins/uniswap/constants.js.map +1 -1
- package/src/plugins/uniswap/getUniV3PositionsFetcher.js +1 -1
- package/src/plugins/uniswap/getUniV3PositionsFetcher.js.map +1 -1
- package/src/plugins/uniswap/index.js +1 -1
- package/src/plugins/uniswap/index.js.map +1 -1
- package/src/plugins/uniswap-v2/getPositionsV2Fetcher.js +1 -1
- package/src/plugins/uniswap-v2/getPositionsV2Fetcher.js.map +1 -1
- package/src/plugins/uniswap-v2/helpers.js +23 -23
- package/src/plugins/uniswap-v2/helpers.js.map +1 -1
- package/src/plugins/venus/constants.d.ts +1 -1
- package/src/plugins/venus/constants.js +3 -7
- package/src/plugins/venus/constants.js.map +1 -1
- package/src/plugins/venus/index.js +1 -1
- package/src/plugins/venus/index.js.map +1 -1
- package/src/plugins/wormhole/constants.js +1 -1
- package/src/plugins/wormhole/constants.js.map +1 -1
- package/src/plugins/x-staking-solana/constants.js +2 -2
- package/src/plugins/x-staking-solana/constants.js.map +1 -1
- package/src/plugins/zeta/constants.d.ts +1 -1
- package/src/plugins/zeta/constants.js +2 -2
- package/src/plugins/zeta/constants.js.map +1 -1
- package/src/plugins/zeta/index.js +1 -1
- package/src/plugins/zeta/index.js.map +1 -1
- package/src/utils/misc/getImagefromUri.js +1 -1
- package/src/utils/misc/getImagefromUri.js.map +1 -1
- package/src/utils/sei/constants.js +8 -8
- package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
import { Platform } from '@sonarwatch/portfolio-core';
|
2
2
|
export declare const platformId = "venus";
|
3
|
-
export declare const
|
3
|
+
export declare const platform: Platform;
|
4
4
|
export declare const comptrollerVenus = "0xfD36E2c2a6789Db23113685031d7F16329158384";
|
@@ -1,14 +1,10 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.comptrollerVenus = exports.
|
7
|
-
const upperCaseFirstLetter_1 = __importDefault(require("../../utils/misc/upperCaseFirstLetter"));
|
3
|
+
exports.comptrollerVenus = exports.platform = exports.platformId = void 0;
|
8
4
|
exports.platformId = 'venus';
|
9
|
-
exports.
|
5
|
+
exports.platform = {
|
10
6
|
id: exports.platformId,
|
11
|
-
name:
|
7
|
+
name: 'Venus',
|
12
8
|
image: 'https://sonar.watch/img/platforms/venus.png',
|
13
9
|
defiLlamaId: 'venus-core-pool',
|
14
10
|
website: 'https://app.venus.io/',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/venus/constants.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/venus/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,iBAAiB;IAC9B,OAAO,EAAE,uBAAuB;CACjC,CAAC;AAEW,QAAA,gBAAgB,GAAG,4CAA4C,CAAC"}
|
@@ -14,5 +14,5 @@ exports.jobs = [
|
|
14
14
|
exports.fetchers = [
|
15
15
|
(0, getPositionsV2Fetcher_1.default)(portfolio_core_1.NetworkId.bnb, constants_1.platformId),
|
16
16
|
];
|
17
|
-
exports.platforms = [constants_1.
|
17
|
+
exports.platforms = [constants_1.platform];
|
18
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/venus/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAiE;AAGjE,kFAA0D;AAC1D,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/venus/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAiE;AAGjE,kFAA0D;AAC1D,2CAAqE;AACrE,8FAAsE;AAEzD,QAAA,IAAI,GAAU;IACzB,IAAA,yBAAe,EAAC,0BAAS,CAAC,GAAG,EAAE,sBAAU,EAAE,4BAAgB,CAAC;CAC7D,CAAC;AACW,QAAA,QAAQ,GAAc;IACjC,IAAA,+BAAqB,EAAC,0BAAS,CAAC,GAAG,EAAE,sBAAU,CAAC;CACjD,CAAC;AACW,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
|
@@ -5,7 +5,7 @@ exports.platformId = 'wormhole';
|
|
5
5
|
exports.platform = {
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'Wormhole',
|
8
|
-
image: 'https://sonar.watch/img/platforms/wormhole.
|
8
|
+
image: 'https://sonar.watch/img/platforms/wormhole.webp',
|
9
9
|
website: 'https://airdrop.wormhole.com/',
|
10
10
|
twitter: 'https://twitter.com/wormhole',
|
11
11
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/wormhole/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/wormhole/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,8BAA8B;CACxC,CAAC;AAEW,QAAA,MAAM,GAAG,2CAA2C,CAAC;AACrD,QAAA,KAAK,GAAG,8CAA8C,CAAC;AACvD,QAAA,QAAQ,GAAG,CAAC,CAAC"}
|
@@ -35,7 +35,7 @@ exports.xStakingConfigs = [
|
|
35
35
|
vault: constants_1.vaultPubkey,
|
36
36
|
xMint: constants_1.xAuryMint,
|
37
37
|
xDecimals: 9,
|
38
|
-
platformId: constants_1.
|
38
|
+
platformId: constants_1.platformId,
|
39
39
|
},
|
40
40
|
{
|
41
41
|
mint: 'GTH3wG3NErjwcf7VGCoXEXkgXSHvYhx5gtATeeM5JAS1',
|
@@ -67,7 +67,7 @@ exports.xStakingConfigs = [
|
|
67
67
|
vault: '2eFeetCpZJprr67F2dToT52BbSkdeqKZT6hmVdVG14eU',
|
68
68
|
xMint: 'xHWKW3Yyji9xe6FnTmDqu3rBApt3Ysu5ysywUA85Len',
|
69
69
|
xDecimals: 6,
|
70
|
-
platformId: constants_2.
|
70
|
+
platformId: constants_2.platformId,
|
71
71
|
},
|
72
72
|
];
|
73
73
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/x-staking-solana/constants.ts"],"names":[],"mappings":";;;AACA,mDAM6B;AAC7B,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/x-staking-solana/constants.ts"],"names":[],"mappings":";;;AACA,mDAM6B;AAC7B,sDAA2E;AAE9D,QAAA,sBAAsB,GAAG,cAAc,CAAC;AACxC,QAAA,oBAAoB,GAAa;IAC5C,EAAE,EAAE,8BAAsB;IAC1B,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,oDAAoD;IAC3D,qEAAqE;IACrE,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,qBAAqB,GAAG,aAAa,CAAC;AACtC,QAAA,mBAAmB,GAAa;IAC3C,EAAE,EAAE,6BAAqB;IACzB,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,mDAAmD;IAC1D,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,mBAAmB,GAAG,WAAW,CAAC;AAClC,QAAA,iBAAiB,GAAa;IACzC,EAAE,EAAE,2BAAmB;IACvB,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,uCAAuC;IAChD,OAAO,EAAE,kCAAkC;CAC5C,CAAC;AAEW,QAAA,eAAe,GAAoB;IAC9C;QACE,IAAI,EAAE,oBAAQ;QACd,QAAQ,EAAR,oBAAQ;QACR,KAAK,EAAE,uBAAW;QAClB,KAAK,EAAE,qBAAS;QAChB,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,sBAAgB;KAC7B;IACD;QACE,IAAI,EAAE,8CAA8C;QACpD,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,8CAA8C;QACrD,KAAK,EAAE,8CAA8C;QACrD,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,8BAAsB;KACnC;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,8CAA8C;QACrD,KAAK,EAAE,6CAA6C;QACpD,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,6BAAqB;KAClC;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,8CAA8C;QACrD,KAAK,EAAE,6CAA6C;QACpD,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,2BAAmB;KAChC;IACD;QACE,IAAI,EAAE,8CAA8C;QACpD,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,8CAA8C;QACrD,KAAK,EAAE,6CAA6C;QACpD,SAAS,EAAE,CAAC;QACZ,UAAU,EAAE,sBAAmB;KAChC;CACF,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
2
2
|
import { Platform } from '@sonarwatch/portfolio-core';
|
3
3
|
export declare const platformId = "zeta";
|
4
|
-
export declare const
|
4
|
+
export declare const platform: Platform;
|
5
5
|
export declare const usdcMint = "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
6
6
|
export declare const programId: PublicKey;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.programId = exports.usdcMint = exports.
|
3
|
+
exports.programId = exports.usdcMint = exports.platform = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'zeta';
|
6
|
-
exports.
|
6
|
+
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Zeta',
|
9
9
|
image: 'https://sonar.watch/img/platforms/zeta.png',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,4CAA4C;IACnD,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC"}
|
@@ -8,5 +8,5 @@ const depositsFetcher_1 = __importDefault(require("./depositsFetcher"));
|
|
8
8
|
const constants_1 = require("./constants");
|
9
9
|
exports.jobs = [];
|
10
10
|
exports.fetchers = [depositsFetcher_1.default];
|
11
|
-
exports.platforms = [constants_1.
|
11
|
+
exports.platforms = [constants_1.platform];
|
12
12
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/index.ts"],"names":[],"mappings":";;;;;;AAGA,wEAAgD;AAChD,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/index.ts"],"names":[],"mappings":";;;;;;AAGA,wEAAgD;AAChD,2CAAuC;AAE1B,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,yBAAe,CAAC,CAAC;AACxC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
|
@@ -54,7 +54,7 @@ exports.imageExtensions = [
|
|
54
54
|
'.webp',
|
55
55
|
];
|
56
56
|
function stringEndsWithImageExtension(string) {
|
57
|
-
const fString = string.
|
57
|
+
const fString = string.toLowerCase();
|
58
58
|
return exports.imageExtensions.some((imageExtension) => fString.endsWith(imageExtension));
|
59
59
|
}
|
60
60
|
function getImagefromHttpUrl(url) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getImagefromUri.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/getImagefromUri.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAA0B;AAC1B,4DAAoC;AACpC,4DAAoC;AAGpC,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAChC,MAAM,MAAM,GAAG,UAAU,CAAC;AACb,QAAA,uBAAuB,GAAG,WAAW,CAAC;AAEnD,SAAsB,eAAe,CACnC,GAAuB,EACvB,SAAwB,EACxB,KAAY;;QAEZ,IAAI,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,kBAAkB;YAAE,OAAO,SAAS,CAAC;QAE9D,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,OAAO,CAAS,GAAG,EAAE;YACnD,MAAM;YACN,SAAS;SACV,CAAC,CAAC;QACH,IAAI,WAAW,EAAE,CAAC;YAChB,OAAO,WAAW,KAAK,+BAAuB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC;QAC3E,CAAC;QAED,IAAI,KAAyB,CAAC;QAC9B,IAAI,IAAA,mBAAS,EAAC,GAAG,CAAC;YAAE,KAAK,GAAG,MAAM,mBAAmB,CAAC,GAAG,CAAC,CAAC;QAC3D,IAAI,IAAA,mBAAS,EAAC,GAAG,CAAC;YAAE,KAAK,GAAG,MAAM,mBAAmB,CAAC,GAAG,CAAC,CAAC;QAE3D,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,GAAG,kBAAkB;YAAE,KAAK,GAAG,SAAS,CAAC;QAClE,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,IAAI,+BAAuB,EAAE;YACnD,MAAM;YACN,SAAS;SACV,CAAC,CAAC;QACH,OAAO,KAAK,CAAC;IACf,CAAC;CAAA;AAzBD,0CAyBC;AAEY,QAAA,eAAe,GAAG;IAC7B,MAAM;IACN,MAAM;IACN,OAAO;IACP,MAAM;IACN,MAAM;IACN,OAAO;CACR,CAAC;AACF,SAAS,4BAA4B,CAAC,MAAc;IAClD,MAAM,OAAO,GAAG,MAAM,CAAC,
|
1
|
+
{"version":3,"file":"getImagefromUri.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/getImagefromUri.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,kDAA0B;AAC1B,4DAAoC;AACpC,4DAAoC;AAGpC,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAChC,MAAM,MAAM,GAAG,UAAU,CAAC;AACb,QAAA,uBAAuB,GAAG,WAAW,CAAC;AAEnD,SAAsB,eAAe,CACnC,GAAuB,EACvB,SAAwB,EACxB,KAAY;;QAEZ,IAAI,CAAC,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,kBAAkB;YAAE,OAAO,SAAS,CAAC;QAE9D,MAAM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G,CAAC,CAAC;QACpC,IAAI,CAAC,YAAY;YAAE,OAAO,SAAS,CAAC;QAEpC,MAAM,OAAO,GAAG,4BAA4B,GAAG,CAAC,SAAS,CACvD,kBAAkB,CACnB,EAAE,CAAC;QACJ,OAAO,mBAAmB,CAAC,OAAO,CAAC,CAAC;IACtC,CAAC;CAAA;AAVD,kDAUC"}
|
@@ -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;
|