Description
- The deposit function lets anyone mint rewardTokens if
- the from address is a contract and has an owner and where msg.sender == owner
- It is intended that the from address sends the underlying token to this contract
- But it does not check whether delegatedTransferERC20 is implemented correctly
- it can be a noop
- The attacker can mint rewardTokens to himself