@aurigami/sdk 1.0.2 → 1.0.3
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
package/src/SDK.ts
CHANGED
|
@@ -100,11 +100,7 @@ export class SdkRead extends BlockchainEntityRead {
|
|
|
100
100
|
promises = new Array(3);
|
|
101
101
|
var accountLiquidity: [BN, BN], rewardBalancesMetadata, lockedAmount: BN;
|
|
102
102
|
promises[0] = this._comptroller.getAccountLiquidity(userAddress);
|
|
103
|
-
promises[1] = this._auriLens.callStatic.claimAndGetRewardBalancesMetadata(this._comptroller.address, this._auriFairLaunch.address, [
|
|
104
|
-
return {
|
|
105
|
-
plyAccrued: BN.from(0)
|
|
106
|
-
}
|
|
107
|
-
});
|
|
103
|
+
promises[1] = this._auriLens.callStatic.claimAndGetRewardBalancesMetadata(this._comptroller.address, this._auriFairLaunch.address, [], {from: userAddress});
|
|
108
104
|
promises[2] = this._tokenLock.lockedAmounts(userAddress);
|
|
109
105
|
var values = await Promise.all(promises);
|
|
110
106
|
|