Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in CorgiBOY._transfer(address,address,uint256) (#999-1040):
External calls:
- swapAndLiquify(contractTokenBalance) (#1027)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1088-1095)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1074-1080)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1027)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1088-1095)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1039)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#946)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1123)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1144)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1157)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1124)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#850)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1146)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1158)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#852)
- _tokenTransfer(from,to,amount,takeFee) (#1039)
- _rTotal = _rTotal.sub(rFee).sub(rBurn) (#897)
- _tokenTransfer(from,to,amount,takeFee) (#1039)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#948)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1156)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#849)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1145)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#851)
- _tokenTransfer(from,to,amount,takeFee) (#1039)
- _tTotal = _tTotal.sub(tBurn) (#900)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable._lockTime (#408) is never initialized. It is used in:
- Ownable.getUnlockTime() (#447-449)
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
CorgiBOY._rTotal (#684) is written in both
_rTotal = 0 (#1132)
_rTotal = (MAX - (MAX % _tTotal)) (#1136)
Fix or remove the writes.
Additional information: link
CorgiBOY.addLiquidity(uint256,uint256) (#1083-1096) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1088-1095)
Ensure that all the return values of the function calls are used.
Additional information: link
CorgiBOY._approve(address,address,uint256).owner (#991) shadows:
- Ownable.owner() (#424-426) (function)
Rename the local variables that shadow another component.
Additional information: link
CorgiBOY._setBurnFee(uint256) (#1168-1171) should emit an event for:
- _burnFee = burnFee (#1170)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in CorgiBOY.transferFrom(address,address,uint256) (#778-782):
External calls:
- _transfer(sender,recipient,amount) (#779)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1088-1095)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1074-1080)
External calls sending eth:
- _transfer(sender,recipient,amount) (#779)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1088-1095)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#780)
- _allowances[owner][spender] = amount (#995)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CorgiBOY.transferFrom(address,address,uint256) (#778-782):
External calls:
- _transfer(sender,recipient,amount) (#779)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1088-1095)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1074-1080)
External calls sending eth:
- _transfer(sender,recipient,amount) (#779)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1088-1095)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#996)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#780)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#369-390) uses assembly
- INLINE ASM (#382-385)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#237-240) is never used and should be removed
Remove unused functions.
Additional information: link
CorgiBOY._previousLiquidityFee (#698) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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.7 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) (#369-390):
- (success,returndata) = target.call{value: weiValue}(data) (#373)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Constant CorgiBOY._addressUniswapV2Router02 (#723) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#249)" inContext (#243-252)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable CorgiBOY._transferStandard(address,address,uint256).rTransferAmount (#1121) is too similar to CorgiBOY._transferBothExcluded(address,address,uint256).tTransferAmount (#847)
Prevent variables from having similar names.
Additional information: link
Ownable._lockTime (#408) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
_transferNoExcluded(uint256) should be declared external:
- CorgiBOY._transferNoExcluded(uint256) (#1130-1138)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
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
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts