@sonarwatch/portfolio-plugins 0.12.71 → 0.12.73

Sign up to get free protection for your applications and to get access to all the features.
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.12.73](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.72...plugins-0.12.73) (2024-07-16)
6
+
7
+
8
+
9
+ ## [0.12.72](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.71...plugins-0.12.72) (2024-07-16)
10
+
11
+
12
+
5
13
  ## [0.12.71](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.70...plugins-0.12.71) (2024-07-16)
6
14
 
7
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.12.71",
3
+ "version": "0.12.73",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
package/src/index.js CHANGED
@@ -465,7 +465,6 @@ exports.airdropFetchers = [
465
465
  ...jupiter_1.airdropFetchers,
466
466
  drift_1.airdropFetcher,
467
467
  parcl_1.airdropFetcher,
468
- sanctum_1.airdropFetcher,
469
468
  ];
470
469
  exports.airdropFetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.airdropFetchers);
471
470
  //# 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,sEAA8C;AAC9C,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,6CAI0B;AAC1B,+CAI2B;AAC3B,yCAIwB;AACxB,+CAI2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAIyB;AACzB,6C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;IAChB,GAAG,eAAY;IACf,GAAG,kBAAe;IAClB,GAAG,kBAAe;IAClB,GAAG,mBAAgB;IACnB,GAAG,uBAAoB;IACvB,GAAG,mBAAgB;IACnB,GAAG,iBAAc;IACjB,GAAG,mBAAgB;IACnB,GAAG,kBAAe;IAClB,GAAG,iBAAc;IACjB,GAAG,iBAAc;IACjB,GAAG,kBAAe;IAClB,GAAG,oBAAiB;IACpB,GAAG,8BAA2B;IAC9B,GAAG,oBAAiB;IACpB,GAAG,kBAAe;CACnB,CAAC;AACW,QAAA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC;AAE/D,QAAA,eAAe,GAAqB;IAC/C,GAAG,yBAAsB;IACzB,sBAAmB;IACnB,sBAAmB;IACnB,wBAAqB;CACtB,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,sEAA8C;AAC9C,6CAI0B;AAC1B,yDAIgC;AAChC,uDAAgE;AAChE,iDAG4B;AAC5B,iDAI4B;AAC5B,2CAGyB;AACzB,6CAI0B;AAC1B,+CAI2B;AAC3B,yCAIwB;AACxB,+CAI2B;AAC3B,2CAIyB;AACzB,6CAI0B;AAC1B,2CAIyB;AACzB,6CAG0B;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,6CAI0B;AAC1B,6CAG0B;AAC1B,yCAIwB;AACxB,+CAI2B;AAC3B,uDAG+B;AAC/B,yCAGwB;AACxB,2CAIyB;AACzB,iDAI4B;AAC5B,iDAI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AA,uBAAuB,GAAG,IAAA,uDAA0B,EAAC,gBAAQ,CAAC,CAAC;AAE/D,QAAA,eAAe,GAAqB;IAC/C,GAAG,yBAAsB;IACzB,sBAAmB;IACnB,sBAAmB;CACpB,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.airdropConfigs = exports.lfgDisProgram = exports.lfgApiBaseUrl = exports.jupDecimals = exports.jupMint = exports.lockerPubkey = exports.voteProgramId = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  const constants_1 = require("../../kamino/constants");
6
+ const constants_2 = require("../../sanctum/constants");
6
7
  exports.platformId = 'jupiter-launchpad';
7
8
  const platformImage = 'https://sonar.watch/img/platforms/jupiter.webp';
8
9
  exports.platform = {
@@ -128,11 +129,11 @@ exports.airdropConfigs = [
128
129
  decimals: 9,
129
130
  distributorProgram: exports.lfgDisProgram,
130
131
  label: 'CLOUD',
131
- platformId: exports.platformId,
132
+ platformId: constants_2.platformId,
132
133
  getApiPath: (owner) => `${exports.lfgApiBaseUrl}/CLoUDKc4Ane7HeQcPpE3YHnznRxhMimJ4MyaUqyHFzAu/${owner}`,
133
134
  statics: {
134
135
  claimStart: 1721314800000,
135
- claimEnd: undefined,
136
+ claimEnd: 1744588800000,
136
137
  id: 'lfg-sanctum',
137
138
  emitterName: 'Sanctum',
138
139
  emitterLink: 'https://www.sanctum.so/',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG5C,sDAAwE;AAE3D,QAAA,UAAU,GAAG,mBAAmB,CAAC;AAC9C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,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qB;YAClC,SAAS,EAAE,2BAA2B;YACtC,KAAK,EAAE,+CAA+C;SACvD;KACF;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,kBAAkB,EAAE,6CAA6C;QACjE,KAAK,EAAE,MAAM;QACb,UAAU,EAAE,sBAAgB;QAC5B,UAAU,EAAE,CAAC,KAAa,EAAE,EAAE,CAC5B,+CAA+C,KAAK,EAAE;QACxD,OAAO,EAAE;YACP,UAAU,EAAE,aAAa;YACzB,QAAQ,EAAE,SAAS;YACnB,EAAE,EAAE,WAAW;YACf,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,6BAA6B;YAC1C,SAAS,EAAE,oCAAoC;YAC/C,KAAK,EAAE,+CAA+C;YACtD,IAAI,EAAE,IAAI;SACX;KACF;IACD;QACE,IAAI,EAAE,8CAA8C;QACpD,QAAQ,EAAE,CAAC;QACX,kBAAkB,EAAE,qBAAa;QACjC,KAAK,EAAE,OAAO;QACd,UAAU,EAAV,kBAAU;QACV,UAAU,EAAE,CAAC,KAAa,EAAE,EAAE,CAC5B,GAAG,qBAAa,iDAAiD,KAAK,EAAE;QAC1E,OAAO,EAAE;YACP,UAAU,EAAE,aAAa;YACzB,QAAQ,EAAE,SAAS;YACnB,EAAE,EAAE,aAAa;YACjB,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,yBAAyB;YACtC,SAAS,EAAE,4BAA4B;YACvC,KAAK,EAAE,gDAAgD;SACxD;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG5C,sDAAwE;AACxE,uDAA0E;AAE7D,QAAA,UAAU,GAAG,mBAAmB,CAAC;AAC9C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,mBAAmB;I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2BAA2B;YACtC,KAAK,EAAE,+CAA+C;SACvD;KACF;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,kBAAkB,EAAE,6CAA6C;QACjE,KAAK,EAAE,MAAM;QACb,UAAU,EAAE,sBAAgB;QAC5B,UAAU,EAAE,CAAC,KAAa,EAAE,EAAE,CAC5B,+CAA+C,KAAK,EAAE;QACxD,OAAO,EAAE;YACP,UAAU,EAAE,aAAa;YACzB,QAAQ,EAAE,SAAS;YACnB,EAAE,EAAE,WAAW;YACf,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,6BAA6B;YAC1C,SAAS,EAAE,oCAAoC;YAC/C,KAAK,EAAE,+CAA+C;YACtD,IAAI,EAAE,IAAI;SACX;KACF;IACD;QACE,IAAI,EAAE,8CAA8C;QACpD,QAAQ,EAAE,CAAC;QACX,kBAAkB,EAAE,qBAAa;QACjC,KAAK,EAAE,OAAO;QACd,UAAU,EAAE,sBAAiB;QAC7B,UAAU,EAAE,CAAC,KAAa,EAAE,EAAE,CAC5B,GAAG,qBAAa,iDAAiD,KAAK,EAAE;QAC1E,OAAO,EAAE;YACP,UAAU,EAAE,aAAa;YACzB,QAAQ,EAAE,aAAa;YACvB,EAAE,EAAE,aAAa;YACjB,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,yBAAyB;YACtC,SAAS,EAAE,4BAA4B;YACvC,KAAK,EAAE,gDAAgD;SACxD;KACF;CACF,CAAC"}
@@ -7,6 +7,7 @@ export declare const platformWebsite = "https://app.parcl.co/";
7
7
  export declare const platformName = "Parcl";
8
8
  export declare const platform: Platform;
9
9
  export declare const programId: PublicKey;
10
+ export declare const stakingProgramId: PublicKey;
10
11
  export declare const airdropApi = "https://gnome-api-mainnet.fly.dev/user/";
11
12
  export declare const allocationPrefix = "parcl/allocation";
12
13
  export declare const prclMint = "4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.airdropStatics = exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.prclMint = exports.allocationPrefix = exports.airdropApi = exports.programId = exports.platform = exports.platformName = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
3
+ exports.airdropStatics = exports.distributorProgram = exports.merkleTree = exports.merkleApi = exports.prclDecimals = exports.prclMint = exports.allocationPrefix = exports.airdropApi = exports.stakingProgramId = exports.programId = exports.platform = exports.platformName = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'parcl';
6
6
  exports.platformImage = 'https://sonar.watch/img/platforms/parcl.webp';
@@ -15,6 +15,7 @@ exports.platform = {
15
15
  twitter: 'https://twitter.com/Parcl',
16
16
  };
17
17
  exports.programId = new web3_js_1.PublicKey('3parcLrT7WnXAcyPfkCz49oofuuf2guUKkjuFkAhZW8Y');
18
+ exports.stakingProgramId = new web3_js_1.PublicKey('2gWf5xLAzZaKX9tQj9vuXsaxTWtzTZDFRn21J3zjNVgu');
18
19
  exports.airdropApi = 'https://gnome-api-mainnet.fly.dev/user/';
19
20
  exports.allocationPrefix = `${exports.platformId}/allocation`;
20
21
  exports.prclMint = '4LLbsb5ReP3yEtYzmXewyGjcir5uXtKFURtaEUVC2AHs';
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,eAAe,GAAG,uBAAuB,CAAC;AAC1C,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,oBAAY;IAClB,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACvD,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAC9C,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AACpD,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,kBAAkB,GAC7B,8CAA8C,CAAC;AAEpC,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,iBAAiB;IACrB,SAAS,EAAE,kCAAkC;IAC7C,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,uBAAe;IAC5B,WAAW,EAAE,oBAAY;IACzB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,SAAS;CAChB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,OAAO,CAAC;AACrB,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAC/D,QAAA,eAAe,GAAG,uBAAuB,CAAC;AAC1C,QAAA,YAAY,GAAG,OAAO,CAAC;AACvB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,oBAAY;IAClB,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,cAAc,EAAE,sCAAsC;IACnE,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,8CAA8C,CAC/C,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAI,mBAAS,CAC3C,8CAA8C,CAC/C,CAAC;AAEW,QAAA,UAAU,GAAG,yCAAyC,CAAC;AACvD,QAAA,gBAAgB,GAAG,GAAG,kBAAU,aAAa,CAAC;AAC9C,QAAA,QAAQ,GAAG,8CAA8C,CAAC;AAC1D,QAAA,YAAY,GAAG,CAAC,CAAC;AACjB,QAAA,SAAS,GAAG,uCAAuC,CAAC;AACpD,QAAA,UAAU,GAAG,8CAA8C,CAAC;AAC5D,QAAA,kBAAkB,GAC7B,8CAA8C,CAAC;AAEpC,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,iBAAiB;IACrB,SAAS,EAAE,kCAAkC;IAC7C,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,uBAAe;IAC5B,WAAW,EAAE,oBAAY;IACzB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,SAAS;CAChB,CAAC"}
@@ -43,7 +43,6 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
43
43
  id += 10;
44
44
  } while (requestsParsedAccounts[requestsParsedAccounts.length]);
45
45
  const usdcTokenPrice = yield cache.getTokenPrice(solana_1.usdcSolanaMint, portfolio_core_1.NetworkId.solana);
46
- const elements = [];
47
46
  const assets = [];
48
47
  if (oldLpAccount && !oldLpAccount.liquidity.isZero()) {
49
48
  const unlockStartedAt = new Date(oldLpAccount.lastAddLiquidityTimestamp.times(1000).toNumber());
@@ -52,14 +51,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
52
51
  lockedUntil: unlockingAt.getTime(),
53
52
  tags: ['depreciated'],
54
53
  } });
