@sonarwatch/portfolio-plugins 0.14.21 → 0.14.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/package.json +1 -1
  3. package/src/index.js +4 -0
  4. package/src/index.js.map +1 -1
  5. package/src/plugins/cyberfrogs/constants.d.ts +5 -0
  6. package/src/plugins/cyberfrogs/constants.js +14 -0
  7. package/src/plugins/cyberfrogs/constants.js.map +1 -0
  8. package/src/plugins/cyberfrogs/index.d.ts +6 -0
  9. package/src/plugins/cyberfrogs/index.js +12 -0
  10. package/src/plugins/cyberfrogs/index.js.map +1 -0
  11. package/src/plugins/cyberfrogs/structs.d.ts +13 -0
  12. package/src/plugins/cyberfrogs/structs.js +15 -0
  13. package/src/plugins/cyberfrogs/structs.js.map +1 -0
  14. package/src/plugins/cyberfrogs/thorDepositFetcher.d.ts +3 -0
  15. package/src/plugins/cyberfrogs/thorDepositFetcher.js +52 -0
  16. package/src/plugins/cyberfrogs/thorDepositFetcher.js.map +1 -0
  17. package/src/plugins/jupiter/filters.d.ts +1 -0
  18. package/src/plugins/jupiter/filters.js +11 -1
  19. package/src/plugins/jupiter/filters.js.map +1 -1
  20. package/src/plugins/jupiter/governance/voteFetcher.js +22 -25
  21. package/src/plugins/jupiter/governance/voteFetcher.js.map +1 -1
  22. package/src/plugins/jupiter/launchpad/structs.d.ts +10 -1
  23. package/src/plugins/jupiter/launchpad/structs.js +9 -1
  24. package/src/plugins/jupiter/launchpad/structs.js.map +1 -1
  25. package/src/plugins/kamino/constants.js +12 -0
  26. package/src/plugins/kamino/constants.js.map +1 -1
  27. package/src/plugins/orca/getWhirlpoolPositions.js +1 -5
  28. package/src/plugins/orca/getWhirlpoolPositions.js.map +1 -1
  29. package/src/plugins/orca/helpers_fees.js +12 -3
  30. package/src/plugins/orca/helpers_fees.js.map +1 -1
package/CHANGELOG.md CHANGED
@@ -2,10 +2,18 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
- ## [0.14.21](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.20...plugins-0.14.21) (2024-11-05)
5
+ ## [0.14.23](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.22...plugins-0.14.23) (2024-11-07)
6
6
 
7
7
 
8
8
 
9
+ ## [0.14.22](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.21...plugins-0.14.22) (2024-11-07)
10
+
11
+
12
+
13
+ ## [0.14.21](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.20...plugins-0.14.21) (2024-11-05)
14
+
15
+
16
+
9
17
  ## [0.14.20](https://github.com/sonarwatch/portfolio/compare/plugins-0.14.19...plugins-0.14.20) (2024-11-04)
10
18
 
11
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.14.21",
3
+ "version": "0.14.23",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
package/src/index.js CHANGED
@@ -153,6 +153,7 @@ const zelo_1 = require("./plugins/zelo");
153
153
  const hxro_1 = require("./plugins/hxro");
154
154
  const spdr_1 = require("./plugins/spdr");
155
155
  const grass_1 = require("./plugins/grass");
156
+ const cyberfrogs_1 = require("./plugins/cyberfrogs");
156
157
  var constants_1 = require("./plugins/tokens/constants");
157
158
  Object.defineProperty(exports, "walletTokensPlatform", { enumerable: true, get: function () { return constants_1.walletTokensPlatform; } });
158
159
  Object.defineProperty(exports, "walletNftsPlatform", { enumerable: true, get: function () { return constants_1.walletNftsPlatform; } });
@@ -299,6 +300,7 @@ exports.platforms = [
299
300
  ...hxro_1.platforms,
300
301
  ...spdr_1.platforms,
301
302
  ...grass_1.platforms,
303
+ ...cyberfrogs_1.platforms,
302
304
  ];
303
305
  // JOBS //
