MetaSwap Protocol is a Layer2 crypto trading platform that provides P2P swaps by utilizing historical NFT transaction data.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract creator or owner is blacklisted for past scams
Ownable.__gap (#609) shadows:
- Context.__gap (#421)
ERC20.__gap (#919) shadows:
- Context.__gap (#421)
Remove the state variable shadowing.
Additional information: link
Contract locking ether found:
Contract MGAS (#491-529) has payable functions:
- NFTMarket.constructor(address) (#463-465)
- Market.fallback() (#426-428)
- Market.receive() (#430-432)
- MGAS.constructor(address,address) (#492-501)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
Redundant expression "this (#417)" inContext (#400-422)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#930) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#931)
Prevent variables from having similar names.
Additional information: link
ERC20._burn(address,uint256) (#862-870) uses literals with too many digits:
- _balances[0x000000000000000000000000000000000000dEaD] = _balances[0x000000000000000000000000000000000000dEaD].add(amount) (#868)
ERC20._burn(address,uint256) (#862-870) uses literals with too many digits:
- Transfer(account,0x000000000000000000000000000000000000dEaD,amount) (#869)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Initializable.______gap (#382) is never used in MGas (#1133-1142)
Ownable.__gap (#609) is never used in MGas (#1133-1142)
Remove unused state variables.
Additional information: link
MGAS.constructor(address,address)._customer (#494) shadows:
- MGAS._customer() (#517-523) (function)
Rename the local variables that shadow another component.
Additional information: link
Modifier MGAS.isCustomer() (#505-511) does not always execute _; or revert
All the paths in a modifier must execute _ or revert.
Additional information: link
Address.isContract(address) (#246-253) uses assembly
- INLINE ASM (#249-251)
Address._functionCallWithValue(address,bytes,uint256,string) (#293-319) uses assembly
- INLINE ASM (#311-314)
Initializable.isConstructor() (#369-379) uses assembly
- INLINE ASM (#377)
Market._act(address) (#436-452) uses assembly
- INLINE ASM (#437-451)
NFTMarket._nft() (#469-474) uses assembly
- INLINE ASM (#471-473)
NFTMarket._setBusiness(address) (#480-488) uses assembly
- INLINE ASM (#485-487)
MGAS.constructor(address,address) (#492-501) uses assembly
- INLINE ASM (#498-500)
MGAS._customer() (#517-523) uses assembly
- INLINE ASM (#520-522)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.4.24<0.7.0', '>=0.6.0<0.8.0', '^0.6.0']
- ^0.6.0 (#5)
- ^0.6.0 (#166)
- 0.6.12 (#243)
- >=0.4.24<0.7.0 (#323)
- ^0.6.0 (#388)
- ^0.6.0 (#534)
- >=0.6.0<0.8.0 (#615)
- 0.6.12 (#1131)
Use one Solidity version.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#293-319) is never used and should be removed
Address.functionCall(address,bytes) (#263-265) is never used and should be removed
Address.functionCall(address,bytes,string) (#267-273) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#275-281) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#283-291) is never used and should be removed
Address.sendValue(address,uint256) (#255-261) is never used and should be removed
Context.__Context_init() (#404-406) is never used and should be removed
Context._msgData() (#416-419) is never used and should be removed
ERC20._burn(address,uint256) (#862-870) is never used and should be removed
Market._nft() (#434) is never used and should be removed
SafeMath.div(uint256,uint256) (#105-107) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#121-127) is never used and should be removed
SafeMath.mod(uint256,uint256) (#141-143) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#157-160) is never used and should be removed
SafeMath.mul(uint256,uint256) (#79-91) is never used and should be removed
SafeMath.sub(uint256,uint256) (#48-50) 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 (#166) allows old versions
Pragma version>=0.4.24<0.7.0 (#323) allows old versions
Pragma version^0.6.0 (#388) allows old versions
Pragma version^0.6.0 (#534) allows old versions
Pragma version>=0.6.0<0.8.0 (#615) is too complex
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) (#255-261):
- (success) = recipient.call{value: amount}() (#259)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#293-319):
- (success,returndata) = target.call{value: weiValue}(data) (#302)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Initializable.______gap (#382) is not in mixedCase
Function Context.__Context_init() (#404-406) is not in mixedCase
Function Context.__Context_init_unchained() (#408-409) is not in mixedCase
Variable Context.__gap (#421) is not in mixedCase
Function MGAS.Approve(address) (#513-515) is not in mixedCase
Function Ownable.__Ownable_init() (#557-560) is not in mixedCase
Function Ownable.__Ownable_init_unchained() (#562-569) is not in mixedCase
Variable Ownable.__gap (#609) is not in mixedCase
Function ERC20.__ERC20_init(string,string) (#663-666) is not in mixedCase
Function ERC20.__ERC20_init_unchained(string,string) (#668-672) is not in mixedCase
Variable ERC20.__gap (#919) is not in mixedCase
Variable ERC20._balances (#644) is not in mixedCase
Variable ERC20._allowances (#646) is not in mixedCase
Variable ERC20._totalSupply (#648) is not in mixedCase
Variable ERC20._name (#650) is not in mixedCase
Variable ERC20._symbol (#651) is not in mixedCase
Variable ERC20._decimals (#652) is not in mixedCase
Function IUniswapV2Router01.WETH() (#925) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#1092) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#1093) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#1110) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#575-577)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#594-597)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#603-607)
name() should be declared external:
- ERC20.name() (#677-679)
symbol() should be declared external:
- ERC20.symbol() (#685-687)
decimals() should be declared external:
- ERC20.decimals() (#702-704)
totalSupply() should be declared external:
- ERC20.totalSupply() (#709-711)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#716-718)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#728-731)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#736-738)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#747-750)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#765-769)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#783-786)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#802-805)
initialize() should be declared external:
- MGas.initialize() (#1134-1140)
Use the external attribute for functions never called from the contract.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
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.
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Youtube account