sherlock-audit / 2024-06-magicsea-judging

2 stars 0 forks source link

Lone Opaque Mustang - `IBribeRewarder` lacks `fundAndBribe()` method #707

Closed sherlock-admin3 closed 2 months ago

sherlock-admin3 commented 2 months ago

Lone Opaque Mustang

Low/Info

IBribeRewarder lacks fundAndBribe() method

Summary

fundAndBribe() isn't specified in the interface.

Vulnerability Detail

fundAndBribe() isn't specified in the interface.

Impact

Inconvenience.

Code Snippet

https://github.com/sherlock-audit/2024-06-magicsea/blob/7fd1a65b76d50f1bf2555c699ef06cde2b646674/magicsea-staking/src/interfaces/IBribeRewarder.sol#L6-L40

Tool used

Manual Review

Recommendation

Add the fundAndBribe() method into the interface.