Closed code423n4 closed 2 years ago
L07 - Adding new bonus tokens could lead to Dos Admin could only add new bonus tokens for withdrawers using function setBonusToken().
Withdraw transaction calling to distributeBonusTokenRewards() which could run out of gas if list of bonus tokens will be too big. This would lead to the inability of users to withdraw their assets.
Consider adding a function that allows the admin to delete addresses from bonusTokens.
dup of #249
Judge has assessed an item in Issue #413 as Medium risk. The relevant finding follows: