Lucene search
+L

2 matches found

Code423n4
Code423n4
added 2022/03/16 12:00 a.m.9 views

LiquidityFarming.withdraw permanently freezes any unpaidRewards left

Lines of code Vulnerability details Impact Remainder nft.unpaidRewards are lost and cannot be retrieved after LiquidityFarming.withdraw. I.e. it is not possible to extractRewards for unpaidRewards later if withdraw being called when balance wasn't sufficient to fulfil the full withdraw of the...

6.6AI score
SaveExploits0
Code423n4
Code423n4
added 2022/03/16 12:00 a.m.12 views

Reward and base token decimals difference isn't accounted for in LiquidityFarming

Lines of code Vulnerability details Impact Reward and base token decimals can differ, while this difference isn't accounted for in the reward amount calculations, which will lead to either missing rewards or sending the whole rewards balance to the first eligible user. For example: If reward is...

6.8AI score
SaveExploits0
Rows per page
Query Builder