@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,9 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.platformIdByVault = exports.restakingVaultsKey = exports.restakingPid = exports.airdropUrl = exports.jtoDecimals = exports.
|
3
|
+
exports.platformIdByVault = exports.restakingVaultsKey = exports.restakingPid = exports.airdropUrl = exports.jtoDecimals = exports.merkleDistributor = exports.merkleTree = exports.kyrosPlatform = exports.kyrosPlatformId = exports.renzoPlatform = exports.renzoPlatformId = exports.platform = exports.jitoSOLMint = exports.jtoMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
const constants_1 = require("../fragmetric/constants");
|
6
6
|
exports.platformId = 'jito';
|
7
|
+
exports.jtoMint = 'jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL';
|
8
|
+
exports.jitoSOLMint = 'J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn';
|
7
9
|
exports.platform = {
|
8
10
|
id: exports.platformId,
|
9
11
|
name: 'Jito',
|
@@ -11,6 +13,12 @@ exports.platform = {
|
|
11
13
|
defiLlamaId: 'jito',
|
12
14
|
website: 'https://jito.network/harvest',
|
13
15
|
twitter: 'https://twitter.com/jito_sol',
|
16
|
+
documentation: 'https://www.jito.network/docs/jitosol/overview/',
|
17
|
+
github: 'https://github.com/jito-foundation',
|
18
|
+
description: "Earn MEV rewards through Jito's Solana Liquid Staking pool.",
|
19
|
+
medium: 'https://medium.com/@Jito-Foundation',
|
20
|
+
discord: 'https://discord.gg/jito',
|
21
|
+
tokens: [exports.jtoMint, exports.jitoSOLMint],
|
14
22
|
};
|
15
23
|
exports.renzoPlatformId = 'renzo';
|
16
24
|
exports.renzoPlatform = {
|
@@ -19,6 +27,13 @@ exports.renzoPlatform = {
|
|
19
27
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/renzo.webp',
|
20
28
|
website: 'https://app.renzoprotocol.com/discover',
|
21
29
|
twitter: 'https://x.com/RenzoProtocol',
|
30
|
+
github: 'https://github.com/Renzo-Protocol',
|
31
|
+
discord: 'https://discord.gg/renzoprotocol',
|
32
|
+
telegram: 'https://t.me/RenzoProtocolChat',
|
33
|
+
documentation: 'https://docs.renzoprotocol.com/docs/',
|
34
|
+
defiLlamaId: 'renzo',
|
35
|
+
tokens: ['ezSoL6fY1PVdJcJsUpe5CM3xkfmy3zoVCABybm5WtiC'],
|
36
|
+
description: 'Renzo is a restaking protocol that abstracts and manages AVS strategies for Liquid Restaking Tokens (LRTs), making Ethereum and Solana restaking ezpz and accessible to everyone.',
|
22
37
|
};
|
23
38
|
exports.kyrosPlatformId = 'kyros';
|
24
39
|
exports.kyrosPlatform = {
|
@@ -30,7 +45,6 @@ exports.kyrosPlatform = {
|
|
30
45
|
};
|
31
46
|
exports.merkleTree = 'HS8EQ8QkQSBJggY8r255AKdWbtYRtyNMoRt4LjNkkWm1';
|
32
47
|
exports.merkleDistributor = 'mERKcfxMC5SqJn4Ld4BUris3WKZZ1ojjWJ3A3J5CKxv';
|
33
|
-
exports.jtoMint = 'jtojtomepa8beP8AuQc6eXt5FriJwfFMwQx2v2f9mCL';
|
34
48
|
exports.jtoDecimals = 9;
|
35
49
|
exports.airdropUrl = 'https://airdrop.jito.network/status/';
|
36
50
|
exports.restakingPid = new web3_js_1.PublicKey('Vau1t6sLNxnzB7ZDsef8TLbPLfyZMYXH8WTNqUdm9g8');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jito/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE5C,uDAA6E;AAEhE,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,8BAA8B;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plug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,CAAC;AAClE,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,UAAU,GAAG,sCAAsC,CAAC;AAEpD,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AACW,QAAA,kBAAkB,GAAG,kBAAkB,CAAC;AAExC,QAAA,iBAAiB,GAAG,IAAI,GAAG,CAAC;IACvC,CAAC,8CAA8C,EAAE,uBAAe,CAAC;IACjE,CAAC,6CAA6C,EAAE,uBAAe,CAAC;IAChE,CAAC,8CAA8C,EAAE,sBAAoB,CAAC;CACvE,CAAC,CAAC"}
|
@@ -34,8 +34,10 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
34
34
|
}),
|
35
35
|
client.getSlot(),
|
36
36
|
]);
|
37
|
-
if (ticketsAccounts.length === 0
|
37
|
+
if (ticketsAccounts.length === 0)
|
38
38
|
return [];
|
39
|
+
if (!vaultsInfo)
|
40
|
+
throw new Error('Vaults not cached');
|
39
41
|
const registry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
40
42
|
for (const ticket of ticketsAccounts) {
|
41
43
|
const vault = vaultsInfo.find((v) => v.pubkey === ticket.vault.toString());
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ticketFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jito/ticketFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AACvD,2CAA2E;AAC3E,uCAAiD;AACjD,wDAA4D;AAC5D,iDAAsD;AAEtD,+CAA8D;AAG9D,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,CAAC,eAAe,EAAE,UAAU,EAAE,IAAI,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC5D,IAAA,iCAAwB,EAAC,MAAM,EAAE,8BAAoB,EAAE,wBAAY,EAAE;YACnE,GAAG,IAAA,wBAAc,EAAC,8BAAoB,CAAC,QAAQ,CAAC;YAChD;gBACE,MAAM,EAAE;oBACN,MAAM,EAAE,EAAE;oBACV,KAAK,EAAE,KAAK;iBACb;aACF;SACF,CAAC;QACF,KAAK,CAAC,OAAO,CAAuB,8BAAkB,EAAE;YACtD,MAAM,EAAE,sBAAU;YAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;SAC5B,CAAC;QACF,MAAM,CAAC,OAAO,EAAE;KACjB,CAAC,CAAC;IAEH,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,UAAU;QAAE,
|
1
|
+
{"version":3,"file":"ticketFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jito/ticketFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AACvD,2CAA2E;AAC3E,uCAAiD;AACjD,wDAA4D;AAC5D,iDAAsD;AAEtD,+CAA8D;AAG9D,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,CAAC,eAAe,EAAE,UAAU,EAAE,IAAI,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC5D,IAAA,iCAAwB,EAAC,MAAM,EAAE,8BAAoB,EAAE,wBAAY,EAAE;YACnE,GAAG,IAAA,wBAAc,EAAC,8BAAoB,CAAC,QAAQ,CAAC;YAChD;gBACE,MAAM,EAAE;oBACN,MAAM,EAAE,EAAE;oBACV,KAAK,EAAE,KAAK;iBACb;aACF;SACF,CAAC;QACF,KAAK,CAAC,OAAO,CAAuB,8BAAkB,EAAE;YACtD,MAAM,EAAE,sBAAU;YAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;SAC5B,CAAC;QACF,MAAM,CAAC,OAAO,EAAE;KACjB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AS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -3,6 +3,8 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
export declare const platformId = "jupiter-exchange";
|
6
|
+
export declare const jlpToken: PublicKey;
|
7
|
+
export declare const jupSOLMint = "jupSoLaHXQiZZTSfEWMTRRgpnyFm8f6sZdosWBjx93v";
|
6
8
|
export declare const platform: Platform;
|
7
9
|
export declare const perpsProgramId: PublicKey;
|
8
10
|
export declare const valueAverageProgramId: PublicKey;
|
@@ -11,6 +13,5 @@ export declare const limitV2ProgramId: PublicKey;
|
|
11
13
|
export declare const dcaProgramId: PublicKey;
|
12
14
|
export declare const lockProgramId: PublicKey;
|
13
15
|
export declare const jlpPool: PublicKey;
|
14
|
-
export declare const jlpToken: PublicKey;
|
15
16
|
export declare const custodiesKey = "custodies";
|
16
17
|
export declare const perpPoolsKey = "perppools";
|
@@ -1,8 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.perpPoolsKey = exports.custodiesKey = exports.
|
3
|
+
exports.perpPoolsKey = exports.custodiesKey = exports.jlpPool = exports.lockProgramId = exports.dcaProgramId = exports.limitV2ProgramId = exports.limitV1ProgramId = exports.valueAverageProgramId = exports.perpsProgramId = exports.platform = exports.jupSOLMint = exports.jlpToken = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'jupiter-exchange';
|
6
|
+
exports.jlpToken = new web3_js_1.PublicKey('27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4');
|
7
|
+
exports.jupSOLMint = 'jupSoLaHXQiZZTSfEWMTRRgpnyFm8f6sZdosWBjx93v';
|
6
8
|
exports.platform = {
|
7
9
|
id: exports.platformId,
|
8
10
|
name: 'Jupiter Exchange',
|
@@ -10,6 +12,11 @@ exports.platform = {
|
|
10
12
|
defiLlamaId: 'parent#jupiter',
|
11
13
|
website: 'https://jup.ag/',
|
12
14
|
twitter: 'https://twitter.com/JupiterExchange',
|
15
|
+
discord: 'https://discord.gg/jup',
|
16
|
+
documentation: 'https://station.jup.ag/',
|
17
|
+
github: 'https://github.com/jup-ag',
|
18
|
+
tokens: [exports.jlpToken.toString(), exports.jupSOLMint],
|
19
|
+
description: 'The best decentralized liquidity platform, largest DAO & best community in crypto.',
|
13
20
|
};
|
14
21
|
exports.perpsProgramId = new web3_js_1.PublicKey('PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu');
|
15
22
|
exports.valueAverageProgramId = new web3_js_1.PublicKey('VALaaymxQh2mNy2trH9jUqHT1mTow76wpTcGmSWSwJe');
|
@@ -18,7 +25,6 @@ exports.limitV2ProgramId = new web3_js_1.PublicKey('j1o2qRpjcyUwEvwtcfhEQefh773Z
|
|
18
25
|
exports.dcaProgramId = new web3_js_1.PublicKey('DCA265Vj8a9CEuX1eb1LWRnDT7uK6q1xMipnNyatn23M');
|
19
26
|
exports.lockProgramId = new web3_js_1.PublicKey('LocpQgucEQHbqNABEYvBvwoxCPsSbG91A1QaQhQQqjn');
|
20
27
|
exports.jlpPool = new web3_js_1.PublicKey('5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq');
|
21
|
-
exports.jlpToken = new web3_js_1.PublicKey('27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4');
|
22
28
|
exports.custodiesKey = 'custodies';
|
23
29
|
exports.perpPoolsKey = 'perppools';
|
24
30
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/exchange/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,kBAAkB,CAAC;AAChC,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,kBAAkB;IACxB,KAAK,EACH,6EAA6E;IAC/E,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EAAE,qCAAqC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/exchange/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,kBAAkB,CAAC;AAChC,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AACW,QAAA,UAAU,GAAG,6CAA6C,CAAC;AAC3D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,kBAAkB;IACxB,KAAK,EACH,6EAA6E;IAC/E,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,iBAAiB;IAC1B,OAAO,EAAE,qCAAqC;IAC9C,OAAO,EAAE,wBAAwB;IACjC,aAAa,EAAE,yBAAyB;IACxC,MAAM,EAAE,2BAA2B;IACnC,MAAM,EAAE,CAAC,gBAAQ,CAAC,QAAQ,EAAE,EAAE,kBAAU,CAAC;IACzC,WAAW,EACT,oFAAoF;CACvF,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAI,mBAAS,CAChD,6CAA6C,CAC9C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AACW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,OAAO,GAAG,IAAI,mBAAS,CAClC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,YAAY,GAAG,WAAW,CAAC;AAC3B,QAAA,YAAY,GAAG,WAAW,CAAC"}
|
@@ -41,8 +41,10 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
41
41
|
}),
|
42
42
|
(0, solana_1.getParsedProgramAccounts)(client, structs_1.positionRequestStruct, constants_1.perpsProgramId, (0, filters_1.positionRequestFilters)(owner)),
|
43
43
|
]);
|
44
|
-
if (!custodiesAccounts
|
45
|
-
|
44
|
+
if (!custodiesAccounts)
|
45
|
+
throw new Error('No custodies cached');
|
46
|
+
if (!perpPoolsArr)
|
47
|
+
throw new Error('No perp pools cached');
|
46
48
|
const prAccountsObj = {};
|
47
49
|
prAccounts.forEach((a) => {
|
48
50
|
const position = a.position.toString();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"perpetualFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/exchange/perpetualFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,gEAAqC;AACrC,6CAA4C;AAC5C,iCAA2B;AAG3B,oDAAyD;AACzD,kDAAgF;AAChF,wCAA+E;AAE/E,2CAKqB;AACrB,uCAAwE;AACxE,iDAOwB;AAExB,MAAM,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,CAAC,CAAA,CAAC,CAAC;AACzC,MAAM,QAAQ,GAAoB,CAChC,KAAa,EACb,KAAY,EACyB,EAAE;;IACvC,MAAM,MAAM,GAAG,IAAA,yBAAe,EAAC,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC,CAAC;IAE5D,MAAM,gBAAgB,GAAG,MAAM,IAAA,iCAAwB,EACrD,MAAM,EACN,wBAAc,EACd,0BAAc,EACd,IAAA,mCAAyB,EAAC,KAAK,CAAC,CACjC,CAAC;IACF,IACE,gBAAgB,CAAC,MAAM,KAAK,CAAC;QAC7B,gBAAgB,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC;QAErE,OAAO,EAAE,CAAC;IAEZ,MAAM,CAAC,iBAAiB,EAAE,YAAY,EAAE,UAAU,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACtE,KAAK,CAAC,OAAO,CAAgB,wBAAY,EAAE;YACzC,MAAM,EAAE,sBAAU;YAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;SAC5B,CAAC;QACF,KAAK,CAAC,OAAO,CAAqC,wBAAY,EAAE;YAC9D,MAAM,EAAE,sBAAU;YAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;SAC5B,CAAC;QACF,IAAA,iCAAwB,EACtB,MAAM,EACN,+BAAqB,EACrB,0BAAc,EACd,IAAA,gCAAsB,EAAC,KAAK,CAAC,CAC9B;KACF,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"perpetualFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/exchange/perpetualFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,gEAAqC;AACrC,6CAA4C;AAC5C,iCAA2B;AAG3B,oDAAyD;AACzD,kDAAgF;AAChF,wCAA+E;AAE/E,2CAKqB;AACrB,uCAAwE;AACxE,iDAOwB;AAExB,MAAM,SAAS,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,CAAC,CAAA,CAAC,CAAC;AACzC,MAAM,QAAQ,GAAoB,CAChC,KAAa,EACb,KAAY,EACyB,EAAE;;IACvC,MAAM,MAAM,GAAG,IAAA,yBAAe,EAAC,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC,CAAC;IAE5D,MAAM,gBAAgB,GAAG,MAAM,IAAA,iCAAwB,EACrD,MAAM,EACN,wBAAc,EACd,0BAAc,EACd,IAAA,mCAAyB,EAAC,KAAK,CAAC,CACjC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ACF,EAAE;SACH,CAAC,CAAC;IACL,CAAC;IAED,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACzC,MAAM,KAAK,GAAG,IAAA,+BAAc,EAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/D,OAAO;QACL;YACE,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,IAAI,EAAE;gBACJ,QAAQ,EAAE;oBACR,SAAS,EAAE,YAAY;oBACvB,KAAK;iBACN;gBACD,KAAK;gBACL,QAAQ,EAAE,0BAAc,CAAC,QAAQ,EAAE;aACpC;YACD,KAAK,EAAE,UAAU;YACjB,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,KAAK;SACN;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,YAAY;IAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -13,10 +13,12 @@ exports.platform = {
|
|
13
13
|
name: platformName,
|
14
14
|
image: platformImage,
|
15
15
|
website: platformWebsite,
|
16
|
-
twitter: 'https://
|
16
|
+
twitter: 'https://x.com/jup_dao',
|
17
|
+
description: 'The first voting platform for Cats in history.',
|
18
|
+
tokens: [constants_1.jupMint],
|
17
19
|
};
|
18
20
|
exports.asr1Statics = {
|
19
|
-
id:
|
21
|
+
id: `${exports.platformId}-jup-asr-1`,
|
20
22
|
claimLink: 'https://vote.jup.ag/asr',
|
21
23
|
image: platformImage,
|
22
24
|
emitterLink: platformWebsite,
|
@@ -26,7 +28,7 @@ exports.asr1Statics = {
|
|
26
28
|
name: 'ASR #1',
|
27
29
|
};
|
28
30
|
exports.asr2Statics = {
|
29
|
-
id:
|
31
|
+
id: `${exports.platformId}-jup-asr-2`,
|
30
32
|
claimLink: 'https://vote.jup.ag/asr',
|
31
33
|
image: platformImage,
|
32
34
|
emitterLink: platformWebsite,
|
@@ -36,7 +38,7 @@ exports.asr2Statics = {
|
|
36
38
|
name: 'ASR #2',
|
37
39
|
};
|
38
40
|
exports.asr3Statics = {
|
39
|
-
id:
|
41
|
+
id: `${exports.platformId}-jup-asr-3`,
|
40
42
|
claimLink: 'https://vote.jup.ag/asr',
|
41
43
|
image: platformImage,
|
42
44
|
emitterLink: platformWebsite,
|
@@ -46,7 +48,7 @@ exports.asr3Statics = {
|
|
46
48
|
name: 'ASR #3',
|
47
49
|
};
|
48
50
|
exports.jupuaryStatics = {
|
49
|
-
id:
|
51
|
+
id: `${exports.platformId}-jupuary`,
|
50
52
|
claimLink: 'https://jupuary.jup.ag',
|
51
53
|
image: platformImage,
|
52
54
|
emitterLink: platformWebsite,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/constants.ts"],"names":[],"mappings":";;;AAEA,sDAA8D;AAC9D,wDAAgE;AAEnD,QAAA,UAAU,GAAG,oBAAoB,CAAC;AAC/C,MAAM,YAAY,GAAG,aAAa,CAAC;AACnC,MAAM,aAAa,GAAG,mDAAmD,CAAC;AAC1E,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAElC,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,eAAe;IACxB,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/constants.ts"],"names":[],"mappings":";;;AAEA,sDAA8D;AAC9D,wDAAgE;AAEnD,QAAA,UAAU,GAAG,oBAAoB,CAAC;AAC/C,MAAM,YAAY,GA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EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,uBAAW,EAAE,CAAC;KACnD,CAAC;IACF,GAAG,EAAE,CAAC,KAAa,EAAE,EAAE,CACrB,yCAAyC,KAAK,wHAAwH;CACzK,CAAC"}
|
@@ -11,6 +11,7 @@ exports.platform = {
|
|
11
11
|
image: platformImage,
|
12
12
|
website: 'https://lfg.jup.ag/',
|
13
13
|
twitter: 'https://twitter.com/JupiterExchange',
|
14
|
+
description: 'Ultimate decentralised distribution stack',
|
14
15
|
};
|
15
16
|
exports.voteProgramId = new web3_js_1.PublicKey('voTpe3tHQ7AjQHMapgSue2HJFAh2cGsdokqN3XqmVSj');
|
16
17
|
exports.lockerPubkey = new web3_js_1.PublicKey('CVMdMd79no569tjc5Sq7kzz8isbfCcFyBS5TLGsrZ5dN');
|
@@ -29,7 +30,7 @@ exports.airdropConfigs = [
|
|
29
30
|
statics: {
|
30
31
|
claimStart: 1706659200000,
|
31
32
|
claimEnd: 1722430800000,
|
32
|
-
id:
|
33
|
+
id: `jupiter-exchange-s1`,
|
33
34
|
name: 'S1',
|
34
35
|
emitterName: 'Jupiter',
|
35
36
|
emitterLink: 'https://jup.ag/',
|
@@ -47,7 +48,7 @@ exports.airdropConfigs = [
|
|
47
48
|
statics: {
|
48
49
|
claimStart: 1712235600000,
|
49
50
|
claimEnd: 1713445200000,
|
50
|
-
id: 'lfg
|
51
|
+
id: 'zeus-lfg',
|
51
52
|
emitterName: 'Zeus',
|
52
53
|
emitterLink: 'https://zeusnetwork.xyz/',
|
53
54
|
claimLink: 'https://lfg.jup.ag/zeus',
|
@@ -64,7 +65,7 @@ exports.airdropConfigs = [
|
|
64
65
|
statics: {
|
65
66
|
claimStart: 1712534400000,
|
66
67
|
claimEnd: 1728086400000,
|
67
|
-
id: 'lfg
|
68
|
+
id: 'tensor-lfg',
|
68
69
|
emitterName: 'Tensor',
|
69
70
|
emitterLink: 'https://www.tensor.trade/',
|
70
71
|
claimLink: 'https://claim.jup.ag/tnsr',
|
@@ -81,7 +82,7 @@ exports.airdropConfigs = [
|
|
81
82
|
statics: {
|
82
83
|
claimStart: 1713225600000,
|
83
84
|
claimEnd: 1714435200000,
|
84
|
-
id: 'lfg
|
85
|
+
id: 'sharky-lfg',
|
85
86
|
emitterName: 'Sharky',
|
86
87
|
emitterLink: 'https://sharky.fi/',
|
87
88
|
claimLink: 'https://lfg.jup.ag/sharky',
|
@@ -98,7 +99,7 @@ exports.airdropConfigs = [
|
|
98
99
|
statics: {
|
99
100
|
claimStart: 1717077600000,
|
100
101
|
claimEnd: 1719878400000,
|
101
|
-
id: 'lfg
|
102
|
+
id: 'uprock-lfg',
|
102
103
|
emitterName: 'Uprock',
|
103
104
|
emitterLink: 'https://uprock.com/',
|
104
105
|
claimLink: 'https://lfg.jup.ag/uprock',
|
@@ -133,7 +134,7 @@ exports.airdropConfigs = [
|
|
133
134
|
statics: {
|
134
135
|
claimStart: 1737547200000,
|
135
136
|
claimEnd: 1745323200000,
|
136
|
-
id: 'jupuary-2025',
|
137
|
+
id: 'jupiter-governance-jupuary-2025',
|
137
138
|
emitterName: 'Jupiter',
|
138
139
|
emitterLink: 'https://jup.ag/',
|
139
140
|
claimLink: 'https://jupuary.jup.ag/',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG5C,sDAAwE;AAE3D,QAAA,UAAU,GAAG,mBAAmB,CAAC;AAC9C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,qCAAqC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants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28
28
|
})
|
29
29
|
.catch((e) => {
|
30
|
-
if (e.response &&
|
30
|
+
if (e.response &&
|
31
|
+
(e.response.status === 404 || e.response.status === 200)) {
|
31
32
|
return null;
|
32
33
|
}
|
33
34
|
throw new Error(`Failed to get claim proof: ${aConfig.mint}`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lfgAirdropFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/lfgAirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,kDAA6C;AAC7C,gEAAqC;AACrC,4DAIiC;AAGjC,uFAAoF;AACpF,oDAAyD;AAEzD,SAAgB,oBAAoB,CAAC,OAAsB;IACzD,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;QAC/D,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;QACjC,MAAM,UAAU,GAA6C,MAAM,eAAK;aACrE,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;YAC9B,OAAO,EAAE,IAAI;SACd,CAAC;aACD,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;YACX,
|
1
|
+
{"version":3,"file":"lfgAirdropFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/lfgAirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,kDAA6C;AAC7C,gEAAqC;AACrC,4DAIiC;AAGjC,uFAAoF;AACpF,oDAAyD;AAEzD,SAAgB,oBAAoB,CAAC,OAAsB;IACzD,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;QAC/D,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;QACjC,MAAM,UAAU,GAA6C,MAAM,eAAK;aACrE,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;YAC9B,OAAO,EAAE,IAAI;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;aACF;SACF,CAAC,CAAC;IACL,CAAC,CAAA,CAAC;IAEF,OAAO;QACL,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE;QACtB,SAAS,EAAE,0BAAS,CAAC,MAAM;QAC3B,QAAQ;KACT,CAAC;AACJ,CAAC;AAzDD,oDAyDC"}
|
@@ -5,8 +5,8 @@ import { Platform } from '@sonarwatch/portfolio-core';
|
|
5
5
|
import { LendingMarketConfig } from './types';
|
6
6
|
import { AirdropStatics } from '../../AirdropFetcher';
|
7
7
|
export declare const platformId = "kamino";
|
8
|
-
export declare const platform: Platform;
|
9
8
|
export declare const kmnoMint = "KMNo3nJsBXfcpJTVhZcXLW7RmTwTt4GVFE7suUBo9sS";
|
9
|
+
export declare const platform: Platform;
|
10
10
|
export declare const kmnoDecimals = 6;
|
11
11
|
export declare const programId: PublicKey;
|
12
12
|
export declare const allocationApiUrl = "https://api.hubbleprotocol.io/v2/airdrop/users/";
|
@@ -1,16 +1,25 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.limitOrderProgramId = exports.airdropStaticsS2 = exports.airdropStaticsS1 = exports.reservesKey = exports.marketsKey = exports.lendingConfigs = exports.mainMarket = exports.elevationGroupsKey = exports.farmsKey = exports.farmProgramId = exports.klendProgramId = exports.allocationApiUrl = exports.programId = exports.kmnoDecimals = exports.
|
3
|
+
exports.limitOrderProgramId = exports.airdropStaticsS2 = exports.airdropStaticsS1 = exports.reservesKey = exports.marketsKey = exports.lendingConfigs = exports.mainMarket = exports.elevationGroupsKey = exports.farmsKey = exports.farmProgramId = exports.klendProgramId = exports.allocationApiUrl = exports.programId = exports.kmnoDecimals = exports.platform = exports.kmnoMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
|
+
const constants_1 = require("../marinade/constants");
|
6
|
+
const solana_1 = require("../../utils/solana");
|
7
|
+
const constants_2 = require("../jito/constants");
|
5
8
|
exports.platformId = 'kamino';
|
9
|
+
exports.kmnoMint = 'KMNo3nJsBXfcpJTVhZcXLW7RmTwTt4GVFE7suUBo9sS';
|
6
10
|
exports.platform = {
|
7
11
|
id: exports.platformId,
|
8
12
|
name: 'Kamino',
|
9
13
|
image: `https://sonar.watch/img/platforms/${exports.platformId}.webp`,
|
10
14
|
website: 'https://kamino.finance/',
|
11
15
|
defiLlamaId: 'parent#kamino-finance',
|
16
|
+
description: 'Borrow, Earn and Leverage on Solana',
|
17
|
+
discord: 'https://discord.com/invite/kaminofinance',
|
18
|
+
twitter: 'https://x.com/KaminoFinance',
|
19
|
+
documentation: 'https://docs.kamino.finance/',
|
20
|
+
github: 'https://github.com/Kamino-Finance',
|
21
|
+
tokens: [exports.kmnoMint],
|
12
22
|
};
|
13
|
-
exports.kmnoMint = 'KMNo3nJsBXfcpJTVhZcXLW7RmTwTt4GVFE7suUBo9sS';
|
14
23
|
exports.kmnoDecimals = 6;
|
15
24
|
exports.programId = new web3_js_1.PublicKey('6LtLpnUFNByNXLyCoK9wA2MykKAmQNZKBdY8s47dehDc');
|
16
25
|
exports.allocationApiUrl = 'https://api.hubbleprotocol.io/v2/airdrop/users/';
|
@@ -25,10 +34,7 @@ exports.lendingConfigs = new Map([
|
|
25
34
|
{
|
26
35
|
name: 'Main Market',
|
27
36
|
multiplyPairs: [
|
28
|
-
[
|
29
|
-
'mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So',
|
30
|
-
'So11111111111111111111111111111111111111112',
|
31
|
-
],
|
37
|
+
[constants_1.mSOLMint, 'So11111111111111111111111111111111111111112'],
|
32
38
|
[
|
33
39
|
'J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn',
|
34
40
|
'So11111111111111111111111111111111111111112',
|
@@ -63,38 +69,14 @@ exports.lendingConfigs = new Map([
|
|
63
69
|
],
|
64
70
|
],
|
65
71
|
leveragePairs: [
|
66
|
-
[
|
67
|
-
|
68
|
-
|
69
|
-
],
|
70
|
-
[
|
71
|
-
|
72
|
-
|
73
|
-
],
|
74
|
-
[
|
75
|
-
'bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1',
|
76
|
-
'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
|
77
|
-
],
|
78
|
-
[
|
79
|
-
'mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So',
|
80
|
-
'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
|
81
|
-
],
|
82
|
-
[
|
83
|
-
'So11111111111111111111111111111111111111112',
|
84
|
-
'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
|
85
|
-
],
|
86
|
-
[
|
87
|
-
'7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs',
|
88
|
-
'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
|
89
|
-
],
|
90
|
-
[
|
91
|
-
'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB',
|
92
|
-
'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
|
93
|
-
],
|
94
|
-
[
|
95
|
-
'3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh',
|
96
|
-
'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
|
97
|
-
],
|
72
|
+
['6DNSN2BJsaPFdFFc1zP37kkeNe4Usc1Sqkzr9C9vPWcU', solana_1.usdcSolanaMint],
|
73
|
+
[constants_2.jitoSOLMint, solana_1.usdcSolanaMint],
|
74
|
+
['bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1', solana_1.usdcSolanaMint],
|
75
|
+
[constants_1.mSOLMint, solana_1.usdcSolanaMint],
|
76
|
+
['So11111111111111111111111111111111111111112', solana_1.usdcSolanaMint],
|
77
|
+
['7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs', solana_1.usdcSolanaMint],
|
78
|
+
['Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB', solana_1.usdcSolanaMint],
|
79
|
+
['3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh', solana_1.usdcSolanaMint],
|
98
80
|
],
|
99
81
|
},
|
100
82
|
],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI5C,qDAAiD;AACjD,+CAAoD;AACpD,iDAAgD;AAEnC,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,qCAAqC,kBAAU,OAAO;IAC7D,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,uBAAuB;IACpC,WAAW,EAAE,qCAAqC;IAClD,OAAO,EAAE,0CAA0C;IACnD,OAAO,EAAE,6BAA6B;IACtC,aAAa,EAAE,8BAA8B;IAC7C,MAAM,EAAE,mCAAmC;IAC3C,MAAM,EAAE,CAAC,gBAAQ,CAAC;CACnB,CAAC;AAEW,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,iDAAiD,CAAC;AAEvC,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC;AACW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAC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A8C,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;IAC7E,CAAC,8CAA8C,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;IAC3E;QACE,8CAA8C;QAC9C;YACE,IAAI,EAAE,aAAa;YACnB,aAAa,EAAE;gBACb;oBACE,8CAA8C;oBAC9C,6CAA6C;iBAC9C;aACF;SACF;KACF;CACF,CAAC,CAAC;AAEU,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,WAAW,GAAG,UAAU,CAAC;AACzB,QAAA,gBAAgB,GAAmB;IAC9C,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,6BAA6B;IAC1C,SAAS,EAAE,oCAAoC;IAC/C,KAAK,EACH,4EAA4E;IAC9E,IAAI,EAAE,IAAI;CACX,CAAC;AACW,QAAA,gBAAgB,GAAmB;IAC9C,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,SAAS;IACnB,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,6BAA6B;IAC1C,SAAS,EAAE,6CAA6C;IACxD,KAAK,EACH,4EAA4E;IAC9E,IAAI,EAAE,IAAI;CACX,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,6CAA6C,CAC9C,CAAC"}
|
@@ -28,7 +28,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
28
28
|
networkId: portfolio_core_1.NetworkId.solana,
|
29
29
|
});
|
30
30
|
if (!farmsInfo)
|
31
|
-
|
31
|
+
throw new Error('Farms not cached.');
|
32
32
|
const farmsById = (0, arrayToMap_1.arrayToMap)(farmsInfo, 'pubkey');
|
33
33
|
const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
34
34
|
const element = elementRegistry.addElementLiquidity({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"farmsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/farmsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAA4E;AAC5E,iDAAsD;AACtD,+CAA8D;AAC9D,6CAAmD;AACnD,uCAA4C;AAE5C,gFAA6E;AAC7E,4DAAyD;AAEzD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,UAAU,GAAG,MAAM,IAAA,iCAAwB,EAC/C,MAAM,EACN,wBAAe,EACf,yBAAa,EACb,IAAA,yBAAe,EAAC,KAAK,CAAC,CACvB,CAAC;IACF,IAAI,CAAC,UAAU;QAAE,OAAO,EAAE,CAAC;IAE3B,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,OAAO,CAAa,oBAAQ,EAAE;QAC1D,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,SAAS;QAAE,
|
1
|
+
{"version":3,"file":"farmsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/farmsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAA4E;AAC5E,iDAAsD;AACtD,+CAA8D;AAC9D,6CAAmD;AACnD,uCAA4C;AAE5C,gFAA6E;AAC7E,4DAAyD;AAEzD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,UAAU,GAAG,MAAM,IAAA,iCAAwB,EAC/C,MAAM,EACN,wBAAe,EACf,yBAAa,EACb,IAAA,yBAAe,EAAC,KAAK,CAAC,CACvB,CAAC;IACF,IAAI,CAAC,UA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C;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"}
|
@@ -40,7 +40,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
40
40
|
const client = (0, clients_1.getClientSolana)();
|
41
41
|
const markets = yield marketsMemo.getItem(cache);
|
42
42
|
if (!markets)
|
43
|
-
|
43
|
+
throw new Error('Markets not cached');
|
44
44
|
const [lendingPdas, multiplyPdas, leveragePdas] = [
|
45
45
|
(0, pdas_1.getLendingPda)(owner, markets),
|
46
46
|
(0, pdas_1.getMultiplyPdas)(owner, markets),
|
@@ -51,7 +51,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
51
51
|
return [];
|
52
52
|
const reserves = yield reservesMemo.getItem(cache);
|
53
53
|
if (!reserves)
|
54
|
-
|
54
|
+
throw new Error('Reserves not cached');
|
55
55
|
const elevationGroups = yield elevationGroupsAccountsMemo.getItem(cache);
|
56
56
|
const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
57
57
|
const tokens = new Set();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lendsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/lendsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAiE;AACjE,gEAAqC;AACrC,2CAMqB;AAGrB,iDAAsD;AACtD,2CAAmE;AAEnE,+CAAmE;AACnE,yCAIwB;AACxB,6CAAsE;AACtE,gFAA6E;AAC7E,kEAA+D;AAC/D,4DAAyD;AAEzD,MAAM,eAAe,GAAG,kCAAkC,CAAC;AAE3D,MAAM,WAAW,GAAG,IAAI,6BAAa,CAAW,sBAAU,EAAE;IAC1D,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEH,MAAM,2BAA2B,GAAG,IAAI,6BAAa,CAInD,8BAAkB,EAClB;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,EACD,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAU,EAAyB,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,CAC7D,CAAC;AAEF,MAAM,YAAY,GAAG,IAAI,6BAAa,CACpC,uBAAW,EACX;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CACF,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,OAAO,GAAG,MAAM,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACjD,IAAI,CAAC,OAAO;QAAE,
|
1
|
+
{"version":3,"file":"lendsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/lendsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAiE;AACjE,gEAAqC;AACrC,2CAMqB;AAGrB,iDAAsD;AACtD,2CAAmE;AAEnE,+CAAmE;AACnE,yCAIwB;AACxB,6CAAsE;AACtE,gFAA6E;AAC7E,kEAA+D;AAC/D,4DAAyD;AAEzD,MAAM,eAAe,GAAG,kCAAkC,CAAC;AAE3D,MAAM,WAAW,GAAG,IAAI,6BAAa,CAAW,sBAAU,EAAE;IAC1D,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEH,MAAM,2BAA2B,GAAG,IAAI,6BAAa,CAInD,8BAAkB,EAClB;IACE,MAA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E,OAAO,EAAE,MAAM,CAAC,aAAa,CAAC,QAAQ,EAAE,EAAE;iBAC9D;aACF,CAAC,CAAC;YACH,OAAO,CAAC,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,GAAG,CAAC,CAAC;YACxE,OAAO,CAAC,gBAAgB,CAAC;gBACvB,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,IAAA,yBAAQ,EAAC,OAAO,CAAC,SAAS,CAAC,EAAE;aAC/D,CAAC,CAAC;QACL,CAAC;QAED,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5C,MAAM,eAAe,GAAG,gBAAgB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;YAChE,MAAM,QAAQ,GAAG,gBAAgB,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;YAE7D,OAAO,CAAC,OAAO,CACb,GAAG,OAAO,CAAC,IAAI,IAAI,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,GAAG,CAC3D,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -3,6 +3,6 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
export declare const platformId = "layer3";
|
6
|
+
export declare const l3Mint: PublicKey;
|
6
7
|
export declare const platform: Platform;
|
7
8
|
export declare const programId: PublicKey;
|
8
|
-
export declare const l3Mint: PublicKey;
|
@@ -1,14 +1,20 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.programId = exports.platform = exports.l3Mint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'layer3';
|
6
|
+
exports.l3Mint = new web3_js_1.PublicKey('5k84VjAKoGPXa7ias1BNgKUrX7e61eMPWhZDqsiD4Bpe');
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
8
9
|
name: 'Layer3',
|
9
10
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/layer3.webp',
|
10
11
|
website: 'https://solana.layer3.xyz/',
|
12
|
+
description: 'Powering the next generation of consumer attention.',
|
13
|
+
github: 'https://github.com/layer3xyz',
|
14
|
+
discord: 'https://discord.gg/layer3',
|
15
|
+
twitter: 'https://twitter.com/layer3xyz',
|
16
|
+
documentation: 'https://docs.layer3.xyz/',
|
17
|
+
tokens: [exports.l3Mint.toString()],
|
11
18
|
};
|
12
19
|
exports.programId = new web3_js_1.PublicKey('HE6bCtjsrra8DRbJnexKoVPSr5dYs57s3cuGHfotiQbq');
|
13
|
-
exports.l3Mint = new web3_js_1.PublicKey('5k84VjAKoGPXa7ias1BNgKUrX7e61eMPWhZDqsiD4Bpe');
|
14
20
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/layer3/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,EACH,4EAA4E;IAC9E,OAAO,EAAE,4BAA4B;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/layer3/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,MAAM,GAAG,IAAI,mBAAS,CACjC,8CAA8C,CAC/C,CAAC;AACW,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,4BAA4B;IACrC,WAAW,EAAE,qDAAqD;IAClE,MAAM,EAAE,8BAA8B;IACtC,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,0BAA0B;IACzC,MAAM,EAAE,CAAC,cAAM,CAAC,QAAQ,EAAE,CAAC;CAC5B,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC"}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
export declare const platformId = "lifinity";
|
6
|
+
export declare const xLfntyMint = "xLfNTYy76B8Tiix3hA51Jyvc1kMSFV4sPdR7szTZsRu";
|
7
|
+
export declare const lfntyMint = "LFNTYraetVioAPnGJht4yNg2aUZFXR776cMeN9VMjXp";
|
6
8
|
export declare const platform: Platform;
|
7
9
|
export declare const LifinityLockerProgramId: PublicKey;
|
8
10
|
export declare const rewarder: PublicKey;
|
9
11
|
export declare const lfntyDecimals = 6;
|
10
|
-
export declare const lfntyMint = "LFNTYraetVioAPnGJht4yNg2aUZFXR776cMeN9VMjXp";
|
11
12
|
export declare const xLfntyDecimals = 6;
|
12
|
-
export declare const xLfntyMint = "xLfNTYy76B8Tiix3hA51Jyvc1kMSFV4sPdR7szTZsRu";
|