Whitelist removal is irreversible
Once a beacon is removed from the farms
or profitToken
whitelist, the owner cannot add the same beacon back. The addFarmsWhitelist
and addProfitTokensWhitelist
functions can only create new UpgradeableBeacon
s and add them to the whitelist, resulting in a new address instead of the original beacon address. Consider allowing the direct addition of a beacon address to the whitelist in addFarmsWhitelist
and addProfitTokensWhitelist
.
DexFi provided the following response to this issue:
After removing
ProfitToken
orFarm
, it can be added as a new profit token with the sameinitializeData
.