Tokoin, a Technology company
Providing blockchain solutions to business, individuals and governments. Proudly backed by local government bodies.
At the heart of it all it’s our premiere $TOKO token which is an integral part of our current and future projects developments in NFT, De-fi, Play To Earn Games, Layer 2 Solution and our very own Tokoin Foundation.
Currently $TOKO is utilised by an NFT Play To Earn game, The Realm of Frontera, to purchase it’s NFT and as it’s utility and reward token.
Our Vision and Mission is to make blockchain technology accessible and easy to use by everyone and useful for it’s community
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
TokenAdmin.addAdmin(address,uint256,uint256).i (#702) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
BEP20.constructor(string,string,uint8).name (#352) shadows:
- BEP20.name() (#382-384) (function)
- IBEP20.name() (#12) (function)
BEP20.constructor(string,string,uint8).symbol (#352) shadows:
- BEP20.symbol() (#375-377) (function)
- IBEP20.symbol() (#17) (function)
BEP20.constructor(string,string,uint8).decimals (#352) shadows:
- BEP20.decimals() (#368-370) (function)
- IBEP20.decimals() (#22) (function)
BEP20.allowance(address,address).owner (#416) shadows:
- Ownable.owner (#292) (state variable)
BEP20._approve(address,address,uint256).owner (#571) shadows:
- Ownable.owner (#292) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Ownable.transferOwnership(address) (#314-318) should emit an event for:
- owner = newOwner (#316)
- owner = newOwner (#316)
Emit an event for critical parameter changes.
Additional information: link
BEP20._burnFrom(address,uint256) (#585-588) is never used and should be removed
Context._msgData() (#279-283) is never used and should be removed
SafeMath.div(uint256,uint256) (#198-200) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#215-222) is never used and should be removed
SafeMath.mod(uint256,uint256) (#235-237) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#252-255) is never used and should be removed
SafeMath.mul(uint256,uint256) (#173-185) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.5 (#1) is too complex
solc-0.5.0 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
Constant Configurable.cap (#597) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter BlackList.getBlackListStatus(address)._maker (#603) is not in mixedCase
Parameter BlackList.addBlackList(address)._evilUser (#613) is not in mixedCase
Parameter BlackList.removeBlackList(address)._clearedUser (#618) is not in mixedCase
Event TokoinToken__transferByAdmin(bytes32) (#719) is not in CapWords
Event TokoinToken__issue(bytes32) (#720) is not in CapWords
Event TokoinToken__redeem(bytes32) (#721) is not in CapWords
Parameter TokoinToken.destroyBlackFunds(address)._blackListedUser (#800) is not in mixedCase
Parameter TokoinToken.transfer(address,uint256)._to (#824) is not in mixedCase
Parameter TokoinToken.transfer(address,uint256)._value (#824) is not in mixedCase
Parameter TokoinToken.transferFrom(address,address,uint256)._from (#834) is not in mixedCase
Parameter TokoinToken.transferFrom(address,address,uint256)._to (#835) is not in mixedCase
Parameter TokoinToken.transferFrom(address,address,uint256)._value (#836) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#280)" inContext (#270-284)
Remove redundant statements if they congest code but offer no value.
Additional information: link
TokoinToken.slitherConstructorConstantVariables() (#717-842) uses literals with too many digits:
- cap = 2000000000 * 10 ** 18 (#597)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#314-318)
decimals() should be declared external:
- BEP20.decimals() (#368-370)
symbol() should be declared external:
- BEP20.symbol() (#375-377)
name() should be declared external:
- BEP20.name() (#382-384)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#416-418)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#427-430)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#462-465)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#481-484)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#494-497)
addBlackList(address) should be declared external:
- BlackList.addBlackList(address) (#613-616)
removeBlackList(address) should be declared external:
- BlackList.removeBlackList(address) (#618-621)
pause() should be declared external:
- Pausable.pause() (#656-659)
unpause() should be declared external:
- Pausable.unpause() (#664-667)
removeAdmin(address) should be declared external:
- TokenAdmin.removeAdmin(address) (#711-714)
transferByAdmin(address,address,uint256,bytes32) should be declared external:
- TokoinToken.transferByAdmin(address,address,uint256,bytes32) (#741-749)
issue(address,uint256,bytes32) should be declared external:
- TokoinToken.issue(address,uint256,bytes32) (#751-757)
issueByAdmin(address,uint256,bytes32) should be declared external:
- TokoinToken.issueByAdmin(address,uint256,bytes32) (#759-776)
destroyBlackFunds(address) should be declared external:
- TokoinToken.destroyBlackFunds(address) (#800-808)
redeem(address,uint256,bytes32) should be declared external:
- TokoinToken.redeem(address,uint256,bytes32) (#815-822)
Use the external attribute for functions never called from the contract.
Additional information: link
Token has relatively low CoinGecko rank