CryptoBlades is an NFT blockchain game on Binance Smart Chain
CoinToken.constructor(string,string,uint256,uint256,address).tokenOwner (#234) lacks a zero-check on :
- owner = tokenOwner (#240)
Check that the address is not zero.
Additional information: link
StandardToken.transfer(address,uint256) (#125-135) compares to a boolean constant:
-require(bool)(tokenBlacklist[msg.sender] == false) (#126)
StandardToken.transferFrom(address,address,uint256) (#142-153) compares to a boolean constant:
-require(bool)(tokenBlacklist[msg.sender] == false) (#143)
Remove the equality to the boolean constant.
Additional information: link
SafeMath.mul(uint256,uint256) (#4-11) is never used and should be removed
SafeMath.div(uint256,uint256) (#13-18) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.4.24 is not recommended for deployment
Pragma version^0.4.24 (#1) allows old versions
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
Parameter PausableToken.transferFrom(address,address,uint256)._from (#204) is not in mixedCase
Parameter CoinToken.burn(uint256)._value (#244) is not in mixedCase
Parameter StandardToken.allowance(address,address)._spender (#163) is not in mixedCase
Parameter StandardToken.approve(address,uint256)._value (#156) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._to (#204) is not in mixedCase
Parameter StandardToken.allowance(address,address)._owner (#163) is not in mixedCase
Parameter StandardToken.transfer(address,uint256)._value (#125) is not in mixedCase
Parameter StandardToken.transfer(address,uint256)._to (#125) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._from (#142) is not in mixedCase
Parameter PausableToken.approve(address,uint256)._spender (#208) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._to (#142) is not in mixedCase
Parameter PausableToken.decreaseApproval(address,uint256)._subtractedValue (#216) is not in mixedCase
Parameter StandardToken.approve(address,uint256)._spender (#156) is not in mixedCase
Parameter StandardToken.increaseApproval(address,uint256)._spender (#168) is not in mixedCase
Parameter StandardToken.decreaseApproval(address,uint256)._spender (#174) is not in mixedCase
Parameter StandardToken.increaseApproval(address,uint256)._addedValue (#168) is not in mixedCase
Parameter PausableToken.increaseApproval(address,uint256)._addedValue (#212) is not in mixedCase
Parameter StandardToken.decreaseApproval(address,uint256)._subtractedValue (#174) is not in mixedCase
Parameter PausableToken.transfer(address,uint256)._value (#200) is not in mixedCase
Parameter PausableToken.decreaseApproval(address,uint256)._spender (#216) is not in mixedCase
Parameter PausableToken.increaseApproval(address,uint256)._spender (#212) is not in mixedCase
Parameter PausableToken.transfer(address,uint256)._to (#200) is not in mixedCase
Parameter PausableToken.approve(address,uint256)._value (#208) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._value (#204) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._value (#142) is not in mixedCase
Parameter StandardToken.balanceOf(address)._owner (#138) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
pause() should be declared external:
- Pausable.pause() (#85-88)
balanceOf(address) should be declared external:
- ERC20Basic.balanceOf(address) (#101)
- StandardToken.balanceOf(address) (#138-140)
mint(address,uint256) should be declared external:
- CoinToken.mint(address,uint256) (#256-262)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#51-55)
unpause() should be declared external:
- Pausable.unpause() (#93-96)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#107)
- StandardToken.allowance(address,address) (#163-165)
burn(uint256) should be declared external:
- CoinToken.burn(uint256) (#244-246)
blackListAddress(address,bool) should be declared external:
- PausableToken.blackListAddress(address,bool) (#220-222)
Use the external attribute for functions never called from the contract.
Additional information: link
Twitter account link seems to be invalid
Unable to find Youtube account