The mapping userRewardPerTokenPaid is declared in the /contracts/bribes/BribeUpgradeable.sol contract but is never used, this may lead to confusion as the mapping is public.
Recommended Mitigation Steps:
Remove the userRewardPerTokenPaid mapping of the /contracts/bribes/BribeUpgradeable.sol contract
Github username: @Rotcivegaf Twitter username: rotcivegaf Submission hash (on-chain): 0xd248fe4d42cf3aa3ee8365b4778d69a18d583882b3e22a6dc2741addb526b06c Severity: low
Description: Line:
Description:
The mapping
userRewardPerTokenPaid
is declared in the/contracts/bribes/BribeUpgradeable.sol
contract but is never used, this may lead to confusion as the mapping ispublic
.Recommended Mitigation Steps:
Remove the
userRewardPerTokenPaid
mapping of the/contracts/bribes/BribeUpgradeable.sol
contract