@sonarwatch/portfolio-plugins 0.14.154 → 0.14.156
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 +8 -0
- package/package.json +1 -1
- package/src/index.d.ts +2 -5
- package/src/index.js +1 -10
- package/src/index.js.map +1 -1
- package/src/plugins/01/constants.d.ts +0 -2
- package/src/plugins/01/constants.js +1 -13
- package/src/plugins/01/constants.js.map +1 -1
- package/src/plugins/01/index.d.ts +0 -2
- package/src/plugins/01/index.js +1 -3
- package/src/plugins/01/index.js.map +1 -1
- package/src/plugins/aave/constants.d.ts +1 -2
- package/src/plugins/aave/constants.js +1 -8
- package/src/plugins/aave/constants.js.map +1 -1
- package/src/plugins/aave/index.d.ts +0 -2
- package/src/plugins/aave/index.js +1 -3
- package/src/plugins/aave/index.js.map +1 -1
- package/src/plugins/abex/constants.d.ts +0 -2
- package/src/plugins/abex/constants.js +1 -9
- package/src/plugins/abex/constants.js.map +1 -1
- package/src/plugins/abex/index.d.ts +0 -2
- package/src/plugins/abex/index.js +1 -3
- package/src/plugins/abex/index.js.map +1 -1
- package/src/plugins/abex/marketsJob.js +1 -2
- package/src/plugins/abex/marketsJob.js.map +1 -1
- package/src/plugins/accessprotocol/constants.d.ts +0 -2
- package/src/plugins/accessprotocol/constants.js +1 -14
- package/src/plugins/accessprotocol/constants.js.map +1 -1
- package/src/plugins/accessprotocol/index.d.ts +0 -2
- package/src/plugins/accessprotocol/index.js +1 -3
- package/src/plugins/accessprotocol/index.js.map +1 -1
- package/src/plugins/adrastea/constants.d.ts +0 -2
- package/src/plugins/adrastea/constants.js +1 -13
- package/src/plugins/adrastea/constants.js.map +1 -1
- package/src/plugins/adrastea/index.d.ts +0 -2
- package/src/plugins/adrastea/index.js +1 -3
- package/src/plugins/adrastea/index.js.map +1 -1
- package/src/plugins/adrena/constants.d.ts +0 -2
- package/src/plugins/adrena/constants.js +1 -14
- package/src/plugins/adrena/constants.js.map +1 -1
- package/src/plugins/adrena/index.d.ts +0 -2
- package/src/plugins/adrena/index.js +1 -3
- package/src/plugins/adrena/index.js.map +1 -1
- package/src/plugins/aftermath/constants.d.ts +0 -2
- package/src/plugins/aftermath/constants.js +1 -8
- package/src/plugins/aftermath/constants.js.map +1 -1
- package/src/plugins/aftermath/index.d.ts +0 -2
- package/src/plugins/aftermath/index.js +1 -3
- package/src/plugins/aftermath/index.js.map +1 -1
- package/src/plugins/allbridge/constants.d.ts +0 -2
- package/src/plugins/allbridge/constants.js +1 -15
- package/src/plugins/allbridge/constants.js.map +1 -1
- package/src/plugins/allbridge/index.d.ts +0 -2
- package/src/plugins/allbridge/index.js +1 -3
- package/src/plugins/allbridge/index.js.map +1 -1
- package/src/plugins/alphafi/constants.d.ts +0 -2
- package/src/plugins/alphafi/constants.js +1 -9
- package/src/plugins/alphafi/constants.js.map +1 -1
- package/src/plugins/alphafi/index.d.ts +0 -2
- package/src/plugins/alphafi/index.js +1 -3
- package/src/plugins/alphafi/index.js.map +1 -1
- package/src/plugins/aptin/constants.d.ts +0 -2
- package/src/plugins/aptin/constants.js +1 -9
- package/src/plugins/aptin/constants.js.map +1 -1
- package/src/plugins/aptin/index.d.ts +0 -2
- package/src/plugins/aptin/index.js +1 -3
- package/src/plugins/aptin/index.js.map +1 -1
- package/src/plugins/aries/constants.d.ts +0 -2
- package/src/plugins/aries/constants.js +1 -9
- package/src/plugins/aries/constants.js.map +1 -1
- package/src/plugins/aries/index.d.ts +0 -2
- package/src/plugins/aries/index.js +1 -3
- package/src/plugins/aries/index.js.map +1 -1
- package/src/plugins/armada-staking/constants.d.ts +0 -12
- package/src/plugins/armada-staking/constants.js +1 -81
- package/src/plugins/armada-staking/constants.js.map +1 -1
- package/src/plugins/armada-staking/index.d.ts +0 -2
- package/src/plugins/armada-staking/index.js +1 -15
- package/src/plugins/armada-staking/index.js.map +1 -1
- package/src/plugins/atrix/constants.d.ts +0 -2
- package/src/plugins/atrix/constants.js +1 -12
- package/src/plugins/atrix/constants.js.map +1 -1
- package/src/plugins/atrix/index.d.ts +0 -2
- package/src/plugins/atrix/index.js +1 -3
- package/src/plugins/atrix/index.js.map +1 -1
- package/src/plugins/aurory/constants.d.ts +0 -2
- package/src/plugins/aurory/constants.js +1 -14
- package/src/plugins/aurory/constants.js.map +1 -1
- package/src/plugins/aurory/index.d.ts +0 -2
- package/src/plugins/aurory/index.js +1 -3
- package/src/plugins/aurory/index.js.map +1 -1
- package/src/plugins/auxexchange/constants.d.ts +0 -2
- package/src/plugins/auxexchange/constants.js +1 -8
- package/src/plugins/auxexchange/constants.js.map +1 -1
- package/src/plugins/auxexchange/index.d.ts +0 -2
- package/src/plugins/auxexchange/index.js +1 -3
- package/src/plugins/auxexchange/index.js.map +1 -1
- package/src/plugins/balancer/constants.d.ts +0 -2
- package/src/plugins/balancer/constants.js +1 -8
- package/src/plugins/balancer/constants.js.map +1 -1
- package/src/plugins/balancer/index.d.ts +0 -2
- package/src/plugins/balancer/index.js +1 -3
- package/src/plugins/balancer/index.js.map +1 -1
- package/src/plugins/banx/constants.d.ts +0 -2
- package/src/plugins/banx/constants.js +1 -14
- package/src/plugins/banx/constants.js.map +1 -1
- package/src/plugins/banx/index.d.ts +0 -2
- package/src/plugins/banx/index.js +1 -3
- package/src/plugins/banx/index.js.map +1 -1
- package/src/plugins/baskt/constants.d.ts +0 -2
- package/src/plugins/baskt/constants.js +1 -11
- package/src/plugins/baskt/constants.js.map +1 -1
- package/src/plugins/baskt/index.d.ts +0 -2
- package/src/plugins/baskt/index.js +1 -3
- package/src/plugins/baskt/index.js.map +1 -1
- package/src/plugins/benqi/constants.d.ts +0 -2
- package/src/plugins/benqi/constants.js +1 -9
- package/src/plugins/benqi/constants.js.map +1 -1
- package/src/plugins/benqi/index.d.ts +0 -2
- package/src/plugins/benqi/index.js +1 -2
- package/src/plugins/benqi/index.js.map +1 -1
- package/src/plugins/bluefin/airdropFetcher.js +2 -2
- package/src/plugins/bluefin/airdropFetcher.js.map +1 -1
- package/src/plugins/bluefin/constants.d.ts +1 -2
- package/src/plugins/bluefin/constants.js +3 -10
- package/src/plugins/bluefin/constants.js.map +1 -1
- package/src/plugins/bluefin/index.d.ts +0 -2
- package/src/plugins/bluefin/index.js +1 -3
- package/src/plugins/bluefin/index.js.map +1 -1
- package/src/plugins/bluemove/constants.d.ts +0 -2
- package/src/plugins/bluemove/constants.js +1 -9
- package/src/plugins/bluemove/constants.js.map +1 -1
- package/src/plugins/bluemove/index.d.ts +0 -2
- package/src/plugins/bluemove/index.js +1 -3
- package/src/plugins/bluemove/index.js.map +1 -1
- package/src/plugins/bonfida/constants.d.ts +0 -2
- package/src/plugins/bonfida/constants.js +1 -15
- package/src/plugins/bonfida/constants.js.map +1 -1
- package/src/plugins/bonfida/index.d.ts +0 -2
- package/src/plugins/bonfida/index.js +1 -3
- package/src/plugins/bonfida/index.js.map +1 -1
- package/src/plugins/bonkrewards/constants.d.ts +0 -2
- package/src/plugins/bonkrewards/constants.js +1 -14
- package/src/plugins/bonkrewards/constants.js.map +1 -1
- package/src/plugins/bonkrewards/index.d.ts +0 -2
- package/src/plugins/bonkrewards/index.js +1 -3
- package/src/plugins/bonkrewards/index.js.map +1 -1
- package/src/plugins/bskt/constants.d.ts +0 -2
- package/src/plugins/bskt/constants.js +1 -14
- package/src/plugins/bskt/constants.js.map +1 -1
- package/src/plugins/bskt/index.d.ts +0 -2
- package/src/plugins/bskt/index.js +1 -3
- package/src/plugins/bskt/index.js.map +1 -1
- package/src/plugins/bucket/constants.d.ts +0 -2
- package/src/plugins/bucket/constants.js +1 -8
- package/src/plugins/bucket/constants.js.map +1 -1
- package/src/plugins/bucket/index.d.ts +0 -2
- package/src/plugins/bucket/index.js +1 -3
- package/src/plugins/bucket/index.js.map +1 -1
- package/src/plugins/cetus/constants.d.ts +0 -2
- package/src/plugins/cetus/constants.js +1 -8
- package/src/plugins/cetus/constants.js.map +1 -1
- package/src/plugins/cetus/index.d.ts +0 -2
- package/src/plugins/cetus/index.js +1 -3
- package/src/plugins/cetus/index.js.map +1 -1
- package/src/plugins/citrus/constants.d.ts +0 -2
- package/src/plugins/citrus/constants.js +1 -12
- package/src/plugins/citrus/constants.js.map +1 -1
- package/src/plugins/citrus/index.d.ts +0 -2
- package/src/plugins/citrus/index.js +1 -3
- package/src/plugins/citrus/index.js.map +1 -1
- package/src/plugins/clone/constants.d.ts +0 -2
- package/src/plugins/clone/constants.js +1 -11
- package/src/plugins/clone/constants.js.map +1 -1
- package/src/plugins/clone/index.d.ts +0 -2
- package/src/plugins/clone/index.js +1 -3
- package/src/plugins/clone/index.js.map +1 -1
- package/src/plugins/coingecko/index.d.ts +0 -2
- package/src/plugins/coingecko/index.js +1 -2
- package/src/plugins/coingecko/index.js.map +1 -1
- package/src/plugins/coinmarketcap/constants.d.ts +0 -2
- package/src/plugins/coinmarketcap/constants.js +1 -5
- package/src/plugins/coinmarketcap/constants.js.map +1 -1
- package/src/plugins/coinmarketcap/index.d.ts +0 -2
- package/src/plugins/coinmarketcap/index.js +1 -3
- package/src/plugins/coinmarketcap/index.js.map +1 -1
- package/src/plugins/coinmarketcap/pricingJob.js +7 -7
- package/src/plugins/coinmarketcap/pricingJob.js.map +1 -1
- package/src/plugins/compound/constants.d.ts +1 -2
- package/src/plugins/compound/constants.js +1 -8
- package/src/plugins/compound/constants.js.map +1 -1
- package/src/plugins/compound/index.d.ts +0 -2
- package/src/plugins/compound/index.js +1 -2
- package/src/plugins/compound/index.js.map +1 -1
- package/src/plugins/cropper/constants.d.ts +0 -2
- package/src/plugins/cropper/constants.js +1 -16
- package/src/plugins/cropper/constants.js.map +1 -1
- package/src/plugins/cropper/index.d.ts +0 -2
- package/src/plugins/cropper/index.js +1 -3
- package/src/plugins/cropper/index.js.map +1 -1
- package/src/plugins/curve/constants.d.ts +1 -2
- package/src/plugins/curve/constants.js +1 -8
- package/src/plugins/curve/constants.js.map +1 -1
- package/src/plugins/curve/index.d.ts +0 -2
- package/src/plugins/curve/index.js +1 -2
- package/src/plugins/curve/index.js.map +1 -1
- package/src/plugins/cyberfrogs/constants.d.ts +0 -2
- package/src/plugins/cyberfrogs/constants.js +1 -10
- package/src/plugins/cyberfrogs/constants.js.map +1 -1
- package/src/plugins/cyberfrogs/index.d.ts +0 -2
- package/src/plugins/cyberfrogs/index.js +1 -3
- package/src/plugins/cyberfrogs/index.js.map +1 -1
- package/src/plugins/daos/constants.d.ts +0 -3
- package/src/plugins/daos/constants.js +1 -19
- package/src/plugins/daos/constants.js.map +1 -1
- package/src/plugins/daos/index.d.ts +0 -2
- package/src/plugins/daos/index.js +1 -3
- package/src/plugins/daos/index.js.map +1 -1
- package/src/plugins/debridge/airdropFetcher.js +6 -6
- package/src/plugins/debridge/airdropFetcher.js.map +1 -1
- package/src/plugins/debridge/constants.d.ts +1 -2
- package/src/plugins/debridge/constants.js +2 -15
- package/src/plugins/debridge/constants.js.map +1 -1
- package/src/plugins/debridge/index.d.ts +0 -2
- package/src/plugins/debridge/index.js +1 -3
- package/src/plugins/debridge/index.js.map +1 -1
- package/src/plugins/deepbook/airdropFetcher.js +1 -1
- package/src/plugins/deepbook/airdropFetcher.js.map +1 -1
- package/src/plugins/deepbook/constants.d.ts +0 -2
- package/src/plugins/deepbook/constants.js +1 -9
- package/src/plugins/deepbook/constants.js.map +1 -1
- package/src/plugins/deepbook/index.d.ts +0 -2
- package/src/plugins/deepbook/index.js +1 -3
- package/src/plugins/deepbook/index.js.map +1 -1
- package/src/plugins/defiland/constants.d.ts +0 -2
- package/src/plugins/defiland/constants.js +1 -13
- package/src/plugins/defiland/constants.js.map +1 -1
- package/src/plugins/defiland/index.d.ts +0 -2
- package/src/plugins/defiland/index.js +1 -3
- package/src/plugins/defiland/index.js.map +1 -1
- package/src/plugins/defituna/constants.d.ts +0 -2
- package/src/plugins/defituna/constants.js +1 -11
- package/src/plugins/defituna/constants.js.map +1 -1
- package/src/plugins/defituna/index.d.ts +0 -2
- package/src/plugins/defituna/index.js +1 -3
- package/src/plugins/defituna/index.js.map +1 -1
- package/src/plugins/divvy/constants.d.ts +0 -2
- package/src/plugins/divvy/constants.js +1 -13
- package/src/plugins/divvy/constants.js.map +1 -1
- package/src/plugins/divvy/index.d.ts +0 -2
- package/src/plugins/divvy/index.js +1 -3
- package/src/plugins/divvy/index.js.map +1 -1
- package/src/plugins/doubleup/constants.d.ts +0 -2
- package/src/plugins/doubleup/constants.js +1 -9
- package/src/plugins/doubleup/constants.js.map +1 -1
- package/src/plugins/doubleup/index.d.ts +0 -2
- package/src/plugins/doubleup/index.js +1 -3
- package/src/plugins/doubleup/index.js.map +1 -1
- package/src/plugins/drift/constants.d.ts +0 -2
- package/src/plugins/drift/constants.js +1 -14
- package/src/plugins/drift/constants.js.map +1 -1
- package/src/plugins/drift/index.d.ts +0 -2
- package/src/plugins/drift/index.js +1 -3
- package/src/plugins/drift/index.js.map +1 -1
- package/src/plugins/drift-market-maker-vault/constants.d.ts +0 -10
- package/src/plugins/drift-market-maker-vault/constants.js +1 -86
- package/src/plugins/drift-market-maker-vault/constants.js.map +1 -1
- package/src/plugins/drift-market-maker-vault/index.d.ts +0 -2
- package/src/plugins/drift-market-maker-vault/index.js +1 -13
- package/src/plugins/drift-market-maker-vault/index.js.map +1 -1
- package/src/plugins/echelon/constants.d.ts +0 -2
- package/src/plugins/echelon/constants.js +1 -9
- package/src/plugins/echelon/constants.js.map +1 -1
- package/src/plugins/echelon/index.d.ts +0 -2
- package/src/plugins/echelon/index.js +1 -2
- package/src/plugins/echelon/index.js.map +1 -1
- package/src/plugins/elemental/constants.d.ts +0 -2
- package/src/plugins/elemental/constants.js +1 -13
- package/src/plugins/elemental/constants.js.map +1 -1
- package/src/plugins/elemental/index.d.ts +0 -2
- package/src/plugins/elemental/index.js +1 -3
- package/src/plugins/elemental/index.js.map +1 -1
- package/src/plugins/elixir/constants.d.ts +0 -2
- package/src/plugins/elixir/constants.js +1 -9
- package/src/plugins/elixir/constants.js.map +1 -1
- package/src/plugins/elixir/index.d.ts +0 -2
- package/src/plugins/elixir/index.js +1 -3
- package/src/plugins/elixir/index.js.map +1 -1
- package/src/plugins/ensofi/constants.d.ts +0 -2
- package/src/plugins/ensofi/constants.js +1 -13
- package/src/plugins/ensofi/constants.js.map +1 -1
- package/src/plugins/ensofi/index.d.ts +0 -2
- package/src/plugins/ensofi/index.js +1 -3
- package/src/plugins/ensofi/index.js.map +1 -1
- package/src/plugins/ensofi/solanaLoansJob.js.map +1 -1
- package/src/plugins/ensofi/structs.d.ts +3 -2
- package/src/plugins/ensofi/structs.js +3 -2
- package/src/plugins/ensofi/structs.js.map +1 -1
- package/src/plugins/exponent/constants.d.ts +0 -2
- package/src/plugins/exponent/constants.js +1 -13
- package/src/plugins/exponent/constants.js.map +1 -1
- package/src/plugins/exponent/index.d.ts +0 -2
- package/src/plugins/exponent/index.js +1 -3
- package/src/plugins/exponent/index.js.map +1 -1
- package/src/plugins/famousfoxfederation/constants.d.ts +0 -2
- package/src/plugins/famousfoxfederation/constants.js +1 -11
- package/src/plugins/famousfoxfederation/constants.js.map +1 -1
- package/src/plugins/famousfoxfederation/index.d.ts +0 -2
- package/src/plugins/famousfoxfederation/index.js +1 -3
- package/src/plugins/famousfoxfederation/index.js.map +1 -1
- package/src/plugins/flash/constants.d.ts +0 -2
- package/src/plugins/flash/constants.js +1 -13
- package/src/plugins/flash/constants.js.map +1 -1
- package/src/plugins/flash/index.d.ts +0 -2
- package/src/plugins/flash/index.js +1 -3
- package/src/plugins/flash/index.js.map +1 -1
- package/src/plugins/flash/poolJob.js +2 -3
- package/src/plugins/flash/poolJob.js.map +1 -1
- package/src/plugins/flowx/constants.d.ts +0 -2
- package/src/plugins/flowx/constants.js +1 -9
- package/src/plugins/flowx/constants.js.map +1 -1
- package/src/plugins/flowx/index.d.ts +0 -2
- package/src/plugins/flowx/index.js +1 -3
- package/src/plugins/flowx/index.js.map +1 -1
- package/src/plugins/fluxbeam/constants.d.ts +0 -2
- package/src/plugins/fluxbeam/constants.js +1 -14
- package/src/plugins/fluxbeam/constants.js.map +1 -1
- package/src/plugins/fluxbeam/index.d.ts +0 -2
- package/src/plugins/fluxbeam/index.js +1 -3
- package/src/plugins/fluxbeam/index.js.map +1 -1
- package/src/plugins/foo/airdropFetcher.js +1 -1
- package/src/plugins/foo/airdropFetcher.js.map +1 -1
- package/src/plugins/foo/constants.d.ts +0 -2
- package/src/plugins/foo/constants.js +1 -9
- package/src/plugins/foo/constants.js.map +1 -1
- package/src/plugins/foo/index.d.ts +0 -2
- package/src/plugins/foo/index.js +1 -3
- package/src/plugins/foo/index.js.map +1 -1
- package/src/plugins/fragmetric/constants.d.ts +0 -2
- package/src/plugins/fragmetric/constants.js +1 -18
- package/src/plugins/fragmetric/constants.js.map +1 -1
- package/src/plugins/fragmetric/index.d.ts +0 -2
- package/src/plugins/fragmetric/index.js +1 -3
- package/src/plugins/fragmetric/index.js.map +1 -1
- package/src/plugins/francium/constants.d.ts +0 -2
- package/src/plugins/francium/constants.js +1 -15
- package/src/plugins/francium/constants.js.map +1 -1
- package/src/plugins/francium/index.d.ts +0 -2
- package/src/plugins/francium/index.js +1 -3
- package/src/plugins/francium/index.js.map +1 -1
- package/src/plugins/futarchy/constants.d.ts +0 -2
- package/src/plugins/futarchy/constants.js +1 -14
- package/src/plugins/futarchy/constants.js.map +1 -1
- package/src/plugins/futarchy/index.d.ts +0 -2
- package/src/plugins/futarchy/index.js +1 -3
- package/src/plugins/futarchy/index.js.map +1 -1
- package/src/plugins/genesysgo/constants.d.ts +0 -2
- package/src/plugins/genesysgo/constants.js +1 -14
- package/src/plugins/genesysgo/constants.js.map +1 -1
- package/src/plugins/genesysgo/index.d.ts +0 -2
- package/src/plugins/genesysgo/index.js +1 -3
- package/src/plugins/genesysgo/index.js.map +1 -1
- package/src/plugins/goosefx/constants.d.ts +0 -2
- package/src/plugins/goosefx/constants.js +1 -13
- package/src/plugins/goosefx/constants.js.map +1 -1
- package/src/plugins/goosefx/index.d.ts +0 -2
- package/src/plugins/goosefx/index.js +1 -3
- package/src/plugins/goosefx/index.js.map +1 -1
- package/src/plugins/gpool/constants.d.ts +0 -2
- package/src/plugins/gpool/constants.js +1 -7
- package/src/plugins/gpool/constants.js.map +1 -1
- package/src/plugins/gpool/index.d.ts +0 -2
- package/src/plugins/gpool/index.js +1 -3
- package/src/plugins/gpool/index.js.map +1 -1
- package/src/plugins/grass/airdropFetcher.js +1 -1
- package/src/plugins/grass/airdropFetcher.js.map +1 -1
- package/src/plugins/grass/constants.d.ts +0 -2
- package/src/plugins/grass/constants.js +2 -13
- package/src/plugins/grass/constants.js.map +1 -1
- package/src/plugins/grass/index.d.ts +0 -2
- package/src/plugins/grass/index.js +1 -3
- package/src/plugins/grass/index.js.map +1 -1
- package/src/plugins/guano/constants.d.ts +0 -2
- package/src/plugins/guano/constants.js +1 -8
- package/src/plugins/guano/constants.js.map +1 -1
- package/src/plugins/guano/index.d.ts +0 -2
- package/src/plugins/guano/index.js +1 -3
- package/src/plugins/guano/index.js.map +1 -1
- package/src/plugins/haedal/constants.d.ts +0 -2
- package/src/plugins/haedal/constants.js +1 -9
- package/src/plugins/haedal/constants.js.map +1 -1
- package/src/plugins/haedal/index.d.ts +0 -2
- package/src/plugins/haedal/index.js +1 -3
- package/src/plugins/haedal/index.js.map +1 -1
- package/src/plugins/hawksight/constants.d.ts +0 -2
- package/src/plugins/hawksight/constants.js +1 -13
- package/src/plugins/hawksight/constants.js.map +1 -1
- package/src/plugins/hawksight/index.d.ts +0 -2
- package/src/plugins/hawksight/index.js +1 -3
- package/src/plugins/hawksight/index.js.map +1 -1
- package/src/plugins/hawksight/positionsFetcher.js +4 -5
- package/src/plugins/hawksight/positionsFetcher.js.map +1 -1
- package/src/plugins/hedgehog/constants.d.ts +0 -2
- package/src/plugins/hedgehog/constants.js +1 -13
- package/src/plugins/hedgehog/constants.js.map +1 -1
- package/src/plugins/hedgehog/index.d.ts +0 -2
- package/src/plugins/hedgehog/index.js +1 -3
- package/src/plugins/hedgehog/index.js.map +1 -1
- package/src/plugins/holdium/constants.d.ts +0 -2
- package/src/plugins/holdium/constants.js +1 -11
- package/src/plugins/holdium/constants.js.map +1 -1
- package/src/plugins/holdium/index.d.ts +0 -2
- package/src/plugins/holdium/index.js +1 -3
- package/src/plugins/holdium/index.js.map +1 -1
- package/src/plugins/hxro/constants.d.ts +0 -2
- package/src/plugins/hxro/constants.js +1 -14
- package/src/plugins/hxro/constants.js.map +1 -1
- package/src/plugins/hxro/index.d.ts +0 -2
- package/src/plugins/hxro/index.js +1 -3
- package/src/plugins/hxro/index.js.map +1 -1
- package/src/plugins/iloop/constants.d.ts +0 -2
- package/src/plugins/iloop/constants.js +1 -13
- package/src/plugins/iloop/constants.js.map +1 -1
- package/src/plugins/iloop/index.d.ts +0 -2
- package/src/plugins/iloop/index.js +1 -3
- package/src/plugins/iloop/index.js.map +1 -1
- package/src/plugins/instadapp/constants.d.ts +0 -2
- package/src/plugins/instadapp/constants.js +1 -9
- package/src/plugins/instadapp/constants.js.map +1 -1
- package/src/plugins/instadapp/index.d.ts +0 -2
- package/src/plugins/instadapp/index.js +2 -3
- package/src/plugins/instadapp/index.js.map +1 -1
- package/src/plugins/jewel/constants.d.ts +0 -2
- package/src/plugins/jewel/constants.js +1 -9
- package/src/plugins/jewel/constants.js.map +1 -1
- package/src/plugins/jewel/index.d.ts +0 -2
- package/src/plugins/jewel/index.js +1 -3
- package/src/plugins/jewel/index.js.map +1 -1
- package/src/plugins/jito/constants.d.ts +0 -4
- package/src/plugins/jito/constants.js +1 -36
- package/src/plugins/jito/constants.js.map +1 -1
- package/src/plugins/jito/index.d.ts +0 -2
- package/src/plugins/jito/index.js +1 -3
- package/src/plugins/jito/index.js.map +1 -1
- package/src/plugins/joule/constants.d.ts +0 -2
- package/src/plugins/joule/constants.js +1 -9
- package/src/plugins/joule/constants.js.map +1 -1
- package/src/plugins/joule/index.d.ts +0 -2
- package/src/plugins/joule/index.js +1 -3
- package/src/plugins/joule/index.js.map +1 -1
- package/src/plugins/jupiter/exchange/constants.d.ts +0 -2
- package/src/plugins/jupiter/exchange/constants.js +1 -14
- package/src/plugins/jupiter/exchange/constants.js.map +1 -1
- package/src/plugins/jupiter/governance/constants.d.ts +0 -2
- package/src/plugins/jupiter/governance/constants.js +1 -11
- package/src/plugins/jupiter/governance/constants.js.map +1 -1
- package/src/plugins/jupiter/index.d.ts +0 -2
- package/src/plugins/jupiter/index.js +1 -9
- package/src/plugins/jupiter/index.js.map +1 -1
- package/src/plugins/jupiter/launchpad/constants.d.ts +0 -2
- package/src/plugins/jupiter/launchpad/constants.js +1 -9
- package/src/plugins/jupiter/launchpad/constants.js.map +1 -1
- package/src/plugins/jupiter/pricingJob.js +6 -7
- package/src/plugins/jupiter/pricingJob.js.map +1 -1
- package/src/plugins/kai/constants.d.ts +0 -2
- package/src/plugins/kai/constants.js +1 -9
- package/src/plugins/kai/constants.js.map +1 -1
- package/src/plugins/kai/index.d.ts +0 -2
- package/src/plugins/kai/index.js +1 -3
- package/src/plugins/kai/index.js.map +1 -1
- package/src/plugins/kamino/constants.d.ts +0 -2
- package/src/plugins/kamino/constants.js +1 -14
- package/src/plugins/kamino/constants.js.map +1 -1
- package/src/plugins/kamino/index.d.ts +0 -2
- package/src/plugins/kamino/index.js +1 -3
- package/src/plugins/kamino/index.js.map +1 -1
- package/src/plugins/kamino/s1AirdropFetcher.js +1 -1
- package/src/plugins/kamino/s1AirdropFetcher.js.map +1 -1
- package/src/plugins/kamino/s2AirdropFetcher.old.js +1 -1
- package/src/plugins/kamino/s2AirdropFetcher.old.js.map +1 -1
- package/src/plugins/kriya/constants.d.ts +0 -2
- package/src/plugins/kriya/constants.js +1 -9
- package/src/plugins/kriya/constants.js.map +1 -1
- package/src/plugins/kriya/index.d.ts +0 -2
- package/src/plugins/kriya/index.js +1 -3
- package/src/plugins/kriya/index.js.map +1 -1
- package/src/plugins/layer3/constants.d.ts +0 -2
- package/src/plugins/layer3/constants.js +1 -13
- package/src/plugins/layer3/constants.js.map +1 -1
- package/src/plugins/layer3/index.d.ts +0 -2
- package/src/plugins/layer3/index.js +1 -3
- package/src/plugins/layer3/index.js.map +1 -1
- package/src/plugins/lido/constants.d.ts +0 -2
- package/src/plugins/lido/constants.js +1 -8
- package/src/plugins/lido/constants.js.map +1 -1
- package/src/plugins/lido/index.d.ts +0 -2
- package/src/plugins/lido/index.js +1 -3
- package/src/plugins/lido/index.js.map +1 -1
- package/src/plugins/lifinity/constants.d.ts +0 -2
- package/src/plugins/lifinity/constants.js +1 -15
- package/src/plugins/lifinity/constants.js.map +1 -1
- package/src/plugins/lifinity/index.d.ts +0 -2
- package/src/plugins/lifinity/index.js +1 -3
- package/src/plugins/lifinity/index.js.map +1 -1
- package/src/plugins/lifinity/xLfntyJob.js +1 -2
- package/src/plugins/lifinity/xLfntyJob.js.map +1 -1
- package/src/plugins/liquiditypools-sei/constants.d.ts +0 -3
- package/src/plugins/liquiditypools-sei/constants.js +5 -18
- package/src/plugins/liquiditypools-sei/constants.js.map +1 -1
- package/src/plugins/liquiditypools-sei/index.d.ts +0 -4
- package/src/plugins/liquiditypools-sei/index.js +1 -7
- package/src/plugins/liquiditypools-sei/index.js.map +1 -1
- package/src/plugins/liquidswap/constants.d.ts +0 -2
- package/src/plugins/liquidswap/constants.js +1 -8
- package/src/plugins/liquidswap/constants.js.map +1 -1
- package/src/plugins/liquidswap/index.d.ts +0 -2
- package/src/plugins/liquidswap/index.js +1 -3
- package/src/plugins/liquidswap/index.js.map +1 -1
- package/src/plugins/llama-protocols/getLlamaProtocolsJob.d.ts +4 -2
- package/src/plugins/llama-protocols/getLlamaProtocolsJob.js.map +1 -1
- package/src/plugins/loopscale/constants.d.ts +0 -2
- package/src/plugins/loopscale/constants.js +1 -13
- package/src/plugins/loopscale/constants.js.map +1 -1
- package/src/plugins/loopscale/index.d.ts +0 -2
- package/src/plugins/loopscale/index.js +1 -3
- package/src/plugins/loopscale/index.js.map +1 -1
- package/src/plugins/loopscale/lendVaultsFetcher.js +3 -3
- package/src/plugins/loopscale/lendVaultsFetcher.js.map +1 -1
- package/src/plugins/loverflow/constants.d.ts +0 -2
- package/src/plugins/loverflow/constants.js +1 -9
- package/src/plugins/loverflow/constants.js.map +1 -1
- package/src/plugins/loverflow/index.d.ts +0 -2
- package/src/plugins/loverflow/index.js +1 -3
- package/src/plugins/loverflow/index.js.map +1 -1
- package/src/plugins/lulo/constants.d.ts +0 -2
- package/src/plugins/lulo/constants.js +1 -14
- package/src/plugins/lulo/constants.js.map +1 -1
- package/src/plugins/lulo/depositsFetcher.js +6 -7
- package/src/plugins/lulo/depositsFetcher.js.map +1 -1
- package/src/plugins/lulo/index.d.ts +0 -2
- package/src/plugins/lulo/index.js +1 -3
- package/src/plugins/lulo/index.js.map +1 -1
- package/src/plugins/lulo/rewardsFetcher.js +1 -1
- package/src/plugins/lulo/rewardsFetcher.js.map +1 -1
- package/src/plugins/magiceden/airdropFetcher.js +1 -1
- package/src/plugins/magiceden/airdropFetcher.js.map +1 -1
- package/src/plugins/magiceden/constants.d.ts +0 -2
- package/src/plugins/magiceden/constants.js +1 -13
- package/src/plugins/magiceden/constants.js.map +1 -1
- package/src/plugins/magiceden/index.d.ts +0 -2
- package/src/plugins/magiceden/index.js +1 -3
- package/src/plugins/magiceden/index.js.map +1 -1
- package/src/plugins/maker/constants.d.ts +0 -2
- package/src/plugins/maker/constants.js +1 -8
- package/src/plugins/maker/constants.js.map +1 -1
- package/src/plugins/maker/index.d.ts +0 -2
- package/src/plugins/maker/index.js +1 -3
- package/src/plugins/maker/index.js.map +1 -1
- package/src/plugins/maker/sdaiJob.js +1 -2
- package/src/plugins/maker/sdaiJob.js.map +1 -1
- package/src/plugins/mango/constants.d.ts +0 -3
- package/src/plugins/mango/constants.js +1 -21
- package/src/plugins/mango/constants.js.map +1 -1
- package/src/plugins/mango/index.d.ts +0 -2
- package/src/plugins/mango/index.js +1 -3
- package/src/plugins/mango/index.js.map +1 -1
- package/src/plugins/maple/constants.d.ts +0 -2
- package/src/plugins/maple/constants.js +1 -8
- package/src/plugins/maple/constants.js.map +1 -1
- package/src/plugins/maple/index.d.ts +0 -2
- package/src/plugins/maple/index.js +1 -3
- package/src/plugins/maple/index.js.map +1 -1
- package/src/plugins/marginfi/constants.d.ts +0 -2
- package/src/plugins/marginfi/constants.js +1 -14
- package/src/plugins/marginfi/constants.js.map +1 -1
- package/src/plugins/marginfi/index.d.ts +0 -2
- package/src/plugins/marginfi/index.js +1 -3
- package/src/plugins/marginfi/index.js.map +1 -1
- package/src/plugins/marinade/constants.d.ts +0 -2
- package/src/plugins/marinade/constants.js +1 -14
- package/src/plugins/marinade/constants.js.map +1 -1
- package/src/plugins/marinade/index.d.ts +0 -2
- package/src/plugins/marinade/index.js +1 -3
- package/src/plugins/marinade/index.js.map +1 -1
- package/src/plugins/meso/constants.d.ts +0 -2
- package/src/plugins/meso/constants.js +1 -9
- package/src/plugins/meso/constants.js.map +1 -1
- package/src/plugins/meso/index.d.ts +0 -2
- package/src/plugins/meso/index.js +1 -3
- package/src/plugins/meso/index.js.map +1 -1
- package/src/plugins/metaplex/constants.d.ts +0 -2
- package/src/plugins/metaplex/constants.js +1 -14
- package/src/plugins/metaplex/constants.js.map +1 -1
- package/src/plugins/metaplex/index.d.ts +0 -2
- package/src/plugins/metaplex/index.js +1 -3
- package/src/plugins/metaplex/index.js.map +1 -1
- package/src/plugins/meteora/constants.d.ts +0 -2
- package/src/plugins/meteora/constants.js +1 -13
- package/src/plugins/meteora/constants.js.map +1 -1
- package/src/plugins/meteora/index.d.ts +0 -2
- package/src/plugins/meteora/index.js +1 -3
- package/src/plugins/meteora/index.js.map +1 -1
- package/src/plugins/mole/constants.d.ts +0 -2
- package/src/plugins/mole/constants.js +1 -9
- package/src/plugins/mole/constants.js.map +1 -1
- package/src/plugins/mole/index.d.ts +0 -2
- package/src/plugins/mole/index.js +1 -3
- package/src/plugins/mole/index.js.map +1 -1
- package/src/plugins/moonwalk/constants.d.ts +0 -2
- package/src/plugins/moonwalk/constants.js +1 -12
- package/src/plugins/moonwalk/constants.js.map +1 -1
- package/src/plugins/moonwalk/index.d.ts +0 -2
- package/src/plugins/moonwalk/index.js +1 -3
- package/src/plugins/moonwalk/index.js.map +1 -1
- package/src/plugins/morpho/constants.d.ts +0 -2
- package/src/plugins/morpho/constants.js +1 -8
- package/src/plugins/morpho/constants.js.map +1 -1
- package/src/plugins/morpho/index.d.ts +0 -2
- package/src/plugins/morpho/index.js +1 -3
- package/src/plugins/morpho/index.js.map +1 -1
- package/src/plugins/native-stake/activeValidatorsAptosJob.js +1 -1
- package/src/plugins/native-stake/activeValidatorsAptosJob.js.map +1 -1
- package/src/plugins/native-stake/activeValidatorsSuiJob.js +1 -1
- package/src/plugins/native-stake/activeValidatorsSuiJob.js.map +1 -1
- package/src/plugins/native-stake/aptosFetcher.js +2 -2
- package/src/plugins/native-stake/aptosFetcher.js.map +1 -1
- package/src/plugins/native-stake/constants.d.ts +0 -3
- package/src/plugins/native-stake/constants.js +3 -8
- package/src/plugins/native-stake/constants.js.map +1 -1
- package/src/plugins/native-stake/index.d.ts +0 -2
- package/src/plugins/native-stake/index.js +1 -3
- package/src/plugins/native-stake/index.js.map +1 -1
- package/src/plugins/native-stake/seiFetcher.js +2 -3
- package/src/plugins/native-stake/seiFetcher.js.map +1 -1
- package/src/plugins/native-stake/solana/solanaEpochJob.js +4 -5
- package/src/plugins/native-stake/solana/solanaEpochJob.js.map +1 -1
- package/src/plugins/native-stake/solana/solanaFetcher.js +4 -4
- package/src/plugins/native-stake/solana/solanaFetcher.js.map +1 -1
- package/src/plugins/native-stake/solana/solanaValidatorsJob.js +2 -2
- package/src/plugins/native-stake/solana/solanaValidatorsJob.js.map +1 -1
- package/src/plugins/native-stake/suiFetcher.js +2 -2
- package/src/plugins/native-stake/suiFetcher.js.map +1 -1
- package/src/plugins/navi/constants.d.ts +0 -2
- package/src/plugins/navi/constants.js +1 -9
- package/src/plugins/navi/constants.js.map +1 -1
- package/src/plugins/navi/index.d.ts +0 -2
- package/src/plugins/navi/index.js +1 -3
- package/src/plugins/navi/index.js.map +1 -1
- package/src/plugins/nosana/constants.d.ts +0 -2
- package/src/plugins/nosana/constants.js +1 -14
- package/src/plugins/nosana/constants.js.map +1 -1
- package/src/plugins/nosana/index.d.ts +0 -2
- package/src/plugins/nosana/index.js +1 -3
- package/src/plugins/nosana/index.js.map +1 -1
- package/src/plugins/nxfinance/constants.d.ts +0 -2
- package/src/plugins/nxfinance/constants.js +1 -10
- package/src/plugins/nxfinance/constants.js.map +1 -1
- package/src/plugins/nxfinance/index.d.ts +0 -2
- package/src/plugins/nxfinance/index.js +1 -3
- package/src/plugins/nxfinance/index.js.map +1 -1
- package/src/plugins/orca/constants.d.ts +0 -3
- package/src/plugins/orca/constants.js +1 -21
- package/src/plugins/orca/constants.js.map +1 -1
- package/src/plugins/orca/index.d.ts +0 -2
- package/src/plugins/orca/index.js +1 -3
- package/src/plugins/orca/index.js.map +1 -1
- package/src/plugins/orders/clobs-solana/constants.d.ts +2 -3
- package/src/plugins/orders/clobs-solana/constants.js +7 -17
- package/src/plugins/orders/clobs-solana/constants.js.map +1 -1
- package/src/plugins/orders/clobs-solana/openbookFetcher.js +2 -2
- package/src/plugins/orders/clobs-solana/openbookFetcher.js.map +1 -1
- package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js +3 -3
- package/src/plugins/orders/clobs-solana/serumFetcherExecutorGenerator.js.map +1 -1
- package/src/plugins/orders/index.d.ts +0 -2
- package/src/plugins/orders/index.js +1 -3
- package/src/plugins/orders/index.js.map +1 -1
- package/src/plugins/pancakeswap/constants.d.ts +0 -2
- package/src/plugins/pancakeswap/constants.js +1 -8
- package/src/plugins/pancakeswap/constants.js.map +1 -1
- package/src/plugins/pancakeswap/index.d.ts +0 -2
- package/src/plugins/pancakeswap/index.js +1 -2
- package/src/plugins/pancakeswap/index.js.map +1 -1
- package/src/plugins/paraswap/constants.d.ts +0 -2
- package/src/plugins/paraswap/constants.js +1 -8
- package/src/plugins/paraswap/constants.js.map +1 -1
- package/src/plugins/paraswap/index.d.ts +0 -2
- package/src/plugins/paraswap/index.js +1 -3
- package/src/plugins/paraswap/index.js.map +1 -1
- package/src/plugins/parcl/constants.d.ts +0 -2
- package/src/plugins/parcl/constants.js +1 -14
- package/src/plugins/parcl/constants.js.map +1 -1
- package/src/plugins/parcl/index.d.ts +0 -2
- package/src/plugins/parcl/index.js +1 -3
- package/src/plugins/parcl/index.js.map +1 -1
- package/src/plugins/perena/constants.d.ts +0 -2
- package/src/plugins/perena/constants.js +1 -13
- package/src/plugins/perena/constants.js.map +1 -1
- package/src/plugins/perena/index.d.ts +0 -2
- package/src/plugins/perena/index.js +1 -3
- package/src/plugins/perena/index.js.map +1 -1
- package/src/plugins/phoenix/constants.d.ts +0 -2
- package/src/plugins/phoenix/constants.js +1 -13
- package/src/plugins/phoenix/constants.js.map +1 -1
- package/src/plugins/phoenix/index.d.ts +0 -2
- package/src/plugins/phoenix/index.js +1 -3
- package/src/plugins/phoenix/index.js.map +1 -1
- package/src/plugins/photofinish/constants.d.ts +0 -2
- package/src/plugins/photofinish/constants.js +1 -11
- package/src/plugins/photofinish/constants.js.map +1 -1
- package/src/plugins/photofinish/index.d.ts +0 -2
- package/src/plugins/photofinish/index.js +1 -3
- package/src/plugins/photofinish/index.js.map +1 -1
- package/src/plugins/picasso/constants.d.ts +0 -2
- package/src/plugins/picasso/constants.js +1 -16
- package/src/plugins/picasso/constants.js.map +1 -1
- package/src/plugins/picasso/index.d.ts +0 -2
- package/src/plugins/picasso/index.js +1 -3
- package/src/plugins/picasso/index.js.map +1 -1
- package/src/plugins/pluto/constants.d.ts +0 -2
- package/src/plugins/pluto/constants.js +1 -14
- package/src/plugins/pluto/constants.js.map +1 -1
- package/src/plugins/pluto/index.d.ts +0 -2
- package/src/plugins/pluto/index.js +1 -3
- package/src/plugins/pluto/index.js.map +1 -1
- package/src/plugins/port/constants.d.ts +0 -2
- package/src/plugins/port/constants.js +1 -12
- package/src/plugins/port/constants.js.map +1 -1
- package/src/plugins/port/index.d.ts +0 -2
- package/src/plugins/port/index.js +1 -3
- package/src/plugins/port/index.js.map +1 -1
- package/src/plugins/pudgypenguins/airdropFetcher.js +1 -1
- package/src/plugins/pudgypenguins/airdropFetcher.js.map +1 -1
- package/src/plugins/pudgypenguins/constants.d.ts +0 -2
- package/src/plugins/pudgypenguins/constants.js +1 -10
- package/src/plugins/pudgypenguins/constants.js.map +1 -1
- package/src/plugins/pudgypenguins/index.d.ts +0 -2
- package/src/plugins/pudgypenguins/index.js +2 -6
- package/src/plugins/pudgypenguins/index.js.map +1 -1
- package/src/plugins/puffcoin/constants.d.ts +0 -2
- package/src/plugins/puffcoin/constants.js +1 -7
- package/src/plugins/puffcoin/constants.js.map +1 -1
- package/src/plugins/puffcoin/index.d.ts +0 -2
- package/src/plugins/puffcoin/index.js +1 -3
- package/src/plugins/puffcoin/index.js.map +1 -1
- package/src/plugins/pyth/constants.d.ts +0 -2
- package/src/plugins/pyth/constants.js +1 -14
- package/src/plugins/pyth/constants.js.map +1 -1
- package/src/plugins/pyth/index.d.ts +0 -2
- package/src/plugins/pyth/index.js +1 -3
- package/src/plugins/pyth/index.js.map +1 -1
- package/src/plugins/quarry/constants.d.ts +0 -2
- package/src/plugins/quarry/constants.js +1 -11
- package/src/plugins/quarry/constants.js.map +1 -1
- package/src/plugins/quarry/index.d.ts +0 -2
- package/src/plugins/quarry/index.js +1 -3
- package/src/plugins/quarry/index.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.d.ts +0 -2
- package/src/plugins/rain/constants.js +1 -14
- package/src/plugins/rain/constants.js.map +1 -1
- package/src/plugins/rain/index.d.ts +0 -2
- package/src/plugins/rain/index.js +1 -3
- package/src/plugins/rain/index.js.map +1 -1
- package/src/plugins/ratex/constants.d.ts +0 -2
- package/src/plugins/ratex/constants.js +1 -14
- package/src/plugins/ratex/constants.js.map +1 -1
- package/src/plugins/ratex/index.d.ts +0 -2
- package/src/plugins/ratex/index.js +1 -3
- package/src/plugins/ratex/index.js.map +1 -1
- package/src/plugins/raydium/ammV2ApiJob.js +7 -8
- package/src/plugins/raydium/ammV2ApiJob.js.map +1 -1
- package/src/plugins/raydium/clmmJob.js +1 -2
- package/src/plugins/raydium/clmmJob.js.map +1 -1
- package/src/plugins/raydium/constants.d.ts +0 -2
- package/src/plugins/raydium/constants.js +1 -14
- package/src/plugins/raydium/constants.js.map +1 -1
- package/src/plugins/raydium/index.d.ts +0 -2
- package/src/plugins/raydium/index.js +1 -3
- package/src/plugins/raydium/index.js.map +1 -1
- package/src/plugins/rocket-pool/constants.d.ts +0 -2
- package/src/plugins/rocket-pool/constants.js +1 -8
- package/src/plugins/rocket-pool/constants.js.map +1 -1
- package/src/plugins/rocket-pool/index.d.ts +0 -2
- package/src/plugins/rocket-pool/index.js +1 -3
- package/src/plugins/rocket-pool/index.js.map +1 -1
- package/src/plugins/saber/constants.d.ts +0 -2
- package/src/plugins/saber/constants.js +1 -9
- package/src/plugins/saber/constants.js.map +1 -1
- package/src/plugins/saber/index.d.ts +0 -2
- package/src/plugins/saber/index.js +1 -3
- package/src/plugins/saber/index.js.map +1 -1
- package/src/plugins/sanctum/constants.d.ts +0 -2
- package/src/plugins/sanctum/constants.js +1 -14
- package/src/plugins/sanctum/constants.js.map +1 -1
- package/src/plugins/sanctum/index.d.ts +0 -2
- package/src/plugins/sanctum/index.js +1 -3
- package/src/plugins/sanctum/index.js.map +1 -1
- package/src/plugins/sanctum/nclbAirdropFetcher.js +1 -1
- package/src/plugins/sanctum/nclbAirdropFetcher.js.map +1 -1
- package/src/plugins/sanctum/s1AirdropFetcher.js +1 -1
- package/src/plugins/sanctum/s1AirdropFetcher.js.map +1 -1
- package/src/plugins/sandglass/constants.d.ts +0 -2
- package/src/plugins/sandglass/constants.js +1 -11
- package/src/plugins/sandglass/constants.js.map +1 -1
- package/src/plugins/sandglass/index.d.ts +0 -2
- package/src/plugins/sandglass/index.js +1 -3
- package/src/plugins/sandglass/index.js.map +1 -1
- package/src/plugins/sandglass/marketsJob.js +3 -4
- package/src/plugins/sandglass/marketsJob.js.map +1 -1
- package/src/plugins/save/constants.d.ts +0 -3
- package/src/plugins/save/constants.js +1 -21
- package/src/plugins/save/constants.js.map +1 -1
- package/src/plugins/save/index.d.ts +0 -2
- package/src/plugins/save/index.js +1 -3
- package/src/plugins/save/index.js.map +1 -1
- package/src/plugins/scallop/constants.d.ts +0 -2
- package/src/plugins/scallop/constants.js +1 -8
- package/src/plugins/scallop/constants.js.map +1 -1
- package/src/plugins/scallop/index.d.ts +0 -2
- package/src/plugins/scallop/index.js +1 -3
- package/src/plugins/scallop/index.js.map +1 -1
- package/src/plugins/sharky/constants.d.ts +0 -2
- package/src/plugins/sharky/constants.js +1 -13
- package/src/plugins/sharky/constants.js.map +1 -1
- package/src/plugins/sharky/index.d.ts +0 -2
- package/src/plugins/sharky/index.js +1 -3
- package/src/plugins/sharky/index.js.map +1 -1
- package/src/plugins/solayer/airdropFetcher.js +1 -1
- package/src/plugins/solayer/airdropFetcher.js.map +1 -1
- package/src/plugins/solayer/constants.d.ts +0 -2
- package/src/plugins/solayer/constants.js +2 -16
- package/src/plugins/solayer/constants.js.map +1 -1
- package/src/plugins/solayer/index.d.ts +0 -2
- package/src/plugins/solayer/index.js +1 -3
- package/src/plugins/solayer/index.js.map +1 -1
- package/src/plugins/solayer/poolsJob.js +1 -2
- package/src/plugins/solayer/poolsJob.js.map +1 -1
- package/src/plugins/sonic/airdropFetcher.js +1 -1
- package/src/plugins/sonic/airdropFetcher.js.map +1 -1
- package/src/plugins/sonic/constants.d.ts +0 -2
- package/src/plugins/sonic/constants.js +2 -14
- package/src/plugins/sonic/constants.js.map +1 -1
- package/src/plugins/sonic/index.d.ts +0 -2
- package/src/plugins/sonic/index.js +1 -3
- package/src/plugins/sonic/index.js.map +1 -1
- package/src/plugins/spdr/constants.d.ts +0 -2
- package/src/plugins/spdr/constants.js +1 -15
- package/src/plugins/spdr/constants.js.map +1 -1
- package/src/plugins/spdr/index.d.ts +0 -2
- package/src/plugins/spdr/index.js +1 -3
- package/src/plugins/spdr/index.js.map +1 -1
- package/src/plugins/stabble/constants.d.ts +0 -2
- package/src/plugins/stabble/constants.js +1 -15
- package/src/plugins/stabble/constants.js.map +1 -1
- package/src/plugins/stabble/index.d.ts +0 -2
- package/src/plugins/stabble/index.js +1 -3
- package/src/plugins/stabble/index.js.map +1 -1
- package/src/plugins/stader/constants.d.ts +0 -2
- package/src/plugins/stader/constants.js +1 -8
- package/src/plugins/stader/constants.js.map +1 -1
- package/src/plugins/stader/index.d.ts +0 -2
- package/src/plugins/stader/index.js +1 -3
- package/src/plugins/stader/index.js.map +1 -1
- package/src/plugins/staking-aptos/constants.d.ts +1 -2
- package/src/plugins/staking-aptos/constants.js +3 -9
- package/src/plugins/staking-aptos/constants.js.map +1 -1
- package/src/plugins/staking-aptos/index.d.ts +0 -2
- package/src/plugins/staking-aptos/index.js +1 -3
- package/src/plugins/staking-aptos/index.js.map +1 -1
- package/src/plugins/staratlas/constants.d.ts +0 -2
- package/src/plugins/staratlas/constants.js +1 -15
- package/src/plugins/staratlas/constants.js.map +1 -1
- package/src/plugins/staratlas/index.d.ts +0 -2
- package/src/plugins/staratlas/index.js +1 -3
- package/src/plugins/staratlas/index.js.map +1 -1
- package/src/plugins/stargate/constants.d.ts +0 -2
- package/src/plugins/stargate/constants.js +1 -8
- package/src/plugins/stargate/constants.js.map +1 -1
- package/src/plugins/stargate/index.d.ts +0 -2
- package/src/plugins/stargate/index.js +1 -2
- package/src/plugins/stargate/index.js.map +1 -1
- package/src/plugins/streamflow/constants.d.ts +1 -2
- package/src/plugins/streamflow/constants.js +2 -15
- package/src/plugins/streamflow/constants.js.map +1 -1
- package/src/plugins/streamflow/helpers.js +4 -4
- package/src/plugins/streamflow/helpers.js.map +1 -1
- package/src/plugins/streamflow/index.d.ts +0 -2
- package/src/plugins/streamflow/index.js +1 -3
- package/src/plugins/streamflow/index.js.map +1 -1
- package/src/plugins/suilend/airdropFetcher.js +6 -6
- package/src/plugins/suilend/airdropFetcher.js.map +1 -1
- package/src/plugins/suilend/constants.d.ts +1 -2
- package/src/plugins/suilend/constants.js +2 -9
- package/src/plugins/suilend/constants.js.map +1 -1
- package/src/plugins/suilend/index.d.ts +0 -2
- package/src/plugins/suilend/index.js +1 -3
- package/src/plugins/suilend/index.js.map +1 -1
- package/src/plugins/suins/airdropFetcher.js +1 -1
- package/src/plugins/suins/airdropFetcher.js.map +1 -1
- package/src/plugins/suins/constants.d.ts +0 -2
- package/src/plugins/suins/constants.js +1 -9
- package/src/plugins/suins/constants.js.map +1 -1
- package/src/plugins/suins/index.d.ts +0 -2
- package/src/plugins/suins/index.js +1 -3
- package/src/plugins/suins/index.js.map +1 -1
- package/src/plugins/superposition/constants.d.ts +0 -2
- package/src/plugins/superposition/constants.js +1 -9
- package/src/plugins/superposition/constants.js.map +1 -1
- package/src/plugins/superposition/index.d.ts +0 -2
- package/src/plugins/superposition/index.js +1 -3
- package/src/plugins/superposition/index.js.map +1 -1
- package/src/plugins/sushiswap/constants.d.ts +0 -2
- package/src/plugins/sushiswap/constants.js +1 -9
- package/src/plugins/sushiswap/constants.js.map +1 -1
- package/src/plugins/sushiswap/index.d.ts +0 -2
- package/src/plugins/sushiswap/index.js +11 -12
- package/src/plugins/sushiswap/index.js.map +1 -1
- package/src/plugins/switchboard/constants.d.ts +0 -2
- package/src/plugins/switchboard/constants.js +1 -14
- package/src/plugins/switchboard/constants.js.map +1 -1
- package/src/plugins/switchboard/index.d.ts +0 -2
- package/src/plugins/switchboard/index.js +1 -3
- package/src/plugins/switchboard/index.js.map +1 -1
- package/src/plugins/switchboard/onDemandPricingJob.js +1 -2
- package/src/plugins/switchboard/onDemandPricingJob.js.map +1 -1
- package/src/plugins/switchboard/pricingJob.js +1 -2
- package/src/plugins/switchboard/pricingJob.js.map +1 -1
- package/src/plugins/symmetry/constants.d.ts +0 -2
- package/src/plugins/symmetry/constants.js +1 -15
- package/src/plugins/symmetry/constants.js.map +1 -1
- package/src/plugins/symmetry/index.d.ts +0 -2
- package/src/plugins/symmetry/index.js +1 -3
- package/src/plugins/symmetry/index.js.map +1 -1
- package/src/plugins/tensor/constants.d.ts +0 -2
- package/src/plugins/tensor/constants.js +1 -13
- package/src/plugins/tensor/constants.js.map +1 -1
- package/src/plugins/tensor/index.d.ts +0 -2
- package/src/plugins/tensor/index.js +2 -3
- package/src/plugins/tensor/index.js.map +1 -1
- package/src/plugins/tensor/powerUserAirdropFetcher.js +1 -1
- package/src/plugins/tensor/powerUserAirdropFetcher.js.map +1 -1
- package/src/plugins/tensor/season4AirdropFetcher.js +1 -1
- package/src/plugins/tensor/season4AirdropFetcher.js.map +1 -1
- package/src/plugins/texture/constants.d.ts +0 -2
- package/src/plugins/texture/constants.js +1 -13
- package/src/plugins/texture/constants.js.map +1 -1
- package/src/plugins/texture/index.d.ts +0 -2
- package/src/plugins/texture/index.js +1 -2
- package/src/plugins/texture/index.js.map +1 -1
- package/src/plugins/thala/constants.d.ts +0 -2
- package/src/plugins/thala/constants.js +1 -8
- package/src/plugins/thala/constants.js.map +1 -1
- package/src/plugins/thala/index.d.ts +0 -2
- package/src/plugins/thala/index.js +1 -3
- package/src/plugins/thala/index.js.map +1 -1
- package/src/plugins/thevault/constants.d.ts +0 -2
- package/src/plugins/thevault/constants.js +1 -13
- package/src/plugins/thevault/constants.js.map +1 -1
- package/src/plugins/thevault/index.d.ts +0 -2
- package/src/plugins/thevault/index.js +1 -3
- package/src/plugins/thevault/index.js.map +1 -1
- package/src/plugins/tokens/constants.d.ts +0 -3
- package/src/plugins/tokens/constants.js +1 -12
- package/src/plugins/tokens/constants.js.map +1 -1
- package/src/plugins/tokens/fetchers/aptos.js +3 -4
- package/src/plugins/tokens/fetchers/aptos.js.map +1 -1
- package/src/plugins/tokens/fetchers/bitcoin.js +2 -3
- package/src/plugins/tokens/fetchers/bitcoin.js.map +1 -1
- package/src/plugins/tokens/fetchers/evms/evmExecutorGenerator.js +1 -1
- package/src/plugins/tokens/fetchers/evms/evmExecutorGenerator.js.map +1 -1
- package/src/plugins/tokens/fetchers/evms/evmNativeExecutorGenerator.js +1 -2
- package/src/plugins/tokens/fetchers/evms/evmNativeExecutorGenerator.js.map +1 -1
- package/src/plugins/tokens/fetchers/evms/index.js +3 -4
- package/src/plugins/tokens/fetchers/evms/index.js.map +1 -1
- package/src/plugins/tokens/fetchers/sei.js +2 -3
- package/src/plugins/tokens/fetchers/sei.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-native.js +2 -3
- package/src/plugins/tokens/fetchers/solana-native.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js +5 -6
- package/src/plugins/tokens/fetchers/solana-nfts-underlyings.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana-simple.js +3 -4
- package/src/plugins/tokens/fetchers/solana-simple.js.map +1 -1
- package/src/plugins/tokens/fetchers/solana.js +5 -6
- package/src/plugins/tokens/fetchers/solana.js.map +1 -1
- package/src/plugins/tokens/fetchers/sui-nfts.js +2 -3
- package/src/plugins/tokens/fetchers/sui-nfts.js.map +1 -1
- package/src/plugins/tokens/fetchers/sui.js +3 -4
- package/src/plugins/tokens/fetchers/sui.js.map +1 -1
- package/src/plugins/tokens/helpers.js +2 -1
- package/src/plugins/tokens/helpers.js.map +1 -1
- package/src/plugins/tokens/index.d.ts +0 -2
- package/src/plugins/tokens/index.js +1 -3
- package/src/plugins/tokens/index.js.map +1 -1
- package/src/plugins/tokens/jobGenerator.js +1 -2
- package/src/plugins/tokens/jobGenerator.js.map +1 -1
- package/src/plugins/top-tokens/index.d.ts +0 -2
- package/src/plugins/top-tokens/index.js +1 -2
- package/src/plugins/top-tokens/index.js.map +1 -1
- package/src/plugins/tradeport/constants.d.ts +0 -2
- package/src/plugins/tradeport/constants.js +1 -9
- package/src/plugins/tradeport/constants.js.map +1 -1
- package/src/plugins/tradeport/index.d.ts +0 -2
- package/src/plugins/tradeport/index.js +1 -3
- package/src/plugins/tradeport/index.js.map +1 -1
- package/src/plugins/triad/constants.d.ts +0 -2
- package/src/plugins/triad/constants.js +1 -14
- package/src/plugins/triad/constants.js.map +1 -1
- package/src/plugins/triad/index.d.ts +0 -2
- package/src/plugins/triad/index.js +1 -3
- package/src/plugins/triad/index.js.map +1 -1
- package/src/plugins/tulip/constants.d.ts +0 -2
- package/src/plugins/tulip/constants.js +1 -17
- package/src/plugins/tulip/constants.js.map +1 -1
- package/src/plugins/tulip/index.d.ts +0 -2
- package/src/plugins/tulip/index.js +1 -3
- package/src/plugins/tulip/index.js.map +1 -1
- package/src/plugins/turbos/constants.d.ts +0 -2
- package/src/plugins/turbos/constants.js +1 -8
- package/src/plugins/turbos/constants.js.map +1 -1
- package/src/plugins/turbos/index.d.ts +0 -2
- package/src/plugins/turbos/index.js +1 -3
- package/src/plugins/turbos/index.js.map +1 -1
- package/src/plugins/typus/constants.d.ts +0 -2
- package/src/plugins/typus/constants.js +1 -9
- package/src/plugins/typus/constants.js.map +1 -1
- package/src/plugins/typus/index.d.ts +0 -2
- package/src/plugins/typus/index.js +1 -3
- package/src/plugins/typus/index.js.map +1 -1
- package/src/plugins/uniswap/constants.d.ts +0 -2
- package/src/plugins/uniswap/constants.js +1 -8
- package/src/plugins/uniswap/constants.js.map +1 -1
- package/src/plugins/uniswap/index.d.ts +0 -2
- package/src/plugins/uniswap/index.js +1 -2
- package/src/plugins/uniswap/index.js.map +1 -1
- package/src/plugins/uniswap-v2/index.d.ts +0 -2
- package/src/plugins/uniswap-v2/index.js +1 -2
- package/src/plugins/uniswap-v2/index.js.map +1 -1
- package/src/plugins/uxd/constants.d.ts +0 -2
- package/src/plugins/uxd/constants.js +1 -16
- package/src/plugins/uxd/constants.js.map +1 -1
- package/src/plugins/uxd/index.d.ts +0 -2
- package/src/plugins/uxd/index.js +1 -3
- package/src/plugins/uxd/index.js.map +1 -1
- package/src/plugins/vaultka/constants.d.ts +0 -2
- package/src/plugins/vaultka/constants.js +1 -14
- package/src/plugins/vaultka/constants.js.map +1 -1
- package/src/plugins/vaultka/index.d.ts +0 -2
- package/src/plugins/vaultka/index.js +1 -3
- package/src/plugins/vaultka/index.js.map +1 -1
- package/src/plugins/venus/constants.d.ts +0 -2
- package/src/plugins/venus/constants.js +1 -8
- package/src/plugins/venus/constants.js.map +1 -1
- package/src/plugins/venus/index.d.ts +0 -2
- package/src/plugins/venus/index.js +1 -2
- package/src/plugins/venus/index.js.map +1 -1
- package/src/plugins/whalesmarket/constants.d.ts +0 -2
- package/src/plugins/whalesmarket/constants.js +1 -14
- package/src/plugins/whalesmarket/constants.js.map +1 -1
- package/src/plugins/whalesmarket/index.d.ts +0 -2
- package/src/plugins/whalesmarket/index.js +1 -3
- package/src/plugins/whalesmarket/index.js.map +1 -1
- package/src/plugins/whalesmarket/tokensJob.js +1 -2
- package/src/plugins/whalesmarket/tokensJob.js.map +1 -1
- package/src/plugins/wormhole/constants.d.ts +0 -2
- package/src/plugins/wormhole/constants.js +1 -14
- package/src/plugins/wormhole/constants.js.map +1 -1
- package/src/plugins/wormhole/index.d.ts +0 -2
- package/src/plugins/wormhole/index.js +1 -3
- package/src/plugins/wormhole/index.js.map +1 -1
- package/src/plugins/x-staking-solana/constants.js +4 -3
- package/src/plugins/x-staking-solana/constants.js.map +1 -1
- package/src/plugins/x-staking-solana/index.d.ts +0 -2
- package/src/plugins/x-staking-solana/index.js +1 -2
- package/src/plugins/x-staking-solana/index.js.map +1 -1
- package/src/plugins/x-staking-solana/stakingJob.js +1 -2
- package/src/plugins/x-staking-solana/stakingJob.js.map +1 -1
- package/src/plugins/yearn/constants.d.ts +0 -2
- package/src/plugins/yearn/constants.js +1 -9
- package/src/plugins/yearn/constants.js.map +1 -1
- package/src/plugins/yearn/index.d.ts +0 -2
- package/src/plugins/yearn/index.js +6 -7
- package/src/plugins/yearn/index.js.map +1 -1
- package/src/plugins/zelo/constants.d.ts +0 -2
- package/src/plugins/zelo/constants.js +1 -12
- package/src/plugins/zelo/constants.js.map +1 -1
- package/src/plugins/zelo/index.d.ts +0 -2
- package/src/plugins/zelo/index.js +1 -3
- package/src/plugins/zelo/index.js.map +1 -1
- package/src/plugins/zeta/airdropFetcher.js +1 -1
- package/src/plugins/zeta/airdropFetcher.js.map +1 -1
- package/src/plugins/zeta/constants.d.ts +0 -2
- package/src/plugins/zeta/constants.js +1 -15
- package/src/plugins/zeta/constants.js.map +1 -1
- package/src/plugins/zeta/index.d.ts +0 -2
- package/src/plugins/zeta/index.js +1 -3
- package/src/plugins/zeta/index.js.map +1 -1
- package/src/plugins/zeus/constants.d.ts +0 -2
- package/src/plugins/zeus/constants.js +1 -14
- package/src/plugins/zeus/constants.js.map +1 -1
- package/src/plugins/zeus/index.d.ts +0 -2
- package/src/plugins/zeus/index.js +1 -3
- package/src/plugins/zeus/index.js.map +1 -1
- package/src/utils/clmm/tokenPricesFromSqrt.js +2 -3
- package/src/utils/clmm/tokenPricesFromSqrt.js.map +1 -1
- package/src/utils/misc/checkComputeAndStoreTokensPrices.js +5 -6
- package/src/utils/misc/checkComputeAndStoreTokensPrices.js.map +1 -1
- package/src/utils/misc/getLpUnderlyingTokenSource.js +7 -8
- package/src/utils/misc/getLpUnderlyingTokenSource.js.map +1 -1
- package/src/utils/misc/getLpUnderlyingTokenSourceOld.js +1 -2
- package/src/utils/misc/getLpUnderlyingTokenSourceOld.js.map +1 -1
- package/src/utils/solana/pyth/helpers.js +2 -2
- package/src/utils/solana/pyth/helpers.js.map +1 -1
- package/src/orphanPlatforms.d.ts +0 -6
- package/src/orphanPlatforms.js +0 -111
- package/src/orphanPlatforms.js.map +0 -1
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
16
|
const web3_js_1 = require("@solana/web3.js");
|
17
|
-
const constants_1 = require("../constants");
|
18
17
|
const clients_1 = require("../../../utils/clients");
|
19
18
|
const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
|
20
19
|
const solFactor = Math.pow(10, portfolio_core_1.solanaNetwork.native.decimals);
|
@@ -30,7 +29,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
30
29
|
const element = {
|
31
30
|
type: portfolio_core_1.PortfolioElementType.multiple,
|
32
31
|
networkId: portfolio_core_1.NetworkId.solana,
|
33
|
-
platformId:
|
32
|
+
platformId: portfolio_core_1.walletTokensPlatformId,
|
34
33
|
label: 'Wallet',
|
35
34
|
value: asset.value,
|
36
35
|
data: {
|
@@ -40,7 +39,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
40
39
|
return [element];
|
41
40
|
});
|
42
41
|
const fetcher = {
|
43
|
-
id: `${
|
42
|
+
id: `${portfolio_core_1.walletTokensPlatformId}-solana-native`,
|
44
43
|
networkId: portfolio_core_1.NetworkId.solana,
|
45
44
|
executor,
|
46
45
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solana-native.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-native.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"solana-native.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-native.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,6CAA4C;AAG5C,oDAAyD;AACzD,wGAAgF;AAEhF,MAAM,SAAS,GAAG,SAAA,EAAE,EAAI,8BAAa,CAAC,MAAM,CAAC,QAAQ,CAAA,CAAC;AAEtD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,WAAW,GAAG,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC;IAEzC,MAAM,cAAc,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAC5D,IAAI,cAAc,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAEpC,MAAM,MAAM,GAAG,cAAc,GAAG,SAAS,CAAC;IAC1C,MAAM,aAAa,GAAG,MAAM,KAAK,CAAC,aAAa,CAC7C,8BAAa,CAAC,MAAM,CAAC,OAAO,EAC5B,0BAAS,CAAC,MAAM,CACjB,CAAC;IAEF,MAAM,KAAK,GAAG,IAAA,gCAAsB,EAClC,8BAAa,CAAC,MAAM,CAAC,OAAO,EAC5B,MAAM,EACN,0BAAS,CAAC,MAAM,EAChB,aAAa,CACd,CAAC;IACF,MAAM,OAAO,GAA6B;QACxC,IAAI,EAAE,qCAAoB,CAAC,QAAQ;QACnC,SAAS,EAAE,0BAAS,CAAC,MAAM;QAC3B,UAAU,EAAE,uCAAsB;QAClC,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,IAAI,EAAE;YACJ,MAAM,EAAE,CAAC,KAAK,CAAC;SAChB;KACF,CAAC;IACF,OAAO,CAAC,OAAO,CAAC,CAAC;AACnB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,uCAAsB,gBAAgB;IAC7C,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -13,7 +13,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
|
-
const constants_1 = require("../constants");
|
17
16
|
const getRaydiumCLMMPositions_1 = require("../../raydium/getRaydiumCLMMPositions");
|
18
17
|
const getWhirlpoolPositions_1 = require("../../orca/getWhirlpoolPositions");
|
19
18
|
const helpers_1 = require("../../raydium/helpers");
|
@@ -23,8 +22,8 @@ const helpers_4 = require("../../daos/helpers");
|
|
23
22
|
const getSolanaDasEndpoint_1 = __importDefault(require("../../../utils/clients/getSolanaDasEndpoint"));
|
24
23
|
const getAssetsByOwnerDas_1 = require("../../../utils/solana/das/getAssetsByOwnerDas");
|
25
24
|
const heliusAssetToAssetCollectible_1 = require("../../../utils/solana/das/heliusAssetToAssetCollectible");
|
26
|
-
const
|
27
|
-
const
|
25
|
+
const constants_1 = require("../../orca/constants");
|
26
|
+
const constants_2 = require("../../cropper/constants");
|
28
27
|
const helpers_5 = require("../../picasso/helpers");
|
29
28
|
const nftsUnderlyingsMap = new Map([
|
30
29
|
[
|
@@ -35,14 +34,14 @@ const nftsUnderlyingsMap = new Map([
|
|
35
34
|
'orca',
|
36
35
|
{
|
37
36
|
checker: helpers_2.isAnOrcaPosition,
|
38
|
-
fetcher: (0, getWhirlpoolPositions_1.getOrcaNftFetcher)(
|
37
|
+
fetcher: (0, getWhirlpoolPositions_1.getOrcaNftFetcher)(constants_1.platformId, constants_1.whirlpoolProgram),
|
39
38
|
},
|
40
39
|
],
|
41
40
|
[
|
42
41
|
'cropper',
|
43
42
|
{
|
44
43
|
checker: helpers_3.isClmmPosition,
|
45
|
-
fetcher: (0, getWhirlpoolPositions_1.getOrcaNftFetcher)(
|
44
|
+
fetcher: (0, getWhirlpoolPositions_1.getOrcaNftFetcher)(constants_2.platformId, constants_2.clmmPid),
|
46
45
|
},
|
47
46
|
],
|
48
47
|
[
|
@@ -101,7 +100,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
101
100
|
.flat();
|
102
101
|
});
|
103
102
|
const fetcher = {
|
104
|
-
id: `${
|
103
|
+
id: `${portfolio_core_1.walletTokensPlatformId}-solana-nfts-underlyings`,
|
105
104
|
networkId: portfolio_core_1.NetworkId.solana,
|
106
105
|
executor,
|
107
106
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solana-nfts-underlyings.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-nfts-underlyings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"solana-nfts-underlyings.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-nfts-underlyings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AAIpC,mFAAgF;AAChF,4EAAqE;AACrE,mDAA2D;AAC3D,gDAAsD;AACtD,mDAA4E;AAE5E,gDAG4B;AAC5B,uGAA+E;AAC/E,uFAAoF;AAEpF,2GAAwG;AAExG,oDAG8B;AAC9B,uDAGiC;AACjC,mDAG+B;AAI/B,MAAM,kBAAkB,GAGpB,IAAI,GAAG,CAAC;IACV;QACE,SAAS;QACT,EAAE,OAAO,EAAE,4BAAkB,EAAE,OAAO,EAAE,iDAAuB,EAAE;KAClE;IACD;QACE,MAAM;QACN;YACE,OAAO,EAAE,0BAAgB;YACzB,OAAO,EAAE,IAAA,yCAAiB,EAAC,sBAAc,EAAE,4BAAgB,CAAC;SAC7D;KACF;IACD;QACE,SAAS;QACT;YACE,OAAO,EAAE,wBAAiB;YAC1B,OAAO,EAAE,IAAA,yCAAiB,EAAC,sBAAiB,EAAE,mBAAO,CAAC;SACvD;KACF;IACD;QACE,QAAQ;QACR;YACE,OAAO,EAAE,2BAAiB;YAC1B,OAAO,EAAE,mCAAyB;SACnC;KACF;IACD;QACE,SAAS;QACT;YACE,OAAO,EAAE,2BAAiB;YAC1B,OAAO,EAAE,oCAA0B;SACpC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;;IACtE,MAAM,WAAW,GAAG,IAAA,8BAAoB,GAAE,CAAC;IAC3C,MAAM,cAAc,GAAmB;QACrC,sBAAsB,EAAE,IAAI;QAC5B,yBAAyB,EAAE,IAAI;QAC/B,eAAe,EAAE,KAAK;QACtB,iBAAiB,EAAE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AC,CAAC,CAAC;IAC/C,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAEjD,OAAO,MAAM;SACV,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;SAC1D,IAAI,EAAE,CAAC;AACZ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,uCAAsB,0BAA0B;IACvD,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
16
|
const web3_js_1 = require("@solana/web3.js");
|
17
|
-
const constants_1 = require("../constants");
|
18
17
|
const clients_1 = require("../../../utils/clients");
|
19
18
|
const solana_1 = require("../../../utils/solana");
|
20
19
|
const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
|
@@ -39,7 +38,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
39
38
|
if (decimals === 0)
|
40
39
|
return;
|
41
40
|
const tokenPrice = tokenPrices.get(mint);
|
42
|
-
if (tokenPrice && tokenPrice.platformId !==
|
41
|
+
if (tokenPrice && tokenPrice.platformId !== portfolio_core_1.walletTokensPlatformId)
|
43
42
|
return;
|
44
43
|
tokenAssets.push(Object.assign(Object.assign({}, (0, tokenPriceToAssetToken_1.default)(mint, amount, portfolio_core_1.NetworkId.solana, tokenPrice)), { ref: acc.pubkey.toString(), link: tokenPrice === null || tokenPrice === void 0 ? void 0 : tokenPrice.link, sourceRefs: tokenPrice === null || tokenPrice === void 0 ? void 0 : tokenPrice.sourceRefs }));
|
45
44
|
});
|
@@ -48,7 +47,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
48
47
|
const element = {
|
49
48
|
type: portfolio_core_1.PortfolioElementType.multiple,
|
50
49
|
networkId: portfolio_core_1.NetworkId.solana,
|
51
|
-
platformId:
|
50
|
+
platformId: portfolio_core_1.walletTokensPlatformId,
|
52
51
|
label: 'Wallet',
|
53
52
|
value: (0, portfolio_core_1.getUsdValueSum)(tokenAssets.map((a) => a.value)),
|
54
53
|
data: {
|
@@ -58,7 +57,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
58
57
|
return [element];
|
59
58
|
});
|
60
59
|
const fetcher = {
|
61
|
-
id: `${
|
60
|
+
id: `${portfolio_core_1.walletTokensPlatformId}-solana-simple`,
|
62
61
|
networkId: portfolio_core_1.NetworkId.solana,
|
63
62
|
executor,
|
64
63
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solana-simple.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-simple.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"solana-simple.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana-simple.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AAEpC,6CAA4C;AAG5C,oDAAyD;AACzD,kDAA+E;AAC/E,wGAAgF;AAEhF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,MAAM,IAAA,yBAAe,GAAE,CAAC;IAEvC,MAAM,QAAQ,GAAG;QACf,MAAM,CAAC,6BAA6B,CAAC,IAAI,mBAAS,CAAC,KAAK,CAAC,EAAE;YACzD,SAAS,EAAE,yBAAgB;SAC5B,CAAC;QACF,MAAM,CAAC,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E3E,WAAW,CAAC,IAAI,iCACX,IAAA,gCAAsB,EAAC,IAAI,EAAE,MAAM,EAAE,0BAAS,CAAC,MAAM,EAAE,UAAU,CAAC,KACrE,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,EAC1B,IAAI,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,IAAI,EACtB,UAAU,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,UAAU,IAClC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAExC,MAAM,OAAO,GAA6B;QACxC,IAAI,EAAE,qCAAoB,CAAC,QAAQ;QACnC,SAAS,EAAE,0BAAS,CAAC,MAAM;QAC3B,UAAU,EAAE,uCAAsB;QAClC,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE,IAAA,+BAAc,EAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACtD,IAAI,EAAE;YACJ,MAAM,EAAE,WAAW;SACpB;KACF,CAAC;IACF,OAAO,CAAC,OAAO,CAAC,CAAC;AACnB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,uCAAsB,gBAAgB;IAC7C,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -14,7 +14,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
16
|
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
17
|
-
const constants_1 = require("../constants");
|
18
17
|
const helpers_1 = require("../helpers");
|
19
18
|
const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
|
20
19
|
const tokenPriceToLiquidity_1 = __importDefault(require("../../../utils/misc/tokenPriceToLiquidity"));
|
@@ -50,7 +49,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
50
49
|
.toNumber()
|
51
50
|
: 1;
|
52
51
|
// If it's an LP Token
|
53
|
-
if (tokenPrice && tokenPrice.platformId !==
|
52
|
+
if (tokenPrice && tokenPrice.platformId !== portfolio_core_1.walletTokensPlatformId) {
|
54
53
|
const liquidity = (0, tokenPriceToLiquidity_1.default)(asset.id, amount, portfolio_core_1.NetworkId.solana, tokenPrice);
|
55
54
|
const tag = (0, helpers_1.getLpTag)(tokenPrice.platformId, tokenPrice.elementName);
|
56
55
|
if (!liquiditiesByTag[tag]) {
|
@@ -59,7 +58,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
59
58
|
liquiditiesByTag[tag].push(liquidity);
|
60
59
|
}
|
61
60
|
// If it's a regular token
|
62
|
-
else if (tokenPrice && tokenPrice.platformId ===
|
61
|
+
else if (tokenPrice && tokenPrice.platformId === portfolio_core_1.walletTokensPlatformId) {
|
63
62
|
tokenAssets.push(Object.assign(Object.assign({}, (0, tokenPriceToAssetToken_1.default)(address, amount, portfolio_core_1.NetworkId.solana, tokenPrice)), { ref: (_a = asset.token_info) === null || _a === void 0 ? void 0 : _a.associated_token_address, link: tokenPrice.link, sourceRefs: tokenPrice.sourceRefs }));
|
64
63
|
}
|
65
64
|
// If it's a NFT
|
@@ -74,7 +73,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
74
73
|
elements.push({
|
75
74
|
type: portfolio_core_1.PortfolioElementType.multiple,
|
76
75
|
networkId: portfolio_core_1.NetworkId.solana,
|
77
|
-
platformId:
|
76
|
+
platformId: portfolio_core_1.walletNftsPlatformId,
|
78
77
|
label: 'Wallet',
|
79
78
|
value: null,
|
80
79
|
data: {
|
@@ -87,7 +86,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
87
86
|
elements.push({
|
88
87
|
type: portfolio_core_1.PortfolioElementType.multiple,
|
89
88
|
networkId: portfolio_core_1.NetworkId.solana,
|
90
|
-
platformId:
|
89
|
+
platformId: portfolio_core_1.walletTokensPlatformId,
|
91
90
|
label: 'Wallet',
|
92
91
|
value: (0, portfolio_core_1.getUsdValueSum)(tokenAssets.map((a) => a.value)),
|
93
92
|
data: {
|
@@ -112,7 +111,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
112
111
|
return elements;
|
113
112
|
});
|
114
113
|
const fetcher = {
|
115
|
-
id: `${
|
114
|
+
id: `${portfolio_core_1.walletTokensPlatformId}-solana`,
|
116
115
|
networkId: portfolio_core_1.NetworkId.solana,
|
117
116
|
executor,
|
118
117
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solana.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"solana.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/solana.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAUoC;AACpC,gEAAqC;AAGrC,wCAAkD;AAClD,wGAAgF;AAChF,sGAA8E;AAC9E,2GAAwG;AACxG,uFAAoF;AACpF,2FAAwF;AACxF,uGAA+E;AAE/E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;;IACtE,MAAM,WAAW,GAAG,IAAA,8BAAoB,GAAE,CAAC;IAC3C,MAAM,KAAK,GAAG,MAAM,IAAA,yCAAmB,EAAC,WAAW,EAAE,KAAK,EAAE;QAC1D,iBAAiB,EAAE,KAAK;QACxB,cAAc,EAAE,KAAK;QACrB,eAAe,EAAE,KAAK;KACvB,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,KAAK,CAAC,MAA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this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
13
13
|
const clients_1 = require("../../../utils/clients");
|
14
|
-
const constants_1 = require("../constants");
|
15
14
|
const getKioskObjects_1 = require("../../../utils/sui/getKioskObjects");
|
16
15
|
const getOwnedObjectsPreloaded_1 = require("../../../utils/sui/getOwnedObjectsPreloaded");
|
17
16
|
const suiFrendTraitMap = new Map([
|
@@ -137,7 +136,7 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
137
136
|
const element = {
|
138
137
|
type: portfolio_core_1.PortfolioElementType.multiple,
|
139
138
|
networkId: portfolio_core_1.NetworkId.sui,
|
140
|
-
platformId:
|
139
|
+
platformId: portfolio_core_1.walletNftsPlatformId,
|
141
140
|
label: 'Wallet',
|
142
141
|
value: null,
|
143
142
|
data: {
|
@@ -147,7 +146,7 @@ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
|
147
146
|
return [element];
|
148
147
|
});
|
149
148
|
const fetcher = {
|
150
|
-
id: `${
|
149
|
+
id: `${portfolio_core_1.walletNftsPlatformId}-${portfolio_core_1.NetworkId.sui}`,
|
151
150
|
networkId: portfolio_core_1.NetworkId.sui,
|
152
151
|
executor,
|
153
152
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sui-nfts.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui-nfts.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"sui-nfts.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui-nfts.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAQoC;AAEpC,oDAAsD;AAMtD,wEAAmF;AACnF,0FAAuF;AAEvF,MAAM,gBAAgB,GAAwB,IAAI,GAAG,CAAC;IACpD,CAAC,CAAC,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AAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -15,7 +15,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
16
|
const clients_1 = require("../../../utils/clients");
|
17
17
|
const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
|
18
|
-
const constants_1 = require("../constants");
|
19
18
|
const tokenPriceToAssetTokens_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetTokens"));
|
20
19
|
const helpers_1 = require("../helpers");
|
21
20
|
const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
|
@@ -34,7 +33,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
34
33
|
if (!tokenPrice)
|
35
34
|
continue;
|
36
35
|
const amount = amountRaw / Math.pow(10, tokenPrice.decimals);
|
37
|
-
if (tokenPrice.platformId !==
|
36
|
+
if (tokenPrice.platformId !== portfolio_core_1.walletTokensPlatformId) {
|
38
37
|
const assets = (0, tokenPriceToAssetTokens_1.default)(coinType, amount, portfolio_core_1.NetworkId.sui, tokenPrice);
|
39
38
|
const liquidity = {
|
40
39
|
assets,
|
@@ -60,7 +59,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
60
59
|
const walletTokensElement = {
|
61
60
|
type: portfolio_core_1.PortfolioElementType.multiple,
|
62
61
|
networkId: portfolio_core_1.NetworkId.sui,
|
63
|
-
platformId:
|
62
|
+
platformId: portfolio_core_1.walletTokensPlatformId,
|
64
63
|
label: 'Wallet',
|
65
64
|
value: (0, portfolio_core_1.getUsdValueSum)(walletTokensAssets.map((a) => a.value)),
|
66
65
|
data: {
|
@@ -86,7 +85,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
86
85
|
return elements;
|
87
86
|
});
|
88
87
|
const fetcher = {
|
89
|
-
id: `${
|
88
|
+
id: `${portfolio_core_1.walletTokensPlatformId}-sui`,
|
90
89
|
networkId: portfolio_core_1.NetworkId.sui,
|
91
90
|
executor,
|
92
91
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sui.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"sui.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAUoC;AAIpC,oDAAsD;AACtD,wGAAgF;AAChF,0GAAkF;AAClF,wCAAkD;AAElD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAE9B,MAAM,aAAa,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAE7D,MAAM,cAAc,GAAG,MAAM,KAAK,CAAC,mBAAmB,CACpD,CAAC,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,EACpD,0BAAS,CAAC,GAAG,CACd,CAAC;IAEF,MAAM,kBAAkB,GAA0B,EAAE,CAAC;IACrD,MAAM,gBAAgB,GAAyC,EAAE,CAAC;IAClE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC9C,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;QACrC,MAAM,SAAS,GAAG,MAAM,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QACnD,IAAI,SAAS,KAAK,CAAC;YAAE,SAAS;QAE9B,MAAM,EAA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O,GAAY;IACvB,EAAE,EAAE,GAAG,uCAAsB,MAAM;IACnC,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -14,6 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
exports.parseLpTag = exports.getLpTag = exports.lpTagSeparator = exports.getTokensData = exports.getCoingeckoSources = exports.isLatestVersion = exports.compareVersion = void 0;
|
16
16
|
const axios_1 = __importDefault(require("axios"));
|
17
|
+
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
17
18
|
const constants_1 = require("./constants");
|
18
19
|
const shuffleArray_1 = __importDefault(require("../../utils/misc/shuffleArray"));
|
19
20
|
const sleep_1 = __importDefault(require("../../utils/misc/sleep"));
|
@@ -115,7 +116,7 @@ function getTokensData(tokenList) {
|
|
115
116
|
address: ti.address,
|
116
117
|
coingeckoId,
|
117
118
|
decimals: ti.decimals,
|
118
|
-
platformId:
|
119
|
+
platformId: portfolio_core_1.walletTokensPlatformId,
|
119
120
|
};
|
120
121
|
cTokensData.push(tokenData);
|
121
122
|
return cTokensData;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/helpers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA6C;
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/helpers.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA6C;AAC7C,+DAOoC;AACpC,2CAA0C;AAE1C,iFAAyD;AACzD,mEAA2C;AAC3C,+DAAyE;AAEzE,SAAgB,cAAc,CAC5B,QAA6B,EAC7B,QAA6B;IAE7B,IAAI,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC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G,KAAK,CAAC;AAEpC,SAAgB,QAAQ,CACtB,UAAkB,EAClB,WAAoB,EACpB,KAA6B;IAE7B,OAAO,GAAG,UAAU,GAClB,KAAK,CAAC,CAAC,CAAC,GAAG,sBAAc,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,sBAAc,EACzD,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,sBAAc,GAAG,WAAW,EAAE,CAAC,CAAC,CAAC,GAAG,sBAAc,EAAE,EAAE,CAAC;AAC7E,CAAC;AARD,4BAQC;AAED,SAAgB,UAAU,CAAC,GAAW;IAKpC,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,sBAAc,EAAE,CAAC,CAAC,CAAC;IAC3C,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,qBAAqB,GAAG,EAAE,CAAC,CAAC;IAClE,OAAO;QACL,UAAU,EAAE,KAAK,CAAC,CAAC,CAAC;QACpB,KAAK,EACH,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAA2B;QACzE,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;KAC1D,CAAC;AACJ,CAAC;AAbD,gCAaC"}
|
@@ -1,8 +1,6 @@
|
|
1
|
-
import { Platform } from '@sonarwatch/portfolio-core';
|
2
1
|
import { Job } from '../../Job';
|
3
2
|
import { Fetcher } from '../../Fetcher';
|
4
3
|
import solanaSimpleFetcher from './fetchers/solana-simple';
|
5
|
-
export declare const platforms: Platform[];
|
6
4
|
export declare const jobs: Job[];
|
7
5
|
export declare const fetchers: Fetcher[];
|
8
6
|
export { solanaSimpleFetcher };
|
@@ -3,9 +3,8 @@ 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.solanaSimpleFetcher = exports.fetchers = exports.jobs =
|
6
|
+
exports.solanaSimpleFetcher = exports.fetchers = exports.jobs = void 0;
|
7
7
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
8
|
-
const constants_1 = require("./constants");
|
9
8
|
const jobGenerator_1 = __importDefault(require("./jobGenerator"));
|
10
9
|
const aptos_1 = __importDefault(require("./fetchers/aptos"));
|
11
10
|
const sui_1 = __importDefault(require("./fetchers/sui"));
|
@@ -19,7 +18,6 @@ const evms_1 = require("./fetchers/evms");
|
|
19
18
|
const getTokenListsJob_1 = __importDefault(require("./getTokenListsJob"));
|
20
19
|
const solana_simple_1 = __importDefault(require("./fetchers/solana-simple"));
|
21
20
|
exports.solanaSimpleFetcher = solana_simple_1.default;
|
22
|
-
exports.platforms = [constants_1.walletTokensPlatform, constants_1.walletNftsPlatform];
|
23
21
|
exports.jobs = [
|
24
22
|
(0, jobGenerator_1.default)(portfolio_core_1.NetworkId.bitcoin),
|
25
23
|
(0, jobGenerator_1.default)(portfolio_core_1.NetworkId.aptos),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/index.ts"],"names":[],"mappings":";;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAwE;AAKxE,kEAA0C;AAC1C,6DAA4C;AAC5C,yDAAwC;AACxC,mEAAiD;AACjD,yDAAwC;AACxC,iEAAgD;AAChD,+DAA8C;AAC9C,6EAA2D;AAC3D,iGAA8E;AAC9E,0CAA0D;AAC1D,0EAAkD;AAElD,6EAA2D;AA2BlD,8BA3BF,uBAAmB,CA2BE;AAzBf,QAAA,IAAI,GAAU;IACzB,IAAA,sBAAY,EAAC,0BAAS,CAAC,OAAO,CAAC;IAC/B,IAAA,sBAAY,EAAC,0BAAS,CAAC,KAAK,CAAC;IAC7B,IAAA,sBAAY,EAAC,0BAAS,CAAC,MAAM,CAAC;IAC9B,IAAA,sBAAY,EAAC,0BAAS,CAAC,QAAQ,CAAC;IAChC,IAAA,sBAAY,EAAC,0BAAS,CAAC,SAAS,CAAC;IACjC,IAAA,sBAAY,EAAC,0BAAS,CAAC,OAAO,CAAC;IAC/B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,IAAA,sBAAY,EAAC,0BAAS,CAAC,GAAG,CAAC;IAC3B,GAAG,gCAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAA,0BAAgB,EAAC,OAAO,CAAC,EAAE,CAAC,CAAC;CAClE,CAAC;AAEW,QAAA,QAAQ,GAAc;IACjC,eAAY;IACZ,gBAAa;IACb,uBAAmB;IACnB,iCAA4B;IAC5B,aAAU;IACV,kBAAc;IACd,aAAU;IACV,iBAAc;IACd,GAAG,eAAW;CACf,CAAC"}
|
@@ -16,7 +16,6 @@ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
|
16
16
|
const axios_1 = __importDefault(require("axios"));
|
17
17
|
const helpers_1 = require("./helpers");
|
18
18
|
const sleep_1 = __importDefault(require("../../utils/misc/sleep"));
|
19
|
-
const constants_1 = require("./constants");
|
20
19
|
const shuffleArray_1 = __importDefault(require("../../utils/misc/shuffleArray"));
|
21
20
|
function jobGenerator(networkId) {
|
22
21
|
const network = portfolio_core_1.networks[networkId];
|
@@ -40,7 +39,7 @@ function jobGenerator(networkId) {
|
|
40
39
|
});
|
41
40
|
return {
|
42
41
|
executor,
|
43
|
-
id: `${
|
42
|
+
id: `${portfolio_core_1.walletTokensPlatformId}-${networkId}`,
|
44
43
|
labels: ['coingecko'],
|
45
44
|
};
|
46
45
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"jobGenerator.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/jobGenerator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"jobGenerator.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tokens/jobGenerator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,kDAA6C;AAC7C,uCAA+D;AAG/D,mEAA2C;AAC3C,iFAAyD;AAEzD,SAAwB,YAAY,CAAC,SAAwB;IAC3D,MAAM,OAAO,GAAG,yBAAQ,CAAC,SAAS,CAAC,CAAC;IACpC,MAAM,QAAQ,GAAG,CAAO,KAAY,EAAE,EAAE;QACtC,MAAM,IAAA,eAAK,EAAC,KAAK,CAAC,CAAC;QACnB,MAAM,iBAAiB,GAAuC,MAAM,eAAK;aACtE,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC;aACzB,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,iBAAiB;YAAE,OAAO;QAC/B,MAAM,UAAU,GAAG,IAAA,uBAAa,EAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;QACzD,iBAAiB,CAAC,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,gBAAgB;QACpD,IAAA,sBAAY,EAAC,UAAU,CAAC,CAAC;QAEzB,MAAM,kBAAkB,GAAoB,EAAE,CAAC;QAC/C,OAAO,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/B,MAAM,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;YACjD,MAAM,OAAO,GAAG,MAAM,IAAA,6BAAmB,EAAC,SAAS,EAAE,cAAc,CAAC,CAAC;YACrE,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;QAC/D,CAAC;QACD,MAAM,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IACxC,CAAC,CAAA,CAAC;IACF,OAAO;QACL,QAAQ;QACR,EAAE,EAAE,GAAG,uCAAsB,IAAI,SAAS,EAAE;QAC5C,MAAM,EAAE,CAAC,WAAW,CAAC;KACtB,CAAC;AACJ,CAAC;AAzBD,+BAyBC"}
|
@@ -3,9 +3,8 @@ 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.fetchers = exports.
|
6
|
+
exports.fetchers = exports.jobs = void 0;
|
7
7
|
const topTokensJob_1 = __importDefault(require("./topTokensJob"));
|
8
8
|
exports.jobs = [topTokensJob_1.default];
|
9
|
-
exports.platforms = [];
|
10
9
|
exports.fetchers = [];
|
11
10
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/top-tokens/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/top-tokens/index.ts"],"names":[],"mappings":";;;;;;AAEA,kEAA0C;AAE7B,QAAA,IAAI,GAAU,CAAC,sBAAY,CAAC,CAAC;AAC7B,QAAA,QAAQ,GAAc,EAAE,CAAC"}
|
@@ -1,6 +1,4 @@
|
|
1
|
-
import { Platform } from '@sonarwatch/portfolio-core';
|
2
1
|
export declare const platformId = "tradeport";
|
3
|
-
export declare const platform: Platform;
|
4
2
|
export declare const locksCacheKey = "locks";
|
5
3
|
export declare const bidsCacheKey = "bids";
|
6
4
|
export declare const lockStore = "0x4b705de46a79b29276baf45009bc7d6f70cc0f1407f0c9e03cac5729c0c47946";
|
@@ -1,15 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.escrowType = exports.bidsType = exports.bidsStore = exports.lockStore = exports.bidsCacheKey = exports.locksCacheKey = exports.
|
3
|
+
exports.escrowType = exports.bidsType = exports.bidsStore = exports.lockStore = exports.bidsCacheKey = exports.locksCacheKey = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'tradeport';
|
5
|
-
exports.platform = {
|
6
|
-
id: exports.platformId,
|
7
|
-
name: 'Tradeport',
|
8
|
-
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/tradeport.webp',
|
9
|
-
website: 'https://www.tradeport.xyz/',
|
10
|
-
twitter: 'https://x.com/tradeportxyz',
|
11
|
-
// defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
12
|
-
};
|
13
5
|
exports.locksCacheKey = `locks`;
|
14
6
|
exports.bidsCacheKey = `bids`;
|
15
7
|
exports.lockStore = '0x4b705de46a79b29276baf45009bc7d6f70cc0f1407f0c9e03cac5729c0c47946';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tradeport/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tradeport/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,WAAW,CAAC;AAEzB,QAAA,aAAa,GAAG,OAAO,CAAC;AACxB,QAAA,YAAY,GAAG,MAAM,CAAC;AAEtB,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,SAAS,GACpB,oEAAoE,CAAC;AAC1D,QAAA,QAAQ,GACnB,yFAAyF,CAAC;AAC/E,QAAA,UAAU,GACrB,4FAA4F,CAAC"}
|
@@ -3,14 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.fetchers = exports.jobs =
|
7
|
-
const constants_1 = require("./constants");
|
6
|
+
exports.fetchers = exports.jobs = void 0;
|
8
7
|
const positionsFetcher_1 = __importDefault(require("./positionsFetcher"));
|
9
8
|
const locksJob_1 = __importDefault(require("./locksJob"));
|
10
9
|
const bidsJob_1 = __importDefault(require("./bidsJob"));
|
11
10
|
const bidsFetcher_1 = __importDefault(require("./bidsFetcher"));
|
12
11
|
const kioskProfitsFetcher_1 = __importDefault(require("./kioskProfitsFetcher"));
|
13
|
-
exports.platforms = [constants_1.platform];
|
14
12
|
exports.jobs = [locksJob_1.default, bidsJob_1.default];
|
15
13
|
exports.fetchers = [
|
16
14
|
positionsFetcher_1.default,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tradeport/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tradeport/index.ts"],"names":[],"mappings":";;;;;;AAEA,0EAAkD;AAClD,0DAAkC;AAClC,wDAAgC;AAChC,gEAAwC;AACxC,gFAAwD;AAE3C,QAAA,IAAI,GAAU,CAAC,kBAAQ,EAAE,iBAAO,CAAC,CAAC;AAClC,QAAA,QAAQ,GAAc;IACjC,0BAAgB;IAChB,qBAAW;IACX,6BAAmB;CACpB,CAAC"}
|
@@ -1,8 +1,6 @@
|
|
1
1
|
/// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
|
2
2
|
/// <reference types="jito-ts/node_modules/@solana/web3.js" />
|
3
|
-
import { Platform } from '@sonarwatch/portfolio-core';
|
4
3
|
import { PublicKey } from '@solana/web3.js';
|
5
4
|
export declare const platformId = "triad";
|
6
|
-
export declare const platform: Platform;
|
7
5
|
export declare const programId: PublicKey;
|
8
6
|
export declare const marketsCacheKey = "markets";
|
@@ -1,21 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.marketsCacheKey = exports.programId = exports.
|
3
|
+
exports.marketsCacheKey = exports.programId = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'triad';
|
6
|
-
exports.platform = {
|
7
|
-
id: exports.platformId,
|
8
|
-
name: 'Triad',
|
9
|
-
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/triad.webp',
|
10
|
-
website: 'https://app.triadfi.co/',
|
11
|
-
twitter: 'https://x.com/triadfi',
|
12
|
-
documentation: 'https://docs.triadfi.co/',
|
13
|
-
telegram: 'https://t.me/triad369',
|
14
|
-
github: 'https://github.com/triadxyz',
|
15
|
-
discord: 'http://discord.gg/triadfi',
|
16
|
-
description: 'Prediction markets on Solana. Trade politics, crypto, sports & culture.',
|
17
|
-
tokens: ['t3DohmswhKk94PPbPYwA6ZKACyY3y5kbcqeQerAJjmV'],
|
18
|
-
};
|
19
6
|
exports.programId = new web3_js_1.PublicKey('TRDwq3BN4mP3m9KsuNUWSN6QDff93VKGSwE95Jbr9Ss');
|
20
7
|
exports.marketsCacheKey = 'markets';
|
21
8
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/triad/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/triad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,OAAO,CAAC;AAErB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,eAAe,GAAG,SAAS,CAAC"}
|
@@ -3,12 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.fetchers = exports.jobs =
|
7
|
-
const constants_1 = require("./constants");
|
6
|
+
exports.fetchers = exports.jobs = void 0;
|
8
7
|
const stakingFetcher_1 = __importDefault(require("./stakingFetcher"));
|
9
8
|
const marketsFetcher_1 = __importDefault(require("./marketsFetcher"));
|
10
9
|
const marketsJob_1 = __importDefault(require("./marketsJob"));
|
11
|
-
exports.platforms = [constants_1.platform];
|
12
10
|
exports.jobs = [marketsJob_1.default];
|
13
11
|
exports.fetchers = [stakingFetcher_1.default, marketsFetcher_1.default];
|
14
12
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/triad/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/triad/index.ts"],"names":[],"mappings":";;;;;;AAEA,sEAA8C;AAC9C,sEAA8C;AAC9C,8DAAsC;AAEzB,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,wBAAc,EAAE,wBAAc,CAAC,CAAC"}
|
@@ -1,10 +1,8 @@
|
|
1
1
|
/// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
|
2
2
|
/// <reference types="jito-ts/node_modules/@solana/web3.js" />
|
3
3
|
import { PublicKey } from '@solana/web3.js';
|
4
|
-
import { Platform } from '@sonarwatch/portfolio-core';
|
5
4
|
export declare const tulipMint = "TuLipcqtGVXP9XR62wM8WWCm6a9vhLs7T1uoWBk6FDs";
|
6
5
|
export declare const platformId = "tulip";
|
7
|
-
export declare const platform: Platform;
|
8
6
|
export declare const tulipV2ProgramId: PublicKey;
|
9
7
|
export declare const tulipLendingProgramId: PublicKey;
|
10
8
|
export declare const leverageProgramId: PublicKey;
|