@sonarwatch/portfolio-plugins 0.11.129 → 0.11.130

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +2 -2
  3. package/src/plugins/abex/marketsJob.js +2 -2
  4. package/src/plugins/abex/marketsJob.js.map +1 -1
  5. package/src/plugins/aftermath/poolsJob.js +2 -2
  6. package/src/plugins/aftermath/poolsJob.js.map +1 -1
  7. package/src/plugins/atrix/poolsV1Job.js +1 -1
  8. package/src/plugins/atrix/poolsV1Job.js.map +1 -1
  9. package/src/plugins/auxexchange/aptosLpJob.js +2 -2
  10. package/src/plugins/auxexchange/aptosLpJob.js.map +1 -1
  11. package/src/plugins/bskt/vestingFetcher.js +1 -0
  12. package/src/plugins/bskt/vestingFetcher.js.map +1 -1
  13. package/src/plugins/fluxbeam/poolsJob.js +2 -2
  14. package/src/plugins/fluxbeam/poolsJob.js.map +1 -1
  15. package/src/plugins/kai/vaultsJob.js +2 -2
  16. package/src/plugins/kai/vaultsJob.js.map +1 -1
  17. package/src/plugins/liquiditypools-sei/job.js +2 -2
  18. package/src/plugins/liquiditypools-sei/job.js.map +1 -1
  19. package/src/plugins/liquidswap/aptosLpJob.js +2 -2
  20. package/src/plugins/liquidswap/aptosLpJob.js.map +1 -1
  21. package/src/plugins/meteora/poolsJob.js +2 -2
  22. package/src/plugins/meteora/poolsJob.js.map +1 -1
  23. package/src/plugins/orca/lpTokensJob.js +2 -2
  24. package/src/plugins/orca/lpTokensJob.js.map +1 -1
  25. package/src/plugins/pancakeswap/aptosLpJob.js +2 -2
  26. package/src/plugins/pancakeswap/aptosLpJob.js.map +1 -1
  27. package/src/plugins/raydium/lpTokensJob.js +2 -2
  28. package/src/plugins/raydium/lpTokensJob.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/symmetry/basketsJob.js +5 -4
  32. package/src/plugins/symmetry/basketsJob.js.map +1 -1
  33. package/src/plugins/symmetry/helpers.d.ts +2 -0
  34. package/src/plugins/symmetry/helpers.js +9 -0
  35. package/src/plugins/symmetry/helpers.js.map +1 -0
  36. package/src/plugins/tokens/fetchers/aptos.js +1 -0
  37. package/src/plugins/tokens/fetchers/aptos.js.map +1 -1
  38. package/src/plugins/tokens/fetchers/sui.js +1 -0
  39. package/src/plugins/tokens/fetchers/sui.js.map +1 -1
  40. package/src/utils/misc/getLpTokenSource.d.ts +1 -1
  41. package/src/utils/misc/getLpTokenSource.js +2 -1
  42. package/src/utils/misc/getLpTokenSource.js.map +1 -1
  43. package/src/utils/misc/getLpTokenSourceRaw.d.ts +1 -1
  44. package/src/utils/misc/getLpTokenSourceRaw.js +3 -3
  45. package/src/utils/misc/getLpTokenSourceRaw.js.map +1 -1
  46. package/src/utils/misc/tokenPriceToLiquidity.js +1 -0
  47. package/src/utils/misc/tokenPriceToLiquidity.js.map +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.11.130](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.129...plugins-0.11.130) (2024-03-19)
6
+
7
+
8
+
5
9
  ## [0.11.129](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.128...plugins-0.11.129) (2024-03-18)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.11.129",
3
+ "version": "0.11.130",
4
4
  "type": "commonjs",
5
5
  "generators": "./generators.json",
6
6
  "dependencies": {
@@ -41,7 +41,7 @@
41
41
  "web3-v1": "npm:web3@^1.5.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "@sonarwatch/portfolio-core": "0.11.129"
44
+ "@sonarwatch/portfolio-core": "0.11.130"
45
45
  },
46
46
  "main": "./src/index.js",
47
47
  "types": "./src/index.d.ts"
@@ -72,11 +72,11 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
72
72
  price: tokenPrice.price,
73
73
  });
74
74
  }
75
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.sui, constants_1.platformId, constants_1.platformId, 'Vaults', {
75
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.sui, constants_1.platformId, constants_1.platformId, {
76
76
  address: constants_1.alpType,
77
77
  decimals: constants_1.alpDecimals,
78
78
  supplyRaw: new bignumber_js_1.default(lpSupply),
79
- }, lpUnderlyings);
79
+ }, lpUnderlyings, 'Vaults');
80
80
  yield cache.setTokenPriceSource({
81
81
  id: 'alp',
82
82
  networkId: portfolio_core_1.NetworkId.sui,
@@ -1 +1 @@
1
- {"version":3,"file":"marketsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/abex/marketsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAA2E;AAC3E,gEAAqC;AAGrC,2CAQqB;AACrB,iDAAmD;AACnD,uEAAoE;AAEpE,qEAAkE;AAClE,+FAE8C;AAC9C,6CAAoD;AACpD,yDAAsD;AACtD,mDAA2D;AAE3D,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;;IACnD,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAE9B,OAAO;IACP,MAAM,UAAU,GAAG,MAAM,IAAA,qBAAS,EAAO,MAAM,EAAE,wBAAY,CAAC,CAAC;IAC/D,MAAM,iBAAiB,GACrB,MAAA,MAAA,UAAU,CAAC,IAAI,0CAAE,OAAO,0CAAE,MAAM,CAAC,oBAAoB,CAAC;IACxD,IAAI,iBAAiB,EAAE,CAAC;QACtB,MAAM,KAAK,CAAC,OAAO,CAAC,oCAAwB,EAAE,iBAAiB,EAAE;YAC/D,MAAM,EAAE,sBAAU;YAClB,SAAS,EAAE,0BAAS,CAAC,GAAG;SACzB,CAAC,CAAC;IACL,CAAC;IAED,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,MAAM,EAAE,CAAC;QACT,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;KACtB,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AACF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -133,7 +133,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
133
133
  yield cache.setTokenPriceSource(underlyingSource);
134
134
  if (!tokenPriceA || !tokenPriceB)
135
135
  continue;
136
- const lpSource = (0, getLpTokenSourceRaw_1.default)(networkId, address, constants_1.platformId, '', {
136
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(networkId, address, constants_1.platformId, {
137
137
  address,
138
138
  decimals: poolInfo.lp_decimals,
139
139
  supplyRaw: new bignumber_js_1.default(poolInfo.lp_supply.fields.value),
@@ -150,7 +150,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
150
150
  price: tokenPriceB.price,
151
151
  reserveAmountRaw: reserveAmountRawB,
152
152
  },
153
- ]);
153
+ ], '');
154
154
  yield cache.setTokenPriceSource(lpSource);
155
155
  }
156
156
  }
