CheeseSwap is a decentralized binance smart chain token swap exchange. Cheese stake token staking returns daily 2.5%.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CheeseFarm._writeCheckpoint(address,uint32,uint256,uint256) (#597-615) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#607)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract name (cheesemaker.farm) 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.
BEP20.constructor(string,string).name (#215) shadows:
- BEP20.name() (#224-226) (function)
BEP20.constructor(string,string).symbol (#215) shadows:
- BEP20.symbol() (#232-234) (function)
Rename the local variables that shadow another component.
Additional information: link
CheeseFarm.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#473-514) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,CHS::delegateBySig: signature expired) (#512)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#130-139) uses assembly
- INLINE ASM (#137)
Address._functionCallWithValue(address,bytes,uint256,string) (#170-191) uses assembly
- INLINE ASM (#183-186)
CheeseFarm.getChainId() (#622-626) uses assembly
- INLINE ASM (#624)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '^0.6.0', '^0.6.2']
- ^0.6.0 (#5)
- ^0.6.0 (#22)
- ^0.6.0 (#58)
- ^0.6.2 (#123)
- ^0.6.0 (#198)
- ^0.6.0 (#362)
- 0.6.12 (#413)
Use one Solidity version.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#170-191) is never used and should be removed
Address.functionCall(address,bytes) (#150-152) is never used and should be removed
Address.functionCall(address,bytes,string) (#155-157) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#160-162) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#165-168) is never used and should be removed
Address.isContract(address) (#130-139) is never used and should be removed
Address.sendValue(address,uint256) (#141-147) is never used and should be removed
BEP20._burn(address,uint256) (#330-338) is never used and should be removed
BEP20._setupDecimals(uint8) (#350-352) is never used and should be removed
Context._msgData() (#12-15) is never used and should be removed
SafeMath.div(uint256,uint256) (#96-98) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#101-107) is never used and should be removed
SafeMath.mod(uint256,uint256) (#110-112) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#115-118) is never used and should be removed
SafeMath.mul(uint256,uint256) (#83-93) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.0 (#5) allows old versions
Pragma version^0.6.0 (#22) allows old versions
Pragma version^0.6.0 (#58) allows old versions
Pragma version^0.6.2 (#123) allows old versions
Pragma version^0.6.0 (#198) allows old versions
Pragma version^0.6.0 (#362) 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.sendValue(address,uint256) (#141-147):
- (success) = recipient.call{value: amount}() (#145)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#170-191):
- (success,returndata) = target.call{value: weiValue}(data) (#174)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter CheeseFarm.mint(address,uint256)._to (#421) is not in mixedCase
Parameter CheeseFarm.mint(address,uint256)._amount (#421) is not in mixedCase
Variable CheeseFarm._delegates (#426) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#13)" inContext (#7-16)
Remove redundant statements if they congest code but offer no value.
Additional information: link
symbol() should be declared external:
- BEP20.symbol() (#232-234)
decimals() should be declared external:
- BEP20.decimals() (#237-239)
totalSupply() should be declared external:
- BEP20.totalSupply() (#244-246)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#263-266)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#271-273)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#282-285)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#288-292)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#295-298)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#301-304)
owner() should be declared external:
- Ownable.owner() (#382-384)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#395-398)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#404-408)
mint(address,uint256) should be declared external:
- CheeseFarm.mint(address,uint256) (#421-424)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account