304
306
  exports.jobs = [
@@ -429,6 +431,7 @@ exports.jobs = [
429
431
  ...hxro_1.jobs,
430
432
  ...spdr_1.jobs,
431
433
  ...grass_1.jobs,
434
+ ...cyberfrogs_1.jobs,
432
435
  ];
433
436
  // FETCHERS //
434
437
  exports.fetchers = [
@@ -560,6 +563,7 @@ exports.fetchers = [
560
563
  ...hxro_1.fetchers,
561
564
  ...spdr_1.fetchers,
562
565
  ...grass_1.fetchers,
566
+ ...cyberfrogs_1.fetchers,
563
567
  ];
564
568
  exports.fetchersByAddressSystem = (0, getFetchersByAddressSystem_1.getFetchersByAddressSystem)(exports.fetchers);
565
569
  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,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,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,yCAIwB;AACxB,2CAIyB;AACzB,mDAI6B;AAC7B,2CAIyB;AAC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AAe;IAClB,GAAG,gBAAa;IAChB,GAAG,oBAAiB;IACpB,GAAG,mBAAgB;IACnB,GAAG,kBAAe;IAClB,GAAG,mBAAgB;IACnB,GAAG,mBAAgB;IACnB,GAAG,oBAAiB;IACpB,GAAG,iBAAc;IACjB,GAAG,gBAAa;IAChB,GAAG,eAAY;IACf,GAAG,oBAAiB;IACpB,GAAG,kBAAe;IAClB,GAAG,oBAAiB;IACpB,GAAG,eAAY;IACf,GAAG,eAAY;IACf,GAAG,eAAY;IACf,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;CAC3B,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,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,6CAK0B;AAC1B,6CAI0B;AAC1B,yCAIw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BAAoB;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;IAClB,GAAG,kBAAe;IAClB,GAAG,kBAAe;IAClB,GAAG,iBAAc;IACjB,GAAG,mBAAgB;IACnB,GAAG,mBAAgB;IACnB,GAAG,gBAAa;IAChB,GAAG,mBAAgB;IACnB,GAAG,kBAAe;IAClB,GAAG,gBAAa;IAChB,GAAG,oBAAiB;IACpB,GAAG,mBAAgB;IACnB,GAAG,kBAAe;IAClB,GAAG,mBAAgB;IACnB,GAAG,mBAAgB;IACnB,GAAG,oBAAiB;IACpB,GAAG,iBAAc;IACjB,GAAG,gBAAa;IAChB,GAAG,eAAY;IACf,GAAG,oBAAiB;IACpB,GAAG,kBAAe;IAClB,GAAG,oBAAiB;IACpB,GAAG,eAAY;IACf,GAAG,eAAY;IACf,GAAG,eAAY;IACf,GAAG,gBAAa;IAChB,GAAG,qBAAgB;CACpB,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;CAC3B,CAAC;AACW,QAAA,8BAA8B,GACzC,IAAA,uDAA0B,EAAC,uBAAe,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { PublicKey } from '@solana/web3.js';
2
+ import { Platform } from '@sonarwatch/portfolio-core';
3
+ export declare const platformId = "cyberfrogs";
4
+ export declare const platform: Platform;
5
+ export declare const pid: PublicKey;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pid = exports.platform = exports.platformId = void 0;
4
+ const web3_js_1 = require("@solana/web3.js");
5
+ exports.platformId = 'cyberfrogs';
6
+ exports.platform = {
7
+ id: exports.platformId,
8
+ name: 'CyberFrogs Thor',
9
+ image: 'https://sonar.watch/img/platforms/cyberfrogs.webp',
10
+ website: 'https://legacy.cyberfrogs.io/faction-contracts-v3',
11
+ twitter: 'https://twitter.com/CyberFrogsNFT',
12
+ };
13
+ exports.pid = new web3_js_1.PublicKey('8F2VM13kdMBaHtcXPHmArtLueg7rfsa3gnrgGjAy4oCu');
14
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,mDAAmD;IAC1D,OAAO,EAAE,mDAAmD;IAC5D,OAAO,EAAE,mCAAmC;CAC7C,CAAC;AAEW,QAAA,GAAG,GAAG,IAAI,mBAAS,CAC9B,8CAA8C,CAC/C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Platform } from '@sonarwatch/portfolio-core';
2
+ import { Fetcher } from '../../Fetcher';
3
+ import { Job } from '../../Job';
4
+ export declare const platforms: Platform[];
5
+ export declare const jobs: Job[];
6
+ export declare const fetchers: Fetcher[];
@@ -0,0 +1,12 @@
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.fetchers = exports.jobs = exports.platforms = void 0;
7
+ const constants_1 = require("./constants");
8
+ const thorDepositFetcher_1 = __importDefault(require("./thorDepositFetcher"));
9
+ exports.platforms = [constants_1.platform];
10
+ exports.jobs = [];
11
+ exports.fetchers = [thorDepositFetcher_1.default];
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/index.ts"],"names":[],"mappings":";;;;;;AAGA,2CAAuC;AACvC,8EAA0D;AAE7C,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,IAAI,GAAU,EAAE,CAAC;AACjB,QAAA,QAAQ,GAAc,CAAC,4BAAsB,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /// <reference types="node" />
2
+ import { BeetStruct } from '@metaplex-foundation/beet';
3
+ import { PublicKey } from '@solana/web3.js';
4
+ import BigNumber from 'bignumber.js';
5
+ export type Deposit = {
6
+ buffer: Buffer;
7
+ deposit: BigNumber;
8
+ depositInitial: BigNumber;
9
+ startTs: BigNumber;
10
+ endTs: BigNumber;
11
+ owner: PublicKey;
12
+ };
13
+ export declare const depositStruct: BeetStruct<Deposit, Partial<Deposit>>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.depositStruct = void 0;
4
+ const beet_1 = require("@metaplex-foundation/beet");
5
+ const beet_solana_1 = require("@metaplex-foundation/beet-solana");
6
+ const solana_1 = require("../../utils/solana");
7
+ exports.depositStruct = new beet_1.BeetStruct([
8
+ ['buffer', (0, solana_1.blob)(8)],
9
+ ['deposit', solana_1.u64],
10
+ ['depositInitial', solana_1.u64],
11
+ ['startTs', solana_1.u64],
12
+ ['endTs', solana_1.u64],
13
+ ['owner', beet_solana_1.publicKey],
14
+ ], (args) => args);
15
+ //# sourceMappingURL=structs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/structs.ts"],"names":[],"mappings":";;;AAAA,oDAAuD;AACvD,kEAA6D;AAG7D,+CAA+C;AAWlC,QAAA,aAAa,GAAG,IAAI,iBAAU,CACzC;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,SAAS,EAAE,YAAG,CAAC;IAChB,CAAC,gBAAgB,EAAE,YAAG,CAAC;IACvB,CAAC,SAAS,EAAE,YAAG,CAAC;IAChB,CAAC,OAAO,EAAE,YAAG,CAAC;IACd,CAAC,OAAO,EAAE,uBAAS,CAAC;CACrB,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAe,CAC1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Fetcher } from '../../Fetcher';
2
+ declare const fetcher: Fetcher;
3
+ export default fetcher;
@@ -0,0 +1,52 @@
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 clients_1 = require("../../utils/clients");
15
+ const structs_1 = require("./structs");
16
+ const ElementRegistry_1 = require("../../utils/elementbuilder/ElementRegistry");
17
+ const solana_1 = require("../../utils/solana");
18
+ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
19
+ const connection = (0, clients_1.getClientSolana)();
20
+ const accounts = yield (0, solana_1.getParsedProgramAccounts)(connection, structs_1.depositStruct, constants_1.pid, [
21
+ {
22
+ memcmp: {
23
+ bytes: owner,
24
+ offset: 40,
25
+ },
26
+ },
27
+ {
28
+ dataSize: 72,
29
+ },
30
+ ]);
31
+ const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
32
+ const element = elementRegistry.addElementMultiple({
33
+ label: 'Deposit',
34
+ });
35
+ accounts.forEach((deposit) => {
36
+ element.addAsset({
37
+ address: solana_1.usdcSolanaMint,
38
+ amount: deposit.depositInitial,
39
+ attributes: {
40
+ lockedUntil: deposit.endTs.times(1000).toNumber(),
41
+ },
42
+ });
43
+ });
44
+ return elementRegistry.getElements(cache);
45
+ });
46
+ const fetcher = {
47
+ id: `${constants_1.platformId}-thor-deposit`,
48
+ networkId: portfolio_core_1.NetworkId.solana,
49
+ executor,
50
+ };
51
+ exports.default = fetcher;
52
+ //# sourceMappingURL=thorDepositFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thorDepositFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cyberfrogs/thorDepositFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAA8C;AAE9C,iDAAsD;AACtD,uCAA0C;AAC1C,gFAA6E;AAC7E,+CAA8E;AAE9E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,QAAQ,GAAG,MAAM,IAAA,iCAAwB,EAC7C,UAAU,EACV,uBAAa,EACb,eAAG,EACH;QACE;YACE,MAAM,EAAE;gBACN,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,EAAE;aACX;SACF;QACD;YACE,QAAQ,EAAE,EAAE;SACb;KACF,CACF,CAAC;IAEF,MAAM,eAAe,GAAG,IAAI,iCAAe,CAAC,0BAAS,CAAC,MAAM,EAAE,sBAAU,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,eAAe,CAAC,kBAAkB,CAAC;QACjD,KAAK,EAAE,SAAS;KACjB,CAAC,CAAC;IAEH,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,OAAO,CAAC,QAAQ,CAAC;YACf,OAAO,EAAE,uBAAc;YACvB,MAAM,EAAE,OAAO,CAAC,cAAc;YAC9B,UAAU,EAAE;gBACV,WAAW,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;aAClD;SACF,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,eAAe;IAChC,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { GetProgramAccountsFilter } from '@solana/web3.js';
2
2
  export declare const perpetualsPositionsFilter: (owner: string) => GetProgramAccountsFilter[];
