Users may receive error messages fee = 0 whenever making a redemption from PrePOMarket contract if the redemption amout is not enough. The error message is irrelevant to users. Itβs related to the protocol processing the redemption. If a user receives multiple such messages, it may worry the user who has no idea whatβs happening. Users may suspect if their assets are still under their control.
Assume: the user has sufficient balance of assets for redemption. finalLongPayout > MAX_PAYOUT; FEE_DENOMINATOR = 1000000; redemptionFee = 100. The user call redeem(_amount, _amount):
N/A
Improve the error message that should include actual reasons of transaction fail, and the required minmum amount of redemption.
Or, implement some other fee strategies.
The text was updated successfully, but these errors were encountered:
All reactions