Open code423n4 opened 3 years ago
hack3r-0m
https://github.com/code-423n4/2021-10-badgerdao/blob/main/contracts/WrappedIbbtcEth.sol#L14
ERC20Upgradeable is a superset of ERC20 and in this case, only ERC20 functions are required to be called on ibbtc, so IERC20 can be used.
ERC20Upgradeable
ERC20
IERC20
Keeping issue open for contest but marking as resolved to note its been fixed
Handle
hack3r-0m
Vulnerability details
https://github.com/code-423n4/2021-10-badgerdao/blob/main/contracts/WrappedIbbtcEth.sol#L14
ERC20Upgradeable
is a superset ofERC20
and in this case, only ERC20 functions are required to be called on ibbtc, soIERC20
can be used.