Owner has 100% of the PancakeSwap v2 liquidity Open holders page Creator has 40% of…
- User
Owner has 100% of the PancakeSwap v2 liquidity Open holders page Creator has 40% of non-burnt supply Suspicious call to encodePacked in PANCAKEpairFor Suspicious call to encodePacked in UNIpairFor batchSend might contain a hidden owner check, check it batchSend restricts calls to an address, check it Allow might contain a hidden owner check, check it Allow restricts calls to an address, check it Agree might contain a hidden owner check, check it Agree restricts calls to an address, check it transferTo might contain a hidden owner check, check it Suspicious code found in transferTo, check it transferTo restricts calls to an address, check it Check usage of hidden address deployer Unusual mapping name balanceOf, check usage Unusual mapping name canSale, check usage Unusual mapping name _onSaleNum, check usage Check usage of hidden address BSCGas Check usage of hidden address Pancakeswap Check usage of hidden address HecoGas Check usage of hidden address MDEXBSC Check usage of hidden address EtherGas Check usage of hidden address Uniswap Check usage of address SnailExclusive Check usage of address rewardToken Check usage of address VERSOIN Check usage of address UniswapV2Router Check usage of address deadAddress Check usage of address _otherAddress Check usage of address onlyAddress Has deployed at least 4 other contracts
Owner has 100% of non-burnt supply Suspicious code found in _getETHEquivalent, beware of hidden mint _isSuper might contain a hidden owner check, check it chuh.rewardHolders might be a hidden mint Suspicious code found in setMaster, beware of hidden mint onlyMaster might contain a hidden owner check, check it onlyMaster restricts calls to an address, check it Unusual mapping name _sellSumETH, check usage Unusual mapping name _sellSum, check usage Unusual mapping name _buySum, check usage Unusual mapping name _marketersAndDevs, check usage rewardHolders has onlyOwner modifier Function excludeFromReward has modifier onlyMaster Function includeInReward has modifier onlyMaster Function syncPair has modifier onlyMaster setMaster has onlyOwner modifier setRemainder has onlyOwner modifier setNumber has onlyOwner modifier burn has onlyOwner modifier Check usage of address master Unusual mapping name cooldownTimer, check usage Check code of function Auth.transferOwnership Unusual mapping name _intAddr, check usage areBots has onlyOwner modifier isBots has onlyOwner modifier setSwapBackSettings has onlyOwner modifier setTxLimit has onlyOwner modifier setTxLimit can probably change transaction limits setFeeReceiver has onlyOwner modifier setSellMultiplier has onlyOwner modifier cooldownEnabled has onlyOwner modifier setFees can probably change the fees setMaxWallet has onlyOwner modifier Function constructor has modifier Auth Check usage of address pair Check usage of address devFeeReceiver Check usage of address marketingFeeReceiver _checkOwner restricts calls to an address, check it Has deployed at least 14 other contracts disableSelling has onlyOwner modifier enableSelling has onlyOwner modifier Check usage of address allowedSeller Check usage of address dexContract Unusual balanceOf, beware of hidden mint Unusual param holder in balanceOf Unusual param numTokens in approve Unusual param delegate in approve Check usage of hidden address TrustSwap
- Assistant
Example usage:
contract_source_code = """ pragma solidity ^0.8.4;
contract MyToken { string public name = "MyToken"; string public symbol = "MT"; uint256 public totalSupply = 1000000 * 10**18; uint8 public decimals = 18;
codeevent Transfer(address indexed _from, address indexed _to, uint256 _value); mapping(address => uint256) public balanceOf; function transfer(address _to, uint256 _value) public returns (bool success) { require(balanceOf[msg.sender] >= _value); balanceOf[msg.sender] -= _value; balanceOf[_to] += _value; emit Transfer(msg.sender, _to, _value); return true; } constructor() { balanceOf[msg.sender] = totalSupply; }}
"""
analyze_contract(contract_source_code)
- User
Write full code
- Assistant
- User
- Assistant
- User
- Assistant
I've updated the
analyze_contractfunction to include the new suspicious functions, variables, and modifiers you mentioned:python