@aurigami/sdk 0.5.3 → 0.5.4
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.
|
@@ -3259,7 +3259,11 @@ var SdkRead = /*#__PURE__*/function (_BlockchainEntityRead) {
|
|
|
3259
3259
|
}, new BigNumber(0));
|
|
3260
3260
|
promises = [];
|
|
3261
3261
|
promises.push(this._comptroller.getAccountLiquidity(userAddress));
|
|
3262
|
-
promises.push(this._auriLens.callStatic.getRewardBalancesMetadata(this._comptroller.address, this._auriFairLaunch.address, userAddress, [AurPlyPid]))
|
|
3262
|
+
promises.push(this._auriLens.callStatic.getRewardBalancesMetadata(this._comptroller.address, this._auriFairLaunch.address, userAddress, [AurPlyPid])["catch"](function (err) {
|
|
3263
|
+
return {
|
|
3264
|
+
plyAccrued: ethers.BigNumber.from(0)
|
|
3265
|
+
};
|
|
3266
|
+
}));
|
|
3263
3267
|
promises.push(this._tokenLock.lockedAmounts(userAddress));
|
|
3264
3268
|
_context2.next = 23;
|
|
3265
3269
|
return Promise.all(promises);
|