55
- elements.push({
56
- type: portfolio_core_1.PortfolioElementType.multiple,
57
- label: 'Deposit',
58
- networkId: portfolio_core_1.NetworkId.solana,
59
- platformId: constants_1.platformId,
60
- data: { assets: [asset] },
61
- value: asset.value,
62
- });
54
+ assets.push(asset);
63
55
  }
64
56
  for (const lpPosition of lpPositions) {
65
57
  if (!lpPosition || lpPosition.liquidity.isZero())
@@ -1 +1 @@
1
- {"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAMoC;AAGpC,2CAAyC;AACzC,iDAAsD;AACtD,+CAG4B;AAC5B,uCAImB;AACnB,qGAA6E;AAC7E,uCAImB;AACnB,kFAA+E;AAE/E,MAAM,UAAU,GAAG,EAAE,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE5C,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,YAAY,GAAG,MAAM,IAAA,2CAAoB,EAC7C,MAAM,EACN,yBAAe,EACf,IAAA,4BAAkB,EAAC,KAAK,CAAC,CAC1B,CAAC;IAEF,IAAI,EAAE,GAAG,CAAC,CAAC;IACX,MAAM,WAAW,GAAG,EAAE,CAAC;IACvB,IAAI,aAAa,CAAC;IAClB,GAAG,CAAC;QACF,MAAM,cAAc,GAAG,IAAA,4BAAkB,EAAC,KAAK,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9D,aAAa,GAAG,MAAM,IAAA,sCAA6B,EACjD,MAAM,EACN,0BAAgB,EAChB,cAAc,CACf,CAAC;QACF,WAAW,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC;QACnC,EAAE,IAAI,EAAE,CAAC;IACX,CAAC,QAAQ,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE;IAE9C,EAAE,GAAG,CAAC,CAAC;IACP,MAAM,kBAAkB,GAAG,EAAE,CAAC;IAC9B,IAAI,sBAAsB,CAAC;IAC3B,GAAG,CAAC;QACF,MAAM,cAAc,GAAG,IAAA,mCAAyB,EAAC,KAAK,EAAE,EAAE,EAAE,EA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E,WAAW,CAAC,OAAO,EAAE;gBAClC,IAAI,EAAE,CAAC,kBAAkB,CAAC;aAC3B,GACF,CAAC;QAEF,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAEnC,OAAO;QACL;YACE,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,SAAS;YAChB,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,EAAE,MAAM,EAAE;YAChB,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC1D;KACF,CAAC;AACJ,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
+ {"version":3,"file":"depositsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/depositsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AAGpC,2CAAyC;AACzC,iDAAsD;AACtD,+CAG4B;AAC5B,uCAImB;AACnB,qGAA6E;AAC7E,uCAImB;AACnB,kFAA+E;AAE/E,MAAM,UAAU,GAAG,EAAE,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE5C,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,YAAY,GAAG,MAAM,IAAA,2CAAoB,EAC7C,MAAM,EACN,yBAAe,EACf,IAAA,4BAAkB,EAAC,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C1B,iBAAiB,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAClD,CAAC;QACF,IAAI,WAAW,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,EAAE;YAAE,SAAS;QAEjD,MAAM,KAAK,mCACN,IAAA,gCAAsB,EACvB,uBAAc,EACd,iBAAiB,CAAC,MAAM,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,CAAC,CAAA,CAAC,CAAC,QAAQ,EAAE,EACtD,0BAAS,CAAC,MAAM,EAChB,cAAc,CACf,KACD,UAAU,EAAE;gBACV,WAAW,EAAE,WAAW,CAAC,OAAO,EAAE;gBAClC,IAAI,EAAE,CAAC,kBAAkB,CAAC;aAC3B,GACF,CAAC;QAEF,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAEnC,OAAO;QACL;YACE,IAAI,EAAE,qCAAoB,CAAC,QAAQ;YACnC,KAAK,EAAE,SAAS;YAChB,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,EAAE,MAAM,EAAE;YAChB,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC1D;KACF,CAAC;AACJ,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"}
@@ -8,6 +8,7 @@ const constants_1 = require("./constants");
8
8
  const depositsFetcher_1 = __importDefault(require("./depositsFetcher"));
9
9
  const marginFetcher_1 = __importDefault(require("./marginFetcher"));
10
10
  const airdropFetcher_1 = __importDefault(require("./airdropFetcher"));
11
+ const stakingFetcher_1 = __importDefault(require("./stakingFetcher"));
11
12
  var helpersAirdrop_1 = require("./helpersAirdrop");
12
13
  Object.defineProperty(exports, "airdropFetcher", { enumerable: true, get: function () { return helpersAirdrop_1.airdropFetcher; } });
13
14
  exports.platforms = [constants_1.platform];
@@ -16,5 +17,6 @@ exports.fetchers = [
16
17
  depositsFetcher_1.default,
17
18
  marginFetcher_1.default,
18
19
  airdropFetcher_1.default,
20
+ stakingFetcher_1.default,
19
21
  ];
20
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,wEAAgD;AAChD,oEAA4C;AAC5C,sEAA8C;AAE9C,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACV,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc;IACjC,yBAAe;IACf,uBAAa;IACb,wBAAc;CACf,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,wEAAgD;AAChD,oEAA4C;AAC5C,sEAA8C;AAC9C,sEAA8C;AAE9C,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACV,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc;IACjC,yBAAe;IACf,uBAAa;IACb,wBAAc;IACd,wBAAc;CACf,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Fetcher } from '../../Fetcher';
2
+ declare const fetcher: Fetcher;
3
+ export default fetcher;
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
+ const web3_js_1 = require("@solana/web3.js");
17
+ const bignumber_js_1 = __importDefault(require("bignumber.js"));
18
+ const constants_1 = require("./constants");
19
+ const clients_1 = require("../../utils/clients");
20
+ const solana_1 = require("../../utils/solana");
21
+ const tokenPriceToAssetToken_1 = __importDefault(require("../../utils/misc/tokenPriceToAssetToken"));
22
+ const decodePosition = (buffer) => ({
23
+ amount: Number(buffer.readBigUInt64LE(1)),
24
+ activationEpoch: Number(buffer.readBigUInt64LE(1 + 8)),
25
+ unlockingStart: Number(buffer.readBigUInt64LE(1 + 8 + 8)),
26
+ });
27
+ const decodePositionAccount = (buffer) => {
28
+ let i = 0;
29
+ buffer.slice(i, i + 8);
30
+ i += 8;
31
+ const owner = new web3_js_1.PublicKey(buffer.slice(i, i + 32)).toString();
32
+ i += 32;
33
+ const positions = [];
34
+ let position;
35
+ for (let t = 0; t < 20; t++) {
36
+ position = decodePosition(buffer.slice(i, i + 200));
37
+ if (position.amount > 0)
38
+ positions.push(position);
39
+ else
40
+ break;
41
+ i += 200;
42
+ }
43
+ return {
44
+ owner,
45
+ positions,
46
+ };
47
+ };
48
+ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
49
+ const client = (0, clients_1.getClientSolana)();
50
+ const accs = yield (0, solana_1.getProgramAccounts)(client, constants_1.stakingProgramId, [
51
+ {
52
+ // account PositionData
53
+ memcmp: {
54
+ offset: 0,
55
+ bytes: 'FM2r3wAdZaa',
56
+ },
57
+ },
58
+ {
59
+ memcmp: {
60
+ offset: 8,
61
+ bytes: new web3_js_1.PublicKey(owner).toBase58(),
62
+ },
63
+ },
64
+ ]);
65
+ if (accs.length === 0)
66
+ return [];
67
+ const positions = accs.map((acc) => acc && decodePositionAccount(acc.account.data));
68
+ const tokenPrice = yield cache.getTokenPrice(constants_1.prclMint, portfolio_core_1.NetworkId.solana);
69
+ if (!tokenPrice)
70
+ return [];
71
+ const assets = [];
72
+ positions.forEach((positionAccount) => {
73
+ positionAccount.positions.forEach((position) => {
74
+ assets.push((0, tokenPriceToAssetToken_1.default)(tokenPrice.address, new bignumber_js_1.default(position.amount)
75
+ .dividedBy(Math.pow(10, tokenPrice.decimals))
76
+ .toNumber(), portfolio_core_1.NetworkId.solana, tokenPrice));
77
+ });
78
+ });
79
+ return [
80
+ {
81
+ type: portfolio_core_1.PortfolioElementType.multiple,
82
+ label: 'Staked',
83
+ networkId: portfolio_core_1.NetworkId.solana,
84
+ platformId: constants_1.platformId,
85
+ data: { assets },
86
+ value: (0, portfolio_core_1.getUsdValueSum)(assets.map((asset) => asset.value)),
87
+ },
88
+ ];
89
+ });
90
+ const fetcher = {
91
+ id: `${constants_1.platformId}-staking`,
92
+ networkId: portfolio_core_1.NetworkId.solana,
93
+ executor,
94
+ };
95
+ exports.default = fetcher;
96
+ //# sourceMappingURL=stakingFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stakingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/parcl/stakingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,6CAA4C;AAC5C,gEAAqC;AAErC,2CAAqE;AAErE,iDAAsD;AACtD,+CAAwD;AAExD,qGA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AAC,QAAQ;YACnC,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,0BAAS,CAAC,MAAM;YAC3B,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,EAAE,MAAM,EAAE;YAChB,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC1D;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"}
@@ -7,3 +7,12 @@ export type ApiAirdropResponse = {
7
7
  merkle_tree?: string;
8
8
  error?: string;
9
9
  };
