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
Aave yield manager claims rewards with the payment token. According to aave's document, aToken should be provided.
The aave rewards would be unclaimable.
Handle
jonah1005
Vulnerability details
Impact
Aave yield manager claims rewards with the payment token. According to aave's document, aToken should be provided.
The aave rewards would be unclaimable.
Proof of Concept
YieldManager's logic:
https://github.com/code-423n4/2021-08-floatcapital/blob/main/contracts/contracts/YieldManagerAave.sol#L161-L170
Reference:
https://docs.aave.com/developers/guides/liquidity-mining#claimrewards
Tools Used
None
Recommended Mitigation Steps
Change to
The text was updated successfully, but these errors were encountered: