@ape.swap/bonds-sdk 5.0.2 → 5.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/dist/main.js +2 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -47132,6 +47132,8 @@ const isBondSoldOut = (bill, showLowValueBonds) => {
|
|
|
47132
47132
|
return false;
|
|
47133
47133
|
const thresholdToHide = new BigNumber$1(100).div(payoutTokenPrice !== null && payoutTokenPrice !== void 0 ? payoutTokenPrice : 0);
|
|
47134
47134
|
if (((_c = (_b = findHighestTrueBondPrice('0', bill === null || bill === void 0 ? void 0 : bill.trueBondPrices)) === null || _b === void 0 ? void 0 : _b.bonusWithFee) !== null && _c !== void 0 ? _c : 0) > 50) {
|
|
47135
|
+
if (bill.earnToken.symbol === 'sGOO')
|
|
47136
|
+
return false;
|
|
47135
47137
|
//if bonus is higher than 50% for regular bonds, hide them
|
|
47136
47138
|
return true;
|
|
47137
47139
|
}
|