@sonarwatch/portfolio-plugins 0.14.137 → 0.14.139
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 +2165 -2152
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/index.js +356 -639
- package/src/index.js.map +1 -1
- package/src/orphanPlatforms.d.ts +1 -0
- package/src/orphanPlatforms.js +15 -14
- package/src/orphanPlatforms.js.map +1 -1
- package/src/plugins/01/constants.js +1 -1
- package/src/plugins/01/constants.js.map +1 -1
- package/src/plugins/aave/constants.js +1 -1
- package/src/plugins/aave/constants.js.map +1 -1
- package/src/plugins/abex/constants.js +1 -1
- package/src/plugins/abex/constants.js.map +1 -1
- package/src/plugins/accessprotocol/constants.js +1 -1
- package/src/plugins/accessprotocol/constants.js.map +1 -1
- package/src/plugins/adrastea/constants.js +1 -1
- package/src/plugins/adrastea/constants.js.map +1 -1
- package/src/plugins/adrena/constants.js +1 -1
- package/src/plugins/adrena/constants.js.map +1 -1
- package/src/plugins/aftermath/constants.js +1 -1
- package/src/plugins/aftermath/constants.js.map +1 -1
- package/src/plugins/allbridge/constants.js +1 -1
- package/src/plugins/allbridge/constants.js.map +1 -1
- package/src/plugins/alphafi/constants.js +1 -1
- package/src/plugins/alphafi/constants.js.map +1 -1
- package/src/plugins/aptin/constants.js +1 -1
- package/src/plugins/aptin/constants.js.map +1 -1
- package/src/plugins/aries/constants.js +1 -1
- package/src/plugins/aries/constants.js.map +1 -1
- package/src/plugins/armada-staking/constants.js +11 -11
- package/src/plugins/armada-staking/constants.js.map +1 -1
- package/src/plugins/atrix/constants.js +1 -1
- package/src/plugins/atrix/constants.js.map +1 -1
- package/src/plugins/aurory/constants.js +1 -1
- package/src/plugins/aurory/constants.js.map +1 -1
- package/src/plugins/auxexchange/constants.js +1 -1
- package/src/plugins/auxexchange/constants.js.map +1 -1
- package/src/plugins/balancer/constants.js +1 -1
- package/src/plugins/balancer/constants.js.map +1 -1
- package/src/plugins/balancer/helpers/pools.js +21 -21
- package/src/plugins/banx/constants.js +1 -1
- package/src/plugins/banx/constants.js.map +1 -1
- package/src/plugins/baskt/constants.js +1 -1
- package/src/plugins/baskt/constants.js.map +1 -1
- package/src/plugins/benqi/constants.js +1 -1
- package/src/plugins/benqi/constants.js.map +1 -1
- package/src/plugins/bluefin/constants.js +2 -2
- package/src/plugins/bluefin/constants.js.map +1 -1
- package/src/plugins/bluefin/index.d.ts +2 -2
- package/src/plugins/bluefin/index.js +2 -2
- package/src/plugins/bluefin/index.js.map +1 -1
- package/src/plugins/bluemove/constants.js +1 -1
- package/src/plugins/bluemove/constants.js.map +1 -1
- package/src/plugins/bonfida/constants.js +1 -1
- package/src/plugins/bonfida/constants.js.map +1 -1
- package/src/plugins/bonkrewards/constants.js +1 -1
- package/src/plugins/bonkrewards/constants.js.map +1 -1
- package/src/plugins/bskt/constants.js +1 -1
- package/src/plugins/bskt/constants.js.map +1 -1
- package/src/plugins/bucket/constants.js +1 -1
- package/src/plugins/bucket/constants.js.map +1 -1
- package/src/plugins/cetus/constants.js +1 -1
- package/src/plugins/cetus/constants.js.map +1 -1
- package/src/plugins/citrus/constants.js +1 -1
- package/src/plugins/citrus/constants.js.map +1 -1
- package/src/plugins/clone/constants.js +1 -1
- package/src/plugins/clone/constants.js.map +1 -1
- package/src/plugins/compound/constants.js +1 -1
- package/src/plugins/compound/constants.js.map +1 -1
- package/src/plugins/cropper/constants.js +1 -1
- package/src/plugins/cropper/constants.js.map +1 -1
- package/src/plugins/curve/constants.js +1 -1
- package/src/plugins/curve/constants.js.map +1 -1
- package/src/plugins/cyberfrogs/constants.js +1 -1
- package/src/plugins/cyberfrogs/constants.js.map +1 -1
- package/src/plugins/daos/constants.js +2 -2
- package/src/plugins/daos/constants.js.map +1 -1
- package/src/plugins/debridge/constants.js +2 -2
- package/src/plugins/debridge/constants.js.map +1 -1
- package/src/plugins/deepbook/constants.js +2 -2
- package/src/plugins/deepbook/constants.js.map +1 -1
- package/src/plugins/deepbook/index.d.ts +2 -0
- package/src/plugins/deepbook/index.js +2 -1
- package/src/plugins/deepbook/index.js.map +1 -1
- package/src/plugins/defiland/constants.js +1 -1
- package/src/plugins/defiland/constants.js.map +1 -1
- package/src/plugins/defituna/constants.js +1 -1
- package/src/plugins/defituna/constants.js.map +1 -1
- package/src/plugins/divvy/constants.js +1 -1
- package/src/plugins/divvy/constants.js.map +1 -1
- package/src/plugins/doubleup/constants.js +1 -1
- package/src/plugins/doubleup/constants.js.map +1 -1
- package/src/plugins/drift/depositsFetcher.js.map +1 -1
- package/src/plugins/drift/index.d.ts +2 -1
- package/src/plugins/drift/index.js +3 -4
- package/src/plugins/drift/index.js.map +1 -1
- package/src/plugins/drift/perpHelpers/margin.js +1 -8
- package/src/plugins/drift/perpHelpers/margin.js.map +1 -1
- package/src/plugins/drift/perpHelpers/position.js +0 -1
- package/src/plugins/drift/perpHelpers/position.js.map +1 -1
- package/src/plugins/drift/perpHelpers/pyth.js +4 -5
- package/src/plugins/drift/perpHelpers/pyth.js.map +1 -1
- package/src/plugins/drift/perpHelpers/switchboard_on_demand.js +1 -2
- package/src/plugins/drift/perpHelpers/switchboard_on_demand.js.map +1 -1
- package/src/plugins/drift/perpHelpers/types.d.ts +0 -1
- package/src/plugins/drift/perpHelpers/types.js.map +1 -1
- package/src/plugins/drift-market-maker-vault/constants.js +9 -9
- package/src/plugins/drift-market-maker-vault/constants.js.map +1 -1
- package/src/plugins/echelon/constants.js +1 -1
- package/src/plugins/echelon/constants.js.map +1 -1
- package/src/plugins/elemental/constants.js +1 -1
- package/src/plugins/elemental/constants.js.map +1 -1
- package/src/plugins/elixir/constants.js +1 -1
- package/src/plugins/elixir/constants.js.map +1 -1
- package/src/plugins/ensofi/constants.js +1 -1
- package/src/plugins/ensofi/constants.js.map +1 -1
- package/src/plugins/exponent/constants.js +1 -1
- package/src/plugins/exponent/constants.js.map +1 -1
- package/src/plugins/famousfoxfederation/constants.js +1 -1
- package/src/plugins/famousfoxfederation/constants.js.map +1 -1
- package/src/plugins/flash/constants.js +1 -1
- package/src/plugins/flash/constants.js.map +1 -1
- package/src/plugins/flowx/constants.js +1 -1
- package/src/plugins/flowx/constants.js.map +1 -1
- package/src/plugins/fluxbeam/constants.js +1 -1
- package/src/plugins/fluxbeam/constants.js.map +1 -1
- package/src/plugins/foo/constants.js +2 -2
- package/src/plugins/foo/constants.js.map +1 -1
- package/src/plugins/fragmetric/constants.js +1 -1
- package/src/plugins/fragmetric/constants.js.map +1 -1
- package/src/plugins/francium/constants.js +1 -1
- package/src/plugins/francium/constants.js.map +1 -1
- package/src/plugins/futarchy/constants.js +1 -1
- package/src/plugins/futarchy/constants.js.map +1 -1
- package/src/plugins/genesysgo/constants.js +1 -1
- package/src/plugins/genesysgo/constants.js.map +1 -1
- package/src/plugins/goosefx/constants.js +1 -1
- package/src/plugins/goosefx/constants.js.map +1 -1
- package/src/plugins/gpool/constants.js +1 -1
- package/src/plugins/gpool/constants.js.map +1 -1
- package/src/plugins/grass/constants.js +2 -2
- package/src/plugins/grass/constants.js.map +1 -1
- package/src/plugins/grass/index.d.ts +2 -2
- package/src/plugins/grass/index.js +2 -2
- package/src/plugins/grass/index.js.map +1 -1
- package/src/plugins/guano/constants.js +1 -1
- package/src/plugins/guano/constants.js.map +1 -1
- package/src/plugins/haedal/constants.js +1 -1
- package/src/plugins/haedal/constants.js.map +1 -1
- package/src/plugins/hawksight/constants.js +1 -1
- package/src/plugins/hawksight/constants.js.map +1 -1
- package/src/plugins/hedgehog/constants.js +1 -1
- package/src/plugins/hedgehog/constants.js.map +1 -1
- package/src/plugins/hxro/constants.js +1 -1
- package/src/plugins/hxro/constants.js.map +1 -1
- package/src/plugins/iloop/constants.js +1 -1
- package/src/plugins/iloop/constants.js.map +1 -1
- package/src/plugins/instadapp/constants.js +1 -1
- package/src/plugins/instadapp/constants.js.map +1 -1
- package/src/plugins/jewel/constants.js +1 -1
- package/src/plugins/jewel/constants.js.map +1 -1
- package/src/plugins/jito/constants.js +3 -3
- package/src/plugins/jito/constants.js.map +1 -1
- package/src/plugins/joule/constants.js +1 -1
- package/src/plugins/joule/constants.js.map +1 -1
- package/src/plugins/jupiter/exchange/constants.js +1 -1
- package/src/plugins/jupiter/exchange/constants.js.map +1 -1
- package/src/plugins/jupiter/exchange/dcaFetcher.js +1 -1
- package/src/plugins/jupiter/exchange/dcaFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/limitFetcher.js +1 -1
- package/src/plugins/jupiter/exchange/limitFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/perpetualFetcher.js +1 -1
- package/src/plugins/jupiter/exchange/perpetualFetcher.js.map +1 -1
- package/src/plugins/jupiter/launchpad/constants.js +5 -5
- package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
- package/src/plugins/kai/constants.js +1 -1
- package/src/plugins/kai/constants.js.map +1 -1
- package/src/plugins/kamino/constants.js +2 -2
- package/src/plugins/kamino/constants.js.map +1 -1
- package/src/plugins/kriya/constants.js +1 -1
- package/src/plugins/kriya/constants.js.map +1 -1
- package/src/plugins/layer3/constants.js +1 -1
- package/src/plugins/layer3/constants.js.map +1 -1
- package/src/plugins/lido/constants.js +1 -1
- package/src/plugins/lido/constants.js.map +1 -1
- package/src/plugins/lifinity/constants.js +1 -1
- package/src/plugins/lifinity/constants.js.map +1 -1
- package/src/plugins/liquiditypools-sei/constants.js +2 -2
- package/src/plugins/liquiditypools-sei/constants.js.map +1 -1
- package/src/plugins/liquidswap/constants.js +1 -1
- package/src/plugins/liquidswap/constants.js.map +1 -1
- package/src/plugins/loopscale/constants.js +1 -1
- package/src/plugins/loopscale/constants.js.map +1 -1
- package/src/plugins/loverflow/constants.js +1 -1
- package/src/plugins/loverflow/constants.js.map +1 -1
- package/src/plugins/lulo/constants.js +1 -1
- package/src/plugins/lulo/constants.js.map +1 -1
- package/src/plugins/magiceden/constants.js +2 -2
- package/src/plugins/magiceden/constants.js.map +1 -1
- package/src/plugins/magiceden/index.d.ts +2 -2
- package/src/plugins/magiceden/index.js +2 -2
- package/src/plugins/magiceden/index.js.map +1 -1
- package/src/plugins/maker/constants.js +1 -1
- package/src/plugins/maker/constants.js.map +1 -1
- package/src/plugins/mango/constants.js +2 -2
- package/src/plugins/mango/constants.js.map +1 -1
- package/src/plugins/maple/constants.js +1 -1
- package/src/plugins/maple/constants.js.map +1 -1
- package/src/plugins/marginfi/constants.js +1 -1
- package/src/plugins/marginfi/constants.js.map +1 -1
- package/src/plugins/marinade/constants.js +1 -1
- package/src/plugins/marinade/constants.js.map +1 -1
- package/src/plugins/marinade/index.d.ts +2 -0
- package/src/plugins/marinade/index.js +2 -1
- package/src/plugins/marinade/index.js.map +1 -1
- package/src/plugins/meso/constants.js +1 -1
- package/src/plugins/meso/constants.js.map +1 -1
- package/src/plugins/metaplex/constants.js +1 -1
- package/src/plugins/metaplex/constants.js.map +1 -1
- package/src/plugins/meteora/constants.js +1 -1
- package/src/plugins/meteora/constants.js.map +1 -1
- package/src/plugins/mole/constants.js +2 -2
- package/src/plugins/mole/constants.js.map +1 -1
- package/src/plugins/moonwalk/constants.js +1 -1
- package/src/plugins/moonwalk/constants.js.map +1 -1
- package/src/plugins/morpho/constants.js +1 -1
- package/src/plugins/morpho/constants.js.map +1 -1
- package/src/plugins/native-stake/constants.js +1 -1
- package/src/plugins/native-stake/constants.js.map +1 -1
- package/src/plugins/nosana/constants.js +1 -1
- package/src/plugins/nosana/constants.js.map +1 -1
- package/src/plugins/nxfinance/constants.js +1 -1
- package/src/plugins/nxfinance/constants.js.map +1 -1
- package/src/plugins/orca/constants.js +2 -2
- package/src/plugins/orca/constants.js.map +1 -1
- package/src/plugins/orders/clobs-solana/constants.js +2 -2
- package/src/plugins/orders/clobs-solana/constants.js.map +1 -1
- package/src/plugins/pancakeswap/constants.js +1 -1
- package/src/plugins/pancakeswap/constants.js.map +1 -1
- package/src/plugins/paraswap/constants.js +1 -1
- package/src/plugins/paraswap/constants.js.map +1 -1
- package/src/plugins/parcl/index.d.ts +2 -1
- package/src/plugins/parcl/index.js +3 -4
- package/src/plugins/parcl/index.js.map +1 -1
- package/src/plugins/perena/constants.js +1 -1
- package/src/plugins/perena/constants.js.map +1 -1
- package/src/plugins/phoenix/constants.js +1 -1
- package/src/plugins/phoenix/constants.js.map +1 -1
- package/src/plugins/photofinish/constants.js +1 -1
- package/src/plugins/photofinish/constants.js.map +1 -1
- package/src/plugins/picasso/constants.js +1 -1
- package/src/plugins/picasso/constants.js.map +1 -1
- package/src/plugins/pluto/constants.js +1 -1
- package/src/plugins/pluto/constants.js.map +1 -1
- package/src/plugins/port/constants.js +1 -1
- package/src/plugins/port/constants.js.map +1 -1
- package/src/plugins/pudgypenguins/constants.js +2 -2
- package/src/plugins/pudgypenguins/constants.js.map +1 -1
- package/src/plugins/puffcoin/constants.js +1 -1
- package/src/plugins/puffcoin/constants.js.map +1 -1
- package/src/plugins/pyth/constants.js +1 -1
- package/src/plugins/pyth/constants.js.map +1 -1
- package/src/plugins/quarry/constants.js +1 -1
- package/src/plugins/quarry/constants.js.map +1 -1
- package/src/plugins/rain/constants.js +1 -1
- package/src/plugins/rain/constants.js.map +1 -1
- package/src/plugins/ratex/constants.js +1 -1
- package/src/plugins/ratex/constants.js.map +1 -1
- package/src/plugins/raydium/constants.js +1 -1
- package/src/plugins/raydium/constants.js.map +1 -1
- package/src/plugins/rocket-pool/constants.js +1 -1
- package/src/plugins/rocket-pool/constants.js.map +1 -1
- package/src/plugins/saber/constants.js +1 -1
- package/src/plugins/saber/constants.js.map +1 -1
- package/src/plugins/saber/index.d.ts +2 -0
- package/src/plugins/saber/index.js +2 -1
- package/src/plugins/saber/index.js.map +1 -1
- package/src/plugins/sandglass/constants.js +1 -1
- package/src/plugins/sandglass/constants.js.map +1 -1
- package/src/plugins/save/constants.js +2 -2
- package/src/plugins/save/constants.js.map +1 -1
- package/src/plugins/sharky/constants.js +1 -1
- package/src/plugins/sharky/constants.js.map +1 -1
- package/src/plugins/solayer/constants.js +3 -3
- package/src/plugins/solayer/constants.js.map +1 -1
- package/src/plugins/solayer/index.d.ts +2 -2
- package/src/plugins/solayer/index.js +2 -2
- package/src/plugins/solayer/index.js.map +1 -1
- package/src/plugins/sonic/constants.js +2 -2
- package/src/plugins/sonic/constants.js.map +1 -1
- package/src/plugins/sonic/index.d.ts +2 -2
- package/src/plugins/sonic/index.js +2 -2
- package/src/plugins/sonic/index.js.map +1 -1
- package/src/plugins/spdr/constants.js +1 -1
- package/src/plugins/spdr/constants.js.map +1 -1
- package/src/plugins/stabble/constants.js +1 -1
- package/src/plugins/stabble/constants.js.map +1 -1
- package/src/plugins/stader/constants.js +1 -1
- package/src/plugins/stader/constants.js.map +1 -1
- package/src/plugins/staking-aptos/constants.js +1 -1
- package/src/plugins/staking-aptos/constants.js.map +1 -1
- package/src/plugins/staratlas/constants.js +1 -1
- package/src/plugins/staratlas/constants.js.map +1 -1
- package/src/plugins/stargate/constants.js +1 -1
- package/src/plugins/stargate/constants.js.map +1 -1
- package/src/plugins/streamflow/constants.js +2 -2
- package/src/plugins/streamflow/constants.js.map +1 -1
- package/src/plugins/suilend/constants.js +2 -2
- package/src/plugins/suilend/constants.js.map +1 -1
- package/src/plugins/suilend/index.d.ts +2 -2
- package/src/plugins/suilend/index.js +2 -2
- package/src/plugins/suilend/index.js.map +1 -1
- package/src/plugins/suins/constants.js +2 -2
- package/src/plugins/suins/constants.js.map +1 -1
- package/src/plugins/suins/index.d.ts +2 -2
- package/src/plugins/suins/index.js +2 -2
- package/src/plugins/suins/index.js.map +1 -1
- package/src/plugins/superposition/constants.js +1 -1
- package/src/plugins/superposition/constants.js.map +1 -1
- package/src/plugins/sushiswap/constants.js +1 -1
- package/src/plugins/sushiswap/constants.js.map +1 -1
- package/src/plugins/sushiswap/helpers.js +24 -24
- package/src/plugins/switchboard/index.d.ts +2 -0
- package/src/plugins/switchboard/index.js +2 -1
- package/src/plugins/switchboard/index.js.map +1 -1
- package/src/plugins/symmetry/constants.js +1 -1
- package/src/plugins/symmetry/constants.js.map +1 -1
- package/src/plugins/tensor/constants.js +3 -3
- package/src/plugins/tensor/constants.js.map +1 -1
- package/src/plugins/tensor/index.d.ts +3 -1
- package/src/plugins/tensor/index.js +3 -2
- package/src/plugins/tensor/index.js.map +1 -1
- package/src/plugins/texture/constants.js +1 -1
- package/src/plugins/texture/constants.js.map +1 -1
- package/src/plugins/thala/constants.js +1 -1
- package/src/plugins/thala/constants.js.map +1 -1
- package/src/plugins/thevault/constants.js +1 -1
- package/src/plugins/thevault/constants.js.map +1 -1
- package/src/plugins/tokens/constants.js +2 -2
- package/src/plugins/tokens/constants.js.map +1 -1
- package/src/plugins/top-tokens/index.d.ts +4 -0
- package/src/plugins/top-tokens/index.js +3 -1
- package/src/plugins/top-tokens/index.js.map +1 -1
- package/src/plugins/tradeport/constants.js +1 -1
- package/src/plugins/tradeport/constants.js.map +1 -1
- package/src/plugins/triad/constants.js +1 -1
- package/src/plugins/triad/constants.js.map +1 -1
- package/src/plugins/tulip/constants.js +1 -1
- package/src/plugins/tulip/constants.js.map +1 -1
- package/src/plugins/turbos/constants.js +1 -1
- package/src/plugins/turbos/constants.js.map +1 -1
- package/src/plugins/typus/constants.js +1 -1
- package/src/plugins/typus/constants.js.map +1 -1
- package/src/plugins/uniswap/constants.js +1 -1
- package/src/plugins/uniswap/constants.js.map +1 -1
- package/src/plugins/uniswap-v2/helpers.js +22 -22
- package/src/plugins/uniswap-v2/index.d.ts +2 -0
- package/src/plugins/uniswap-v2/index.js +2 -1
- package/src/plugins/uniswap-v2/index.js.map +1 -1
- package/src/plugins/uxd/constants.js +1 -1
- package/src/plugins/uxd/constants.js.map +1 -1
- package/src/plugins/vaultka/constants.js +1 -1
- package/src/plugins/vaultka/constants.js.map +1 -1
- package/src/plugins/venus/constants.js +1 -1
- package/src/plugins/venus/constants.js.map +1 -1
- package/src/plugins/whalesmarket/constants.js +1 -1
- package/src/plugins/whalesmarket/constants.js.map +1 -1
- package/src/plugins/wormhole/constants.js +1 -1
- package/src/plugins/wormhole/constants.js.map +1 -1
- package/src/plugins/yearn/constants.js +1 -1
- package/src/plugins/yearn/constants.js.map +1 -1
- package/src/plugins/zelo/constants.js +1 -1
- package/src/plugins/zelo/constants.js.map +1 -1
- package/src/plugins/zeta/airdropFetcher.js +14 -14
- package/src/plugins/zeta/constants.js +2 -2
- package/src/plugins/zeta/constants.js.map +1 -1
- package/src/plugins/zeta/index.d.ts +2 -2
- package/src/plugins/zeta/index.js +2 -2
- package/src/plugins/zeta/index.js.map +1 -1
- package/src/utils/clients/getClientSolana.d.ts +7 -1
- package/src/utils/clients/getClientSolana.js +2 -1
- package/src/utils/clients/getClientSolana.js.map +1 -1
- package/src/utils/sei/constants.js +8 -8
- package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
- package/src/utils/solana/getProgramAccounts.js +0 -1
- package/src/utils/solana/getProgramAccounts.js.map +1 -1
@@ -3,17 +3,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
6
|
+
exports.airdropFetchers = exports.fetchers = exports.jobs = exports.platforms = void 0;
|
7
7
|
const constants_1 = require("./constants");
|
8
8
|
const spotMarketsJob_1 = __importDefault(require("./spotMarketsJob"));
|
9
9
|
const prepMarketsJob_1 = __importDefault(require("./prepMarketsJob"));
|
10
10
|
const depositsFetcher_1 = __importDefault(require("./depositsFetcher"));
|
11
11
|
const premarketJob_1 = __importDefault(require("./premarketJob"));
|
12
|
-
// import airdropFetcher from './airdropFetcher';
|
13
12
|
const airdropFetcher_1 = __importDefault(require("./airdropFetcher"));
|
13
|
+
const helpersAirdrop_1 = require("./helpersAirdrop");
|
14
14
|
exports.platforms = [constants_1.platform];
|
15
15
|
exports.jobs = [spotMarketsJob_1.default, premarketJob_1.default, prepMarketsJob_1.default];
|
16
16
|
exports.fetchers = [depositsFetcher_1.default, airdropFetcher_1.default];
|
17
|
-
|
18
|
-
Object.defineProperty(exports, "airdropFetcher", { enumerable: true, get: function () { return helpersAirdrop_1.airdropFetcher; } });
|
17
|
+
exports.airdropFetchers = [helpersAirdrop_1.airdropFetcher];
|
19
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/index.ts"],"names":[],"mappings":";;;;;;AAIA,2CAAuC;AACvC,sEAA8C;AAC9C,sEAA8C;AAC9C,wEAAgD;AAChD,kEAA0C;AAC1C,sEAAmD;AACnD,qDAAkD;AAErC,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,wBAAc,EAAE,sBAAY,EAAE,wBAAc,CAAC,CAAC;AAC7D,QAAA,QAAQ,GAAc,CAAC,yBAAe,EAAE,wBAAmB,CAAC,CAAC;AAC7D,QAAA,eAAe,GAAqB,CAAC,+BAAc,CAAC,CAAC"}
|
@@ -61,20 +61,13 @@ function calculateOraclePriceForPerpMargin(perpPosition, market, oraclePriceData
|
|
61
61
|
exports.calculateOraclePriceForPerpMargin = calculateOraclePriceForPerpMargin;
|
62
62
|
function calculateBaseAssetValueWithOracle(market, perpPosition, oraclePriceData, includeOpenOrders = false) {
|
63
63
|
let { price } = oraclePriceData;
|
64
|
-
const { precision } = oraclePriceData;
|
65
64
|
if (market.status === struct_1.MarketStatus.Settlement) {
|
66
65
|
price = new bn_js_1.default(market.expiryPrice.toString(10), 10);
|
67
66
|
}
|
68
67
|
const baseAssetAmount = includeOpenOrders
|
69
68
|
? calculateWorstCaseBaseAssetAmount(perpPosition)
|
70
69
|
: perpPosition.baseAssetAmount;
|
71
|
-
|
72
|
-
.abs()
|
73
|
-
.mul(price)
|
74
|
-
.div(constants_1.AMM_RESERVE_PRECISION);
|
75
|
-
return precision
|
76
|
-
? baseAssetValue.div(new bn_js_1.default(10).pow(precision))
|
77
|
-
: baseAssetValue;
|
70
|
+
return baseAssetAmount.abs().mul(price).div(constants_1.AMM_RESERVE_PRECISION);
|
78
71
|
}
|
79
72
|
exports.calculateBaseAssetValueWithOracle = calculateBaseAssetValueWithOracle;
|
80
73
|
function calculateWorstCaseBaseAssetAmount(perpPosition) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"margin.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/margin.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AACvB,sCAAmE;AAEnE,2CAMqB;AACrB,iCAAsC;AACtC,qCAAkC;AAElC,SAAgB,mCAAmC,CACjD,IAAQ,EAAE,wBAAwB;AAClC,SAAa,EACb,eAAmB,EACnB,SAAa;IAEb,IAAI,SAAS,CAAC,EAAE,CAAC,gBAAI,CAAC,EAAE,CAAC;QACvB,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,QAAQ,GAAG,IAAA,mBAAY,EAAC,IAAI,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,qBAAqB;IAE/F,MAAM,wBAAwB,GAAG,eAAe,CAAC,GAAG,CAClD,eAAe,CAAC,GAAG,CAAC,IAAI,eAAE,CAAC,CAAC,CAAC,CAAC,CAC/B,CAAC;IAEF,MAAM,KAAK,GAAG,IAAI,eAAE,CAAC,MAAO,CAAC,CAAC,GAAG,CAAC,qCAAyB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC5E,IAAA,eAAM,EAAC,KAAK,CAAC,EAAE,CAAC,gBAAI,CAAC,CAAC,CAAC;IAEvB,MAAM,0BAA0B,GAAG,wBAAwB,CAAC,GAAG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,CAC9B,IAAI,eAAE,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC;SACzB,GAAG,CAAC,eAAe,CAAC,KAAK,CAAC;SAC1B,GAAG,CAAC,oCAAwB,CAAC,EAChC,eAAe,CAAC,UAAU,CAAC,GAAG,CAC5B,IAAI,eAAE,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC;SAC1B,GAAG,CAAC,eAAe,CAAC,KAAK,CAAC;SAC1B,GAAG,CAAC,oCAAwB,CAAC,CACjC,CACF,CAAC;IAEF,IAAI,WAAe,CAAC;IACpB,IAAI,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC,gBAAI,CAAC,EAAE,CAAC;QAC1C,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC7D,CAAC;SAAM,CAAC;QACN,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC7D,CAAC;IAED,OAAO,WAAW,CAAC;AACrB,CAAC;AAxBD,8EAwBC;AAED,SAAgB,iCAAiC,CAC/C,MAAkB,EAClB,YAA0B,EAC1B,eAAgC,EAChC,iBAAiB,GAAG,KAAK;IAEzB,IAAI,EAAE,KAAK,EAAE,GAAG,eAAe,CAAC;IAChC,
|
1
|
+
{"version":3,"file":"margin.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/margin.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AACvB,sCAAmE;AAEnE,2CAMqB;AACrB,iCAAsC;AACtC,qCAAkC;AAElC,SAAgB,mCAAmC,CACjD,IAAQ,EAAE,wBAAwB;AAClC,SAAa,EACb,eAAmB,EACnB,SAAa;IAEb,IAAI,SAAS,CAAC,EAAE,CAAC,gBAAI,CAAC,EAAE,CAAC;QACvB,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM,QAAQ,GAAG,IAAA,mBAAY,EAAC,IAAI,CAAC,GA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B,eAAgC,EAChC,iBAAiB,GAAG,KAAK;IAEzB,IAAI,EAAE,KAAK,EAAE,GAAG,eAAe,CAAC;IAChC,IAAI,MAAM,CAAC,MAAM,KAAK,qBAAY,CAAC,UAAU,EAAE,CAAC;QAC9C,KAAK,GAAG,IAAI,eAAE,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACtD,CAAC;IAED,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,iCAAiC,CAAC,YAAY,CAAC;QACjD,CAAC,CAAC,YAAY,CAAC,eAAe,CAAC;IAEjC,OAAO,eAAe,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,iCAAqB,CAAC,CAAC;AACrE,CAAC;AAhBD,8EAgBC;AAED,SAAgB,iCAAiC,CAC/C,YAA0B;IAE1B,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IACxE,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;IAExE,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACpC,OAAO,OAAO,CAAC;IACjB,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAVD,8EAUC"}
|
@@ -69,7 +69,6 @@ function calculatePositionPNL(market, perpPosition, oraclePriceData, withFunding
|
|
69
69
|
: new bn_js_1.default(1);
|
70
70
|
let pnl = baseAssetValue
|
71
71
|
.mul(baseAssetValueSign)
|
72
|
-
.mul(constants_1.PRICE_PRECISION)
|
73
72
|
.add(perpPosition.quoteAssetAmount);
|
74
73
|
if (withFunding) {
|
75
74
|
const fundingRatePnL = calculatePositionFundingPNL(market, perpPosition);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"position.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/position.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AAEvB,2CAQqB;AACrB,mCAA6D;AAC7D,+BAKe;AACf,qCAA6D;AAE7D,SAAgB,uBAAuB,CACrC,MAAkB,EAClB,YAA0B,EAC1B,eAAgC,EAChC,SAAS,GAAG,IAAI,EAChB,UAAU,GAAG,KAAK;IAElB,IAAI,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC,gBAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,gBAAI,CAAC;IACd,CAAC;IAED,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAC5D,IAAI,SAA8D,CAAC;IAEnE,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,IAAI,MAAM,CAAC,GAAG,CAAC,UAAU,GAAG,CAAC,IAAI,SAAS,EAAE,CAAC;YAC3C,MAAM,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,EAAE,GAC1D,IAAA,uCAAiC,EAC/B,MAAM,CAAC,GAAG,EACV,gBAAgB,EAChB,eAAe,CAChB,CAAC;YACJ,SAAS,GAAG;gBACV,gBAAgB;gBAChB,iBAAiB;gBACjB,KAAK;gBACL,aAAa,EAAE,MAAM;aACtB,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,SAAS,GAAG,IAAA,yBAAmB,EAAC,MAAM,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;SAAM,CAAC;QACN,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,oBAAoB,CAAC,GAAG,IAAA,mCAA6B,EAC1D,SAAS,EACT,MAAM,EACN,YAAY,CAAC,eAAe,CAAC,GAAG,EAAE,EAClC,IAAA,sBAAgB,EAAC,MAAM,EAAE,gBAAgB,CAAC,CAC3C,CAAC;IAEF,QAAQ,gBAAgB,EAAE,CAAC;QACzB,KAAK,yBAAiB,CAAC,KAAK;YAC1B,OAAO,SAAS,CAAC,iBAAiB;iBAC/B,GAAG,CAAC,oBAAoB,CAAC;iBACzB,GAAG,CAAC,SAAS,CAAC,aAAa,CAAC;iBAC5B,GAAG,CAAC,kDAAsC,CAAC,CAAC;QAEjD,KAAK,yBAAiB,CAAC,IAAI;YACzB,OAAO,oBAAoB;iBACxB,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC;iBAChC,GAAG,CAAC,SAAS,CAAC,aAAa,CAAC;iBAC5B,GAAG,CAAC,kDAAsC,CAAC;iBAC3C,GAAG,CAAC,eAAG,CAAC,CAAC;QAEd;YACE,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;IACzD,CAAC;AACH,CAAC;AA3DD,0DA2DC;AAED;;;;;;;;GAQG;AACH,SAAgB,oBAAoB,CAClC,MAAkB,EAClB,YAA0B,EAC1B,eAAgC,EAChC,WAAW,GAAG,KAAK;IAEnB,IAAI,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC,gBAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,YAAY,CAAC,gBAAgB,CAAC;IACvC,CAAC;IAED,MAAM,cAAc,GAAG,IAAA,0CAAiC,EACtD,MAAM,EACN,YAAY,EACZ,eAAe,CAChB,CAAC;IAEF,MAAM,kBAAkB,GAAG,YAAY,CAAC,eAAe,CAAC,KAAK,EAAE;QAC7D,CAAC,CAAC,IAAI,eAAE,CAAC,CAAC,CAAC,CAAC;QACZ,CAAC,CAAC,IAAI,eAAE,CAAC,CAAC,CAAC,CAAC;IACd,IAAI,GAAG,GAAG,cAAc;SACrB,GAAG,CAAC,kBAAkB,CAAC;SACvB,GAAG,CAAC,
|
1
|
+
{"version":3,"file":"position.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/position.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AAEvB,2CAQqB;AACrB,mC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3C,CAAC,CAAC,yBAAiB,CAAC,IAAI;QACxB,CAAC,CAAC,yBAAiB,CAAC,KAAK,CAAC;AAC9B,CAAC;AAND,4DAMC;AAED,SAAgB,eAAe,CAAC,YAA0B;IACxD,OAAO,YAAY,CAAC,eAAe,CAAC,EAAE,CAAC,gBAAI,CAAC,IAAI,YAAY,CAAC,UAAU,KAAK,CAAC,CAAC;AAChF,CAAC;AAFD,0CAEC;AAED,SAAgB,aAAa,CAAC,QAAsB;IAClD,OAAO,CACL,QAAQ,CAAC,UAAU,KAAK,CAAC;QACzB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,gBAAI,CAAC;QAC3B,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,gBAAI,CAAC,CAC5B,CAAC;AACJ,CAAC;AAND,sCAMC"}
|
@@ -9,7 +9,6 @@ const bn_js_1 = __importDefault(require("bn.js"));
|
|
9
9
|
const helpersOld_1 = require("../../../utils/solana/pyth/helpersOld");
|
10
10
|
const constants_1 = require("./constants");
|
11
11
|
const struct_1 = require("../struct");
|
12
|
-
const toBN_1 = require("../../../utils/misc/toBN");
|
13
12
|
function getPythOraclePriceDataFromBuffer(buffer, multiple, stableCoin) {
|
14
13
|
const priceData = (0, helpersOld_1.parsePriceData)(buffer);
|
15
14
|
const confidence = convertPythPrice(priceData.confidence || 0, priceData.exponent, multiple);
|
@@ -43,11 +42,11 @@ function getStableCoinPrice(price, confidence) {
|
|
43
42
|
}
|
44
43
|
function pythLazerPriceToOraclePrice(buffer) {
|
45
44
|
const pythLazer = struct_1.pythLazerOracleStruct.deserialize(buffer)[0];
|
45
|
+
const adjustedExp = pythLazer.exponent + 6;
|
46
46
|
return {
|
47
|
-
price:
|
48
|
-
|
49
|
-
|
50
|
-
confidence: (0, toBN_1.toBN)(pythLazer.conf.toNumber()),
|
47
|
+
price: new bn_js_1.default(pythLazer.price.shiftedBy(adjustedExp).toNumber()),
|
48
|
+
slot: new bn_js_1.default(pythLazer.postedSlot.toNumber()),
|
49
|
+
confidence: new bn_js_1.default(pythLazer.conf.toNumber()),
|
51
50
|
hasSufficientNumberOfDataPoints: true,
|
52
51
|
};
|
53
52
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pyth.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/pyth.ts"],"names":[],"mappings":";;;;;;AAAA,sCAAsC;AACtC,kDAAuB;AACvB,sEAAuE;AACvE,2CAAoE;AAEpE,sCAAkD;
|
1
|
+
{"version":3,"file":"pyth.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/pyth.ts"],"names":[],"mappings":";;;;;;AAAA,sCAAsC;AACtC,kDAAuB;AACvB,sEAAuE;AACvE,2CAAoE;AAEpE,sCAAkD;AAElD,SAAgB,gCAAgC,CAC9C,MAAc,EACd,QAAY,EACZ,UAAmB;IAEnB,MAAM,SAAS,GAAG,IAAA,2BAAc,EAAC,MAAM,CAAC,CAAC;IACzC,MAAM,UAAU,GAAG,gBAAgB,CACjC,SAAS,CAAC,UAAU,IAAI,CAAC,EACzB,SAAS,CAAC,QAAQ,EAClB,QAAQ,CACT,CAAC;IACF,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAC;IAChE,IAAI,KAAK,GAAG,gBAAgB,CAC1B,SAAS,CAAC,SAAS,CAAC,KAAK,EACzB,SAAS,CAAC,QAAQ,EAClB,QAAQ,CACT,CAAC;IACF,IAAI,UAAU,EAAE,CAAC;QACf,KAAK,GAAG,kBAAkB,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IAChD,CAAC;IAED,OAAO;QACL,KAAK;QACL,IAAI,EAAE,IAAI,eAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;QAC3C,UAAU;QACV,IAAI,EAAE,gBAAgB,CACpB,SAAS,CAAC,QAAQ,CAAC,KAAK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AAS,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE,CAAC;QAChE,IAAI,EAAE,IAAI,eAAE,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;QAC7C,UAAU,EAAE,IAAI,eAAE,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC7C,+BAA+B,EAAE,IAAI;KACtC,CAAC;AACJ,CAAC;AAVD,kEAUC"}
|
@@ -13,8 +13,7 @@ const SB_PRECISION = new bn_js_1.default(10).pow(SB_PRECISION_EXP.sub(constants_
|
|
13
13
|
function getSwitchboardOnDemandOraclePriceDataFromBuffer(buffer) {
|
14
14
|
const [pullFeedAccountData] = structs_1.pullFeedAccountDataStruct.deserialize(buffer);
|
15
15
|
return {
|
16
|
-
price:
|
17
|
-
precision: SB_PRECISION,
|
16
|
+
price: (0, toBN_1.toBN)(pullFeedAccountData.result.value).div(SB_PRECISION),
|
18
17
|
slot: (0, toBN_1.toBN)(pullFeedAccountData.result.slot),
|
19
18
|
confidence: (0, toBN_1.toBN)(pullFeedAccountData.result.range).div(SB_PRECISION),
|
20
19
|
hasSufficientNumberOfDataPoints: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"switchboard_on_demand.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/switchboard_on_demand.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AAEvB,2CAAkD;AAClD,mDAAgD;AAChD,uDAAsE;AAEtE,MAAM,gBAAgB,GAAG,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC;AACpC,MAAM,YAAY,GAAG,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,+BAAmB,CAAC,CAAC,CAAC;AAE/E,SAAgB,+CAA+C,CAC7D,MAAc;IAEd,MAAM,CAAC,mBAAmB,CAAC,GAAG,mCAAyB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAE5E,OAAO;QACL,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"switchboard_on_demand.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/switchboard_on_demand.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAuB;AAEvB,2CAAkD;AAClD,mDAAgD;AAChD,uDAAsE;AAEtE,MAAM,gBAAgB,GAAG,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC;AACpC,MAAM,YAAY,GAAG,IAAI,eAAE,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,CAAC,+BAAmB,CAAC,CAAC,CAAC;AAE/E,SAAgB,+CAA+C,CAC7D,MAAc;IAEd,MAAM,CAAC,mBAAmB,CAAC,GAAG,mCAAyB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAE5E,OAAO;QACL,KAAK,EAAE,IAAA,WAAI,EAAC,mBAAmB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;QAC/D,IAAI,EAAE,IAAA,WAAI,EAAC,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC;QAC3C,UAAU,EAAE,IAAA,WAAI,EAAC,mBAAmB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;QACpE,+BAA+B,EAAE,IAAI;KACtC,CAAC;AACJ,CAAC;AAXD,0GAWC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/types.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/drift/perpHelpers/types.ts"],"names":[],"mappings":";;;AAaA,MAAa,iBAAiB;;AAA9B,8CAGC;AAFiB,sBAAI,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;AACpB,uBAAK,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AAGxC,MAAa,aAAa;;AAA1B,sCAGC;AAFiB,iBAAG,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AAClB,oBAAM,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AAK1C,SAAgB,SAAS,CAAC,MAAc,EAAE,IAAY;IACpD,iDAAiD;IACjD,OAAO,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC;AAHD,8BAGC"}
|
@@ -8,7 +8,7 @@ exports.circuitPlatformId = 'circuit';
|
|
8
8
|
exports.circuitPlatform = {
|
9
9
|
id: exports.circuitPlatformId,
|
10
10
|
name: 'Circuit',
|
11
|
-
image: 'https://
|
11
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/circuit.webp',
|
12
12
|
website: 'https://app.circuit.trade/',
|
13
13
|
twitter: 'https://twitter.com/CircuitTrading_',
|
14
14
|
};
|
@@ -16,7 +16,7 @@ exports.moosePlatformId = 'moose';
|
|
16
16
|
exports.moosePlatform = {
|
17
17
|
id: exports.moosePlatformId,
|
18
18
|
name: 'Moose Market',
|
19
|
-
image: 'https://
|
19
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/moose.webp',
|
20
20
|
website: 'https://moose.market/',
|
21
21
|
twitter: 'https://twitter.com/moose_market',
|
22
22
|
};
|
@@ -24,7 +24,7 @@ exports.neutralPlatformId = 'neutral';
|
|
24
24
|
exports.neutralPlatform = {
|
25
25
|
id: exports.neutralPlatformId,
|
26
26
|
name: 'Neutral',
|
27
|
-
image: 'https://
|
27
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/neutral.webp',
|
28
28
|
website: 'https://www.app.neutral.trade/',
|
29
29
|
twitter: 'https://twitter.com/TradeNeutral',
|
30
30
|
};
|
@@ -32,7 +32,7 @@ exports.gauntletPlatformId = 'gauntlet';
|
|
32
32
|
exports.gauntletPlatform = {
|
33
33
|
id: exports.gauntletPlatformId,
|
34
34
|
name: 'Gauntlet',
|
35
|
-
image: 'https://
|
35
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/gauntlet.webp',
|
36
36
|
twitter: 'https://twitter.com/gauntlet_xyz',
|
37
37
|
website: 'https://app.drift.trade/vaults/CoHd9JpwfcA76XQGA4AYfnjvAtWKoBQ6eWBkFzR1A2ui',
|
38
38
|
};
|
@@ -40,7 +40,7 @@ exports.vectisPlatformId = 'vectis';
|
|
40
40
|
exports.vectisPlatform = {
|
41
41
|
id: exports.vectisPlatformId,
|
42
42
|
name: 'Vectis',
|
43
|
-
image: 'https://
|
43
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/vectis.webp',
|
44
44
|
twitter: 'https://twitter.com/vectis_xyz',
|
45
45
|
website: 'https://app.vectis.finance/',
|
46
46
|
};
|
@@ -48,7 +48,7 @@ exports.hedgyPlatformId = 'hedgy';
|
|
48
48
|
exports.hedgyPlatform = {
|
49
49
|
id: exports.hedgyPlatformId,
|
50
50
|
name: 'Hedgy',
|
51
|
-
image: 'https://
|
51
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/hedgy.webp',
|
52
52
|
twitter: 'https://x.com/HedgyMarket',
|
53
53
|
website: 'https://hedgy.market/',
|
54
54
|
};
|
@@ -56,7 +56,7 @@ exports.m1CapitalPlatformId = 'm1capital';
|
|
56
56
|
exports.m1CapitalPlatform = {
|
57
57
|
id: exports.m1CapitalPlatformId,
|
58
58
|
name: 'M1 Capital',
|
59
|
-
image: 'https://
|
59
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/m1capital.webp',
|
60
60
|
twitter: 'https://x.com/M1Capital_',
|
61
61
|
website: 'https://m1-capital.com/',
|
62
62
|
};
|
@@ -64,7 +64,7 @@ exports.knightradePlatformId = 'knightrade';
|
|
64
64
|
exports.knightradePlatform = {
|
65
65
|
id: exports.knightradePlatformId,
|
66
66
|
name: 'Knightrade',
|
67
|
-
image: 'https://
|
67
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/knightrade.webp',
|
68
68
|
twitter: 'https://x.com/KnightradeTeam',
|
69
69
|
website: 'https://app.knightrade.io/',
|
70
70
|
};
|
@@ -72,7 +72,7 @@ exports.luckyperpPlatformId = 'luckyperp';
|
|
72
72
|
exports.luckyperpPlatform = {
|
73
73
|
id: exports.luckyperpPlatformId,
|
74
74
|
name: 'Lucky Perp',
|
75
|
-
image: 'https://
|
75
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/luckyperp.webp',
|
76
76
|
twitter: 'https://x.com/LuckyPerp_com',
|
77
77
|
};
|
78
78
|
exports.vaultsProgramIds = [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift-market-maker-vault/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE5C,sDAA2E;AAC3E,mFAAqE;AAExD,QAAA,iBAAiB,GAAG,SAAS,CAAC;AAC9B,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,yBAAiB;IACrB,IAAI,EAAE,SAAS;IACf,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift-market-maker-vault/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE5C,sDAA2E;AAC3E,mFAAqE;AAExD,QAAA,iBAAiB,GAAG,SAAS,CAAC;AAC9B,QAAA,eAAe,GAAa;IACvC,EAAE,EAAE,yBAAiB;IACrB,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,eAAe,GAAG,OAAO,CAAC;AAC1B,QAAA,aAAa,GAAa;IACrC,EAAE,EAAE,uBAAe;IACnB,IAAI,EAAE,cAAc;IACpB,KAAK,EACH,2EAA2E;IAC7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AAC,8CAA8C,EAAE,2BAAmB,CAAC;IACrE,CAAC,8CAA8C,EAAE,sBAAmB,CAAC;CACtE,CAAC,CAAC"}
|
@@ -5,7 +5,7 @@ exports.platformId = 'echelon';
|
|
5
5
|
exports.platform = {
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'Echelon',
|
8
|
-
image: 'https://
|
8
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/echelon.webp',
|
9
9
|
defiLlamaId: 'echelon-market', // from https://defillama.com/docs/api
|
10
10
|
website: 'https://app.echelon.market',
|
11
11
|
twitter: 'https://twitter.com/EchelonMarket',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/echelon/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/echelon/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,SAAS;IACf,KAAK,EACH,6EAA6E;IAC/E,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,qBAAqB,GAAG,GAAG,iBAAS,aAAa,CAAC;AAClD,QAAA,qBAAqB,GAAG,GAAG,iBAAS,aAAa,CAAC;AAClD,QAAA,SAAS,GAAG,SAAS,CAAC;AACtB,QAAA,SAAS,GAAG,GAAG,6BAAqB,OAAO,CAAC;AAC5C,QAAA,UAAU,GAAG,GAAG,6BAAqB,QAAQ,CAAC;AAC9C,QAAA,UAAU,GAAG,GAAG,6BAAqB,QAAQ,CAAC"}
|
@@ -6,7 +6,7 @@ exports.platformId = 'elemental';
|
|
6
6
|
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Elemental',
|
9
|
-
image: 'https://
|
9
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/elemental.webp',
|
10
10
|
website: 'https://elemental.fund/',
|
11
11
|
twitter: 'https://twitter.com/elementaldefi',
|
12
12
|
// defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/elemental/constants.ts"],"names":[],"mappings":";;;AAEA,2DAAoD;AAEvC,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/elemental/constants.ts"],"names":[],"mappings":";;;AAEA,2DAAoD;AAEvC,QAAA,UAAU,GAAG,WAAW,CAAC;AACzB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,+EAA+E;IACjF,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,mCAAmC;IAC5C,qEAAqE;CACtE,CAAC;AACW,QAAA,aAAa,GAAG,OAAO,CAAC;AAExB,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,iCAAa,CAAC,OAAO;IAChC,GAAG,EAAE,iCAAa;IAClB,OAAO,EAAE,QAAQ;CACP,CAAC"}
|
@@ -5,7 +5,7 @@ exports.platformId = 'elixir';
|
|
5
5
|
exports.platform = {
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'Elixir',
|
8
|
-
image: 'https://
|
8
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/elixir.webp',
|
9
9
|
// defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
10
10
|
website: 'https://agg.elixir.xyz/',
|
11
11
|
twitter: 'https://x.com/elixir',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/elixir/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/elixir/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EACH,4EAA4E;IAC9E,qEAAqE;IACrE,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,sBAAsB;CAChC,CAAC;AAEF,6BAA6B;AAChB,QAAA,MAAM,GAAG;IACpB;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,WAAW;QACtB,gBAAgB,EAAE,aAAa;QAC/B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,YAAY;QACvB,gBAAgB,EAAE,cAAc;QAChC,WAAW,EACT,oEAAoE;KACvE;IACD;QACE,OAAO,EACL,oEAAoE;QACtE,SAAS,EAAE,UAAU;QACrB,gBAAgB,EAAE,YAAY;QAC9B,WAAW,EACT,oEAAoE;KACvE;CACF,CAAC;AAEW,QAAA,YAAY,GAAG,kBAAU,CAAC;AAC1B,QAAA,SAAS,GAAG,QAAQ,CAAC;AACrB,QAAA,YAAY,GAAG,WAAW,CAAC"}
|
@@ -6,7 +6,7 @@ exports.platformId = 'ensofi';
|
|
6
6
|
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'EnsoFi',
|
9
|
-
image: 'https://
|
9
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/ensofi.webp',
|
10
10
|
website: 'https://app.ensofi.xyz',
|
11
11
|
twitter: 'https://twitter.com/Ensofi_xyz',
|
12
12
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ensofi/constants.ts"],"names":[],"mappings":";;;AAEA,+BAAkC;AAErB,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/ensofi/constants.ts"],"names":[],"mappings":";;;AAEA,+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,wBAAwB;IACjC,OAAO,EAAE,gCAAgC;CAC1C,CAAC;AAEF,oGAAoG;AACvF,QAAA,KAAK,GAChB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,2FAA2F,CAAC;AACjF,QAAA,QAAQ,GACnB,yFAAyF,CAAC;AAC/E,QAAA,cAAc,GAAG,QAAQ,CAAC;AAC1B,QAAA,aAAa,GAAG,OAAO,CAAC;AAExB,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,6CAA6C;IACxD,GAAG,EAAE,eAAS;IACd,OAAO,EAAE,QAAQ;CACP,CAAC"}
|
@@ -8,7 +8,7 @@ exports.platformId = 'exponent';
|
|
8
8
|
exports.platform = {
|
9
9
|
id: exports.platformId,
|
10
10
|
name: 'Exponent',
|
11
|
-
image: 'https://
|
11
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/exponent.webp',
|
12
12
|
website: 'https://www.exponent.finance',
|
13
13
|
twitter: 'https://x.com/exponentfinance',
|
14
14
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/exponent/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,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/exponent/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,8BAA8B;IACvC,OAAO,EAAE,+BAA+B;CACzC,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,WAAW,GAAG,IAAI,6BAAa,CAAW,uBAAe,EAAE;IACtE,MAAM,EAAE,kBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEU,QAAA,aAAa,GACxB,0EAA0E,CAAC;AAEhE,QAAA,cAAc,GACzB,4EAA4E,CAAC"}
|
@@ -8,7 +8,7 @@ exports.platformId = 'famousfoxfederation';
|
|
8
8
|
exports.platform = {
|
9
9
|
id: exports.platformId,
|
10
10
|
name: 'Famous Fox Federation',
|
11
|
-
image: 'https://
|
11
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/famousfoxfederation.webp',
|
12
12
|
website: 'https://famousfoxes.com',
|
13
13
|
twitter: 'https://twitter.com/famousfoxfed',
|
14
14
|
// defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/famousfoxfederation/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,6CAA0C;AAC1C,qDAAkD;AAErC,QAAA,UAAU,GAAG,qBAAqB,CAAC;AAEnC,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,uBAAuB;IAC7B,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/famousfoxfederation/constants.ts"],"names":[],"mappings":";;;AAEA,6CAA4C;AAC5C,6CAA0C;AAC1C,qDAAkD;AAErC,QAAA,UAAU,GAAG,qBAAqB,CAAC;AAEnC,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,uBAAuB;IAC7B,KAAK,EACH,yFAAyF;IAC3F,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,kCAAkC;IAC3C,qEAAqE;CACtE,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAChC,SAAS,EAAE,0BAAkB,CAAC,QAAQ,EAAE;IACxC,GAAG,EAAE,+BAAc;IACnB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,UAAU,GAAG,IAAI,mBAAS,CACrC,8CAA8C,CAC/C,CAAC;AACW,QAAA,oBAAoB,GAAG,IAAI,mBAAS,CAC/C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAE1D,QAAA,cAAc,GAAG;IAC5B,SAAS,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAChC,GAAG,EAAE,uBAAU;IACf,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,WAAW,GAAG,qBAAqB,CAAC;AACpC,QAAA,qBAAqB,GAAG,eAAe,CAAC"}
|
@@ -6,7 +6,7 @@ exports.platformId = 'flash';
|
|
6
6
|
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'FlashTrade',
|
9
|
-
image: 'https://
|
9
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/flash.webp',
|
10
10
|
defiLlamaId: 'flashtrade', // from https://defillama.com/docs/api
|
11
11
|
website: 'https://beast.flash.trade/',
|
12
12
|
twitter: 'https://twitter.com/FlashTrade_',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flash/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flash/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,YAAY,EAAE,sCAAsC;IACjE,OAAO,EAAE,4BAA4B;IACrC,OAAO,EAAE,iCAAiC;CAC3C,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAI,mBAAS,CACnC,8CAA8C,CAC/C,CAAC;AACW,QAAA,eAAe,GAAG,IAAI,mBAAS,CAC1C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG;IACxB,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,6CAA6C,CAAC;IAC5D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;IAC7D,IAAI,mBAAS,CAAC,8CAA8C,CAAC;CAC9D,CAAC;AAEW,QAAA,YAAY,GAAG,WAAW,CAAC;AAC3B,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,QAAQ,GAAG,OAAO,CAAC"}
|
@@ -5,7 +5,7 @@ exports.platformId = 'flowx';
|
|
5
5
|
exports.platform = {
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'FlowX Finance',
|
8
|
-
image: 'https://
|
8
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/flowx.webp',
|
9
9
|
defiLlamaId: 'flowx-v2',
|
10
10
|
website: 'https://flowx.finance',
|
11
11
|
twitter: 'https://twitter.com/FlowX_finance',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flowx/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/flowx/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,eAAe;IACrB,KAAK,EACH,2EAA2E;IAC7E,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,uBAAuB;IAChC,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,OAAO,GAClB,8EAA8E,CAAC;AACpE,QAAA,QAAQ,GACnB,gFAAgF,CAAC;AACtE,QAAA,WAAW,GAAG,CAAC,CAAC;AAEhB,QAAA,UAAU,GAAG,CAAC,CAAC;AAEf,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,OAAO,GAClB,oEAAoE,CAAC;AAC1D,QAAA,UAAU,GACrB,oEAAoE,CAAC;AAC1D,QAAA,UAAU,GACrB,oEAAoE,CAAC;AAC1D,QAAA,mBAAmB,GAC9B,oEAAoE,CAAC;AAC1D,QAAA,aAAa,GACxB,+FAA+F,CAAC;AAErF,QAAA,WAAW,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACpC,QAAA,QAAQ,GAAG,OAAO,CAAC;AAEnB,QAAA,WAAW,GACtB,oEAAoE,CAAC"}
|
@@ -5,7 +5,7 @@ exports.platformId = 'fluxbeam';
|
|
5
5
|
exports.platform = {
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'Flux Beam',
|
8
|
-
image: 'https://
|
8
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/fluxbeam.webp',
|
9
9
|
defiLlamaId: 'fluxbeam', // from https://defillama.com/docs/api
|
10
10
|
website: 'https://fluxbeam.xyz/',
|
11
11
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/fluxbeam/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/fluxbeam/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,WAAW;IACjB,KAAK,EACH,8EAA8E;IAChF,WAAW,EAAE,UAAU,EAAE,sCAAsC;IAC/D,OAAO,EAAE,uBAAuB;CACjC,CAAC;AACW,QAAA,gBAAgB,GAAG,GAAG,kBAAU,QAAQ,CAAC;AACzC,QAAA,gBAAgB,GAAG,8CAA8C,CAAC"}
|
@@ -5,7 +5,7 @@ exports.platformId = 'foo';
|
|
5
5
|
exports.platform = {
|
6
6
|
id: exports.platformId,
|
7
7
|
name: 'Foo Finance',
|
8
|
-
image: 'https://
|
8
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/foo.webp',
|
9
9
|
website: 'https://foo.com/',
|
10
10
|
twitter: 'https://x.com/foo_finance',
|
11
11
|
defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
@@ -16,7 +16,7 @@ exports.airdropStatics = {
|
|
16
16
|
emitterLink: 'https://foo.com',
|
17
17
|
emitterName: 'Foo Protocol',
|
18
18
|
id: 'foo-s1',
|
19
|
-
image: 'https://
|
19
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/foo.webp',
|
20
20
|
claimEnd: undefined,
|
21
21
|
claimStart: 1722672000000,
|
22
22
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/foo/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,KAAK,CAAC;AACnB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/foo/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,KAAK,CAAC;AACnB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,aAAa;IACnB,KAAK,EACH,yEAAyE;IAC3E,OAAO,EAAE,kBAAkB;IAC3B,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,aAAa,EAAE,sCAAsC;CACnE,CAAC;AACW,QAAA,eAAe,GAAG,SAAS,CAAC;AAE5B,QAAA,cAAc,GAAmB;IAC5C,SAAS,EAAE,uBAAuB;IAClC,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,cAAc;IAC3B,EAAE,EAAE,QAAQ;IACZ,KAAK,EACH,yEAAyE;IAC3E,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,aAAa;CAC1B,CAAC"}
|
@@ -6,7 +6,7 @@ exports.platformId = 'fragmetric';
|
|
6
6
|
exports.platform = {
|
7
7
|
id: exports.platformId,
|
8
8
|
name: 'Fragmetric',
|
9
|
-
image: 'https://
|
9
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/fragmetric.webp',
|
10
10
|
website: 'https://fragmetric.xyz/',
|
11
11
|
twitter: 'https://x.com/fragmetric',
|
12
12
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/fragmetric/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/fragmetric/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/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,yBAAyB;IAClC,OAAO,EAAE,0BAA0B;CACpC,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEF,wEAAwE;AAC3D,QAAA,MAAM,GAAG;IACpB;QACE,mBAAmB,EAAE,8CAA8C;QACnE,YAAY,EAAE,8CAA8C;QAC5D,0BAA0B,EAAE,8CAA8C;QAC1E,cAAc,EAAE,8CAA8C;KAC/D;IACD;QACE,mBAAmB,EAAE,8CAA8C;QACnE,YAAY,EAAE,8CAA8C;QAC5D,SAAS,EAAE,6CAA6C;QACxD,cAAc,EAAE,8CAA8C;KAC/D;CACF,CAAC"}
|
@@ -7,7 +7,7 @@ exports.platformId = 'francium';
|
|
7
7
|
exports.platform = {
|
8
8
|
id: exports.platformId,
|
9
9
|
name: 'Francium',
|
10
|
-
image: 'https://
|
10
|
+
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/francium.webp',
|
11
11
|
website: 'https://francium.io/',
|
12
12
|
twitter: 'https://x.com/Francium_Defi',
|
13
13
|
defiLlamaId: 'francium', // from https://defillama.com/docs/api
|