@@ -1 +1 @@
1
- {"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/aftermath/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,+DAIoC;AAGpC,iDAAmD;AACnD,2CAAuD;AAEvD,oFAA2E;AAC3E,6CAAoD;AACpD,6FAAoE;AACpE,6GAAqF;AACrF,+FAAuE;AACvE,uEAAoE;AACpE,qEAAkE;AAElE,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;;IACnD,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAC9B,MAAM,SAAS,GAAG,0BAAS,CAAC,GAAG,CAAC;IAChC,MAAM,gBAAgB,GAAG,MAA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"}
@@ -93,7 +93,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
93
93
  decimals,
94
94
  supply,
95
95
  };
96
- const source = (0, getLpTokenSource_1.default)(portfolio_core_1.NetworkId.solana, pool.pubkey.toString(), constants_1.platformId, 'V1 (Deprecated)', lpDetailsRaw, poolUnderlyings);
96
+ const source = (0, getLpTokenSource_1.default)(portfolio_core_1.NetworkId.solana, pool.pubkey.toString(), constants_1.platformId, lpDetailsRaw, poolUnderlyings, 'V1 (Deprecated)');
97
97
  sourcesPromises.push(cache.setTokenPriceSource(source));
98
98
  }
99
99
  yield Promise.allSettled(sourcesPromises);
@@ -1 +1 @@
1
- {"version":3,"file":"poolsV1Job.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/atrix/poolsV1Job.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,+DAAmE;AAGnE,iDAAsD;AACtD,+CAK4B;AAC5B,4DAGwC;AACxC,2CAAkD;AAClD,uCAAuC;AACvC,gGAA6F;AAC7F,yFAAiE;AAEjE,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,aAAa,GAAG,MAAM,IAAA,iCAAwB,EAClD,MAAM,EACN,oBAAU,EACV,mBAAO,CACR,CAAC;IAEF,MAAM,uBAAuB,GAAgB,EAAE,CAAC;IAChD,MAAM,uBAAuB,GAAgB,EAAE,CAAC;IAChD,MAAM,eAAe,GAAgB,IAAI,GAAG,EAAE,CAAC;IAE/C,aAAa,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC7B,IACE,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,kCAAkC;YACtE,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,KAAK,kCAAkC;YAEpE,OAAO;QACT,IACE,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,8CAA8C,EACzE,CAAC;Y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Q,CAAA,CAAC;qBACtC,QAAQ,EAAE;gBACb,KAAK,EAAE,YAAY,CAAC,KAAK;gBACzB,QAAQ,EAAE,YAAY,CAAC,QAAQ;aAChC;SACF,CAAC;QAEF,MAAM,YAAY,GAAG;YACnB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YAC/B,QAAQ;YACR,MAAM;SACP,CAAC;QAEF,MAAM,MAAM,GAAG,IAAA,0BAAgB,EAC7B,0BAAS,CAAC,MAAM,EAChB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,EACtB,sBAAU,EACV,YAAY,EACZ,eAAe,EACf,iBAAiB,CAClB,CAAC;QACF,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1D,CAAC;IAED,MAAM,OAAO,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;AAC5C,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -91,7 +91,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
91
91
  yield cache.setTokenPriceSource(underlyingSource);
92
92
  if (!tokenPriceX || !tokenPriceY)
93
93
  continue;
94
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.aptos, lpType, constants_1.platformId, '', {
94
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.aptos, lpType, constants_1.platformId, {
95
95
  address: lpType,
96
96
  decimals: lpDecimals,
97
97
  supplyRaw: lpSupply,
@@ -108,7 +108,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
108
108
  price: tokenPriceY.price,
109
109
  reserveAmountRaw: reserveAmountRawY,
110
110
  },
111
- ]);
111
+ ], '');
112
112
  yield cache.setTokenPriceSource(lpSource);
113
113
  }
114
114
  });
@@ -1 +1 @@
1
- {"version":3,"file":"aptosLpJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/auxexchange/aptosLpJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,+DAAuD;AAGvD,6CAM2B;AAC3B,iDAAqD;AACrD,2CAA+E;AAC/E,6FAAoE;AACpE,8EAA2E;AAC3E,6GAAqF;AACrF,+FAAuE;AAOvE,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,MAAM,cAAc,GAAG,MAAM,IAAA,4BAAiB,EAC5C,SAAS;SACN,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;QAChB,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,uBAAe,EAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAChD,OAAO,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACjD,CAAC,CAAC;SACD,IAAI,EAAE,EACT,0BAAS,CAAC,KAAK,EACf,KAAK,CACN,CAAC;IAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC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AChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -101,6 +101,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
101
101
  type: portfolio_core_1.PortfolioElementType.multiple,
102
102
  label: 'Vesting',
103
103
  networkId: portfolio_core_1.NetworkId.solana,
104
+ name: 'Community Airdrop',
104
105
  platformId: constants_1.platformId,
105
106
  data: { assets },
106
107
  value: (0, portfolio_core_1.getUsdValueSum)(assets.map((asset) => asset.value)),
@@ -1 +1 @@
1
- {"version":3,"file":"vestingFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/bskt/vestingFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAKoC;AACpC,kDAA6C;AAC7C,gEAAqC;AAGrC,2CAA0E;AAC1E,+CAA8D;AAC9D,uCAAiD;AACjD,uCAAiD;AACjD,iDAAsD;AACtD,qGAA6E;AAG7E,MAAM,MAAM,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AACnC,MAAM,SAAS,GAAG,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC;AAC1C,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC,CAAC;AAE5D,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IACjC,MAAM,eAAe,GAAG,MAAM,IAAA,iCAAwB,EACpD,MAAM,EACN,8BAAoB,EACpB,mBAAO,EACP,IAAA,8BAAoB,EAAC,KAAK,CAAC,CAC5B,CAAC;IACF,MAAM,cAAc,GAAG,MAAM,KAAK,CAAC,aAAa,CAAC,oBAAQ,EAAE,0BAAS,CAAC,MAAM,CAAC,CAAC;IAE7E,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjC,MAAM,GAAG,GAAwC,MAAM,eA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OAAO,CAAC,aAAa,CAAC;aAC5B,KAAK,CAAC,eAAe,CAAC,CAAC;QAC1B,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,EAAE,CAAC;YAC/B,MAAM,CAAC,IAAI,iCACN,IAAA,gCAAsB,EACvB,oBAAQ,EACR,gBAAgB,CAAC,SAAS,CAAC,SAAA,EAAE,EAAI,wBAAY,CAAA,CAAC,CAAC,QAAQ,EAAE,EACzD,0BAAS,CAAC,MAAM,EAChB,cAAc,CACf,KACD,UAAU,EAAE;oBACV,WAAW,EAAE,OAAO,CAAC,OAAO,EAAE;iBAC/B,IACD,CAAC;QACL,CAAC;IACH,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,IAAI,EAAE,mBAAmB;YACzB,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"}
@@ -87,7 +87,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
87
87
  }
