@ape.swap/bonds-sdk 4.0.2-test.1 → 4.0.2-test.2
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/main.js +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -76757,7 +76757,7 @@ const YourBondsModal = ({ onDismiss, bill }) => {
|
|
|
76757
76757
|
// Functions to calculate display values for modal
|
|
76758
76758
|
const totalPending = (userBill) => {
|
|
76759
76759
|
var _a, _b, _c, _d, _e, _f;
|
|
76760
|
-
return
|
|
76760
|
+
return getBalanceNumber(new BigNumber$1((_a = userBill === null || userBill === void 0 ? void 0 : userBill.payout) !== null && _a !== void 0 ? _a : 0), (_f = (_d = (_c = (_b = userBill === null || userBill === void 0 ? void 0 : userBill.bond) === null || _b === void 0 ? void 0 : _b.earnToken) === null || _c === void 0 ? void 0 : _c.decimals) === null || _d === void 0 ? void 0 : _d[(_e = userBill === null || userBill === void 0 ? void 0 : userBill.bond) === null || _e === void 0 ? void 0 : _e.chainId]) !== null && _f !== void 0 ? _f : 18);
|
|
76761
76761
|
};
|
|
76762
76762
|
const claimable = (userBill) => {
|
|
76763
76763
|
var _a, _b, _c, _d, _e, _f;
|