@ape.swap/bonds-sdk 1.0.302 → 1.0.304
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.
|
@@ -317,8 +317,10 @@ var YourBonds = function (_a) {
|
|
|
317
317
|
var totalPending = function (userBill) {
|
|
318
318
|
var _a, _b, _c, _d, _e, _f;
|
|
319
319
|
console.log(userBill);
|
|
320
|
+
console.log('CHAINID)');
|
|
320
321
|
console.log((_b = (_a = userBill.bond.earnToken) === null || _a === void 0 ? void 0 : _a.decimals) === null || _b === void 0 ? void 0 : _b[chainId]);
|
|
321
|
-
|
|
322
|
+
console.log(userBill.payout);
|
|
323
|
+
return getBalanceNumber(new BigNumber((_c = userBill === null || userBill === void 0 ? void 0 : userBill.payout) !== null && _c !== void 0 ? _c : 0), (_f = (_e = (_d = userBill.bond.earnToken) === null || _d === void 0 ? void 0 : _d.decimals) === null || _e === void 0 ? void 0 : _e[chainId]) !== null && _f !== void 0 ? _f : 18);
|
|
322
324
|
};
|
|
323
325
|
var claimable = function (userBill) {
|
|
324
326
|
var _a, _b, _c;
|