GuitarSwap - The AMM DEX on Binance Smart Chain (BSC)
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
GuitarToken._writeCheckpoint(address,uint32,uint256,uint256) (#1066-1084) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#1076)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
BEP20.allowance(address,address).owner (#651) shadows:
- Ownable.owner() (#56-58) (function)
BEP20._approve(address,address,uint256).owner (#823) shadows:
- Ownable.owner() (#56-58) (function)
Rename the local variables that shadow another component.
Additional information: link
GuitarToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#932-973) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= expiry,CAKE::delegateBySig: signature expired) (#971)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#400-411) uses assembly
- INLINE ASM (#407-409)
GuitarToken.getChainId() (#1091-1095) uses assembly
- INLINE ASM (#1093)
Address._functionCallWithValue(address,bytes,uint256,string) (#508-534) uses assembly
- INLINE ASM (#526-529)
Do not use evm assembly.
Additional information: link
Different versions of Solidity are used:
- Version used: ['>0.6.6', '>=0.4.0', '>=0.6.0<0.8.0', '>=0.6.6']
- >=0.6.0<0.8.0 (#1)
- >=0.6.0<0.8.0 (#24)
- >=0.4.0 (#91)
- >=0.4.0 (#188)
- >=0.6.6 (#377)
- >=0.4.0 (#537)
- >0.6.6 (#850)
Use one Solidity version.
Additional information: link
SafeMath.mul(uint256,uint256) (#266-278) is never used and should be removed
Address.sendValue(address,uint256) (#429-435) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#484-490) is never used and should be removed
SafeMath.sqrt(uint256) (#362-373) is never used and should be removed
BEP20._burnFrom(address,uint256) (#840-847) is never used and should be removed
BEP20._burn(address,uint256) (#801-807) is never used and should be removed
SafeMath.min(uint256,uint256) (#357-359) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#348-355) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#498-506) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#308-318) is never used and should be removed
Context._msgData() (#18-21) is never used and should be removed
SafeMath.mod(uint256,uint256) (#332-334) is never used and should be removed
SafeMath.div(uint256,uint256) (#292-294) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#508-534) is never used and should be removed
Address.isContract(address) (#400-411) is never used and should be removed
Address.functionCall(address,bytes,string) (#465-471) is never used and should be removed
Address.functionCall(address,bytes) (#455-457) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>0.6.6 (#850) allows old versions
Pragma version>=0.4.0 (#188) allows old versions
solc-0.7.4 is not recommended for deployment
Pragma version>=0.6.0<0.8.0 (#1) is too complex
Pragma version>=0.4.0 (#537) allows old versions
Pragma version>=0.4.0 (#91) allows old versions
Pragma version>=0.6.0<0.8.0 (#24) is too complex
Pragma version>=0.6.6 (#377) 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
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#508-534):
- (success,returndata) = target.call{value: weiValue}(data) (#517)
Low level call in Address.sendValue(address,uint256) (#429-435):
- (success) = recipient.call{value: amount}() (#433)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Constant GuitarToken.maxSupply (#855) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter GuitarToken.mintFor(address,uint256)._amount (#857) is not in mixedCase
Variable GuitarToken._delegates (#875) is not in mixedCase
Parameter GuitarToken.mintFor(address,uint256)._to (#857) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#19)" inContext (#13-22)
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) (#643-646)
symbol() should be declared external:
- BEP20.symbol() (#617-619)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#75-78)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#662-665)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#679-691)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#84-88)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#651-653)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#741-744)
- GuitarToken.mint(uint256) (#863-867)
mintFor(address,uint256) should be declared external:
- GuitarToken.mintFor(address,uint256) (#857-861)
decimals() should be declared external:
- BEP20.decimals() (#610-612)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#705-708)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#724-731)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find PancakeSwap trading pair to compute volume.
Token was delisted from CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Twitter account has less than 100 followers
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account