Users can buy the ZENO
token through the Auction
using USDC, and they can redeem it after a specified maturity period. The cost of buying ZENO
tokens is calculated as cost = price * amount
, but during redemption, users only receive an amount of USDC equivalent to the number of ZENO
tokens they hold. This discrepancy leads to a potential loss of funds for users.
When a user attempts to buy ZENO
, they invoke the Auction.buy()
function. The function calculates the necessary USDC payment based on the current price and the amount of tokens being purchased.
Upon maturity, users can redeem their ZENO
tokens by calling the ZENO.redeem()
function. However, the current implementation only returns USDC equal to the number of ZENO
tokens held, leading to loss of funds.
Users holding ZENO
tokens will incur financial losses during the redemption process.
Manual Review
Implement price calculation to the ZENO.redeem()
function.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.