MasterChef.sol#L74// Total allocation poitns. Must be the sum of all allocation points in all pools.
Should be;
// Total allocation points. Must be the sum of all allocation points in all pools.
[L-01] Unlocked pragma
Unlocked pragma: Contracts should be deployed using the same compiler version/flags with which they have been tested. Locking the pragma (for e.g. by not using ^ in pragma solidity 0.5.10) ensures that contracts do not accidentally get deployed using an older compiler version with unfixed bugs.
Source SWC-103
[Q-01] Use
interface IERC20
instead ofinterface erc20
The usual convention is
IERC20
instead oferc20
File:BaseV1-core.sol#L4
Recommendation, use the convention and change
erc20
toIERC20
[Q-02] Missing error message on revert
There is no revert message on
BaseV1-core.sol#L468
Recommendation: add revert message;[Q-03] Misspell on comment;
MasterChef.sol#L74
// Total allocation poitns. Must be the sum of all allocation points in all pools.
Should be;// Total allocation points. Must be the sum of all allocation points in all pools.
[L-01] Unlocked pragma
Unlocked pragma: Contracts should be deployed using the same compiler version/flags with which they have been tested. Locking the pragma (for e.g. by not using ^ in pragma solidity 0.5.10) ensures that contracts do not accidentally get deployed using an older compiler version with unfixed bugs. Source SWC-103
Files;