SafeSwap Online™ is a decentralized trading protocol that allows different types of cryptocurrencies to be swapped.
SafeswapToken._writeCheckpoint(address,uint32,uint256,uint256) (#1062-1080) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1072)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
SafeswapToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#928-969) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,SAFESWAP::delegateBySig: signature expired) (#967)
Avoid relying on block.timestamp.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#436-442):
- (success) = recipient.call{value: amount}() (#440)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#515-541):
- (success,returndata) = target.call{value: weiValue}(data) (#524)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
BEP20.allowance(address,address).owner (#656) shadows:
- Ownable.owner() (#60-62) (function)
BEP20.constructor(string,string).symbol (#592) shadows:
- BEP20.symbol() (#622-624) (function)
- IBEP20.symbol() (#117) (function)
BEP20._approve(address,address,uint256).owner (#828) shadows:
- Ownable.owner() (#60-62) (function)
BEP20.constructor(string,string).name (#592) shadows:
- BEP20.name() (#608-610) (function)
- IBEP20.name() (#122) (function)
Rename the local variables that shadow another component.
Additional information: link
SafeswapToken.getChainId() (#1087-1091) uses assembly
- INLINE ASM (#1089)
Address.isContract(address) (#407-418) uses assembly
- INLINE ASM (#414-416)
Address._functionCallWithValue(address,bytes,uint256,string) (#515-541) uses assembly
- INLINE ASM (#533-536)
Do not use evm assembly.
Additional information: link
SafeMath.mul(uint256,uint256) (#275-287) is never used and should be removed
Address.sendValue(address,uint256) (#436-442) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#491-497) is never used and should be removed
SafeMath.sqrt(uint256) (#371-382) is never used and should be removed
BEP20._burnFrom(address,uint256) (#845-852) is never used and should be removed
BEP20._burn(address,uint256) (#806-812) is never used and should be removed
SafeMath.min(uint256,uint256) (#366-368) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#357-364) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#505-513) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#317-327) is never used and should be removed
Context._msgData() (#24-27) is never used and should be removed
SafeMath.mod(uint256,uint256) (#341-343) is never used and should be removed
SafeMath.div(uint256,uint256) (#301-303) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#515-541) is never used and should be removed
Address.isContract(address) (#407-418) is never used and should be removed
Address.functionCall(address,bytes,string) (#472-478) is never used and should be removed
Address.functionCall(address,bytes) (#462-464) is never used and should be removed
Remove unused functions.
Additional information: link
Parameter SafeswapToken.mint(address,uint256)._amount (#858) is not in mixedCase
Variable SafeswapToken._delegates (#870) is not in mixedCase
Parameter SafeswapToken.mint(address,uint256)._to (#858) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#25)" inContext (#15-28)
Remove redundant statements if they congest code but offer no value.
Additional information: link
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#648-651)
symbol() should be declared external:
- BEP20.symbol() (#622-624)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#79-82)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#667-670)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#684-696)
mint(address,uint256) should be declared external:
- SafeswapToken.mint(address,uint256) (#858-861)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#88-90)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#746-749)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#656-658)
totalSupply() should be declared external:
- BEP20.totalSupply() (#629-631)
decimals() should be declared external:
- BEP20.decimals() (#615-617)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#710-713)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#729-736)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Token has relatively low CoinGecko rank
Unable to find Youtube account
Unable to find Discord account