10
+ export type PositionAccount = {
11
+ owner: string;
12
+ positions: Position[];
13
+ };
14
+ export type Position = {
15
+ amount: number;
16
+ activationEpoch: number;
17
+ unlockingStart: number;
18
+ };
@@ -1,8 +1,6 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
- import { AirdropStatics } from '../../AirdropFetcher';
3
2
  export declare const platformId = "sanctum";
4
3
  export declare const platformImage = "https://sonar.watch/img/platforms/sanctum.webp";
5
4
  export declare const platformWebsite = "https://www.sanctum.so/";
6
5
  export declare const platform: Platform;
7
6
  export declare const lstsKey = "lsts";
8
- export declare const airdropStatics: AirdropStatics;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.airdropStatics = exports.lstsKey = exports.platform = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
3
+ exports.lstsKey = exports.platform = exports.platformWebsite = exports.platformImage = exports.platformId = void 0;
4
4
  exports.platformId = 'sanctum';
5
5
  exports.platformImage = 'https://sonar.watch/img/platforms/sanctum.webp';
6
6
  exports.platformWebsite = 'https://www.sanctum.so/';
@@ -13,13 +13,4 @@ exports.platform = {
13
13
  twitter: 'https://twitter.com/sanctumso',
14
14
  };
15
15
  exports.lstsKey = 'lsts';
16
- exports.airdropStatics = {
17
- id: 'sanctum',
18
- claimLink: 'https://app.sanctum.so/wonderland',
19
- image: exports.platformImage,
20
- emitterLink: exports.platformWebsite,
21
- emitterName: 'Sanctum',
22
- claimStart: undefined,
23
- claimEnd: undefined,
24
- };
25
16
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,aAAa,GAAG,gDAAgD,CAAC;AACjE,QAAA,eAAe,GAAG,yBAAyB,CAAC;AAC5C,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,qBAAa;IACpB,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,+BAA+B;CACzC,CAAC;AACW,QAAA,OAAO,GAAG,MAAM,CAAC;AAEjB,QAAA,cAAc,GAAmB;IAC5C,EAAE,EAAE,SAAS;IACb,SAAS,EAAE,mCAAmC;IAC9C,KAAK,EAAE,qBAAa;IACpB,WAAW,EAAE,uBAAe;IAC5B,WAAW,EAAE,SAAS;IACtB,UAAU,EAAE,SAAS;IACrB,QAAQ,EAAE,SAAS;CACpB,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/constants.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,SAAS,CAAC;AACvB,QAAA,aAAa,GAAG,gDAAgD,CAAC;AACjE,QAAA,eAAe,GAAG,yBAAyB,CAAC;AAC5C,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,WAAW,EAAE,gBAAgB,EAAE,sCAAsC;IACrE,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,qBAAa;IACpB,OAAO,EAAE,uBAAe;IACxB,OAAO,EAAE,+BAA+B;CACzC,CAAC;AACW,QAAA,OAAO,GAAG,MAAM,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  import { Fetcher } from '../../Fetcher';
3
3
  import { Job } from '../../Job';
