Usage of deprecated library functions, for instance safeApprove from OpenZeppelin's SafeERC20 library is discouraged, it is recommended to use safeIncreaseAllowance and safeDecreaseAllowance instead.
contracts/utils/Preparable.sol:110: require(block.timestamp >= deadline, Error.DEADLINE_NOT_REACHED);
contracts/tokenomics/Minter.sol:190: if (block.timestamp >= lastInflationDecay + _INFLATION_DECAY_PERIOD) {
contracts/BkdLocker.sol:141: if (stashedWithdraws[i].releaseTime <= block.timestamp) {
Recommendation
Avoid relying on block.timestamp.
Typos
Instances include:
invlude, successfull
contracts/BkdLocker.sol: * @dev This does not invlude the gov. tokens queued for withdrawal.
contracts/tokenomics/FeeBurner.sol: event Burned(address targetLpToken, uint256 amountBurned); // Emmited after a successfull burn to target lp token
Don't use deprecated library functions
Information : L005 - Do not use Deprecated Library Functions SafeERC20.sol - safeApprove
Instances include :
Recommendation
Usage of deprecated library functions, for instance
safeApprove
from OpenZeppelin'sSafeERC20
library is discouraged, it is recommended to usesafeIncreaseAllowance
andsafeDecreaseAllowance
instead.Too many digits
Information : Too many digits
Instances include :
Recommendation
Use the scientific notation
Block timestamp
Information : Block timestamp
Instances include :
Recommendation
Avoid relying on
block.timestamp
.Typos
Instances include:
invlude
,successfull