sherlock-audit / 2024-08-flayer-judging

0 stars 0 forks source link

Round Silver Cuckoo - Unlock price is unfairly charged during pause #790

Open sherlock-admin4 opened 4 days ago

sherlock-admin4 commented 4 days ago

Round Silver Cuckoo

Medium

Unlock price is unfairly charged during pause

Summary

The unlock price of a protected is listing is time depended and can be affected by pause time

Vulnerability Detail

check summary

Impact

unfair unlock price for users

Code Snippet

https://github.com/sherlock-audit/2024-08-flayer/blob/0ec252cf9ef0f3470191dcf8318f6835f5ef688c/flayer/src/contracts/ProtectedListings.sol#L287

Tool used

Manual Review

Recommendation

Take pause time into consideration