88
88
  if (!tokenPriceA || !tokenPriceB)
89
89
  continue;
90
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, constants_1.platformId, constants_1.platformId, 'Pools', {
90
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, constants_1.platformId, constants_1.platformId, {
91
91
  address: pool.poolMint.toString(),
92
92
  decimals: poolMint.decimals,
93
93
  supplyRaw: poolMint.supply,
@@ -104,7 +104,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
104
104
  price: tokenPriceB.price,
105
105
  reserveAmountRaw: tokenAccountB.amount,
106
106
  },
107
- ]);
107
+ ], 'Pools');
108
108
  yield cache.setTokenPriceSource(lpSource);
109
109
  }
110
110
  });
@@ -1 +1 @@
1
- {"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/fluxbeam/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,6CAA4C;AAC5C,+DAAmE;AAGnE,2CAA2D;AAC3D,iDAAsD;AACtD,+CAQ4B;AAC5B,uCAAuC;AACvC,+FAAuE;AACvE,6GAAqF;AAErF,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IACrC,IAAI,KAAK,GAAG,MAAM,IAAA,iCAAwB,EACxC,UAAU,EACV,oBAAU,EACV,IAAI,mBAAS,CAAC,4BAAgB,CAAC,EAC/B,CAAC,EAAE,QAAQ,EAAE,oBAAU,CAAC,QAAQ,EAAE,CAAC,CACpC,CAAC;IACF,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAEnD,MAAM,wBAAwB,GAAG,KAAK;SACnC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;SACzC,IAAI,EAAE,CAAC;IACV,MAAM,aAAa,GAAG,MAAM,IAAA,sCAA6B,EACvD,UAAU,EACV,2BAAkB,EAClB,wBAAwB,CACzB,CAAC;IACF,MAAM,gBAAgB,GAA6C,I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;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -36,7 +36,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
36
36
  (_c = (_b = object.data) === null || _b === void 0 ? void 0 : _b.content) === null || _c === void 0 ? void 0 : _c.fields.strategies.fields.contents.forEach((c) => {
37
37
  amount = amount.plus(c.fields.value.fields.borrowed);
38
38
  });
39
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.sui, constants_1.platformId, constants_1.platformId, 'Vaults', {
39
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.sui, constants_1.platformId, constants_1.platformId, {
40
40
  address: vaultInfo.lpType,
41
41
  decimals: vaultInfo.decimals,
42
42
  supplyRaw: new bignumber_js_1.default(vault.lp_treasury.fields.total_supply.fields.value),
@@ -47,7 +47,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
47
47
  reserveAmountRaw: amount,
48
48
  price: tokenPrice.price,
49
49
  },
50
- ]);
50
+ ], 'Vaults');
51
51
  yield cache.setTokenPriceSource(lpSource);
52
52
  }
53
53
  });
@@ -1 +1 @@
1
- {"version":3,"file":"vaultsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/kai/vaultsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,+DAA2E;AAG3E,2CAAqD;AACrD,iDAAmD;AACnD,qEAAkE;AAElE,+FAAuE;AAEvE,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;;IACnD,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAC9B,MAAM,OAAO,GAAG,MAAM,IAAA,iCAAe,EACnC,MAAM,EACN,sBAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAC5B,CAAC;IAEF,MAAM,WAAW,GAAG,MAAM,KAAK,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F,MAAM,KAAK,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAC5C,CAAC;AACH,CAAC,CAAA,CAAC;AACF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,SAAS;IAC1B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -79,7 +79,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
79
79
  yield cache.setTokenPriceSource(underlyingSource);
80
80
  if (!tokenPriceX || !tokenPriceY)
81
81
  continue;
82
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.sei, lpContract, platformId, '', {
82
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.sei, lpContract, platformId, {
83
83
  address: lpContract,
84
84
  decimals: lpTokenInfo.decimals,
85
85
  supplyRaw: supply,
@@ -96,7 +96,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
96
96
  price: tokenPriceY.price,
97
97
  reserveAmountRaw: reserveAmountRawY,
98
98
  },
99
- ]);
99
+ ], '');
100
100
  yield cache.setTokenPriceSource(lpSource);
101
101
  if (pushedContractsByPlatform.get(platformId)) {
102
102
  const pushedContracts = pushedContractsByPlatform.get(platformId);
@@ -1 +1 @@
1
- {"version":3,"file":"job.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquiditypools-sei/job.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,uCAAiD;AACjD,+DAAuD;AACvD,gEAAqC;AAGrC,6DAA+D;AAC/D,2CAA4D;AAC5D,yCAKyB;AACzB,8EAAsD;AACtD,8EAA2E;AAC3E,6GAAqF;AACrF,+FAAuE;AAEvE,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,cAAc,GAAG,MAAM,IAAA,wBAAiB,EAAC,IAAA,0BAAc,EAAC,0BAAS,CAAC,GAAG,CAAC,CAA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executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
121
121
  // if (underlyingSource) sources.push(underlyingSource);
122
122
  if (!tokenPriceX || !tokenPriceY)
123
123
  continue;
124
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.aptos, lpType, constants_1.platformId, undefined, {
124
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.aptos, lpType, constants_1.platformId, {
125
125
  address: lpType,
126
126
  decimals: lpDecimals,
127
127
  supplyRaw: lpSupply,
@@ -138,7 +138,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
138
138
  price: tokenPriceY.price,
139
139
  reserveAmountRaw: reserveAmountRawY,
140
140
  },
141
- ]);
141
+ ], undefined);
142
142
  sources.push(lpSource);
143
143
  }
