@sonarwatch/portfolio-plugins 0.11.232 → 0.11.233

Sign up to get free protection for your applications and to get access to all the features.
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.233](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.232...plugins-0.11.233) (2024-05-31)
6
+
7
+
8
+
5
9
  ## [0.11.232](https://github.com/sonarwatch/portfolio/compare/plugins-0.11.231...plugins-0.11.232) (2024-05-31)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.11.232",
3
+ "version": "0.11.233",
4
4
  "type": "commonjs",
5
5
  "generators": "./generators.json",
6
6
  "dependencies": {
@@ -92,9 +92,10 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
92
92
  const daoName = constants_1.daoNameById.get(dao.pubkey.toString());
93
93
  const elementName = `${daoName} Proposal : ${(0, helpers_1.shortenAddress)(proposal.pubkey.toString())} (${structs_1.ProposalState[proposal.state]})`;
94
94
  const usdReserveAccount = tokenAccountById.get(quoteVault.underlyingTokenAccount.toString());
95
- const [usdTokenPrice, baseUnderlyingTokenPrice, baseUnderlyingTokenDetail] = [
95
+ const [usdTokenPrice, baseUnderlyingTokenPrice, usdUnderlyingTokenDetail, baseUnderlyingTokenDetail,] = [
96
96
  underlyingTokenPriceById.get(quoteVault.underlyingTokenMint.toString()),
97
97
  underlyingTokenPriceById.get(baseVault.underlyingTokenMint.toString()),
98
+ tokensDetailsById.get(quoteVault.underlyingTokenMint.toString()),
98
99
  tokensDetailsById.get(baseVault.underlyingTokenMint.toString()),
99
100
  ];
100
101
  // Price the pUSD and fUSD of this proposal
@@ -118,6 +119,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
118
119
  const fUSDPrice = underlyingValue
119
120
  .dividedBy(fUSDMintAccount.supply.dividedBy(Math.pow(10, fUSDMintAccount.decimals)))
120
121
  .dividedBy(2);
122
+ const symbol = usdUnderlyingTokenDetail === null || usdUnderlyingTokenDetail === void 0 ? void 0 : usdUnderlyingTokenDetail.symbol;
121
123
  const fUSDSource = {
122
124
  address: fUSDMint,
123
125
  decimals: fUSDMintAccount.decimals,
@@ -136,7 +138,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
136
138
  networkId: portfolio_core_1.NetworkId.solana,
137
139
  },
138
140
  ],
139
- liquidityName: `fUSD`,
141
+ liquidityName: symbol ? `f${symbol}` : 'fUSD',
140
142
  elementName,
141
143
  };
142
144
  const pUSDSource = {
@@ -157,7 +159,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
157
159
  networkId: portfolio_core_1.NetworkId.solana,
158
160
  },
159
161
  ],
160
- liquidityName: `pUSD`,
162
+ liquidityName: symbol ? `p${symbol}` : 'pUSD',
161
163
  elementName,
162
164
  };
163
165
  // If the Proposal has passed, fUSD will not be redeemable (price = 0)
@@ -186,7 +188,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
186
188
  amm.quoteMint.toString(),
187
189
  ];
188
190
  const [quoteSource, lpMintAccount] = [
189
- usdSourceById.get(amm.quoteMint.toString()),
191
+ usdSourceById.get(quoteMint),
190
192
  mintAccountById.get(lpMint),
191
193
  ];
192
194
  if (!quoteSource ||
@@ -240,7 +242,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
240
242
  platformId: constants_1.platformId,
241
243
  poolUnderlyings: [
242
244
  {
243
- address: baseMint,
245
+ address: baseUnderlyingTokenPrice.address,
244
246
  decimals: amm.baseMintDecimals,
245
247
  reserveAmount: amm.baseAmount
246
248
  .dividedBy(Math.pow(10, amm.baseMintDecimals))
@@ -249,7 +251,7 @@ const executor = (cache) => __awaiter(void 0, void 0, void 0, function* () {
249
251
  tokenPrice: baseTokenPrice,
250
252
  },
251
253
  {
252
- address: quoteMint,
254
+ address: usdTokenPrice ? usdTokenPrice.address : quoteMint,
253
255
  decimals: amm.quoteMintDecimals,
254
256
  reserveAmount: amm.quoteAmount
255
257
  .dividedBy(Math.pow(10, amm.quoteMintDecimals))
@@ -1 +1 @@
1
- {"version":3,"file":"daosJob.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/futarchy/daosJob.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,+DAKoC;AAGpC,iDAAsD;AACtD,+CAQ4B;AAC5B,wDAA4D;AAC5D,2CAA8D;AAC9D,uCASmB;AACnB,gDAAoD;AACpD,wEAAqE;AACrE,mDAA8D;AAE9D,MAAM,QAAQ,GAAgB,CAAO,KAAY,EAAE,EAAE;;IACnD,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;IAEjC,MAAM,IAAI,GAAG,MAAM,IAAA,iCAAwB,EACzC,MAAM,EACN,mBAAS,EACT,kBAAM,EACN,IAAA,wBAAc,EAAC,GAAG,CAAC,CACpB,CAAC;IAEF,MAAM,OAAO,GAAoC,IAAI,GAAG,EAAE,CAAC;IAC3D,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;IAE/D,MAAM,SAAS,GAAG,MAAM,IAAA,iCAAwB,EAC9C,MAAM,EACN,wBAAc,EACd,kBAAM,EACN,IAAA,wBAAc,EAAC,IAAI,CAAC,CACrB,CAAC;IAEF,MAAM,IAAI,GAAgB,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAgB,EAAE,CAAC;IAC/B,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACtC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC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