@aurigami/sdk 1.18.0 → 1.18.1

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.18.0",
2
+ "version": "1.18.1",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
package/src/abis/index.ts CHANGED
@@ -35,4 +35,4 @@ export {
35
35
  AuriInternalLensABI,
36
36
  PlyGameABI,
37
37
  PlyTokenLockABI,
38
- };
38
+ };
@@ -10,7 +10,7 @@ import {
10
10
  PlyGame,
11
11
  PULP,
12
12
  ReferralDirectoryV2,
13
- PlyTokenLock
13
+ PlyTokenLock,
14
14
  } from '@aurigami/contracts/typechain';
15
15
  import { Contract } from 'ethers';
16
16
  import { assert } from '../helpers/helpers';
@@ -175,4 +175,4 @@ export class AuriEnv extends BlockchainEntityRead {
175
175
  }
176
176
  return this._plyTokenLock;
177
177
  }
178
- }
178
+ }
@@ -182,7 +182,7 @@ export class MoneyMarketRead extends BlockchainEntityRead {
182
182
  if (helpers.isSameAddress(this.underlying.address, consts.networkAddresses.tokens.stNEAR)) {
183
183
  depositMETAApy = helpers.calcLMRewardApr(
184
184
  await fetchValuation(
185
- TokenAmount.fromAddressAndAmount(consts.networkAddresses.tokens.META, '1000000', false),
185
+ TokenAmount.fromAddressAndAmount(consts.networkAddresses.tokens.META, '750000', false),
186
186
  this._networkConnection.provider
187
187
  ),
188
188
  underlyingPrice.multipliedBy(totalDeposited.formattedAmount()),
@@ -209,7 +209,7 @@ export class MoneyMarketRead extends BlockchainEntityRead {
209
209
  if (helpers.isSameAddress(this.underlying.address, consts.networkAddresses.tokens.NEARX)) {
210
210
  depositStaderApy = helpers.calcLMRewardApr(
211
211
  await fetchValuation(
212
- TokenAmount.fromAddressAndAmount(consts.networkAddresses.tokens.STADER, '83.35', false),
212
+ TokenAmount.fromAddressAndAmount(consts.networkAddresses.tokens.STADER, '95', false),
213
213
  this._networkConnection.provider
214
214
  ),
215
215
  underlyingPrice.multipliedBy(totalDeposited.formattedAmount()),
@@ -44,4 +44,4 @@ export class PlyTokenLock extends BlockchainEntity {
44
44
  public readWrite(networkConnection: NetworkConnection): PlyTokenLockReadWrite {
45
45
  return new PlyTokenLockReadWrite(networkConnection);
46
46
  }
47
- }
47
+ }
@@ -6,4 +6,4 @@ export * from './Pulp';
6
6
  export * from './Referral';
7
7
  export * from './Staking';
8
8
  export * from './misc';
9
- export * from './PlyTokenLock';
9
+ export * from './PlyTokenLock';