@sonarwatch/portfolio-plugins 0.14.76 → 0.14.78

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 (46) hide show
  1. package/CHANGELOG.md +1904 -1896
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  4. package/src/index.js +6 -1
  5. package/src/index.js.map +1 -1
  6. package/src/plugins/balancer/helpers/pools.js +21 -21
  7. package/src/plugins/jupiter/pricingJob.js +1 -0
  8. package/src/plugins/jupiter/pricingJob.js.map +1 -1
  9. package/src/plugins/kamino/farmsFetcher.js +37 -18
  10. package/src/plugins/kamino/farmsFetcher.js.map +1 -1
  11. package/src/plugins/perena/constants.d.ts +6 -0
  12. package/src/plugins/perena/constants.js +14 -0
  13. package/src/plugins/perena/constants.js.map +1 -0
  14. package/src/plugins/perena/index.d.ts +6 -0
  15. package/src/plugins/perena/index.js +12 -0
  16. package/src/plugins/perena/index.js.map +1 -0
  17. package/src/plugins/perena/poolsJob.d.ts +3 -0
  18. package/src/plugins/perena/poolsJob.js +69 -0
  19. package/src/plugins/perena/poolsJob.js.map +1 -0
  20. package/src/plugins/perena/structs.d.ts +47 -0
  21. package/src/plugins/perena/structs.js +47 -0
  22. package/src/plugins/perena/structs.js.map +1 -0
  23. package/src/plugins/perena/types.d.ts +5 -0
  24. package/src/plugins/perena/types.js +3 -0
  25. package/src/plugins/perena/types.js.map +1 -0
  26. package/src/plugins/pudgypenguins/index.js +3 -1
  27. package/src/plugins/pudgypenguins/index.js.map +1 -1
  28. package/src/plugins/sushiswap/helpers.js +24 -24
  29. package/src/plugins/tensor/constants.d.ts +3 -0
  30. package/src/plugins/tensor/constants.js +19 -1
  31. package/src/plugins/tensor/constants.js.map +1 -1
  32. package/src/plugins/tensor/index.d.ts +2 -0
  33. package/src/plugins/tensor/index.js +10 -3
  34. package/src/plugins/tensor/index.js.map +1 -1
  35. package/src/plugins/tensor/powerUserAirdropFetcher.d.ts +3 -0
  36. package/src/plugins/tensor/powerUserAirdropFetcher.js +98 -0
  37. package/src/plugins/tensor/powerUserAirdropFetcher.js.map +1 -0
  38. package/src/plugins/tensor/season4AirdropFetcher.d.ts +3 -0
  39. package/src/plugins/tensor/season4AirdropFetcher.js +44 -0
  40. package/src/plugins/tensor/season4AirdropFetcher.js.map +1 -0
  41. package/src/plugins/tensor/season4Alloc.d.ts +6 -0
  42. package/src/plugins/tensor/season4Alloc.js +86167 -0
  43. package/src/plugins/tensor/season4Alloc.js.map +1 -0
  44. package/src/plugins/uniswap-v2/helpers.js +22 -22
  45. package/src/utils/sei/constants.js +8 -8
  46. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.magmaProgramId = exports.tnsrMint = exports.tensorPid = exports.platform = exports.platformId = void 0;
3
+ exports.powerUsersStatics = exports.s4Statics = exports.magmaProgramId = exports.tnsrMint = exports.tensorPid = exports.platform = exports.platformId = void 0;
4
4
  const web3_js_1 = require("@solana/web3.js");
5
5
  exports.platformId = 'tensor';
6
6
  exports.platform = {
@@ -13,4 +13,22 @@ exports.platform = {
13
13
  exports.tensorPid = new web3_js_1.PublicKey('TSWAPaqyCSx2KABk68Shruf4rp7CxcNi8hAsbdwmHbN');
14
14
  exports.tnsrMint = 'TNSRxcUxoT9xBG3de7PiJyTDYu7kskLqcpddxnEJAS6';
15
15
  exports.magmaProgramId = '3zK38YBP6u3BpLUpaa6QhRHh4VXdv3J8cmD24fFpuyqy';
16
+ exports.s4Statics = {
17
+ claimStart: 1738281600000,
18
+ claimEnd: undefined,
19
+ id: 'tensor-s4',
20
+ emitterName: 'Tensor',
21
+ emitterLink: 'https://www.tensor.trade/',
22
+ claimLink: 'https://tensor.foundation/season4',
23
+ image: 'https://sonar.watch/img/platforms/tensor.webp',
24
+ };
25
+ exports.powerUsersStatics = {
26
+ claimStart: 1730851200000,
27
+ claimEnd: 1746489600000,
28
+ id: 'tensor-power-user',
29
+ emitterName: 'Tensor',
30
+ emitterLink: 'https://www.tensor.trade/',
31
+ claimLink: 'https://www.tensor.foundation/powerusers',
32
+ image: 'https://sonar.watch/img/platforms/tensor.webp',
33
+ };
16
34
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tensor/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AAEzD,QAAA,cAAc,GAAG,8CAA8C,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tensor/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAI/B,QAAA,UAAU,GAAG,QAAQ,CAAC;AACtB,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,+CAA+C;IACtD,OAAO,EAAE,+BAA+B;IACxC,OAAO,EAAE,2BAA2B;CACrC,CAAC;AAEW,QAAA,SAAS,GAAG,IAAI,mBAAS,CACpC,6CAA6C,CAC9C,CAAC;AAEW,QAAA,QAAQ,GAAG,6CAA6C,CAAC;AAEzD,QAAA,cAAc,GAAG,8CAA8C,CAAC;AAEhE,QAAA,SAAS,GAAmB;IACvC,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,SAAS;IACnB,EAAE,EAAE,WAAW;IACf,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,mCAAmC;IAC9C,KAAK,EAAE,+CAA+C;CACvD,CAAC;AAEW,QAAA,iBAAiB,GAAmB;IAC/C,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,EAAE,EAAE,mBAAmB;IACvB,WAAW,EAAE,QAAQ;IACrB,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,0CAA0C;IACrD,KAAK,EAAE,+CAA+C;CACvD,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import { Platform } from '@sonarwatch/portfolio-core';
2
2
  import { Fetcher } from '../../Fetcher';
3
+ import { AirdropFetcher } from '../../AirdropFetcher';
3
4
  export declare const platforms: Platform[];
4
5
  export declare const fetchers: Fetcher[];
6
+ export declare const tensorAirdropFetchers: AirdropFetcher[];
@@ -3,15 +3,22 @@ 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.fetchers = exports.platforms = void 0;
6
+ exports.tensorAirdropFetchers = exports.fetchers = exports.platforms = void 0;
7
7
  const constants_1 = require("./constants");
8
8
  const bidsFetcher_1 = __importDefault(require("./bidsFetcher"));
9
- const airdropPowerUsersFetcher_1 = __importDefault(require("./airdropPowerUsersFetcher"));
9
+ // import powerUserAirdropFetcher from './airdropPowerUsersFetcher';
10
10
  const sharedEscrowFetcher_1 = __importDefault(require("./sharedEscrowFetcher"));
11
+ const powerUserAirdropFetcher_1 = require("./powerUserAirdropFetcher");
12
+ const season4AirdropFetcher_1 = require("./season4AirdropFetcher");
11
13
  exports.platforms = [constants_1.platform];
12
14
  exports.fetchers = [
13
15
  bidsFetcher_1.default,
14
- airdropPowerUsersFetcher_1.default,
16
+ powerUserAirdropFetcher_1.powerUserFetcher,
17
+ season4AirdropFetcher_1.s4Fetcher,
15
18
  sharedEscrowFetcher_1.default,
16
19
  ];
20
+ exports.tensorAirdropFetchers = [
21
+ powerUserAirdropFetcher_1.powerUserAirdropFetcher,
22
+ season4AirdropFetcher_1.airdropS4Fetcher,
23
+ ];
17
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tensor/index.ts"],"names":[],"mappings":";;;;;;AAIA,2CAAuC;AACvC,gEAAwC;AACxC,0FAAiE;AACjE,gFAAwD;AAE3C,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,QAAQ,GAAc;IACjC,qBAAW;IACX,kCAAuB;IACvB,6BAAmB;CACpB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tensor/index.ts"],"names":[],"mappings":";;;;;;AAIA,2CAAuC;AACvC,gEAAwC;AACxC,oEAAoE;AACpE,gFAAwD;AACxD,uEAGmC;AACnC,mEAAsE;AAGzD,QAAA,SAAS,GAAe,CAAC,oBAAQ,CAAC,CAAC;AACnC,QAAA,QAAQ,GAAc;IACjC,qBAAW;IACX,0CAAgB;IAChB,iCAAS;IACT,6BAAmB;CACpB,CAAC;AAEW,QAAA,qBAAqB,GAAqB;IACrD,iDAAuB;IACvB,wCAAgB;CACjB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AirdropFetcher } from '../../AirdropFetcher';
2
+ export declare const powerUserAirdropFetcher: AirdropFetcher;
3
+ export declare const powerUserFetcher: import("../..").Fetcher;
@@ -0,0 +1,98 @@
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
+ exports.powerUserFetcher = exports.powerUserAirdropFetcher = void 0;
16
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
17
+ const web3_js_1 = require("@solana/web3.js");
18
+ const constants_1 = require("./constants");
19
+ const clients_1 = require("../../utils/clients");
20
+ const solana_1 = require("../../utils/solana");
21
+ const struct_1 = require("./struct");
22
+ const ElementRegistry_1 = require("../../utils/elementbuilder/ElementRegistry");
23
+ const filters_1 = require("./filters");
24
+ const AirdropFetcher_1 = require("../../AirdropFetcher");
25
+ const powerUsers_json_1 = __importDefault(require("./powerUsers.json"));
26
+ const powerUserAllocations = powerUsers_json_1.default;
27
+ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
28
+ const alloc = powerUserAllocations[owner];
29
+ if (!alloc)
30
+ return (0, AirdropFetcher_1.getAirdropRaw)({
31
+ statics: constants_1.powerUsersStatics,
32
+ items: [
33
+ {
34
+ amount: 0,
35
+ isClaimed: false,
36
+ label: 'TNSR',
37
+ address: constants_1.tnsrMint,
38
+ },
39
+ ],
40
+ });
41
+ const connection = (0, clients_1.getClientSolana)();
42
+ const accounts = yield (0, solana_1.getParsedProgramAccounts)(connection, struct_1.vestingAccountStruct, new web3_js_1.PublicKey(constants_1.magmaProgramId), (0, filters_1.vestingFilter)(owner), 1);
43
+ if (!accounts.length)
44
+ return (0, AirdropFetcher_1.getAirdropRaw)({
45
+ statics: constants_1.powerUsersStatics,
46
+ items: [
47
+ {
48
+ amount: 0,
49
+ isClaimed: false,
50
+ label: 'TNSR',
51
+ address: constants_1.tnsrMint,
52
+ },
53
+ ],
54
+ });
55
+ const tokenAccounts = yield connection.getParsedTokenAccountsByOwner(accounts[0].pubkey, { mint: new web3_js_1.PublicKey(constants_1.tnsrMint) });
56
+ if (!tokenAccounts.value[0])
57
+ return (0, AirdropFetcher_1.getAirdropRaw)({
58
+ statics: constants_1.powerUsersStatics,
59
+ items: [
60
+ {
61
+ amount: 0,
62
+ isClaimed: false,
63
+ label: 'TNSR',
64
+ address: constants_1.tnsrMint,
65
+ },
66
+ ],
67
+ });
68
+ const elementRegistry = new ElementRegistry_1.ElementRegistry(portfolio_core_1.NetworkId.solana, constants_1.platformId);
69
+ const element = elementRegistry.addElementMultiple({
70
+ label: 'Airdrop',
71
+ name: 'Power User',
72
+ });
73
+ element.addAsset({
74
+ address: tokenAccounts.value[0].account.data.parsed.info.mint,
75
+ amount: tokenAccounts.value[0].account.data.parsed.info.tokenAmount.uiAmount,
76
+ alreadyShifted: true,
77
+ });
78
+ const isClaimedFully = alloc ===
79
+ tokenAccounts.value[0].account.data.parsed.info.tokenAmount.uiAmount;
80
+ return (0, AirdropFetcher_1.getAirdropRaw)({
81
+ statics: constants_1.powerUsersStatics,
82
+ items: [
83
+ {
84
+ amount: alloc,
85
+ isClaimed: isClaimedFully,
86
+ label: 'TNSR',
87
+ address: constants_1.tnsrMint,
88
+ },
89
+ ],
90
+ });
91
+ });
92
+ exports.powerUserAirdropFetcher = {
93
+ id: constants_1.powerUsersStatics.id,
94
+ networkId: portfolio_core_1.NetworkId.solana,
95
+ executor,
96
+ };
97
+ exports.powerUserFetcher = (0, AirdropFetcher_1.airdropFetcherToFetcher)(exports.powerUserAirdropFetcher, constants_1.platform.id, 'tensor-s4', constants_1.powerUsersStatics.claimEnd);
98
+ //# sourceMappingURL=powerUserAirdropFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"powerUserAirdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tensor/powerUserAirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,6CAA4C;AAC5C,2CAMqB;AACrB,iDAAsD;AACtD,+CAA8D;AAC9D,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,CAAC,EAAE,EACX,WAAW,EACX,6BAAiB,CAAC,QAAQ,CAC3B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AirdropFetcher } from '../../AirdropFetcher';
2
+ export declare const airdropS4Fetcher: AirdropFetcher;
3
+ export declare const s4Fetcher: import("../..").Fetcher;
@@ -0,0 +1,44 @@
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
+ exports.s4Fetcher = exports.airdropS4Fetcher = void 0;
13
+ const portfolio_core_1 = require("@sonarwatch/portfolio-core");
14
+ const constants_1 = require("./constants");
15
+ const season4Alloc_1 = require("./season4Alloc");
16
+ const AirdropFetcher_1 = require("../../AirdropFetcher");
17
+ const executor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
18
+ const baseAlloc = season4Alloc_1.season4Allocations[owner];
19
+ const vectorAlloc = season4Alloc_1.vectorBonusAllocations[owner];
20
+ return (0, AirdropFetcher_1.getAirdropRaw)({
21
+ statics: constants_1.s4Statics,
22
+ items: [
23
+ {
24
+ amount: baseAlloc !== null && baseAlloc !== void 0 ? baseAlloc : 0,
25
+ isClaimed: false,
26
+ label: 'TNSR',
27
+ address: constants_1.tnsrMint,
28
+ },
29
+ {
30
+ amount: vectorAlloc !== null && vectorAlloc !== void 0 ? vectorAlloc : 0,
31
+ isClaimed: false,
32
+ label: 'TNSR',
33
+ address: constants_1.tnsrMint,
34
+ },
35
+ ],
36
+ });
37
+ });
38
+ exports.airdropS4Fetcher = {
39
+ id: constants_1.s4Statics.id,
40
+ networkId: portfolio_core_1.NetworkId.solana,
41
+ executor,
42
+ };
43
+ exports.s4Fetcher = (0, AirdropFetcher_1.airdropFetcherToFetcher)(exports.airdropS4Fetcher, constants_1.platform.id, 'tensor-s4', constants_1.s4Statics.claimEnd);
44
+ //# sourceMappingURL=season4AirdropFetcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"season4AirdropFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/tensor/season4AirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAAuD;AACvD,2CAA4D;AAC5D,iDAA4E;AAC5E,yDAK8B;AAE9B,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;IAC/D,MAAM,SAAS,GAAG,iCAAkB,CAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,WAAW,GAAG,qCAAsB,CAAC,KAAK,CAAC,CAAC;IAElD,OAAO,IAAA,8BAAa,EAAC;QACnB,OAAO,EAAE,qBAAS;QAClB,KAAK,EAAE;YACL;gBACE,MAAM,EAAE,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,CAAC;gBACtB,SAAS,EAAE,KAAK;gBAChB,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,oBAAQ;aAClB;YACD;gBACE,MAAM,EAAE,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,CAAC;gBACxB,SAAS,EAAE,KAAK;gBAChB,KAAK,EAAE,MAAM;gBACb,OAAO,EAAE,oBAAQ;aAClB;SACF;KACF,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEW,QAAA,gBAAgB,GAAmB;IAC9C,EAAE,EAAE,qBAAS,CAAC,EAAE;IAChB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ;CACT,CAAC;AAEW,QAAA,SAAS,GAAG,IAAA,wCAAuB,EAC9C,wBAAgB,EAChB,oBAAQ,CAAC,EAAE,EACX,WAAW,EACX,qBAAS,CAAC,QAAQ,CACnB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const season4Allocations: {
2
+ [key: string]: number;
3
+ };
4
+ export declare const vectorBonusAllocations: {
5
+ [key: string]: number;
6
+ };