You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2025. It is now read-only.
Briber has no way to claim unclaimed bribes after bribing period ends as stated by the docs
Summary
Briber has no way to claim unclaimed bribes after bribing period ends
Vulnerability Detail
It's stated in the docs
the briber can re-claim unclaimed bribes after the bribing period ends , But the BribeRewarder does not have a function for this
sherlock-admin4
changed the title
Slow Indigo Butterfly - Briber has no way to claim unclaimed bribes after bribing period ends as stated by the docs
Honour - Briber has no way to claim unclaimed bribes after bribing period ends as stated by the docs
Jul 29, 2024
Honour
Medium
Briber has no way to claim unclaimed bribes after bribing period ends as stated by the docs
Summary
Briber has no way to claim unclaimed bribes after bribing period ends
Vulnerability Detail
It's stated in the docs

the briber can re-claim unclaimed bribes after the bribing period ends , But the BribeRewarder does not have a function for this
Impact
Broken functionality
Code Snippet
https://github.com/sherlock-audit/2024-06-magicsea/blob/main/magicsea-staking/src/rewarders/BribeRewarder.sol#L1
Tool used
Manual Review
Recommendation
function sweep() external onlyOwner { require(IVoter(_caller).getCurrentVotingPeriod() > _lastVotingPeriod + 1 ); _safeTransferTo(_token(), msg.sender , balanceOfThis(_token())); }
Duplicate of #172
The text was updated successfully, but these errors were encountered: