@sonarwatch/portfolio-plugins 0.14.124 → 0.14.126

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +1 -1
  3. package/src/index.d.ts +1 -0
  4. package/src/index.js +7 -1
  5. package/src/index.js.map +1 -1
  6. package/src/plugins/adrena/stakingFetcher.js +2 -0
  7. package/src/plugins/adrena/stakingFetcher.js.map +1 -1
  8. package/src/plugins/baskt/constants.d.ts +4 -1
  9. package/src/plugins/baskt/constants.js +3 -2
  10. package/src/plugins/baskt/constants.js.map +1 -1
  11. package/src/plugins/baskt/index.js +1 -5
  12. package/src/plugins/baskt/index.js.map +1 -1
  13. package/src/plugins/baskt/marketsJob.js +62 -4
  14. package/src/plugins/baskt/marketsJob.js.map +1 -1
  15. package/src/plugins/baskt/structs.d.ts +29 -14
  16. package/src/plugins/baskt/structs.js +27 -14
  17. package/src/plugins/baskt/structs.js.map +1 -1
  18. package/src/plugins/debridge/constants.js +2 -2
  19. package/src/plugins/debridge/constants.js.map +1 -1
  20. package/src/plugins/grass/stakingFetcher.js +2 -0
  21. package/src/plugins/grass/stakingFetcher.js.map +1 -1
  22. package/src/plugins/jupiter/governance/voteFetcher.js +6 -1
  23. package/src/plugins/jupiter/governance/voteFetcher.js.map +1 -1
  24. package/src/plugins/jupiter/index.d.ts +1 -0
  25. package/src/plugins/jupiter/index.js +7 -1
  26. package/src/plugins/jupiter/index.js.map +1 -1
  27. package/src/plugins/kamino/constants.js +4 -0
  28. package/src/plugins/kamino/constants.js.map +1 -1
  29. package/src/plugins/lulo/depositsFetcher.js +46 -29
  30. package/src/plugins/lulo/depositsFetcher.js.map +1 -1
  31. package/src/plugins/lulo/poolsJob.d.ts +2 -0
  32. package/src/plugins/lulo/poolsJob.js +12 -1
  33. package/src/plugins/lulo/poolsJob.js.map +1 -1
  34. package/src/plugins/lulo/types.d.ts +20 -0
  35. package/src/plugins/lulo/types.js +3 -0
  36. package/src/plugins/lulo/types.js.map +1 -0
  37. package/src/plugins/magiceden/stakingFetcher.js +5 -1
  38. package/src/plugins/magiceden/stakingFetcher.js.map +1 -1
  39. package/src/plugins/marginfi/banksJob.js +1 -1
  40. package/src/plugins/marginfi/banksJob.js.map +1 -1
  41. package/src/plugins/marginfi/helpers.js +5 -0
  42. package/src/plugins/marginfi/helpers.js.map +1 -1
  43. package/src/plugins/nosana/stakingFetcher.js +16 -22
  44. package/src/plugins/nosana/stakingFetcher.js.map +1 -1
  45. package/src/plugins/nxfinance/stakingFetcher.js +3 -0
  46. package/src/plugins/nxfinance/stakingFetcher.js.map +1 -1
  47. package/src/plugins/nxfinance/types.d.ts +1 -0
  48. package/src/plugins/pyth/stakingFetcher.js +5 -1
  49. package/src/plugins/pyth/stakingFetcher.js.map +1 -1
  50. package/src/plugins/sanctum/constants.d.ts +4 -0
  51. package/src/plugins/sanctum/constants.js +3 -1
  52. package/src/plugins/sanctum/constants.js.map +1 -1
  53. package/src/plugins/sanctum/index.js +2 -1
  54. package/src/plugins/sanctum/index.js.map +1 -1
  55. package/src/plugins/sanctum/stakingFetcher.js +54 -0
  56. package/src/plugins/sanctum/stakingFetcher.js.map +1 -0
  57. package/src/plugins/sanctum/struct.d.ts +29 -0
  58. package/src/plugins/sanctum/struct.js +28 -0
  59. package/src/plugins/sanctum/struct.js.map +1 -0
  60. package/src/plugins/sonic/stakingFetcher.js +2 -0
  61. package/src/plugins/sonic/stakingFetcher.js.map +1 -1
  62. package/src/plugins/tokens/fetchers/solana.js +2 -7
  63. package/src/plugins/tokens/fetchers/solana.js.map +1 -1
  64. package/src/plugins/wormhole/stakingFetcher.js +2 -0
  65. package/src/plugins/wormhole/stakingFetcher.js.map +1 -1
  66. package/src/plugins/x-staking-solana/constants.js +9 -0
  67. package/src/plugins/x-staking-solana/constants.js.map +1 -1
  68. package/src/plugins/zeta/stakingFetcher.js +14 -18
  69. package/src/plugins/zeta/stakingFetcher.js.map +1 -1
  70. package/src/utils/elementbuilder/AssetGenericBuilder.js +4 -0
  71. package/src/utils/elementbuilder/AssetGenericBuilder.js.map +1 -1
  72. package/src/utils/elementbuilder/AssetTokenBuilder.d.ts +7 -1
  73. package/src/utils/elementbuilder/AssetTokenBuilder.js +5 -1
  74. package/src/utils/elementbuilder/AssetTokenBuilder.js.map +1 -1
  75. package/src/utils/elementbuilder/Params.d.ts +6 -0
  76. package/src/utils/misc/tokenPriceToLiquidity.js +1 -0
  77. package/src/utils/misc/tokenPriceToLiquidity.js.map +1 -1
  78. package/src/plugins/baskt/positionsFetcher.js +0 -52
  79. package/src/plugins/baskt/positionsFetcher.js.map +0 -1
  80. /package/src/plugins/{baskt/positionsFetcher.d.ts → sanctum/stakingFetcher.d.ts} +0 -0
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.126](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.125...plugins-0.14.126) (2025-02-24)
6
+
7
+
8
+
9
+ ## [0.14.125](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.124...plugins-0.14.125) (2025-02-21)
10
+
11
+
12
+
5
13
  ## [0.14.124](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.123...plugins-0.14.124) (2025-02-21)
