Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in METAPUNK._transfer(address,address,uint256) (#352-446):
External calls:
- swapTokensForEth(swapAmount) (#374)
- pancakeV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 300) (#457-463)
External calls sending eth:
- address(walletMarketing).transfer(marketingAmount) (#384)
- address(walletStakingReward).transfer(stakeAmount) (#385)
- address(walletDevelopment).transfer(devAmount) (#386)
State variables written after the call(s):
- super._transfer(from,address(this),fee) (#441)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#139)
- _balances[recipient] = _balances[recipient].add(amount) (#140)
- super._transfer(from,to,amount) (#445)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#139)
- _balances[recipient] = _balances[recipient].add(amount) (#140)
Apply the check-effects-interactions pattern.
Additional information: link
METAPUNK._totalSupply (#234) shadows:
- BEP20._totalSupply (#71)
Remove the state variable shadowing.
Additional information: link
METAPUNK.recoverWrongTokens(address,uint256) (#467-469) ignores return value by IBEP20(_tokenAddress).transfer(address(msg.sender),_tokenAmount) (#468)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
METAPUNK._transfer(address,address,uint256) (#352-446) uses a dangerous strict equality:
- launchTime == 0 (#362)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
METAPUNK.update3rdPhaseTax(uint256,uint256,uint256,uint256,uint256,uint256) (#338-350) should emit an event for:
- fee3rdPhaseBuyMarketing = buyMarketingFee (#343)
- fee3rdPhaseBuyDevelopment = buyDevelopmentFee (#344)
- fee3rdPhaseBuyStaking = buyStakingRewardFee (#345)
- fee3rdPhaseSellMarketing = sellMarketingFee (#347)
- fee3rdPhaseSellDevelopment = sellDevelopmentFee (#348)
- fee3rdPhaseSellStaking = sellStakingRewardFee (#349)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in METAPUNK.constructor() (#255-275):
External calls:
- _pancakeV2Pair = IPancakeV2Factory(_pancakeV2Router.factory()).createPair(address(this),_pancakeV2Router.WETH()) (#259-260)
State variables written after the call(s):
- _mint(owner(),_totalSupply) (#273)
- _balances[account] = _balances[account].add(amount) (#150)
- _isExcludedFromFees[owner()] = true (#266)
- _isExcludedFromFees[address(this)] = true (#267)
- _mint(owner(),_totalSupply) (#273)
- _totalSupply = _totalSupply.add(amount) (#149)
- pancakeV2Pair = _pancakeV2Pair (#263)
- pancakeV2Router = _pancakeV2Router (#262)
- walletDevelopment = owner() (#270)
- walletMarketing = owner() (#269)
- walletStakingReward = owner() (#271)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in METAPUNK.constructor() (#255-275):
External calls:
- _pancakeV2Pair = IPancakeV2Factory(_pancakeV2Router.factory()).createPair(address(this),_pancakeV2Router.WETH()) (#259-260)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#151)
- _mint(owner(),_totalSupply) (#273)
Apply the check-effects-interactions pattern.
Additional information: link
METAPUNK._transfer(address,address,uint256) (#352-446) uses timestamp for comparisons
Dangerous comparisons:
- launchTime == 0 (#362)
- block.timestamp <= launchTime.add(2592000) (#400)
- block.timestamp > launchTime.add(2592000) && block.timestamp <= launchTime.add(7776000) (#410)
Avoid relying on block.timestamp.
Additional information: link
SafeMath.trySub(uint256,uint256) (#491-494) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.9 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
Variable METAPUNK._totalSupply (#234) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#14)" inContext (#8-17)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in METAPUNK._transfer(address,address,uint256) (#352-446):
External calls:
- address(walletMarketing).transfer(marketingAmount) (#384)
- address(walletStakingReward).transfer(stakeAmount) (#385)
- address(walletDevelopment).transfer(devAmount) (#386)
State variables written after the call(s):
- super._transfer(from,address(this),fee) (#441)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#139)
- _balances[recipient] = _balances[recipient].add(amount) (#140)
- super._transfer(from,to,amount) (#445)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#139)
- _balances[recipient] = _balances[recipient].add(amount) (#140)
- accumulatedForDev = accumulatedForDev.add(feeAmountDevelopment) (#438)
- accumulatedForMarketing = accumulatedForMarketing.add(feeAmountMarketing) (#436)
- accumulatedForStake = accumulatedForStake.add(feeAmountStakingReward) (#437)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#141)
- super._transfer(from,to,amount) (#445)
- Transfer(sender,recipient,amount) (#141)
- super._transfer(from,address(this),fee) (#441)
Apply the check-effects-interactions pattern.
Additional information: link
Variable METAPUNK.fee2ndPhaseBuyStaking (#219) is too similar to METAPUNK.fee3rdPhaseBuyStaking (#226)
Prevent variables from having similar names.
Additional information: link
METAPUNK.slitherConstructorVariables() (#204-481) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** 18) (#234)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
METAPUNK._totalSupply (#234) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
update3rdPhaseTax(uint256,uint256,uint256,uint256,uint256,uint256) should be declared external:
- METAPUNK.update3rdPhaseTax(uint256,uint256,uint256,uint256,uint256,uint256) (#338-350)
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