Closed zhongfu closed 1 year ago
All contracts use OpenZeppelin external libraries heavily.
However, the Funnel contract imports the solmate ERC20 and SafeTransferLib libraries. This is inconsistent with overall external library usage.
ERC20
SafeTransferLib
./src/Funnel.sol
Consider using only one external dependency - the IERC20 and SafeERC20 from OpenZeppelin.
IERC20
SafeERC20
New
All contracts use OpenZeppelin external libraries heavily.
However, the Funnel contract imports the solmate
ERC20
andSafeTransferLib
libraries. This is inconsistent with overall external library usage.Path
./src/Funnel.sol
Recommendation
Consider using only one external dependency - the
IERC20
andSafeERC20
from OpenZeppelin.Status
New