@sonarwatch/portfolio-plugins 0.14.8 → 0.14.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/CHANGELOG.md +1620 -1612
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  4. package/src/index.js +8 -0
  5. package/src/index.js.map +1 -1
  6. package/src/plugins/balancer/helpers/pools.js +21 -21
  7. package/src/plugins/cetus/clmmsFetcher.js +59 -55
  8. package/src/plugins/cetus/clmmsFetcher.js.map +1 -1
  9. package/src/plugins/cetus/farmsFetcher.js +66 -37
  10. package/src/plugins/cetus/farmsFetcher.js.map +1 -1
  11. package/src/plugins/cetus/helpers.d.ts +3 -1
  12. package/src/plugins/cetus/helpers.js +102 -1
  13. package/src/plugins/cetus/helpers.js.map +1 -1
  14. package/src/plugins/cetus/types.d.ts +28 -0
  15. package/src/plugins/cetus/types.js.map +1 -1
  16. package/src/plugins/loverflow/airdropClaimFetcher.d.ts +3 -0
  17. package/src/plugins/loverflow/airdropClaimFetcher.js +42 -0
  18. package/src/plugins/loverflow/airdropClaimFetcher.js.map +1 -0
  19. package/src/plugins/loverflow/constants.d.ts +6 -0
  20. package/src/plugins/loverflow/constants.js +16 -0
  21. package/src/plugins/loverflow/constants.js.map +1 -0
  22. package/src/plugins/loverflow/helpers.d.ts +2 -0
  23. package/src/plugins/loverflow/helpers.js +9 -0
  24. package/src/plugins/loverflow/helpers.js.map +1 -0
  25. package/src/plugins/loverflow/index.d.ts +6 -0
  26. package/src/plugins/loverflow/index.js +12 -0
  27. package/src/plugins/loverflow/index.js.map +1 -0
  28. package/src/plugins/loverflow/structs.d.ts +16 -0
  29. package/src/plugins/loverflow/structs.js +18 -0
  30. package/src/plugins/loverflow/structs.js.map +1 -0
  31. package/src/plugins/loverflow/types.d.ts +5 -0
  32. package/src/plugins/loverflow/types.js +3 -0
  33. package/src/plugins/loverflow/types.js.map +1 -0
  34. package/src/plugins/sandglass/constants.d.ts +1 -0
  35. package/src/plugins/sandglass/constants.js +8 -1
  36. package/src/plugins/sandglass/constants.js.map +1 -1
  37. package/src/plugins/sandglass/depositFetcher.js +11 -43
  38. package/src/plugins/sandglass/depositFetcher.js.map +1 -1
  39. package/src/plugins/sushiswap/helpers.js +24 -24
  40. package/src/plugins/uniswap-v2/helpers.js +22 -22
  41. package/src/plugins/zelo/constants.d.ts +5 -0
  42. package/src/plugins/zelo/constants.js +15 -0
  43. package/src/plugins/zelo/constants.js.map +1 -0
  44. package/src/plugins/zelo/index.d.ts +6 -0
  45. package/src/plugins/zelo/index.js +12 -0
  46. package/src/plugins/zelo/index.js.map +1 -0
  47. package/src/plugins/zelo/positionsFetcher.d.ts +3 -0
  48. package/src/plugins/zelo/positionsFetcher.js +40 -0
  49. package/src/plugins/zelo/positionsFetcher.js.map +1 -0
  50. package/src/plugins/zelo/structs.d.ts +11 -0
  51. package/src/plugins/zelo/structs.js +13 -0
  52. package/src/plugins/zelo/structs.js.map +1 -0
  53. package/src/plugins/zeta/airdropFetcher.js +14 -14
  54. package/src/utils/elementbuilder/AssetBuilder.d.ts +1 -1
  55. package/src/utils/elementbuilder/AssetBuilder.js +2 -2
  56. package/src/utils/elementbuilder/AssetBuilder.js.map +1 -1
  57. package/src/utils/elementbuilder/ElementBuilder.d.ts +2 -1
  58. package/src/utils/elementbuilder/ElementBuilder.js +5 -0
  59. package/src/utils/elementbuilder/ElementBuilder.js.map +1 -1
  60. package/src/utils/elementbuilder/LiquidityBuilder.js +1 -1
  61. package/src/utils/elementbuilder/LiquidityBuilder.js.map +1 -1
  62. package/src/utils/sei/constants.js +8 -8
  63. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
@@ -0,0 +1,11 @@
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 UserRecord = {
6
+ buffer: Buffer;
7
+ userKey: PublicKey;
8
+ solDeposit: BigNumber;
9
+ averageAge: BigNumber;
10
+ };
11
+ export declare const userRecordStruct: BeetStruct<UserRecord, Partial<UserRecord>>;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.userRecordStruct = 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.userRecordStruct = new beet_1.BeetStruct([
8
+ ['buffer', (0, solana_1.blob)(8)],
9
+ ['userKey', beet_solana_1.publicKey],
10
+ ['solDeposit', solana_1.u64],
11
+ ['averageAge', solana_1.u64],
12
+ ], (args) => args);
13
+ //# sourceMappingURL=structs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"structs.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/zelo/structs.ts"],"names":[],"mappings":";;;AAAA,oDAAuD;AAGvD,kEAA6D;AAC7D,+CAA+C;AASlC,QAAA,gBAAgB,GAAG,IAAI,iBAAU,CAC5C;IACE,CAAC,QAAQ,EAAE,IAAA,aAAI,EAAC,CAAC,CAAC,CAAC;IACnB,CAAC,SAAS,EAAE,uBAAS,CAAC;IACtB,CAAC,YAAY,EAAE,YAAG,CAAC;IACnB,CAAC,YAAY,EAAE,YAAG,CAAC;CACpB,EACD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAkB,CAC7B,CAAC"}
@@ -42,20 +42,20 @@ const tokenPriceToAssetToken_1 = __importDefault(require("../../utils/misc/token
42
42
  const clients_1 = require("../../utils/clients");
43
43
  const getMultipleAccountsInfoSafe_1 = require("../../utils/solana/getMultipleAccountsInfoSafe");
44
44
  const helpers_1 = require("./helpers");
45
- const query = (0, graphql_request_1.gql) `
46
- query GetAirdropFinalFrontend($authority: String!) {
47
- getAirdropFinalFrontend(authority: $authority) {
48
- authority
49
- community_allocation
50
- eligibility
51
- main_allocation
52
- og_allocation
53
- s1_allocation
54
- s2_allocation
55
- total_allocation
56
- __typename
57
- }
58
- }
45
+ const query = (0, graphql_request_1.gql) `
46
+ query GetAirdropFinalFrontend($authority: String!) {
47
+ getAirdropFinalFrontend(authority: $authority) {
48
+ authority
49
+ community_allocation
50
+ eligibility
51
+ main_allocation
52
+ og_allocation
53
+ s1_allocation
54
+ s2_allocation
55
+ total_allocation
56
+ __typename
57
+ }
58
+ }
59
59
  `;
60
60
  const networkId = portfolio_core_1.NetworkId.solana;
61
61
  const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
@@ -8,5 +8,5 @@ export declare class AssetBuilder {
8
8
  attributes: PortfolioAssetAttributes;
9
9
  alreadyShifted: boolean;
10
10
  constructor(params: PortfolioAssetParams);
11
- get(networkId: NetworkIdType, tokenPrices: TokenPriceMap): PortfolioAsset | null;
11
+ get(networkId: NetworkIdType, tokenPrices: TokenPriceMap, keepIfZero?: boolean): PortfolioAsset | null;
12
12
  }
@@ -13,9 +13,9 @@ class AssetBuilder {
13
13
  this.attributes = params.attributes || {};
14
14
  this.alreadyShifted = params.alreadyShifted || false;
15
15
  }
16
- get(networkId, tokenPrices) {
16
+ get(networkId, tokenPrices, keepIfZero) {
17
17
  let amount = new bignumber_js_1.default(this.amount);
18
- if (amount.isZero())
18
+ if (!keepIfZero && amount.isZero())
19
19
  return null;
20
20
  const tokenPrice = tokenPrices.get(this.address);
21
21
  if (!tokenPrice)
@@ -1 +1 @@
1
- {"version":3,"file":"AssetBuilder.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/elementbuilder/AssetBuilder.ts"],"names":[],"mappings":";;;;;;AAKA,gEAAqC;AAErC,4FAAoE;AAGpE,MAAa,YAAY;IAMvB,YAAY,MAA4B;QACtC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC;QAC1C,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,IAAI,KAAK,CAAC;IACvD,CAAC;IAED,GAAG,CACD,SAAwB,EACxB,WAA0B;QAE1B,IAAI,MAAM,GAAG,IAAI,sBAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,MAAM,CAAC,MAAM,EAAE;YAAE,OAAO,IAAI,CAAC;QACjC,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjD,IAAI,CAAC,UAAU;YAAE,OAAO,IAAI,CAAC;QAE7B,IAAI,CAAC,IAAI,CAAC,cAAc;YACtB,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,UAAU,CAAC,QAAQ,CAAA,CAAC,CAAC;QAEvD,OAAO,IAAA,gCAAsB,EAC3B,UAAU,CAAC,OAAO,EAClB,MAAM,CAAC,QAAQ,EAAE,EACjB,SAAS,EACT,UAAU,EACV,SAAS,EACT,IAAI,CAAC,UAAU,CAChB,CAAC;IACJ,CAAC;CACF;AAlCD,oCAkCC"}
1
+ {"version":3,"file":"AssetBuilder.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/elementbuilder/AssetBuilder.ts"],"names":[],"mappings":";;;;;;AAKA,gEAAqC;AAErC,4FAAoE;AAGpE,MAAa,YAAY;IAMvB,YAAY,MAA4B;QACtC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC;QAC1C,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,IAAI,KAAK,CAAC;IACvD,CAAC;IAED,GAAG,CACD,SAAwB,EACxB,WAA0B,EAC1B,UAAoB;QAEpB,IAAI,MAAM,GAAG,IAAI,sBAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE;YAAE,OAAO,IAAI,CAAC;QAChD,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACjD,IAAI,CAAC,UAAU;YAAE,OAAO,IAAI,CAAC;QAE7B,IAAI,CAAC,IAAI,CAAC,cAAc;YACtB,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,UAAU,CAAC,QAAQ,CAAA,CAAC,CAAC;QAEvD,OAAO,IAAA,gCAAsB,EAC3B,UAAU,CAAC,OAAO,EAClB,MAAM,CAAC,QAAQ,EAAE,EACjB,SAAS,EACT,UAAU,EACV,SAAS,EACT,IAAI,CAAC,UAAU,CAChB,CAAC;IACJ,CAAC;CACF;AAnCD,oCAmCC"}
@@ -5,8 +5,9 @@ export declare abstract class ElementBuilder {
5
5
  readonly type: PortfolioElementTypeType;
6
6
  readonly label: PortfolioElementLabel;
7
7
  readonly name?: string;
8
- readonly tags?: string[];
8
+ tags?: string[];
9
9
  protected constructor(params: ElementParams);
10
+ addTag(tag: string): void;
10
11
  abstract mints(): string[];
11
12
  abstract get(networkId: NetworkIdType, platformId: string, tokenPrices: TokenPriceMap): PortfolioElement | null;
12
13
  }
@@ -8,6 +8,11 @@ class ElementBuilder {
8
8
  this.name = params.name;
9
9
  this.tags = params.tags;
10
10
  }
11
+ addTag(tag) {
12
+ if (!this.tags)
13
+ this.tags = [];
14
+ this.tags.push(tag);
15
+ }
11
16
  }
12
17
  exports.ElementBuilder = ElementBuilder;
13
18
  //# sourceMappingURL=ElementBuilder.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ElementBuilder.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/elementbuilder/ElementBuilder.ts"],"names":[],"mappings":";;;AASA,MAAsB,cAAc;IAMlC,YAAsB,MAAqB;QACzC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IAC1B,CAAC;CASF;AApBD,wCAoBC"}
1
+ {"version":3,"file":"ElementBuilder.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/elementbuilder/ElementBuilder.ts"],"names":[],"mappings":";;;AASA,MAAsB,cAAc;IAMlC,YAAsB,MAAqB;QACzC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IAC1B,CAAC;IAED,MAAM,CAAC,GAAW;QAChB,IAAI,CAAC,IAAI,CAAC,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QAC/B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACtB,CAAC;CASF;AAzBD,wCAyBC"}
@@ -26,7 +26,7 @@ class LiquidityBuilder {
26
26
  }
27
27
  get(networkId, tokenPrices) {
28
28
  const assets = this.assets
29
- .map((a) => a.get(networkId, tokenPrices))
29
+ .map((a) => a.get(networkId, tokenPrices, true))
30
30
  .filter((a) => a !== null);
31
31
  const rewardAssets = this.rewardAssets
32
32
  .map((a) => a.get(networkId, tokenPrices))
@@ -1 +1 @@
1
- {"version":3,"file":"LiquidityBuilder.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/elementbuilder/LiquidityBuilder.ts"],"names":[],"mappings":";;;AAAA,+DAMoC;AAEpC,iDAA8C;AAG9C,MAAa,gBAAgB;IAK3B;QACE,IAAI,CAAC,MAAM,GAAG,EAAE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AAY,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC;QAElE,MAAM,WAAW,GAAG,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;QACvE,MAAM,iBAAiB,GAAG,IAAA,+BAAc,EACtC,YAAY,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CACzC,CAAC;QACF,MAAM,KAAK,GAAG,CAAC,WAAW,IAAI,CAAC,CAAC,GAAG,CAAC,iBAAiB,IAAI,CAAC,CAAC,CAAC;QAE5D,IAAI,KAAK,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC;QAE7B,OAAO;YACL,MAAM;YACN,WAAW;YACX,YAAY;YACZ,iBAAiB;YACjB,KAAK;YACL,MAAM,EAAE,IAAI,CAAC,MAAM;SACE,CAAC;IAC1B,CAAC;CACF;AA5DD,4CA4DC"}
1
+ {"version":3,"file":"LiquidityBuilder.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/elementbuilder/LiquidityBuilder.ts"],"names":[],"mappings":";;;AAAA,+DAMoC;AAEpC,iDAA8C;AAG9C,MAAa,gBAAgB;IAK3B;QACE,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACnB,CAAC;IAED,QAAQ,CAAC,MAA4B;QACnC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,2BAAY,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,CAAC;IAED,cAAc,CAAC,MAA4B;QACzC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,2BAAY,CAAC,MAAM,CAAC,CAAC,CAAC;IACnD,CAAC;IAED,QAAQ,CAAC,MAAa;QACpB,IAAI,CAAC,MAAM,CAA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iBAAiB,IAAI,CAAC,CAAC,CAAC;QAE5D,IAAI,KAAK,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC;QAE7B,OAAO;YACL,MAAM;YACN,WAAW;YACX,YAAY;YACZ,iBAAiB;YACjB,KAAK;YACL,MAAM,EAAE,IAAI,CAAC,MAAM;SACE,CAAC;IAC1B,CAAC;CACF;AA5DD,4CA4DC"}
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.poolQueryMsg = exports.minterQueryMsg = exports.tokenInfoQueryMsg = exports.infoQueryMsg = void 0;
4
- exports.infoQueryMsg = JSON.parse(`{
5
- "info": {}
4
+ exports.infoQueryMsg = JSON.parse(`{
5
+ "info": {}
6
6
  }`);
7
- exports.tokenInfoQueryMsg = JSON.parse(`{
8
- "token_info": {}
7
+ exports.tokenInfoQueryMsg = JSON.parse(`{
8
+ "token_info": {}
9
9
  }`);
10
- exports.minterQueryMsg = JSON.parse(`{
11
- "minter": {}
10
+ exports.minterQueryMsg = JSON.parse(`{
11
+ "minter": {}
12
12
  }`);
13
- exports.poolQueryMsg = JSON.parse(`{
14
- "pool": {}
13
+ exports.poolQueryMsg = JSON.parse(`{
14
+ "pool": {}
15
15
  }`);
16
16
  //# sourceMappingURL=constants.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  function getQueryBalanceByOwner(owner) {
4
- return JSON.parse(`{
5
- "balance": {
6
- "address": "${owner}"
7
- }
4
+ return JSON.parse(`{
5
+ "balance": {
6
+ "address": "${owner}"
7
+ }
8
8
  }`);
9
9
  }
10
10
  exports.default = getQueryBalanceByOwner;