6
14
 
7
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.14.124",
3
+ "version": "0.14.126",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
package/src/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export * from './Job';
11
11
  export * from './utils/name-service';
12
12
  export * from './utils/blank';
13
13
  export { getLlamaProtocolsJob } from './plugins/llama-protocols';
14
+ export { jupFetcherIds } from './plugins/jupiter';
14
15
  export declare const platforms: Platform[];
15
16
  export declare const jobs: Job[];
16
17
  export declare const fetchers: Fetcher[];
package/src/index.js CHANGED
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.airdropFetchersByAddressSystem = exports.airdropFetchers = exports.fetchersByAddressSystem = exports.fetchers = exports.jobs = exports.platforms = exports.getLlamaProtocolsJob = exports.getFetchersByAddressSystem = exports.walletNftsPlatform = exports.walletTokensPlatform = void 0;
20
+ exports.airdropFetchersByAddressSystem = exports.airdropFetchers = exports.fetchersByAddressSystem = exports.fetchers = exports.jobs = exports.platforms = exports.jupFetcherIds = exports.getLlamaProtocolsJob = exports.getFetchersByAddressSystem = exports.walletNftsPlatform = exports.walletTokensPlatform = void 0;
21
21
  const getFetchersByAddressSystem_1 = require("./utils/misc/getFetchersByAddressSystem");
22
22
  const orphanPlatforms_1 = __importDefault(require("./orphanPlatforms"));
23
23
  const tokens_1 = require("./plugins/tokens");
@@ -173,6 +173,7 @@ const pluto_1 = require("./plugins/pluto");
173
173
  const layer3_1 = require("./plugins/layer3");
174
174
  const puffcoin_1 = require("./plugins/puffcoin");
175
175
  const triad_1 = require("./plugins/triad");
176
+ const baskt_1 = require("./plugins/baskt");
176
177
  const coingecko_1 = require("./plugins/coingecko");
177
178
  var constants_1 = require("./plugins/tokens/constants");
178
179
  Object.defineProperty(exports, "walletTokensPlatform", { enumerable: true, get: function () { return constants_1.walletTokensPlatform; } });
@@ -187,6 +188,8 @@ __exportStar(require("./utils/name-service"), exports);
187
188
  __exportStar(require("./utils/blank"), exports);
188
189
  var llama_protocols_1 = require("./plugins/llama-protocols");
189
190
  Object.defineProperty(exports, "getLlamaProtocolsJob", { enumerable: true, get: function () { return llama_protocols_1.getLlamaProtocolsJob; } });
191
+ var jupiter_2 = require("./plugins/jupiter");
192
+ Object.defineProperty(exports, "jupFetcherIds", { enumerable: true, get: function () { return jupiter_2.jupFetcherIds; } });
190
193
  // PLATFORMS //
