RiseCity is an NFT Play to Earn game live on the Binance Smart Chain (BSC) where you will have to build your own city
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
RiseCity.withdrawToken(address,uint256) (#207-210) ignores return value by tokenContract.transfer(msg.sender,_amount) (#209)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Contract creator or owner is blacklisted for past scams
Context._msgData() (#102-104) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.10 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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
RiseCity.maxMintPerWeek (#174) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
RiseCity.allowance(address,address).owner (#270) shadows:
- Ownable.owner() (#122-124) (function)
RiseCity._approve(address,address,uint256).owner (#482) shadows:
- Ownable.owner() (#122-124) (function)
Rename the local variables that shadow another component.
Additional information: link
RiseCity.setAntiBotTime(uint256) (#216-218) should emit an event for:
- antiBotTime = timesec (#217)
Emit an event for critical parameter changes.
Additional information: link
RiseCity._transfer(address,address,uint256) (#409-436) uses timestamp for comparisons
Dangerous comparisons:
- assert(bool)(whitelist[sender] == true || block.timestamp - lastTrans[sender] > antiBotTime) (#419)
- assert(bool)(whitelist[recipient] == true || block.timestamp - lastTrans[recipient] > antiBotTime) (#420)
RiseCity.mint(address,uint256) (#447-466) uses timestamp for comparisons
Dangerous comparisons:
- assert(bool)(block.timestamp - mintTimer > 604800) (#450)
Avoid relying on block.timestamp.
Additional information: link
RiseCity.transferFrom(address,address,uint256) (#336-352) compares to a boolean constant:
-assert(bool)(botBlackList[sender] != true) (#341)
RiseCity.transferFrom(address,address,uint256) (#336-352) compares to a boolean constant:
-assert(bool)(botBlackList[recipient] != true) (#342)
RiseCity._transfer(address,address,uint256) (#409-436) compares to a boolean constant:
-assert(bool)(whitelist[recipient] == true || block.timestamp - lastTrans[recipient] > antiBotTime) (#420)
RiseCity._transfer(address,address,uint256) (#409-436) compares to a boolean constant:
-assert(bool)(botBlackList[sender] != true) (#417)
RiseCity._transfer(address,address,uint256) (#409-436) compares to a boolean constant:
-assert(bool)(paused == false) (#414)
RiseCity._transfer(address,address,uint256) (#409-436) compares to a boolean constant:
-assert(bool)(botBlackList[recipient] != true) (#418)
RiseCity._transfer(address,address,uint256) (#409-436) compares to a boolean constant:
-assert(bool)(whitelist[sender] == true || block.timestamp - lastTrans[sender] > antiBotTime) (#419)
Remove the equality to the boolean constant.
Additional information: link
Parameter RiseCity.withdrawToken(address,uint256)._tokenContract (#207) is not in mixedCase
Parameter RiseCity.withdrawToken(address,uint256)._amount (#207) is not in mixedCase
Parameter RiseCity.setPaused(bool)._paused (#220) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
RiseCity.constructor() (#185-198) uses literals with too many digits:
- mint(msg.sender,187500000000) (#194)
RiseCity.constructor() (#185-198) uses literals with too many digits:
- mint(develop,37500000000) (#195)
RiseCity.constructor() (#185-198) uses literals with too many digits:
- mint(market,12500000000) (#196)
RiseCity.slitherConstructorVariables() (#161-533) uses literals with too many digits:
- maxMintPerWeek = 100000 (#174)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#141-143)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#149-152)
name() should be declared external:
- RiseCity.name() (#203-205)
symbol() should be declared external:
- RiseCity.symbol() (#212-214)
decimals() should be declared external:
- RiseCity.decimals() (#236-238)
totalSupply() should be declared external:
- RiseCity.totalSupply() (#243-245)
balanceOf(address) should be declared external:
- RiseCity.balanceOf(address) (#250-252)
transfer(address,uint256) should be declared external:
- RiseCity.transfer(address,uint256) (#262-265)
allowance(address,address) should be declared external:
- RiseCity.allowance(address,address) (#270-272)
approve(address,uint256) should be declared external:
- RiseCity.approve(address,uint256) (#281-284)
transferFrom(address,address,uint256) should be declared external:
- RiseCity.transferFrom(address,address,uint256) (#336-352)
increaseAllowance(address,uint256) should be declared external:
- RiseCity.increaseAllowance(address,uint256) (#366-369)
decreaseAllowance(address,uint256) should be declared external:
- RiseCity.decreaseAllowance(address,uint256) (#385-393)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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.
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 is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account