@sonarwatch/portfolio-plugins 0.14.127 → 0.14.129
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 +2124 -2110
- package/README.md +3 -3
- package/package.json +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +8 -1
- 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/balancer/helpers/pools.js +21 -21
- 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/drift-market-maker-vault/index.js +5 -2
- package/src/plugins/drift-market-maker-vault/index.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 +5 -1
- package/src/plugins/jupiter/exchange/dcaFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/limitFetcher.js +2 -0
- package/src/plugins/jupiter/exchange/limitFetcher.js.map +1 -1
- package/src/plugins/jupiter/exchange/valueAverageFetcher.js +1 -0
- 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 -0
- 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/pluto/earnFetcher.js +1 -1
- package/src/plugins/pluto/earnFetcher.js.map +1 -1
- package/src/plugins/pluto/leverageFetcher.js +37 -26
- package/src/plugins/pluto/leverageFetcher.js.map +1 -1
- package/src/plugins/pluto/structs.d.ts +0 -2
- package/src/plugins/pluto/structs.js +0 -2
- package/src/plugins/pluto/structs.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/sushiswap/helpers.js +24 -24
- 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/tokens/fetchers/solana-simple.d.ts +3 -0
- package/src/plugins/tokens/fetchers/solana-simple.js +66 -0
- package/src/plugins/tokens/fetchers/solana-simple.js.map +1 -0
- package/src/plugins/tokens/getTokenListsJob.js +1 -1
- package/src/plugins/tokens/getTokenListsJob.js.map +1 -1
- package/src/plugins/tokens/index.d.ts +2 -0
- package/src/plugins/tokens/index.js +3 -1
- package/src/plugins/tokens/index.js.map +1 -1
- package/src/plugins/tulip/depositsFetcher.js +3 -1
- package/src/plugins/tulip/depositsFetcher.js.map +1 -1
- package/src/plugins/uniswap-v2/helpers.js +22 -22
- 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/airdropFetcher.js +14 -14
- package/src/plugins/zeta/depositsFetcher.js +5 -1
- package/src/plugins/zeta/depositsFetcher.js.map +1 -1
- package/src/utils/sei/constants.js +8 -8
- package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -94,12 +94,12 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
94
94
|
.toNumber();
|
95
95
|
if (fill === 0 && offer.status === structs_1.OfferStatus.Closed)
|
96
96
|
continue;
|
97
|
-
const collatAsset = (0, tokenPriceToAssetToken_1.default)(mint, collateral, portfolio_core_1.NetworkId.solana, tokenPrice, undefined, {
|
97
|
+
const collatAsset = Object.assign(Object.assign({}, (0, tokenPriceToAssetToken_1.default)(mint, collateral, portfolio_core_1.NetworkId.solana, tokenPrice, undefined, {
|
98
98
|
tags: isEnded
|
99
99
|
? undefined
|
100
100
|
: [`${structs_1.OfferType[offer.offerType]} Offer`, `${fill}% Filled`],
|
101
101
|
isClaimable: isEnded ? true : undefined,
|
102
|
-
});
|
102
|
+
})), { ref: offer.pubkey.toString() });
|
103
103
|
const existingAssets = assetsById.get(id);
|
104
104
|
if (!existingAssets) {
|
105
105
|
assetsById.set(id, [collatAsset]);
|
@@ -133,9 +133,11 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
133
133
|
const amountToCollatAmount = collateral.dividedBy(offer.totalAmount);
|
134
134
|
const amount = order.amount.times(amountToCollatAmount).toNumber();
|
135
135
|
const side = offer.offerType === structs_1.OfferType.Buy ? 'Sell Order' : 'Buy Order';
|
136
|
-
const collatAsset = (0, tokenPriceToAssetToken_1.default)(mint, amount, portfolio_core_1.NetworkId.solana, tokenPrice, undefined, {
|
136
|
+
const collatAsset = Object.assign(Object.assign({}, (0, tokenPriceToAssetToken_1.default)(mint, amount, portfolio_core_1.NetworkId.solana, tokenPrice, undefined, {
|
137
137
|
tags: [side],
|
138
|
-
})
|
138
|
+
})), { ref: order.pubkey.toString(), sourceRefs: [
|
139
|
+
{ name: 'Pool', address: offer.pubkey.toString() },
|
140
|
+
] });
|
139
141
|
const existingAssets = assetsById.get(id);
|
140
142
|
if (!existingAssets) {
|
141
143
|
assetsById.set(id, [collatAsset]);
|
@@ -166,7 +168,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
166
168
|
name: `${type} : ${info.symbol} (${info.status})`,
|
167
169
|
networkId: portfolio_core_1.NetworkId.solana,
|
168
170
|
platformId: constants_1.platformId,
|
169
|
-
data: { assets },
|
171
|
+
data: { assets, link: 'https://pro.whales.market/dashboard' },
|
170
172
|
value: (0, portfolio_core_1.getUsdValueSum)(assets.map((asset) => asset.value)),
|
171
173
|
});
|
172
174
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"depositFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/whalesmarket/depositFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+
|
1
|
+
{"version":3,"file":"depositFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/whalesmarket/depositFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,6CAA4C;AAG5C,2CAAyD;AACzD,iDAAsD;AACtD,+CAI4B;AAC5B,uCAQmB;AACnB,uCAAyE;AACzE,qGAA6E;AAC7E,mCAA0C;AAE1C,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACpE,IAAA,iCAAwB,EAAC,MAAM,EAAE,qBAAW,EAAE,eAAG,EAAE,IAAA,qBAAW,EAAC,KAAK,CAAC,CAAC;QACtE,IAAA,iCAAwB,EAAC,MAAM,EAAE,qBAAW,EAAE,eAAG,EAAE,IAAA,wBAAc,EAAC,KAAK,CAAC,CAAC;QACzE,IAAA,iCAAwB,EAAC,MAAM,EAAE,qBAAW,EAAE,eAAG,EAAE,IAAA,yBAAe,EAAC,KAAK,CAAC,CAAC;QAC1E,KAAK,CAAC,OAAO,CAAU,qBAAS,EAAE;YAChC,MAAM,EAAE,sBAAU;YAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;SAC5B,CAAC;KACH,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,CAAC,GAAG,UAAU,EAAE,GAAG,SAAS,CA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,MAAM,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAElC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI;YAAE,SAAS;QAC/B,IAAI,IAAI,CAAC;QACT,IAAI,IAAI,CAAC,QAAQ,KAAK,gBAAQ,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,GAAG,QAAQ,CAAC;QAClB,CAAC;aAAM,IAAI,IAAI,CAAC,QAAQ,KAAK,gBAAQ,CAAC,SAAS,EAAE,CAAC;YAChD,IAAI,GAAG,YAAY,CAAC;QACtB,CAAC;QAED,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,GAAG,IAAI,MAAM,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM,GAAG;YACjD,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,qCAAqC,EAAE;YAC7D,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC1D,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,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"}
|
@@ -24,6 +24,8 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
24
24
|
const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
|
25
25
|
const element = elementRegistry.addElementMultiple({
|
26
26
|
label: 'Deposit',
|
27
|
+
ref: userAccount.pubkey,
|
28
|
+
link: 'https://www.zelofi.io/dapp',
|
27
29
|
});
|
28
30
|
element.addAsset({
|
29
31
|
address: portfolio_core_1.solanaNativeAddress,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zelo/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA4E;AAC5E,6CAA4C;AAE5C,2CAAoD;AAEpD,iDAAsD;AACtD,uCAA6C;AAC7C,gFAA6E;AAC7E,kFAA+E;AAE/E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,WAAW,GAAG,MAAM,IAAA,2CAAoB,EAC5C,UAAU,EACV,0BAAgB,EAChB,mBAAS,CAAC,sBAAsB,CAC9B,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,EACzD,qBAAS,CACV,CAAC,CAAC,CAAC,CACL,CAAC;IAEF,IAAI,CAAC,WAAW;QAAE,OAAO,EAAE,CAAC;IAE5B,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;
|
1
|
+
{"version":3,"file":"positionsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zelo/positionsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA4E;AAC5E,6CAA4C;AAE5C,2CAAoD;AAEpD,iDAAsD;AACtD,uCAA6C;AAC7C,gFAA6E;AAC7E,kFAA+E;AAE/E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,WAAW,GAAG,MAAM,IAAA,2CAAoB,EAC5C,UAAU,EACV,0BAAgB,EAChB,mBAAS,CAAC,sBAAsB,CAC9B,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,mBAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,EACzD,qBAAS,CACV,CAAC,CAAC,CAAC,CACL,CAAC;IAEF,IAAI,CAAC,WAAW;QAAE,OAAO,EAAE,CAAC;IAE5B,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,GAAG,EAAE,WAAW,CAAC,MAAM;QACvB,IAAI,EAAE,4BAA4B;KACnC,CAAC,CAAC;IAEH,OAAO,CAAC,QAAQ,CAAC;QACf,OAAO,EAAE,oCAAmB;QAC5B,MAAM,EAAE,WAAW,CAAC,UAAU;KAC/B,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,YAAY;IAC7B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -40,20 +40,20 @@ const clients_1 = require("../../utils/clients");
|
|
40
40
|
const getMultipleAccountsInfoSafe_1 = require("../../utils/solana/getMultipleAccountsInfoSafe");
|
41
41
|
const helpers_1 = require("./helpers");
|
42
42
|
const AirdropFetcher_1 = require("../../AirdropFetcher");
|
43
|
-
const query = (0, graphql_request_1.gql) `
|
44
|
-
query GetAirdropFinalFrontend($authority: String!) {
|
45
|
-
getAirdropFinalFrontend(authority: $authority) {
|
46
|
-
authority
|
47
|
-
community_allocation
|
48
|
-
eligibility
|
49
|
-
main_allocation
|
50
|
-
og_allocation
|
51
|
-
s1_allocation
|
52
|
-
s2_allocation
|
53
|
-
total_allocation
|
54
|
-
__typename
|
55
|
-
}
|
56
|
-
}
|
43
|
+
const query = (0, graphql_request_1.gql) `
|
44
|
+
query GetAirdropFinalFrontend($authority: String!) {
|
45
|
+
getAirdropFinalFrontend(authority: $authority) {
|
46
|
+
authority
|
47
|
+
community_allocation
|
48
|
+
eligibility
|
49
|
+
main_allocation
|
50
|
+
og_allocation
|
51
|
+
s1_allocation
|
52
|
+
s2_allocation
|
53
|
+
total_allocation
|
54
|
+
__typename
|
55
|
+
}
|
56
|
+
}
|
57
57
|
`;
|
58
58
|
const networkId = portfolio_core_1.NetworkId.solana;
|
59
59
|
const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
@@ -49,7 +49,11 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
49
49
|
platformId: constants_1.platformId,
|
50
50
|
name: `N° ${account.subaccountIndex.toString()}`,
|
51
51
|
type: portfolio_core_1.PortfolioElementType.multiple,
|
52
|
-
data: {
|
52
|
+
data: {
|
53
|
+
assets: [asset],
|
54
|
+
ref: account.pubkey.toString(),
|
55
|
+
link: 'https://dex.zeta.markets/portfolio',
|
56
|
+
},
|
53
57
|
value: asset.value,
|
54
58
|
});
|
55
59
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,6CAA4C;AAG5C,2CAAoD;AACpD,iDAAsD;AACtD,uCAAmD;AACnD,+CAG4B;AAC5B,uCAAqD;AACrD,qGAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAA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AAO,CAAC,eAAe,CAAC,QAAQ,EAAE,EAAE;YAChD,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,IAAI,EAAE,
|
1
|
+
{"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zeta/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,6CAA4C;AAG5C,2CAAoD;AACpD,iDAAsD;AACtD,uCAAmD;AACnD,+CAG4B;AAC5B,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,KAAK,CAAC,aAAa,CAC9C,uBAAc,EACd,0BAAS,CAAC,MAAM,CACjB,CAAC;IACF,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,CAAC;IAE/B,IAAI,EAAE,GAAG,CAAC,CAAC;IACX,MAAM,YAAY,GAAG,EAAE,CAAC;IACxB,IAAI,aAAa,CAAC;IAClB,GAAG,CAAC;QACF,MAAM,cAAc,GAAG,IAAA,gCAAsB,EAC3C,qBAAS,EACT,IAAI,mBAAS,CAAC,KAAK,CAAC,EACpB,EAAE,EACF,EAAE,GAAG,CAAC,CACP,CAAC;QACF,aAAa,GAAG,MAAM,IAAA,sCAA6B,EACjD,MAAM,EACN,kCAAwB,EACxB,cAAc,CACf,CAAC;QACF,YAAY,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC;QACpC,EAAE,IAAI,CAAC,CAAC;IACV,CAAC,QAAQ,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE;IAE9C,MAAM,QAAQ,GAAuB,EAAE,CAAC;IACxC,IAAI,CAAC,YAAY;QAAE,OAAO,QAAQ,CAAC;IAEnC,KAAK,MAAM,OAAO,IAAI,YAAY,EAAE,CAAC;QACnC,IAAI,CAAC,OAAO;YAAE,SAAS;QACvB,IAAI,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE;YAAE,SAAS;QACvC,MAAM,KAAK,GAAmB,IAAA,gCAAsB,EAClD,uBAAc,EACd,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,cAAc,CAAC,QAAQ,CAAA,CAAC,CAAC,QAAQ,EAAE,EACnE,0BAAS,CAAC,MAAM,EAChB,cAAc,CACf,CAAC;QACF,QAAQ,CAAC,IAAI,CAAC;YACZ,KAAK,EAAE,SAAS;YAChB,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,MAAM,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,EAAE;YAChD,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,IAAI,EAAE;gBACJ,MAAM,EAAE,CAAC,KAAK,CAAC;gBACf,GAAG,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE;gBAC9B,IAAI,EAAE,oCAAoC;aAC3C;YACD,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -1,16 +1,16 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.poolQueryMsg = exports.minterQueryMsg = exports.tokenInfoQueryMsg = exports.infoQueryMsg = void 0;
|
4
|
-
exports.infoQueryMsg = JSON.parse(`{
|
5
|
-
"info": {}
|
4
|
+
exports.infoQueryMsg = JSON.parse(`{
|
5
|
+
"info": {}
|
6
6
|
}`);
|
7
|
-
exports.tokenInfoQueryMsg = JSON.parse(`{
|
8
|
-
"token_info": {}
|
7
|
+
exports.tokenInfoQueryMsg = JSON.parse(`{
|
8
|
+
"token_info": {}
|
9
9
|
}`);
|
10
|
-
exports.minterQueryMsg = JSON.parse(`{
|
11
|
-
"minter": {}
|
10
|
+
exports.minterQueryMsg = JSON.parse(`{
|
11
|
+
"minter": {}
|
12
12
|
}`);
|
13
|
-
exports.poolQueryMsg = JSON.parse(`{
|
14
|
-
"pool": {}
|
13
|
+
exports.poolQueryMsg = JSON.parse(`{
|
14
|
+
"pool": {}
|
15
15
|
}`);
|
16
16
|
//# sourceMappingURL=constants.js.map
|
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
function getQueryBalanceByOwner(owner) {
|
4
|
-
return JSON.parse(`{
|
5
|
-
"balance": {
|
6
|
-
"address": "${owner}"
|
7
|
-
}
|
4
|
+
return JSON.parse(`{
|
5
|
+
"balance": {
|
6
|
+
"address": "${owner}"
|
7
|
+
}
|
8
8
|
}`);
|
9
9
|
}
|
10
10
|
exports.default = getQueryBalanceByOwner;
|