@aurigami/sdk 1.7.7-dummy → 1.7.8-dummy

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.7.7-dummy",
2
+ "version": "1.7.8-dummy",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -251,7 +251,10 @@ export class MoneyMarketRead extends BlockchainEntityRead {
251
251
  var depositMETAApy;
252
252
  if (helpers.isSameAddress(this.underlying.address, consts.networkAddresses.tokens.stNEAR)) {
253
253
  depositMETAApy = helpers.calcLMRewardApr(
254
- new BigNumber(50000),
254
+ await fetchValuation(
255
+ TokenAmount.fromAddressAndAmount(consts.networkAddresses.tokens.META, '1250000', false),
256
+ this._networkConnection.provider
257
+ ),
255
258
  underlyingPrice!.multipliedBy(totalDeposited!.formattedAmount()),
256
259
  12
257
260
  );