Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in PinkCatCoin._transfer(address,address,uint256) (#794-830):
External calls:
- swapAndSendToFee(sellTokens) (#816)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#864-870)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#816)
- address(_marketingWallet).transfer(ethToSend) (#837)
State variables written after the call(s):
- _tOwned[from] -= amount (#820)
- transferAmount = _getValues(amount,from) (#825)
- _tOwned[address(this)] += marketingFee + liquidityFee (#776)
- _tOwned[to] += transferAmount (#828)
- swapping = false (#817)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ticker ($MOMSKEVIN) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
PinkCatCoin.allowance(address,address).owner (#735) shadows:
- Ownable.owner() (#414-416) (function)
PinkCatCoin._approve(address,address,uint256).owner (#786) shadows:
- Ownable.owner() (#414-416) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in PinkCatCoin.constructor() (#692-708):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#697)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#703)
- _isExcludedFromFee[address(this)] = true (#704)
- _isExcludedFromFee[_marketingWallet] = true (#705)
- uniswapV2Pair = _uniswapV2Pair (#700)
- uniswapV2Router = _uniswapV2Router (#699)
Reentrancy in PinkCatCoin.swapAndLiquify() (#840-852):
External calls:
- newBalance = swapTokensForEth(half) (#845)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#864-870)
- addLiquidity(otherHalf,newBalance) (#849)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#879-886)
- (success) = recipient.call{value: amount}() (#299)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#889)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#849)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#879-886)
- (success) = recipient.call{value: amount}() (#299)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#849)
- _allowances[owner][spender] = amount (#790)
Reentrancy in PinkCatCoin.transferFrom(address,address,uint256) (#744-748):
External calls:
- _transfer(sender,recipient,amount) (#745)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#864-870)
External calls sending eth:
- _transfer(sender,recipient,amount) (#745)
- address(_marketingWallet).transfer(ethToSend) (#837)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#746)
- _allowances[owner][spender] = amount (#790)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PinkCatCoin._transfer(address,address,uint256) (#794-830):
External calls:
- swapAndSendToFee(sellTokens) (#816)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#864-870)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#816)
- address(_marketingWallet).transfer(ethToSend) (#837)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#777)
- transferAmount = _getValues(amount,from) (#825)
- Transfer(from,to,transferAmount) (#829)
Reentrancy in PinkCatCoin.constructor() (#692-708):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#697)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#707)
Reentrancy in PinkCatCoin.swapAndLiquify() (#840-852):
External calls:
- newBalance = swapTokensForEth(half) (#845)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#864-870)
- addLiquidity(otherHalf,newBalance) (#849)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#879-886)
- (success) = recipient.call{value: amount}() (#299)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#889)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#849)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#879-886)
- (success) = recipient.call{value: amount}() (#299)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#791)
- addLiquidity(otherHalf,newBalance) (#849)
- SwapAndLiquify(half,newBalance,otherHalf) (#850)
Reentrancy in PinkCatCoin.transferFrom(address,address,uint256) (#744-748):
External calls:
- _transfer(sender,recipient,amount) (#745)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#864-870)
External calls sending eth:
- _transfer(sender,recipient,amount) (#745)
- address(_marketingWallet).transfer(ethToSend) (#837)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#791)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#746)
Apply the check-effects-interactions pattern.
Additional information: link
PinkCatCoin._transfer(address,address,uint256) (#794-830) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lastBuy[to] + _buyCooldown < block.timestamp,Must wait til after coooldown to buy) (#808)
PinkCatCoin.addLiquidity(uint256,uint256) (#874-890) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (#888)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#268-277) uses assembly
- INLINE ASM (#275)
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) uses assembly
- INLINE ASM (#374-377)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) is never used and should be removed
Address.functionCall(address,bytes) (#321-323) is never used and should be removed
Address.functionCall(address,bytes,string) (#331-333) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#346-348) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#356-359) is never used and should be removed
Address.isContract(address) (#268-277) is never used and should be removed
Address.sendValue(address,uint256) (#295-301) is never used and should be removed
Context._msgData() (#240-243) is never used and should be removed
PinkCatCoin.addLiquidity(uint256,uint256) (#874-890) is never used and should be removed
PinkCatCoin.swapAndLiquify() (#840-852) is never used and should be removed
SafeMath.add(uint256,uint256) (#103-108) is never used and should be removed
SafeMath.div(uint256,uint256) (#177-179) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#193-199) is never used and should be removed
SafeMath.mod(uint256,uint256) (#213-215) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#229-232) is never used and should be removed
SafeMath.mul(uint256,uint256) (#151-163) is never used and should be removed
SafeMath.sub(uint256,uint256) (#120-122) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#134-139) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#295-301):
- (success) = recipient.call{value: amount}() (#299)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#361-382):
- (success,returndata) = target.call{value: weiValue}(data) (#365)
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() (#485) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#486) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#503) is not in mixedCase
Function IUniswapV2Router01.WETH() (#525) is not in mixedCase
Variable PinkCatCoin._maxTxAmount (#675) is not in mixedCase
Constant PinkCatCoin._name (#677) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PinkCatCoin._symbol (#678) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PinkCatCoin._decimals (#679) is not in UPPER_CASE_WITH_UNDERSCORES
Variable PinkCatCoin._marketingFee (#681) is not in mixedCase
Variable PinkCatCoin._liquidityFee (#682) is not in mixedCase
Variable PinkCatCoin._marketingWallet (#683) is not in mixedCase
Variable PinkCatCoin._buyCooldown (#685) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#241)" inContext (#235-244)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in PinkCatCoin._transfer(address,address,uint256) (#794-830):
External calls:
- swapAndSendToFee(sellTokens) (#816)
- address(_marketingWallet).transfer(ethToSend) (#837)
State variables written after the call(s):
- _tOwned[from] -= amount (#820)
- transferAmount = _getValues(amount,from) (#825)
- _tOwned[address(this)] += marketingFee + liquidityFee (#776)
- _tOwned[to] += transferAmount (#828)
- swapping = false (#817)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#777)
- transferAmount = _getValues(amount,from) (#825)
- Transfer(from,to,transferAmount) (#829)
Reentrancy in PinkCatCoin.transferFrom(address,address,uint256) (#744-748):
External calls:
- _transfer(sender,recipient,amount) (#745)
- address(_marketingWallet).transfer(ethToSend) (#837)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#746)
- _allowances[owner][spender] = amount (#790)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#791)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#746)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#530) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#531)
Prevent variables from having similar names.
Additional information: link
Address.sendValue(address,uint256) (#295-301) uses literals with too many digits:
- recipient = address(0x000000000000000000000000000000000000dEaD) (#297)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PinkCatCoin._buyCooldown (#685) should be constant
PinkCatCoin._liquidityFee (#682) should be constant
PinkCatCoin._marketingFee (#681) should be constant
PinkCatCoin._marketingWallet (#683) should be constant
PinkCatCoin._maxTxAmount (#675) should be constant
PinkCatCoin._tTotal (#674) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#433-436)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#442-446)
name() should be declared external:
- PinkCatCoin.name() (#710-712)
symbol() should be declared external:
- PinkCatCoin.symbol() (#714-716)
decimals() should be declared external:
- PinkCatCoin.decimals() (#718-720)
totalSupply() should be declared external:
- PinkCatCoin.totalSupply() (#722-724)
transfer(address,uint256) should be declared external:
- PinkCatCoin.transfer(address,uint256) (#730-733)
allowance(address,address) should be declared external:
- PinkCatCoin.allowance(address,address) (#735-737)
approve(address,uint256) should be declared external:
- PinkCatCoin.approve(address,uint256) (#739-742)
transferFrom(address,address,uint256) should be declared external:
- PinkCatCoin.transferFrom(address,address,uint256) (#744-748)
increaseAllowance(address,uint256) should be declared external:
- PinkCatCoin.increaseAllowance(address,uint256) (#750-753)
decreaseAllowance(address,uint256) should be declared external:
- PinkCatCoin.decreaseAllowance(address,uint256) (#755-758)
excludeFromFee(address) should be declared external:
- PinkCatCoin.excludeFromFee(address) (#760-762)
includeInFee(address) should be declared external:
- PinkCatCoin.includeInFee(address) (#764-766)
isExcludedFromFee(address) should be declared external:
- PinkCatCoin.isExcludedFromFee(address) (#782-784)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts