LEO is the first metasverse game application in SGR ecology. In the future, it will revolve around eight elements of the metasurverse: Identity, friends, immersive, low latency, pluralism, anywhere, economic system and culture, makes a game by the social attribute, the attribute, scrip attribute as one of the perfect combination, and through this social + + game flat t the combination of economic, can satisfy people work and play in the virtual world, consumer demand, Thus presenting a METAVERSE classic ecology
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
LEO.setRate(uint256,uint256,uint256,uint256) (#322-337) should emit an event for:
- shareRate = _shareRate (#333)
- devRate = _devRate (#334)
- buyRate = _buyRate (#335)
- sellRate = _sellRate (#336)
LEO.testSetStartTime(uint256) (#354-358) should emit an event for:
- startTradeTime = _time (#357)
Emit an event for critical parameter changes.
Additional information: link
Ownable.constructor(address)._addr (#24) lacks a zero-check on :
- _owner = _addr (#25)
LEO.constructor(address,uint256,address,address,address)._devAddr (#192) lacks a zero-check on :
- devAddr = _devAddr (#199)
LEO.constructor(address,uint256,address,address,address)._mintPoolAddr (#193) lacks a zero-check on :
- mintPoolAddr = _mintPoolAddr (#200)
LEO.setAddr(address,address)._devAddr (#340) lacks a zero-check on :
- devAddr = _devAddr (#343)
LEO.setAddr(address,address)._mintPoolAddr (#341) lacks a zero-check on :
- mintPoolAddr = _mintPoolAddr (#344)
Check that the address is not zero.
Additional information: link
Reentrancy in LEO._beforeTokenTransfer(address,address,uint256) (#206-249):
External calls:
- RP.father(_to) == address(0) (#212)
- sendReff(_to,_from) (#213)
- RP.otherCallSetRelationship(_son,_father) (#256)
State variables written after the call(s):
- _balances[RP.getFather(_to)] = _balances[RP.getFather(_to)] + (_amount * shareRate / 100) (#226)
- _balances[devAddr] = _balances[devAddr] + (_amount * devRate / 100) (#227)
- _balances[mintPoolAddr] = _balances[mintPoolAddr] + (_amount * buyRate / 100) (#228)
- _balances[RP.getFather(_from)] = _balances[RP.getFather(_from)] + (_amount * shareRate / 100) (#236)
- _balances[devAddr] = _balances[devAddr] + (_amount * devRate / 100) (#237)
- _balances[mintPoolAddr] = _balances[mintPoolAddr] + (_amount * sellRate / 100) (#238)
- _balances[RP.getFather(_to)] = _balances[RP.getFather(_to)] + (_amount * shareRate / 100) (#241)
- _balances[devAddr] = _balances[devAddr] + (_amount * devRate / 100) (#242)
- _balances[mintPoolAddr] = _balances[mintPoolAddr] + (_amount * sellRate / 100) (#243)
Apply the check-effects-interactions pattern.
Additional information: link
LEO._beforeTokenTransfer(address,address,uint256) (#206-249) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= startTradeTime,not start exchange) (#223)
- require(bool)(fiveWriteList[_to] || block.timestamp >= startTradeTime + _FIVE_MIN) (#224)
- require(bool,string)(block.timestamp >= startTradeTime,not start exchange) (#233)
- require(bool)(fiveWriteList[_from] || block.timestamp >= startTradeTime + _FIVE_MIN) (#234)
Avoid relying on block.timestamp.
Additional information: link
ERC20._transfer(address,address,uint256) (#141-151) compares to a boolean constant:
-require(bool,string)(blackList[msg.sender] == false && blackList[sender] == false && blackList[recipient] == false,ERC20: is black List !) (#143)
Remove the equality to the boolean constant.
Additional information: link
ERC20._beforeTokenTransfer(address,address,uint256) (#169) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.1 (#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6
solc-0.8.1 is not recommended for deployment
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
Contract relationship (#3-10) is not in CapWords
Variable ERC20._balances (#68) is not in mixedCase
Parameter LEO.sendReff(address,address)._son (#252) is not in mixedCase
Parameter LEO.sendReff(address,address)._father (#253) is not in mixedCase
Parameter LEO.setPair(address,bool)._addr (#290) is not in mixedCase
Parameter LEO.setPair(address,bool)._isUSDT (#291) is not in mixedCase
Parameter LEO.setWhiteList(address,uint256,bool)._addr (#301) is not in mixedCase
Parameter LEO.setWhiteList(address,uint256,bool)._type (#302) is not in mixedCase
Parameter LEO.setWhiteList(address,uint256,bool)._YorN (#303) is not in mixedCase
Parameter LEO.setBlackList(address,bool)._addr (#316) is not in mixedCase
Parameter LEO.setBlackList(address,bool)._YorN (#317) is not in mixedCase
Parameter LEO.setRate(uint256,uint256,uint256,uint256)._shareRate (#323) is not in mixedCase
Parameter LEO.setRate(uint256,uint256,uint256,uint256)._devRate (#324) is not in mixedCase
Parameter LEO.setRate(uint256,uint256,uint256,uint256)._buyRate (#325) is not in mixedCase
Parameter LEO.setRate(uint256,uint256,uint256,uint256)._sellRate (#326) is not in mixedCase
Parameter LEO.setAddr(address,address)._devAddr (#340) is not in mixedCase
Parameter LEO.setAddr(address,address)._mintPoolAddr (#341) is not in mixedCase
Parameter LEO.setRP(address)._addr (#348) is not in mixedCase
Parameter LEO.testSetStartTime(uint256)._time (#355) is not in mixedCase
Variable LEO.pair_USDT (#174) is not in mixedCase
Variable LEO.RP (#175) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#51-54)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#60-64)
name() should be declared external:
- ERC20.name() (#91-93)
symbol() should be declared external:
- ERC20.symbol() (#95-97)
decimals() should be declared external:
- ERC20.decimals() (#99-101)
totalSupply() should be declared external:
- ERC20.totalSupply() (#103-105)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#111-114)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#116-118)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#120-123)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#125-129)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#131-134)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#136-139)
setRP(address) should be declared external:
- LEO.setRP(address) (#347-351)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to crawl data from the website
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
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
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap 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