@sonarwatch/portfolio-plugins 0.14.128 → 0.14.130
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.js +5 -0
- package/src/index.js.map +1 -1
- package/src/plugins/adrena/positionsFetcher.js +1 -0
- package/src/plugins/adrena/positionsFetcher.js.map +1 -1
- package/src/plugins/allbridge/positionsFetcher.js +9 -1
- package/src/plugins/allbridge/positionsFetcher.js.map +1 -1
- package/src/plugins/armada-staking/stakingFetcher.js +4 -1
- package/src/plugins/armada-staking/stakingFetcher.js.map +1 -1
- package/src/plugins/aurory/stakingFetcher.js +5 -1
- package/src/plugins/aurory/stakingFetcher.js.map +1 -1
- package/src/plugins/bonfida/offersFetcher.js +30 -37
- package/src/plugins/bonfida/offersFetcher.js.map +1 -1
- package/src/plugins/bonkrewards/positionFetcher.js +16 -22
- package/src/plugins/bonkrewards/positionFetcher.js.map +1 -1
- package/src/plugins/cyberfrogs/thorDepositFetcher.js +2 -0
- package/src/plugins/cyberfrogs/thorDepositFetcher.js.map +1 -1
- package/src/plugins/daos/realmsDepositsFetcher.js +29 -43
- package/src/plugins/daos/realmsDepositsFetcher.js.map +1 -1
- package/src/plugins/debridge/dlmmVaultsFetcher.js +16 -10
- package/src/plugins/debridge/dlmmVaultsFetcher.js.map +1 -1
- package/src/plugins/defiland/stakingFetcher.js +8 -1
- package/src/plugins/defiland/stakingFetcher.js.map +1 -1
- package/src/plugins/defituna/lendingFetcher.js +3 -0
- package/src/plugins/defituna/lendingFetcher.js.map +1 -1
- package/src/plugins/defituna/positionsFetcher.js +7 -1
- package/src/plugins/defituna/positionsFetcher.js.map +1 -1
- package/src/plugins/defituna/structs.d.ts +1 -0
- package/src/plugins/defituna/structs.js.map +1 -1
- package/src/plugins/divvy/constants.d.ts +1 -0
- package/src/plugins/divvy/constants.js +2 -1
- package/src/plugins/divvy/constants.js.map +1 -1
- package/src/plugins/divvy/housePoolFetcher.js +3 -0
- package/src/plugins/divvy/housePoolFetcher.js.map +1 -1
- package/src/plugins/divvy/stakingFetcher.js +3 -1
- package/src/plugins/divvy/stakingFetcher.js.map +1 -1
- package/src/plugins/drift/depositsFetcher.js +15 -0
- package/src/plugins/drift/depositsFetcher.js.map +1 -1
- package/src/plugins/drift-market-maker-vault/depositsFetcher.js +2 -1
- package/src/plugins/drift-market-maker-vault/depositsFetcher.js.map +1 -1
- package/src/plugins/elemental/depositFetcher.js +3 -0
- package/src/plugins/elemental/depositFetcher.js.map +1 -1
- package/src/plugins/ensofi/solanaLoansFetcher.js +6 -0
- package/src/plugins/ensofi/solanaLoansFetcher.js.map +1 -1
- package/src/plugins/exponent/liquidityFetcher.js +1 -0
- package/src/plugins/exponent/liquidityFetcher.js.map +1 -1
- package/src/plugins/exponent/tradeFetcher.js +1 -0
- package/src/plugins/exponent/tradeFetcher.js.map +1 -1
- package/src/plugins/famousfoxfederation/stakingFetcher.js +18 -22
- package/src/plugins/famousfoxfederation/stakingFetcher.js.map +1 -1
- package/src/plugins/flash/perpetualFetcher.js +1 -1
- package/src/plugins/flash/perpetualFetcher.js.map +1 -1
- package/src/plugins/fragmetric/pricingJob.js +6 -0
- package/src/plugins/fragmetric/pricingJob.js.map +1 -1
- package/src/plugins/francium/lendingFetcher.js +1 -0
- package/src/plugins/francium/lendingFetcher.js.map +1 -1
- package/src/plugins/futarchy/daosJob.js +9 -0
- package/src/plugins/futarchy/daosJob.js.map +1 -1
- package/src/plugins/genesysgo/stakingFetcher.js +12 -25
- package/src/plugins/genesysgo/stakingFetcher.js.map +1 -1
- package/src/plugins/goosefx/stakingFetcher.js +18 -27
- package/src/plugins/goosefx/stakingFetcher.js.map +1 -1
- package/src/plugins/gpool/stakingFetcher.js +5 -1
- package/src/plugins/gpool/stakingFetcher.js.map +1 -1
- package/src/plugins/guano/constants.d.ts +8 -0
- package/src/plugins/guano/constants.js +15 -0
- package/src/plugins/guano/constants.js.map +1 -0
- package/src/plugins/guano/filters.d.ts +20 -0
- package/src/plugins/guano/filters.js +41 -0
- package/src/plugins/guano/filters.js.map +1 -0
- package/src/plugins/guano/index.d.ts +6 -0
- package/src/plugins/guano/index.js +10 -0
- package/src/plugins/guano/index.js.map +1 -0
- package/src/plugins/guano/stakingFetcher.d.ts +3 -0
- package/src/plugins/guano/stakingFetcher.js +70 -0
- package/src/plugins/guano/stakingFetcher.js.map +1 -0
- package/src/plugins/guano/structs.d.ts +34 -0
- package/src/plugins/guano/structs.js +33 -0
- package/src/plugins/guano/structs.js.map +1 -0
- package/src/plugins/guano/types.d.ts +15 -0
- package/src/plugins/guano/types.js +3 -0
- package/src/plugins/guano/types.js.map +1 -0
- package/src/plugins/hedgehog/ammJob.js +8 -0
- package/src/plugins/hedgehog/ammJob.js.map +1 -1
- package/src/plugins/hxro/stakingFetcher.js +2 -0
- package/src/plugins/hxro/stakingFetcher.js.map +1 -1
- package/src/plugins/iloop/depositsFetcher.js +8 -0
- package/src/plugins/iloop/depositsFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/dcaFetcher.js +6 -1
- package/src/plugins/jupiter/exchange/dcaFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/limitFetcher.js +3 -0
- package/src/plugins/jupiter/exchange/limitFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/valueAverageFetcher.js +2 -1
- package/src/plugins/jupiter/exchange/valueAverageFetcher.js.map +1 -1
- package/src/plugins/kamino/lendsFetcher.js +6 -0
- package/src/plugins/kamino/lendsFetcher.js.map +1 -1
- package/src/plugins/kamino/ordersFetcher.js +2 -1
- package/src/plugins/kamino/ordersFetcher.js.map +1 -1
- package/src/plugins/layer3/stakingFetcher.js +1 -0
- package/src/plugins/layer3/stakingFetcher.js.map +1 -1
- package/src/plugins/lifinity/lockerFetcher.js +14 -17
- package/src/plugins/lifinity/lockerFetcher.js.map +1 -1
- package/src/plugins/loverflow/airdropClaimFetcher.js +1 -0
- package/src/plugins/loverflow/airdropClaimFetcher.js.map +1 -1
- package/src/plugins/magiceden/escrowFetcher.js +12 -18
- package/src/plugins/magiceden/escrowFetcher.js.map +1 -1
- package/src/plugins/marginfi/helpers.d.ts +2 -1
- package/src/plugins/marginfi/helpers.js +8 -2
- package/src/plugins/marginfi/helpers.js.map +1 -1
- package/src/plugins/marinade/ticketsFetcher.js +14 -31
- package/src/plugins/marinade/ticketsFetcher.js.map +1 -1
- package/src/plugins/metaplex/resizableNftFetcher.js +1 -0
- package/src/plugins/metaplex/resizableNftFetcher.js.map +1 -1
- package/src/plugins/nxfinance/positionsFetcher.js +19 -2
- package/src/plugins/nxfinance/positionsFetcher.js.map +1 -1
- package/src/plugins/orca/getWhirlpoolPositions.js +10 -1
- package/src/plugins/orca/getWhirlpoolPositions.js.map +1 -1
- package/src/plugins/parcl/depositsFetcher.js +1 -1
- package/src/plugins/parcl/depositsFetcher.js.map +1 -1
- package/src/plugins/parcl/marginFetcher.js +1 -1
- package/src/plugins/parcl/marginFetcher.js.map +1 -1
- package/src/plugins/parcl/stakingFetcher.js +6 -3
- package/src/plugins/parcl/stakingFetcher.js.map +1 -1
- package/src/plugins/photofinish/stakingFetcher.js +6 -1
- package/src/plugins/photofinish/stakingFetcher.js.map +1 -1
- package/src/plugins/picasso/unstakingPositionsFetcher.js +3 -2
- package/src/plugins/picasso/unstakingPositionsFetcher.js.map +1 -1
- package/src/plugins/quarry/calculatePositions.js +7 -1
- package/src/plugins/quarry/calculatePositions.js.map +1 -1
- package/src/plugins/quarry/positionsFetcher.js +2 -0
- package/src/plugins/quarry/positionsFetcher.js.map +1 -1
- package/src/plugins/quarry/types.d.ts +3 -0
- package/src/plugins/ratex/positionsFetcher.js +2 -0
- package/src/plugins/ratex/positionsFetcher.js.map +1 -1
- package/src/plugins/saber/lpTokensJob.js +1 -0
- package/src/plugins/saber/lpTokensJob.js.map +1 -1
- package/src/plugins/sandglass/depositFetcher.js +3 -0
- package/src/plugins/sandglass/depositFetcher.js.map +1 -1
- package/src/plugins/sharky/loansFetcher.js +1 -0
- package/src/plugins/sharky/loansFetcher.js.map +1 -1
- package/src/plugins/solayer/airdropFetcher.d.ts +3 -0
- package/src/plugins/solayer/airdropFetcher.js +55 -0
- package/src/plugins/solayer/airdropFetcher.js.map +1 -0
- package/src/plugins/solayer/constants.d.ts +5 -0
- package/src/plugins/solayer/constants.js +13 -1
- package/src/plugins/solayer/constants.js.map +1 -1
- package/src/plugins/solayer/index.d.ts +2 -0
- package/src/plugins/solayer/index.js +4 -2
- package/src/plugins/solayer/index.js.map +1 -1
- package/src/plugins/solayer/proofsFetcher.js +7 -6
- package/src/plugins/solayer/proofsFetcher.js.map +1 -1
- package/src/plugins/solayer/types.d.ts +8 -0
- package/src/plugins/solayer/types.js +3 -0
- package/src/plugins/solayer/types.js.map +1 -0
- package/src/plugins/spdr/stakingFetcher.js +3 -0
- package/src/plugins/spdr/stakingFetcher.js.map +1 -1
- package/src/plugins/stabble/poolsJob.js +1 -0
- package/src/plugins/stabble/poolsJob.js.map +1 -1
- package/src/plugins/staratlas/lockersFetcher.js +2 -0
- package/src/plugins/staratlas/lockersFetcher.js.map +1 -1
- package/src/plugins/staratlas/stakingFetcher.js +2 -1
- package/src/plugins/staratlas/stakingFetcher.js.map +1 -1
- package/src/plugins/streamflow/vestingFetcher.js +1 -1
- package/src/plugins/streamflow/vestingFetcher.js.map +1 -1
- package/src/plugins/tensor/bidsFetcher.js +1 -1
- package/src/plugins/tensor/bidsFetcher.js.map +1 -1
- package/src/plugins/texture/loansFetcher.js +2 -1
- package/src/plugins/texture/loansFetcher.js.map +1 -1
- package/src/plugins/tulip/depositsFetcher.js +3 -1
- package/src/plugins/tulip/depositsFetcher.js.map +1 -1
- package/src/plugins/uxd/stakingFetcher.js +4 -3
- package/src/plugins/uxd/stakingFetcher.js.map +1 -1
- package/src/plugins/vaultka/lendingFetcher.js +5 -0
- package/src/plugins/vaultka/lendingFetcher.js.map +1 -1
- package/src/plugins/vaultka/strategyFetcher.js +3 -0
- package/src/plugins/vaultka/strategyFetcher.js.map +1 -1
- package/src/plugins/whalesmarket/depositFetcher.js +7 -5
- package/src/plugins/whalesmarket/depositFetcher.js.map +1 -1
- package/src/plugins/zelo/positionsFetcher.js +2 -0
- package/src/plugins/zelo/positionsFetcher.js.map +1 -1
- package/src/plugins/zeta/depositsFetcher.js +5 -1
- package/src/plugins/zeta/depositsFetcher.js.map +1 -1
- package/src/utils/clients/getClientSolanaAlt.d.ts +2 -0
- package/src/utils/clients/getClientSolanaAlt.js +93 -0
- package/src/utils/clients/getClientSolanaAlt.js.map +1 -0
- package/src/utils/elementbuilder/ElementRegistry.d.ts +1 -3
- package/src/utils/elementbuilder/ElementRegistry.js +2 -5
- package/src/utils/elementbuilder/ElementRegistry.js.map +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
4
4
|
|
5
|
+
## [0.14.130](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.129...plugins-0.14.130) (2025-02-27)
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
## [0.14.129](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.128...plugins-0.14.129) (2025-02-26)
|
10
|
+
|
11
|
+
|
12
|
+
|
5
13
|
## [0.14.128](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.127...plugins-0.14.128) (2025-02-25)
|
6
14
|
|
7
15
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -174,6 +174,7 @@ const layer3_1 = require("./plugins/layer3");
|
|
174
174
|
const puffcoin_1 = require("./plugins/puffcoin");
|
175
175
|
const triad_1 = require("./plugins/triad");
|
176
176
|
const baskt_1 = require("./plugins/baskt");
|
177
|
+
const guano_1 = require("./plugins/guano");
|
177
178
|
const coingecko_1 = require("./plugins/coingecko");
|
178
179
|
var constants_1 = require("./plugins/tokens/constants");
|
179
180
|
Object.defineProperty(exports, "walletTokensPlatform", { enumerable: true, get: function () { return constants_1.walletTokensPlatform; } });
|
@@ -346,6 +347,7 @@ exports.platforms = [
|
|
346
347
|
...puffcoin_1.platforms,
|
347
348
|
...triad_1.platforms,
|
348
349
|
...baskt_1.platforms,
|
350
|
+
...guano_1.platforms,
|
349
351
|
];
|
350
352
|
// JOBS //
|
351
353
|
exports.jobs = [
|
@@ -498,6 +500,7 @@ exports.jobs = [
|
|
498
500
|
...layer3_1.jobs,
|
499
501
|
...puffcoin_1.jobs,
|
500
502
|
...triad_1.jobs,
|
503
|
+
...guano_1.jobs,
|
501
504
|
];
|
502
505
|
// FETCHERS //
|
503
506
|
exports.fetchers = [
|
@@ -650,6 +653,7 @@ exports.fetchers = [
|
|
650
653
|
...puffcoin_1.fetchers,
|
651
654
|
...triad_1.fetchers,
|
652
655
|
...baskt_1.fetchers,
|
656
|
+
...guano_1.fetchers,
|
653
657
|
];
|
654
658
|
exports.fetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.fetchers);
|
655
659
|
exports.airdropFetchers = [
|
@@ -670,6 +674,7 @@ exports.airdropFetchers = [
|
|
670
674
|
zeta_1.airdropFetcher,
|
671
675
|
...tensor_1.tensorAirdropFetchers,
|
672
676
|
sonic_1.airdropFetcher,
|
677
|
+
solayer_1.airdropFetcher,
|
673
678
|
];
|
674
679
|
exports.airdropFetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.airdropFetchers);
|
675
680
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAIA,wFAAqF;AACrF,wEAAgD;AAChD,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,yCAIwB;AACxB,+CAI2B;AAC3B,y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AChB,GAAG,mBAAgB;IACnB,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,gBAAa;IAChB,GAAG,iBAAc;IACjB,GAAG,mBAAgB;IACnB,GAAG,gBAAa;IAChB,GAAG,gBAAa;CACjB,CAAC;AACW,QAAA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC;AAE/D,QAAA,eAAe,GAAqB;IAC/C,GAAG,yBAAsB;IACzB,GAAG,wBAAqB;IACxB,GAAG,yBAAsB;IACzB,sBAAmB;IACnB,sBAAmB;IACnB,yBAAsB;IACtB,sBAAmB;IACnB,GAAG,0BAAuB;IAC1B,wBAAqB;IACrB,wBAAqB;IACrB,sBAAmB;IACnB,GAAG,4BAAyB;IAC5B,0BAAuB;IACvB,+BAA+B;IAC/B,qBAAkB;IAClB,GAAG,8BAAqB;IACxB,sBAAmB;CACpB,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/plugins/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAIA,wFAAqF;AACrF,wEAAgD;AAChD,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,yCAIwB;AACxB,+CAI2B;AAC3B,yCAIwB;AACxB,+CAI2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAIyB;AACzB,6CAI0B;AAC1B,6CAI0B;AAC1B,yCAIwB;AACxB,2DAGiC;AACjC,6CAI0B;AAC1B,2CAKyB;AACzB,2CAIyB;AACzB,qDAA6D;AAC7D,qEAIsC;AACtC,uDAI+B;AAC/B,mDAI6B;AAC7B,qDAG8B;AAC9B,uDAG+B;AAC/B,2CAIyB;AACzB,6CAK0B;AAC1B,6CAI0B;AAC1B,yCAIwB;AACxB,+CAI2B;AAC3B,uD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sB;IACzB,GAAG,wBAAqB;IACxB,GAAG,yBAAsB;IACzB,sBAAmB;IACnB,sBAAmB;IACnB,yBAAsB;IACtB,sBAAmB;IACnB,GAAG,0BAAuB;IAC1B,wBAAqB;IACrB,wBAAqB;IACrB,sBAAmB;IACnB,GAAG,4BAAyB;IAC5B,0BAAuB;IACvB,+BAA+B;IAC/B,qBAAkB;IAClB,GAAG,8BAAqB;IACxB,sBAAmB;IACnB,wBAAqB;CACtB,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/adrena/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAAiE;AAEjE,kEAA+D;AAC/D,gFAA6E;AAC7E,uCAA2C;AAC3C,+CAA8D;AAC9D,uCAA2C;AAC3C,iDAAsD;AAGtD,MAAM,aAAa,GAAG,IAAI,6BAAa,CAAkB,6BAAiB,EAAE;IAC1E,MAAM,EAAE,sBAAU;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,SAAS,GAAG,MAAM,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAErD,MAAM,SAAS,GAAG,MAAM,IAAA,iCAAwB,EAC9C,MAAM,EACN,wBAAc,EACd,eAAG,EACH,IAAA,wBAAc,EAAC,KAAK,CAAC,CACtB,CAAC;IAEF,IAAI,CAAC,SAAS;QAAE,OAAO,EAAE,CAAC;IAE1B,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OA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CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;IAC1E,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,MAAM,QAAQ,GAAG,SAAS,CAAC,IAAI,CAC7B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,CAChD,CAAC;QACF,IAAI,CAAC,QAAQ;YAAE,SAAS;QAExB,OAAO,CAAC,QAAQ,CAAC;YACf,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE;YACjC,MAAM,EAAE,QAAQ,CAAC,gBAAgB;YACjC,GAAG,EAAE,QAAQ,CAAC,MAAM;SACrB,CAAC,CAAC;IACL,CAAC;IAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,YAAY;IAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -28,7 +28,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
28
28
|
const connection = (0, clients_1.getClientSolana)();
|
29
29
|
const poolInfo = yield poolInfoMemo.getItem(cache);
|
30
30
|
if (!poolInfo)
|
31
|
-
|
31
|
+
throw new Error('Pool info not cached');
|
32
32
|
const userDepositPublicKeys = (0, helpers_1.getUserDepositPublicKeys)(poolInfo, owner);
|
33
33
|
const userDeposits = (yield (0, solana_1.getAutoParsedMultipleAccountsInfo)(connection, constants_1.allbridgeIdlItem, userDepositPublicKeys)).filter((userDeposit) => userDeposit !== null && (userDeposit === null || userDeposit === void 0 ? void 0 : userDeposit.lpAmount) !== '0');
|
34
34
|
if (userDeposits.length === 0)
|
@@ -75,6 +75,14 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
75
75
|
apr: Number(tokenPool.apr),
|
76
76
|
},
|
77
77
|
],
|
78
|
+
ref: userDeposit.pubkey.toString(),
|
79
|
+
sourceRefs: [
|
80
|
+
{
|
81
|
+
address: tokenPool.poolAddress,
|
82
|
+
name: 'Pool',
|
83
|
+
},
|
84
|
+
],
|
85
|
+
link: 'https://core.allbridge.io/pools?chain=SOL',
|
78
86
|
},
|
79
87
|
],
|
80
88
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/allbridge/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,gEAAqC;AAErC,2CAMqB;AAErB,iDAAsD;AACtD,+CAG4B;AAC5B,qGAA6E;AAE7E,uCAAgE;AAChE,kEAA+D;AAE/D,MAAM,YAAY,GAAG,IAAI,6BAAa,CAAQ,yBAAa,EAAE;IAC3D,MAAM,EAAE,uBAAW;IACnB,SAAS,EAAE,0BAAS,CAAC,MAAM;CAC5B,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAEnD,IAAI,CAAC,QAAQ;QAAE,
|
1
|
+
{"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/allbridge/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AACpC,gEAAqC;AAErC,2CAMqB;AAErB,iDAAsD;AACtD,+CAG4B;AAC5B,qGAA6E;AAE7E,uCAAgE;AAChE,kEAA+D;AAE/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EAAE;oBACX;wBACE,MAAM,EAAE,CAAC,OAAO,CAAC;wBACjB,WAAW,EAAE,OAAO,CAAC,KAAK;wBAC1B,YAAY,EAAE,aAAa;wBAC3B,iBAAiB,EAAE,IAAA,+BAAc,EAC/B,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CACpC;wBACD,KAAK;wBACL,MAAM,EAAE;4BACN;gCACE,GAAG,EAAE,IAAA,yBAAQ,EAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;gCACpC,GAAG,EAAE,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC;6BAC3B;yBACF;wBACD,GAAG,EAAE,WAAW,CAAC,MAAM,CAAC,QAAQ,EAAE;wBAClC,UAAU,EAAE;4BACV;gCACE,OAAO,EAAE,SAAS,CAAC,WAAW;gCAC9B,IAAI,EAAE,MAAM;6BACb;yBACF;wBACD,IAAI,EAAE,2CAA2C;qBAClD;iBACF;aACF;YACD,IAAI,EAAE,SAAS,CAAC,IAAI;SACrB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,YAAY;IAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -23,7 +23,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
23
23
|
networkId: portfolio_core_1.NetworkId.solana,
|
24
24
|
});
|
25
25
|
if (!pools)
|
26
|
-
|
26
|
+
throw new Error('No pools cached');
|
27
27
|
const mintByPool = new Map();
|
28
28
|
pools.forEach((pool) => mintByPool.set(pool.pubkey, pool.mint));
|
29
29
|
const stakeAccounts = yield (0, solana_1.getParsedProgramAccounts)(client, structs_1.StakeDepositReceiptStruct, constants_1.stakePid, (0, filters_1.stakeFilters)(owner));
|
@@ -43,6 +43,9 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
43
43
|
label: 'Staked',
|
44
44
|
platformId: platform,
|
45
45
|
ref: stakeAccount.pubkey,
|
46
|
+
sourceRefs: [
|
47
|
+
{ name: 'Pool', address: stakeAccount.stakePool.toString() },
|
48
|
+
],
|
46
49
|
});
|
47
50
|
const lockedUntil = new Date(stakeAccount.depositTimestamp
|
48
51
|
.plus(stakeAccount.lockupDuration)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/armada-staking/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAMqB;AACrB,+CAA8D;AAC9D,uCAAsD;AACtD,uCAAyC;AACzC,iDAAsD;AAEtD,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,OAAO,CAAa,oBAAQ,EAAE;QACtD,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IACH,IAAI,CAAC,KAAK;QAAE,
|
1
|
+
{"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/armada-staking/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAMqB;AACrB,+CAA8D;AAC9D,uCAAsD;AACtD,uCAAyC;AACzC,iDAAsD;AAEtD,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,KAAK,GAAG,MAAM,KAAK,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,EAAE,YAAY,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE;aAC7D;SACF,CAAC,CAAC;QAEH,MAAM,WAAW,GAAG,IAAI,IAAI,CAC1B,YAAY,CAAC,gBAAgB;aAC1B,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC;aACjC,KAAK,CAAC,IAAI,CAAC;aACX,QAAQ,EAAE,CACd,CAAC,OAAO,EAAE,CAAC;QAEZ,OAAO,CAAC,QAAQ,CAAC;YACf,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,YAAY,CAAC,aAAa;YAClC,UAAU,EAAE;gBACV,WAAW;aACZ;SACF,CAAC,CAAC;IACL,CAAC;IAED,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,EAAE;IACnB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -32,7 +32,11 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
32
32
|
label: 'Staked',
|
33
33
|
networkId: portfolio_core_1.NetworkId.solana,
|
34
34
|
platformId: constants_1.platformId,
|
35
|
-
data: {
|
35
|
+
data: {
|
36
|
+
assets: [asset],
|
37
|
+
ref: stakingAccount.pubkey.toString(),
|
38
|
+
link: 'https://app.aurory.io/staking',
|
39
|
+
},
|
36
40
|
value: asset.value,
|
37
41
|
},
|
38
42
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aurory/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AAGpC,2CAA8D;AAC9D,iDAAsD;AACtD,uCAAqD;AACrD,kFAA+E;AAC/E,uCAAqD;AACrD,qGAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,cAAc,GAAG,MAAM,IAAA,2CAAoB,EAC/C,MAAM,EACN,kCAAwB,EACxB,IAAA,kCAAwB,EAAC,KAAK,CAAC,CAChC,CAAC;IAEF,IAAI,CAAC,cAAc,IAAI,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,CAAC;IAEjE,MAAM,UAAU,GAAG,MAAM,KAAK,CAAC,aAAa,CAAC,qBAAS,EAAE,0BAAS,CAAC,MAAM,CAAC,CAAC;IAE1E,MAAM,KAAK,GAAmB,IAAA,gCAAsB,EAClD,qBAAS,EACT,cAAc,CAAC,MAAM,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,oBAAQ,CAAA,CAAC,CAAC,QAAQ,EAAE,EAC1D,0BAAS,CAAC,MAAM,EAChB,UAAU,CACX,CAAC;IACF,OAAO;QACL;YACE,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,
|
1
|
+
{"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aurory/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AAGpC,2CAA8D;AAC9D,iDAAsD;AACtD,uCAAqD;AACrD,kFAA+E;AAC/E,uCAAqD;AACrD,qGAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,cAAc,GAAG,MAAM,IAAA,2CAAoB,EAC/C,MAAM,EACN,kCAAwB,EACxB,IAAA,kCAAwB,EAAC,KAAK,CAAC,CAChC,CAAC;IAEF,IAAI,CAAC,cAAc,IAAI,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,CAAC;IAEjE,MAAM,UAAU,GAAG,MAAM,KAAK,CAAC,aAAa,CAAC,qBAAS,EAAE,0BAAS,CAAC,MAAM,CAAC,CAAC;IAE1E,MAAM,KAAK,GAAmB,IAAA,gCAAsB,EAClD,qBAAS,EACT,cAAc,CAAC,MAAM,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,oBAAQ,CAAA,CAAC,CAAC,QAAQ,EAAE,EAC1D,0BAAS,CAAC,MAAM,EAChB,UAAU,CACX,CAAC;IACF,OAAO;QACL;YACE,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE;gBACJ,MAAM,EAAE,CAAC,KAAK,CAAC;gBACf,GAAG,EAAE,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE;gBACrC,IAAI,EAAE,+BAA+B;aACtC;YACD,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -8,40 +8,43 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
9
|
});
|
10
10
|
};
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
|
-
};
|
14
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
12
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
13
|
const constants_1 = require("./constants");
|
17
14
|
const clients_1 = require("../../utils/clients");
|
18
15
|
const solana_1 = require("../../utils/solana");
|
19
16
|
const structs_1 = require("./structs");
|
20
|
-
const
|
17
|
+
const ElementRegistry_1 = require("../../utils/elementbuilder/ElementRegistry");
|
21
18
|
const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
|
22
19
|
const connection = (0, clients_1.getClientSolana)();
|
23
|
-
const categoryOfferAccounts = yield
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
20
|
+
const [categoryOfferAccounts, offerAccounts] = yield Promise.all([
|
21
|
+
(0, solana_1.getParsedProgramAccounts)(connection, structs_1.categoryOfferStruct, constants_1.offerPid, [
|
22
|
+
{ memcmp: { offset: 0, bytes: 'C' } },
|
23
|
+
{
|
24
|
+
memcmp: {
|
25
|
+
bytes: owner,
|
26
|
+
offset: 50,
|
27
|
+
},
|
29
28
|
},
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
29
|
+
]),
|
30
|
+
(0, solana_1.getParsedProgramAccounts)(connection, structs_1.offerStruct, constants_1.offerPid, [
|
31
|
+
{ memcmp: { offset: 0, bytes: '2' } },
|
32
|
+
{
|
33
|
+
memcmp: {
|
34
|
+
bytes: owner,
|
35
|
+
offset: 34,
|
36
|
+
},
|
38
37
|
},
|
39
|
-
|
38
|
+
]),
|
40
39
|
]);
|
41
|
-
if (offerAccounts
|
40
|
+
if (!offerAccounts && categoryOfferAccounts)
|
42
41
|
return [];
|
43
42
|
const tokenPrices = yield cache.getTokenPricesAsMap([...offerAccounts.map((a) => a.mint.toString()), portfolio_core_1.solanaNativeAddress], portfolio_core_1.NetworkId.solana);
|
44
|
-
const
|
43
|
+
const registry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
44
|
+
const offerElement = registry.addElementMultiple({
|
45
|
+
label: 'Deposit',
|
46
|
+
link: `https://www.sns.id/profile?pubkey=${owner}&tab=offers`,
|
47
|
+
});
|
45
48
|
[
|
46
49
|
...offerAccounts,
|
47
50
|
...categoryOfferAccounts.map((a) => (Object.assign(Object.assign({}, a), { mint: portfolio_core_1.solanaNativeAddress }))),
|
@@ -51,23 +54,13 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
51
54
|
const tokenPrice = tokenPrices.get(acc.mint.toString());
|
52
55
|
if (!tokenPrice)
|
53
56
|
return;
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
+
offerElement.addAsset({
|
58
|
+
address: acc.mint.toString(),
|
59
|
+
amount: acc.amount,
|
60
|
+
ref: acc.pubkey.toString(),
|
61
|
+
});
|
57
62
|
});
|
58
|
-
|
59
|
-
return [];
|
60
|
-
const element = {
|
61
|
-
networkId: portfolio_core_1.NetworkId.solana,
|
62
|
-
label: 'Deposit',
|
63
|
-
platformId: constants_1.platformId,
|
64
|
-
type: portfolio_core_1.PortfolioElementType.multiple,
|
65
|
-
value: (0, portfolio_core_1.getUsdValueSum)(assets.map((a) => a.value)),
|
66
|
-
data: {
|
67
|
-
assets,
|
68
|
-
},
|
69
|
-
};
|
70
|
-
return [element];
|
63
|
+
return registry.getElements(cache);
|
71
64
|
});
|
72
65
|
const fetcher = {
|
73
66
|
id: `${constants_1.platformId}-offers`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"offersFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonfida/offersFetcher.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"offersFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonfida/offersFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA4E;AAE5E,2CAAmD;AAEnD,iDAAsD;AACtD,+CAA8D;AAC9D,uCAA6D;AAC7D,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,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CAAC,KAAE,IAAI,EAAE,oCAAmB,IAAG,CAAC;KAC3E,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAChB,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;YAAE,OAAO;QAChC,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QACxD,IAAI,CAAC,UAAU;YAAE,OAAO;QAExB,YAAY,CAAC,QAAQ,CAAC;YACpB,OAAO,EAAE,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE;YAC5B,MAAM,EAAE,GAAG,CAAC,MAAM;YAClB,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE;SAC3B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AACrC,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -8,9 +8,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
9
|
});
|
10
10
|
};
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
|
-
};
|
14
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
12
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
13
|
const constants_1 = require("./constants");
|
@@ -18,36 +15,33 @@ const clients_1 = require("../../utils/clients");
|
|
18
15
|
const solana_1 = require("../../utils/solana");
|
19
16
|
const structs_1 = require("./structs");
|
20
17
|
const filters_1 = require("./filters");
|
21
|
-
const
|
18
|
+
const ElementRegistry_1 = require("../../utils/elementbuilder/ElementRegistry");
|
22
19
|
const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
|
23
20
|
const client = (0, clients_1.getClientSolana)();
|
24
21
|
const accounts = yield (0, solana_1.getParsedProgramAccounts)(client, structs_1.stakeDepositReceiptStruct, constants_1.stakePid, (0, filters_1.stakeDepositReceiptFilter)(owner));
|
25
22
|
if (accounts.length === 0)
|
26
23
|
return [];
|
27
|
-
const
|
28
|
-
const
|
24
|
+
const registry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
25
|
+
const stakeElement = registry.addElementMultiple({
|
26
|
+
label: 'Staked',
|
27
|
+
link: 'https://bonkrewards.com/',
|
28
|
+
});
|
29
29
|
for (const account of accounts) {
|
30
|
+
if (account.depositAmount.isZero())
|
31
|
+
continue;
|
30
32
|
const lockedUntil = (account.depositTimestamp.toNumber() +
|
31
33
|
account.lockupDuration.toNumber()) *
|
32
34
|
1000;
|
33
|
-
|
34
|
-
|
35
|
-
|
35
|
+
stakeElement.addAsset({
|
36
|
+
address: constants_1.bonkMint,
|
37
|
+
amount: account.depositAmount,
|
38
|
+
ref: account.pubkey,
|
39
|
+
attributes: {
|
36
40
|
lockedUntil,
|
37
|
-
}
|
41
|
+
},
|
42
|
+
});
|
38
43
|
}
|
39
|
-
|
40
|
-
return [];
|
41
|
-
return [
|
42
|
-
{
|
43
|
-
type: portfolio_core_1.PortfolioElementType.multiple,
|
44
|
-
label: 'Staked',
|
45
|
-
networkId: portfolio_core_1.NetworkId.solana,
|
46
|
-
platformId: constants_1.platformId,
|
47
|
-
data: { assets },
|
48
|
-
value: (0, portfolio_core_1.getUsdValueSum)(assets.map((asset) => asset.value)),
|
49
|
-
},
|
50
|
-
];
|
44
|
+
return registry.getElements(cache);
|
51
45
|
});
|
52
46
|
const fetcher = {
|
53
47
|
id: `${constants_1.platformId}-staking`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"positionFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonkrewards/positionFetcher.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"positionFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bonkrewards/positionFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAA6D;AAE7D,iDAAsD;AACtD,+CAA8D;AAC9D,uCAAsD;AACtD,uCAAsD;AACtD,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,MAAM,EACN,mCAAyB,EACzB,oBAAQ,EACR,IAAA,mCAAyB,EAAC,KAAK,CAAC,CACjC,CAAC;IACF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IACnE,MAAM,YAAY,GAAG,QAAQ,CAAC,kBAAkB,CAAC;QAC/C,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,0BAA0B;KACjC,CAAC,CAAC;IAEH,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,IAAI,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE;YAAE,SAAS;QAE7C,MAAM,WAAW,GACf,CAAC,OAAO,CAAC,gBAAgB,CAAC,QAAQ,EAAE;YAClC,OAAO,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC;YACpC,IAAI,CAAC;QAEP,YAAY,CAAC,QAAQ,CAAC;YACpB,OAAO,EAAE,oBAAQ;YACjB,MAAM,EAAE,OAAO,CAAC,aAAa;YAC7B,GAAG,EAAE,OAAO,CAAC,MAAM;YACnB,UAAU,EAAE;gBACV,WAAW;aACZ;SACF,CAAC,CAAC;IACL,CAAC;IAED,OAAO,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AACrC,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -32,6 +32,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
32
32
|
const element = elementRegistry.addElementMultiple({
|
33
33
|
label: 'Deposit',
|
34
34
|
name: 'Thor V3',
|
35
|
+
link: 'https://legacy.cyberfrogs.io/faction-contracts-v3',
|
35
36
|
});
|
36
37
|
accounts.forEach((deposit) => {
|
37
38
|
element.addAsset({
|
@@ -40,6 +41,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
40
41
|
attributes: {
|
41
42
|
lockedUntil: deposit.endTs.times(1000).toNumber(),
|
42
43
|
},
|
44
|
+
ref: deposit.pubkey,
|
43
45
|
});
|
44
46
|
});
|
45
47
|
return elementRegistry.getElements(cache);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"thorDepositFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/thorDepositFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAA8C;AAE9C,iDAAsD;AACtD,uCAA0C;AAC1C,gFAA6E;AAC7E,+CAA8E;AAE9E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,UAAU,EACV,uBAAa,EACb,eAAG,EACH;QACE;YACE,MAAM,EAAE;gBACN,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,EAAE;aACX;SACF;QACD;YACE,QAAQ,EAAE,EAAE;SACb;KACF,CACF,CAAC;IAEF,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,CAAC,kBAAkB,CAAC;QACjD,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;
|
1
|
+
{"version":3,"file":"thorDepositFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/thorDepositFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAA8C;AAE9C,iDAAsD;AACtD,uCAA0C;AAC1C,gFAA6E;AAC7E,+CAA8E;AAE9E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,UAAU,EACV,uBAAa,EACb,eAAG,EACH;QACE;YACE,MAAM,EAAE;gBACN,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,EAAE;aACX;SACF;QACD;YACE,QAAQ,EAAE,EAAE;SACb;KACF,CACF,CAAC;IAEF,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,CAAC,kBAAkB,CAAC;QACjD,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,mDAAmD;KAC1D,CAAC,CAAC;IAEH,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,OAAO,CAAC,QAAQ,CAAC;YACf,OAAO,EAAE,uBAAc;YACvB,MAAM,EAAE,OAAO,CAAC,cAAc;YAC9B,UAAU,EAAE;gBACV,WAAW,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;aAClD;YACD,GAAG,EAAE,OAAO,CAAC,MAAM;SACpB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,eAAe;IAChC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -8,9 +8,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
9
9
|
});
|
10
10
|
};
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
|
-
};
|
14
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
12
|
const portfolio_core_1 = require("@sonarwatch/portfolio-core");
|
16
13
|
const web3_js_1 = require("@solana/web3.js");
|
@@ -19,8 +16,8 @@ const clients_1 = require("../../utils/clients");
|
|
19
16
|
const solana_1 = require("../../utils/solana");
|
20
17
|
const realms_1 = require("./structs/realms");
|
21
18
|
const filters_1 = require("./filters");
|
22
|
-
const tokenPriceToAssetToken_1 = __importDefault(require("../../utils/misc/tokenPriceToAssetToken"));
|
23
19
|
const helpers_1 = require("./helpers");
|
20
|
+
const ElementRegistry_1 = require("../../utils/elementbuilder/ElementRegistry");
|
24
21
|
const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
|
25
22
|
const client = (0, clients_1.getClientSolana)();
|
26
23
|
const realmData = yield cache.getItem('data', {
|
@@ -28,7 +25,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
28
25
|
networkId: portfolio_core_1.NetworkId.solana,
|
29
26
|
});
|
30
27
|
if (!realmData)
|
31
|
-
|
28
|
+
throw new Error('Realm data not cached');
|
32
29
|
const splGovPrograms = realmData.govPrograms;
|
33
30
|
const registrarById = new Map();
|
34
31
|
const mintsSet = new Set();
|
@@ -36,37 +33,35 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
36
33
|
realmData.registrars.forEach((registrarInfo) => {
|
37
34
|
voterAccountsPubKeys.push((0, helpers_1.getVoterPda)(owner, registrarInfo.pubkey, registrarInfo.vsr));
|
38
35
|
mintsSet.add(registrarInfo.mint);
|
39
|
-
registrarById.set(registrarInfo.pubkey, registrarInfo
|
36
|
+
registrarById.set(registrarInfo.pubkey, registrarInfo);
|
40
37
|
});
|
41
|
-
const tempVoterAccounts = yield (0, solana_1.getParsedMultipleAccountsInfo)(client, realms_1.voterStruct, voterAccountsPubKeys);
|
42
38
|
const getAccountSplGovPromises = [];
|
43
39
|
if (splGovPrograms) {
|
44
40
|
for (const program of splGovPrograms) {
|
45
41
|
getAccountSplGovPromises.push((0, solana_1.getParsedProgramAccounts)(client, realms_1.voteStruct, new web3_js_1.PublicKey(program), (0, filters_1.voteFilters)(owner)));
|
46
42
|
}
|
47
43
|
}
|
48
|
-
const splGovAccounts =
|
44
|
+
const [splGovAccounts, tempVoterAccounts] = yield Promise.all([
|
45
|
+
(yield Promise.all(getAccountSplGovPromises)).flat(),
|
46
|
+
(0, solana_1.getParsedMultipleAccountsInfo)(client, realms_1.voterStruct, voterAccountsPubKeys),
|
47
|
+
]);
|
49
48
|
const voterAccounts = tempVoterAccounts;
|
50
49
|
if (tempVoterAccounts.length === 0 && splGovAccounts.length === 0)
|
51
50
|
return [];
|
52
51
|
splGovAccounts.forEach((account) => mintsSet.add(account.mint.toString()));
|
53
|
-
const
|
54
|
-
const
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
const realmsAssets = [];
|
60
|
-
for (const voteAccount of splGovAccounts) {
|
52
|
+
const registry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
53
|
+
const depositElement = registry.addElementMultiple({
|
54
|
+
label: 'Deposit',
|
55
|
+
link: 'https://app.realms.today/realms',
|
56
|
+
});
|
57
|
+
for (const voteAccount of splGovAccounts.flat()) {
|
61
58
|
if (voteAccount.amount.isZero())
|
62
59
|
continue;
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
const asset = (0, tokenPriceToAssetToken_1.default)(tokenMint, amount, portfolio_core_1.NetworkId.solana, tokenPrice);
|
69
|
-
realmsAssets.push(asset);
|
60
|
+
depositElement.addAsset({
|
61
|
+
address: voteAccount.mint.toString(),
|
62
|
+
amount: voteAccount.amount,
|
63
|
+
ref: voteAccount.pubkey.toString(),
|
64
|
+
});
|
70
65
|
}
|
71
66
|
for (const voterAccount of voterAccounts) {
|
72
67
|
if (!voterAccount)
|
@@ -74,32 +69,23 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
74
69
|
const registrar = registrarById.get(voterAccount.registrar.toString());
|
75
70
|
if (!registrar)
|
76
71
|
continue;
|
77
|
-
const mint = registrar;
|
78
|
-
const tP = tokenPriceByMint.get(mint);
|
79
|
-
if (!tP)
|
80
|
-
continue;
|
72
|
+
const { mint } = registrar;
|
81
73
|
for (const deposit of voterAccount.deposits) {
|
82
74
|
if (!deposit.amountDepositedNative.isZero()) {
|
83
|
-
const asset = (0, tokenPriceToAssetToken_1.default)(mint, deposit.amountDepositedNative.dividedBy(Math.pow(10, tP.decimals)).toNumber(), portfolio_core_1.NetworkId.solana, tP);
|
84
75
|
const lockedUntil = (0, helpers_1.getLockedUntil)(deposit.lockup.startTs, deposit.lockup.endTs, deposit.lockup.kind);
|
85
|
-
|
76
|
+
depositElement.addAsset({
|
77
|
+
address: mint,
|
78
|
+
amount: deposit.amountDepositedNative,
|
79
|
+
ref: voterAccount.pubkey.toString(),
|
80
|
+
attributes: {
|
81
|
+
lockedUntil,
|
82
|
+
},
|
83
|
+
sourceRefs: [{ name: 'Vault', address: registrar.pubkey }],
|
84
|
+
});
|
86
85
|
}
|
87
86
|
}
|
88
87
|
}
|
89
|
-
|
90
|
-
if (realmsAssets.length > 0) {
|
91
|
-
elements.push({
|
92
|
-
networkId: portfolio_core_1.NetworkId.solana,
|
93
|
-
platformId: constants_1.platformId,
|
94
|
-
type: 'multiple',
|
95
|
-
label: 'Deposit',
|
96
|
-
value: (0, portfolio_core_1.getUsdValueSum)(realmsAssets.map((a) => a.value)),
|
97
|
-
data: {
|
98
|
-
assets: realmsAssets,
|
99
|
-
},
|
100
|
-
});
|
101
|
-
}
|
102
|
-
return elements;
|
88
|
+
return registry.getElements(cache);
|
103
89
|
});
|
104
90
|
const fetcher = {
|
105
91
|
id: `${constants_1.platformId}-deposits`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"realmsDepositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/realmsDepositsFetcher.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"realmsDepositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/daos/realmsDepositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AACvD,6CAA4C;AAG5C,2CAAyC;AACzC,iDAAsD;AACtD,+CAG4B;AAC5B,6CAA2D;AAC3D,uCAAwC;AACxC,uCAAwD;AAExD,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,OAAO,CAAY,MAAM,EAAE;QACvD,MAAM,EAAE,sBAAU;QAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;KAC5B,CAAC,CAAC;IAEH,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAE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