@sonarwatch/portfolio-plugins 0.12.140 → 0.12.141

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. package/CHANGELOG.md +2277 -2273
  2. package/README.md +3 -3
  3. package/package.json +1 -1
  4. package/src/plugins/abex/marketsJob.js +2 -3
  5. package/src/plugins/abex/marketsJob.js.map +1 -1
  6. package/src/plugins/aftermath/poolsJob.js +1 -2
  7. package/src/plugins/aftermath/poolsJob.js.map +1 -1
  8. package/src/plugins/aftermath/stakingFetcher.js +1 -2
  9. package/src/plugins/aftermath/stakingFetcher.js.map +1 -1
  10. package/src/plugins/auxexchange/aptosLpJob.js +3 -3
  11. package/src/plugins/auxexchange/aptosLpJob.js.map +1 -1
  12. package/src/plugins/balancer/helpers/pools.js +21 -21
  13. package/src/plugins/circuit/vaultsJob.js +15 -6
  14. package/src/plugins/circuit/vaultsJob.js.map +1 -1
  15. package/src/plugins/elixir/positionsFetcher.js +1 -2
  16. package/src/plugins/elixir/positionsFetcher.js.map +1 -1
  17. package/src/plugins/flowx/poolJob.js +3 -4
  18. package/src/plugins/flowx/poolJob.js.map +1 -1
  19. package/src/plugins/flowx/stakingPoolJob.js +2 -3
  20. package/src/plugins/flowx/stakingPoolJob.js.map +1 -1
  21. package/src/plugins/liquidswap/aptosLpJob.js +2 -2
  22. package/src/plugins/liquidswap/aptosLpJob.js.map +1 -1
  23. package/src/plugins/mole/depositsFetcher.js +4 -5
  24. package/src/plugins/mole/depositsFetcher.js.map +1 -1
  25. package/src/plugins/pancakeswap/aptosLpJob.js +5 -5
  26. package/src/plugins/pancakeswap/aptosLpJob.js.map +1 -1
  27. package/src/plugins/staking-aptos/constants.js +2 -2
  28. package/src/plugins/staking-aptos/constants.js.map +1 -1
  29. package/src/plugins/sushiswap/aptos/poolsJob.js +2 -2
  30. package/src/plugins/sushiswap/aptos/poolsJob.js.map +1 -1
  31. package/src/plugins/sushiswap/helpers.js +24 -24
  32. package/src/plugins/thala/farmingPoolsFetcher.js +1 -1
  33. package/src/plugins/thala/farmingPoolsFetcher.js.map +1 -1
  34. package/src/plugins/thala/lpTokensJob.js +2 -2
  35. package/src/plugins/thala/lpTokensJob.js.map +1 -1
  36. package/src/plugins/tokens/fetchers/aptos.js +1 -1
  37. package/src/plugins/tokens/fetchers/aptos.js.map +1 -1
  38. package/src/plugins/uniswap-v2/helpers.js +22 -22
  39. package/src/plugins/zeta/airdropFetcher.js +14 -14
  40. package/src/utils/aptos/index.d.ts +0 -2
  41. package/src/utils/aptos/index.js +0 -2
  42. package/src/utils/aptos/index.js.map +1 -1
  43. package/src/utils/sei/constants.js +8 -8
  44. package/src/utils/sei/getQueryBalanceByOwner.js +4 -4
  45. package/src/utils/aptos/parseTypeString.d.ts +0 -2
  46. package/src/utils/aptos/parseTypeString.js +0 -76
  47. package/src/utils/aptos/parseTypeString.js.map +0 -1
  48. package/src/utils/aptos/types.d.ts +0 -8
  49. package/src/utils/aptos/types.js +0 -3
  50. package/src/utils/aptos/types.js.map +0 -1
@@ -33,7 +33,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
33
33
  const resource = resources[i];
34
34
  if (!resource.type.startsWith(constants_1.lpCoinInfoTypePrefix))
35
35
  continue;
