Ancient Kingdom is the 1st ancient martial arts game on the blockchain platform, pioneering the realization of real-time games on the blockchain platform
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
SafeMath.mul(uint256,uint256) (#256-258) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#199-204) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#211-216) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#303-312) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#157-163) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#352-361) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#326-335) is never used and should be removed
Context._msgData() (#379-381) is never used and should be removed
SafeMath.mod(uint256,uint256) (#286-288) is never used and should be removed
SafeMath.div(uint256,uint256) (#270-272) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#182-192) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#170-175) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.10 is not recommended for deployment
Pragma version0.8.10 (#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
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
Constant AncientKingdomToken.deadWallet (#459) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter AncientKingdomToken.batchTransfer(address[],uint256[])._amounts (#485) is not in mixedCase
Parameter AncientKingdomToken.batchTransfer(address[],uint256[])._receivers (#485) is not in mixedCase
Parameter AncientKingdomToken.burnDead(uint256)._value (#528) is not in mixedCase
Variable AncientKingdomToken._totalSupply (#460) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in AncientKingdomToken.retrieveMainBalance() (#535-538):
External calls:
- address(owner()).transfer(address(this).balance) (#536)
Event emitted after the call(s):
- RetrieveMainBalance(msg.sender) (#537)
Apply the check-effects-interactions pattern.
Additional information: link
AncientKingdomToken.slitherConstructorConstantVariables() (#450-540) uses literals with too many digits:
- deadWallet = address(0x000000000000000000000000000000000000dEaD) (#459)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
AncientKingdomToken._totalSupply (#460) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
balanceOf(address) should be declared external:
- AncientKingdomToken.balanceOf(address) (#473-475)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find token contract audit
Unable to find audit 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 price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death