@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/dist/sdk.cjs.development.js +2 -2
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +2 -2
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/abis/index.ts +1 -1
- package/src/entities/auriEnv.ts +2 -2
- package/src/interactors/MoneyMarket.ts +2 -2
- package/src/interactors/PlyTokenLock.ts +1 -1
- package/src/interactors/index.ts +1 -1
package/package.json
CHANGED
package/src/abis/index.ts
CHANGED
package/src/entities/auriEnv.ts
CHANGED
|
@@ -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, '
|
|
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, '
|
|
212
|
+
TokenAmount.fromAddressAndAmount(consts.networkAddresses.tokens.STADER, '95', false),
|
|
213
213
|
this._networkConnection.provider
|
|
214
214
|
),
|
|
215
215
|
underlyingPrice.multipliedBy(totalDeposited.formattedAmount()),
|
package/src/interactors/index.ts
CHANGED