The contract’s redemption mechanism relies solely on the MATURITY_DATE
to determine whether tokens can be redeemed. However, there is no enforcement ensuring that the MATURITY_DATE
is aligned with or exceeds the auction's endTime
. This discrepancy can allow users to redeem tokens prematurely if the MATURITY_DATE
is set lower than the endTime
.
Maturity Date Check:
The function isRedeemable()
only verifies that block.timestamp >= MATURITY_DATE
. It does not compare or ensure that the MATURITY_DATE
is equal to or later than the auction’s endTime
.
Early Redemption Risk:
If the MATURITY_DATE
is set to a timestamp before the auction’s endTime
, users will be able to redeem their tokens before the auction has actually concluded. This creates an inconsistency in the intended lockup period and could disrupt the economic balance or fairness designed for the auction process.
Potential Misconfiguration:
Without proper validation, the MATURITY_DATE
might be misconfigured during contract deployment or upgrades, leading to unintended early redemptions.
Since this will be only possible if admin wrong input. severity is Low
Early redeeming of tokens for Users
Manual Review
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.