An NFT Game " Play To Earn " with Virtual Vision
- Group: https://t.me/samuraibattlesmb
- Youtube: https://bit.ly/3ogf3qi
- Twitter: https://twitter.com/Samurai_Battle
- Website: https://samuraibattle.net/
SMB._balances (#997) shadows:
- ERC20._balances (#154)
SMB._allowances (#996) shadows:
- ERC20._allowances (#156)
SMB._totalSupply (#984) shadows:
- ERC20._totalSupply (#158)
Remove the state variable shadowing.
Additional information: link
SMB.allowance(address,address).owner (#1014) shadows:
- Ownable.owner() (#504-506) (function)
SMB._approve(address,address,uint256).owner (#1033) shadows:
- Ownable.owner() (#504-506) (function)
SMB.balanceOf(address).owner (#1130) shadows:
- Ownable.owner() (#504-506) (function)
Rename the local variables that shadow another component.
Additional information: link
SMB.antiWhale(address,address,uint256) (#1139-1164) uses timestamp for comparisons
Dangerous comparisons:
- antiWhaleStart < curTime && curTime < antiWhaleEnd && ! whitelist[_recipient] (#1145)
- antiWhaleStart < curTime && curTime < antiWhaleEnd && ! whitelist[_sender] (#1154)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#563-573) uses assembly
- INLINE ASM (#569-571)
Address.verifyCallResult(bool,bytes,string) (#732-752) uses assembly
- INLINE ASM (#744-747)
Do not use evm assembly.
Additional information: link
Address.functionCall(address,bytes) (#616-618) is never used and should be removed
Address.functionCall(address,bytes,string) (#626-632) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#645-651) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#659-670) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#705-707) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#715-724) is never used and should be removed
Address.functionStaticCall(address,bytes) (#678-680) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#688-697) is never used and should be removed
Address.isContract(address) (#563-573) is never used and should be removed
Address.sendValue(address,uint256) (#591-596) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#732-752) is never used and should be removed
Context._msgData() (#123-125) is never used and should be removed
ERC20._afterTokenTransfer(address,address,uint256) (#469-473) is never used and should be removed
ERC20._approve(address,address,uint256) (#423-433) is never used and should be removed
ERC20._beforeTokenTransfer(address,address,uint256) (#449-453) is never used and should be removed
ERC20._burn(address,uint256) (#393-408) is never used and should be removed
ERC20._mint(address,uint256) (#370-380) is never used and should be removed
ERC20._transfer(address,address,uint256) (#339-359) is never used and should be removed
SafeMath.div(uint256,uint256) (#884-886) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#940-949) is never used and should be removed
SafeMath.mod(uint256,uint256) (#900-902) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#966-975) is never used and should be removed
SafeMath.mul(uint256,uint256) (#870-872) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#771-777) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#813-818) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#825-830) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#796-806) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#784-789) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.2 (#6) allows old versions
solc-0.8.2 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
Low level call in Address.sendValue(address,uint256) (#591-596):
- (success) = recipient.call{value: amount}() (#594)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#659-670):
- (success,returndata) = target.call{value: value}(data) (#668)
Low level call in Address.functionStaticCall(address,bytes,string) (#688-697):
- (success,returndata) = target.staticcall(data) (#695)
Low level call in Address.functionDelegateCall(address,bytes,string) (#715-724):
- (success,returndata) = target.delegatecall(data) (#722)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter SMB.setWhitelist(address,bool)._addr (#1010) is not in mixedCase
Parameter SMB.setWhitelist(address,bool)._isWL (#1010) is not in mixedCase
Parameter SMB.setAntiWhale(bool)._isAntiWhale (#1134) is not in mixedCase
Parameter SMB.antiWhale(address,address,uint256)._sender (#1140) is not in mixedCase
Parameter SMB.antiWhale(address,address,uint256)._recipient (#1141) is not in mixedCase
Parameter SMB.antiWhale(address,address,uint256)._amount (#1142) is not in mixedCase
Parameter SMB.setMaxSell(uint256)._maxSell (#1166) is not in mixedCase
Parameter SMB.setMaxBuy(uint256)._maxBuy (#1171) is not in mixedCase
Parameter SMB.setAntiWhaleTime(uint256,uint256)._antiWhaleStart (#1178) is not in mixedCase
Parameter SMB.setAntiWhaleTime(uint256,uint256)._antiWhaleEnd (#1179) is not in mixedCase
Parameter SMB.setLiquidPair(address)._lp (#1187) is not in mixedCase
Constant SMB._decimals (#982) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
SMB._totalSupply (#984) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#180-182)
symbol() should be declared external:
- ERC20.symbol() (#188-190)
decimals() should be declared external:
- ERC20.decimals() (#205-207)
totalSupply() should be declared external:
- ERC20.totalSupply() (#212-214)
- SMB.totalSupply() (#1126-1128)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#219-221)
- SMB.balanceOf(address) (#1130-1132)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#231-234)
- SMB.transfer(address,uint256) (#1075-1082)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#239-241)
- SMB.allowance(address,address) (#1014-1021)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#250-253)
- SMB.approve(address,uint256) (#1023-1030)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#268-282)
- SMB.transferFrom(address,address,uint256) (#1084-1101)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#296-299)
- SMB.increaseAllowance(address,uint256) (#1044-1056)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#315-323)
- SMB.decreaseAllowance(address,uint256) (#1058-1073)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#523-525)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#531-534)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to verify token contract address on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / 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
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Unable to find Blog account (Reddit or Medium)
Unable to find Discord account