@sonarwatch/portfolio-plugins 0.14.139 → 0.14.140
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 +2173 -2169
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/orphanPlatforms.js +10 -0
- package/src/orphanPlatforms.js.map +1 -1
- package/src/plugins/01/constants.js +8 -3
- package/src/plugins/01/constants.js.map +1 -1
- package/src/plugins/01/depostisFetcher.js +2 -1
- package/src/plugins/01/depostisFetcher.js.map +1 -1
- package/src/plugins/accessprotocol/constants.d.ts +1 -1
- package/src/plugins/accessprotocol/constants.js +8 -3
- package/src/plugins/accessprotocol/constants.js.map +1 -1
- package/src/plugins/adrastea/constants.js +4 -0
- package/src/plugins/adrastea/constants.js.map +1 -1
- package/src/plugins/adrena/constants.d.ts +2 -2
- package/src/plugins/adrena/constants.js +8 -3
- package/src/plugins/adrena/constants.js.map +1 -1
- package/src/plugins/allbridge/constants.js +6 -0
- package/src/plugins/allbridge/constants.js.map +1 -1
- package/src/plugins/armada-staking/constants.js +7 -0
- package/src/plugins/armada-staking/constants.js.map +1 -1
- package/src/plugins/atrix/constants.js +4 -1
- package/src/plugins/atrix/constants.js.map +1 -1
- package/src/plugins/aurory/constants.d.ts +1 -1
- package/src/plugins/aurory/constants.js +7 -2
- package/src/plugins/aurory/constants.js.map +1 -1
- package/src/plugins/balancer/helpers/pools.js +21 -21
- package/src/plugins/banx/constants.d.ts +1 -1
- package/src/plugins/banx/constants.js +7 -2
- package/src/plugins/banx/constants.js.map +1 -1
- package/src/plugins/baskt/constants.js +3 -0
- package/src/plugins/baskt/constants.js.map +1 -1
- package/src/plugins/bonfida/constants.d.ts +1 -1
- package/src/plugins/bonfida/constants.js +8 -2
- package/src/plugins/bonfida/constants.js.map +1 -1
- package/src/plugins/bonkrewards/constants.d.ts +1 -1
- package/src/plugins/bonkrewards/constants.js +7 -2
- package/src/plugins/bonkrewards/constants.js.map +1 -1
- package/src/plugins/bskt/constants.d.ts +1 -1
- package/src/plugins/bskt/constants.js +7 -2
- package/src/plugins/bskt/constants.js.map +1 -1
- package/src/plugins/citrus/constants.js +3 -0
- package/src/plugins/citrus/constants.js.map +1 -1
- package/src/plugins/clone/constants.js +2 -0
- package/src/plugins/clone/constants.js.map +1 -1
- package/src/plugins/clone/depositsFetcher.js +1 -1
- package/src/plugins/clone/depositsFetcher.js.map +1 -1
- package/src/plugins/cropper/constants.d.ts +1 -0
- package/src/plugins/cropper/constants.js +9 -1
- package/src/plugins/cropper/constants.js.map +1 -1
- package/src/plugins/cyberfrogs/constants.js +2 -0
- package/src/plugins/cyberfrogs/constants.js.map +1 -1
- package/src/plugins/daos/constants.js +4 -0
- package/src/plugins/daos/constants.js.map +1 -1
- package/src/plugins/debridge/constants.d.ts +1 -1
- package/src/plugins/debridge/constants.js +8 -2
- package/src/plugins/debridge/constants.js.map +1 -1
- package/src/plugins/defiland/constants.d.ts +1 -1
- package/src/plugins/defiland/constants.js +7 -2
- package/src/plugins/defiland/constants.js.map +1 -1
- package/src/plugins/defituna/constants.js +3 -0
- package/src/plugins/defituna/constants.js.map +1 -1
- package/src/plugins/defituna/lendingFetcher.js +2 -0
- package/src/plugins/defituna/lendingFetcher.js.map +1 -1
- package/src/plugins/defituna/positionsFetcher.js +2 -0
- package/src/plugins/defituna/positionsFetcher.js.map +1 -1
- package/src/plugins/divvy/constants.d.ts +1 -1
- package/src/plugins/divvy/constants.js +7 -2
- package/src/plugins/divvy/constants.js.map +1 -1
- package/src/plugins/divvy/housePoolFetcher.js +2 -0
- package/src/plugins/divvy/housePoolFetcher.js.map +1 -1
- package/src/plugins/drift/constants.d.ts +1 -1
- package/src/plugins/drift/constants.js +8 -2
- package/src/plugins/drift/constants.js.map +1 -1
- package/src/plugins/drift/depositsFetcher.js +2 -0
- package/src/plugins/drift/depositsFetcher.js.map +1 -1
- package/src/plugins/drift-market-maker-vault/constants.js +24 -1
- package/src/plugins/drift-market-maker-vault/constants.js.map +1 -1
- package/src/plugins/drift-market-maker-vault/depositsFetcher.js +2 -0
- package/src/plugins/drift-market-maker-vault/depositsFetcher.js.map +1 -1
- package/src/plugins/elemental/constants.js +4 -0
- package/src/plugins/elemental/constants.js.map +1 -1
- package/src/plugins/elemental/depositFetcher.js +1 -1
- package/src/plugins/elemental/depositFetcher.js.map +1 -1
- package/src/plugins/ensofi/constants.js +5 -0
- package/src/plugins/ensofi/constants.js.map +1 -1
- package/src/plugins/exponent/constants.js +5 -0
- package/src/plugins/exponent/constants.js.map +1 -1
- package/src/plugins/exponent/liquidityFetcher.js +1 -1
- package/src/plugins/exponent/liquidityFetcher.js.map +1 -1
- package/src/plugins/famousfoxfederation/constants.d.ts +1 -1
- package/src/plugins/famousfoxfederation/constants.js +4 -2
- package/src/plugins/famousfoxfederation/constants.js.map +1 -1
- package/src/plugins/famousfoxfederation/stakingFetcher.js +4 -2
- package/src/plugins/famousfoxfederation/stakingFetcher.js.map +1 -1
- package/src/plugins/flash/constants.js +4 -0
- package/src/plugins/flash/constants.js.map +1 -1
- package/src/plugins/flash/perpetualFetcher.js +1 -1
- package/src/plugins/flash/perpetualFetcher.js.map +1 -1
- package/src/plugins/flash/stakeFetcher.js +12 -10
- package/src/plugins/flash/stakeFetcher.js.map +1 -1
- package/src/plugins/fluxbeam/constants.js +6 -0
- package/src/plugins/fluxbeam/constants.js.map +1 -1
- package/src/plugins/fragmetric/constants.js +10 -0
- package/src/plugins/fragmetric/constants.js.map +1 -1
- package/src/plugins/francium/constants.js +8 -1
- package/src/plugins/francium/constants.js.map +1 -1
- package/src/plugins/francium/lendingFetcher.js +1 -1
- package/src/plugins/francium/lendingFetcher.js.map +1 -1
- package/src/plugins/francium/tokens.js +2 -1
- package/src/plugins/francium/tokens.js.map +1 -1
- package/src/plugins/futarchy/constants.d.ts +1 -0
- package/src/plugins/futarchy/constants.js +7 -1
- package/src/plugins/futarchy/constants.js.map +1 -1
- package/src/plugins/genesysgo/constants.d.ts +1 -1
- package/src/plugins/genesysgo/constants.js +7 -2
- package/src/plugins/genesysgo/constants.js.map +1 -1
- package/src/plugins/goosefx/constants.d.ts +1 -1
- package/src/plugins/goosefx/constants.js +8 -4
- package/src/plugins/goosefx/constants.js.map +1 -1
- package/src/plugins/grass/constants.d.ts +1 -1
- package/src/plugins/grass/constants.js +6 -2
- package/src/plugins/grass/constants.js.map +1 -1
- package/src/plugins/hawksight/constants.js +4 -0
- package/src/plugins/hawksight/constants.js.map +1 -1
- package/src/plugins/hawksight/positionsFetcher.js +2 -2
- package/src/plugins/hawksight/positionsFetcher.js.map +1 -1
- package/src/plugins/hedgehog/constants.js +4 -0
- package/src/plugins/hedgehog/constants.js.map +1 -1
- package/src/plugins/holdium/constants.js +2 -0
- package/src/plugins/holdium/constants.js.map +1 -1
- package/src/plugins/hxro/constants.d.ts +1 -1
- package/src/plugins/hxro/constants.js +7 -2
- package/src/plugins/hxro/constants.js.map +1 -1
- package/src/plugins/iloop/constants.js +4 -0
- package/src/plugins/iloop/constants.js.map +1 -1
- package/src/plugins/jito/constants.d.ts +2 -1
- package/src/plugins/jito/constants.js +16 -2
- package/src/plugins/jito/constants.js.map +1 -1
- package/src/plugins/jito/ticketFetcher.js +3 -1
- package/src/plugins/jito/ticketFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/constants.d.ts +2 -1
- package/src/plugins/jupiter/exchange/constants.js +8 -2
- package/src/plugins/jupiter/exchange/constants.js.map +1 -1
- package/src/plugins/jupiter/exchange/perpetualFetcher.js +4 -2
- package/src/plugins/jupiter/exchange/perpetualFetcher.js.map +1 -1
- package/src/plugins/jupiter/governance/constants.js +7 -5
- package/src/plugins/jupiter/governance/constants.js.map +1 -1
- package/src/plugins/jupiter/launchpad/constants.js +7 -6
- package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
- package/src/plugins/jupiter/launchpad/lfgAirdropFetcher.js +2 -1
- package/src/plugins/jupiter/launchpad/lfgAirdropFetcher.js.map +1 -1
- package/src/plugins/kamino/constants.d.ts +1 -1
- package/src/plugins/kamino/constants.js +20 -38
- package/src/plugins/kamino/constants.js.map +1 -1
- package/src/plugins/kamino/farmsFetcher.js +1 -1
- package/src/plugins/kamino/farmsFetcher.js.map +1 -1
- package/src/plugins/kamino/lendsFetcher.js +2 -2
- package/src/plugins/kamino/lendsFetcher.js.map +1 -1
- package/src/plugins/layer3/constants.d.ts +1 -1
- package/src/plugins/layer3/constants.js +8 -2
- package/src/plugins/layer3/constants.js.map +1 -1
- package/src/plugins/lifinity/constants.d.ts +2 -2
- package/src/plugins/lifinity/constants.js +10 -4
- package/src/plugins/lifinity/constants.js.map +1 -1
- package/src/plugins/loopscale/constants.js +4 -0
- package/src/plugins/loopscale/constants.js.map +1 -1
- package/src/plugins/lulo/constants.js +5 -0
- package/src/plugins/lulo/constants.js.map +1 -1
- package/src/plugins/magiceden/constants.d.ts +1 -1
- package/src/plugins/magiceden/constants.js +8 -3
- package/src/plugins/magiceden/constants.js.map +1 -1
- package/src/plugins/mango/collateralFetcher.js +1 -1
- package/src/plugins/mango/collateralFetcher.js.map +1 -1
- package/src/plugins/mango/constants.js +9 -2
- package/src/plugins/mango/constants.js.map +1 -1
- package/src/plugins/mango/redeemFetcher.js +2 -1
- package/src/plugins/mango/redeemFetcher.js.map +1 -1
- package/src/plugins/marginfi/constants.js +6 -0
- package/src/plugins/marginfi/constants.js.map +1 -1
- package/src/plugins/marginfi/depositsFetcher.js +2 -2
- package/src/plugins/marginfi/depositsFetcher.js.map +1 -1
- package/src/plugins/marinade/constants.d.ts +2 -1
- package/src/plugins/marinade/constants.js +9 -2
- package/src/plugins/marinade/constants.js.map +1 -1
- package/src/plugins/metaplex/constants.js +5 -0
- package/src/plugins/metaplex/constants.js.map +1 -1
- package/src/plugins/meteora/constants.js +5 -0
- package/src/plugins/meteora/constants.js.map +1 -1
- package/src/plugins/meteora/dlmmVaultsFetcher.js +1 -1
- package/src/plugins/meteora/dlmmVaultsFetcher.js.map +1 -1
- package/src/plugins/meteora/farmsFetcher.js +1 -1
- package/src/plugins/meteora/farmsFetcher.js.map +1 -1
- package/src/plugins/meteora/stakeForFeeFetcher.js +2 -0
- package/src/plugins/meteora/stakeForFeeFetcher.js.map +1 -1
- package/src/plugins/moonwalk/constants.js +4 -1
- package/src/plugins/moonwalk/constants.js.map +1 -1
- package/src/plugins/nosana/constants.js +6 -1
- package/src/plugins/nosana/constants.js.map +1 -1
- package/src/plugins/nxfinance/constants.js +1 -0
- package/src/plugins/nxfinance/constants.js.map +1 -1
- package/src/plugins/nxfinance/positionsFetcher.js +2 -0
- package/src/plugins/nxfinance/positionsFetcher.js.map +1 -1
- package/src/plugins/nxfinance/stakingFetcher.js.map +1 -1
- package/src/plugins/orca/constants.js +7 -0
- package/src/plugins/orca/constants.js.map +1 -1
- package/src/plugins/orca/getWhirlpoolPositions.js +2 -0
- package/src/plugins/orca/getWhirlpoolPositions.js.map +1 -1
- package/src/plugins/parcl/constants.d.ts +1 -1
- package/src/plugins/parcl/constants.js +7 -2
- package/src/plugins/parcl/constants.js.map +1 -1
- package/src/plugins/perena/constants.js +5 -0
- package/src/plugins/perena/constants.js.map +1 -1
- package/src/plugins/phoenix/constants.js +4 -0
- package/src/plugins/phoenix/constants.js.map +1 -1
- package/src/plugins/photofinish/constants.d.ts +1 -1
- package/src/plugins/photofinish/constants.js +5 -2
- package/src/plugins/photofinish/constants.js.map +1 -1
- package/src/plugins/picasso/constants.js +7 -0
- package/src/plugins/picasso/constants.js.map +1 -1
- package/src/plugins/picasso/unstakingPositionsFetcher.js +2 -2
- package/src/plugins/picasso/unstakingPositionsFetcher.js.map +1 -1
- package/src/plugins/pluto/constants.js +5 -0
- package/src/plugins/pluto/constants.js.map +1 -1
- package/src/plugins/port/constants.js +3 -0
- package/src/plugins/port/constants.js.map +1 -1
- package/src/plugins/port/obligationsFetcher.js +2 -0
- package/src/plugins/port/obligationsFetcher.js.map +1 -1
- package/src/plugins/pudgypenguins/constants.d.ts +1 -1
- package/src/plugins/pudgypenguins/constants.js +4 -2
- package/src/plugins/pudgypenguins/constants.js.map +1 -1
- package/src/plugins/pyth/constants.d.ts +1 -1
- package/src/plugins/pyth/constants.js +7 -2
- package/src/plugins/pyth/constants.js.map +1 -1
- package/src/plugins/pyth/pricingJob.js +2 -1
- package/src/plugins/pyth/pricingJob.js.map +1 -1
- package/src/plugins/quarry/constants.js +2 -0
- package/src/plugins/quarry/constants.js.map +1 -1
- package/src/plugins/quarry/positionsFetcher.js +1 -1
- package/src/plugins/quarry/positionsFetcher.js.map +1 -1
- package/src/plugins/rain/constants.js +5 -0
- package/src/plugins/rain/constants.js.map +1 -1
- package/src/plugins/ratex/constants.js +5 -0
- package/src/plugins/ratex/constants.js.map +1 -1
- package/src/plugins/ratex/positionsFetcher.js +1 -1
- package/src/plugins/ratex/positionsFetcher.js.map +1 -1
- package/src/plugins/raydium/constants.d.ts +1 -1
- package/src/plugins/raydium/constants.js +8 -2
- package/src/plugins/raydium/constants.js.map +1 -1
- package/src/plugins/raydium/farmsFetcher.js +2 -0
- package/src/plugins/raydium/farmsFetcher.js.map +1 -1
- package/src/plugins/saber/constants.js +1 -0
- package/src/plugins/saber/constants.js.map +1 -1
- package/src/plugins/sanctum/constants.d.ts +1 -1
- package/src/plugins/sanctum/constants.js +7 -2
- package/src/plugins/sanctum/constants.js.map +1 -1
- package/src/plugins/sandglass/constants.js +2 -0
- package/src/plugins/sandglass/constants.js.map +1 -1
- package/src/plugins/sandglass/depositFetcher.js +1 -1
- package/src/plugins/sandglass/depositFetcher.js.map +1 -1
- package/src/plugins/save/constants.d.ts +1 -1
- package/src/plugins/save/constants.js +8 -2
- package/src/plugins/save/constants.js.map +1 -1
- package/src/plugins/save/obligationsFetcher.js +2 -2
- package/src/plugins/save/obligationsFetcher.js.map +1 -1
- package/src/plugins/sharky/constants.js +4 -0
- package/src/plugins/sharky/constants.js.map +1 -1
- package/src/plugins/solayer/constants.d.ts +4 -4
- package/src/plugins/solayer/constants.js +11 -5
- package/src/plugins/solayer/constants.js.map +1 -1
- package/src/plugins/sonic/constants.d.ts +1 -1
- package/src/plugins/sonic/constants.js +7 -2
- package/src/plugins/sonic/constants.js.map +1 -1
- package/src/plugins/spdr/constants.d.ts +1 -1
- package/src/plugins/spdr/constants.js +8 -2
- package/src/plugins/spdr/constants.js.map +1 -1
- package/src/plugins/stabble/constants.js +6 -0
- package/src/plugins/stabble/constants.js.map +1 -1
- package/src/plugins/staratlas/constants.d.ts +2 -2
- package/src/plugins/staratlas/constants.js +9 -3
- package/src/plugins/staratlas/constants.js.map +1 -1
- package/src/plugins/streamflow/constants.d.ts +1 -1
- package/src/plugins/streamflow/constants.js +8 -2
- package/src/plugins/streamflow/constants.js.map +1 -1
- package/src/plugins/sushiswap/helpers.js +24 -24
- package/src/plugins/switchboard/constants.d.ts +2 -0
- package/src/plugins/switchboard/constants.js +14 -1
- package/src/plugins/switchboard/constants.js.map +1 -1
- package/src/plugins/switchboard/index.js +2 -1
- package/src/plugins/switchboard/index.js.map +1 -1
- package/src/plugins/symmetry/constants.js +6 -0
- package/src/plugins/symmetry/constants.js.map +1 -1
- package/src/plugins/tensor/constants.d.ts +1 -1
- package/src/plugins/tensor/constants.js +7 -2
- package/src/plugins/tensor/constants.js.map +1 -1
- package/src/plugins/texture/constants.js +5 -1
- package/src/plugins/texture/constants.js.map +1 -1
- package/src/plugins/thevault/constants.js +5 -0
- package/src/plugins/thevault/constants.js.map +1 -1
- package/src/plugins/triad/constants.js +6 -0
- package/src/plugins/triad/constants.js.map +1 -1
- package/src/plugins/tulip/constants.d.ts +1 -1
- package/src/plugins/tulip/constants.js +10 -2
- package/src/plugins/tulip/constants.js.map +1 -1
- package/src/plugins/tulip/depositsFetcher.js +1 -1
- package/src/plugins/tulip/depositsFetcher.js.map +1 -1
- package/src/plugins/uniswap-v2/helpers.js +22 -22
- package/src/plugins/uxd/constants.d.ts +1 -1
- package/src/plugins/uxd/constants.js +9 -2
- package/src/plugins/uxd/constants.js.map +1 -1
- package/src/plugins/vaultka/constants.js +5 -0
- package/src/plugins/vaultka/constants.js.map +1 -1
- package/src/plugins/vaultka/lendingFetcher.js +1 -1
- package/src/plugins/vaultka/lendingFetcher.js.map +1 -1
- package/src/plugins/vaultka/strategyFetcher.js +1 -1
- package/src/plugins/vaultka/strategyFetcher.js.map +1 -1
- package/src/plugins/whalesmarket/constants.js +5 -0
- package/src/plugins/whalesmarket/constants.js.map +1 -1
- package/src/plugins/wormhole/constants.d.ts +1 -1
- package/src/plugins/wormhole/constants.js +8 -2
- package/src/plugins/wormhole/constants.js.map +1 -1
- package/src/plugins/zelo/constants.js +4 -1
- package/src/plugins/zelo/constants.js.map +1 -1
- package/src/plugins/zeta/airdropFetcher.d.ts +1 -2
- package/src/plugins/zeta/airdropFetcher.js +0 -2
- package/src/plugins/zeta/airdropFetcher.js.map +1 -1
- package/src/plugins/zeta/constants.d.ts +1 -1
- package/src/plugins/zeta/constants.js +9 -2
- package/src/plugins/zeta/constants.js.map +1 -1
- package/src/plugins/zeus/constants.d.ts +5 -0
- package/src/plugins/zeus/constants.js +25 -0
- package/src/plugins/zeus/constants.js.map +1 -0
- package/src/plugins/zeus/delegationsFetcher.d.ts +3 -0
- package/src/plugins/zeus/delegationsFetcher.js +83 -0
- package/src/plugins/zeus/delegationsFetcher.js.map +1 -0
- package/src/plugins/zeus/index.d.ts +6 -0
- package/src/plugins/zeus/index.js +12 -0
- package/src/plugins/zeus/index.js.map +1 -0
- package/src/plugins/zeus/structs.d.ts +29 -0
- package/src/plugins/zeus/structs.js +30 -0
- package/src/plugins/zeus/structs.js.map +1 -0
- package/src/utils/misc/checkComputeAndStoreTokensPrices.js +4 -2
- package/src/utils/misc/checkComputeAndStoreTokensPrices.js.map +1 -1
- package/src/utils/sei/constants.js +8 -8
- package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -1,14 +1,21 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.rayDecimals = exports.
|
3
|
+
exports.rayDecimals = exports.positionsIdentifier = exports.cpmmProgramId = exports.raydiumProgram = exports.AMM_PROGRAM_ID_V5 = exports.AMM_PROGRAM_ID_V4 = exports.AMM_PROGRAM_ID_V3 = exports.apiV3 = exports.platform = exports.rayMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'raydium';
|
6
|
+
exports.rayMint = '4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
8
9
|
name: 'Raydium',
|
9
10
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/raydium.webp',
|
10
11
|
defiLlamaId: 'raydium',
|
11
12
|
website: 'https://raydium.io/',
|
13
|
+
documentation: 'https://docs.raydium.io/raydium/',
|
14
|
+
discord: 'https://discord.com/invite/raydium',
|
15
|
+
telegram: 'https://t.me/raydiumprotocol',
|
16
|
+
github: 'https://github.com/raydium-io',
|
17
|
+
tokens: [exports.rayMint],
|
18
|
+
description: 'Raydium is an automated market maker (AMM) built on the Solana blockchain which enables lightning-fast trades, permissionless pool creation, and new features for earning yield',
|
12
19
|
};
|
13
20
|
exports.apiV3 = 'https://api-v3.raydium.io/';
|
14
21
|
exports.AMM_PROGRAM_ID_V3 = new web3_js_1.PublicKey('EhhTKczWMGQt46ynNeRX1WfeagwwJd7ufHvCDjRxjo5Q');
|
@@ -17,6 +24,5 @@ exports.AMM_PROGRAM_ID_V5 = new web3_js_1.PublicKey('5quBtoiQqxF9Jv6KYKctB59NT3g
|
|
17
24
|
exports.raydiumProgram = new web3_js_1.PublicKey('CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK');
|
18
25
|
exports.cpmmProgramId = new web3_js_1.PublicKey('CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C');
|
19
26
|
exports.positionsIdentifier = 'Raydium Concentrated Liquidity';
|
20
|
-
exports.rayMint = '4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R';
|
21
27
|
exports.rayDecimals = 6;
|
22
28
|
//# sourceMappingURL=constants.js.map
|
@@ -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,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,WAAW,EAAE,SAAS;IACtB,OAAO,EAAE,qBAAqB;
|
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,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,WAAW,EAAE,SAAS;IACtB,OAAO,EAAE,qBAAqB;IAC9B,aAAa,EAAE,kCAAkC;IACjD,OAAO,EAAE,oCAAoC;IAC7C,QAAQ,EAAE,8BAA8B;IACxC,MAAM,EAAE,+BAA+B;IACvC,MAAM,EAAE,CAAC,eAAO,CAAC;IACjB,WAAW,EACT,iLAAiL;CACpL,CAAC;AAEW,QAAA,KAAK,GAAG,4BAA4B,CAAC;AAErC,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,8CAA8C,CAC/C,CAAC;AACW,QAAA,iBAAiB,GAAG,IAAI,mBAAS,CAC5C,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,mBAAmB,GAAG,gCAAgC,CAAC;AAEvD,QAAA,WAAW,GAAG,CAAC,CAAC"}
|
@@ -26,6 +26,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
26
26
|
if (userFarmAccounts.length === 0)
|
27
27
|
return [];
|
28
28
|
const farmsInfo = yield cache.getItems(userFarmAccounts.map((acc) => acc.poolId.toString()), { prefix: `${constants_1.platformId}/farm`, networkId: portfolio_core_1.NetworkId.solana });
|
29
|
+
if (!farmsInfo)
|
30
|
+
throw new Error('Farms info not cached');
|
29
31
|
const farmsInfoMap = new Map();
|
30
32
|
farmsInfo.forEach((farmInfo) => farmInfo
|
31
33
|
? farmsInfoMap.set(farmInfo.account.pubkey.toString(), farmInfo)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"farmsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/raydium/farmsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAAyC;AACzC,iDAAsD;AACtD,uCAAkE;AAClE,+CAA6E;AAC7E,yCAA6C;AAG7C,gFAA6E;AAG7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,wBAAwB,GAAG,0BAAe,CAAC,GAAG,CAAC,CAAC,cAAc,EAAE,EAAE,CACtE,IAAA,iCAAwB,EACtB,MAAM,EACN,cAAc,CAAC,MAAM,EACrB,cAAc,CAAC,SAAS,EACxB,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,CAC9B,CACF,CAAC;IACF,MAAM,gBAAgB,GAAG,CAAC,MAAM,OAAO,CAAC,UAAU,C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YAC7B,MAAM;YACN,cAAc,EAAE,IAAI;SACrB,CAAC,CAAC;IACL,CAAC;IAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,QAAQ;IACzB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -8,6 +8,7 @@ exports.platform = {
|
|
8
8
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/saber.webp',
|
9
9
|
defiLlamaId: 'saber',
|
10
10
|
website: 'https://saberdao.io/',
|
11
|
+
isDeprecated: true,
|
11
12
|
};
|
12
13
|
exports.SABER_SWAPS = 'https://raw.githubusercontent.com/saber-hq/saber-registry-dist/master/data/swaps.mainnet.json';
|
13
14
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/saber/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,OAAO;IACpB,OAAO,EAAE,sBAAsB;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/saber/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,OAAO;IACpB,OAAO,EAAE,sBAAsB;IAC/B,YAAY,EAAE,IAAI;CACnB,CAAC;AACW,QAAA,WAAW,GACtB,+FAA+F,CAAC"}
|
@@ -6,9 +6,9 @@ import { AirdropStatics } from '../../AirdropFetcher';
|
|
6
6
|
export declare const platformId = "sanctum";
|
7
7
|
export declare const platformImage = "https://sonar.watch/img/platforms/sanctum.webp";
|
8
8
|
export declare const platformWebsite = "https://www.sanctum.so/";
|
9
|
+
export declare const cloudMint = "CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu";
|
9
10
|
export declare const platform: Platform;
|
10
11
|
export declare const lstsKey = "lsts";
|
11
|
-
export declare const cloudMint = "CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu";
|
12
12
|
export declare const cloudDecimals = 9;
|
13
13
|
export declare const s1AirdropStatics: AirdropStatics;
|
14
14
|
export declare const nclbAirdropStatics: AirdropStatics;
|
@@ -1,10 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.stakingPid = exports.nclbAirdropStatics = exports.s1AirdropStatics = exports.cloudDecimals = exports.
|
3
|
+
exports.stakingPid = exports.nclbAirdropStatics = exports.s1AirdropStatics = exports.cloudDecimals = exports.lstsKey = exports.platform = exports.cloudMint = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'sanctum';
|
6
6
|
exports.platformImage = 'https://sonar.watch/img/platforms/sanctum.webp';
|
7
7
|
exports.platformWebsite = 'https://www.sanctum.so/';
|
8
|
+
exports.cloudMint = 'CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu';
|
8
9
|
exports.platform = {
|
9
10
|
id: exports.platformId,
|
10
11
|
defiLlamaId: 'parent#sanctum', // from https://defillama.com/docs/api
|
@@ -12,9 +13,13 @@ exports.platform = {
|
|
12
13
|
image: exports.platformImage,
|
13
14
|
website: exports.platformWebsite,
|
14
15
|
twitter: 'https://twitter.com/sanctumso',
|
16
|
+
discord: 'discord.gg/sanctumso',
|
17
|
+
documentation: 'https://learn.sanctum.so/docs',
|
18
|
+
github: 'https://github.com/igneous-labs',
|
19
|
+
tokens: [exports.cloudMint],
|
20
|
+
description: 'Sanctum is a new primitive built on Solana to power liquid staking and bring Solana into an infinite-LST future. Sanctum enables users that stake SOL natively or with a liquid staking token (LST) to tap into a powerful unified liquidity layer.',
|
15
21
|
};
|
16
22
|
exports.lstsKey = 'lsts';
|
17
|
-
exports.cloudMint = 'CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu';
|
18
23
|
exports.cloudDecimals = 9;
|
19
24
|
exports.s1AirdropStatics = {
|
20
25
|
id: 'sanctum',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,aAAa,GAAG,gDAAgD,CAAC;AACjE,QAAA,eAAe,GAAG,yBAAyB,CAAC;AAC5C,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,qBAAa;IACpB,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,+BAA+B;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,aAAa,GAAG,gDAAgD,CAAC;AACjE,QAAA,eAAe,GAAG,yBAAyB,CAAC;AAC5C,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,qBAAa;IACpB,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,sBAAsB;IAC/B,aAAa,EAAE,+BAA+B;IAC9C,MAAM,EAAE,iCAAiC;IACzC,MAAM,EAAE,CAAC,iBAAS,CAAC;IACnB,WAAW,EACT,qPAAqP;CACxP,CAAC;AACW,QAAA,OAAO,GAAG,MAAM,CAAC;AAEjB,QAAA,aAAa,GAAG,CAAC,CAAC;AAClB,QAAA,gBAAgB,GAAmB;IAC9C,EAAE,EAAE,SAAS;IACb,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,uBAAe;IAC5B,SAAS,EAAE,4BAA4B;IACvC,KAAK,EAAE,qBAAa;CACrB,CAAC;AAEW,QAAA,kBAAkB,GAAmB;IAChD,EAAE,EAAE,cAAc;IAClB,UAAU,EAAE,SAAS;IACrB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,uBAAe;IAC5B,SAAS,EAAE,mCAAmC;IAC9C,KAAK,EAAE,qBAAa;CACrB,CAAC;AAEW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC"}
|
@@ -11,6 +11,8 @@ exports.platform = {
|
|
11
11
|
// defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
12
12
|
website: 'https://sandglass.so/',
|
13
13
|
twitter: 'https://twitter.com/sandglass_so',
|
14
|
+
discord: 'https://discord.gg/jSNe84QZ67',
|
15
|
+
medium: 'https://medium.com/@lifinity.io/introducing-sandglass-a-yield-trading-protocol-on-solana-9b5ee5b33aff',
|
14
16
|
};
|
15
17
|
exports.programId = new web3_js_1.PublicKey('SANDsy8SBzwUE8Zio2mrYZYqL52Phr2WQb9DDKuXMVK');
|
16
18
|
exports.marketsInfoKey = 'markets';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sandglass/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE5C,+CAAoD;AAEvC,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,+EAA+E;IACjF,qEAAqE;IACrE,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,kCAAkC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sandglass/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE5C,+CAAoD;AAEvC,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,+EAA+E;IACjF,qEAAqE;IACrE,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,kCAAkC;IAC3C,OAAO,EAAE,+BAA+B;IACxC,MAAM,EACJ,uGAAuG;CAC1G,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AACW,QAAA,cAAc,GAAG,SAAS,CAAC;AAE3B,QAAA,mBAAmB,GAAG,IAAI,GAAG,CAAC;IACzC,CAAC,8CAA8C,EAAE,KAAK,CAAC;IACvD,CAAC,8CAA8C,EAAE,OAAO,CAAC;IACzD,CAAC,8CAA8C,EAAE,OAAO,CAAC;IACzD,CAAC,8CAA8C,EAAE,QAAQ,CAAC;IAC1D,CAAC,8CAA8C,EAAE,OAAO,CAAC;IACzD,CAAC,8CAA8C,EAAE,MAAM,CAAC;IACxD,CAAC,8CAA8C,EAAE,SAAS,CAAC;IAC3D,CAAC,8CAA8C,EAAE,MAAM,CAAC;CACzD,CAAC,CAAC;AAEU,QAAA,aAAa,GAA8B;IACtD,4CAA4C,EAAE,uBAAc;IAC5D,8CAA8C,EAAE,uBAAc;IAC9D,8CAA8C,EAAE,uBAAc;IAC9D,4CAA4C,EAC1C,8CAA8C,EAAE,QAAQ;CAC3D,CAAC"}
|
@@ -26,7 +26,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
26
26
|
networkId: portfolio_core_1.NetworkId.solana,
|
27
27
|
});
|
28
28
|
if (!marketsInfos)
|
29
|
-
|
29
|
+
throw new Error('Markets info not cached.');
|
30
30
|
const marketInfoById = new Map();
|
31
31
|
marketsInfos.forEach((marketInfo) => marketInfoById.set(marketInfo.pubkey.toString(), marketInfo));
|
32
32
|
const registry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"depositFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sandglass/depositFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAKqB;AACrB,iDAAsD;AACtD,+CAA8D;AAC9D,uCAAmD;AACnD,uCAA+C;AAE/C,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,MAAM,EACN,gCAAsB,EACtB,qBAAS,EACT,IAAA,4BAAkB,EAAC,KAAK,CAAC,CAC1B,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,OAAO,CAAe,0BAAc,EAAE;QACrE,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,YAAY;QAAE,
|
1
|
+
{"version":3,"file":"depositFetcher.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,+BAAmB,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC1D,MAAM,OAAO,GAAG,QAAQ,CAAC,kBAAkB,CAAC;YAC1C,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,UAAU;YAChB,GAAG,EAAE,OAAO,CAAC,MAAM;YACnB,IAAI,EAAE,8BAA8B;YACpC,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;SACzD,CAAC,CAAC;QACH,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC;QAC1E,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC;QACpE,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC;QACpE,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,OAAO,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AACrC,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -4,6 +4,7 @@ import { PublicKey } from '@solana/web3.js';
|
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
export declare const platformId = "save";
|
6
6
|
export declare const platformDumpyId = "dumpy";
|
7
|
+
export declare const slndMint = "SLNDpmoWTVADgEdndyvWzroNL7zSi1dF9PC3xHGtPwp";
|
7
8
|
export declare const platform: Platform;
|
8
9
|
export declare const platformDumpy: Platform;
|
9
10
|
export declare const marketsPrefix = "save-markets";
|
@@ -19,4 +20,3 @@ export declare const wadsDecimal = 18;
|
|
19
20
|
export declare const mainMarket = "4UpD2fh7xH3VP9QQaXtsS1YY3bxzWhtfpks7FatyKvdY";
|
20
21
|
export declare const rewardProofsEndpoint = "https://api.save.finance/liquidity-mining/reward-proofs?obligation=";
|
21
22
|
export declare const externalRewardStatsEndpoint = "https://api.save.finance/liquidity-mining/external-reward-stats-v2?flat=true";
|
22
|
-
export declare const slndMint = "SLNDpmoWTVADgEdndyvWzroNL7zSi1dF9PC3xHGtPwp";
|
@@ -1,15 +1,22 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.externalRewardStatsEndpoint = exports.rewardProofsEndpoint = exports.mainMarket = exports.wadsDecimal = exports.reserveEndpoint = exports.marketsEndpoint = exports.merkleProgramId = exports.pid = exports.rewardStatsKey = exports.rewardStatsPrefix = exports.reservesPrefix = exports.marketsKey = exports.marketsPrefix = exports.platformDumpy = exports.platform = exports.slndMint = exports.platformDumpyId = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'save';
|
6
6
|
exports.platformDumpyId = 'dumpy';
|
7
|
+
exports.slndMint = 'SLNDpmoWTVADgEdndyvWzroNL7zSi1dF9PC3xHGtPwp';
|
7
8
|
exports.platform = {
|
8
9
|
id: exports.platformId,
|
9
10
|
name: 'Save',
|
10
11
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/save.webp',
|
11
12
|
defiLlamaId: 'save',
|
12
13
|
website: 'https://save.finance/',
|
14
|
+
discord: 'https://discord.com/invite/J7m48UUPkJ',
|
15
|
+
description: 'Solend is an algorithmic, decentralized protocol for lending and borrowing on Solana. ',
|
16
|
+
twitter: 'https://x.com/save_finance',
|
17
|
+
documentation: 'https://docs.save.finance/',
|
18
|
+
github: 'https://github.com/solendprotocol',
|
19
|
+
tokens: [exports.slndMint, 'SAVEaeeqeXNKYb4Lyx28DkUms5gyZ76vGa6fCfdzWfK'],
|
13
20
|
};
|
14
21
|
exports.platformDumpy = {
|
15
22
|
id: exports.platformDumpyId,
|
@@ -31,5 +38,4 @@ exports.wadsDecimal = 18;
|
|
31
38
|
exports.mainMarket = '4UpD2fh7xH3VP9QQaXtsS1YY3bxzWhtfpks7FatyKvdY';
|
32
39
|
exports.rewardProofsEndpoint = 'https://api.save.finance/liquidity-mining/reward-proofs?obligation=';
|
33
40
|
exports.externalRewardStatsEndpoint = 'https://api.save.finance/liquidity-mining/external-reward-stats-v2?flat=true';
|
34
|
-
exports.slndMint = 'SLNDpmoWTVADgEdndyvWzroNL7zSi1dF9PC3xHGtPwp';
|
35
41
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/save/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,eAAe,GAAG,OAAO,CAAC;AAE1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,uBAAuB;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/save/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,eAAe,GAAG,OAAO,CAAC;AAE1B,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,uCAAuC;IAChD,WAAW,EACT,wFAAwF;IAC1F,OAAO,EAAE,4BAA4B;IACrC,aAAa,EAAE,4BAA4B;IAC3C,MAAM,EAAE,mCAAmC;IAC3C,MAAM,EAAE,CAAC,gBAAQ,EAAE,6CAA6C,CAAC;CAClE,CAAC;AAEW,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,uBAAe;IACnB,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,wBAAwB;IACxB,OAAO,EAAE,oBAAoB;CAC9B,CAAC;AAEW,QAAA,aAAa,GAAG,GAAG,kBAAU,UAAU,CAAC;AACxC,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,cAAc,GAAG,GAAG,kBAAU,WAAW,CAAC;AAC1C,QAAA,iBAAiB,GAAG,GAAG,kBAAU,eAAe,CAAC;AACjD,QAAA,cAAc,GAAG,cAAc,CAAC;AAEhC,QAAA,GAAG,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC;AACnE,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AACW,QAAA,eAAe,GAAG,6CAA6C,CAAC;AAChE,QAAA,eAAe,GAAG,4CAA4C,CAAC;AAC/D,QAAA,WAAW,GAAG,EAAE,CAAC;AACjB,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,oBAAoB,GAC/B,qEAAqE,CAAC;AAC3D,QAAA,2BAA2B,GACtC,8EAA8E,CAAC"}
|
@@ -35,7 +35,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
35
35
|
networkId: portfolio_core_1.NetworkId.solana,
|
36
36
|
});
|
37
37
|
if (!markets)
|
38
|
-
|
38
|
+
throw new Error('Markets not cached.');
|
39
39
|
const marketsByAddress = new Map();
|
40
40
|
markets.forEach((market) => {
|
41
41
|
if (market)
|
@@ -61,7 +61,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
61
61
|
networkId: portfolio_core_1.NetworkId.solana,
|
62
62
|
});
|
63
63
|
if (!reservesInfos)
|
64
|
-
|
64
|
+
throw new Error('Reserves not cached.');
|
65
65
|
const reserveByAddress = new Map();
|
66
66
|
reservesInfos.forEach((reserveInfo) => {
|
67
67
|
if (!reserveInfo)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"obligationsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/save/obligationsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAA0E;AAC1E,uCAAuD;AAEvD,+CAA6E;AAC7E,iDAAsD;AACtD,uCAAyD;AAEzD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,cAAc,GAAG,MAAM,IAAA,iCAAwB,EACnD,MAAM,EACN,0BAAgB,EAChB,eAAG,EACH;QACE;YACE,QAAQ,EAAE,IAAI;SACf;QACD;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,EAAE;gBACV,KAAK,EAAE,KAAK;aACb;SACF;KACF,CACF,CAAC;IAEF,IAAI,CAAC,cAAc,CAAC,MAAM;QAAE,OAAO,EAAE,CAAC;IAEtC,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,OAAO,CAAe,sBAAU,EAAE;QAC5D,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,OAAO;QAAE,
|
1
|
+
{"version":3,"file":"obligationsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/save/obligationsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAA0E;AAC1E,uCAAuD;AAEvD,+CAA6E;AAC7E,iDAAsD;AACtD,uCAA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,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAClC,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAExC,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,QAAQ,CACxC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAC5B;QACE,MAAM,EAAE,0BAAc;QACtB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CACF,CAAC;IACF,IAAI,CAAC,aAAa;QAAE,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAE5D,MAAM,gBAAgB,GAA6B,IAAI,GAAG,EAAE,CAAC;IAC7D,aAAa,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;QACpC,IAAI,CAAC,WAAW;YAAE,OAAO;QAEzB,gBAAgB,CAAC,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;IAEH,OAAO,IAAA,oCAA0B,EAC/B,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,EACL,KAAK,CACN,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -11,6 +11,10 @@ exports.platform = {
|
|
11
11
|
website: 'https://sharky.fi/',
|
12
12
|
twitter: 'https://twitter.com/SharkyFi',
|
13
13
|
defiLlamaId: 'sharky', // from https://defillama.com/docs/api
|
14
|
+
discord: 'https://discord.gg/sharkyfi',
|
15
|
+
github: 'https://github.com/SharkyFi',
|
16
|
+
tokens: ['SHARKSYJjqaNyxVfrpnBN9pjgkhwDhatnMyicWPnr1s'],
|
17
|
+
description: 'Sharky is the first escrowless NFT lending and borrowing protocol on Solana. Users can borrow SOL against their NFTs or Lend SOL and earn a high % APY.',
|
14
18
|
};
|
15
19
|
exports.collectionsCacheKey = `${exports.platformId}-collections`;
|
16
20
|
exports.cachePrefix = `${exports.platformId}`;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sharky/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,+BAAkC;AAErB,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,8BAA8B;IACvC,WAAW,EAAE,QAAQ,EAAE,sCAAsC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sharky/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE5C,+BAAkC;AAErB,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,8BAA8B;IACvC,WAAW,EAAE,QAAQ,EAAE,sCAAsC;IAC7D,OAAO,EAAE,6BAA6B;IACtC,MAAM,EAAE,6BAA6B;IACrC,MAAM,EAAE,CAAC,6CAA6C,CAAC;IACvD,WAAW,EACT,yJAAyJ;CAC5J,CAAC;AACW,QAAA,mBAAmB,GAAG,GAAG,kBAAU,cAAc,CAAC;AAClD,QAAA,WAAW,GAAG,GAAG,kBAAU,EAAE,CAAC;AAE9B,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,YAAY,GAAG,GAAG,CAAC;AACnB,QAAA,iBAAiB,GAAG,KAAK,CAAC;AAE1B,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,qBAAa,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,eAAS;IACd,OAAO,EAAE,QAAQ;CACP,CAAC"}
|
@@ -3,17 +3,17 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
import { AirdropStatics } from '../../AirdropFetcher';
|
6
|
+
export declare const layerMint = "LAYER4xPpTCb3QL8S9u41EAhAX7mhBn8Q6xMTwY2Yzc";
|
6
7
|
export declare const platformId = "solayer";
|
8
|
+
export declare const solayerLstMint = "sSo1wxKKr6zW2hqf5hZrp2CawLibcwi1pMBqk5bg2G4";
|
9
|
+
export declare const solayerRstMint = "sSo14endRuUbvQaJS3dq36Q829a3A6BEfoeeRGJywEh";
|
10
|
+
export declare const solayersUSDMint = "susdabGDNbhrnCa6ncrYo81u4s9GM8ecK2UwMyZiq4X";
|
7
11
|
export declare const platform: Platform;
|
8
12
|
export declare const programId: PublicKey;
|
9
13
|
export declare const solayersUSDCPid: PublicKey;
|
10
14
|
export declare const airdropApi = "https://airdrop-apis-101797961016.us-central1.run.app/airdrop?walletAddr=";
|
11
|
-
export declare const layerMint = "LAYER4xPpTCb3QL8S9u41EAhAX7mhBn8Q6xMTwY2Yzc";
|
12
15
|
export declare const layerDecimals = 9;
|
13
16
|
export declare const airdropStatics: AirdropStatics;
|
14
17
|
export declare const solayerLstPool = "po1osKDWYF9oiVEGmzKA4eTs8eMveFRMox3bUKazGN2";
|
15
|
-
export declare const solayerLstMint = "sSo1wxKKr6zW2hqf5hZrp2CawLibcwi1pMBqk5bg2G4";
|
16
|
-
export declare const solayerRstMint = "sSo14endRuUbvQaJS3dq36Q829a3A6BEfoeeRGJywEh";
|
17
|
-
export declare const solayersUSDMint = "susdabGDNbhrnCa6ncrYo81u4s9GM8ecK2UwMyZiq4X";
|
18
18
|
export declare const solayerLstDecimals = 9;
|
19
19
|
export declare const avsTokens: string[];
|
@@ -1,8 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.avsTokens = exports.solayerLstDecimals = exports.
|
3
|
+
exports.avsTokens = exports.solayerLstDecimals = exports.solayerLstPool = exports.airdropStatics = exports.layerDecimals = exports.airdropApi = exports.solayersUSDCPid = exports.programId = exports.platform = exports.solayersUSDMint = exports.solayerRstMint = exports.solayerLstMint = exports.platformId = exports.layerMint = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
|
+
exports.layerMint = 'LAYER4xPpTCb3QL8S9u41EAhAX7mhBn8Q6xMTwY2Yzc';
|
5
6
|
exports.platformId = 'solayer';
|
7
|
+
exports.solayerLstMint = 'sSo1wxKKr6zW2hqf5hZrp2CawLibcwi1pMBqk5bg2G4';
|
8
|
+
exports.solayerRstMint = 'sSo14endRuUbvQaJS3dq36Q829a3A6BEfoeeRGJywEh';
|
9
|
+
exports.solayersUSDMint = 'susdabGDNbhrnCa6ncrYo81u4s9GM8ecK2UwMyZiq4X';
|
6
10
|
exports.platform = {
|
7
11
|
id: exports.platformId,
|
8
12
|
name: 'Solayer',
|
@@ -10,11 +14,16 @@ exports.platform = {
|
|
10
14
|
website: 'https://solayer.org/',
|
11
15
|
twitter: 'https://x.com/solayer_labs',
|
12
16
|
defiLlamaId: 'parent#solayer',
|
17
|
+
github: 'https://github.com/solayer-labs',
|
18
|
+
discord: 'https://discord.com/invite/solayerlabs',
|
19
|
+
telegram: 'https://t.me/solayer_discussion',
|
20
|
+
documentation: 'https://docs.solayer.org/documentation/get-started/introduction',
|
21
|
+
tokens: [exports.layerMint, exports.solayerLstMint, exports.solayerRstMint, exports.solayersUSDMint],
|
22
|
+
description: 'Solayer is the restaking protocol on Solana, securing both endogenous AVS (dApps) through stake-weighted quality of service and exogenous AVS via Solana-based POS primitives',
|
13
23
|
};
|
14
24
|
exports.programId = new web3_js_1.PublicKey('sSo1iU21jBrU9VaJ8PJib1MtorefUV4fzC9GURa2KNn');
|
15
25
|
exports.solayersUSDCPid = new web3_js_1.PublicKey('s1aysqpEyZyijPybUV89oBGeooXrR22wMNLjnG2SWJA');
|
16
26
|
exports.airdropApi = 'https://airdrop-apis-101797961016.us-central1.run.app/airdrop?walletAddr=';
|
17
|
-
exports.layerMint = 'LAYER4xPpTCb3QL8S9u41EAhAX7mhBn8Q6xMTwY2Yzc';
|
18
27
|
exports.layerDecimals = 9;
|
19
28
|
exports.airdropStatics = {
|
20
29
|
claimLink: 'https://claim.solayer.foundation/',
|
@@ -27,9 +36,6 @@ exports.airdropStatics = {
|
|
27
36
|
};
|
28
37
|
// export const stakePoolProgramId = 'SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy'
|
29
38
|
exports.solayerLstPool = 'po1osKDWYF9oiVEGmzKA4eTs8eMveFRMox3bUKazGN2';
|
30
|
-
exports.solayerLstMint = 'sSo1wxKKr6zW2hqf5hZrp2CawLibcwi1pMBqk5bg2G4';
|
31
|
-
exports.solayerRstMint = 'sSo14endRuUbvQaJS3dq36Q829a3A6BEfoeeRGJywEh';
|
32
|
-
exports.solayersUSDMint = 'susdabGDNbhrnCa6ncrYo81u4s9GM8ecK2UwMyZiq4X';
|
33
39
|
exports.solayerLstDecimals = 9;
|
34
40
|
exports.avsTokens = [
|
35
41
|
'sonickAJFiVLcYXx25X9vpF293udaWqDMUCiGtk7dg2',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/solayer/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,4BAA4B;IACrC,WAAW,EAAE,gBAAgB;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/solayer/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,SAAS,GAAG,6CAA6C,CAAC;AAC1D,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,cAAc,GAAG,6CAA6C,CAAC;AAC/D,QAAA,cAAc,GAAG,6CAA6C,CAAC;AAC/D,QAAA,eAAe,GAAG,6CAA6C,CAAC;AAChE,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,4BAA4B;IACrC,WAAW,EAAE,gBAAgB;IAC7B,MAAM,EAAE,iCAAiC;IACzC,OAAO,EAAE,wCAAwC;IACjD,QAAQ,EAAE,iCAAiC;IAC3C,aAAa,EACX,iEAAiE;IACnE,MAAM,EAAE,CAAC,iBAAS,EAAE,sBAAc,EAAE,sBAAc,EAAE,uBAAe,CAAC;IACpE,WAAW,EACT,+KAA+K;CAClL,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AACW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,UAAU,GACrB,2EAA2E,CAAC;AACjE,QAAA,aAAa,GAAG,CAAC,CAAC;AAClB,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,mCAAmC;IAC9C,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,gBAAQ,CAAC,IAAI;IAC1B,EAAE,EAAE,iBAAiB;IACrB,KAAK,EACH,6EAA6E;IAC/E,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,SAAS;CACpB,CAAC;AAEF,kFAAkF;AACrE,QAAA,cAAc,GAAG,6CAA6C,CAAC;AAC/D,QAAA,kBAAkB,GAAG,CAAC,CAAC;AAEvB,QAAA,SAAS,GAAG;IACvB,6CAA6C;IAC7C,6CAA6C;IAC7C,6CAA6C;IAC7C,8CAA8C;IAC9C,6CAA6C;IAC7C,6CAA6C;CAC9C,CAAC"}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { Platform } from '@sonarwatch/portfolio-core';
|
4
4
|
import { PublicKey } from '@solana/web3.js';
|
5
5
|
import { AirdropStatics } from '../../AirdropFetcher';
|
6
|
+
export declare const sonicMint = "SonicxvLud67EceaEzCLRnMTBqzYUUYNr93DBkBdDES";
|
6
7
|
export declare const platformId = "sonic";
|
7
8
|
export declare const platform: Platform;
|
8
9
|
export declare const airdropStatics: AirdropStatics;
|
9
10
|
export declare const airdropApi = "https://airdrop.sonic.game/api/allocations?wallet=";
|
10
|
-
export declare const sonicMint = "SonicxvLud67EceaEzCLRnMTBqzYUUYNr93DBkBdDES";
|
11
11
|
export declare const stakingPid: PublicKey;
|
@@ -1,7 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.stakingPid = exports.
|
3
|
+
exports.stakingPid = exports.airdropApi = exports.airdropStatics = exports.platform = exports.platformId = exports.sonicMint = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
|
+
exports.sonicMint = 'SonicxvLud67EceaEzCLRnMTBqzYUUYNr93DBkBdDES';
|
5
6
|
exports.platformId = 'sonic';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
@@ -9,6 +10,11 @@ exports.platform = {
|
|
9
10
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/sonic.webp',
|
10
11
|
website: 'https://www.sonic.game/',
|
11
12
|
twitter: 'https://x.com/SonicSVM',
|
13
|
+
tokens: [exports.sonicMint, 'sonickAJFiVLcYXx25X9vpF293udaWqDMUCiGtk7dg2'],
|
14
|
+
discord: 'https://discord.com/invite/joinmirrorworld',
|
15
|
+
documentation: 'https://docs.sonic.game/',
|
16
|
+
github: 'https://github.com/mirrorworld-universe',
|
17
|
+
description: 'Sonic is the first atomic SVM chain designed to enable sovereign game economies on Solana. By utilizing the HyperGrid framework, Sonic offers unparalleled speed and scalability for on-chain gaming experiences.',
|
12
18
|
};
|
13
19
|
exports.airdropStatics = {
|
14
20
|
claimLink: 'https://airdrop.sonic.game/',
|
@@ -20,6 +26,5 @@ exports.airdropStatics = {
|
|
20
26
|
claimEnd: 1738929600000,
|
21
27
|
};
|
22
28
|
exports.airdropApi = 'https://airdrop.sonic.game/api/allocations?wallet=';
|
23
|
-
exports.sonicMint = 'SonicxvLud67EceaEzCLRnMTBqzYUUYNr93DBkBdDES';
|
24
29
|
exports.stakingPid = new web3_js_1.PublicKey('g3yMgSB3Q7gNjMfSoCm1PiJihqHdNJeUuPHvRyf45qY');
|
25
30
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sonic/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,wBAAwB;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sonic/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,SAAS,GAAG,6CAA6C,CAAC;AAC1D,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,wBAAwB;IACjC,MAAM,EAAE,CAAC,iBAAS,EAAE,6CAA6C,CAAC;IAClE,OAAO,EAAE,4CAA4C;IACrD,aAAa,EAAE,0BAA0B;IACzC,MAAM,EAAE,yCAAyC;IACjD,WAAW,EACT,mNAAmN;CACtN,CAAC;AAEW,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,6BAA6B;IACxC,WAAW,EAAE,yBAAyB;IACtC,WAAW,EAAE,gBAAQ,CAAC,IAAI;IAC1B,EAAE,EAAE,eAAe;IACnB,KAAK,EACH,2EAA2E;IAC7E,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC;AAEW,QAAA,UAAU,GAAG,oDAAoD,CAAC;AAElE,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
/// <reference types="jito-ts/node_modules/@solana/web3.js" />
|
3
3
|
import { Platform } from '@sonarwatch/portfolio-core';
|
4
4
|
import { PublicKey } from '@solana/web3.js';
|
5
|
+
export declare const spdrMint = "AT79ReYU9XtHUTF5vM6Q4oa9K8w7918Fp5SU7G1MDMQY";
|
5
6
|
export declare const platformId = "spdr";
|
6
7
|
export declare const platform: Platform;
|
7
8
|
export declare const pid: PublicKey;
|
8
|
-
export declare const spdrMint = "AT79ReYU9XtHUTF5vM6Q4oa9K8w7918Fp5SU7G1MDMQY";
|
9
9
|
export declare const pool: PublicKey;
|
@@ -1,7 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.pool = exports.
|
3
|
+
exports.pool = exports.pid = exports.platform = exports.platformId = exports.spdrMint = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
|
+
exports.spdrMint = 'AT79ReYU9XtHUTF5vM6Q4oa9K8w7918Fp5SU7G1MDMQY';
|
5
6
|
exports.platformId = 'spdr';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
@@ -10,8 +11,13 @@ exports.platform = {
|
|
10
11
|
website: 'https://www.spiderswap.io/staking',
|
11
12
|
twitter: 'https://twitter.com/spdrswap',
|
12
13
|
// defiLlamaId: 'spdr-finance', // from https://defillama.com/docs/api
|
14
|
+
documentation: 'https://webpaper.spiderswap.io/whitepaper',
|
15
|
+
discord: 'https://discord.com/invite/spiderswap',
|
16
|
+
telegram: 'https://t.me/Tolysspider',
|
17
|
+
tokens: [exports.spdrMint],
|
18
|
+
description: 'Aggregator for Everyone',
|
19
|
+
github: 'https://github.com/itsmodsiw/spidy',
|
13
20
|
};
|
14
21
|
exports.pid = new web3_js_1.PublicKey('GTavkffQHnDKDH36YNFpk7uxwHNseTRo24tV4HGC8MNY');
|
15
|
-
exports.spdrMint = 'AT79ReYU9XtHUTF5vM6Q4oa9K8w7918Fp5SU7G1MDMQY';
|
16
22
|
exports.pool = new web3_js_1.PublicKey('2hJQSpUvDy2Byhs2Mc3HAy7atKHHELfYfycbZBErpn1X');
|
17
23
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/spdr/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,mCAAmC;IAC5C,OAAO,EAAE,8BAA8B;IACvC,sEAAsE;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/spdr/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAE1D,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,mCAAmC;IAC5C,OAAO,EAAE,8BAA8B;IACvC,sEAAsE;IACtE,aAAa,EAAE,2CAA2C;IAC1D,OAAO,EAAE,uCAAuC;IAChD,QAAQ,EAAE,0BAA0B;IACpC,MAAM,EAAE,CAAC,gBAAQ,CAAC;IAClB,WAAW,EAAE,yBAAyB;IACtC,MAAM,EAAE,oCAAoC;CAC7C,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAC9B,8CAA8C,CAC/C,CAAC;AACW,QAAA,IAAI,GAAG,IAAI,mBAAS,CAC/B,8CAA8C,CAC/C,CAAC"}
|
@@ -11,6 +11,12 @@ exports.platform = {
|
|
11
11
|
website: 'https://app.stabble.org/',
|
12
12
|
twitter: 'https://x.com/stabbleorg',
|
13
13
|
defiLlamaId: 'stabble',
|
14
|
+
telegram: 'https://t.me/+XWwNwDja8Oo4M2Y8',
|
15
|
+
documentation: 'https://docs.stabble.org/',
|
16
|
+
discord: 'https://discord.com/invite/SfkybtttdC',
|
17
|
+
github: 'https://github.com/stabbleorg',
|
18
|
+
tokens: ['STBuyENwJ1GP4yNZCjwavn92wYLEY3t5S1kVS5kwyS1'],
|
19
|
+
description: "Solana's first frictionless liquidity and trading layer",
|
14
20
|
};
|
15
21
|
exports.stableProgramId = 'swapNyd8XiQwJ6ianp9snpu4brUqFxadzvHebnAXjJZ';
|
16
22
|
exports.stableIdlItem = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/stabble/constants.ts"],"names":[],"mappings":";;;AAEA,2CAAwC;AACxC,+CAA4C;AAE/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,0BAA0B;IACnC,WAAW,EAAE,SAAS;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/stabble/constants.ts"],"names":[],"mappings":";;;AAEA,2CAAwC;AACxC,+CAA4C;AAE/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,0BAA0B;IACnC,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE,gCAAgC;IAC1C,aAAa,EAAE,2BAA2B;IAC1C,OAAO,EAAE,uCAAuC;IAChD,MAAM,EAAE,+BAA+B;IACvC,MAAM,EAAE,CAAC,6CAA6C,CAAC;IACvD,WAAW,EAAE,yDAAyD;CACvE,CAAC;AAEW,QAAA,eAAe,GAAG,6CAA6C,CAAC;AAEhE,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,uBAAe;IAC1B,GAAG,EAAE,qBAAS;IACd,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,iBAAiB,GAAG,6CAA6C,CAAC;AAElE,QAAA,eAAe,GAAG;IAC7B,SAAS,EAAE,yBAAiB;IAC5B,GAAG,EAAE,yBAAW;IAChB,OAAO,EAAE,QAAQ;CACP,CAAC"}
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
export declare const platformId = "staratlas";
|
6
|
+
export declare const atlasMint = "ATLASXmbPQxBUYbxPsV97usA3fPQYEqzQBUHgiFCUsXx";
|
7
|
+
export declare const polisMint = "poLisWXnNRwC6oBu1vHiuKQzFjGL4XDSu4g9qjz9qVk";
|
6
8
|
export declare const platform: Platform;
|
7
9
|
export declare const lockerAddress: PublicKey;
|
8
10
|
export declare const stakingPid: PublicKey;
|
9
11
|
export declare const proxyRewarderPid: PublicKey;
|
10
12
|
export declare const lockedVoterPid: PublicKey;
|
11
|
-
export declare const polisMint = "poLisWXnNRwC6oBu1vHiuKQzFjGL4XDSu4g9qjz9qVk";
|
12
13
|
export declare const polisDecimals = 8;
|
13
|
-
export declare const atlasMint = "ATLASXmbPQxBUYbxPsV97usA3fPQYEqzQBUHgiFCUsXx";
|
14
14
|
export declare const atlasDecimals = 8;
|
@@ -1,8 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.atlasDecimals = exports.
|
3
|
+
exports.atlasDecimals = exports.polisDecimals = exports.lockedVoterPid = exports.proxyRewarderPid = exports.stakingPid = exports.lockerAddress = exports.platform = exports.polisMint = exports.atlasMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'staratlas';
|
6
|
+
exports.atlasMint = 'ATLASXmbPQxBUYbxPsV97usA3fPQYEqzQBUHgiFCUsXx';
|
7
|
+
exports.polisMint = 'poLisWXnNRwC6oBu1vHiuKQzFjGL4XDSu4g9qjz9qVk';
|
6
8
|
exports.platform = {
|
7
9
|
id: exports.platformId,
|
8
10
|
name: 'Star Atlas',
|
@@ -10,13 +12,17 @@ exports.platform = {
|
|
10
12
|
website: 'https://staratlas.com/',
|
11
13
|
twitter: 'https://twitter.com/staratlas',
|
12
14
|
// defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
15
|
+
tokens: [exports.atlasMint, exports.polisMint],
|
16
|
+
discord: 'https://discord.com/invite/StarAtlas',
|
17
|
+
telegram: 'https://t.me/staratlasgame',
|
18
|
+
github: 'https://github.com/staratlasmeta',
|
19
|
+
documentation: 'https://staratlas.com/newsroom/game-manuals',
|
20
|
+
description: 'A grand strategy game of space exploration, territorial conquest, political domination, and more.',
|
13
21
|
};
|
14
22
|
exports.lockerAddress = new web3_js_1.PublicKey('5WmM9c9WE71y78Ah8Bp8vgyoStscM1ZZyaaFqRf8b2Qa');
|
15
23
|
exports.stakingPid = new web3_js_1.PublicKey('ATLocKpzDbTokxgvnLew3d7drZkEzLzDpzwgrgWKDbmc');
|
16
24
|
exports.proxyRewarderPid = new web3_js_1.PublicKey('gateVwTnKyFrE8nxUUgfzoZTPKgJQZUbLsEidpG4Dp2');
|
17
25
|
exports.lockedVoterPid = new web3_js_1.PublicKey('Lock7kBijGCQLEFAmXcengzXKA88iDNQPriQ7TbgeyG');
|
18
|
-
exports.polisMint = 'poLisWXnNRwC6oBu1vHiuKQzFjGL4XDSu4g9qjz9qVk';
|
19
26
|
exports.polisDecimals = 8;
|
20
|
-
exports.atlasMint = 'ATLASXmbPQxBUYbxPsV97usA3fPQYEqzQBUHgiFCUsXx';
|
21
27
|
exports.atlasDecimals = 8;
|
22
28
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/staratlas/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,+BAA+B;IACxC,qEAAqE;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/staratlas/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,SAAS,GAAG,6CAA6C,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,+BAA+B;IACxC,qEAAqE;IACrE,MAAM,EAAE,CAAC,iBAAS,EAAE,iBAAS,CAAC;IAC9B,OAAO,EAAE,sCAAsC;IAC/C,QAAQ,EAAE,4BAA4B;IACtC,MAAM,EAAE,kCAAkC;IAC1C,aAAa,EAAE,6CAA6C;IAC5D,WAAW,EACT,mGAAmG;CACtG,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AACW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AACW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC;AACW,QAAA,aAAa,GAAG,CAAC,CAAC;AAClB,QAAA,aAAa,GAAG,CAAC,CAAC"}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
import { AirdropStatics } from '../../AirdropFetcher';
|
6
|
+
export declare const streamMint = "STREAMribRwybYpMmSYoCsQUdr6MZNXEqHgm7p1gu9M";
|
6
7
|
export declare const platformId = "streamflow";
|
7
8
|
export declare const platform: Platform;
|
8
|
-
export declare const streamMint: undefined;
|
9
9
|
export declare const streamflowProgramId: PublicKey;
|
10
10
|
export declare const airdropApi = "https://api.streamflow.foundation/v2/api/airdrop-recipients/check-eligibility";
|
11
11
|
export declare const airdropStatics: AirdropStatics;
|
@@ -1,7 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.airdropStatics = exports.airdropApi = exports.streamflowProgramId = exports.
|
3
|
+
exports.airdropStatics = exports.airdropApi = exports.streamflowProgramId = exports.platform = exports.platformId = exports.streamMint = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
|
+
exports.streamMint = 'STREAMribRwybYpMmSYoCsQUdr6MZNXEqHgm7p1gu9M';
|
5
6
|
exports.platformId = 'streamflow';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
@@ -10,8 +11,13 @@ exports.platform = {
|
|
10
11
|
defiLlamaId: 'streamflow', // from https://defillama.com/docs/api
|
11
12
|
website: 'https://app.streamflow.finance/',
|
12
13
|
twitter: 'https://twitter.com/streamflow_fi',
|
14
|
+
tokens: [exports.streamMint],
|
15
|
+
documentation: 'https://docs.streamflow.finance/en/',
|
16
|
+
discord: 'https://discord.com/invite/streamflow-851921970169511976',
|
17
|
+
github: 'https://github.com/streamflow-finance',
|
18
|
+
medium: 'https://streamflow.medium.com/',
|
19
|
+
description: 'Streamflow exponentially grows on-chain economies by providing infrastructure for creation, distribution, and incentive alignment of tokens.',
|
13
20
|
};
|
14
|
-
exports.streamMint = undefined;
|
15
21
|
exports.streamflowProgramId = new web3_js_1.PublicKey('strmRqUCoQUgGUan5YhzUZa6KqdzwX5L6FpUxfmKg5m');
|
16
22
|
exports.airdropApi = 'https://api.streamflow.foundation/v2/api/airdrop-recipients/check-eligibility';
|
17
23
|
exports.airdropStatics = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/streamflow/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,gFAAgF;IAClF,WAAW,EAAE,YAAY,EAAE,sCAAsC;IACjE,OAAO,EAAE,iCAAiC;IAC1C,OAAO,EAAE,mCAAmC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/streamflow/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,6CAA6C,CAAC;AAC3D,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,gFAAgF;IAClF,WAAW,EAAE,YAAY,EAAE,sCAAsC;IACjE,OAAO,EAAE,iCAAiC;IAC1C,OAAO,EAAE,mCAAmC;IAC5C,MAAM,EAAE,CAAC,kBAAU,CAAC;IACpB,aAAa,EAAE,qCAAqC;IACpD,OAAO,EAAE,0DAA0D;IACnE,MAAM,EAAE,uCAAuC;IAC/C,MAAM,EAAE,gCAAgC;IACxC,WAAW,EACT,8IAA8I;CACjJ,CAAC;AACW,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,UAAU,GACrB,+EAA+E,CAAC;AAErE,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,gCAAgC;IAC3C,WAAW,EAAE,gCAAgC;IAC7C,WAAW,EAAE,YAAY;IACzB,EAAE,EAAE,oBAAoB;IACxB,KAAK,EACH,gFAAgF;IAClF,QAAQ,EAAE,aAAa;IACvB,UAAU,EAAE,aAAa;CAC1B,CAAC"}
|