36
- const parsedType = (0, aptos_1.parseTypeString)(resource.type);
36
+ const parsedType = (0, portfolio_core_1.parseTypeString)(resource.type);
37
37
  const lpType = (_b = (_a = parsedType.keys) === null || _a === void 0 ? void 0 : _a.at(0)) === null || _b === void 0 ? void 0 : _b.type;
38
38
  if (!lpType)
39
39
  continue;
@@ -45,7 +45,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
45
45
  const lpSupply = new bignumber_js_1.default(lpSupplyString);
46
46
  if (lpSupply.isZero())
47
47
  continue;
48
- const parsedLpType = (0, aptos_1.parseTypeString)(lpType);
48
+ const parsedLpType = (0, portfolio_core_1.parseTypeString)(lpType);
49
49
  const typeX = (_g = (_f = parsedLpType.keys) === null || _f === void 0 ? void 0 : _f.at(0)) === null || _g === void 0 ? void 0 : _g.type;
50
50
  const typeY = (_j = (_h = parsedLpType.keys) === null || _h === void 0 ? void 0 : _h.at(1)) === null || _j === void 0 ? void 0 : _j.type;
51
51
  if (!typeX || !typeY)
@@ -1 +1 @@
1
- {"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/sushiswap/aptos/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,+DAAuD;AACvD,oDAAwD;AAGxD,2CAAmE;AACnE,gDAK8B;AAC9B,4CAA0C;AAE1C,wGAAgF;AAEhF,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;;IACnD,MAAM,MAAM,GAAG,IAAA,wBAAc,GAAE,CAAC;IAChC,MAAM,SAAS,GAAG,MAAM,IAAA,2BAAmB,EAAC,MAAM,EAAE,0BAAc,CAAC,CAAC;IACpE,IAAI,CAAC,SAAS;QAAE,OAAO;IAEvB,MAAM,eAAe,GAAuC,IAAI,GAAG,EAAE,CAAC;IACtE,SAAS,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC7B,eAAe,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;IAEH,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC1C,MAAM,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QAC9B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,gCAAoB,CAAC;YAAE,SAAS;QAE9D,MAAM,UAAU,GAAG,IAAA,uBAAe,EAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAClD,MAAM,MAAM,GAAG,MAAA,MAAA,UAAU,CAAC,IAAI,0CAAE,EAAE,CAAC,CAAC,CAAC,0CAAE,IAAI,CAAC;QAC5C,IAAI,CAAC,MAA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IAAI,CAAC,WAAW,IAAI,CAAC,WAAW;YAAE,SAAS;QAE3C,MAAM,MAAM,GAAG,IAAA,gCAAsB,EACnC,0BAAS,CAAC,KAAK,EACf,sBAAU,EACV,sBAAU,EACV;YACE,OAAO,EAAE,MAAM;YACf,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,QAAQ;SACpB,EACD;YACE;gBACE,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,aAAa,CAAC,eAAe,CAAC,QAAQ;gBAChD,KAAK,EAAE,WAAW,CAAC,KAAK;gBACxB,gBAAgB,EAAE,IAAI,sBAAS,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC;aAC/D;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,QAAQ,EAAE,aAAa,CAAC,eAAe,CAAC,QAAQ;gBAChD,KAAK,EAAE,WAAW,CAAC,KAAK;gBACxB,gBAAgB,EAAE,IAAI,sBAAS,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC;aAC/D;SACF,EACD,SAAS,CACV,CAAC;QACF,MAAM,KAAK,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;AACH,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/sushiswap/aptos/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,+DAAwE;AACxE,oDAAwD;AAGxD,2CAAmE;AACnE,gDAI8B;AAC9B,4CAA0C;AAE1C,wGAAgF;AAEhF,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;;IACnD,MAAM,MAAM,GAAG,IAAA,wBAAc,GAAE,CAAC;IAChC,MAAM,SAAS,GAAG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,eAAe,CAAC,QAAQ;gBAChD,KAAK,EAAE,WAAW,CAAC,KAAK;gBACxB,gBAAgB,EAAE,IAAI,sBAAS,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,CAAC;aAC/D;SACF,EACD,SAAS,CACV,CAAC;QACF,MAAM,KAAK,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;AACH,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,cAAc;IAC/B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -54,30 +54,30 @@ function sushiV3PairToUniV2(pair) {
54
54
  }
