Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PlatypusInu._transfer(address,address,uint256) (#1093-1103) performs a multiplication on the result of a division:
-_mfee = amount.div(100).mul(_taxfee) (#1097)
Consider ordering multiplication before division.
Additional information: link
PlatypusInu.constructor(string,string)._name (#1060) shadows:
- ERC20._name (#687) (state variable)
PlatypusInu.constructor(string,string)._symbol (#1060) shadows:
- ERC20._symbol (#688) (state variable)
PlatypusInu.initSupply(address,address,address,address)._burn (#1068) shadows:
- ERC20._burn(address,uint256) (#935-943) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in PlatypusInu.constructor(string,string) (#1060-1064):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1062)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1063)
- _allowances[owner][spender] = amount (#962)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PlatypusInu.constructor(string,string) (#1060-1064):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1062)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#963)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1063)
Apply the check-effects-interactions pattern.
Additional information: link
Address.verifyCallResult(bool,bytes,string) (#429-449) uses assembly
- INLINE ASM (#441-444)
Do not use evm assembly.
Additional information: link
PlatypusInu._transfer(address,address,uint256) (#1093-1103) compares to a boolean constant:
-recipient != address(0) && _taxWallet != address(0) && _isTaxFee == true (#1095-1096)
Remove the equality to the boolean constant.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0', '^0.8.1']
- ^0.8.0 (#1)
- >=0.5.0 (#75)
- >=0.6.2 (#93)
- >=0.6.2 (#189)
- ^0.8.1 (#232)
- ^0.8.0 (#452)
- ^0.8.0 (#474)
- ^0.8.0 (#676)
- ^0.8.0 (#1046)
Use one Solidity version.
Additional information: link
name() should be declared external:
- ERC20.name() (#709-711)
symbol() should be declared external:
- ERC20.symbol() (#717-719)
decimals() should be declared external:
- ERC20.decimals() (#734-736)
totalSupply() should be declared external:
- ERC20.totalSupply() (#741-749)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#754-762)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#772-780)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#785-793)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#802-810)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#825-834)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#848-855)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#871-878)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#1030-1033)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#1039-1043)
setFeeWallet(address) should be declared external:
- PlatypusInu.setFeeWallet(address) (#1081-1084)
setEnableFee(bool) should be declared external:
- PlatypusInu.setEnableFee(bool) (#1089-1091)
Use the external attribute for functions never called from the contract.
Additional information: link
Address.functionCall(address,bytes) (#313-315) is never used and should be removed
Address.functionCall(address,bytes,string) (#323-329) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#342-348) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#356-367) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#402-404) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#412-421) is never used and should be removed
Address.functionStaticCall(address,bytes) (#375-377) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#385-394) is never used and should be removed
Address.isContract(address) (#264-270) is never used and should be removed
Address.sendValue(address,uint256) (#288-293) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#429-449) is never used and should be removed
Context._msgData() (#469-471) is never used and should be removed
ERC20._burn(address,uint256) (#935-943) is never used and should be removed
ERC20._setupDecimals(uint8) (#973-975) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#648-651) is never used and should be removed
SafeMath.mod(uint256,uint256) (#610-613) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#668-671) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#482-486) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#518-521) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#528-531) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#503-511) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#493-496) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#1) allows old versions
Pragma version>=0.5.0 (#75) allows old versions
Pragma version>=0.6.2 (#93) allows old versions
Pragma version>=0.6.2 (#189) allows old versions
Pragma version^0.8.1 (#232) allows old versions
Pragma version^0.8.0 (#452) allows old versions
Pragma version^0.8.0 (#474) allows old versions
Pragma version^0.8.0 (#676) allows old versions
Pragma version^0.8.0 (#1046) allows old versions
solc-0.8.13 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.sendValue(address,uint256) (#288-293):
- (success) = recipient.call{value: amount}() (#291)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#356-367):
- (success,returndata) = target.call{value: value}(data) (#365)
Low level call in Address.functionStaticCall(address,bytes,string) (#385-394):
- (success,returndata) = target.staticcall(data) (#392)
Low level call in Address.functionDelegateCall(address,bytes,string) (#412-421):
- (success,returndata) = target.delegatecall(data) (#419)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#97) is not in mixedCase
Parameter PlatypusInu.initSupply(address,address,address,address)._preSale (#1065) is not in mixedCase
Parameter PlatypusInu.initSupply(address,address,address,address)._marketingAddr (#1066) is not in mixedCase
Parameter PlatypusInu.initSupply(address,address,address,address)._team (#1067) is not in mixedCase
Parameter PlatypusInu.initSupply(address,address,address,address)._burn (#1068) is not in mixedCase
Variable PlatypusInu._isInit (#1053) is not in mixedCase
Variable PlatypusInu._taxfee (#1054) is not in mixedCase
Variable PlatypusInu._isTaxFee (#1055) is not in mixedCase
Variable PlatypusInu._taxWallet (#1056) is not in mixedCase
Variable PlatypusInu.TOTAL_SUPPLY (#1059) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#102) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#103)
Variable PlatypusInu.TOTAL_SUPPLY (#1059) is too similar to ERC20._totalSupply (#685)
Prevent variables from having similar names.
Additional information: link
PlatypusInu.TOTAL_SUPPLY (#1059) should be constant
PlatypusInu._taxfee (#1054) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Contract has 2% buy tax and 2% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts