@sonarwatch/portfolio-plugins 0.14.139 → 0.14.141
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 +2177 -2169
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/Fetcher.d.ts +1 -0
- package/src/Fetcher.js +35 -1
- package/src/Fetcher.js.map +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 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/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,wBAAwB;IACjC,OAAO,EAAE,2BAA2B;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/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,wBAAwB;IACjC,OAAO,EAAE,2BAA2B;IACpC,aAAa,EAAE,sCAAsC;IACrD,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,uBAAuB;CAClC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC"}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
export declare const platformId = "bonfida";
|
6
|
+
export declare const fidaMint = "EchesyfXePKdLtoiZSL8pBe8Myagyy8ZRqsACNCFGnvp";
|
6
7
|
export declare const platform: Platform;
|
7
8
|
export declare const offerPid: PublicKey;
|
8
9
|
export declare const airdropPid: PublicKey;
|
9
10
|
export declare const airdropApi = "https://jito-distributor-api.n38t0uklh84us.ap-southeast-1.cs.amazonlightsail.com/proof/";
|
10
|
-
export declare const fidaMint = "EchesyfXePKdLtoiZSL8pBe8Myagyy8ZRqsACNCFGnvp";
|
11
11
|
export declare const fidaDecimals = 6;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.fidaDecimals = exports.
|
3
|
+
exports.fidaDecimals = exports.airdropApi = exports.airdropPid = exports.offerPid = exports.platform = exports.fidaMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'bonfida';
|
6
|
+
exports.fidaMint = 'EchesyfXePKdLtoiZSL8pBe8Myagyy8ZRqsACNCFGnvp';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
8
9
|
name: 'Bonfida (SNS)',
|
@@ -10,10 +11,15 @@ exports.platform = {
|
|
10
11
|
website: 'https://www.sns.id/',
|
11
12
|
twitter: 'https://twitter.com/bonfida',
|
12
13
|
defiLlamaId: 'solana-name-service', // from https://defillama.com/docs/api
|
14
|
+
description: 'Web3 Identity for Everyone',
|
15
|
+
github: 'https://github.com/Bonfida',
|
16
|
+
discord: 'https://discord.com/invite/bonfida-778660171265474572',
|
17
|
+
documentation: 'https://docs.sns.id/collection',
|
18
|
+
telegram: 'https://t.me/snsdotsol',
|
19
|
+
tokens: [exports.fidaMint],
|
13
20
|
};
|
14
21
|
exports.offerPid = new web3_js_1.PublicKey('85iDfUvr3HJyLM2zcq5BXSiDvUWfw6cSE1FfNBo8Ap29');
|
15
22
|
exports.airdropPid = new web3_js_1.PublicKey('bMersFdXPWiRzjqmbviCRMvwvN1FpRmATaqrF894CbU');
|
16
23
|
exports.airdropApi = 'https://jito-distributor-api.n38t0uklh84us.ap-southeast-1.cs.amazonlightsail.com/proof/';
|
17
|
-
exports.fidaMint = 'EchesyfXePKdLtoiZSL8pBe8Myagyy8ZRqsACNCFGnvp';
|
18
24
|
exports.fidaDecimals = 6;
|
19
25
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonfida/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,qBAAqB,EAAE,sCAAsC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonfida/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,qBAAqB,EAAE,sCAAsC;IAC1E,WAAW,EAAE,4BAA4B;IACzC,MAAM,EAAE,4BAA4B;IACpC,OAAO,EAAE,uDAAuD;IAChE,aAAa,EAAE,gCAAgC;IAC/C,QAAQ,EAAE,wBAAwB;IAClC,MAAM,EAAE,CAAC,gBAAQ,CAAC;CACnB,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,UAAU,GACrB,yFAAyF,CAAC;AAC/E,QAAA,YAAY,GAAG,CAAC,CAAC"}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
export declare const platformId = "bonkrewards";
|
6
|
+
export declare const bonkMint = "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263";
|
6
7
|
export declare const platform: Platform;
|
7
8
|
export declare const stakePid: PublicKey;
|
8
9
|
export declare const stakePool = "9AdEE8AAm1XgJrPEs4zkTPozr3o4U5iGbgvPwkNdLDJ3";
|
9
|
-
export declare const bonkMint = "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263";
|
10
10
|
export declare const bonkDecimals = 5;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.bonkDecimals = exports.
|
3
|
+
exports.bonkDecimals = exports.stakePool = exports.stakePid = exports.platform = exports.bonkMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'bonkrewards';
|
6
|
+
exports.bonkMint = 'DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
8
9
|
name: 'Bonk Rewards',
|
@@ -10,9 +11,13 @@ exports.platform = {
|
|
10
11
|
twitter: 'https://twitter.com/bonk_inu',
|
11
12
|
website: 'https://bonkrewards.com/',
|
12
13
|
defiLlamaId: 'bonkswap',
|
14
|
+
discord: 'https://discord.com/invite/qaQa6M6mN2',
|
15
|
+
telegram: 'https://t.me/Official_Bonk_Inu',
|
16
|
+
medium: 'https://medium.com/@bonk_inu',
|
17
|
+
description: 'Social layer and community meme coin of Solana.',
|
18
|
+
tokens: [exports.bonkMint],
|
13
19
|
};
|
14
20
|
exports.stakePid = new web3_js_1.PublicKey('STAKEkKzbdeKkqzKpLkNQD3SUuLgshDKCD7U8duxAbB');
|
15
21
|
exports.stakePool = '9AdEE8AAm1XgJrPEs4zkTPozr3o4U5iGbgvPwkNdLDJ3';
|
16
|
-
exports.bonkMint = 'DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263';
|
17
22
|
exports.bonkDecimals = 5;
|
18
23
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonkrewards/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,0BAA0B;IACnC,WAAW,EAAE,UAAU;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonkrewards/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,aAAa,CAAC;AAC3B,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,0EAA0E;IAC5E,OAAO,EAAE,8BAA8B;IACvC,OAAO,EAAE,0BAA0B;IACnC,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,uCAAuC;IAChD,QAAQ,EAAE,gCAAgC;IAC1C,MAAM,EAAE,8BAA8B;IACtC,WAAW,EAAE,iDAAiD;IAC9D,MAAM,EAAE,CAAC,gBAAQ,CAAC;CACnB,CAAC;AACW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,6CAA6C,CAC9C,CAAC;AACW,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,YAAY,GAAG,CAAC,CAAC"}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
export declare const platformId = "bskt";
|
6
|
+
export declare const bsktMint = "6gnCPhXtLnUD76HjQuSYPENLSZdG8RvDB1pTLM5aLSJA";
|
6
7
|
export declare const platform: Platform;
|
7
8
|
export declare const bsktPid: PublicKey;
|
8
9
|
export declare const bsktDecimals = 5;
|
9
|
-
export declare const bsktMint = "6gnCPhXtLnUD76HjQuSYPENLSZdG8RvDB1pTLM5aLSJA";
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.bsktDecimals = exports.bsktPid = exports.platform = exports.bsktMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'bskt';
|
6
|
+
exports.bsktMint = '6gnCPhXtLnUD76HjQuSYPENLSZdG8RvDB1pTLM5aLSJA';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
8
9
|
name: 'BSKT',
|
@@ -10,8 +11,12 @@ exports.platform = {
|
|
10
11
|
// defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
11
12
|
website: 'https://claim.bskt.fi/',
|
12
13
|
twitter: 'https://twitter.com/bsktfi',
|
14
|
+
discord: 'https://discord.gg/VdSdWqpqQ6',
|
15
|
+
telegram: 't.me/BSKT_FI',
|
16
|
+
description: 'Baskets of assets in a portfolio, bridging liquidity cross-chain.',
|
17
|
+
documentation: 'https://www.bskt.fi/bskt-whitepaper.pdf',
|
18
|
+
tokens: [exports.bsktMint],
|
13
19
|
};
|
14
20
|
exports.bsktPid = new web3_js_1.PublicKey('BSKTvA6XG9QyqhW5Hgq8pG8pm5NnvuYyc4pYefSzM62X');
|
15
21
|
exports.bsktDecimals = 5;
|
16
|
-
exports.bsktMint = '6gnCPhXtLnUD76HjQuSYPENLSZdG8RvDB1pTLM5aLSJA';
|
17
22
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bskt/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,qEAAqE;IACrE,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,4BAA4B;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bskt/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,MAAM,CAAC;AACpB,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,MAAM;IACZ,KAAK,EACH,0EAA0E;IAC5E,qEAAqE;IACrE,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,+BAA+B;IACxC,QAAQ,EAAE,cAAc;IACxB,WAAW,EACT,mEAAmE;IACrE,aAAa,EAAE,yCAAyC;IACxD,MAAM,EAAE,CAAC,gBAAQ,CAAC;CACnB,CAAC;AAEW,QAAA,OAAO,GAAG,IAAI,mBAAS,CAClC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,YAAY,GAAG,CAAC,CAAC"}
|
@@ -11,6 +11,9 @@ exports.platform = {
|
|
11
11
|
website: 'https://citrus.famousfoxes.com/',
|
12
12
|
twitter: 'https://twitter.com/FamousFoxFed',
|
13
13
|
defiLlamaId: 'citrus', // from https://defillama.com/docs/api
|
14
|
+
description: "Solana's most feature packed and friendly NFT lending platform, brought to you by the Famous Fox Federation.",
|
15
|
+
documentation: 'https://citrus.famousfoxes.com/faq',
|
16
|
+
discord: 'https://discord.com/invite/famousfoxes',
|
14
17
|
};
|
15
18
|
exports.collectionsCacheKey = `${exports.platformId}-collections`;
|
16
19
|
exports.cachePrefix = `${exports.platformId}`;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/citrus/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,iCAAiC;IAC1C,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,QAAQ,EAAE,sCAAsC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/citrus/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,iCAAiC;IAC1C,OAAO,EAAE,kCAAkC;IAC3C,WAAW,EAAE,QAAQ,EAAE,sCAAsC;IAC7D,WAAW,EACT,8GAA8G;IAChH,aAAa,EAAE,oCAAoC;IACnD,OAAO,EAAE,wCAAwC;CAClD,CAAC;AACW,QAAA,mBAAmB,GAAG,GAAG,kBAAU,cAAc,CAAC;AAClD,QAAA,WAAW,GAAG,GAAG,kBAAU,EAAE,CAAC;AAE9B,QAAA,iBAAiB,GAC5B,sDAAsD,CAAC;AAE5C,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,YAAY,GAAG,GAAG,CAAC;AAEnB,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,qBAAa,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,eAAS;IACd,OAAO,EAAE,QAAQ;CACP,CAAC"}
|
@@ -10,6 +10,8 @@ exports.platform = {
|
|
10
10
|
defiLlamaId: 'clone-protocol', // from https://defillama.com/docs/api
|
11
11
|
website: 'https://clone.so/',
|
12
12
|
twitter: 'https://twitter.com/CloneProtocol',
|
13
|
+
isDeprecated: true,
|
14
|
+
documentation: 'https://docs.clone.so/',
|
13
15
|
};
|
14
16
|
exports.clonePid = new web3_js_1.PublicKey('C1onEW2kPetmHmwe74YC1ESx3LnFEpVau6g2pg4fHycr');
|
15
17
|
exports.poolsPubkey = new web3_js_1.PublicKey('5DmaSksXDg49G8586cqKjC1wd8gNVtoPmqmJeRMsQBut');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/clone/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,mCAAmC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/clone/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,mCAAmC;IAC5C,YAAY,EAAE,IAAI;IAClB,aAAa,EAAE,wBAAwB;CACxC,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AACW,QAAA,WAAW,GAAG,IAAI,mBAAS,CACtC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,OAAO,CAAC"}
|
@@ -31,7 +31,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
31
31
|
networkId: portfolio_core_1.NetworkId.solana,
|
32
32
|
});
|
33
33
|
if (!pools)
|
34
|
-
|
34
|
+
throw new Error('No pools cached');
|
35
35
|
const tokenPriceById = yield cache.getTokenPricesAsMap([...pools.map((pool) => pool.assetInfo.onassetMint), solana_1.usdcSolanaMint], portfolio_core_1.NetworkId.solana);
|
36
36
|
const usdcTokenPrice = tokenPriceById.get(solana_1.usdcSolanaMint);
|
37
37
|
const { borrows, comet } = userAccount;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/clone/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AAGpC,2CAAmD;AACnD,iDAAsD;AACtD,uCAA2C;AAC3C,kFAA+E;AAC/E,uCAAuC;AAEvC,+CAAsE;AACtE,qGAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,GAAG,GAAG,IAAA,wBAAc,EAAC,KAAK,CAAC,CAAC;IAElC,MAAM,WAAW,GAAG,MAAM,IAAA,2CAAoB,EAAC,MAAM,EAAE,oBAAU,EAAE,GAAG,CAAC,CAAC;IACxE,IAAI,CAAC,WAAW;QAAE,OAAO,EAAE,CAAC;IAE5B,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,OAAO,CAAS,oBAAQ,EAAE;QAClD,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,KAAK;QAAE,
|
1
|
+
{"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/clone/deposit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gCAAsB,EACpB,UAAU,CAAC,OAAO,EAClB,MAAM,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,UAAU,CAAC,QAAQ,CAAA,CAAC,CAAC,QAAQ,EAAE,EACtD,0BAAS,CAAC,MAAM,EAChB,UAAU,CACX,CACF,CAAC;QACJ,CAAC;IACH,CAAC;IACD,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC/D,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,GACrE,IAAA,wCAAuB,EAAC,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC,CAAC;QAE5E,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,qCAAoB,CAAC,UAAU;YACrC,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,KAAK,EAAE,SAAS;YAChB,KAAK;YACL,IAAI,EAAE,OAAO;YACb,IAAI,EAAE;gBACJ,cAAc;gBACd,aAAa;gBACb,cAAc;gBACd,cAAc;gBACd,aAAa;gBACb,cAAc;gBACd,WAAW;gBACX,YAAY;gBACZ,WAAW;gBACX,KAAK;aACN;SACF,CAAC,CAAC;IACL,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,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,5 +3,6 @@
|
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
4
|
import { Platform } from '@sonarwatch/portfolio-core';
|
5
5
|
export declare const platformId = "cropper";
|
6
|
+
export declare const crpMint = "7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hr";
|
6
7
|
export declare const platform: Platform;
|
7
8
|
export declare const clmmPid: PublicKey;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.clmmPid = exports.platform = exports.platformId = void 0;
|
3
|
+
exports.clmmPid = exports.platform = exports.crpMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'cropper';
|
6
|
+
exports.crpMint = '7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hr';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
8
9
|
name: 'Cropper',
|
@@ -10,6 +11,13 @@ exports.platform = {
|
|
10
11
|
website: 'https://cropper.finance/',
|
11
12
|
twitter: 'https://twitter.com/CropperFinance',
|
12
13
|
defiLlamaId: 'cropper-clmm', // from https://defillama.com/docs/api
|
14
|
+
tokens: [exports.crpMint],
|
15
|
+
isDeprecated: true,
|
16
|
+
description: 'Cropper is an decentralized exchange built on the Solana blockchain.',
|
17
|
+
github: 'https://github.com/CropperFinance',
|
18
|
+
documentation: 'https://docs.cropper.finance/cropperfinance',
|
19
|
+
telegram: 'https://t.me/CropperFinance',
|
20
|
+
medium: 'https://cropperfinance.medium.com/',
|
13
21
|
};
|
14
22
|
exports.clmmPid = new web3_js_1.PublicKey('H8W3ctz92svYg6mkn1UtGfu2aQr2fnUFHM1RhScEtQDt');
|
15
23
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cropper/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,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,oCAAoC;IAC7C,WAAW,EAAE,cAAc,EAAE,sCAAsC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cropper/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,OAAO,EAAE,0BAA0B;IACnC,OAAO,EAAE,oCAAoC;IAC7C,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,MAAM,EAAE,CAAC,eAAO,CAAC;IACjB,YAAY,EAAE,IAAI;IAClB,WAAW,EACT,sEAAsE;IACxE,MAAM,EAAE,mCAAmC;IAC3C,aAAa,EAAE,6CAA6C;IAC5D,QAAQ,EAAE,6BAA6B;IACvC,MAAM,EAAE,oCAAoC;CAC7C,CAAC;AAEW,QAAA,OAAO,GAAG,IAAI,mBAAS,CAClC,8CAA8C,CAC/C,CAAC"}
|
@@ -9,6 +9,8 @@ exports.platform = {
|
|
9
9
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/cyberfrogs.webp',
|
10
10
|
website: 'https://legacy.cyberfrogs.io/faction-contracts-v3',
|
11
11
|
twitter: 'https://twitter.com/CyberFrogsNFT',
|
12
|
+
discord: 'https://discord.com/invite/cyberfrogs',
|
13
|
+
description: 'Leading NFT Development, Innovation & Crypto Trading Tools',
|
12
14
|
};
|
13
15
|
exports.pid = new web3_js_1.PublicKey('8F2VM13kdMBaHtcXPHmArtLueg7rfsa3gnrgGjAy4oCu');
|
14
16
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,gFAAgF;IAClF,OAAO,EAAE,mDAAmD;IAC5D,OAAO,EAAE,mCAAmC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,gFAAgF;IAClF,OAAO,EAAE,mDAAmD;IAC5D,OAAO,EAAE,mCAAmC;IAC5C,OAAO,EAAE,uCAAuC;IAChD,WAAW,EAAE,4DAA4D;CAC1E,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAC9B,8CAA8C,CAC/C,CAAC"}
|
@@ -9,6 +9,10 @@ exports.realmsPlatform = {
|
|
9
9
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/realms.webp',
|
10
10
|
defiLlamaId: 'spl-governance',
|
11
11
|
website: 'https://app.realms.today/',
|
12
|
+
github: 'https://github.com/Mythic-Project',
|
13
|
+
description: 'The home for on-chain communities in the Solana ecosystem. Helping ~3K Web3 organizations and their members thrive.',
|
14
|
+
documentation: 'https://docs.realms.today/',
|
15
|
+
discord: 'https://discord.gg/6UZHcNJFr8',
|
12
16
|
};
|
13
17
|
exports.heliumPlatformId = 'helium';
|
14
18
|
exports.heliumPlatform = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AAEtB,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,2BAA2B;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AAEtB,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,WAAW,EAAE,gBAAgB;IAC7B,OAAO,EAAE,2BAA2B;IACpC,MAAM,EAAE,mCAAmC;IAC3C,WAAW,EACT,qHAAqH;IACvH,aAAa,EAAE,4BAA4B;IAC3C,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,gBAAgB,GAAG,QAAQ,CAAC;AAC5B,QAAA,cAAc,GAAa;IACtC,EAAE,EAAE,wBAAgB;IACpB,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,4BAA4B;CACtC,CAAC;AAEW,QAAA,iBAAiB,GAAG,uBAAuB,CAAC;AAC5C,QAAA,YAAY,GAAG,YAAY,CAAC;AAE5B,QAAA,mBAAmB,GAAe;IAC7C;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,WAAW;QACpF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,QAAQ;QAClF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,6CAA6C,CAAC,EAAE,QAAQ;QACjF,IAAI,EAAE,6CAA6C;KACpD;IACD;QACE,SAAS,EAAE,IAAI,mBAAS,CAAC,8CAA8C,CAAC,EAAE,aAAa;QACvF,IAAI,EAAE,8CAA8C;KACrD;CACF,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,oDAAoD,CAAC"}
|
@@ -5,6 +5,7 @@ import { Platform } from '@sonarwatch/portfolio-core';
|
|
5
5
|
import { PublicKey } from '@solana/web3.js';
|
6
6
|
import { AirdropStatics } from '../../AirdropFetcher';
|
7
7
|
export declare const platformId = "debridge";
|
8
|
+
export declare const dbrMint = "DBRiDgJAMsM95moTzJs7M9LnkGErpbv9v6CUR1DXnUu5";
|
8
9
|
export declare const platform: Platform;
|
9
10
|
export declare const commonStatics: {
|
10
11
|
claimLink: string;
|
@@ -14,7 +15,6 @@ export declare const commonStatics: {
|
|
14
15
|
};
|
15
16
|
export declare const firstDistribStatics: AirdropStatics;
|
16
17
|
export declare const secondDistribStatics: AirdropStatics;
|
17
|
-
export declare const dbrMint = "DBRiDgJAMsM95moTzJs7M9LnkGErpbv9v6CUR1DXnUu5";
|
18
18
|
export declare const dbrDecimals = 6;
|
19
19
|
export declare const apiUrl = "https://points-api.debridge.foundation/api/TokenDistribution/";
|
20
20
|
export declare const dlmmVaultProgramId: PublicKey;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.receiptBuffer = exports.distributorPid = exports.dlmmVaultProgramId = exports.apiUrl = exports.dbrDecimals = exports.
|
3
|
+
exports.receiptBuffer = exports.distributorPid = exports.dlmmVaultProgramId = exports.apiUrl = exports.dbrDecimals = exports.secondDistribStatics = exports.firstDistribStatics = exports.commonStatics = exports.platform = exports.dbrMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'debridge';
|
6
|
+
exports.dbrMint = 'DBRiDgJAMsM95moTzJs7M9LnkGErpbv9v6CUR1DXnUu5';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
8
9
|
name: 'deBridge',
|
@@ -10,6 +11,12 @@ exports.platform = {
|
|
10
11
|
website: 'https://debridge.finance/',
|
11
12
|
twitter: 'https://x.com/deBridgeFinance',
|
12
13
|
defiLlamaId: 'debridge', // from https://defillama.com/docs/api
|
14
|
+
github: 'https://github.com/debridge-finance/',
|
15
|
+
discord: 'https://discord.gg/debridge',
|
16
|
+
description: 'Cross-chain interoperability and liquidity transfer protocol that allows the decentralized transfer of arbitrary data and assets between various blockchains.',
|
17
|
+
documentation: 'https://docs.debridge.finance/',
|
18
|
+
telegram: 'https://t.me/deBridge_finance',
|
19
|
+
tokens: [exports.dbrMint],
|
13
20
|
};
|
14
21
|
exports.commonStatics = {
|
15
22
|
claimLink: 'https://debridge.foundation/checker',
|
@@ -19,7 +26,6 @@ exports.commonStatics = {
|
|
19
26
|
};
|
20
27
|
exports.firstDistribStatics = Object.assign(Object.assign({}, exports.commonStatics), { id: `${exports.platformId}-dis1`, claimStart: 1724940000000, claimEnd: 1747440000000 });
|
21
28
|
exports.secondDistribStatics = Object.assign(Object.assign({}, exports.commonStatics), { id: `${exports.platformId}-dis2`, claimStart: 1744876800000, claimEnd: 1747440000000 });
|
22
|
-
exports.dbrMint = 'DBRiDgJAMsM95moTzJs7M9LnkGErpbv9v6CUR1DXnUu5';
|
23
29
|
exports.dbrDecimals = 6;
|
24
30
|
exports.apiUrl = 'https://points-api.debridge.foundation/api/TokenDistribution/';
|
25
31
|
exports.dlmmVaultProgramId = new web3_js_1.PublicKey('DBrLFG4dco1xNC5Aarbt3KEaKaJ5rBYHwysqZoeqsSFE');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,UAAU,EAAE,sCAAsC;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,UAAU,EAAE,sCAAsC;IAC/D,MAAM,EAAE,sCAAsC;IAC9C,OAAO,EAAE,6BAA6B;IACtC,WAAW,EACT,+JAA+J;IACjK,aAAa,EAAE,gCAAgC;IAC/C,QAAQ,EAAE,+BAA+B;IACzC,MAAM,EAAE,CAAC,eAAO,CAAC;CAClB,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,qCAAqC;IAChD,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,UAAU;IACvB,KAAK,EACH,8EAA8E;CACjF,CAAC;AAEW,QAAA,mBAAmB,mCAC3B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,aAAa,IACvB;AAEW,QAAA,oBAAoB,mCAC5B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,aAAa,IACvB;AAEW,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,MAAM,GACjB,+DAA+D,CAAC;AAErD,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AACW,QAAA,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,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 = "defiland";
|
6
|
-
export declare const platform: Platform;
|
7
6
|
export declare const dflMint = "DFL1zNkaGPWm1BqAVqRjCZvHmwTFrEaJtbzJWgseoNJh";
|
7
|
+
export declare const platform: Platform;
|
8
8
|
export declare const stakingPid: PublicKey;
|
@@ -1,15 +1,20 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.stakingPid = exports.
|
3
|
+
exports.stakingPid = exports.platform = exports.dflMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'defiland';
|
6
|
+
exports.dflMint = 'DFL1zNkaGPWm1BqAVqRjCZvHmwTFrEaJtbzJWgseoNJh';
|
6
7
|
exports.platform = {
|
7
8
|
id: exports.platformId,
|
8
9
|
name: 'Defiland',
|
9
10
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/defiland.webp',
|
10
11
|
website: 'https://staking.defiland.app/',
|
11
12
|
twitter: 'https://x.com/DeFi_Land',
|
13
|
+
documentation: 'https://docs.defiland.app/',
|
14
|
+
discord: 'https://discord.gg/defiland',
|
15
|
+
telegram: 'https://t.me/official_defiland',
|
16
|
+
tokens: [exports.dflMint],
|
17
|
+
description: ' multi-chain agriculture-simulation game created to gamify Decentralized Finance',
|
12
18
|
};
|
13
|
-
exports.dflMint = 'DFL1zNkaGPWm1BqAVqRjCZvHmwTFrEaJtbzJWgseoNJh';
|
14
19
|
exports.stakingPid = new web3_js_1.PublicKey('KJ6b6PswEZeNSwEh1po51wxnbX1C3FPhQPhg8eD2Y6E');
|
15
20
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defiland/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,yBAAyB;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defiland/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,yBAAyB;IAClC,aAAa,EAAE,4BAA4B;IAC3C,OAAO,EAAE,6BAA6B;IACtC,QAAQ,EAAE,gCAAgC;IAC1C,MAAM,EAAE,CAAC,eAAO,CAAC;IACjB,WAAW,EACT,kFAAkF;CACrF,CAAC;AACW,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,6CAA6C,CAC9C,CAAC"}
|
@@ -11,6 +11,9 @@ exports.platform = {
|
|
11
11
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/defituna.webp',
|
12
12
|
website: 'https://defituna.com',
|
13
13
|
twitter: 'https://x.com/DeFiTuna',
|
14
|
+
discord: 'https://discord.gg/vNWwVWbnzs',
|
15
|
+
documentation: 'https://defituna.gitbook.io/defituna-docs',
|
16
|
+
description: 'A comprehensive toolkit for Liquidity Providers',
|
14
17
|
};
|
15
18
|
exports.defiTunaProgram = new web3_js_1.PublicKey('tuna4uSQZncNeeiAMKbstuxA9CUkHH6HmC64wgmnogD');
|
16
19
|
exports.lendingPoolsCacheKey = 'lending-pools';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defituna/constants.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,6CAA4C;AAC5C,kEAA+D;AAGlD,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,wBAAwB;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defituna/constants.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,6CAA4C;AAC5C,kEAA+D;AAGlD,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EACH,8EAA8E;IAChF,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,2CAA2C;IAC1D,WAAW,EAAE,iDAAiD;CAC/D,CAAC;AAEW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,6CAA6C,CAC9C,CAAC;AAEW,QAAA,oBAAoB,GAAG,eAAe,CAAC;AACvC,QAAA,SAAS,GAAG,IAAI,6BAAa,CAAU,4BAAoB,EAAE;IACxE,MAAM,EAAE,kBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC"}
|
@@ -41,6 +41,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
41
41
|
if (accounts.length === 0)
|
42
42
|
return [];
|
43
43
|
const pools = yield constants_1.poolsMemo.getItem(cache);
|
44
|
+
if (!pools)
|
45
|
+
throw new Error('Pools not cached');
|
44
46
|
const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
45
47
|
const element = elementRegistry.addElementBorrowlend({
|
46
48
|
label: 'Lending',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lendingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defituna/lendingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAiE;AACjE,gEAAqC;AAErC,2CAAqE;AAErE,iDAAsD;AACtD,+CAA8D;AAC9D,gFAA6E;AAC7E,uCAA0C;AAE1C,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,UAAU,EACV,uBAAa,EACb,2BAAe,EACf;QACE;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,aAAa;aACrB;SACF;QACD;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,EAAE;gBACV,KAAK,EAAE,KAAK;aACb;SACF;QACD;YACE,QAAQ,EAAE,GAAG;SACd;KACF,CACF,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,KAAK,GAAG,MAAM,qBAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAE7C,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,CAAC,oBAAoB,CAAC;QACnD,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,8BAA8B;KACrC,CAAC,CAAC;IAEH,QAAQ,CAAC,OAAO,C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C;YACvB,OAAO,EAAE,OAAO,CAAC,QAAQ;YACzB,MAAM,EAAE,OAAO,CAAC,eAAe;iBAC5B,YAAY,CAAC,IAAI,CAAC,cAAc,CAAC;iBACjC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC;YAClC,GAAG,EAAE,OAAO,CAAC,MAAM;YACnB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC;SAC1E,CAAC,CAAC;QAEH,OAAO,CAAC,gBAAgB,CAAC;YACvB;gBACE,GAAG,EAAE,IAAI,sBAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE;gBAC7C,GAAG,EAAE,IAAA,yBAAQ,EAAC,IAAI,sBAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC;aACxD;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,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"}
|
@@ -49,6 +49,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
49
49
|
}),
|
50
50
|
constants_1.poolsMemo.getItem(cache),
|
51
51
|
]);
|
52
|
+
if (!lendingPools)
|
53
|
+
throw new Error('Lending pools not cached');
|
52
54
|
const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
53
55
|
accounts.forEach((account) => {
|
54
56
|
if (account.state !== structs_1.TunaPositionStatus.Normal)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../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CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
1
|
+
{"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/defituna/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,gEAAqC;AAErC,2CAAqE;AAErE,iDAAsD;AACtD,+CAA6E;AAC7E,gFAA6E;AAC7E,uCAAmE;AACnE,iDAAoD;AAEpD,wFAAyF;AAEzF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,UAAU,EACV,4BAAkB,EAClB,2BAAe,EACf;QACE;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,aAAa;aACrB;SACF;QACD;YACE,MAAM,EAAE;gBACN,MAAM,EAAE,EAAE;gBACV,KAAK,EAAE,KAAK;aACb;SACF;QACD;YACE,QAAQ,EAAE,GAAG;SACd;KACF,CACF,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC9C,KAAK,CAAC,QAAQ,CACZ,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,EAC1C;YACE,MAAM,EAAE,2BAAe;YACvB,SAAS,EAAE,0BAAS,CAAC,MAAM;SAC5B,CACF;QACD,qBAAS,CAAC,OAAO,CAAC,KAAK,CAAC;KACzB,CAAC,CAAC;IAEH,IAAI,CAAC,YAAY;QAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAE/D,M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;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,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"}
|
@@ -4,8 +4,8 @@ import { Platform } from '@sonarwatch/portfolio-core';
|
|
4
4
|
import { IdlItem } from '@solanafm/explorer-kit-idls';
|
5
5
|
import { PublicKey } from '@solana/web3.js';
|
6
6
|
export declare const platformId = "divvy";
|
7
|
+
export declare const dvyMint = "8fdi18UQNGg8mFEzjf79GUkzTg9YHSeojzCcarVxCX2y";
|
7
8
|
export declare const platform: Platform;
|
8
9
|
export declare const divvyProgram: PublicKey;
|
9
|
-
export declare const dvyMint = "8fdi18UQNGg8mFEzjf79GUkzTg9YHSeojzCcarVxCX2y";
|
10
10
|
export declare const divvyIdlItem: IdlItem;
|
11
11
|
export declare const houseCacheKey = "houses";
|
@@ -1,18 +1,23 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.houseCacheKey = exports.divvyIdlItem = exports.
|
3
|
+
exports.houseCacheKey = exports.divvyIdlItem = exports.divvyProgram = exports.platform = exports.dvyMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
const idl_1 = require("./idl");
|
6
6
|
exports.platformId = 'divvy';
|
7
|
+
exports.dvyMint = '8fdi18UQNGg8mFEzjf79GUkzTg9YHSeojzCcarVxCX2y';
|
7
8
|
exports.platform = {
|
8
9
|
id: exports.platformId,
|
9
10
|
name: 'Divvy',
|
10
11
|
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/divvy.webp',
|
11
12
|
defiLlamaId: 'divvy.bet',
|
12
13
|
website: 'https://app.divvy.bet/',
|
14
|
+
discord: 'https://discord.com/invite/divvybet',
|
15
|
+
documentation: 'https://divvy.bet/wp-content/uploads/2022/12/Divvy_Knowledge_Hub_06.pdf',
|
16
|
+
twitter: 'https://twitter.com/DivvyBet',
|
17
|
+
tokens: [exports.dvyMint],
|
18
|
+
description: 'Frictionless betting experience powered by Solana with no signups or deposits',
|
13
19
|
};
|
14
20
|
exports.divvyProgram = new web3_js_1.PublicKey('dvyFwAPniptQNb1ey4eM12L8iLHrzdiDsPPDndd6xAR');
|
15
|
-
exports.dvyMint = '8fdi18UQNGg8mFEzjf79GUkzTg9YHSeojzCcarVxCX2y';
|
16
21
|
exports.divvyIdlItem = {
|
17
22
|
programId: exports.divvyProgram.toString(),
|
18
23
|
idl: idl_1.DivvyIdl,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/divvy/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+BAAiC;AAEpB,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,wBAAwB;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/divvy/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,+BAAiC;AAEpB,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,WAAW;IACxB,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,qCAAqC;IAC9C,aAAa,EACX,yEAAyE;IAC3E,OAAO,EAAE,8BAA8B;IACvC,MAAM,EAAE,CAAC,eAAO,CAAC;IACjB,WAAW,EACT,+EAA+E;CAClF,CAAC;AAEW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,YAAY,GAAG;IAC1B,SAAS,EAAE,oBAAY,CAAC,QAAQ,EAAE;IAClC,GAAG,EAAE,cAAQ;IACb,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,aAAa,GAAG,QAAQ,CAAC"}
|
@@ -34,6 +34,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
34
34
|
if (accounts.length === 0)
|
35
35
|
return [];
|
36
36
|
const houses = yield housesMemo.getItem(cache);
|
37
|
+
if (!houses)
|
38
|
+
throw new Error('Houses not cached');
|
37
39
|
const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
38
40
|
const element = elementRegistry.addElementMultiple({
|
39
41
|
label: 'Deposit',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"housePoolFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/divvy/housePoolFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAAsE;AAEtE,iDAAsD;AAEtD,+CAAkE;AAClE,kEAA+D;AAC/D,4DAAyD;AACzD,gFAA6E;AAE7E,MAAM,UAAU,GAAG,IAAI,6BAAa,CAClC,yBAAa,EACb;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,EACD,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAU,EAAC,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,CACzC,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,MAAM,IAAA,qCAA4B,EACjD,UAAU,EACV,wBAAY,EACZ;QACE,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE;QAC/C;YACE,MAAM,EAAE;gBACN,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,EAAE;aACX;SACF;KACF,CACF,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"housePoolFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/divvy/housePoolFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAAsE;AAEtE,iDAAsD;AAEtD,+CAAkE;AAClE,kEAA+D;AAC/D,4DAAyD;AACzD,gFAA6E;AAE7E,MAAM,UAAU,GAAG,IAAI,6BAAa,CAClC,yBAAa,EACb;IACE,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,EACD,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAU,EAAC,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,CACzC,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,MAAM,IAAA,qCAA4B,EACjD,UAAU,EACV,wBAAY,EACZ;QACE,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE;QAC/C;YACE,MAAM,EAAE;gBACN,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,EAAE;aACX;SACF;KACF,CACF,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/C,IAAI,CAAC,MAAM;QAAE,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAElD,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,CAAC,kBAAkB,CAAC;QACjD,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,4CAA4C;KACnD,CAAC,CAAC;IAEH,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACxC,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,OAAO,CAAC,QAAQ,CAAC;YACf,OAAO,EAAE,KAAK,CAAC,QAAQ;YACvB,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,GAAG,EAAE,OAAO,CAAC,MAAM;YACnB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC;SACjE,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,aAAa;IAC9B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -5,6 +5,7 @@ import { Platform } from '@sonarwatch/portfolio-core';
|
|
5
5
|
import { AirdropStatics } from '../../AirdropFetcher';
|
6
6
|
export declare const platformId = "drift";
|
7
7
|
export declare const platformName = "Drift";
|
8
|
+
export declare const driftMint = "DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7";
|
8
9
|
export declare const platformImage = "https://sonar.watch/img/platforms/drift.webp";
|
9
10
|
export declare const platformWebsite = "https://www.drift.trade/";
|
10
11
|
export declare const platform: Platform;
|
@@ -15,5 +16,4 @@ export declare const perpMarketsIndexesKey = "perp-markets-indexes";
|
|
15
16
|
export declare const oracleToMintKey = "oracle-to-mint";
|
16
17
|
export declare const airdropUrl = "https://airdrop.drift.trade/eligibility/";
|
17
18
|
export declare const driftDecimals = 6;
|
18
|
-
export declare const driftMint = "DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7";
|
19
19
|
export declare const airdropStatics: AirdropStatics;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.airdropStatics = exports.
|
3
|
+
exports.airdropStatics = exports.driftDecimals = exports.airdropUrl = exports.oracleToMintKey = exports.perpMarketsIndexesKey = exports.preMarketPriceKey = exports.driftProgram = exports.keySpotMarkets = exports.platform = exports.platformWebsite = exports.platformImage = exports.driftMint = exports.platformName = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'drift';
|
6
6
|
exports.platformName = 'Drift';
|
7
|
+
exports.driftMint = 'DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7';
|
7
8
|
exports.platformImage = 'https://sonar.watch/img/platforms/drift.webp';
|
8
9
|
exports.platformWebsite = 'https://www.drift.trade/';
|
9
10
|
exports.platform = {
|
@@ -12,6 +13,12 @@ exports.platform = {
|
|
12
13
|
image: exports.platformImage,
|
13
14
|
defiLlamaId: 'parent#drift',
|
14
15
|
website: exports.platformWebsite,
|
16
|
+
description: 'Drift brings on-chain, cross-margined perpetual futures to Solana. Making futures DEXs the best way to trade.',
|
17
|
+
discord: 'https://discord.com/invite/fMcZBH8ErM',
|
18
|
+
twitter: 'https://twitter.com/DriftProtocol',
|
19
|
+
documentation: 'https://docs.drift.trade/',
|
20
|
+
github: 'https://github.com/drift-labs',
|
21
|
+
tokens: [exports.driftMint],
|
15
22
|
};
|
16
23
|
exports.keySpotMarkets = `spotMarkets`;
|
17
24
|
exports.driftProgram = new web3_js_1.PublicKey('dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH');
|
@@ -20,7 +27,6 @@ exports.perpMarketsIndexesKey = 'perp-markets-indexes';
|
|
20
27
|
exports.oracleToMintKey = 'oracle-to-mint';
|
21
28
|
exports.airdropUrl = 'https://airdrop.drift.trade/eligibility/';
|
22
29
|
exports.driftDecimals = 6;
|
23
|
-
exports.driftMint = 'DriFtupJYLTosbwoN8koMbEYSx54aFAVLddWsbksjwg7';
|
24
30
|
exports.airdropStatics = {
|
25
31
|
id: 'drift-airdrop-1',
|
26
32
|
claimLink: 'https://drift.foundation',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,eAAe,GAAG,0BAA0B,CAAC;AAC7C,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,oBAAY;IAClB,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,uBAAe;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,eAAe,GAAG,0BAA0B,CAAC;AAC7C,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,oBAAY;IAClB,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,cAAc;IAC3B,OAAO,EAAE,uBAAe;IACxB,WAAW,EACT,+GAA+G;IACjH,OAAO,EAAE,uCAAuC;IAChD,OAAO,EAAE,mCAAmC;IAC5C,aAAa,EAAE,2BAA2B;IAC1C,MAAM,EAAE,+BAA+B;IACvC,MAAM,EAAE,CAAC,iBAAS,CAAC;CACpB,CAAC;AACW,QAAA,cAAc,GAAG,aAAa,CAAC;AAE/B,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,iBAAiB,GAAG,gBAAgB,CAAC;AACrC,QAAA,qBAAqB,GAAG,sBAAsB,CAAC;AAC/C,QAAA,eAAe,GAAG,gBAAgB,CAAC;AAEnC,QAAA,UAAU,GAAG,0CAA0C,CAAC;AACxD,QAAA,aAAa,GAAG,CAAC,CAAC;AAElB,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,iBAAiB;IACrB,SAAS,EAAE,0BAA0B;IACrC,KAAK,EAAE,qBAAa;IACpB,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,oBAAY;IACzB,WAAW,EAAE,uBAAe;IAC5B,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;CACxB,CAAC"}
|
@@ -37,6 +37,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
37
37
|
const client = (0, clients_1.getClientSolana)();
|
38
38
|
const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
39
39
|
const spotMarketsItems = yield exports.spotMarketsMemo.getItem(cache);
|
40
|
+
if (!spotMarketsItems)
|
41
|
+
throw new Error('Spot markets not cached');
|
40
42
|
const spotMarketByIndex = new Map();
|
41
43
|
const insuranceFundStakeAccountsAddresses = [];
|
42
44
|
const insuranceVaultsPkeys = [];
|