@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
@@ -1,6 +1,4 @@
|
|
1
|
-
import { Platform } from '@sonarwatch/portfolio-core';
|
2
1
|
export declare const platformId = "morpho";
|
3
|
-
export declare const platform: Platform;
|
4
2
|
export declare const updatedIndexesPrefix = "morpho-updated-indexes";
|
5
3
|
export declare const morphoAaveV3Address = "0x33333aea097c193e66081E930c33020272b33333";
|
6
4
|
export declare const morphoTokenAddress = "0x9994E35Db50125E0DF82e4c2dde62496CE330999";
|
@@ -1,14 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.wethDecimals = exports.wethAddress = exports.Underlying = exports.morphoTokenAddress = exports.morphoAaveV3Address = exports.updatedIndexesPrefix = exports.
|
3
|
+
exports.wethDecimals = exports.wethAddress = exports.Underlying = exports.morphoTokenAddress = exports.morphoAaveV3Address = exports.updatedIndexesPrefix = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'morpho';
|
5
|
-
exports.platform = {
|
6
|
-
id: exports.platformId,
|
7
|
-
name: 'Morpho',
|
8
|
-
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/morpho.webp',
|
9
|
-
defiLlamaId: 'parent#morpho',
|
10
|
-
website: 'https://morpho.org/',
|
11
|
-
};
|
12
5
|
exports.updatedIndexesPrefix = `${exports.platformId}-updated-indexes`;
|
13
6
|
exports.morphoAaveV3Address = '0x33333aea097c193e66081E930c33020272b33333';
|
14
7
|
exports.morphoTokenAddress = '0x9994E35Db50125E0DF82e4c2dde62496CE330999';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,oBAAoB,GAAG,GAAG,kBAAU,kBAAkB,CAAC;AACvD,QAAA,mBAAmB,GAAG,4CAA4C,CAAC;AACnE,QAAA,kBAAkB,GAAG,4CAA4C,CAAC;AAElE,QAAA,UAAU,GAAG;IACxB,IAAI,EAAE,4CAA4C;IAClD,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,4CAA4C;IAClD,MAAM,EAAE,4CAA4C;IACpD,KAAK,EAAE,4CAA4C;IACnD,GAAG,EAAE,4CAA4C;IACjD,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,4CAA4C;IAClD,IAAI,EAAE,4CAA4C;IAClD,KAAK,EAAE,4CAA4C;CACpD,CAAC;AAEW,QAAA,WAAW,GAAG,4CAA4C,CAAC;AAC3D,QAAA,YAAY,GAAG,EAAE,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 =
|
6
|
+
exports.fetchers = exports.jobs = void 0;
|
7
7
|
const aaveV3CollateralFetcher_1 = __importDefault(require("./aaveV3CollateralFetcher"));
|
8
8
|
const aaveV3SupplyOnlyFetcher_1 = __importDefault(require("./aaveV3SupplyOnlyFetcher"));
|
9
9
|
const aaveV3Job_1 = __importDefault(require("./aaveV3Job"));
|
10
|
-
const constants_1 = require("./constants");
|
11
|
-
exports.platforms = [constants_1.platform];
|
12
10
|
exports.jobs = [aaveV3Job_1.default];
|
13
11
|
exports.fetchers = [
|
14
12
|
aaveV3CollateralFetcher_1.default,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/morpho/index.ts"],"names":[],"mappings":";;;;;;AAEA,wFAAgE;AAChE,wFAAgE;AAChE,4DAAoC;AAEvB,QAAA,IAAI,GAAU,CAAC,mBAAS,CAAC,CAAC;AAC1B,QAAA,QAAQ,GAAc;IACjC,iCAAuB;IACvB,iCAAuB;CACxB,CAAC"}
|
@@ -40,7 +40,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
40
40
|
});
|
41
41
|
});
|
42
42
|
const job = {
|
43
|
-
id: `${
|
43
|
+
id: `${portfolio_core_1.nativeStakePlatformId}-active-validators`,
|
44
44
|
executor,
|
45
45
|
labels: ['normal'],
|
46
46
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"activeValidatorsAptosJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/activeValidatorsAptosJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"activeValidatorsAptosJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/activeValidatorsAptosJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA8E;AAG9E,iDAAqD;AACrD,2CAA8D;AAE9D,6CAAuD;AAEvD,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,wBAAc,GAAE,CAAC;IAChC,MAAM,QAAQ,GAAG,MAAM,IAAA,0BAAkB,EACvC,MAAM,EACN,KAAK,EACL,0BAA0B,CAC3B,CAAC;IACF,MAAM,gBAAgB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;IACrD,IAAI,CAAC,gBAAgB;QAAE,OAAO;IAC9B,MAAM,mBAAmB,GAAa,EAAE,CAAC;IACzC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACjD,MAAM,SAAS,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG,MAAM,MAAM;aAC1B,IAAI,CAAC;YACJ,OAAO,EAAE;gBACP,QAAQ,EAAE,sDAAsD;gBAChE,aAAa,EAAE,EAAE;gBACjB,iBAAiB,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC;aACpC;SACF,CAAC;aACD,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;QACnB,IAAI,QAAQ;YAAE,mBAAmB,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;IACD,MAAM,KAAK,CAAC,OAAO,CAAC,yBAAa,EAAE,mBAAmB,EAAE;QACtD,MAAM,EAAE,4BAAgB;QACxB,SAAS,EAAE,0BAAS,CAAC,KAAK;KAC3B,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sCAAqB,oBAAoB;IAChD,QAAQ;IACR,MAAM,EAAE,CAAC,QAAQ,CAAC;CACnB,CAAC;AACF,kBAAe,GAAG,CAAC"}
|
@@ -38,7 +38,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
38
38
|
});
|
39
39
|
});
|
40
40
|
const job = {
|
41
|
-
id: `${
|
41
|
+
id: `${portfolio_core_1.nativeStakePlatformId}-active-validators-sui`,
|
42
42
|
executor,
|
43
43
|
labels: ['normal'],
|
44
44
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"activeValidatorsSuiJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/activeValidatorsSuiJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"activeValidatorsSuiJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/activeValidatorsSuiJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA8E;AAG9E,iDAAmD;AACnD,2CAA8D;AAG9D,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;;IACnD,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAC9B,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,uBAAuB,EAAE,CAAC;IAExD,MAAM,EAAE,gBAAgB,EAAE,GAAG,QAAQ,CAAC;IACtC,MAAM,cAAc,GAAG,MAAM,MAAM,CAAC,gBAAgB,EAAE,CAAC;IACvD,IAAI,CAAC,gBAAgB;QAAE,OAAO;IAC9B,MAAM,mBAAmB,GAAuB,EAAE,CAAC;IACnD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACjD,MAAM,SAAS,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;QACtC,MAAM,GAAG,GAAG,MAAA,cAAc,CAAC,IAAI,CAAC,IAAI,CAClC,CAAC,aAAa,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,KAAK,SAAS,CAAC,UAAU,CAClE,0CAAE,GAAG,CAAC;QACP,mBAAmB,CAAC,IAAI,CAAC;YACvB,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;YAClC,OAAO,EAAE,SAAS,CAAC,QAAQ;YAC3B,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,eAAe,EAAE,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC;YACjD,OAAO,EAAE,SAAS,CAAC,UAAU;SAC9B,CAAC,CAAC;IACL,CAAC;IACD,MAAM,KAAK,CAAC,OAAO,CAAC,yBAAa,EAAE,mBAAmB,EAAE;QACtD,MAAM,EAAE,4BAAgB;QACxB,SAAS,EAAE,0BAAS,CAAC,GAAG;KACzB,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sCAAqB,wBAAwB;IACpD,QAAQ;IACR,MAAM,EAAE,CAAC,QAAQ,CAAC;CACnB,CAAC;AACF,kBAAe,GAAG,CAAC"}
|
@@ -49,7 +49,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
49
49
|
const asset = (0, tokenPriceToAssetToken_1.default)(aptosPrice.address, amount, portfolio_core_1.NetworkId.aptos, aptosPrice);
|
50
50
|
elements.push({
|
51
51
|
networkId: portfolio_core_1.NetworkId.aptos,
|
52
|
-
platformId:
|
52
|
+
platformId: portfolio_core_1.nativeStakePlatformId,
|
53
53
|
type: 'multiple',
|
54
54
|
label: 'Staked',
|
55
55
|
tags: ['Native Stake'],
|
@@ -62,7 +62,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
62
62
|
return elements;
|
63
63
|
});
|
64
64
|
const fetcher = {
|
65
|
-
id: `${
|
65
|
+
id: `${portfolio_core_1.nativeStakePlatformId}-aptos`,
|
66
66
|
networkId: portfolio_core_1.NetworkId.aptos,
|
67
67
|
executor,
|
68
68
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"aptosFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/aptosFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"aptosFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/aptosFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,gEAAqC;AAGrC,2CAA8D;AAC9D,iDAAqD;AACrD,qGAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,wBAAc,GAAE,CAAC;IAChC,MAAM,gBAAgB,GAAG,MAAM,KAAK,CAAC,OAAO,CAAW,yBAAa,EAAE;QACpE,MAAM,EAAE,4BAAgB;QACxB,SAAS,EAAE,0BAAS,CAAC,KAAK;KAC3B,CAAC,CAAC;IACH,IAAI,CAAC,gBAAgB;QAAE,OAAO,EAAE,CAAC;IAEjC,MAAM,UAAU,GAAG,MAAM,KAAK,CAAC,aAAa,CAC1C,6BAAY,CAAC,MAAM,CAAC,OAAO,EAC3B,0BAAS,CAAC,KAAK,CAChB,CAAC;IACF,IAAI,CAAC,UAAU;QAAE,OAAO,EAAE,CA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ACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sCAAqB,QAAQ;IACpC,SAAS,EAAE,0BAAS,CAAC,KAAK;IAC1B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -1,5 +1,2 @@
|
|
1
|
-
import { Platform } from '@sonarwatch/portfolio-core';
|
2
|
-
export declare const platformId = "native-stake";
|
3
|
-
export declare const nativeStakePlatform: Platform;
|
4
1
|
export declare const validatorsKey = "activeValidators";
|
5
2
|
export declare const validatorsPrefix = "native-stake-validators";
|
@@ -1,12 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validatorsPrefix = exports.validatorsKey =
|
4
|
-
|
5
|
-
exports.nativeStakePlatform = {
|
6
|
-
id: exports.platformId,
|
7
|
-
name: 'Validators',
|
8
|
-
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/native-stake.webp',
|
9
|
-
};
|
3
|
+
exports.validatorsPrefix = exports.validatorsKey = void 0;
|
4
|
+
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
10
5
|
exports.validatorsKey = 'activeValidators';
|
11
|
-
exports.validatorsPrefix = `${
|
6
|
+
exports.validatorsPrefix = `${portfolio_core_1.nativeStakePlatformId}-validators`;
|
12
7
|
//# sourceMappingURL=constants.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/constants.ts"],"names":[],"mappings":";;;AAAA,+DAAmE;AAEtD,QAAA,aAAa,GAAG,kBAAkB,CAAC;AACnC,QAAA,gBAAgB,GAAG,GAAG,sCAAqB,aAAa,CAAC"}
|
@@ -3,17 +3,15 @@ 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 =
|
6
|
+
exports.fetchers = exports.jobs = void 0;
|
7
7
|
const suiFetcher_1 = __importDefault(require("./suiFetcher"));
|
8
8
|
const aptosFetcher_1 = __importDefault(require("./aptosFetcher"));
|
9
9
|
const solanaFetcher_1 = __importDefault(require("./solana/solanaFetcher"));
|
10
10
|
const seiFetcher_1 = __importDefault(require("./seiFetcher"));
|
11
11
|
const activeValidatorsAptosJob_1 = __importDefault(require("./activeValidatorsAptosJob"));
|
12
|
-
const constants_1 = require("./constants");
|
13
12
|
const solanaEpochJob_1 = __importDefault(require("./solana/solanaEpochJob"));
|
14
13
|
const solanaValidatorsJob_1 = __importDefault(require("./solana/solanaValidatorsJob"));
|
15
14
|
const activeValidatorsSuiJob_1 = __importDefault(require("./activeValidatorsSuiJob"));
|
16
|
-
exports.platforms = [constants_1.nativeStakePlatform];
|
17
15
|
exports.jobs = [
|
18
16
|
activeValidatorsAptosJob_1.default,
|
19
17
|
solanaEpochJob_1.default,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/index.ts"],"names":[],"mappings":";;;;;;AAEA,8DAAsC;AACtC,kEAA0C;AAC1C,2EAAmD;AACnD,8DAAsC;AACtC,0FAAkE;AAClE,6EAAqD;AACrD,uFAA+D;AAC/D,sFAAwD;AAE3C,QAAA,IAAI,GAAU;IACzB,kCAAwB;IACxB,wBAAc;IACd,6BAAmB;IACnB,gCAAgB;CACjB,CAAC;AACW,QAAA,QAAQ,GAAc;IACjC,oBAAU;IACV,sBAAY;IACZ,uBAAa;IACb,oBAAU;CACX,CAAC"}
|
@@ -15,7 +15,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
16
|
const long_1 = __importDefault(require("long"));
|
17
17
|
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
18
|
-
const constants_1 = require("./constants");
|
19
18
|
const clients_1 = require("../../utils/clients");
|
20
19
|
const tokenPriceToAssetToken_1 = __importDefault(require("../../utils/misc/tokenPriceToAssetToken"));
|
21
20
|
const maxBalances = 1500;
|
@@ -59,7 +58,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
59
58
|
return [
|
60
59
|
{
|
61
60
|
networkId: portfolio_core_1.NetworkId.sei,
|
62
|
-
platformId:
|
61
|
+
platformId: portfolio_core_1.nativeStakePlatformId,
|
63
62
|
type: 'multiple',
|
64
63
|
label: 'Staked',
|
65
64
|
value: (0, portfolio_core_1.getUsdValueSum)(nativeAssets.map((a) => a.value)),
|
@@ -70,7 +69,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
70
69
|
];
|
71
70
|
});
|
72
71
|
const fetcher = {
|
73
|
-
id: `${
|
72
|
+
id: `${portfolio_core_1.nativeStakePlatformId}-sei`,
|
74
73
|
networkId: portfolio_core_1.NetworkId.sei,
|
75
74
|
executor,
|
76
75
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"seiFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/seiFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"seiFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/seiFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,gDAAwB;AACxB,gEAAqC;AAGrC,iDAAmD;AAEnD,qGAA6E;AAE7E,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AE,OAAO,EAAE,CAAC;IAE9B,MAAM,YAAY,GAAqB,EAAE,CAAC;IAE1C,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE,CAAC;QACrC,MAAM,MAAM,GAAG,IAAI,sBAAS,CAAC,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC;aACpD,SAAS,CAAC,SAAA,EAAE,EAAI,aAAa,CAAC,QAAQ,CAAA,CAAC;aACvC,QAAQ,EAAE,CAAC;QAEd,MAAM,WAAW,GAAG,IAAA,gCAAsB,EACxC,2BAAU,CAAC,MAAM,CAAC,OAAO,EACzB,MAAM,EACN,0BAAS,CAAC,GAAG,EACb,aAAa,CACd,CAAC;QACF,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IACjC,CAAC;IACD,OAAO;QACL;YACE,SAAS,EAAE,0BAAS,CAAC,GAAG;YACxB,UAAU,EAAE,sCAAqB;YACjC,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,QAAQ;YACf,KAAK,EAAE,IAAA,+BAAc,EAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACvD,IAAI,EAAE;gBACJ,MAAM,EAAE,YAAY;aACrB;SACF;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sCAAqB,MAAM;IAClC,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -11,18 +11,17 @@ var __awaiter = (this && 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("
|
15
|
-
const constants_2 = require("./constants");
|
14
|
+
const constants_1 = require("./constants");
|
16
15
|
const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
17
16
|
const client = (0, clients_1.getClientSolana)();
|
18
17
|
const epochInfo = yield client.getEpochInfo();
|
19
|
-
yield cache.setItem(
|
20
|
-
prefix:
|
18
|
+
yield cache.setItem(constants_1.epochInfoCacheKey, epochInfo, {
|
19
|
+
prefix: portfolio_core_1.nativeStakePlatformId,
|
21
20
|
networkId: portfolio_core_1.NetworkId.solana,
|
22
21
|
});
|
23
22
|
});
|
24
23
|
const job = {
|
25
|
-
id: `${
|
24
|
+
id: `${portfolio_core_1.nativeStakePlatformId}-solana-epoch`,
|
26
25
|
executor,
|
27
26
|
labels: ['normal'],
|
28
27
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solanaEpochJob.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaEpochJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"solanaEpochJob.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaEpochJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA8E;AAI9E,oDAAyD;AACzD,2CAAgD;AAEhD,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,SAAS,GAAc,MAAM,MAAM,CAAC,YAAY,EAAE,CAAC;IACzD,MAAM,KAAK,CAAC,OAAO,CAAC,6BAAiB,EAAE,SAAS,EAAE;QAChD,MAAM,EAAE,sCAAqB;QAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sCAAqB,eAAe;IAC3C,QAAQ;IACR,MAAM,EAAE,CAAC,QAAQ,CAAC;CACnB,CAAC;AACF,kBAAe,GAAG,CAAC"}
|
@@ -26,7 +26,7 @@ const constants_4 = require("./constants");
|
|
26
26
|
const MemoizedCache_1 = require("../../../utils/misc/MemoizedCache");
|
27
27
|
const arrayToMap_1 = require("../../../utils/misc/arrayToMap");
|
28
28
|
const validatorsMemo = new MemoizedCache_1.MemoizedCache(constants_1.validatorsKey, {
|
29
|
-
prefix:
|
29
|
+
prefix: portfolio_core_1.nativeStakePlatformId,
|
30
30
|
networkId: portfolio_core_1.NetworkId.solana,
|
31
31
|
}, (arr) => (0, arrayToMap_1.arrayToMap)(arr || [], 'voter'));
|
32
32
|
const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
|
@@ -38,7 +38,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
38
38
|
const [solTokenPrice, epochInfo, validators] = yield Promise.all([
|
39
39
|
cache.getTokenPrice(portfolio_core_1.solanaNetwork.native.address, portfolio_core_1.NetworkId.solana),
|
40
40
|
cache.getItem(constants_4.epochInfoCacheKey, {
|
41
|
-
prefix:
|
41
|
+
prefix: portfolio_core_1.nativeStakePlatformId,
|
42
42
|
networkId: portfolio_core_1.NetworkId.solana,
|
43
43
|
}),
|
44
44
|
validatorsMemo.getItem(cache),
|
@@ -110,7 +110,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
110
110
|
if (nativeAssets.length !== 0) {
|
111
111
|
elements.push({
|
112
112
|
networkId: portfolio_core_1.NetworkId.solana,
|
113
|
-
platformId:
|
113
|
+
platformId: portfolio_core_1.nativeStakePlatformId,
|
114
114
|
type: 'multiple',
|
115
115
|
label: 'Staked',
|
116
116
|
value: (0, portfolio_core_1.getUsdValueSum)(nativeAssets.map((a) => a.value)),
|
@@ -152,7 +152,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
152
152
|
return elements;
|
153
153
|
});
|
154
154
|
const fetcher = {
|
155
|
-
id: `${
|
155
|
+
id: `${portfolio_core_1.nativeStakePlatformId}-solana`,
|
156
156
|
networkId: portfolio_core_1.NetworkId.solana,
|
157
157
|
executor,
|
158
158
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solanaFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"solanaFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,gEAAqC;AAIrC,4CAA6C;AAC7C,oDAAyD;AACzD,kDAAiE;AACjE,uCAAgD;AAChD,uCAA+C;AAC/C,wGAAgF;AAChF,wDAA4E;AAC5E,oDAAoE;AACpE,2CAIqB;AACrB,qEAAkE;AAElE,+DAA4D;AAE5D,MAAM,cAAc,GAAG,IAAI,6BAAa,CACtC,yBAAa,EACb;IACE,MAAM,EAAE,sCAAqB;IAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,EACD,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAU,EAAC,GAAG,IAAI,EAAE,EAAE,OAAO,CAAC,CACxC,CAAC;AAEF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,OAAO,GAAG,IAAA,6BAAmB,EAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAEtD,MAAM,aAAa,GAAG,MAAM,IAAA,iCAAwB,EAClD,MAAM,EACN,4BAAkB,EAClB,0BAAc,EACd,OAAO,CACR,CAAC;IACF,IAAI,aAAa,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE1C,MAAM,CAAC,aAAa,EAAE,SAAS,EAAE,UAAU,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC/D,KAAK,CAAC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or = (cache) => __awaiter(void 0, void 0, void 0, function* () {
|
|
38
38
|
mevCommission: r.jito_commission_bps / 10000,
|
39
39
|
}));
|
40
40
|
yield cache.setItem(constants_1.validatorsKey, validators, {
|
41
|
-
prefix:
|
41
|
+
prefix: portfolio_core_1.nativeStakePlatformId,
|
42
42
|
networkId: portfolio_core_1.NetworkId.solana,
|
43
43
|
});
|
44
44
|
});
|
45
45
|
const job = {
|
46
|
-
id: `${
|
46
|
+
id: `${portfolio_core_1.nativeStakePlatformId}-solana-validators`,
|
47
47
|
executor,
|
48
48
|
labels: ['normal'],
|
49
49
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"solanaValidatorsJob.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaValidatorsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"solanaValidatorsJob.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/native-stake/solana/solanaValidatorsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAA8E;AAC9E,kDAA6C;AAG7C,4CAA6C;AAC7C,2CAA0C;AAG1C,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,GAAG,GAAG,MAAM,eAAK;SACpB,GAAG,CAAgD,uBAAW,EAAE;QAC/D,OAAO,EAAE,KAAK;KACf,CAAC;SACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;QACb,MAAM,KAAK,CAAC,qBAAqB,GAAG,EAAE,CAAC,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEL,IAAI,CAAC,GAAG,CAAC,IAAI;QAAE,MAAM,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAEnD,MAAM,UAAU,GAAgB,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACnD,KAAK,EAAE,CAAC,CAAC,aAAa;QACtB,IAAI,EAAE,CAAC,CAAC,IAAI;QACZ,QAAQ,EAAE,CAAC,CAAC,KAAK;QACjB,OAAO,EAAE,CAAC,CAAC,YAAY,GAAG,GAAG;QAC7B,OAAO,EAAE,CAAC,CAAC,QAAQ,GAAG,GAAG;QACzB,UAAU,EAAE,CAAC,CAAC,WAAW,GAAG,GAAG;QAC/B,QAAQ,EAAE,CAAC,CAAC,SAAS,GAAG,GAAG;QAC3B,eAAe,EAAE,CAAC,CAAC,UAAU,GAAG,GAAG;QACnC,aAAa,EAAE,CAAC,CAAC,mBAAmB,GAAG,KAAK;KAC7C,CAAC,CAAC,CAAC;IAEJ,MAAM,KAAK,CAAC,OAAO,CAAC,yBAAa,EAAE,UAAU,EAAE;QAC7C,MAAM,EAAE,sCAAqB;QAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sCAAqB,oBAAoB;IAChD,QAAQ;IACR,MAAM,EAAE,CAAC,QAAQ,CAAC;CACnB,CAAC;AACF,kBAAe,GAAG,CAAC"}
|
@@ -59,7 +59,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
59
59
|
value += stakedAsset.value !== null ? stakedAsset.value : 0;
|
60
60
|
elements.push({
|
61
61
|
networkId: portfolio_core_1.NetworkId.sui,
|
62
|
-
platformId:
|
62
|
+
platformId: portfolio_core_1.nativeStakePlatformId,
|
63
63
|
type: 'multiple',
|
64
64
|
label: 'Staked',
|
65
65
|
value,
|
@@ -72,7 +72,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
72
72
|
return elements;
|
73
73
|
});
|
74
74
|
const fetcher = {
|
75
|
-
id: `${
|
75
|
+
id: `${portfolio_core_1.nativeStakePlatformId}-sui`,
|
76
76
|
networkId: portfolio_core_1.NetworkId.sui,
|
77
77
|
executor,
|
78
78
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"suiFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/suiFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"suiFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/native-stake/suiFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,gEAAqC;AAGrC,2CAA8D;AAC9D,iDAAmD;AACnD,qGAA6E;AAG7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAC9B,MAAM,gBAAgB,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3D,IAAI,gBAAgB,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE7C,MAAM,CAAC,aAAa,EAAE,cAAc,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACxD,KAAK,CAAC,aAAa,CAAC,2BAAU,CAAC,MAAM,CAAC,OAAO,EAAE,0BAAS,CAAC,GAAG,CAAC;QAC7D,KAAK,CAAC,OAAO,CAAqB,yBAAa,EAAE;YAC/C,MAAM,EAAE,4BAAgB;YACxB,SAAS,EAAE,0BAAS,CAAC,GAAG;SACzB,CAAC;KACH,CAAC,CAAC;IACH,IAAI,CAAC,aAAa;QAAE,OAAO,EAAE,CAAC;IAE9B,MAAM,QAAQ,GAAuB,EAAE,CAAC;IACxC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACjD,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;QACzD,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;YAAE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,0BAAS,CAAC,GAAG,EACb,aAAa,EACb,SAAS,EACT;gBACE,IAAI,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC;aACzB,CACF,CAAC;YACF,MAAM,CAAC,IAAI,iCACN,WAAW,KACd,QAAQ,EAAE,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,OAAO,EAChC,IAAI,EAAE,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,IAAI,IACzB,CAAC;YAEH,KAAK,IAAI,WAAW,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5D,QAAQ,CAAC,IAAI,CAAC;gBACZ,SAAS,EAAE,0BAAS,CAAC,GAAG;gBACxB,UAAU,EAAE,sCAAqB;gBACjC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,KAAK;gBACL,IAAI,EAAE;oBACJ,MAAM;iBACP;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sCAAqB,MAAM;IAClC,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -1,6 +1,4 @@
|
|
1
|
-
import { Platform } from '@sonarwatch/portfolio-core';
|
2
1
|
export declare const platformId = "navi";
|
3
|
-
export declare const platform: Platform;
|
4
2
|
export declare const reservesPrefix = "navi";
|
5
3
|
export declare const reservesKey = "reserves";
|
6
4
|
export declare const reserveParentId = "0xe6d4c6610b86ce7735ea754596d71d72d10c7980b5052fc3c8cdf8d09fea9b4b";
|
@@ -1,15 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.incentiveStorageObjectId = exports.incentiveObjectId = exports.incentiveFunction = exports.rewardsFunds = exports.rateFactor = exports.reserveParentId = exports.reservesKey = exports.reservesPrefix = exports.
|
3
|
+
exports.incentiveStorageObjectId = exports.incentiveObjectId = exports.incentiveFunction = exports.rewardsFunds = exports.rateFactor = exports.reserveParentId = exports.reservesKey = exports.reservesPrefix = exports.platformId = void 0;
|
4
4
|
exports.platformId = 'navi';
|
5
|
-
exports.platform = {
|
6
|
-
id: exports.platformId,
|
7
|
-
name: 'NAVI',
|
8
|
-
image: `https://sonar.watch/img/platforms/${exports.platformId}.webp`,
|
9
|
-
defiLlamaId: 'parent#navi-protocol',
|
10
|
-
website: 'https://www.naviprotocol.io/',
|
11
|
-
twitter: 'https://twitter.com/navi_protocol',
|
12
|
-
};
|
13
5
|
exports.reservesPrefix = exports.platformId;
|
14
6
|
exports.reservesKey = 'reserves';
|
15
7
|
exports.reserveParentId = '0xe6d4c6610b86ce7735ea754596d71d72d10c7980b5052fc3c8cdf8d09fea9b4b';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG,MAAM,CAAC;AAEpB,QAAA,cAAc,GAAG,kBAAU,CAAC;AAC5B,QAAA,WAAW,GAAG,UAAU,CAAC;AAEzB,QAAA,eAAe,GAC1B,oEAAoE,CAAC;AAE1D,QAAA,UAAU,GAAG,EAAE,CAAC;AAEhB,QAAA,YAAY,GAAG;IAC1B,gEAAgE,EAAE;QAChE,QAAQ,EAAE,eAAe;QACzB,QAAQ,EAAE,CAAC;KACZ;IACD,gEAAgE,EAAE;QAChE,QAAQ,EACN,gFAAgF;QAClF,QAAQ,EAAE,CAAC;KACZ;IACD,gEAAgE,EAAE;QAChE,QAAQ,EACN,kFAAkF;QACpF,QAAQ,EAAE,CAAC;KACZ;IACD,kEAAkE,EAAE;QAClE,QAAQ,EACN,gFAAgF;QAClF,QAAQ,EAAE,CAAC;KACZ;CACF,CAAC;AAEW,QAAA,iBAAiB,GAC5B,0HAA0H,CAAC;AAChH,QAAA,iBAAiB,GAC5B,oEAAoE,CAAC;AAC1D,QAAA,wBAAwB,GACnC,oEAAoE,CAAC"}
|
@@ -3,11 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
6
|
+
exports.fetchers = exports.jobs = void 0;
|
7
7
|
const reservesJob_1 = __importDefault(require("./reservesJob"));
|
8
8
|
const collateralFetcher_1 = __importDefault(require("./collateralFetcher"));
|
9
|
-
const constants_1 = require("./constants");
|
10
9
|
exports.jobs = [reservesJob_1.default];
|
11
10
|
exports.fetchers = [collateralFetcher_1.default];
|
12
|
-
exports.platforms = [constants_1.platform];
|
13
11
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/navi/index.ts"],"names":[],"mappings":";;;;;;AAEA,gEAAuC;AACvC,4EAAoD;AAEvC,QAAA,IAAI,GAAU,CAAC,qBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,CAAC,2BAAiB,CAAC,CAAC"}
|
@@ -1,9 +1,7 @@
|
|
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 platformId = "nosana";
|
6
|
-
export declare const platform: Platform;
|
7
5
|
export declare const nosMint = "nosXBVoaCTtYdLvKY6Csb4AC8JCdQKKAaWYtx2ZMoo7";
|
8
6
|
export declare const nosDecimals = 6;
|
9
7
|
export declare const nosanaStakingPid: PublicKey;
|
@@ -1,21 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.nosanaStakingPid = exports.nosDecimals = exports.nosMint = exports.
|
3
|
+
exports.nosanaStakingPid = exports.nosDecimals = exports.nosMint = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
exports.platformId = 'nosana';
|
6
|
-
exports.platform = {
|
7
|
-
id: exports.platformId,
|
8
|
-
name: 'Nosana',
|
9
|
-
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/nosana.webp',
|
10
|
-
// defiLlamaId: 'foo-finance', // from https://defillama.com/docs/api
|
11
|
-
website: 'https://app.nosana.io/',
|
12
|
-
twitter: 'https://x.com/nosana_ai',
|
13
|
-
github: 'https://github.com/nosana-ci',
|
14
|
-
discord: 'http://discord.gg/nosana-ai',
|
15
|
-
telegram: 'http://t.me/NosanaCompute',
|
16
|
-
description: 'Nosana is your go-to GPU marketplace for AI inference. Save up to 6x on compute costs and scale your AI workloads effortlessly.',
|
17
|
-
documentation: 'https://docs.nosana.com/',
|
18
|
-
};
|
19
6
|
exports.nosMint = 'nosXBVoaCTtYdLvKY6Csb4AC8JCdQKKAaWYtx2ZMoo7';
|
20
7
|
exports.nosDecimals = 6;
|
21
8
|
exports.nosanaStakingPid = new web3_js_1.PublicKey('nosScmHY2uR24Zh751PmGj9ww9QRNHewh9H59AfrTJE');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AAEtB,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,6CAA6C,CAC9C,CAAC"}
|
@@ -3,10 +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.jobs =
|
7
|
-
const constants_1 = require("./constants");
|
6
|
+
exports.fetchers = exports.jobs = void 0;
|
8
7
|
const stakingFetcher_1 = __importDefault(require("./stakingFetcher"));
|
9
|
-
exports.platforms = [constants_1.platform];
|
10
8
|
exports.jobs = [];
|
11
9
|
exports.fetchers = [stakingFetcher_1.default];
|
12
10
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/index.ts"],"names":[],"mappings":";;;;;;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nosana/index.ts"],"names":[],"mappings":";;;;;;AAEA,sEAA8C;AAEjC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,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
|
-
import { Platform } from '@sonarwatch/portfolio-core';
|
4
3
|
import { IdlItem } from '@solanafm/explorer-kit-idls';
|
5
4
|
import { PublicKey } from '@solana/web3.js';
|
6
5
|
export declare const platformId = "nxfinance";
|
7
|
-
export declare const platform: Platform;
|
8
6
|
export declare const ID: PublicKey;
|
9
7
|
export declare const leverageFiProgramID: PublicKey;
|
10
8
|
export declare const leverageVaultsMints: string[];
|
@@ -1,20 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.nxfinanceStakingIdlItem = exports.stakingProgramId = exports.stakePool = exports.lendingPools = exports.solayerPoolKey = exports.stakingPoolKey = exports.lendingPoolKey = exports.nxfinanceLendIdlItem = exports.lendProgramId = exports.nxfinanceLeverageIdlItem = exports.leverageVaultsMints = exports.leverageFiProgramID = exports.ID = exports.
|
3
|
+
exports.nxfinanceStakingIdlItem = exports.stakingProgramId = exports.stakePool = exports.lendingPools = exports.solayerPoolKey = exports.stakingPoolKey = exports.lendingPoolKey = exports.nxfinanceLendIdlItem = exports.lendProgramId = exports.nxfinanceLeverageIdlItem = exports.leverageVaultsMints = exports.leverageFiProgramID = exports.ID = exports.platformId = void 0;
|
4
4
|
const web3_js_1 = require("@solana/web3.js");
|
5
5
|
const leverageIdl_1 = require("./leverageIdl");
|
6
6
|
const lendIdl_1 = require("./lendIdl");
|
7
7
|
const stakingIdl_1 = require("./stakingIdl");
|
8
8
|
exports.platformId = 'nxfinance';
|
9
|
-
exports.platform = {
|
10
|
-
id: exports.platformId,
|
11
|
-
name: 'NX Finance',
|
12
|
-
image: 'https://sonarwatch.github.io/portfolio/assets/images/platforms/nxfinance.webp',
|
13
|
-
website: 'https://nxfinance.io/',
|
14
|
-
twitter: 'https://twitter.com/NX_Finance',
|
15
|
-
defiLlamaId: 'nx-finance',
|
16
|
-
discord: 'https://discord.com/invite/nxfinance',
|
17
|
-
};
|
18
9
|
// https://nxfinance.io/nx-data/doc
|
19
10
|
exports.ID = new web3_js_1.PublicKey('RaXcyfW8jK295UAU1XN2uLMTHnTWEaeCcNWLeDB4iD6');
|
20
11
|
exports.leverageFiProgramID = new web3_js_1.PublicKey('EHBN9YKtMmrZhj8JZqyBQRGqyyeHw5xUB1Q5eAHszuMt');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nxfinance/constants.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/nxfinance/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAC5C,+CAAqD;AACrD,uCAA6C;AAC7C,6CAAmD;AAEtC,QAAA,UAAU,GAAG,WAAW,CAAC;AACtC,mCAAmC;AAEtB,QAAA,EAAE,GAAG,IAAI,mBAAS,CAAC,6CAA6C,CAAC,CAAC;AAElE,QAAA,mBAAmB,GAAG,IAAI,mBAAS,CAC9C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,mBAAmB,GAAG;IACjC,8CAA8C,EAAE,MAAM;IACtD,6CAA6C,EAAE,SAAS;IACxD,6CAA6C,EAAE,OAAO;IACtD,6CAA6C,EAAE,OAAO;IACtD,8CAA8C,EAAE,SAAS;CAC1D,CAAC;AAEW,QAAA,wBAAwB,GAAG;IACtC,SAAS,EAAE,2BAAmB,CAAC,QAAQ,EAAE;IACzC,GAAG,EAAE,kCAAoB;IACzB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,oBAAoB,GAAG;IAClC,SAAS,EAAE,qBAAa,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,0BAAgB;IACrB,OAAO,EAAE,QAAQ;CACP,CAAC;AAEA,QAAA,cAAc,GAAG,eAAe,CAAC;AACjC,QAAA,cAAc,GAAG,cAAc,CAAC;AAChC,QAAA,cAAc,GAAG,eAAe,CAAC;AAEjC,QAAA,YAAY,GAAG;IAC1B,IAAI,mBAAS,CAAC,8CAA8C,CAAC;CAC9D,CAAC;AAEW,QAAA,SAAS,GAAG,8CAA8C,CAAC;AAC3D,QAAA,gBAAgB,GAAG,8CAA8C,CAAC;AAElE,QAAA,uBAAuB,GAAG;IACrC,SAAS,EAAE,IAAI,mBAAS,CAAC,wBAAgB,CAAC,CAAC,QAAQ,EAAE;IACrD,GAAG,EAAE,gCAAmB;IACxB,OAAO,EAAE,QAAQ;CACP,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 lendingPoolsJob_1 = __importDefault(require("./lendingPoolsJob"));
|
10
9
|
const stakingFetcher_1 = __importDefault(require("./stakingFetcher"));
|
11
10
|
const stakingPoolJob_1 = __importDefault(require("./stakingPoolJob"));
|
12
11
|
const solayerPoolsJob_1 = __importDefault(require("./solayerPoolsJob"));
|
13
|
-
exports.platforms = [constants_1.platform];
|
14
12
|
exports.jobs = [lendingPoolsJob_1.default, stakingPoolJob_1.default, solayerPoolsJob_1.default];
|
15
13
|
exports.fetchers = [positionsFetcher_1.default, stakingFetcher_1.default];
|
16
14
|
//# sourceMappingURL=index.js.map
|