@sonarwatch/portfolio-plugins 0.11.184 → 0.11.185
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +1468 -1459
- package/README.md +3 -3
- package/package.json +2 -2
- 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/poolJob.js +23 -8
- package/src/plugins/flash/poolJob.js.map +1 -1
- package/src/plugins/flash/stakeFetcher.js +20 -6
- package/src/plugins/flash/stakeFetcher.js.map +1 -1
- package/src/plugins/flash/types.d.ts +1 -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/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/index.js +1 -1
- package/src/plugins/uniswap/index.js.map +1 -1
- package/src/plugins/uniswap-v2/helpers.js +22 -22
- 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/sei/constants.js +8 -8
- package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -3,12 +3,12 @@ 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.season2Unlock = exports.season1Unlock = exports.referrerRoute = exports.stakerRoute = exports.season2Route = exports.baseRewardsUrl = exports.solFactor = exports.mndeDecimals = exports.mndeMint = exports.claimProgram = exports.marinadeTicketProgramId = exports.season2RewardsPrefix = exports.cachePrefix = exports.
|
6
|
+
exports.season2Unlock = exports.season1Unlock = exports.referrerRoute = exports.stakerRoute = exports.season2Route = exports.baseRewardsUrl = exports.solFactor = exports.mndeDecimals = exports.mndeMint = exports.claimProgram = exports.marinadeTicketProgramId = exports.season2RewardsPrefix = exports.cachePrefix = exports.platform = exports.platformId = void 0;
|
7
7
|
const web3_js_1 = require("@solana/web3.js");
|
8
8
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
9
9
|
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
10
10
|
exports.platformId = 'marinade';
|
11
|
-
exports.
|
11
|
+
exports.platform = {
|
12
12
|
id: exports.platformId,
|
13
13
|
name: 'Marinade',
|
14
14
|
image: 'https://sonar.watch/img/platforms/marinade.png',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/constants.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,+DAAqE;AACrE,gEAAqC;AAExB,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gDAAgD;IACvD,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,WAAW,GAAG,UAAU,CAAC;AACzB,QAAA,oBAAoB,GAAG,GAAG,kBAAU,YAAY,CAAC;AACjD,QAAA,uBAAuB,GAAG,IAAI,mBAAS,CAClD,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AACW,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC,CAAC;AAC/D,QAAA,cAAc,GACzB,8DAA8D,CAAC;AACpD,QAAA,YAAY,GAAG,sBAAsB,CAAC;AACtC,QAAA,WAAW,GAAG,gBAAgB,CAAC;AAC/B,QAAA,aAAa,GAAG,kBAAkB,CAAC;AACnC,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,iBAAiB;AAC1D,QAAA,aAAa,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB"}
|
@@ -7,7 +7,7 @@ exports.fetchers = exports.platforms = void 0;
|
|
7
7
|
const ticketsFetcher_1 = __importDefault(require("./ticketsFetcher"));
|
8
8
|
const rewardsS1Fetcher_1 = __importDefault(require("./rewardsS1Fetcher"));
|
9
9
|
const constants_1 = require("./constants");
|
10
|
-
exports.platforms = [constants_1.
|
10
|
+
exports.platforms = [constants_1.platform];
|
11
11
|
exports.fetchers = [
|
12
12
|
ticketsFetcher_1.default,
|
13
13
|
rewardsS1Fetcher_1.default,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/index.ts"],"names":[],"mappings":";;;;;;AAEA,sEAA8C;AAC9C,0EAAkD;AAClD,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/marinade/index.ts"],"names":[],"mappings":";;;;;;AAEA,sEAA8C;AAC9C,0EAAkD;AAClD,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,QAAQ,GAAc;IACjC,wBAAc;IACd,0BAAgB;IAChB,oBAAoB;CACrB,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
2
2
|
import { Platform } from '@sonarwatch/portfolio-core';
|
3
3
|
export declare const platformId = "meteora";
|
4
|
-
export declare const
|
4
|
+
export declare const platform: Platform;
|
5
5
|
export declare const prefixVaults = "meteora-vaults";
|
6
6
|
export declare const farmsKey = "farms";
|
7
7
|
export declare const vaultsProgramId: PublicKey;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.dlmmProgramId = exports.farmProgramId = exports.poolsProgramId = exports.vaultsProgramId = exports.farmsKey = exports.prefixVaults = exports.
|
3
|
+
exports.dlmmProgramId = exports.farmProgramId = exports.poolsProgramId = exports.vaultsProgramId = exports.farmsKey = exports.prefixVaults = exports.platform = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'meteora';
|
6
|
-
exports.
|
6
|
+
exports.platform = {
|
7
7
|
id: 'meteora',
|
8
8
|
name: 'Meteora',
|
9
9
|
image: 'https://sonar.watch/img/platforms/meteora.png',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,+CAA+C;IACtD,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,qBAAqB;CAC/B,CAAC;AAEW,QAAA,YAAY,GAAG,GAAG,kBAAU,SAAS,CAAC;AACtC,QAAA,QAAQ,GAAG,OAAO,CAAC;AAEnB,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC"}
|
@@ -11,7 +11,7 @@ const farmsJob_1 = __importDefault(require("./farmsJob"));
|
|
11
11
|
const constants_1 = require("./constants");
|
12
12
|
const farmsFetcher_1 = __importDefault(require("./farmsFetcher"));
|
13
13
|
const dlmmPositionsFetcher_1 = __importDefault(require("./dlmmPositionsFetcher"));
|
14
|
-
exports.platforms = [constants_1.
|
14
|
+
exports.platforms = [constants_1.platform];
|
15
15
|
exports.jobs = [vaultsJob_1.default, poolsJob_1.default, farmsJob_1.default, multiTokenPoolsJob_1.default];
|
16
16
|
exports.fetchers = [farmsFetcher_1.default, dlmmPositionsFetcher_1.default];
|
17
17
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/index.ts"],"names":[],"mappings":";;;;;;AACA,4DAAoC;AACpC,0DAAkC;AAClC,8EAAsD;AACtD,0DAAkC;AAGlC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/index.ts"],"names":[],"mappings":";;;;;;AACA,4DAAoC;AACpC,0DAAkC;AAClC,8EAAsD;AACtD,0DAAkC;AAGlC,2CAAuC;AACvC,kEAA0C;AAC1C,kFAAyD;AAE5C,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,mBAAS,EAAE,kBAAQ,EAAE,kBAAQ,EAAE,4BAAkB,CAAC,CAAC;AAClE,QAAA,QAAQ,GAAc,CAAC,sBAAY,EAAE,8BAAmB,CAAC,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Platform } from '@sonarwatch/portfolio-core';
|
2
2
|
export declare const platformId = "morpho";
|
3
|
-
export declare const
|
3
|
+
export declare const platform: Platform;
|
4
4
|
export declare const updatedIndexesPrefix = "morpho-updated-indexes";
|
5
5
|
export declare const morphoAaveV3Address = "0x33333aea097c193e66081E930c33020272b33333";
|
6
6
|
export declare const morphoTokenAddress = "0x9994E35Db50125E0DF82e4c2dde62496CE330999";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.wethDecimals = exports.wethAddress = exports.Underlying = exports.morphoTokenAddress = exports.morphoAaveV3Address = exports.updatedIndexesPrefix = exports.
|
3
|
+
exports.wethDecimals = exports.wethAddress = exports.Underlying = exports.morphoTokenAddress = exports.morphoAaveV3Address = exports.updatedIndexesPrefix = exports.platform = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'morpho';
|
5
|
-
exports.
|
5
|
+
exports.platform = {
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'Morpho',
|
8
8
|
image: 'https://sonar.watch/img/platforms/morpho.png',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,8CAA8C;IACrD,WAAW,EAAE,eAAe;IAC5B,OAAO,EAAE,qBAAqB;CAC/B,CAAC;AACW,QAAA,oBAAoB,GAAG,GAAG,kBAAU,kBAAkB,CAAC;AACvD,QAAA,mBAAmB,GAAG,4CAA4C,CAAC;AACnE,QAAA,kBAAkB,GAAG,4CAA4C,CAAC;AAElE,QAAA,UAAU,GAAG;IACxB,IAAI,EAAE,4CAA4C;IAClD,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,4CAA4C;IAClD,MAAM,EAAE,4CAA4C;IACpD,KAAK,EAAE,4CAA4C;IACnD,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,4CAA4C;IAClD,KAAK,EAAE,4CAA4C;CACpD,CAAC;AAEW,QAAA,WAAW,GAAG,4CAA4C,CAAC;AAC3D,QAAA,YAAY,GAAG,EAAE,CAAC"}
|
@@ -8,7 +8,7 @@ const aaveV3CollateralFetcher_1 = __importDefault(require("./aaveV3CollateralFet
|
|
8
8
|
const aaveV3SupplyOnlyFetcher_1 = __importDefault(require("./aaveV3SupplyOnlyFetcher"));
|
9
9
|
const aaveV3Job_1 = __importDefault(require("./aaveV3Job"));
|
10
10
|
const constants_1 = require("./constants");
|
11
|
-
exports.platforms = [constants_1.
|
11
|
+
exports.platforms = [constants_1.platform];
|
12
12
|
exports.jobs = [aaveV3Job_1.default];
|
13
13
|
exports.fetchers = [
|
14
14
|
aaveV3CollateralFetcher_1.default,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/index.ts"],"names":[],"mappings":";;;;;;AAGA,wFAAgE;AAChE,wFAAgE;AAChE,4DAAoC;AACpC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/index.ts"],"names":[],"mappings":";;;;;;AAGA,wFAAgE;AAChE,wFAAgE;AAChE,4DAAoC;AACpC,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,mBAAS,CAAC,CAAC;AAC1B,QAAA,QAAQ,GAAc;IACjC,iCAAuB;IACvB,iCAAuB;CACxB,CAAC"}
|
@@ -21,16 +21,16 @@ const filters_1 = require("./filters");
|
|
21
21
|
const structs_1 = require("./structs");
|
22
22
|
const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
|
23
23
|
const constants_2 = require("../../marinade/constants");
|
24
|
-
const constants_3 = require("
|
25
|
-
const constants_4 = require("
|
24
|
+
const constants_3 = require("../../jito/constants");
|
25
|
+
const constants_4 = require("./constants");
|
26
26
|
const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
|
27
27
|
const client = (0, clients_1.getClientSolana)();
|
28
28
|
const filters = (0, filters_1.stakeAccountsFilter)(owner.toString());
|
29
|
-
const stakeAccounts = yield (0, solana_1.getParsedProgramAccounts)(client, structs_1.stakeAccountStruct,
|
29
|
+
const stakeAccounts = yield (0, solana_1.getParsedProgramAccounts)(client, structs_1.stakeAccountStruct, constants_4.stakeProgramId, filters);
|
30
30
|
if (stakeAccounts.length === 0)
|
31
31
|
return [];
|
32
32
|
const solTokenPrice = yield cache.getTokenPrice(portfolio_core_1.solanaNetwork.native.address, portfolio_core_1.NetworkId.solana);
|
33
|
-
const epochInfo = yield cache.getItem(
|
33
|
+
const epochInfo = yield cache.getItem(constants_4.epochInfoCacheKey, {
|
34
34
|
prefix: constants_1.platformId,
|
35
35
|
networkId: portfolio_core_1.NetworkId.solana,
|
36
36
|
});
|
@@ -53,7 +53,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
53
53
|
.toNumber();
|
54
54
|
if (amount <= 0)
|
55
55
|
continue;
|
56
|
-
const isMarinade =
|
56
|
+
const isMarinade = constants_4.marinadeManagerAddresses.includes(stakeAccount.staker.toString());
|
57
57
|
if (isMarinade) {
|
58
58
|
marinadeSolAmount += amount;
|
59
59
|
nMarinadeAccounts += 1;
|
@@ -106,7 +106,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
106
106
|
if (nMarinadeAccounts !== 0) {
|
107
107
|
elements.push({
|
108
108
|
networkId: portfolio_core_1.NetworkId.solana,
|
109
|
-
platformId: constants_2.
|
109
|
+
platformId: constants_2.platformId,
|
110
110
|
type: 'multiple',
|
111
111
|
label: 'Staked',
|
112
112
|
name: `Native (${nMarinadeAccounts} validators)`,
|
@@ -121,7 +121,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
121
121
|
if (mevRewards > 0) {
|
122
122
|
elements.push({
|
123
123
|
networkId: portfolio_core_1.NetworkId.solana,
|
124
|
-
platformId:
|
124
|
+
platformId: constants_3.platformId,
|
125
125
|
type: 'multiple',
|
126
126
|
label: 'Rewards',
|
127
127
|
name: `MEV Rewards`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solanaFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,gEAAqC;AAIrC,4CAA+D;AAC/D,oDAAyD;AACzD,kDAAiE;AACjE,uCAAgD;AAChD,uCAA+C;AAC/C,wGAAgF;AAChF,
|
1
|
+
{"version":3,"file":"solanaFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,gEAAqC;AAIrC,4CAA+D;AAC/D,oDAAyD;AACzD,kDAAiE;AACjE,uCAAgD;AAChD,uCAA+C;AAC/C,wGAAgF;AAChF,wDAA4E;AAC5E,oDAAoE;AACpE,2CAIqB;AAErB,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,OAAO,GAAG,IAAA,6BAAmB,EAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAEtD,MAAM,aAAa,GAAG,MAAM,IAAA,iCAAwB,EAClD,MAAM,EACN,4BAAkB,EAClB,0BAAc,EACd,OAAO,CACR,CAAC;IACF,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE1C,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,aAAa,CAC7C,8BAAa,CAAC,MAAM,CAAC,OAAO,EAC5B,0BAAS,CAAC,MAAM,CACjB,CAAC;IAEF,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,OAAO,CAAY,6BAAiB,EAAE;QAClE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,MAA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CAAC,OAAO,EAC5B,UAAU,EACV,0BAAS,CAAC,MAAM,EAChB,aAAa,CACd,KACD,UAAU,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;iBAEpC;aACF;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AACF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Platform } from '@sonarwatch/portfolio-core';
|
2
2
|
export declare const platformId = "navi";
|
3
|
-
export declare const
|
3
|
+
export declare const platform: Platform;
|
4
4
|
export declare const reservesPrefix = "navi";
|
5
5
|
export declare const reservesKey = "reserves";
|
6
6
|
export declare const reserveParentId = "0xe6d4c6610b86ce7735ea754596d71d72d10c7980b5052fc3c8cdf8d09fea9b4b";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.poolsInfos = exports.rateFactor = exports.reserveParentId = exports.reservesKey = exports.reservesPrefix = exports.
|
3
|
+
exports.poolsInfos = exports.rateFactor = exports.reserveParentId = exports.reservesKey = exports.reservesPrefix = exports.platform = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'navi';
|
5
|
-
exports.
|
5
|
+
exports.platform = {
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'NAVI',
|
8
8
|
image: `https://sonar.watch/img/platforms/${exports.platformId}.png`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages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IACD;QACE,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,kFAAkF;QACxF,IAAI,EAAE,oEAAoE;QAC1E,WAAW,EACT,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;QACtE,qBAAqB,EACnB,oEAAoE;KACvE;CACF,CAAC"}
|
@@ -9,5 +9,5 @@ const collateralFetcher_1 = __importDefault(require("./collateralFetcher"));
|
|
9
9
|
const constants_1 = require("./constants");
|
10
10
|
exports.jobs = [reservesJob_1.default];
|
11
11
|
exports.fetchers = [collateralFetcher_1.default];
|
12
|
-
exports.platforms = [constants_1.
|
12
|
+
exports.platforms = [constants_1.platform];
|
13
13
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/index.ts"],"names":[],"mappings":";;;;;;AAGA,gEAAuC;AACvC,4EAAoD;AACpD,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/index.ts"],"names":[],"mappings":";;;;;;AAGA,gEAAuC;AACvC,4EAAoD;AACpD,2CAAuC;AAE1B,QAAA,IAAI,GAAU,CAAC,qBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,2BAAiB,CAAC,CAAC;AAC1C,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
|
@@ -6,7 +6,7 @@ exports.platformId = 'nosana';
|
|
6
6
|
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Nosana',
|
9
|
-
image: 'https://sonar.watch/img/platforms/nosana.
|
9
|
+
image: 'https://sonar.watch/img/platforms/nosana.webp',
|
10
10
|
// defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
11
11
|
website: 'https://app.nosana.io/',
|
12
12
|
twitter: 'https://twitter.com/nosana_ci',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,+CAA+C;IACtD,qEAAqE;IACrE,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
2
2
|
import { Platform } from '@sonarwatch/portfolio-core';
|
3
3
|
export declare const platformId = "orca";
|
4
|
-
export declare const
|
4
|
+
export declare const platform: Platform;
|
5
5
|
export declare const poolsProgram: PublicKey;
|
6
6
|
export declare const aquafarmsProgram: PublicKey;
|
7
7
|
export declare const positionsIdentifier = "Orca Whirlpool Position";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.whirlpoolProgram = exports.whirlpoolPrefix = exports.positionsIdentifier = exports.aquafarmsProgram = exports.poolsProgram = exports.
|
3
|
+
exports.whirlpoolProgram = exports.whirlpoolPrefix = exports.positionsIdentifier = exports.aquafarmsProgram = exports.poolsProgram = exports.platform = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'orca';
|
6
|
-
exports.
|
6
|
+
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Orca',
|
9
9
|
image: 'https://sonar.watch/img/platforms/orca.png',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/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/orca/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,sBAAsB;CAChC,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,mBAAmB,GAAG,yBAAyB,CAAC;AAChD,QAAA,eAAe,GAAG,GAAG,kBAAU,YAAY,CAAC;AAC5C,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
|
@@ -7,7 +7,7 @@ exports.fetchers = exports.jobs = exports.platforms = void 0;
|
|
7
7
|
const lpTokensJob_1 = __importDefault(require("./lpTokensJob"));
|
8
8
|
const whirlpoolsJob_1 = __importDefault(require("./whirlpoolsJob"));
|
9
9
|
const constants_1 = require("./constants");
|
10
|
-
exports.platforms = [constants_1.
|
10
|
+
exports.platforms = [constants_1.platform];
|
11
11
|
exports.jobs = [whirlpoolsJob_1.default, lpTokensJob_1.default];
|
12
12
|
exports.fetchers = [];
|
13
13
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/index.ts"],"names":[],"mappings":";;;;;;AACA,gEAAkC;AAGlC,oEAA2C;AAC3C,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/index.ts"],"names":[],"mappings":";;;;;;AACA,gEAAkC;AAGlC,oEAA2C;AAC3C,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,uBAAY,EAAE,qBAAK,CAAC,CAAC;AACpC,QAAA,QAAQ,GAAc,EAAE,CAAC"}
|
@@ -2,7 +2,7 @@ import { Platform } from '@sonarwatch/portfolio-core';
|
|
2
2
|
import { StakerInfo } from './types';
|
3
3
|
import { UniswapNetworkConfig } from '../uniswap/types';
|
4
4
|
export declare const platformId = "pancakeswap";
|
5
|
-
export declare const
|
5
|
+
export declare const platform: Platform;
|
6
6
|
export declare const programAddress = "0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa";
|
7
7
|
export declare const lpTypePrefix = "0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::LPToken<";
|
8
8
|
export declare const lpCoinInfoTypePrefix = "0x1::coin::CoinInfo<0xc7efb4076dbe143cbcd98cfaaa929ecfc8f299203dfff63b95ccb6bfe19850fa::swap::LPToken<";
|
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.networksConfigs = exports.masterChefV2Ethereum = exports.masterChefV2Bnb = exports.masterChefBnb = exports.stakerCakeEthereum = exports.stakersEthereum = exports.stakerCake = exports.stakersBnb = exports.factoryV2Bnb = exports.theGraphUrlEthV2 = exports.lpCoinInfoTypePrefix = exports.lpTypePrefix = exports.programAddress = exports.
|
3
|
+
exports.networksConfigs = exports.masterChefV2Ethereum = exports.masterChefV2Bnb = exports.masterChefBnb = exports.stakerCakeEthereum = exports.stakersEthereum = exports.stakerCake = exports.stakersBnb = exports.factoryV2Bnb = exports.theGraphUrlEthV2 = exports.lpCoinInfoTypePrefix = exports.lpTypePrefix = exports.programAddress = exports.platform = exports.platformId = void 0;
|
4
4
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
5
5
|
const aptos_1 = require("../../utils/aptos");
|
6
6
|
exports.platformId = 'pancakeswap';
|
7
|
-
exports.
|
7
|
+
exports.platform = {
|
8
8
|
id: exports.platformId,
|
9
9
|
name: 'PancakeSwap',
|
10
10
|
image: 'https://sonar.watch/img/platforms/pancakeswap.png',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pancakeswap/constants.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,6CAA6C;AAIhC,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pancakeswap/constants.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,6CAA6C;AAIhC,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,mDAAmD;IAC1D,WAAW,EAAE,oBAAoB;IACjC,OAAO,EAAE,8BAA8B;CACxC,CAAC;AACW,QAAA,cAAc,GACzB,oEAAoE,CAAC;AAE1D,QAAA,YAAY,GAAG,GAAG,sBAAc,kBAAkB,CAAC;AACnD,QAAA,oBAAoB,GAAG,GAAG,gBAAQ,IAAI,oBAAY,EAAE,CAAC;AAErD,QAAA,gBAAgB,GAC3B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QAAQ,EAAE,EAAE;QACZ,KAAK,EAAE,4CAA4C;KACpD;CACF,CAAC;AAEW,QAAA,aAAa,GAAG,4CAA4C,CAAC;AAC7D,QAAA,eAAe,GAAG,4CAA4C,CAAC;AAC/D,QAAA,oBAAoB,GAC/B,4CAA4C,CAAC;AAElC,QAAA,eAAe,GAA2B;IACrD;QACE,SAAS,EAAE,0BAAS,CAAC,GAAG;QACxB,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,4CAA4C;KAC9D;IACD;QACE,SAAS,EAAE,0BAAS,CAAC,QAAQ;QAC7B,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,4CAA4C;KAC9D;CACF,CAAC"}
|
@@ -13,7 +13,7 @@ const getStakersBalancesFetcher_1 = __importDefault(require("./getStakersBalance
|
|
13
13
|
const stakerCakeFetcher_1 = __importDefault(require("./stakerCakeFetcher"));
|
14
14
|
const getUniV3PositionsFetcher_1 = require("../uniswap/getUniV3PositionsFetcher");
|
15
15
|
const getFarmsV2Fetcher_1 = __importDefault(require("./getFarmsV2Fetcher"));
|
16
|
-
exports.platforms = [constants_1.
|
16
|
+
exports.platforms = [constants_1.platform];
|
17
17
|
exports.jobs = [
|
18
18
|
// Aptos
|
19
19
|
aptosLpJob_1.default,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pancakeswap/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAiE;AAGjE,8DAAoC;AACpC,2CAUqB;AACrB,4EAAoD;AACpD,gGAAwE;AACxE,4FAAoE;AACpE,4EAAoD;AACpD,kFAA+E;AAC/E,4EAAoD;AAEvC,QAAA,SAAS,GAAe,CAAC
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pancakeswap/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAiE;AAGjE,8DAAoC;AACpC,2CAUqB;AACrB,4EAAoD;AACpD,gGAAwE;AACxE,4FAAoE;AACpE,4EAAoD;AACpD,kFAA+E;AAC/E,4EAAoD;AAEvC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU;IACzB,QAAQ;IACR,oBAAQ;IACR,WAAW;IACX,IAAA,qBAAW,EAAC,0BAAS,CAAC,QAAQ,EAAE,sBAAU,EAAE,IAAI,EAAE,4BAAgB,CAAC;IACnE,MAAM;IACN,8DAA8D;CAC/D,CAAC;AACW,QAAA,QAAQ,GAAc;IACjC,gBAAgB;IAChB,GAAG,2BAAe,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAChC,IAAA,mDAAwB,EAAC,MAAM,EAAE,sBAAU,EAAE,IAAI,CAAC,CACnD;IACD,cAAc;IACd,IAAA,+BAAqB,EAAC,0BAAS,CAAC,QAAQ,EAAE,sBAAU,EAAE,IAAI,CAAC;IAC3D,IAAA,2BAAiB,EAAC,0BAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,gCAAoB,CAAC;IACjE,IAAA,mCAAyB,EAAC,0BAAS,CAAC,QAAQ,EAAE,sBAAU,EAAE,2BAAe,CAAC;IAE1E,SAAS;IACT,IAAA,+BAAqB,EAAC,0BAAS,CAAC,GAAG,EAAE,sBAAU,EAAE,IAAI,CAAC;IACtD,IAAI;IACJ,kDAAkD;IAClD,wEAAwE;IACxE,8BAA8B;IAC9B,KAAK;IACL,IAAA,2BAAiB,EAAC,0BAAS,CAAC,GAAG,EAAE,IAAI,EAAE,2BAAe,CAAC;IACvD,IAAA,mCAAyB,EAAC,0BAAS,CAAC,GAAG,EAAE,sBAAU,EAAE,sBAAU,CAAC;IAChE,2BAAiB;CAClB,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Platform } from '@sonarwatch/portfolio-core';
|
2
2
|
import { ContractInfo } from './types';
|
3
3
|
export declare const platformId = "paraswap";
|
4
|
-
export declare const
|
4
|
+
export declare const platform: Platform;
|
5
5
|
export declare const bptInfoKey = "bptInfo";
|
6
6
|
export declare const PSPToken: {
|
7
7
|
chain: string;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.stakers = exports.bptParaFarmer = exports.bptParaStaker = exports.poolAddresses = exports.PSPToken = exports.bptInfoKey = exports.
|
3
|
+
exports.stakers = exports.bptParaFarmer = exports.bptParaStaker = exports.poolAddresses = exports.PSPToken = exports.bptInfoKey = exports.platform = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'paraswap';
|
5
|
-
exports.
|
5
|
+
exports.platform = {
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'Paraswap',
|
8
8
|
defiLlamaId: 'paraswap',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/paraswap/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,UAAU,CAAC;AAExB,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/paraswap/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,UAAU,CAAC;AAExB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,UAAU;IACvB,KAAK,EAAE,gDAAgD;IACvD,OAAO,EAAE,sBAAsB;CAChC,CAAC;AAEW,QAAA,UAAU,GAAG,SAAS,CAAC;AAEvB,QAAA,QAAQ,GAAG;IACtB,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,4CAA4C;IACrD,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,EAAE;CACb,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,KAAK,EAAE,4CAA6D;IACpE,WAAW,EAAE;QACX,4CAA4C;QAC5C,4CAA4C;KAC7C;IACD,MAAM,EACJ,oEAAqF;IACvF,KAAK,EAAE,4CAA6D;CACrE,CAAC;AAEW,QAAA,aAAa,GAAiB;IACzC,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,4CAA4C;IACrD,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEW,QAAA,aAAa,GAAiB;IACzC,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,4CAA4C;IACrD,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEW,QAAA,OAAO,GAAG;IACrB;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;IACD;QACE,KAAK,EAAE,UAAU;QACjB,OAAO,EAAE,4CAA4C;QACrD,KAAK,EAAE,4CAA4C;KACpD;CACF,CAAC"}
|
@@ -10,5 +10,5 @@ const bptInfoJob_1 = __importDefault(require("./bptInfoJob"));
|
|
10
10
|
const constants_1 = require("./constants");
|
11
11
|
exports.jobs = [bptInfoJob_1.default];
|
12
12
|
exports.fetchers = [stakingFetcher_1.default, poolsFetcher_1.default];
|
13
|
-
exports.platforms = [constants_1.
|
13
|
+
exports.platforms = [constants_1.platform];
|
14
14
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/paraswap/index.ts"],"names":[],"mappings":";;;;;;AAGA,sEAA8C;AAC9C,kEAA0C;AAC1C,8DAAsC;AACtC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/paraswap/index.ts"],"names":[],"mappings":";;;;;;AAGA,sEAA8C;AAC9C,kEAA0C;AAC1C,8DAAsC;AACtC,2CAAuC;AAE1B,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,wBAAc,EAAE,sBAAY,CAAC,CAAC;AACrD,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
2
2
|
import { Platform } from '@sonarwatch/portfolio-core';
|
3
3
|
export declare const platformId = "parcl";
|
4
|
-
export declare const
|
4
|
+
export declare const platform: Platform;
|
5
5
|
export declare const programId: PublicKey;
|
6
6
|
export declare const usdcMint = "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
7
7
|
export declare const usdcDecimals = 6;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.prclMint = exports.allocationPrefix = exports.airdropApi = exports.usdcDecimals = exports.usdcMint = exports.programId = exports.
|
3
|
+
exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.prclMint = exports.allocationPrefix = exports.airdropApi = exports.usdcDecimals = exports.usdcMint = exports.programId = exports.platform = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'parcl';
|
6
|
-
exports.
|
6
|
+
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Parcl',
|
9
9
|
image: 'https://sonar.watch/img/platforms/parcl.png',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACvD,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAC9C,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AACpD,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,kBAAkB,GAC7B,8CAA8C,CAAC"}
|
@@ -8,7 +8,7 @@ const constants_1 = require("./constants");
|
|
8
8
|
const depositsFetcher_1 = __importDefault(require("./depositsFetcher"));
|
9
9
|
const marginFetcher_1 = __importDefault(require("./marginFetcher"));
|
10
10
|
const airdropFetcher_1 = __importDefault(require("./airdropFetcher"));
|
11
|
-
exports.platforms = [constants_1.
|
11
|
+
exports.platforms = [constants_1.platform];
|
12
12
|
exports.jobs = [];
|
13
13
|
exports.fetchers = [
|
14
14
|
depositsFetcher_1.default,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/index.ts"],"names":[],"mappings":";;;;;;AAGA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,wEAAgD;AAChD,oEAA4C;AAC5C,sEAA8C;AAEjC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc;IACjC,yBAAe;IACf,uBAAa;IACb,wBAAc;CACf,CAAC"}
|
@@ -6,7 +6,7 @@ exports.platformId = 'rain';
|
|
6
6
|
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Rain',
|
9
|
-
image: 'https://sonar.watch/img/platforms/rain.
|
9
|
+
image: 'https://sonar.watch/img/platforms/rain.webp',
|
10
10
|
defiLlamaId: 'rain.fi', // from https://defillama.com/docs/api
|
11
11
|
website: 'https://rain.fi/',
|
12
12
|
twitter: 'https://twitter.com/RainFi_',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/rain/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,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/rain/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,6CAA6C;IACpD,WAAW,EAAE,SAAS,EAAE,sCAAsC;IAC9D,OAAO,EAAE,kBAAkB;IAC3B,OAAO,EAAE,6BAA6B;CACvC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,OAAO,GAAG,wBAAwB,CAAC;AACnC,QAAA,cAAc,GAAG,aAAa,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
2
2
|
import { Platform } from '@sonarwatch/portfolio-core';
|
3
3
|
export declare const platformId = "raydium";
|
4
|
-
export declare const
|
4
|
+
export declare const platform: Platform;
|
5
5
|
export declare const AMM_PROGRAM_ID_V3: PublicKey;
|
6
6
|
export declare const AMM_PROGRAM_ID_V4: PublicKey;
|
7
7
|
export declare const AMM_PROGRAM_ID_V5: PublicKey;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.rayDecimals = exports.rayMint = exports.positionsIdentifier = exports.poolStatesPrefix = exports.raydiumProgram = exports.AMM_PROGRAM_ID_V5 = exports.AMM_PROGRAM_ID_V4 = exports.AMM_PROGRAM_ID_V3 = exports.
|
3
|
+
exports.rayDecimals = exports.rayMint = exports.positionsIdentifier = exports.poolStatesPrefix = exports.raydiumProgram = exports.AMM_PROGRAM_ID_V5 = exports.AMM_PROGRAM_ID_V4 = exports.AMM_PROGRAM_ID_V3 = exports.platform = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'raydium';
|
6
|
-
exports.
|
6
|
+
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Raydium',
|
9
9
|
image: 'https://sonar.watch/img/platforms/raydium.png',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/raydium/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/raydium/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,+CAA+C;IACtD,WAAW,EAAE,SAAS;IACtB,OAAO,EAAE,qBAAqB;CAC/B,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAAG,GAAG,kBAAU,YAAY,CAAC;AAE7C,QAAA,mBAAmB,GAAG,gCAAgC,CAAC;AAEvD,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,WAAW,GAAG,CAAC,CAAC"}
|
@@ -8,7 +8,7 @@ const lpTokensJob_1 = __importDefault(require("./lpTokensJob"));
|
|
8
8
|
const clmmJob_1 = __importDefault(require("./clmmJob"));
|
9
9
|
const constants_1 = require("./constants");
|
10
10
|
const stakingFetcher_1 = __importDefault(require("./stakingFetcher"));
|
11
|
-
exports.platforms = [constants_1.
|
11
|
+
exports.platforms = [constants_1.platform];
|
12
12
|
exports.jobs = [lpTokensJob_1.default, clmmJob_1.default];
|
13
13
|
exports.fetchers = [stakingFetcher_1.default];
|
14
14
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/raydium/index.ts"],"names":[],"mappings":";;;;;;AAGA,gEAAwC;AACxC,wDAAgC;AAChC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/raydium/index.ts"],"names":[],"mappings":";;;;;;AAGA,gEAAwC;AACxC,wDAAgC;AAChC,2CAAuC;AACvC,sEAA8C;AAEjC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,qBAAW,EAAE,iBAAO,CAAC,CAAC;AACrC,QAAA,QAAQ,GAAc,CAAC,wBAAc,CAAC,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Platform } from '@sonarwatch/portfolio-core';
|
2
2
|
import BigNumber from 'bignumber.js';
|
3
3
|
export declare const platformId = "rocketpool";
|
4
|
-
export declare const
|
4
|
+
export declare const platform: Platform;
|
5
5
|
export declare const marketsCachePrefix = "rocketpool-markets";
|
6
6
|
export declare const minipoolManagerAddress = "0x6293B8abC1F36aFB22406Be5f96D893072A8cF3a";
|
7
7
|
export declare const nodeStakingAddress = "0x0d8D8f8541B12A0e1194B7CC4b6D954b90AB82ec";
|
@@ -3,10 +3,10 @@ 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.rplFactor = exports.rplDecimals = exports.rplAddress = exports.nodeStakingAddress = exports.minipoolManagerAddress = exports.marketsCachePrefix = exports.
|
6
|
+
exports.rplFactor = exports.rplDecimals = exports.rplAddress = exports.nodeStakingAddress = exports.minipoolManagerAddress = exports.marketsCachePrefix = exports.platform = exports.platformId = void 0;
|
7
7
|
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
8
8
|
exports.platformId = 'rocketpool';
|
9
|
-
exports.
|
9
|
+
exports.platform = {
|
10
10
|
id: exports.platformId,
|
11
11
|
name: 'Rocket Pool',
|
12
12
|
defiLlamaId: 'rocket-pool',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/rocket-pool/constants.ts"],"names":[],"mappings":";;;;;;AACA,gEAAqC;AAExB,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/rocket-pool/constants.ts"],"names":[],"mappings":";;;;;;AACA,gEAAqC;AAExB,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,yBAAyB;CACnC,CAAC;AACW,QAAA,kBAAkB,GAAG,GAAG,kBAAU,UAAU,CAAC;AAC7C,QAAA,sBAAsB,GACjC,4CAA4C,CAAC;AAClC,QAAA,kBAAkB,GAAG,4CAA4C,CAAC;AAClE,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAC1D,QAAA,WAAW,GAAG,EAAE,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,mBAAW,CAAA,CAAC,CAAC"}
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const constants_1 = require("./constants");
|
8
8
|
const positionFetcher_1 = __importDefault(require("./positionFetcher"));
|
9
|
-
exports.platforms = [constants_1.
|
9
|
+
exports.platforms = [constants_1.platform];
|
10
10
|
exports.jobs = [];
|
11
11
|
exports.fetchers = [positionFetcher_1.default];
|
12
12
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/rocket-pool/index.ts"],"names":[],"mappings":";;;;;;AAGA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/rocket-pool/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,wEAAgD;AAEnC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,yBAAe,CAAC,CAAC"}
|