3
3
  export declare const escrowFilter: (owner: string) => GetProgramAccountsFilter[];
4
+ export declare const partialUnstakeFilter: (escrow: string) => GetProgramAccountsFilter[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.escrowFilter = exports.perpetualsPositionsFilter = void 0;
3
+ exports.partialUnstakeFilter = exports.escrowFilter = exports.perpetualsPositionsFilter = void 0;
4
4
  const perpetualsPositionsFilter = (owner) => [
5
5
  {
6
6
  memcmp: {
@@ -21,4 +21,14 @@ const escrowFilter = (owner) => [
21
21
  { dataSize: 322 },
22
22
  ];
23
23
  exports.escrowFilter = escrowFilter;
24
+ const partialUnstakeFilter = (escrow) => [
25
+ {
26
+ memcmp: {
27
+ offset: 8,
28
+ bytes: escrow,
29
+ },
30
+ },
31
+ { dataSize: 156 },
32
+ ];
33
+ exports.partialUnstakeFilter = partialUnstakeFilter;
24
34
  //# sourceMappingURL=filters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filters.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/filters.ts"],"names":[],"mappings":";;;AAEO,MAAM,yBAAyB,GAAG,CACvC,KAAa,EACe,EAAE,CAAC;IAC/B;QACE,MAAM,EAAE;YACN,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,KAAK;SACb;KACF;IACD,EAAE,QAAQ,EAAE,GAAG,EAAE;CAClB,CAAC;AAVW,QAAA,yBAAyB,6BAUpC;AAEK,MAAM,YAAY,GAAG,CAAC,KAAa,EAA8B,EAAE,CAAC;IACzE;QACE,MAAM,EAAE;YACN,MAAM,EAAE,EAAE;YACV,KAAK,EAAE,KAAK;SACb;KACF;IACD,EAAE,QAAQ,EAAE,GAAG,EAAE;CAClB,CAAC;AARW,QAAA,YAAY,gBAQvB"}
1
+ {"version":3,"file":"filters.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/jupiter/filters.ts"],"names":[],"mappings":";;;AAEO,MAAM,yBAAyB,GAAG,CACvC,KAAa,EACe,EAAE,CAAC;IAC/B;QACE,MAAM,EAAE;YACN,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,KAAK;SACb;KACF;IACD,EAAE,QAAQ,EAAE,GAAG,EAAE;CAClB,CAAC;AAVW,QAAA,yBAAyB,6BAUpC;AAEK,MAAM,YAAY,GAAG,CAAC,KAAa,EAA8B,EAAE,CAAC;IACzE;QACE,MAAM,EAAE;YACN,MAAM,EAAE,EAAE;YACV,KAAK,EAAE,KAAK;SACb;KACF;IACD,EAAE,QAAQ,EAAE,GAAG,EAAE;CAClB,CAAC;AARW,QAAA,YAAY,gBAQvB;AAEK,MAAM,oBAAoB,GAAG,CAClC,MAAc,EACc,EAAE,CAAC;IAC/B;QACE,MAAM,EAAE;YACN,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,MAAM;SACd;KACF;IACD,EAAE,QAAQ,EAAE,GAAG,EAAE;CAClB,CAAC;AAVW,QAAA,oBAAoB,wBAU/B"}
@@ -8,46 +8,43 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
11
  Object.defineProperty(exports, "__esModule", { value: true });
15
12
  const portfolio_core_1 = require("@sonarwatch/portfolio-core");
16
13
  const clients_1 = require("../../../utils/clients");
17
14
  const getParsedAccountInfo_1 = require("../../../utils/solana/getParsedAccountInfo");
18
15
  const helpers_1 = require("../helpers");
19
- const tokenPriceToAssetToken_1 = __importDefault(require("../../../utils/misc/tokenPriceToAssetToken"));
20
16
  const structs_1 = require("../launchpad/structs");
21
17
  const constants_1 = require("../launchpad/constants");
22
18
  const constants_2 = require("./constants");
19
+ const solana_1 = require("../../../utils/solana");
20
+ const filters_1 = require("../filters");
21
+ const ElementRegistry_1 = require("../../../utils/elementbuilder/ElementRegistry");
23
22
  const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
24
23
  const client = (0, clients_1.getClientSolana)();
25
24
  const escrowPubkey = (0, helpers_1.getVotePda)(owner);
26
25
  const escrowAccount = yield (0, getParsedAccountInfo_1.getParsedAccountInfo)(client, structs_1.escrowStruct, escrowPubkey);
27
26
  if (!escrowAccount)
28
27
  return [];
29
- const jupTokenPrice = yield cache.getTokenPrice(constants_1.jupMint, portfolio_core_1.NetworkId.solana);
30
- if (!jupTokenPrice)
31
- return [];
32
- const { decimals } = jupTokenPrice;
33
- if (escrowAccount.amount.isZero())
34
- return [];
35
- const asset = (0, tokenPriceToAssetToken_1.default)(constants_1.jupMint, escrowAccount.amount.dividedBy(Math.pow(10, decimals)).toNumber(), portfolio_core_1.NetworkId.solana, jupTokenPrice);
36
- if (!escrowAccount.escrowStartedAt.isZero()) {
37
- const unlockingAt = new Date(escrowAccount.escrowEndsAt.times(1000).toNumber());
38
- asset.attributes = { lockedUntil: unlockingAt.getTime() };
39
- }
40
- return [
41
- {
42
- type: portfolio_core_1.PortfolioElementType.multiple,
43
- label: 'Staked',
44
- name: 'Vote',
45
- networkId: portfolio_core_1.NetworkId.solana,
46
- platformId: constants_2.platformId,
47
- data: { assets: [asset] },
48
- value: asset.value,
28
+ const partialUnstakingAccounts = yield (0, solana_1.getParsedProgramAccounts)(client, structs_1.partialUnstakeStruct, constants_1.voteProgramId, (0, filters_1.partialUnstakeFilter)(escrowAccount.pubkey.toString()));
29
+ const registry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_2.platformId);
30
+ const element = registry.addElementMultiple({ label: 'Staked' });
31
+ element.addAsset({
32
+ address: constants_1.jupMint,
33
+ amount: escrowAccount.amount,
34
+ attributes: {
35
+ lockedUntil: escrowAccount.escrowStartedAt.isZero()
36
+ ? undefined
37
+ : escrowAccount.escrowEndsAt.times(1000).toNumber(),
49
38
  },
50
- ];
39
+ });
40
+ partialUnstakingAccounts.forEach((account) => {
41
+ element.addAsset({
42
+ address: constants_1.jupMint,
43
+ amount: account.amount,
44
+ attributes: { lockedUntil: account.expiration.times(1000).toNumber() },
45
+ });
46
+ });
47
+ return registry.getElements(cache);
51
48
  });
52
49
  const fetcher = {
53
50
  id: `${constants_2.platformId}-vote`,
@@ -1 +1 @@
1
- {"version":3,"file":"voteFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/voteFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAIoC;AAGpC,oDAAyD;AACzD,qFAAkF;AAClF,wCAAwC;AACxC,wGAAgF;AAChF,kDAAoD;AACpD,sDAAiD;AACjD,2CAAyC;AAEzC,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,YA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AC,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,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,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { BeetStruct } from '@metaplex-foundation/beet';
2
+ import { BeetStruct, FixableBeetStruct } from '@metaplex-foundation/beet';
3
3
  import { PublicKey } from '@solana/web3.js';
4
4
  import BigNumber from 'bignumber.js';
5
5
  export type Escrow = {
@@ -16,6 +16,15 @@ export type Escrow = {
16
16
  buffers: BigNumber[];
17
17
  };
18
18
  export declare const escrowStruct: BeetStruct<Escrow, Partial<Escrow>>;
19
+ export type PartialUnstake = {
20
+ buffer: Buffer;
21
+ escrow: PublicKey;
22
+ amount: BigNumber;
23
+ expiration: BigNumber;
24
+ buffers: BigNumber[];
25
+ memo: number[];
26
+ };
27
+ export declare const partialUnstakeStruct: FixableBeetStruct<PartialUnstake, Partial<PartialUnstake>>;
19
28
  export type ClaimStatus = {
20
29
  buffer: Buffer;
21
30
  claimant: PublicKey;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.claimStatusStruct = exports.escrowStruct = void 0;
3
+ exports.claimStatusStruct = exports.partialUnstakeStruct = exports.escrowStruct = 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");
@@ -17,6 +17,14 @@ exports.escrowStruct = new beet_1.BeetStruct([
17
17
  ['isMaxLock', beet_1.bool],
18
18
  ['buffers', (0, beet_1.uniformFixedSizeArray)(solana_1.u128, 10)],
19
19
  ], (args) => args);
20
+ exports.partialUnstakeStruct = new beet_1.FixableBeetStruct([
21
+ ['buffer', (0, solana_1.blob)(8)],
22
+ ['escrow', beet_solana_1.publicKey],
23
+ ['amount', solana_1.u64],
24
+ ['expiration', solana_1.i64],
25
+ ['buffers', (0, beet_1.uniformFixedSizeArray)(solana_1.u128, 6)],
26
+ ['memo', (0, beet_1.array)(beet_1.u8)],
27
+ ], (args) => args);
20
28
  exports.claimStatusStruct = new beet_1.BeetStruct([
21
29
  ['buffer', (0, solana_1.blob)(8)],
22
30
  ['claimant', beet_solana_1.publicKey],
@@ -1 +1 @@
1
- {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/structs.ts"],"names":[],"mappings":";;;AAAA,oDAKmC;AACnC,kEAA6D;AAG7D,kDAA6D;AAgBhD,QAAA,YAAY,GAAG,IAAI,iBAAU,CACxC;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,QAAQ,EAAE,uBAAS,CAAC;IACrB,CAAC,OAAO,EAAE,uBAAS,CAAC;IACpB,CAAC,MAAM,EAAE,SAAE,CAAC;IACZ,CAAC,QAAQ,EAAE,uBAAS,CAAC;IACrB,CAAC,QAAQ,EAAE,YAAG,CAAC;IACf,CAAC,iBAAiB,EAAE,YAAG,CAAC;IACxB,CAAC,cAAc,EAAE,YAAG,CAAC;IACrB,CAAC,cAAc,EAAE,uBAAS,CAAC;IAC3B,CAAC,WAAW,EAAE,WAAI,CAAC;IACnB,CAAC,SAAS,EAAE,IAAA,4BAAqB,EAAC,aAAI,EAAE,EAAE,CAAC,CAAC;CAC7C,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAc,CACzB,CAAC;AAYW,QAAA,iBAAiB,GAAG,IAAI,iBAAU,CAC7C;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,UAAU,EAAE,uBAAS,CAAC;IACvB,CAAC,cAAc,EAAE,YAAG,CAAC;IACrB,CAAC,uBAAuB,EAAE,YAAG,CAAC;IAC9B,CAAC,gBAAgB,EAAE,YAAG,CAAC;IACvB,CAAC,UAAU,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACrB,CAAC,OAAO,EAAE,uBAAS,CAAC;CACrB,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAmB,CAC9B,CAAC"}
1
+ {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/structs.ts"],"names":[],"mappings":";;;AAAA,oDAOmC;AACnC,kEAA6D;AAG7D,kDAA6D;AAgBhD,QAAA,YAAY,GAAG,IAAI,iBAAU,CACxC;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,QAAQ,EAAE,uBAAS,CAAC;IACrB,CAAC,OAAO,EAAE,uBAAS,CAAC;IACpB,CAAC,MAAM,EAAE,SAAE,CAAC;IACZ,CAAC,QAAQ,EAAE,uBAAS,CAAC;IACrB,CAAC,QAAQ,EAAE,YAAG,CAAC;IACf,CAAC,iBAAiB,EAAE,YAAG,CAAC;IACxB,CAAC,cAAc,EAAE,YAAG,CAAC;IACrB,CAAC,cAAc,EAAE,uBAAS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'H6rHXmXoCQvq8Ue81MqNh7ow5ysPa1dSozwW3PU1dDH6',
105
+ {
106
+ name: 'Jito Market',
107
+ multiplyPairs: [
108
+ [
109
+ 'J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn',
110
+ 'So11111111111111111111111111111111111111112',
111
+ ],
112
+ ],
113
+ },
114
+ ],
103
115
  ]);
104
116
  exports.marketsKey = `markets`;
105
117
  exports.reservesKey = `reserves`;
@@ -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,CAAC;AAE5D,QAAA,cAAc,GAAqC,IAAI,GAAG,CAAC;IACtE;QACE,8CAA8C;QAC9C;YACE,IAAI,EAAE,aAAa;YACnB,aAAa,EAAE;gBACb;oBACE,6CAA6C;oBAC7C,6CAA6C;iBAC9C;gBACD;oBACE,8CAA8C;oBAC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,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,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,CAAC;AAE5D,QAAA,cAAc,GAAqC,IAAI,GAAG,CAAC;IACtE;QACE,8CAA8C;QAC9C;YACE,IAAI,EAAE,aAAa;YACnB,aAAa,EAAE;gBACb;oBACE,6CAA6C;oBAC7C,6CAA6C;iBAC9C;gBACD;oBACE,8CAA8C;oBAC9C,6CAA6C;iBAC9C;gBACD;oBACE,6CAA6C;oBAC7C,6CAA6C;iBAC9C;gBACD;oBACE,6CAA6C;oBAC7C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AAA,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"}
@@ -140,17 +140,13 @@ function getOrcaNftFetcher(platformId, programId) {
140
140
  !assetTokenB ||
141
141
  (assetTokenA.value === null && assetTokenB.value === null))
142
142
  continue;
143
- const assets = !tokenAmountA.isZero() && !tokenAmountB.isZero()
144
- ? [assetTokenA, assetTokenB]
145
- : [];
143
+ const assets = [assetTokenA, assetTokenB];
146
144
  const assetsValue = (0, portfolio_core_1.getUsdValueSum)([
147
145
  assetTokenA.value,
148
146
  assetTokenB.value,
149
147
  ]);
150
148
  const rewardAssetsValue = (0, portfolio_core_1.getUsdValueSum)(rewardAssets.map((a) => a.value));
151
149
  const totalValue = (0, portfolio_core_1.getUsdValueSum)([assetsValue, rewardAssetsValue]);
152
- if (assets.length === 0 && rewardAssets.length === 0)
153
- continue;
154
150
  elements.push({
155
151
  type: portfolio_core_1.PortfolioElementType.liquidity,
156
152
  networkId: portfolio_core_1.NetworkId.solana,
@@ -1 +1 @@
1
- {"version":3,"file":"getWhirlpoolPositions.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/getWhirlpoolPositions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,6CAA4C;AAC5C,2CAIqB;AACrB,iDAAsD;AACtD,+CAG4B;AAE5B,mDAAgE;AAChE,qGAA6E;AAC7E,wFAAyF;AAEzF,iDAIwB;AAEX,QAAA,qBAAqB,GAAG,iBAAiB,CACpD,sBAAc,EACd,4BAAgB,CACjB,CAAC;AAEF,SAAgB,iBAAiB,CAC/B,UAAkB,EAClB,SAAoB;IAEpB,OAAO,CACL,KAAY,EACZ,IAAiC,EACJ,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CAAC;gBACZ,IAAI,EAAE,qCAAoB,CAAC,SAAS;gBACpC,SAAS,EAAE,0BAAS,CAAC,MAAM;gBAC3B,UAAU;gBACV,KAAK,EAAE,eAAe;gBACtB,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE;oBACJ,WAAW,EAAE;wBACX;4BACE,MAAM;4BACN,WAAW;4BACX,YAAY;4BACZ,iBAAiB;4BACjB,KAAK,EAAE,UAAU;4BACjB,MAAM,EAAE,EAAE;yBACX;qBACF;iBACF;gBACD,IAAI;aACL,CAAC,CAAC;QACL,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAA,CAAC;AACJ,CAAC;AA/PD,8CA+PC"}
1
+ {"version":3,"file":"getWhirlpoolPositions.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/getWhirlpoolPositions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,6CAA4C;AAC5C,2CAIqB;AACrB,iDAAsD;AACtD,+CAG4B;AAE5B,mDAAgE;AAChE,qGAA6E;AAC7E,wFAAyF;AAEzF,iDAIwB;AAEX,QAAA,qBAAqB,GAAG,iBAAiB,CACpD,sBAAc,EACd,4BAAgB,CACjB,CAAC;AAEF,SAAgB,iBAAiB,CAC/B,UAAkB,EAClB,SAAoB;IAEpB,OAAO,CACL,KAAY,EACZ,IAAiC,EACJ,EAAE;QAC/B,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;QACjC,MAAM,uBAAuB,GAAgB,EAAE,CAAC;QAEhD,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YACnB,MAAM,OAAO,GAAG,IAAI,mBAAS,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAEhD,MAAM,YAAY,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;YA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AAC;6BAC3C,QAAQ,EAAE,EACb,0BAAS,CAAC,MAAM,EAChB,iBAAiB,CAClB,CACF,CAAC;oBACJ,CAAC;gBACH,CAAC;YACH,CAAC;YAED,IACE,CAAC,WAAW;gBACZ,CAAC,WAAW;gBACZ,CAAC,WAAW,CAAC,KAAK,KAAK,IAAI,IAAI,WAAW,CAAC,KAAK,KAAK,IAAI,CAAC;gBAE1D,SAAS;YAEX,MAAM,MAAM,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;YAE1C,MAAM,WAAW,GAAG,IAAA,+BAAc,EAAC;gBACjC,WAAW,CAAC,KAAK;gBACjB,WAAW,CAAC,KAAK;aAClB,CAAC,CAAC;YACH,MAAM,iBAAiB,GAAG,IAAA,+BAAc,EACtC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CACjC,CAAC;YACF,MAAM,UAAU,GAAG,IAAA,+BAAc,EAAC,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAC;YAEpE,QAAQ,CAAC,IAAI,CAAC;gBACZ,IAAI,EAAE,qCAAoB,CAAC,SAAS;gBACpC,SAAS,EAAE,0BAAS,CAAC,MAAM;gBAC3B,UAAU;gBACV,KAAK,EAAE,eAAe;gBACtB,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,UAAU;gBACjB,IAAI,EAAE;oBACJ,WAAW,EAAE;wBACX;4BACE,MAAM;4BACN,WAAW;4BACX,YAAY;4BACZ,iBAAiB;4BACjB,KAAK,EAAE,UAAU;4BACjB,MAAM,EAAE,EAAE;yBACX;qBACF;iBACF;gBACD,IAAI;aACL,CAAC,CAAC;QACL,CAAC;QAED,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAA,CAAC;AACJ,CAAC;AA1PD,8CA0PC"}
@@ -237,15 +237,24 @@ function getCollectRewardsQuoteInternal(param) {
237
237
  const rewardExistsA = (_a = rewardGrowthsInsideX64[0]) === null || _a === void 0 ? void 0 : _a[1];
238
238
  const rewardExistsB = (_b = rewardGrowthsInsideX64[1]) === null || _b === void 0 ? void 0 : _b[1];
239
239
  const rewardExistsC = (_c = rewardGrowthsInsideX64[2]) === null || _c === void 0 ? void 0 : _c[1];
240
- const rewardOwedA = rewardExistsA
240
+ const finalRewardA = rewardExistsA
241
241
  ? new bignumber_js_1.default((_d = updatedRewardInfosX64[0]) === null || _d === void 0 ? void 0 : _d.shrn(64).toString())
242
242
  : new bignumber_js_1.default(0);
243
- const rewardOwedB = rewardExistsB
243
+ const finalRewardB = rewardExistsB
244
244
  ? new bignumber_js_1.default((_e = updatedRewardInfosX64[1]) === null || _e === void 0 ? void 0 : _e.shrn(64).toString())
245
245
  : new bignumber_js_1.default(0);
246
- const rewardOwedC = rewardExistsC
246
+ const finalRewardC = rewardExistsC
247
247
  ? new bignumber_js_1.default((_f = updatedRewardInfosX64[2]) === null || _f === void 0 ? void 0 : _f.shrn(64).toString())
248
248
  : new bignumber_js_1.default(0);
249
+ const rewardOwedA = finalRewardA.isGreaterThan(Math.pow(10, 18))
250
+ ? (0, bignumber_js_1.default)(0)
251
+ : finalRewardA;
252
+ const rewardOwedB = finalRewardB.isGreaterThan(Math.pow(10, 18))
253
+ ? (0, bignumber_js_1.default)(0)
254
+ : finalRewardB;
255
+ const rewardOwedC = finalRewardC.isGreaterThan(Math.pow(10, 18))
256
+ ? (0, bignumber_js_1.default)(0)
257
+ : finalRewardC;
249
258
  return { rewardOwedA, rewardOwedB, rewardOwedC };
250
259
  }
251
260
  exports.getCollectRewardsQuoteInternal = getCollectRewardsQuoteInternal;
@@ -1 +1 @@
1
- {"version":3,"file":"helpers_fees.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/helpers_fees.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAA4C;AAC5C,kDAAuB;AACvB,gEAAqC;AACrC,mDAO6B;AAC7B,+CAG4B;AAC5B,2CAA+C;AAC/C,iDAAsD;AACtD,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