Platform: Code4rena
Start Date: 23/05/2022
Pot Size: $50,000 USDC
Total HM: 44
Participants: 99
Period: 5 days
Judge: hickuphh3
Total Solo HM: 11
Id: 129
League: ETH
Rank: 45/99
Findings: 1
Award: $142.29
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: xiaoming90
Also found by: 0xNoah, PP1004, hubble, pauliax, reassor, sashik_eth, shenwilly, sseefried
Due to rewardsVestingWallet not being set, the condition in the Proof of Concept below will always evaluate to false, thus resulting in the rewards funds never being released - leading to asset loss for beneficiary.
if (rewardsVestingWallet != IBathBuddy(0)) { // always false rewardsVestingWallet.release( (token), receiver, sharesWithdrawn, initialTotalSupply, feeBPS ); }
None
Initialize rewardsVestingWallet in constructor or a separate setter function.
#0 - bghughes
2022-06-03T23:34:13Z
Duplicate of #168