191
194
  exports.platforms = [
192
195
  ...orphanPlatforms_1.default,
@@ -340,6 +343,7 @@ exports.platforms = [
340
343
  ...layer3_1.platforms,
341
344
  ...puffcoin_1.platforms,
342
345
  ...triad_1.platforms,
346
+ ...baskt_1.platforms,
343
347
  ];
344
348
  // JOBS //
345
349
  exports.jobs = [
@@ -486,6 +490,7 @@ exports.jobs = [
486
490
  ...defituna_1.jobs,
487
491
  ...iloop_1.jobs,
488
492
  ...sonic_1.jobs,
493
+ ...baskt_1.jobs,
489
494
  ...coingecko_1.jobs,
490
495
  ...pluto_1.jobs,
491
496
  ...layer3_1.jobs,
@@ -642,6 +647,7 @@ exports.fetchers = [
642
647
  ...layer3_1.fetchers,
643
648
  ...puffcoin_1.fetchers,
644
649
  ...triad_1.fetchers,
650
+ ...baskt_1.fetchers,
645
651
  ];
646
652
  exports.fetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.fetchers);
647
653
  exports.airdropFetchers = [
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,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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,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,uDAG+B;AAC/B,yCAGwB;AACxB,2CAIyB;AACzB,iDAI4B;AAC5B,iDAI4B;AAC5B,6CAI0B;AAC1B,+CAI2B;AAC3B,qDAG8B;AAC9B,iDAI4B;AAC5B,iDAI4B;AAC5B,mDAG6B;AAC7B,yCAIwB;AACxB,2CAIyB;AACzB,yCAIwB;AACxB,iDAI4B;AAC5B,+CAK2B;AAC3B,yCAKwB;AACxB,2CAIyB;AACzB,mDAI6B;AAC7B,2CAIyB;AACzB,2CAIyB;AACzB,sCAIsB;AACtB,+CAI2B;AAC3B,yCAIwB;AACxB,iDAI4B;AAC5B,yCAIwB;AACxB,mDAI6B;AAC7B,qDAK8B;AAC9B,2CAIyB;AACzB,2CAKyB;AACzB,yCAIwB;AACxB,iFAI4C;AAC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AAG,kBAAe;IAClB,GAAG,eAAY;IACf,GAAG,eAAY;IACf,GAAG,eAAY;IACf,GAAG,gBAAa;IAChB,GAAG,qBAAgB;IACnB,GAAG,mBAAgB;IACnB,GAAG,iBAAc;IACjB,GAAG,wBAAqB;IACxB,GAAG,mBAAgB;IACnB,GAAG,sBAAmB;IACtB,GAAG,wBAAqB;IACxB,GAAG,gBAAa;IAChB,GAAG,mBAAgB;IACnB,GAAG,iBAAc;IACjB,GAAG,qBAAkB;IACrB,GAAG,gBAAa;IAChB,GAAG,mBAAgB;IACnB,GAAG,gBAAa;IAChB,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"}
@@ -33,6 +33,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
33
33
  const alpElement = elementRegistry.addElementMultiple({
34
34
  label: 'Staked',
35
35
  link: 'https://app.adrena.xyz/stake',
36
+ ref: alpStakingAccount.pubkey.toString(),
36
37
  });
37
38
  for (const lockStake of alpStakingAccount.lockedStakes) {
38
39
  alpElement.addAsset({
@@ -48,6 +49,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
48
49
  const adxElement = elementRegistry.addElementMultiple({
49
50
  label: 'Staked',
50
51
  link: 'https://app.adrena.xyz/stake',
52
+ ref: adxStakingAccount.pubkey.toString(),
51
53
  });
52
54
  for (const lockStake of adxStakingAccount.lockedStakes) {
53
55
  adxElement.addAsset({
@@ -1 +1 @@
1
- {"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/adrena/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAA2D;AAE3D,gFAA6E;AAC7E,uCAA8C;AAC9C,+CAAmE;AACnE,uCAA6E;AAC7E,iDAAsD;AAEtD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,GAAG;QACnD,IAAA,iCAAuB,EAAC,KAAK,CAAC;QAC9B,IAAA,iCAAuB,EAAC,KAAK,CAAC;KAC/B,CAAC;IACF,MAAM,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,GAC1C,MAAM,IAAA,sCAA6B,EAAC,MAAM,EAAE,2BAAiB,EAAE;QAC7D,oBAAoB;QACpB,oBAAoB;KACrB,CAAC,CAAC;IAEL,IAAI,CAAC,iBAAiB,IAAI,CAAC,iBAAiB;QAAE,OAAO,EAAE,CAAC;IAExD,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAE1E,IAAI,iBAAiB,EAAE,CAAC;QACtB,MAAM,UAAU,GAAG,eAAe,CAAC,kBAAkB,CAAC;YACpD,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,8BAA8B;SACrC,CAAC,CAAC;QACH,KAAK,MAAM,SAAS,IAAI,iBAAiB,CAAC,YAA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AiB,EAAE,CAAC;QACtB,MAAM,UAAU,GAAG,eAAe,CAAC,kBAAkB,CAAC;YACpD,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,8BAA8B;YACpC,GAAG,EAAE,iBAAiB,CAAC,MAAM,CAAC,QAAQ,EAAE;SACzC,CAAC,CAAC;QACH,KAAK,MAAM,SAAS,IAAI,iBAAiB,CAAC,YAAY,EAAE,CAAC;YACvD,UAAU,CAAC,QAAQ,CAAC;gBAClB,OAAO,EAAE,mBAAO;gBAChB,MAAM,EAAE,SAAS,CAAC,SAAS;gBAC3B,UAAU,EAAE;oBACV,WAAW,EAAE,SAAS,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;iBAC3D;aACF,CAAC,CAAC;QACL,CAAC;QACD,UAAU,CAAC,QAAQ,CAAC;YAClB,OAAO,EAAE,mBAAO;YAChB,MAAM,EAAE,iBAAiB,CAAC,WAAW,CAAC,SAAS;YAC/C,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE;SACjC,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,UAAU;IAC3B,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -1,4 +1,7 @@
1
+ /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
2
+ /// <reference types="jito-ts/node_modules/@solana/web3.js" />
1
3
  import { Platform } from '@sonarwatch/portfolio-core';
4
+ import { PublicKey } from '@solana/web3.js';
2
5
  export declare const platformId = "baskt";
3
6
  export declare const platform: Platform;
4
- export declare const marketsCacheKey = "markets";
7
+ export declare const programId: PublicKey;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.marketsCacheKey = exports.platform = exports.platformId = void 0;
3
+ exports.programId = exports.platform = exports.platformId = void 0;
4
+ const web3_js_1 = require("@solana/web3.js");
4
5
  exports.platformId = 'baskt';
5
6
  exports.platform = {
6
7
  id: exports.platformId,
@@ -9,5 +10,5 @@ exports.platform = {
9
10
  website: 'https://www.baskt.fun/',
10
11
  twitter: 'https://x.com/basktdotfun',
11
12
  };
12
- exports.marketsCacheKey = `markets`;
13
+ exports.programId = new web3_js_1.PublicKey('EspF2G85CDschNBBrzCARnrmykGAbwDjjzQE1DQXXGLx');
13
14
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,8CAA8C;IACrD,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,eAAe,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAE/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,8CAA8C;IACrD,OAAO,EAAE,wBAAwB;IACjC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC"}
@@ -1,12 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.fetchers = exports.jobs = exports.platforms = void 0;
7
4
  const constants_1 = require("./constants");
8
- const marketsJob_1 = __importDefault(require("./marketsJob"));
9
5
  exports.platforms = [constants_1.platform];
10
- exports.jobs = [marketsJob_1.default];
6
+ exports.jobs = [];
11
7
  exports.fetchers = [];
12
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,8DAAsC;AAEzB,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,oBAAU,CAAC,CAAC;AAC3B,QAAA,QAAQ,GAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/index.ts"],"names":[],"mappings":";;;AAGA,2CAAuC;AAE1B,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,EAAE,CAAC"}
@@ -9,12 +9,70 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
13
+ const web3_js_1 = require("@solana/web3.js");
12
14
  const constants_1 = require("./constants");
15
+ const clients_1 = require("../../utils/clients");
16
+ const solana_1 = require("../../utils/solana");
17
+ const structs_1 = require("./structs");
18
+ const getDecimals_1 = require("../../utils/solana/getDecimals");
13
19
  const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
14
- /* await cache.setItem(marketsCacheKey, 'market_object', {
15
- prefix: platformId,
16
- networkId: NetworkId.solana,
17
- }); */
20
+ const connection = (0, clients_1.getClientSolana)();
21
+ const accounts = yield (0, solana_1.getParsedProgramAccounts)(connection, structs_1.vaultStateStruct, constants_1.programId, [{ memcmp: { offset: 0, bytes: 'fGKsWeCxBaF' } }, { dataSize: 3104 }]);
22
+ if (!accounts.length)
23
+ return;
24
+ const solTokenPrice = yield cache.getTokenPrice(portfolio_core_1.solanaNativeWrappedAddress, portfolio_core_1.NetworkId.solana);
25
+ if (!solTokenPrice)
26
+ return;
27
+ const tokenPriceSources = [];
28
+ for (const acc of accounts) {
29
+ const liquidityName = (0, solana_1.u8ArrayToString)(acc.vault_name);
30
+ if (liquidityName !== 'aiBASKT')
31
+ continue;
32
+ const vaultTokenMint = web3_js_1.PublicKey.findProgramAddressSync([Buffer.from('vault_token_mint'), acc.pubkey.toBuffer()], constants_1.programId)[0];
33
+ const vaultAuthMint = web3_js_1.PublicKey.findProgramAddressSync([Buffer.from('vault_auth'), acc.pubkey.toBuffer()], constants_1.programId)[0];
34
+ const [solReserve, solReserve2, decimals] = yield Promise.all([
35
+ connection.getBalance(vaultAuthMint),
36
+ connection.getBalance(acc.vault_asset_holder),
37
+ (0, getDecimals_1.getDecimals)(connection, vaultTokenMint),
38
+ ]);
39
+ if (!decimals)
40
+ return;
41
+ console.log('total_value_in_sol', acc.total_value_in_sol.toNumber());
42
+ console.log('total_supply', acc.total_supply.toNumber());
43
+ console.log('solReserve', solReserve + solReserve2);
44
+ console.log(acc.total_value_in_sol
45
+ .plus(solReserve)
46
+ .plus(solReserve2)
47
+ .dividedBy(acc.total_supply)
48
+ .toNumber());
49
+ tokenPriceSources.push({
50
+ id: acc.pubkey.toString(),
51
+ weight: 1,
52
+ address: vaultTokenMint.toString(),
53
+ networkId: portfolio_core_1.NetworkId.solana,
54
+ platformId: constants_1.platformId,
55
+ decimals,
56
+ price: acc.total_value_in_sol
57
+ .plus(solReserve)
58
+ .plus(solReserve2)
59
+ .dividedBy(acc.total_supply)
60
+ .multipliedBy(solTokenPrice.price)
61
+ .toNumber(),
62
+ label: 'LiquidityPool',
63
+ liquidityName,
64
+ timestamp: Date.now(),
65
+ link: `https://www.baskt.fun/indices/${liquidityName}`,
66
+ sourceRefs: [
67
+ {
68
+ name: 'Pool',
69
+ address: acc.pubkey.toString(),
70
+ },
71
+ ],
72
+ });
73
+ }
74
+ console.log(tokenPriceSources);
75
+ yield cache.setTokenPriceSources(tokenPriceSources);
18
76
  });
19
77
  const job = {
20
78
  id: `${constants_1.platformId}-markets`,
@@ -1 +1 @@
1
- {"version":3,"file":"marketsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/marketsJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAGA,2CAA0D;AAE1D,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD;;;UAGM;AACR,CAAC,CAAA,CAAC;AACF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,QAAQ;IACR,MAAM,EAAE,CAAC,QAAQ,CAAC;CACnB,CAAC;AACF,kBAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"marketsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/marketsJob.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAIoC;AACpC,6CAA4C;AAG5C,2CAAoD;AACpD,iDAAsD;AACtD,+CAA+E;AAC/E,uCAA6C;AAC7C,gEAA6D;AAE7D,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,UAAU,EACV,0BAAgB,EAChB,qBAAS,EACT,CAAC,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CACtE,CAAC;IAEF,IAAI,CAAC,QAAQ,CAAC,MAAM;QAAE,OAAO;IAE7B,MAAM,aAA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
2
2
  /// <reference types="@drift-labs/sdk/node_modules/@solana/web3.js" />
3
3
  /// <reference types="jito-ts/node_modules/@solana/web3.js" />
4
- import { BeetStruct } from '@metaplex-foundation/beet';
4
+ import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
5
5
  import { PublicKey } from '@solana/web3.js';
6
6
  import BigNumber from 'bignumber.js';
7
- export declare enum State {
8
- Uninitialized = 0,
9
- StakePool = 1,
10
- InactiveStakePool = 2,
11
- StakeAccount = 3
12
- }
13
- export type Liquidity = {
7
+ export type TokenAllocation = {
8
+ token_mint: PublicKey;
9
+ token_decimals: number;
10
+ allocation: number;
11
+ token_price: BigNumber;
12
+ token_balance: BigNumber;
13
+ last_price_update: BigNumber;
14
+ };
15
+ export declare const tokenAllocationStruct: BeetStruct<TokenAllocation, Partial<TokenAllocation>>;
16
+ export type VaultState = {
14
17
  buffer: Buffer;
15
- state: State;
16
- mint: PublicKey;
17
- owner: PublicKey;
18
- amountDeposited: BigNumber;
19
- space: number[];
18
+ authority: PublicKey;
19
+ oracle_authority: PublicKey;
20
+ vault_asset_holder: PublicKey;
21
+ vault_bump: number;
22
+ vault_auth_bump: number;
23
+ vault_token_bump: number;
24
+ total_value_in_sol: BigNumber;
25
+ total_supply: BigNumber;
26
+ vault_name: number[];
27
+ vault_version: number;
28
+ paused: boolean;
29
+ deposit_paused: boolean;
30
+ creation_time: BigNumber;
31
+ last_operation_time: BigNumber;
32
+ token_allocations: TokenAllocation[];
33
+ deposit_fees: BigNumber;
34
+ redeem_fees: BigNumber;
20
35
  };
21
- export declare const liquidityStruct: BeetStruct<Liquidity, Partial<Liquidity>>;
36
+ export declare const vaultStateStruct: FixableBeetStruct<VaultState, Partial<VaultState>>;
@@ -1,22 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.liquidityStruct = exports.State = void 0;
3
+ exports.vaultStateStruct = exports.tokenAllocationStruct = void 0;
4
4
  const beet_1 = require("@metaplex-foundation/beet");
5
5
  const beet_solana_1 = require("@metaplex-foundation/beet-solana");
6
6
  const solana_1 = require("../../utils/solana");
7
- var State;
8
- (function (State) {
9
- State[State["Uninitialized"] = 0] = "Uninitialized";
10
- State[State["StakePool"] = 1] = "StakePool";
11
- State[State["InactiveStakePool"] = 2] = "InactiveStakePool";
12
- State[State["StakeAccount"] = 3] = "StakeAccount";
13
- })(State || (exports.State = State = {}));
14
- exports.liquidityStruct = new beet_1.BeetStruct([
7
+ exports.tokenAllocationStruct = new beet_1.BeetStruct([
8
+ ['token_mint', beet_solana_1.publicKey],
9
+ ['token_decimals', beet_1.u8],
10
+ ['allocation', beet_1.u8],
11
+ ['token_price', solana_1.u64],
12
+ ['token_balance', solana_1.u64],
13
+ ['last_price_update', solana_1.i64],
14
+ ], (args) => args);
15
+ exports.vaultStateStruct = new beet_1.FixableBeetStruct([
15
16
  ['buffer', (0, solana_1.blob)(8)],
16
- ['state', beet_1.u8],
17
- ['mint', beet_solana_1.publicKey],
18
- ['owner', beet_solana_1.publicKey],
19
- ['amountDeposited', solana_1.u64],
20
- ['space', (0, beet_1.uniformFixedSizeArray)(beet_1.u8, 128)],
17
+ ['authority', beet_solana_1.publicKey],
18
+ ['oracle_authority', beet_solana_1.publicKey],
19
+ ['vault_asset_holder', beet_solana_1.publicKey],
20
+ ['vault_bump', beet_1.u8],
21
+ ['vault_auth_bump', beet_1.u8],
22
+ ['vault_token_bump', beet_1.u8],
23
+ ['total_value_in_sol', solana_1.u64],
24
+ ['total_supply', solana_1.u64],
25
+ ['vault_name', (0, beet_1.array)(beet_1.u8)],
26
+ ['vault_version', beet_1.u8],
27
+ ['paused', beet_1.bool],
28
+ ['deposit_paused', beet_1.bool],
29
+ ['creation_time', solana_1.i64],
30
+ ['last_operation_time', solana_1.i64],
31
+ ['token_allocations', (0, beet_1.array)(exports.tokenAllocationStruct)],
32
+ ['deposit_fees', beet_1.u16],
33
+ ['redeem_fees', beet_1.u16],
21
34
  ], (args) => args);
22
35
  //# sourceMappingURL=structs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/structs.ts"],"names":[],"mappings":";;;AAAA,oDAImC;AACnC,kEAA6D;AAG7D,+CAA+C;AAE/C,IAAY,KAKX;AALD,WAAY,KAAK;IACf,mDAAa,CAAA;IACb,2CAAS,CAAA;IACT,2DAAiB,CAAA;IACjB,iDAAY,CAAA;AACd,CAAC,EALW,KAAK,qBAAL,KAAK,QAKhB;AAWY,QAAA,eAAe,GAAG,IAAI,iBAAU,CAC3C;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,OAAO,EAAE,SAAE,CAAC;IACb,CAAC,MAAM,EAAE,uBAAS,CAAC;IACnB,CAAC,OAAO,EAAE,uBAAS,CAAC;IACpB,CAAC,iBAAiB,EAAE,YAAG,CAAC;IACxB,CAAC,OAAO,EAAE,IAAA,4BAAqB,EAAC,SAAE,EAAE,GAAG,CAAC,CAAC;CAC1C,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAiB,CAC5B,CAAC"}
1
+ {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/baskt/structs.ts"],"names":[],"mappings":";;;AAAA,oDAOmC;AACnC,kEAA6D;AAG7D,+CAAoD;AAWvC,QAAA,qBAAqB,GAAG,IAAI,iBAAU,CACjD;IACE,CAAC,YAAY,EAAE,uBAAS,CAAC;IACzB,CAAC,gBAAgB,EAAE,SAAE,CAAC;IACtB,CAAC,YAAY,EAAE,SAAE,CAAC;IAClB,CAAC,aAAa,EAAE,YAAG,CAAC;IACpB,CAAC,eAAe,EAAE,YAAG,CAAC;IACtB,CAAC,mBAAmB,EAAE,YAAG,CAAC;CAC3B,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAuB,CAClC,CAAC;AAuBW,QAAA,gBAAgB,GAAG,IAAI,wBAAiB,CACnD;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,WAAW,EAAE,uBAAS,CAAC;IACxB,CAAC,kBAAkB,EAAE,uBAAS,CAAC;IAC/B,CAAC,oBAAoB,EAAE,uBAAS,CAAC;IACjC,CAAC,YAAY,EAAE,SAAE,CAAC;IAClB,CAAC,iBAAiB,EAAE,SAAE,CAAC;IACvB,CAAC,kBAAkB,EAAE,SAAE,CAAC;IACxB,CAAC,oBAAoB,EAAE,YAAG,CAAC;IAC3B,CAAC,cAAc,EAAE,YAAG,CAAC;IACrB,CAAC,YAAY,EAAE,IAAA,YAAK,EAAC,SAAE,CAAC,CAAC;IACzB,CAAC,eAAe,EAAE,SAAE,CAAC;IACrB,CAAC,QAAQ,EAAE,WAAI,CAAC;IAChB,CAAC,gBAAgB,EAAE,WAAI,CAAC;IACxB,CAAC,eAAe,EAAE,YAAG,CAAC;IACtB,CAAC,qBAAqB,EAAE,YAAG,CAAC;IAC5B,CAAC,mBAAmB,EAAE,IAAA,YAAK,EAAC,6BAAqB,CAAC,CAAC;IACnD,CAAC,cAAc,EAAE,UAAG,CAAC;IACrB,CAAC,aAAa,EAAE,UAAG,CAAC;CACrB,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAkB,CAC7B,CAAC"}
@@ -17,8 +17,8 @@ exports.commonStatics = {
17
17
  emitterName: 'deBridge',
18
18
  image: 'https://sonar.watch/img/platforms/debridge.webp',
19
19
  };
20
- exports.firstDistribStatics = Object.assign(Object.assign({}, exports.commonStatics), { id: `${exports.platformId}-dis1`, claimEnd: 1747440000000, claimStart: 1724940000000 });
21
- exports.secondDistribStatics = Object.assign(Object.assign({}, exports.commonStatics), { id: `${exports.platformId}-dis2`, claimEnd: 1747440000000, claimStart: 1740751200000 });
20
+ exports.firstDistribStatics = Object.assign(Object.assign({}, exports.commonStatics), { id: `${exports.platformId}-dis1`, claimStart: 1724940000000, claimEnd: 1747440000000 });
21
+ exports.secondDistribStatics = Object.assign(Object.assign({}, exports.commonStatics), { id: `${exports.platformId}-dis2`, claimStart: 1744876800000, claimEnd: 1747440000000 });
22
22
  exports.dbrMint = 'DBRiDgJAMsM95moTzJs7M9LnkGErpbv9v6CUR1DXnUu5';
23
23
  exports.dbrDecimals = 6;
24
24
  exports.apiUrl = 'https://points-api.debridge.foundation/api/TokenDistribution/';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,UAAU,EAAE,sCAAsC;CAChE,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,qCAAqC;IAChD,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,UAAU;IACvB,KAAK,EAAE,iDAAiD;CACzD,CAAC;AAEW,QAAA,mBAAmB,mCAC3B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,QAAQ,EAAE,aAAa,EACvB,UAAU,EAAE,aAAa,IACzB;AAEW,QAAA,oBAAoB,mCAC5B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,QAAQ,EAAE,aAAa,EACvB,UAAU,EAAE,aAAa,IACzB;AAEW,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,MAAM,GACjB,+DAA+D,CAAC;AAErD,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AACW,QAAA,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/debridge/constants.ts"],"names":[],"mappings":";;;AACA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,UAAU,CAAC;AACxB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,iDAAiD;IACxD,OAAO,EAAE,2BAA2B;IACpC,OAAO,EAAE,+BAA+B;IACxC,WAAW,EAAE,UAAU,EAAE,sCAAsC;CAChE,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,SAAS,EAAE,qCAAqC;IAChD,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,UAAU;IACvB,KAAK,EAAE,iDAAiD;CACzD,CAAC;AAEW,QAAA,mBAAmB,mCAC3B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,aAAa,IACvB;AAEW,QAAA,oBAAoB,mCAC5B,qBAAa,KAChB,EAAE,EAAE,GAAG,kBAAU,OAAO,EACxB,UAAU,EAAE,aAAa,EACzB,QAAQ,EAAE,aAAa,IACvB;AAEW,QAAA,OAAO,GAAG,8CAA8C,CAAC;AACzD,QAAA,WAAW,GAAG,CAAC,CAAC;AAChB,QAAA,MAAM,GACjB,+DAA+D,CAAC;AAErD,QAAA,kBAAkB,GAAG,IAAI,mBAAS,CAC7C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,8CAA8C,CAC/C,CAAC;AACW,QAAA,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,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: 'Staked',
27
+ ref: userStakeAccount.pubkey.toString(),
28
+ link: 'https://www.grassfoundation.io/stake',
27
29
  });
28
30
  userStakeAccount.unstake_requests.forEach((req) => {
29
31
  if (req.staking_pool_key.toString() !== portfolio_core_1.solanaNativeAddress) {
@@ -1 +1 @@
1
- {"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/grass/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA4E;AAE5E,2CAAoD;AAEpD,iDAAsD;AACtD,gFAA6E;AAC7E,kFAA+E;AAC/E,uCAAgD;AAChD,uCAAwC;AAExC,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,MAAM,IAAA,2CAAoB,EACjD,UAAU,EACV,6BAAmB,EACnB,IAAA,qBAAW,EAAC,KAAK,CAAC,CACnB,CAAC;IACF,IAAI,CAAC,gBAAgB;QAAE,OAAO,EAAE,CAAC;IAEjC,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,CAAC,kBAAkB,CAAC;QACjD,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;IAEH,gBAAgB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAChD,IAAI,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,oCAAmB,EAAE,CAAC;YAC5D,MAAM,WAAW,GAAG,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;YACjE,OAAO,CAAC,QAAQ,CAAC;gBACf,OAAO,EAAE,qBAAS;gBAClB,MAAM,EAAE,GAAG,CAAC,iBAAiB;gBAC7B,UAAU,EAAE;oBACV,WAAW;iBACZ;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,QAAQ,CAAC;QACf,OAAO,EAAE,qBAAS;QAClB,MAAM,EAAE,gBAAgB,CAAC,aAAa;KACvC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,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"}
1
+ {"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/grass/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAA4E;AAE5E,2CAAoD;AAEpD,iDAAsD;AACtD,gFAA6E;AAC7E,kFAA+E;AAC/E,uCAAgD;AAChD,uCAAwC;AAExC,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,MAAM,IAAA,2CAAoB,EACjD,UAAU,EACV,6BAAmB,EACnB,IAAA,qBAAW,EAAC,KAAK,CAAC,CACnB,CAAC;IACF,IAAI,CAAC,gBAAgB;QAAE,OAAO,EAAE,CAAC;IAEjC,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,CAAC,kBAAkB,CAAC;QACjD,KAAK,EAAE,QAAQ;QACf,GAAG,EAAE,gBAAgB,CAAC,MAAM,CAAC,QAAQ,EAAE;QACvC,IAAI,EAAE,sCAAsC;KAC7C,CAAC,CAAC;IAEH,gBAAgB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAChD,IAAI,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,oCAAmB,EAAE,CAAC;YAC5D,MAAM,WAAW,GAAG,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;YACjE,OAAO,CAAC,QAAQ,CAAC;gBACf,OAAO,EAAE,qBAAS;gBAClB,MAAM,EAAE,GAAG,CAAC,iBAAiB;gBAC7B,UAAU,EAAE;oBACV,WAAW;iBACZ;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,QAAQ,CAAC;QACf,OAAO,EAAE,qBAAS;QAClB,MAAM,EAAE,gBAAgB,CAAC,aAAa;KACvC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,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"}
@@ -27,7 +27,10 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
27
27
  return [];
28
28
  const partialUnstakingAccounts = yield (0, solana_1.getParsedProgramAccounts)(client, structs_1.partialUnstakeStruct, constants_1.voteProgramId, (0, filters_1.partialUnstakeFilter)(escrowAccount.pubkey.toString()));
29
29
  const registry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_2.platformId);
30
- const element = registry.addElementMultiple({ label: 'Staked' });
30
+ const element = registry.addElementMultiple({
31
+ label: 'Staked',
32
+ link: 'https://vote.jup.ag',
33
+ });
31
34
  element.addAsset({
32
35
  address: constants_1.jupMint,
33
36
  amount: escrowAccount.amount,
@@ -36,12 +39,14 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
36
39
  ? undefined
37
40
  : escrowAccount.escrowEndsAt.times(1000).toNumber(),
38
41
  },
42
+ ref: escrowAccount.pubkey.toString(),
39
43
  });
40
44
  partialUnstakingAccounts.forEach((account) => {
41
45
  element.addAsset({
42
46
  address: constants_1.jupMint,
43
47
  amount: account.amount,
44
48
  attributes: { lockedUntil: account.expiration.times(1000).toNumber() },
49
+ ref: account.pubkey.toString(),
45
50
  });
46
51
  });
47
52
  return registry.getElements(cache);
@@ -1 +1 @@
1
- {"version":3,"file":"voteFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/voteFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,oDAAyD;AACzD,qFAAkF;AAClF,wCAAwC;AACxC,kDAA0E;AAC1E,sDAAgE;AAChE,2CAAyC;AACzC,kDAAiE;AACjE,wCAAkD;AAClD,mFAAgF;AAEhF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,YAAY,GAAG,IAAA,oBAAU,EAAC,KAAK,CAAC,CAAC;IACvC,MAAM,aAAa,GAAG,MAAM,IAAA,2CAAoB,EAC9C,MAAM,EACN,sBAAY,EACZ,YAAY,CACb,CAAC;IACF,IAAI,CAAC,aAAa;QAAE,OAAO,EAAE,CAAC;IAE9B,MAAM,wBAAwB,GAAG,MAAM,IAAA,iCAAwB,EAC7D,MAAM,EACN,8BAAoB,EACpB,yBAAa,EACb,IAAA,8BAAoB,EAAC,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CACtD,CAAC;IAEF,MAAM,QAAQ,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAEnE,MAAM,OAAO,GAAG,QAAQ,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;IAEjE,OAAO,CAAC,QAAQ,CAAC;QACf,OAAO,EAAE,mBAAO;QAChB,MAAM,EAAE,aAAa,CAAC,MAAM;QAC5B,UAAU,EAAE;YACV,WAAW,EAAE,aAAa,CAAC,eAAe,CAAC,MAAM,EAAE;gBACjD,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;SACtD;KACF,CAAC,CAAC;IAEH,wBAAwB,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3C,OAAO,CAAC,QAAQ,CAAC;YACf,OAAO,EAAE,mBAAO;YAChB,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,UAAU,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;SACvE,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,OAAO;IACxB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"voteFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/voteFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,oDAAyD;AACzD,qFAAkF;AAClF,wCAAwC;AACxC,kDAA0E;AAC1E,sDAAgE;AAChE,2CAAyC;AACzC,kDAAiE;AACjE,wCAAkD;AAClD,mFAAgF;AAEhF,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,M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ACtE,GAAG,EAAE,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE;SAC/B,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,OAAO;IACxB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -6,3 +6,4 @@ export declare const platforms: Platform[];
6
6
  export declare const jobs: Job[];
7
7
  export declare const fetchers: Fetcher[];
8
8
  export declare const airdropFetchers: AirdropFetcher[];
9
+ export declare const jupFetcherIds: string[];
@@ -3,7 +3,7 @@ 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.airdropFetchers = exports.fetchers = exports.jobs = exports.platforms = void 0;
6
+ exports.jupFetcherIds = exports.airdropFetchers = exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const perpetualFetcher_1 = __importDefault(require("./exchange/perpetualFetcher"));
8
8
  const valueAverageFetcher_1 = __importDefault(require("./exchange/valueAverageFetcher"));
9
9
  const limitFetcher_1 = __importDefault(require("./exchange/limitFetcher"));
@@ -41,4 +41,10 @@ exports.airdropFetchers = [
41
41
  governance_1.asr3AirdropFetcher,
42
42
  ...launchpad_1.lfgAirdropFetchers,
43
43
  ];
44
+ exports.jupFetcherIds = [
45
+ perpetualFetcher_1.default.id,
46
+ valueAverageFetcher_1.default.id,
47
+ limitFetcher_1.default.id,
48
+ dcaFetcher_1.default.id,
49
+ ];
44
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/index.ts"],"names":[],"mappings":";;;;;;AAGA,mFAA2D;AAC3D,yFAAiE;AACjE,2EAAmD;AACnD,uEAA+C;AAC/C,yEAAiD;AACjD,2EAAmD;AAEnD,qDAAsE;AACtE,2EAAmD;AACnD,sDAAwE;AACxE,8DAAsC;AACtC,oDAAoE;AAEpE,6CAOsB;AACtB,2CAA8D;AAEjD,QAAA,SAAS,GAAe;IACnC,oBAAiB;IACjB,oBAAkB;IAClB,oBAAgB;CACjB,CAAC;AACW,QAAA,IAAI,GAAU,CAAC,sBAAY,EAAE,oBAAU,CAAC,CAAC;AACzC,QAAA,QAAQ,GAAc;IACjC,0BAAgB;IAChB,6BAAmB;IACnB,sBAAY;IACZ,oBAAU;IACV,qBAAW;IACX,qBAAW;IACX,wBAAW;IACX,wBAAW;IACX,wBAAW;IACX,GAAG,uBAAW;CACf,CAAC;AACW,QAAA,eAAe,GAAqB;IAC/C,+BAAkB;IAClB,+BAAkB;IAClB,+BAAkB;IAClB,GAAG,8BAAkB;CACtB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/index.ts"],"names":[],"mappings":";;;;;;AAGA,mFAA2D;AAC3D,yFAAiE;AACjE,2EAAmD;AACnD,uEAA+C;AAC/C,yEAAiD;AACjD,2EAAmD;AAEnD,qDAAsE;AACtE,2EAAmD;AACnD,sDAAwE;AACxE,8DAAsC;AACtC,oDAAoE;AAEpE,6CAOsB;AACtB,2CAA8D;AAEjD,QAAA,SAAS,GAAe;IACnC,oBAAiB;IACjB,oBAAkB;IAClB,oBAAgB;CACjB,CAAC;AACW,QAAA,IAAI,GAAU,CAAC,sBAAY,EAAE,oBAAU,CAAC,CAAC;AACzC,QAAA,QAAQ,GAAc;IACjC,0BAAgB;IAChB,6BAAmB;IACnB,sBAAY;IACZ,oBAAU;IACV,qBAAW;IACX,qBAAW;IACX,wBAAW;IACX,wBAAW;IACX,wBAAW;IACX,GAAG,uBAAW;CACf,CAAC;AACW,QAAA,eAAe,GAAqB;IAC/C,+BAAkB;IAClB,+BAAkB;IAClB,+BAAkB;IAClB,GAAG,8BAAkB;CACtB,CAAC;AAEW,QAAA,aAAa,GAAG;IAC3B,0BAAgB,CAAC,EAAE;IACnB,6BAAmB,CAAC,EAAE;IACtB,sBAAY,CAAC,EAAE;IACf,oBAAU,CAAC,EAAE;CACd,CAAC"}
@@ -57,6 +57,10 @@ exports.lendingConfigs = new Map([
57
57
  'BNso1VUJnh4zcfpZa6986Ea66P6TCp59hvtNJ8b1X85',
58
58
  'So11111111111111111111111111111111111111112',
59
59
  ],
60
+ [
61
+ 'picobAEvs6w7QEknPce34wAE4gknZA9v5tTonnmHYdX',
62
+ 'So11111111111111111111111111111111111111112',
63
+ ],
60
64
  ],
61
65
  leveragePairs: [
62
66
  [
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAK/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,qCAAqC,kBAAU,OAAO;IAC7D,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,uBAAuB;CACrC,CAAC;AAEW,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,iDAAiD,CAAC;AAEvC,QAAA,cAAc,GAAG,IAAI,mBAAS,CACzC,6CAA6C,CAC9C,CAAC;AACW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,8CAA8C,CAC/C,CAAC;AACW,QAAA,QAAQ,GAAG,OAAO,CAAC;AACnB,QAAA,kBAAkB,GAAG,gBAAgB,CAAC;AACtC,QAAA,UAAU,GAAG,8CAA8C,CAA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E;QACE,8CAA8C;QAC9C;YACE,IAAI,EAAE,aAAa;YACnB,aAAa,EAAE;gBACb;oBACE,8CAA8C;oBAC9C,6CAA6C;iBAC9C;aACF;SACF;KACF;CACF,CAAC,CAAC;AAEU,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,WAAW,GAAG,UAAU,CAAC;AACzB,QAAA,gBAAgB,GAAmB;IAC9C,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,6BAA6B;IAC1C,SAAS,EAAE,oCAAoC;IAC/C,KAAK,EAAE,+CAA+C;IACtD,IAAI,EAAE,IAAI;CACX,CAAC;AACW,QAAA,gBAAgB,GAAmB;IAC9C,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,SAAS;IACnB,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,6BAA6B;IAC1C,SAAS,EAAE,6CAA6C;IACxD,KAAK,EAAE,+CAA+C;IACtD,IAAI,EAAE,IAAI;CACX,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kamino/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAK/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,qCAAqC,kBAAU,OAAO;IAC7D,OAAO,EAAE,yBAAyB;IAClC,WAAW,EAAE,uBAAuB;CACrC,CAAC;AAEW,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AACzD,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAC3B,iDAAiD,CAAC;AAEvC,QAAA,cAAc,GAAG,IA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