COXSWAP was built to be a decentralized exchange
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
COXSWAP.clear(uint256)._owner (#716) shadows:
- Ownable._owner (#591) (state variable)
Rename the local variables that shadow another component.
Additional information: link
COXSWAP.startAirdrop(uint256,uint256,uint256,uint256) (#698-704) should emit an event for:
- aSBlock = _aSBlock (#699)
- aEBlock = _aEBlock (#700)
- aAmt = _aAmt (#701)
- aCap = _aCap (#702)
COXSWAP.startSale(uint256,uint256,uint256,uint256,uint256) (#705-712) should emit an event for:
- sSBlock = _sSBlock (#706)
- sEBlock = _sEBlock (#707)
- sChunk = _sChunk (#708)
- sPrice = _sPrice (#709)
- sCap = _sCap (#710)
Emit an event for critical parameter changes.
Additional information: link
COXSWAP.clear(uint256)._owner (#716) lacks a zero-check on :
- _owner.transfer(amount) (#717)
Check that the address is not zero.
Additional information: link
Different versions of Solidity are used:
- Version used: ['^0.8.0', '^0.8.4']
- ^0.8.4 (#1)
- ^0.8.0 (#80)
- ^0.8.0 (#109)
- ^0.8.0 (#136)
- ^0.8.0 (#442)
- ^0.8.0 (#484)
- ^0.8.0 (#576)
- ^0.8.0 (#642)
Use one Solidity version.
Additional information: link
Pragma version^0.8.0 (#442) allows old versions
Pragma version^0.8.0 (#136) allows old versions
Pragma version^0.8.0 (#484) allows old versions
Pragma version^0.8.0 (#109) allows old versions
Pragma version^0.8.0 (#576) allows old versions
Pragma version^0.8.0 (#642) allows old versions
Pragma version^0.8.0 (#80) allows old versions
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
Redundant expression "this (#127)" inContext (#121-130)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Pausable._pause() (#554-557) is never used and should be removed
Pausable._unpause() (#566-569) is never used and should be removed
Context._msgData() (#126-129) is never used and should be removed
Remove unused functions.
Additional information: link
Parameter COXSWAP.startAirdrop(uint256,uint256,uint256,uint256)._aSBlock (#698) is not in mixedCase
Parameter COXSWAP.startAirdrop(uint256,uint256,uint256,uint256)._aEBlock (#698) is not in mixedCase
Parameter COXSWAP.startSale(uint256,uint256,uint256,uint256,uint256)._sSBlock (#705) is not in mixedCase
Parameter COXSWAP.startSale(uint256,uint256,uint256,uint256,uint256)._sChunk (#705) is not in mixedCase
Parameter COXSWAP.tokenSale(address)._refer (#675) is not in mixedCase
Parameter COXSWAP.startSale(uint256,uint256,uint256,uint256,uint256)._sEBlock (#705) is not in mixedCase
Parameter COXSWAP.startSale(uint256,uint256,uint256,uint256,uint256)._sPrice (#705) is not in mixedCase
Parameter COXSWAP.startAirdrop(uint256,uint256,uint256,uint256)._aAmt (#698) is not in mixedCase
Parameter COXSWAP.startAirdrop(uint256,uint256,uint256,uint256)._aCap (#698) is not in mixedCase
Parameter COXSWAP.getAirdrop(address)._refer (#664) is not in mixedCase
Parameter COXSWAP.startSale(uint256,uint256,uint256,uint256,uint256)._sCap (#705) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
COXSWAP.constructor() (#655-660) uses literals with too many digits:
- startSale(block.number,999999999,0,25000000000 * 10 ** decimals(),2000000000000) (#658)
COXSWAP.constructor() (#655-660) uses literals with too many digits:
- startAirdrop(block.number,999999999,5000000 * 10 ** decimals(),2000000000000) (#659)
COXSWAP.getAirdrop(address) (#664-673) uses literals with too many digits:
- msg.sender != _refer && balanceOf(_refer) != 0 && _refer != 0x0000000000000000000000000000000000000000 (#668)
COXSWAP.tokenSale(address) (#675-689) uses literals with too many digits:
- msg.sender != _refer && balanceOf(_refer) != 0 && _refer != 0x0000000000000000000000000000000000000000 (#682)
COXSWAP.constructor() (#655-660) uses literals with too many digits:
- _mint(msg.sender,60000000000000 * 10 ** decimals()) (#656)
COXSWAP.constructor() (#655-660) uses literals with too many digits:
- _mint(address(this),40000000000000 * 10 ** decimals()) (#657)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#280-288)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#472-477)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#626-629)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#321-327)
symbol() should be declared external:
- ERC20.symbol() (#200-202)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#243-246)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#302-305)
viewAirdrop() should be declared external:
- COXSWAP.viewAirdrop() (#691-693)
getAirdrop(address) should be declared external:
- COXSWAP.getAirdrop(address) (#664-673)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#635-639)
name() should be declared external:
- ERC20.name() (#192-194)
tokenSale(address) should be declared external:
- COXSWAP.tokenSale(address) (#675-689)
totalSupply() should be declared external:
- ERC20.totalSupply() (#224-226)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#262-265)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#457-459)
viewSale() should be declared external:
- COXSWAP.viewSale() (#694-696)
clear(uint256) should be declared external:
- COXSWAP.clear(uint256) (#715-718)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
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 no active CoinMarketCap listing / rank
Token is marked as risky (blacklisted creator, fake name, dead project, etc.)
Additional information: link
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Token has relatively low CoinGecko rank
Last post in Twitter was more than 180 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Twitter account has few posts
Unable to find Discord account