BuyBack´s vision is to simplify the crypto world making it easier for new investors to maximize potential profits by implementing several investment strategies into BuyBack’s token.
BUYBACK._excluded (#634) is never initialized. It is used in:
- BUYBACK._getReflectionRate() (#841-857)
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
BUYBACK.transferAnyERC20Tokens(address,address,uint256) (#938-940) ignores return value by Token(_tokenAddress).transfer(_to,_amount) (#939)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BUYBACK.collectFee(address,uint256,uint256) (#786-839) performs a multiplication on the result of a division:
-buybackv2Fee = amount.mul(_buybackv2Fee).div(10000) (#791)
-_reflectionBalance[buybackv2Address] = _reflectionBalance[buybackv2Address].add(buybackv2Fee.mul(rate)) (#832)
Consider ordering multiplication before division.
Additional information: link
BUYBACK._approve(address,address,uint256).owner (#739) shadows:
- Ownable.owner() (#574-576) (function)
Rename the local variables that shadow another component.
Additional information: link
BUYBACK.setSMarketingFee(uint256) (#904-906) should emit an event for:
- _smarketingFee = fee (#905)
Emit an event for critical parameter changes.
Additional information: link
BUYBACK.TransferETH(address,uint256).recipient (#933) lacks a zero-check on :
- recipient.transfer(amount) (#934)
Check that the address is not zero.
Additional information: link
BUYBACK.getChainId() (#865-871) uses assembly
- INLINE ASM (#867-869)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#353-360) is never used and should be removed
Remove unused functions.
Additional information: link
BUYBACK._reflectionTotal (#630) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tokenTotal))
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
solc-0.8.3 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#511-539):
- (success,returndata) = target.call{value: weiValue}(data) (#520-522)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BUYBACK._smarketingFeeTotal (#648) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#103)" inContext (#97-106)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable BUYBACK.collectFee(address,uint256,uint256).buybackv1Fee (#790) is too similar to BUYBACK.collectFee(address,uint256,uint256).buybackv2Fee (#791)
Prevent variables from having similar names.
Additional information: link
BUYBACK.slitherConstructorVariables() (#616-945) uses literals with too many digits:
- _maxTxAmount = 15000000 * 10 ** 18 (#642)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BUYBACK._symbol (#621) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferAnyERC20Tokens(address,address,uint256) should be declared external:
- BUYBACK.transferAnyERC20Tokens(address,address,uint256) (#938-940)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Token has a considerable age, but we're still unable to find its website
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account