55
55
  function getV3PairsAddresses(url, length = 300) {
56
56
  return __awaiter(this, void 0, void 0, function* () {
57
- const query = (0, graphql_request_1.gql) `
58
- {
59
- pools(
60
- orderBy: totalValueLockedUSD
61
- first: ${length}
62
- orderDirection: desc
63
- where: { volumeUSD_not: "0", liquidity_not: "0" }
64
- ) {
65
- id
66
- token0Price
67
- token1Price
68
- liquidity
69
- token0 {
70
- id
71
- totalSupply
72
- decimals
73
- }
74
- token1 {
75
- id
76
- totalSupply
77
- decimals
78
- }
79
- }
80
- }
57
+ const query = (0, graphql_request_1.gql) `
58
+ {
59
+ pools(
60
+ orderBy: totalValueLockedUSD
61
+ first: ${length}
62
+ orderDirection: desc
63
+ where: { volumeUSD_not: "0", liquidity_not: "0" }
64
+ ) {
65
+ id
66
+ token0Price
67
+ token1Price
68
+ liquidity
69
+ token0 {
70
+ id
71
+ totalSupply
72
+ decimals
73
+ }
74
+ token1 {
75
+ id
76
+ totalSupply
77
+ decimals
78
+ }
79
+ }
80
+ }
81
81
  `;
82
82
  const res = yield (0, graphql_request_1.default)(url, query);
83
83
  const pools = res.pools;
@@ -37,7 +37,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
37
37
  const resourceType = resource.type;
38
38
  if (!(0, aptos_1.isCoinStoreRessourceType)(resourceType))
39
39
  return null;
40
- const parseCoinType = (0, aptos_1.parseTypeString)(resourceType);
40
+ const parseCoinType = (0, portfolio_core_1.parseTypeString)(resourceType);
41
41
  if (parseCoinType.root !== aptos_1.coinStore)
42
42
  return null;
43
43
  if (!parseCoinType.keys)
@@ -1 +1 @@
1
- {"version":3,"file":"farmingPoolsFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/thala/farmingPoolsFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAOoC;AACpC,gEAAqC;AAGrC,2CAKqB;AACrB,6CAM2B;AAC3B,iDAAqD;AAErD,qGAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,wBAAc,GAAE,CAAC;IAEhC,MAAM,CAAC,YAAY,EAAE,SAAS,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAClD,KAAK,CAAC,OAAO,CAAa,2BAAe,EAAE;YACzC,MAAM,EAAE,sBAAU;YAClB,SAAS,EAAE,0BAAS,CAAC,KAAK;SAC3B,CAAC;QACF,IAAA,2BAAmB,EAAC,MAAM,EAAE,KAAK,CAAC;KACnC,CAAC,CAAC;IAEH,IAAI,CAAC,YAAY;QAAE,OAAO,EAAE,CAAC;IAC7B,IAAI,CAAC,SAAS;QAAE,OAAO,EAAE,CAAC;IAE1B,MAAM,eAAe,GAAG,SAAS;SAC9B,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;;QAChB,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC;QACnC,IAAI,CAAC,IAAA,gCAAwB,EAAC,YAAY,CAAC;YAAE,OAAO,IAAI,CAAC;QACzD,MAAM,aAAa,GAAG,IAAA,uBAAe,EAAC,YAAY,CAAC,CAAC;QACpD,IAAI,aAAa,CAAC,IAAI,KAAK,iBAAS;YAAE,OAAO,IAAI,CAAC;QAClD,IAA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CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;QAC3E,MAAM,KAAK,GAAG,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,CAAC,iBAAiB,IAAI,CAAC,CAAC,CAAC;QAE5D,WAAW,CAAC,IAAI,CAAC;YACf,MAAM,EAAE,CAAC,KAAK,CAAC;YACf,WAAW,EAAE,KAAK,CAAC,KAAK;YACxB,YAAY;YACZ,iBAAiB;YACjB,KAAK;YACL,MAAM,EAAE,EAAE;SACX,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAExC,OAAO;QACL;YACE,SAAS,EAAE,0BAAS,CAAC,KAAK;YAC1B,KAAK,EAAE,SAAS;YAChB,UAAU,EAAV,sBAAU;YACV,IAAI,EAAE,qCAAoB,CAAC,SAAS;YACpC,KAAK,EAAE,IAAA,+BAAc,EAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACtD,IAAI,EAAE;gBACJ,WAAW;aACZ;SACF;KACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,gBAAgB;IACjC,SAAS,EAAE,0BAAS,CAAC,KAAK;IAC1B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -33,7 +33,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
33
33
  const tokenAdresses = new Set();
34
34
  resources.forEach((resource) => {
35
35
  var _a;
36
- const parseLpInfo = (0, aptos_1.parseTypeString)(resource.type);
36
+ const parseLpInfo = (0, portfolio_core_1.parseTypeString)(resource.type);
37
37
  if (parseLpInfo.root !== aptos_1.coinInfo)
38
38
  return;
39
39
  if (!parseLpInfo.keys)
@@ -64,7 +64,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
64
64
  const tokenPriceSources = [];
65
65
  resources.forEach((resource) => {
66
66
  var _a, _b, _c, _d;
67
- const parseLpInfo = (0, aptos_1.parseTypeString)(resource.type);
67
+ const parseLpInfo = (0, portfolio_core_1.parseTypeString)(resource.type);
68
68
  if (parseLpInfo.root !== aptos_1.coinInfo)
69
69
  return;
70
70
  if (!parseLpInfo.keys)
@@ -1 +1 @@
1
- {"version":3,"file":"lpTokensJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/thala/lpTokensJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,gEAAqC;AACrC,2CAOqB;AACrB,6CAM2B;AAC3B,iDAAqD;AAErD,uCAA0C;AAG1C,4DAAyD;AAEzD,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,UAAU,GAAG,IAAA,wBAAc,GAAE,CAAC;IACpC,MAAM,SAAS,GAAG,MAAM,IAAA,2BAAmB,EACzC,UAAU,EACV,4BAAgB,CACjB,CAAC,IAAI,CAAC,CAAC,mBAAmB,EAAE,EAAE,CAC7B,CAAC,mBAAmB,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC9C,IAAI,CAAC,QAAQ;YAAE,OAAO,KAAK,CAAC;QAC5B,OAAO,CAAC,CACN,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,8BAAkB,CAAC;YAC3C,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,gCAAoB,CAAC,CAC9C,CAAC;IACJ,CAAC,CAAC,CACH,CAAC;IACF,IAAI,CAAC,SAAS;QAAE,OAAO;IAEvB,MAAM,oBAAoB,GAAG,IAAA,uBAAU,EAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAE3D,MAAM,aAAa,GAAG,IAAI,GAAG,EAAU,CAAC;IAExC,SAAS,CAAC,OAAO,CAA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,sBAAS,CAAC,qBAAqB,CAAC,OAAO,CAAC,KAAK,CAAC;QAClD,IAAI,sBAAS,CAAC,qBAAqB,CAAC,OAAO,CAAC,KAAK,CAAC;QAClD,IAAI,sBAAS,CAAC,qBAAqB,CAAC,OAAO,CAAC,KAAK,CAAC;KACnD,CAAC;AACJ,CAAC;AAED,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,YAAY;IAC7B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -32,7 +32,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
32
32
  const resourceType = resource.type;
33
33
  if (!(0, aptos_1.isCoinStoreRessourceType)(resourceType))
34
34
  continue;
35
- const parseCoinType = (0, aptos_1.parseTypeString)(resourceType);
35
+ const parseCoinType = (0, portfolio_core_1.parseTypeString)(resourceType);
36
36
  if (parseCoinType.root !== aptos_1.coinStore)
37
37
  continue;
38
38
  if (!parseCoinType.keys)
@@ -1 +1 @@
1
- {"version":3,"file":"aptos.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/aptos.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAQoC;AAEpC,gEAAqC;AAGrC,0GAAkF;AAClF,wGAAgF;AAChF,oDAAwD;AACxD,gDAM8B;AAC9B,4CAAoD;AAEpD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;;IACtE,MAAM,MAAM,GAAG,IAAA,wBAAc,GAAE,CAAC;IAChC,MAAM,SAAS,GAAG,MAAM,IAAA,2BAAmB,EAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC3D,IAAI,CAAC,SAAS;QAAE,OAAO,EAAE,CAAC;IAE1B,MAAM,kBAAkB,GAA0B,EAAE,CAAC;IACrD,MAAM,uBAAuB,GAAyC,EAAE,CAAC;IAEzE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,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I,EAAE;gBACJ,MAAM,EAAE,kBAAkB;aAC3B;SACF,CAAC;QACF,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IACrC,CAAC;IAED,KAAK,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CACpD,uBAAuB,CACxB,EAAE,CAAC;QACF,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,qCAAoB,CAAC,SAAS;YACpC,SAAS,EAAE,0BAAS,CAAC,KAAK;YAC1B,UAAU;YACV,KAAK,EAAE,eAAe;YACtB,KAAK,EAAE,IAAA,+BAAc,EAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;YACtD,IAAI,EAAE;gBACJ,WAAW;aACZ;SACF,CAAC,CAAC;IACL,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,gCAAoB,CAAC,EAAE,QAAQ;IACtC,SAAS,EAAE,0BAAS,CAAC,KAAK;IAC1B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -40,28 +40,28 @@ function getPairKey(version) {
40
40
  exports.getPairKey = getPairKey;
41
41
  function getPairsV2FromTheGraph(url, length = 300) {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
- const query = (0, graphql_request_1.gql) `
44
- {
45
- pairs(
46
- orderBy: reserveUSD
47
- first: ${length}
48
- orderDirection: desc
49
- where: { trackedReserveETH_not: "0" }
50
- ) {
51
- id
52
- reserve0
53
- reserve1
54
- totalSupply
55
- token0 {
56
- id
57
- decimals
58
- }
59
- token1 {
60
- id
61
- decimals
62
- }
63
- }
64
- }
43
+ const query = (0, graphql_request_1.gql) `
44
+ {
45
+ pairs(
46
+ orderBy: reserveUSD
47
+ first: ${length}
48
+ orderDirection: desc
49
+ where: { trackedReserveETH_not: "0" }
50
+ ) {
51
+ id
52
+ reserve0
53
+ reserve1
54
+ totalSupply
55
+ token0 {
56
+ id
57
+ decimals
58
+ }
59
+ token1 {
60
+ id
61
+ decimals
62
+ }
63
+ }
64
+ }
65
65
  `;
66
66
  const res = yield (0, graphql_request_1.default)(url, query);
67
67
  const pairs = res.pairs;
@@ -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* () {
@@ -1,5 +1,4 @@
1
1
  export * from './MoveResource';
2
- export * from './types';
3
2
  export * from './constants';
4
3
  export * from './resources/coinInfo';
5
4
  export * from './resources/coinStore';
@@ -20,4 +19,3 @@ export * from './getTableItemsByKeys';
20
19
  export * from './getView';
21
20
  export * from './getAccountResource';
22
21
  export * from './getAccountResources';
23
- export * from './parseTypeString';
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./MoveResource"), exports);
18
- __exportStar(require("./types"), exports);
19
18
  __exportStar(require("./constants"), exports);
20
19
  __exportStar(require("./resources/coinInfo"), exports);
21
20
  __exportStar(require("./resources/coinStore"), exports);
@@ -36,5 +35,4 @@ __exportStar(require("./getTableItemsByKeys"), exports);
36
35
  __exportStar(require("./getView"), exports);
37
36
  __exportStar(require("./getAccountResource"), exports);
38
37
  __exportStar(require("./getAccountResources"), exports);
39
- __exportStar(require("./parseTypeString"), exports);
40
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/aptos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,0CAAwB;AACxB,8CAA4B;AAE5B,uDAAqC;AACrC,wDAAsC;AAEtC,yDAAuC;AACvC,6DAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,kDAAgC;AAChC,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,iDAA+B;AAC/B,2DAAyC;AACzC,wDAAsC;AACtC,4CAA0B;AAC1B,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/aptos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,8CAA4B;AAE5B,uDAAqC;AACrC,wDAAsC;AAEtC,yDAAuC;AACvC,6DAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,kDAAgC;AAChC,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C;AAC7C,iDAA+B;AAC/B,2DAAyC;AACzC,wDAAsC;AACtC,4CAA0B;AAC1B,uDAAqC;AACrC,wDAAsC"}
@@ -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;
@@ -1,2 +0,0 @@
1
- import { MoveType } from './types';
2
- export declare function parseTypeString(typeString: string): MoveType;
@@ -1,76 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseTypeString = void 0;
4
- function splitTypeString(typeString) {
5
- const index = typeString.indexOf('<');
6
- const root = index === -1 ? typeString : typeString.slice(0, index);
7
- const keys = index === -1 ? undefined : typeString.slice(index + 1, -1);
8
- return {
9
- root,
10
- keys,
11
- };
12
- }
13
- function splitRootString(root) {
14
- const splits = root.split('::');
15
- if (splits.length > 3)
16
- throw new Error(`Root type not splittable: ${root}`);
17
- const address = splits.at(0);
18
- const module = splits.at(1);
19
- const struct = splits.at(2);
20
- if (!address)
21
- throw new Error(`Root type not splittable: ${root}`);
22
- return {
23
- address,
24
- module,
25
- struct,
26
- };
27
- }
28
- function splitKeysString(keysString) {
29
- let depth = 0;
30
- const indexes = [];
31
- for (let i = 0; i < keysString.length; i++) {
32
- const char = keysString.at(i);
33
- const nextChar = keysString.at(i + 1);
34
- if (char === '>')
35
- depth -= 1;
36
- if (char === '<')
37
- depth += 1;
38
- if (depth === 0 && char === ',' && nextChar === ' ')
39
- indexes.push(i);
40
- }
41
- if (indexes.length === 0)
42
- return [keysString];
43
- const typeStrings = [];
44
- let cKeysString = keysString;
45
- let sum = 0;
46
- for (let i = 0; i < indexes.length; i++) {
47
- let index = indexes[i];
48
- index -= sum;
49
- typeStrings.push(cKeysString.slice(0, index));
50
- cKeysString = cKeysString.slice(index + 2);
51
- if (i === indexes.length - 1) {
52
- typeStrings.push(cKeysString);
53
- }
54
- sum += index + 2;
55
- }
56
- return typeStrings;
57
- }
58
- function parseTypeString(typeString) {
59
- const { root, keys: keysString } = splitTypeString(typeString);
60
- const { address, module, struct } = splitRootString(root);
61
- let keys;
62
- if (keysString) {
63
- const splittedKeys = splitKeysString(keysString);
64
- keys = splittedKeys.map((cTypeString) => parseTypeString(cTypeString));
65
- }
66
- return {
67
- type: typeString,
68
- root,
69
- address,
70
- module,
71
- struct,
72
- keys,
73
- };
74
- }
75
- exports.parseTypeString = parseTypeString;
76
- //# sourceMappingURL=parseTypeString.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parseTypeString.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/aptos/parseTypeString.ts"],"names":[],"mappings":";;;AAEA,SAAS,eAAe,CAAC,UAAkB;IAIzC,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,MAAM,IAAI,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;IACpE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jD,IAAI,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC;IACzE,CAAC;IAED,OAAO;QACL,IAAI,EAAE,UAAU;QAChB,IAAI;QACJ,OAAO;QACP,MAAM;QACN,MAAM;QACN,IAAI;KACL,CAAC;AACJ,CAAC;AAlBD,0CAkBC"}
@@ -1,8 +0,0 @@
1
- export type MoveType = {
2
- type: string;
3
- root: string;
4
- address: string;
5
- module?: string;
6
- struct?: string;
7
- keys?: MoveType[];
8
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/aptos/types.ts"],"names":[],"mappings":""}