Miso is both a decentralized cryptocurrency exchange and a yield farming platform, deployed on the Binance Smart Chain blockchain.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MisoSwapToken._writeCheckpoint(address,uint32,uint256,uint256) (#861-879) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#871)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
BEP20.constructor(string,string).name (#406) shadows:
- BEP20.name() (#422-424) (function)
- IBEP20.name() (#120) (function)
BEP20.constructor(string,string).symbol (#406) shadows:
- BEP20.symbol() (#430-432) (function)
- IBEP20.symbol() (#115) (function)
BEP20.allowance(address,address).owner (#471) shadows:
- Ownable.owner() (#62-64) (function)
BEP20._approve(address,address,uint256).owner (#630) shadows:
- Ownable.owner() (#62-64) (function)
Rename the local variables that shadow another component.
Additional information: link
MisoSwapToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#727-768) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,MISO::delegateBySig: signature expired) (#766)
Avoid relying on block.timestamp.
Additional information: link
MisoSwapToken.getChainId() (#886-890) uses assembly
- INLINE ASM (#888)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.4.0', '>=0.6.0<0.8.0', '>=0.6.4']
- >=0.6.0<0.8.0 (#5)
- >=0.6.0<0.8.0 (#32)
- >=0.6.4 (#99)
- >=0.6.0<0.8.0 (#196)
- >=0.4.0 (#358)
- 0.6.12 (#652)
Use one Solidity version.
Additional information: link
BEP20._burn(address,uint256) (#609-615) is never used and should be removed
BEP20._burnFrom(address,uint256) (#644-647) is never used and should be removed
Context._msgData() (#22-25) is never used and should be removed
SafeMath.div(uint256,uint256) (#296-298) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#312-318) is never used and should be removed
SafeMath.mod(uint256,uint256) (#332-334) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#348-351) is never used and should be removed
SafeMath.mul(uint256,uint256) (#270-282) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#5) is too complex
Pragma version>=0.6.0<0.8.0 (#32) is too complex
Pragma version>=0.6.4 (#99) allows old versions
Pragma version>=0.6.0<0.8.0 (#196) is too complex
Pragma version>=0.4.0 (#358) 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
Parameter MisoSwapToken.mint(address,uint256)._to (#657) is not in mixedCase
Parameter MisoSwapToken.mint(address,uint256)._amount (#657) is not in mixedCase
Variable MisoSwapToken._delegates (#669) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#23)" inContext (#17-26)
Remove redundant statements if they congest code but offer no value.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#81-84)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#90-94)
symbol() should be declared external:
- BEP20.symbol() (#430-432)
decimals() should be declared external:
- BEP20.decimals() (#437-439)
totalSupply() should be declared external:
- BEP20.totalSupply() (#444-446)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#463-466)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#471-473)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#482-485)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#499-507)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#521-524)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#540-543)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#553-556)
mint(address,uint256) should be declared external:
- MisoSwapToken.mint(address,uint256) (#657-660)
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.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Unable to find website, listings and other project-related information
Token has a considerable age, but we're still unable to find its website
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
Telegram account link seems to be invalid
Last post in Twitter was more than 180 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account