There are many wonders and surprises in the world. I hope this dog can bring people full of joy and happiness, so that there will be no more wars in the world, but the world will be full of love.
Amazing.addLiquidity(uint256,uint256) (#746-759) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Amazing._transfer(address,address,uint256) (#655-693):
External calls:
- swapAndLiquify(contractTokenBalance) (#677)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#677)
- recipient.transfer(amount) (#619)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#680)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#688)
- finalAmount = takeFee(sender,recipient,amount) (#682-683)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#773)
Apply the check-effects-interactions pattern.
Additional information: link
Contract creator or owner is blacklisted for past scams
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Amazing.addLiquidity(uint256,uint256) (#746-759) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
Ensure that all the return values of the function calls are used.
Additional information: link
Amazing.allowance(address,address).owner (#510) shadows:
- Ownable.owner() (#160-162) (function)
Amazing._approve(address,address,uint256).owner (#533) shadows:
- Ownable.owner() (#160-162) (function)
Rename the local variables that shadow another component.
Additional information: link
Amazing.setBuyTaxes(uint256,uint256,uint256) (#553-559) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#558)
Amazing.setSelTaxes(uint256,uint256,uint256) (#561-567) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#566)
Amazing.setDistributionSettings(uint256,uint256,uint256) (#569-575) should emit an event for:
- _liquidityShare = newLiquidityShare (#570)
- _teamShare = newTeamShare (#572)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#574)
Amazing.setMaxTxAmount(uint256) (#577-579) should emit an event for:
- _maxTxAmount = maxTxAmount (#578)
Amazing.setWalletLimit(uint256) (#589-591) should emit an event for:
- _walletMax = newLimit (#590)
Amazing.setNumTokensBeforeSwap(uint256) (#593-595) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#594)
Emit an event for critical parameter changes.
Additional information: link
Amazing.setMarketingWalletAddress(address).newAddress (#597) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#598)
Amazing.setTeamWalletAddress(address).newAddress (#601) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#602)
Check that the address is not zero.
Additional information: link
Address.isContract(address) (#91-100) uses assembly
- INLINE ASM (#98)
Address._functionCallWithValue(address,bytes,uint256,string) (#127-144) uses assembly
- INLINE ASM (#136-139)
Do not use evm assembly.
Additional information: link
Amazing._totalSupply (#423) is set pre-construction with a non-constant function or state variable:
- 1000000000000 * 10 ** _decimals
Amazing._maxTxAmount (#424) is set pre-construction with a non-constant function or state variable:
- 1000000000000 * 10 ** _decimals
Amazing._walletMax (#425) is set pre-construction with a non-constant function or state variable:
- 1000000000000 * 10 ** _decimals
Amazing.minimumTokensBeforeSwap (#426) is set pre-construction with a non-constant function or state variable:
- 100 * 10 ** _decimals
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
Ownable.asdasd (#149) is never used in Amazing (#386-781)
Ownable._lockTime (#150) is never used in Amazing (#386-781)
Remove unused state variables.
Additional information: link
Reentrancy in Amazing.changeRouterVersion(address) (#622-639):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#630-631)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#638)
- isWalletLimitExempt[address(uniswapPair)] = true (#637)
- uniswapPair = newPairAddress (#634)
- uniswapV2Router = _uniswapV2Router (#635)
Reentrancy in Amazing.constructor() (#459-488):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#464-465)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#468)
- _balances[_msgSender()] = _totalSupply (#486)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#475)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#473)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#474)
- isExcludedFromFee[owner()] = true (#470)
- isExcludedFromFee[address(this)] = true (#471)
- isMarketPair[address(uniswapPair)] = true (#484)
- isTxLimitExempt[owner()] = true (#481)
- isTxLimitExempt[address(this)] = true (#482)
- isWalletLimitExempt[owner()] = true (#477)
- isWalletLimitExempt[address(uniswapPair)] = true (#478)
- isWalletLimitExempt[address(this)] = true (#479)
- uniswapV2Router = _uniswapV2Router (#467)
Reentrancy in Amazing.swapAndLiquify(uint256) (#702-724):
External calls:
- swapTokensForEth(tokensForSwap) (#707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#723)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#717)
- recipient.transfer(amount) (#619)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#720)
- recipient.transfer(amount) (#619)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#723)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#723)
- _allowances[owner][spender] = amount (#537)
Reentrancy in Amazing.transferFrom(address,address,uint256) (#649-653):
External calls:
- _transfer(sender,recipient,amount) (#650)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- _transfer(sender,recipient,amount) (#650)
- recipient.transfer(amount) (#619)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#651)
- _allowances[owner][spender] = amount (#537)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Amazing._transfer(address,address,uint256) (#655-693):
External calls:
- swapAndLiquify(contractTokenBalance) (#677)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#677)
- recipient.transfer(amount) (#619)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#774)
- finalAmount = takeFee(sender,recipient,amount) (#682-683)
- Transfer(sender,recipient,finalAmount) (#690)
Reentrancy in Amazing.constructor() (#459-488):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#464-465)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#487)
Reentrancy in Amazing.swapAndLiquify(uint256) (#702-724):
External calls:
- swapTokensForEth(tokensForSwap) (#707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#723)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#717)
- recipient.transfer(amount) (#619)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#720)
- recipient.transfer(amount) (#619)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#723)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#538)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#723)
Reentrancy in Amazing.swapTokensForEth(uint256) (#726-744):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#743)
Reentrancy in Amazing.transferFrom(address,address,uint256) (#649-653):
External calls:
- _transfer(sender,recipient,amount) (#650)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#735-741)
External calls sending eth:
- _transfer(sender,recipient,amount) (#650)
- recipient.transfer(amount) (#619)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#538)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#651)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#127-144) is never used and should be removed
Address.functionCall(address,bytes) (#110-112) is never used and should be removed
Address.functionCall(address,bytes,string) (#114-116) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#118-120) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#122-125) is never used and should be removed
Address.isContract(address) (#91-100) is never used and should be removed
Address.sendValue(address,uint256) (#102-108) is never used and should be removed
Context._msgData() (#18-21) is never used and should be removed
SafeMath.mod(uint256,uint256) (#79-81) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#83-86) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#102-108):
- (success) = recipient.call{value: amount}() (#106)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#127-144):
- (success,returndata) = target.call{value: weiValue}(data) (#130)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#217) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#218) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#234) is not in mixedCase
Function IUniswapV2Router01.WETH() (#253) is not in mixedCase
Parameter Amazing.setSwapAndLiquifyEnabled(bool)._enabled (#605) is not in mixedCase
Variable Amazing._balances (#399) is not in mixedCase
Variable Amazing._buyLiquidityFee (#407) is not in mixedCase
Variable Amazing._buyMarketingFee (#408) is not in mixedCase
Variable Amazing._buyTeamFee (#409) is not in mixedCase
Variable Amazing._sellLiquidityFee (#411) is not in mixedCase
Variable Amazing._sellMarketingFee (#412) is not in mixedCase
Variable Amazing._sellTeamFee (#413) is not in mixedCase
Variable Amazing._liquidityShare (#415) is not in mixedCase
Variable Amazing._marketingShare (#416) is not in mixedCase
Variable Amazing._teamShare (#417) is not in mixedCase
Variable Amazing._totalTaxIfBuying (#419) is not in mixedCase
Variable Amazing._totalTaxIfSelling (#420) is not in mixedCase
Variable Amazing._totalDistributionShares (#421) is not in mixedCase
Variable Amazing._maxTxAmount (#424) is not in mixedCase
Variable Amazing._walletMax (#425) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#19)" inContext (#12-22)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in Amazing._transfer(address,address,uint256) (#655-693):
External calls:
- swapAndLiquify(contractTokenBalance) (#677)
- recipient.transfer(amount) (#619)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#677)
- recipient.transfer(amount) (#619)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#680)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#688)
- finalAmount = takeFee(sender,recipient,amount) (#682-683)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#773)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#774)
- finalAmount = takeFee(sender,recipient,amount) (#682-683)
- Transfer(sender,recipient,finalAmount) (#690)
Reentrancy in Amazing.swapAndLiquify(uint256) (#702-724):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#717)
- recipient.transfer(amount) (#619)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#720)
- recipient.transfer(amount) (#619)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#717)
- recipient.transfer(amount) (#619)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#720)
- recipient.transfer(amount) (#619)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#723)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#723)
- _allowances[owner][spender] = amount (#537)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#538)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#723)
Reentrancy in Amazing.transferFrom(address,address,uint256) (#649-653):
External calls:
- _transfer(sender,recipient,amount) (#650)
- recipient.transfer(amount) (#619)
External calls sending eth:
- _transfer(sender,recipient,amount) (#650)
- recipient.transfer(amount) (#619)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#751-758)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#651)
- _allowances[owner][spender] = amount (#537)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#538)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#651)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#258) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#259)
Prevent variables from having similar names.
Additional information: link
Ownable.waiveOwnership() (#169-172) uses literals with too many digits:
- OwnershipTransferred(_owner,address(0x000000000000000000000000000000000000dEaD)) (#170)
Ownable.waiveOwnership() (#169-172) uses literals with too many digits:
- _owner = address(0x000000000000000000000000000000000000dEaD) (#171)
Amazing.slitherConstructorVariables() (#386-781) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#397)
Amazing.slitherConstructorVariables() (#386-781) uses literals with too many digits:
- _totalSupply = 1000000000000 * 10 ** _decimals (#423)
Amazing.slitherConstructorVariables() (#386-781) uses literals with too many digits:
- _maxTxAmount = 1000000000000 * 10 ** _decimals (#424)
Amazing.slitherConstructorVariables() (#386-781) uses literals with too many digits:
- _walletMax = 1000000000000 * 10 ** _decimals (#425)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Amazing._decimals (#393) should be constant
Amazing._name (#391) should be constant
Amazing._symbol (#392) should be constant
Ownable._lockTime (#150) should be constant
Ownable.asdasd (#149) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#169-172)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#174-178)
getTime() should be declared external:
- Ownable.getTime() (#180-182)
name() should be declared external:
- Amazing.name() (#490-492)
symbol() should be declared external:
- Amazing.symbol() (#494-496)
decimals() should be declared external:
- Amazing.decimals() (#498-500)
totalSupply() should be declared external:
- Amazing.totalSupply() (#502-504)
allowance(address,address) should be declared external:
- Amazing.allowance(address,address) (#510-512)
increaseAllowance(address,uint256) should be declared external:
- Amazing.increaseAllowance(address,uint256) (#514-517)
decreaseAllowance(address,uint256) should be declared external:
- Amazing.decreaseAllowance(address,uint256) (#519-522)
minimumTokensBeforeSwapAmount() should be declared external:
- Amazing.minimumTokensBeforeSwapAmount() (#524-526)
approve(address,uint256) should be declared external:
- Amazing.approve(address,uint256) (#528-531)
setMarketPairStatus(address,bool) should be declared external:
- Amazing.setMarketPairStatus(address,bool) (#541-543)
setIsExcludedFromFee(address,bool) should be declared external:
- Amazing.setIsExcludedFromFee(address,bool) (#549-551)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Amazing.setSwapAndLiquifyEnabled(bool) (#605-608)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- Amazing.setSwapAndLiquifyByLimitOnly(bool) (#610-612)
getCirculatingSupply() should be declared external:
- Amazing.getCirculatingSupply() (#614-616)
changeRouterVersion(address) should be declared external:
- Amazing.changeRouterVersion(address) (#622-639)
transfer(address,uint256) should be declared external:
- Amazing.transfer(address,uint256) (#644-647)
transferFrom(address,address,uint256) should be declared external:
- Amazing.transferFrom(address,address,uint256) (#649-653)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find KYC or doxxing proof
Unable to find token on CoinHunt
Additional information: link
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account