4
- import airdropFetcher from './airdropFetcher';
5
4
  export declare const platforms: Platform[];
6
5
  export declare const jobs: Job[];
7
6
  export declare const fetchers: Fetcher[];
8
- export { airdropFetcher };
@@ -3,11 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.airdropFetcher = exports.fetchers = exports.jobs = exports.platforms = void 0;
6
+ exports.fetchers = exports.jobs = exports.platforms = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const lstsJob_1 = __importDefault(require("./lstsJob"));
9
- const airdropFetcher_1 = __importDefault(require("./airdropFetcher"));
10
- exports.airdropFetcher = airdropFetcher_1.default;
11
9
  exports.platforms = [constants_1.platform];
12
10
  exports.jobs = [lstsJob_1.default];
13
11
  exports.fetchers = [];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,wDAAgC;AAChC,sEAA8C;AAKrC,yBALF,wBAAc,CAKE;AAHV,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,iBAAO,CAAC,CAAC;AACxB,QAAA,QAAQ,GAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,wDAAgC;AAEnB,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,CAAC,iBAAO,CAAC,CAAC;AACxB,QAAA,QAAQ,GAAc,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { PublicKey } from '@solana/web3.js';
2
+ export declare function getMerkleDistributorPda(base: string, mint: string, version: number, programId: string): PublicKey;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.getMerkleDistributorPda = void 0;
7
+ const web3_js_1 = require("@solana/web3.js");
8
+ const bn_js_1 = __importDefault(require("bn.js"));
9
+ function getMerkleDistributorPda(base, mint, version, programId) {
10
+ return web3_js_1.PublicKey.findProgramAddressSync([
11
+ Buffer.from('MerkleDistributor'),
12
+ new web3_js_1.PublicKey(base).toBytes(),
13
+ new web3_js_1.PublicKey(mint).toBytes(),
14
+ new bn_js_1.default(version).toArrayLike(Buffer, 'le', 8),
15
+ ], new web3_js_1.PublicKey(programId))[0];
16
+ }
17
+ exports.getMerkleDistributorPda = getMerkleDistributorPda;
18
+ //# sourceMappingURL=getMerkleDistributorPda.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMerkleDistributorPda.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/utils/solana/jupiter/getMerkleDistributorPda.ts"],"names":[],"mappings":";;;;;;AAAA,6CAA4C;AAC5C,kDAAuB;AAEvB,SAAgB,uBAAuB,CACrC,IAAY,EACZ,IAAY,EACZ,OAAe,EACf,SAAiB;IAEjB,OAAO,mBAAS,CAAC,sBAAsB,CACrC;QACE,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC;QAChC,IAAI,mBAAS,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE;QAC7B,IAAI,mBAAS,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE;QAC7B,IAAI,eAAE,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;KAC7C,EACD,IAAI,mBAAS,CAAC,SAAS,CAAC,CACzB,CAAC,CAAC,CAAC,CAAC;AACP,CAAC;AAfD,0DAeC"}
@@ -1,3 +0,0 @@
1
- import { AirdropFetcher } from '../../AirdropFetcher';
2
- declare const airdropFetcher: AirdropFetcher;
3
- export default airdropFetcher;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const portfolio_core_1 = require("@sonarwatch/portfolio-core");
13
- const constants_1 = require("./constants");
14
- const AirdropFetcher_1 = require("../../AirdropFetcher");
15
- const fetchAirdropExecutor = () => __awaiter(void 0, void 0, void 0, function* () {
16
- throw new Error('myerror sanctum happened');
17
- return (0, AirdropFetcher_1.getAirdropRaw)({
18
- statics: constants_1.airdropStatics,
19
- items: [
20
- {
21
- amount: 0,
22
- isClaimed: false,
23
- label: 'CLOUD',
24
- },
25
- ],
26
- });
27
- });
28
- const airdropFetcher = {
29
- id: constants_1.airdropStatics.id,
30
- networkId: portfolio_core_1.NetworkId.solana,
31
- executor: fetchAirdropExecutor,
32
- };
33
- exports.default = airdropFetcher;
34
- //# sourceMappingURL=airdropFetcher.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"airdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/sanctum/airdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AACvD,2CAA6C;AAC7C,yDAI8B;AAE9B,MAAM,oBAAoB,GAA2B,GAAS,EAAE;IAC9D,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAC5C,OAAO,IAAA,8BAAa,EAAC;QACnB,OAAO,EAAE,0BAAc;QACvB,KAAK,EAAE;YACL;gBACE,MAAM,EAAE,CAAC;gBACT,SAAS,EAAE,KAAK;gBAChB,KAAK,EAAE,OAAO;aACf;SACF;KACF,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AACF,MAAM,cAAc,GAAmB;IACrC,EAAE,EAAE,0BAAc,CAAC,EAAE;IACrB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ,EAAE,oBAAoB;CAC/B,CAAC;AAEF,kBAAe,cAAc,CAAC"}