144
144
  yield (0, runInBatch_1.default)(sources.map((tokenPriceSource) => () => cache.setTokenPriceSource(tokenPriceSource)), 50);
@@ -1 +1 @@
1
- {"version":3,"file":"aptosLpJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquidswap/aptosLpJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,+DAAuD;AAOvD,6CAK2B;AAC3B,iDAAqD;AACrD,2CAKqB;AACrB,6FAAoE;AACpE,+FAAuE;AACvE,6EAAqD;AAErD,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,MAAM,WAAW,GAAiC,EAAE,CAAC;IACrD,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,SAAS,CAAC,OAAO,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;gBAC9B,KAAK,EAAE,WAAW,CAAC,KAAK;gBACxB,gBAAgB,EAAE,iBAAiB;aACpC;YACD;gBACE,OAAO,EAAE,WAAW,CAAC,OAAO;gBAC5B,QAAQ,EAAE,WAAW,CAAC,QAAQ;gBAC9B,KAAK,EAAE,WAAW,CAAC,KAAK;gBACxB,gBAAgB,EAAE,iBAAiB;aACpC;SACF,CACF,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACzB,CAAC;IAED,MAAM,IAAA,oBAAU,EACd,OAAO,CAAC,GAAG,CACT,CAAC,gBAAgB,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CACxE,EACD,EAAE,CACH,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"aptosLpJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/liquidswap/aptosLpJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,+DAAuD;AAOvD,6CAK2B;AAC3B,iDAAqD;AACrD,2CAKqB;AACrB,6FAAoE;AACpE,+FAAuE;AACvE,6EAAqD;AAErD,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,MAAM,WAAW,GAAiC,EAAE,CAAC;IACrD,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,MAAM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gBAC5B,QAAQ,EAAE,WAAW,CAAC,QAAQ;gBAC9B,KAAK,EAAE,WAAW,CAAC,KAAK;gBACxB,gBAAgB,EAAE,iBAAiB;aACpC;YACD;gBACE,OAAO,EAAE,WAAW,CAAC,OAAO;gBAC5B,QAAQ,EAAE,WAAW,CAAC,QAAQ;gBAC9B,KAAK,EAAE,WAAW,CAAC,KAAK;gBACxB,gBAAgB,EAAE,iBAAiB;aACpC;SACF,EACD,SAAS,CACV,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACzB,CAAC;IAED,MAAM,IAAA,oBAAU,EACd,OAAO,CAAC,GAAG,CACT,CAAC,gBAAgB,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CACxE,EACD,EAAE,CACH,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,WAAW;IAC5B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -111,7 +111,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
111
111
  const lpMintAccount = mintsAccountByAddress.get(lpMint);
112
112
  if (!lpMintAccount)
113
113
  continue;
114
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, lpMint, constants_1.platformId, undefined, {
114
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, lpMint, constants_1.platformId, {
115
115
  address: lpMint,
116
116
  decimals: lpMintAccount.decimals,
117
117
  supplyRaw: lpMintAccount.supply,
@@ -128,7 +128,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
128
128
  price: bTokenPrice.price,
129
129
  reserveAmountRaw: tAccountB.amount,
130
130
  },
131
- ]);
131
+ ], undefined);
132
132
  yield cache.setTokenPriceSource(lpSource);
133
133
  }
134
134
  // 4 pools
@@ -1 +1 @@
1
- {"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,6CAA4C;AAC5C,gEAAqC;AACrC,2CAAyD;AACzD,iDAAsD;AACtD,+CAO4B;AAC5B,mCAAgC;AAChC,gGAA6F;AAC7F,qCAAsD;AACtD,uCAAqE;AAGrE,6FAAoE;AACpE,+FAAuE;AAEvE,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,yCAAyC;IACzC,MAAM,qBAAqB,GAAG,MAAM,IAAA,iCAAwB,EAC1D,MAAM,EACN,wBAAe,EACf,0BAAc,EACd,8BAAoB,CACrB,CAAC;IACF,MAAM,mBAAmB,GAAG,MAAM,IAAA,iCAAwB,EACxD,MAAM,EACN,wBAAe,EACf,0BAAc,EACd,4BAAkB,CACnB,CAAC;IAEF,SAAS;IACT,MAAM,YAAY,GAAG,aAAK,CAAC;IAC3B,6BAA6B;IAC7B,MAAM,iBAAiB,GAAmB,IAAI,GAAG,EAAE,CAAC;IACpD,YAAY,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC5B,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACvC,iBAAiB,CAAC,GAAG,CAAC,IAAI,mBAAS,CAAC,OAAO,CAAC,CAAC,CAAC;QAChD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,MAAM,eAAe,GAAG,MAAM,IAAA,sCAA6B,EACzD,MAAM,EACN,2BAAkB,EAClB,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAC9B,CAAC;IACF,MAAM,wBAAwB,GAA8B,IAAI,GAAG,EAAE,CAAC;IACtE,eAAe,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE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AAE,EAAE,GAAG,sBAAU,QAAQ;IACzB,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"poolsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/meteora/poolsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,6CAA4C;AAC5C,gEAAqC;AACrC,2CAAyD;AACzD,iDAAsD;AACtD,+CAO4B;AAC5B,mCAAgC;AAChC,gGAA6F;AAC7F,qCAAsD;AACtD,uCAAqE;AAGrE,6FAAoE;AACpE,+FAAuE;AAEvE,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,yCAAyC;IACzC,MAAM,qBAAqB,GAAG,MAAM,IAAA,iCAAwB,EAC1D,MAAM,EACN,wBAAe,EACf,0BAAc,EACd,8BAAoB,CACrB,CAAC;IACF,MAAM,mBAAmB,GAAG,MAAM,IAAA,iCAAwB,EACxD,MAAM,EACN,wBAAe,EACf,0BAAc,EACd,4BAAkB,CACnB,CAAC;IAEF,SAAS;IACT,MAAM,YAAY,GAAG,aAAK,CAAC;IAC3B,6BAA6B;IAC7B,MAAM,iBAAiB,GAAmB,IAAI,GAAG,EAAE,CAAC;IACpD,YAAY,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC5B,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACvC,iBAAiB,CAAC,GAAG,CAAC,IAAI,mBAAS,CAAC,OAAO,CAAC,CAAC,CAAC;QAChD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,MAAM,eAAe,GAAG,MAAM,IAAA,sCAA6B,EACzD,MAAM,EACN,2BAAkB,EAClB,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAC9B,CAAC;IACF,MAAM,wBAAw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tB,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,QAAQ;IACzB,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -102,7 +102,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
102
102
  yield cache.setTokenPriceSource(underlyingSource);
103
103
  if (!tokenPriceA || !tokenPriceB)
104
104
  continue;
105
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, lpMint.toString(), constants_1.platformId, 'Aquafarms (deprecated)', { address: lpMint.toString(), decimals: lpDecimals, supplyRaw: lpSupply }, [
105
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, lpMint.toString(), constants_1.platformId, { address: lpMint.toString(), decimals: lpDecimals, supplyRaw: lpSupply }, [
106
106
  {
107
107
  address: tokenPriceA.address,
108
108
  decimals: tokenPriceA.decimals,
@@ -115,7 +115,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
115
115
  price: tokenPriceB.price,
116
116
  reserveAmountRaw: pcAmountWei,
117
117
  },
118
- ]);
118
+ ], 'Aquafarms (deprecated)');
119
119
  yield cache.setTokenPriceSource(lpSource);
