Submitted by WatchPug, also found by cmichel, harleythedog, hickuphh3, kirk-baird, and leastwood
ConvexStakingWrapper.sol#L175-L204
The problems in the current implementation:
Expected Results:
All the 15 CRV get distributed: 3 CRV to the treasury, and 12 CRV to claimContract.
Actual Results:
Only 5 CRV got distributed. The other 10 CRV got left in the contract which can be frozen in the contract, see below for the details:
Consider comparing the balanceOf reward token before and after getReward() to get the actual rewarded amount, and reward.remaining should be removed.
leekt (Concur) confirmed
Alex the Entreprenerd (judge) commented:
