Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Onepad.random(uint256,uint256,uint256) (#167-176) uses a weak PRNG: "randomnumber = uint256(keccak256(bytes)(abi.encodePacked(block.timestamp + block.difficulty + ((uint256(keccak256(bytes)(abi.encodePacked(block.coinbase)))) / (block.timestamp)) + block.gaslimit + i + ((uint256(keccak256(bytes)(abi.encodePacked(msg.sender)))) / (block.timestamp)) + block.number))) % _to (#169-172)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Contract locking ether found:
Contract Onepad (#64-349) has payable functions:
- Onepad.receive() (#87)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
Onepad.setTransferFee(uint256) (#254-258) contains a tautology or contradiction:
- require(bool,string)(_transferFee >= 0 && _transferFee <= 100,Transfer fee is between 1 and 100.) (#255)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Contract name (Onepad.io) 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.
Onepad._approve(address,address,uint256).owner (#333) shadows:
- Ownable.owner() (#36-38) (function)
Rename the local variables that shadow another component.
Additional information: link
Onepad.setTransferFee(uint256) (#254-258) should emit an event for:
- transferFee = _transferFee (#256)
Emit an event for critical parameter changes.
Additional information: link
Onepad._transfer(address,address,uint256) (#283-308) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(senderBalance >= amount,ERC20: transfer amount exceeds balance) (#294)
Avoid relying on block.timestamp.
Additional information: link
Onepad.isContract(address) (#259-266) uses assembly
- INLINE ASM (#262-264)
Do not use evm assembly.
Additional information: link
Onepad._mint(address,uint256) (#309-317) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.0 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 Onepad._AMM (#68) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Onepad.slitherConstructorVariables() (#64-349) uses literals with too many digits:
- burnWallet = 0x000000000000000000000000000000000000dEaD (#67)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Onepad.burnWallet (#67) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
tokenContract() should be declared external:
- Onepad.tokenContract() (#280-282)
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