120
120
  // const poolData: PoolData = {
121
121
  // id: lpMint.toString(),
@@ -1 +1 @@
1
- {"version":3,"file":"lpTokensJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/orca/lpTokensJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,gEAAqC;AAErC,2CAAyE;AACzE,uCAA0D;AAC1D,iDAAsD;AACtD,6DAA0E;AAC1E,+CAK4B;AAC5B,gGAA6F;AAG7F,6EAAqD;AACrD,oFAA2E;AAC3E,6FAAoE;AACpE,6GAAqF;AACrF,8EAA2E;AAC3E,+FAAuE;AAEvE,MAAM,QAAQ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TokenPriceSource(underlyingSource);
102
102
  if (!tokenPriceX || !tokenPriceY)
103
103
  continue;
104
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.aptos, lpType, constants_1.platformId, '', {
104
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.aptos, lpType, constants_1.platformId, {
105
105
  address: lpType,
106
106
  decimals: lpDecimals,
107
107
  supplyRaw: lpSupply,
@@ -118,7 +118,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
118
118
  price: tokenPriceY.price,
119
119
  reserveAmountRaw: reserveAmountRawY,
120
120
  },
121
- ]);
121
+ ], '');
122
122
  yield cache.setTokenPriceSource(lpSource);
123
123
  }
124
124
  });
@@ -1 +1 @@
1
- {"version":3,"file":"aptosLpJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/pancakeswap/aptosLpJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,+DAAuD;AAGvD,2CAA+E;AAE/E,iDAAqD;AACrD,6CAM2B;AAC3B,6FAAoE;AACpE,6GAAqF;AACrF,8EAA2E;AAC3E,+FAAuE;AAEvE,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,MAAM,cAAc,GAAG,MAAM,IAAA,4BAAiB,EAC5C,SAAS;SACN,GAAG,CAAC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;AACF,kBAAe,GAAG,CAAC"}
@@ -161,7 +161,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
161
161
  : lpMintAccount.supply;
162
162
  if (lpSupply.isZero())
163
163
  continue;
164
- tokenPriceSources.push((0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, lpMint.toString(), constants_1.platformId, amm.ammName, {
164
+ tokenPriceSources.push((0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, lpMint.toString(), constants_1.platformId, {
165
165
  address: lpMint.toString(),
166
166
  decimals: lpDecimals,
167
167
  supplyRaw: lpSupply,
@@ -178,7 +178,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
178
178
  price: tokenPriceB.price,
179
179
  reserveAmountRaw: tokenAmountB,
180
180
  },
181
- ]));
181
+ ], amm.ammName));
182
182
  }
183
183
  }
184
184
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lpTokensJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/raydium/lpTokensJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AAEvD,gEAAqC;AAGrC,iDAAsD;AACtD,2CAA+E;AAC/E,yCAAkE;AAClE,+CAK4B;AAC5B,uCAAqD;AACrD,mCAA8C;AAC9C,6EAAqD;AACrD,gGAA6F;AAE7F,6GAAqF;AACrF,+FAAuE;AACvE,gEAA0E;AAC1E,6FAAoE;AAEpE,MAAM,WAAW,GAAG;IAClB;QACE,SAAS,EAAE,CAAC;QACZ,MAAM,EAAE,sBAAe;QACvB,SAAS,EAAE,6BAAiB;QAC5B,OAAO,EAAE,qBAAW;QACpB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,SAAS,EAAE,CAAC;QACZ,MAAM,EAAE,sBAAe;QACvB,SAAS,EAAE,6BAAiB;QAC5B,OAAO,EAAE,qBAAW;QACpB,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEF,MAAM,QAAQ,GAAgB,CAA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ACpB,IAAA,6BAAmB,EACjB,0BAAS,CAAC,MAAM,EAChB,MAAM,CAAC,QAAQ,EAAE,EACjB,sBAAU,EACV;oBACE,OAAO,EAAE,MAAM,CAAC,QAAQ,EAAE;oBAC1B,QAAQ,EAAE,UAAU;oBACpB,SAAS,EAAE,QAAQ;iBACpB,EACD;oBACE;wBACE,OAAO,EAAE,WAAW,CAAC,OAAO;wBAC5B,QAAQ,EAAE,WAAW,CAAC,QAAQ;wBAC9B,KAAK,EAAE,WAAW,CAAC,KAAK;wBACxB,gBAAgB,EAAE,YAAY;qBAC/B;oBACD;wBACE,OAAO,EAAE,WAAW,CAAC,OAAO;wBAC5B,QAAQ,EAAE,WAAW,CAAC,QAAQ;wBAC9B,KAAK,EAAE,WAAW,CAAC,KAAK;wBACxB,gBAAgB,EAAE,YAAY;qBAC/B;iBACF,EACD,GAAG,CAAC,OAAO,CACZ,CACF,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM,IAAA,oBAAU,EACd,iBAAiB,CAAC,GAAG,CACnB,CAAC,gBAAgB,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CACxE,CACF,CAAC;AACJ,CAAC,CAAA,CAAC;AAEF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,YAAY;IAC7B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -61,7 +61,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
61
61
  const [tokenPriceX, tokenPriceY] = yield cache.getTokenPrices([typeX, typeY], portfolio_core_1.NetworkId.aptos);
62
62
  if (!tokenPriceX || !tokenPriceY)
63
63
  continue;
64
- const source = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.aptos, constants_2.platformId, constants_2.platformId, undefined, {
64
+ const source = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.aptos, constants_2.platformId, constants_2.platformId, {
65
65
  address: lpType,
66
66
  decimals: lpDecimals,
67
67
  supplyRaw: lpSupply,
@@ -78,7 +78,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
78
78
  price: tokenPriceY.price,
79
79
  reserveAmountRaw: new bignumber_js_1.default(tokenPairData.balance_y.value),
80
80
  },
81
- ]);
81
+ ], undefined);
82
82
  yield cache.setTokenPriceSource(source);
83
83
  }
84
84
  });
@@ -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,kGAA0E;AAE1E,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,IAA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AAK,GAAG;YAAE,SAAS;QAEpD,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC,GAAG,MAAM,KAAK,CAAC,cAAc,CAC3D,CAAC,KAAK,EAAE,KAAK,CAAC,EACd,0BAAS,CAAC,KAAK,CAChB,CAAC;QACF,IAAI,CAAC,WAAW,IAAI,CAAC,WAAW;YAAE,SAAS;QAE3C,MAAM,MAAM,GAAG,IAAA,6BAAmB,EAChC,0BAAS,CAAC,KAAK,EACf,sBAAU,EACV,sBAAU,EACV,SAAS,EACT;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,CACF,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,+DAAuD;AACvD,oDAAwD;AAGxD,2CAA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,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"}
@@ -20,8 +20,9 @@ const clients_1 = require("../../utils/clients");
20
20
  const structs_1 = require("./structs");
21
21
  const filters_1 = require("./filters");
22
22
  const getParsedAccountInfo_1 = require("../../utils/solana/getParsedAccountInfo");
23
+ const helpers_1 = require("./helpers");
23
24
  const getLpTokenSourceRaw_1 = __importDefault(require("../../utils/misc/getLpTokenSourceRaw"));
24
- const helpers_1 = require("../../utils/solana/pyth/helpers");
25
+ const helpers_2 = require("../../utils/solana/pyth/helpers");
25
26
  const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
26
27
  const connection = (0, clients_1.getClientSolana)();
27
28
  const tokenListRes = yield (0, getParsedAccountInfo_1.getParsedAccountInfo)(connection, structs_1.tokenListStruct, constants_1.tokenListAddress);
@@ -29,7 +30,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
29
30
  return;
30
31
  const tokenSettings = [...tokenListRes.list].slice(0, tokenListRes.numTokens.toNumber());
31
32
  // Add tokens prices from Pyth Oracles
32
- const pythSources = yield (0, helpers_1.getPythTokenPriceSources)(connection, tokenSettings
33
+ const pythSources = yield (0, helpers_2.getPythTokenPriceSources)(connection, tokenSettings
33
34
  .filter((ts) => ts.oracleType === structs_1.OracleType.Pyth)
34
35
  .map((ts) => ({
35
36
  mint: ts.tokenMint,
@@ -61,11 +62,11 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
61
62
  }
62
63
  if (poolUnderlyingRaw.length === 0)
63
64
  continue;
64
- const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, constants_1.platformId, constants_1.platformId, 'Basket', {
65
+ const lpSource = (0, getLpTokenSourceRaw_1.default)(portfolio_core_1.NetworkId.solana, constants_1.platformId, constants_1.platformId, {
65
66
  address: account.fundToken.toString(),
66
67
  decimals: 6,
67
68
  supplyRaw: account.supplyOutstanding,
68
- }, poolUnderlyingRaw);
69
+ }, poolUnderlyingRaw, 'Basket', (0, helpers_1.getSymbol)(account));
69
70
  lpSources.push(lpSource);
70
71
  }
71
72
  yield cache.setTokenPriceSources(lpSources);
@@ -1 +1 @@
1
- {"version":3,"file":"basketsJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/symmetry/basketsJob.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,8BAA8B;AAC9B,+DAAyE;AAGzE,2CAA4E;AAC5E,+CAA8D;AAC9D,iDAAsD;AACtD,uCAAoE;AACpE,uCAAwC;AACxC,kFAA+E;AAC/E,+FAE8C;AAC9C,6DAA2E;AAE3E,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;IACnD,MAAM,UAAU,GAAG,IAAA,yBAAe,GAAE,CAAC;IAErC,MAAM,YAAY,GAAG,MAAM,IAAA,2CAAoB,EAC7C,UAAU,EACV,yBAAe,EACf,4BAAgB,CACjB,CAAC;IACF,IAAI,CAAC,YAAY;QAAE,OAAO;IAC1B,MAAM,aAAa,GAAG,CAAC,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC,KAAK,CAChD,CAAC,EACD,YAAY,CAA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,CAAC,CAAC;IAC3B,CAAC;IACD,MAAM,KAAK,CAAC,oBAAoB,CAAC,SAAS,CAAC,CAAC;AAC9C,CAAC,CAAA,CAAC;AACF,MAAM,GAAG,GAAQ;IACf,EAAE,EAAE,GAAG,sBAAU,UAAU;IAC3B,QAAQ;IACR,KAAK,EAAE,QAAQ;CAChB,CAAC;AACF,kBAAe,GAAG,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Fund } from './structs';
2
+ export declare function getSymbol(fund: Fund): string | undefined;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getSymbol = void 0;
4
+ function getSymbol(fund) {
5
+ const symbol = String.fromCharCode.apply(null, fund.symbol.slice(0, fund.symbolLength));
6
+ return symbol.length !== 0 ? symbol : undefined;
7
+ }
8
+ exports.getSymbol = getSymbol;
9
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/symmetry/helpers.ts"],"names":[],"mappings":";;;AAEA,SAAgB,SAAS,CAAC,IAAU;IAClC,MAAM,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC,KAAK,CACtC,IAAI,EACJ,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,CACxC,CAAC;IACF,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AAClD,CAAC;AAND,8BAMC"}
@@ -59,6 +59,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
59
59
  rewardAssetsValue: 0,
60
60
  value: (0, portfolio_core_1.getUsdValueSum)(assets.map((a) => a.value)),
61
61
  yields: [],
62
+ name: tokenPrice.liquidityName,
62
63
  };
63
64
  if (!liquiditiesByPlatformId[tokenPrice.platformId]) {
64
65
  liquiditiesByPlatformId[tokenPrice.platformId] = [];
@@ -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,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC1C,MAAM,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QAC9B,MAAM,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC;QACnC,IAAI,CAAC,IAAA,gCAAwB,EAAC,YAAY,CAAC;YAAE,SAAS;QAEtD,MAAM,aAAa,GAAG,IAAA,uBAAe,EAAC,YAAY,CAAC,CAAC;QACpD,IAAI,aAAa,CAAC,IAAI,KAAK,iBAAS;YAAE,SAAS;QAC/C,IAAI,CAAC,aAAa,CAAC,IAAI;YAAE,SAAS;QAElC,MAAM,QAAQ,GAAG,MAAA,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,0CAAE,IAAI,CAAC;QAChD,IAAI,QAAQ,KAAK,SAAS;YAAE,SAAS;QAErC,MAAM,aAAa,GAAG,QAAQ,CAAC,IAAqB,CAAC;QACrD,MAAM,SAAS,GAAG,IA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CAAC,EAAE,QAAQ;IACtC,SAAS,EAAE,0BAAS,CAAC,KAAK;IAC1B,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -50,6 +50,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
50
50
  rewardAssetsValue: 0,
51
51
  value: (0, portfolio_core_1.getUsdValueSum)(assets.map((a) => a.value)),
52
52
  yields: [],
53
+ name: tokenPrice.liquidityName,
53
54
  };
54
55
  const tag = (0, helpers_1.getLpTag)(tokenPrice.platformId, tokenPrice.elementName);
55
56
  if (!liquiditiesByTag[tag]) {
@@ -1 +1 @@
1
- {"version":3,"file":"sui.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/tokens/fetchers/sui.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAUoC;AAIpC,oDAAsD;AACtD,wGAAgF;AAChF,4CAAoD;AACpD,0GAAkF;AAClF,wCAAkD;AAElD,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAE9B,MAAM,aAAa,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7D,MAAM,UAAU,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACxE,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,cAAc,CAAC,UAAU,EAAE,0BAAS,CAAC,GAAG,CAAC,CAAC;IAC3E,MAAM,cAAc,GAA4B,IAAI,GAAG,EAAE,CAAC;IAC1D,YAAY,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE;QAC1B,IAAI,CAAC,EAAE;YAAE,OAAO;QAChB,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE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AG,CAAC,CAAC;QACpD,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI,EAAE,qCAAoB,CAAC,SAAS;YACpC,SAAS,EAAE,0BAAS,CAAC,GAAG;YACxB,UAAU;YACV,IAAI,EAAE,WAAW;YACjB,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,MAAM;IACpC,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
@@ -10,5 +10,5 @@ type LpDetails = {
10
10
  decimals: number;
11
11
  supply: number;
12
12
  };
13
- export default function getLpTokenSource(networkId: NetworkIdType, sourceId: string, platformId: string, elementName: string | undefined, lpDetails: LpDetails, poolUnderlyings: PoolUnderlying[]): TokenPriceSource;
13
+ export default function getLpTokenSource(networkId: NetworkIdType, sourceId: string, platformId: string, lpDetails: LpDetails, poolUnderlyings: PoolUnderlying[], elementName?: string, liquidityName?: string): TokenPriceSource;
14
14
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- function getLpTokenSource(networkId, sourceId, platformId, elementName, lpDetails, poolUnderlyings) {
3
+ function getLpTokenSource(networkId, sourceId, platformId, lpDetails, poolUnderlyings, elementName, liquidityName) {
4
4
  const price = poolUnderlyings.reduce((acc, u) => acc + u.reserveAmount * u.price, 0) /
5
5
  lpDetails.supply;
6
6
  return {
@@ -8,6 +8,7 @@ function getLpTokenSource(networkId, sourceId, platformId, elementName, lpDetail
8
8
  platformId,
9
9
  id: sourceId,
10
10
  elementName,
11
+ liquidityName,
11
12
  weight: 1,
12
13
  address: lpDetails.address,
13
14
  price,
@@ -1 +1 @@
1
- {"version":3,"file":"getLpTokenSource.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/getLpTokenSource.ts"],"names":[],"mappings":";;AAeA,SAAwB,gBAAgB,CACtC,SAAwB,EACxB,QAAgB,EAChB,UAAkB,EAClB,WAA+B,EAC/B,SAAoB,EACpB,eAAiC;IAEjC,MAAM,KAAK,GACT,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,aAAa,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;QACtE,SAAS,CAAC,MAAM,CAAC;IAEnB,OAAO;QACL,SAAS;QACT,UAAU;QACV,EAAE,EAAE,QAAQ;QACZ,WAAW;QACX,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,SAAS,CAAC,OAAO;QAC1B,KAAK;QACL,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,WAAW,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACvC,SAAS;YACT,OAAO,EAAE,CAAC,CAAC,OAAO;YAClB,KAAK,EAAE,CAAC,CAAC,KAAK;YACd,WAAW,EAAE,CAAC,CAAC,aAAa,GAAG,SAAS,CAAC,MAAM;YAC/C,QAAQ,EAAE,CAAC,CAAC,QAAQ;SACrB,CAAC,CAAC;QACH,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;KACtB,CAAC;AACJ,CAAC;AA9BD,mCA8BC"}
1
+ {"version":3,"file":"getLpTokenSource.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/getLpTokenSource.ts"],"names":[],"mappings":";;AAeA,SAAwB,gBAAgB,CACtC,SAAwB,EACxB,QAAgB,EAChB,UAAkB,EAClB,SAAoB,EACpB,eAAiC,EACjC,WAAoB,EACpB,aAAsB;IAEtB,MAAM,KAAK,GACT,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,aAAa,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC;QACtE,SAAS,CAAC,MAAM,CAAC;IAEnB,OAAO;QACL,SAAS;QACT,UAAU;QACV,EAAE,EAAE,QAAQ;QACZ,WAAW;QACX,aAAa;QACb,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,SAAS,CAAC,OAAO;QAC1B,KAAK;QACL,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,WAAW,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACvC,SAAS;YACT,OAAO,EAAE,CAAC,CAAC,OAAO;YAClB,KAAK,EAAE,CAAC,CAAC,KAAK;YACd,WAAW,EAAE,CAAC,CAAC,aAAa,GAAG,SAAS,CAAC,MAAM;YAC/C,QAAQ,EAAE,CAAC,CAAC,QAAQ;SACrB,CAAC,CAAC;QACH,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;KACtB,CAAC;AACJ,CAAC;AAhCD,mCAgCC"}
@@ -11,5 +11,5 @@ type LpDetailsRaw = {
11
11
  decimals: number;
12
12
  supplyRaw: BigNumber;
13
13
  };
14
- export default function getLpTokenSourceRaw(networkId: NetworkIdType, sourceId: string, platformId: string, elementName: string | undefined, lpDetailsRaw: LpDetailsRaw, poolUnderlyingsRaw: PoolUnderlyingRaw[]): TokenPriceSource;
14
+ export default function getLpTokenSourceRaw(networkId: NetworkIdType, sourceId: string, platformId: string, lpDetailsRaw: LpDetailsRaw, poolUnderlyingsRaw: PoolUnderlyingRaw[], elementName?: string, liquidityName?: string): TokenPriceSource;
15
15
  export {};
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const getLpTokenSource_1 = __importDefault(require("./getLpTokenSource"));
7
- function getLpTokenSourceRaw(networkId, sourceId, platformId, elementName, lpDetailsRaw, poolUnderlyingsRaw) {
8
- return (0, getLpTokenSource_1.default)(networkId, sourceId, platformId, elementName, Object.assign(Object.assign({}, lpDetailsRaw), { supply: lpDetailsRaw.supplyRaw
7
+ function getLpTokenSourceRaw(networkId, sourceId, platformId, lpDetailsRaw, poolUnderlyingsRaw, elementName, liquidityName) {
8
+ return (0, getLpTokenSource_1.default)(networkId, sourceId, platformId, Object.assign(Object.assign({}, lpDetailsRaw), { supply: lpDetailsRaw.supplyRaw
9
9
  .div(Math.pow(10, lpDetailsRaw.decimals))
10
- .toNumber() }), poolUnderlyingsRaw.map((u) => (Object.assign(Object.assign({}, u), { reserveAmount: u.reserveAmountRaw.div(Math.pow(10, u.decimals)).toNumber() }))));
10
+ .toNumber() }), poolUnderlyingsRaw.map((u) => (Object.assign(Object.assign({}, u), { reserveAmount: u.reserveAmountRaw.div(Math.pow(10, u.decimals)).toNumber() }))), elementName, liquidityName);
11
11
  }
12
12
  exports.default = getLpTokenSourceRaw;
13
13
  //# sourceMappingURL=getLpTokenSourceRaw.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLpTokenSourceRaw.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/getLpTokenSourceRaw.ts"],"names":[],"mappings":";;;;;AAEA,0EAAkD;AAelD,SAAwB,mBAAmB,CACzC,SAAwB,EACxB,QAAgB,EAChB,UAAkB,EAClB,WAA+B,EAC/B,YAA0B,EAC1B,kBAAuC;IAEvC,OAAO,IAAA,0BAAgB,EACrB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,WAAW,kCAEN,YAAY,KACf,MAAM,EAAE,YAAY,CAAC,SAAS;aAC3B,GAAG,CAAC,SAAA,EAAE,EAAI,YAAY,CAAC,QAAQ,CAAA,CAAC;aAChC,QAAQ,EAAE,KAEf,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,iCACzB,CAAC,KACJ,aAAa,EAAE,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,SAAA,EAAE,EAAI,CAAC,CAAC,QAAQ,CAAA,CAAC,CAAC,QAAQ,EAAE,IAClE,CAAC,CACJ,CAAC;AACJ,CAAC;AAxBD,sCAwBC"}
1
+ {"version":3,"file":"getLpTokenSourceRaw.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/getLpTokenSourceRaw.ts"],"names":[],"mappings":";;;;;AAEA,0EAAkD;AAelD,SAAwB,mBAAmB,CACzC,SAAwB,EACxB,QAAgB,EAChB,UAAkB,EAClB,YAA0B,EAC1B,kBAAuC,EACvC,WAAoB,EACpB,aAAsB;IAEtB,OAAO,IAAA,0BAAgB,EACrB,SAAS,EACT,QAAQ,EACR,UAAU,kCAEL,YAAY,KACf,MAAM,EAAE,YAAY,CAAC,SAAS;aAC3B,GAAG,CAAC,SAAA,EAAE,EAAI,YAAY,CAAC,QAAQ,CAAA,CAAC;aAChC,QAAQ,EAAE,KAEf,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,iCACzB,CAAC,KACJ,aAAa,EAAE,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,SAAA,EAAE,EAAI,CAAC,CAAC,QAAQ,CAAA,CAAC,CAAC,QAAQ,EAAE,IAClE,CAAC,EACH,WAAW,EACX,aAAa,CACd,CAAC;AACJ,CAAC;AA1BD,sCA0BC"}
@@ -14,6 +14,7 @@ function tokenPriceToLiquidity(address, amount, networkId, tokenPrice) {
14
14
  rewardAssetsValue: 0,
15
15
  value: (0, portfolio_core_1.getUsdValueSum)(assets.map((a) => a.value)),
16
16
  yields: [],
17
+ name: tokenPrice.liquidityName,
17
18
  };
18
19
  return liquidity;
19
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tokenPriceToLiquidity.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/tokenPriceToLiquidity.ts"],"names":[],"mappings":";;;;;AAAA,+DAKoC;AACpC,wFAAgE;AAEhE,SAAwB,qBAAqB,CAC3C,OAAe,EACf,MAAc,EACd,SAAwB,EACxB,UAAsB;IAEtB,MAAM,MAAM,GAAG,IAAA,iCAAuB,EACpC,OAAO,EACP,MAAM,EACN,SAAS,EACT,UAAU,CACX,CAAC;IACF,MAAM,SAAS,GAAuB;QACpC,MAAM;QACN,WAAW,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACvD,YAAY,EAAE,EAAE;QAChB,iBAAiB,EAAE,CAAC;QACpB,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACjD,MAAM,EAAE,EAAE;KACX,CAAC;IACF,OAAO,SAAS,CAAC;AACnB,CAAC;AArBD,wCAqBC"}
1
+ {"version":3,"file":"tokenPriceToLiquidity.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/utils/misc/tokenPriceToLiquidity.ts"],"names":[],"mappings":";;;;;AAAA,+DAKoC;AACpC,wFAAgE;AAEhE,SAAwB,qBAAqB,CAC3C,OAAe,EACf,MAAc,EACd,SAAwB,EACxB,UAAsB;IAEtB,MAAM,MAAM,GAAG,IAAA,iCAAuB,EACpC,OAAO,EACP,MAAM,EACN,SAAS,EACT,UAAU,CACX,CAAC;IACF,MAAM,SAAS,GAAuB;QACpC,MAAM;QACN,WAAW,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACvD,YAAY,EAAE,EAAE;QAChB,iBAAiB,EAAE,CAAC;QACpB,KAAK,EAAE,IAAA,+BAAc,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QACjD,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU,CAAC,aAAa;KAC/B,CAAC;IACF,OAAO,SAAS,CAAC;AACnB,CAAC;AAtBD,wCAsBC"}