In the FjordAuction contract, after the auction ends, users who participated in the bidding can claim their auction tokens using the claimTokens() function. However, there is no mechanism to deal with unclaimed tokens if some users fail to claim them. As a result, these unclaimed tokens will remain locked in the contract indefinitely.
There is no mechanism to handle unclaimed tokens after the auction has ended. If some users do not claim their tokens, those tokens will remain locked in the contract indefinitely.
Locked Tokens: If users do not claim their tokens, these tokens are essentially locked in the contract and cannot be used or redistributed, reducing the circulating supply of auctionToken
.
Economic Impact: The reduction in the circulating supply of auctionToken
may have unintended consequences on the tokenomics of the project, potentially affecting liquidity, token value, and overall market behavior.
Locked tokens are effectively lost, reducing the supply of auctionToken
and possibly affecting the tokenomics of the project.
Manual Review
Implement a deadline for token claims after which unclaimed tokens can be retrieved by the auction owner or redistributed.
The implementation could be as follows:
reclaimUnclaimedTokens() Function:
After the auction has ended and the claim period has passed, the auction owner can call this function to reclaim any unclaimed tokens.
The function checks that the auction has ended and that the current time is beyond the claim period.
It then calculates the remaining tokens in the contract and transfers them to the owner, ensuring that no tokens are left locked in the contract.
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.