Closed thecryptofruit closed 3 years ago
Minor volatile code issue: BosonRouter.sol is not checking for return value of transfer() and transferFrom() of the ERC-20. Reason: the contract has reached max size and needs refactoring.
BosonRouter.sol
transfer()
transferFrom()
Recommendation: user OpenZeppelin's SafeERC20.sol.
SafeERC20.sol
We will be looking at this internally, before making the public release of v0.2
Implemented in https://github.com/bosonprotocol/contracts/pull/149
Minor volatile code issue:
BosonRouter.sol
is not checking for return value oftransfer()
andtransferFrom()
of the ERC-20. Reason: the contract has reached max size and needs refactoring.Recommendation: user OpenZeppelin's
SafeERC20.sol
.