Tarality commissioned Antier Solutions to perform an end-to-end source code review of their Solidity Smart Contract. Team Antier Solutions (referred to as TAS throughout the report) performed the audit on 21st September 2021.
The following report discusses severity issues and their scope of rectification through change recommendations. It also highlights activities that are successfully executed and others that need total reworking (if any).
The report emphasizes best practices in coding and the security vulnerabilities if any.
The information in this report should be used to understand the overall code quality, security, and correctness of the Smart Contract. The analysis is static and entirely limited to the Smart Contract code.
In the audit, we reviewed the Smart Contract’s code that implements the token mechanism
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Tarality.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
SafeMath.div(uint256,uint256) (#13-18) is never used and should be removed
SafeMath.mul(uint256,uint256) (#4-11) is never used and should be removed
Remove unused functions.
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
Pragma version^0.4.24 (#1) allows old versions
solc-0.4.26 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
Parameter StandardToken.transfer(address,uint256)._to (#125) is not in mixedCase
Parameter StandardToken.transfer(address,uint256)._value (#125) is not in mixedCase
Parameter StandardToken.balanceOf(address)._owner (#138) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._from (#142) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._to (#142) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._value (#142) is not in mixedCase
Parameter StandardToken.approve(address,uint256)._spender (#156) is not in mixedCase
Parameter StandardToken.approve(address,uint256)._value (#156) is not in mixedCase
Parameter StandardToken.allowance(address,address)._owner (#163) is not in mixedCase
Parameter StandardToken.allowance(address,address)._spender (#163) is not in mixedCase
Parameter StandardToken.increaseApproval(address,uint256)._spender (#168) is not in mixedCase
Parameter StandardToken.increaseApproval(address,uint256)._addedValue (#168) is not in mixedCase
Parameter StandardToken.decreaseApproval(address,uint256)._spender (#174) is not in mixedCase
Parameter StandardToken.decreaseApproval(address,uint256)._subtractedValue (#174) is not in mixedCase
Parameter PausableToken.transfer(address,uint256)._to (#200) is not in mixedCase
Parameter PausableToken.transfer(address,uint256)._value (#200) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._from (#204) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._to (#204) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._value (#204) is not in mixedCase
Parameter PausableToken.approve(address,uint256)._spender (#208) is not in mixedCase
Parameter PausableToken.approve(address,uint256)._value (#208) is not in mixedCase
Parameter PausableToken.increaseApproval(address,uint256)._spender (#212) is not in mixedCase
Parameter PausableToken.increaseApproval(address,uint256)._addedValue (#212) is not in mixedCase
Parameter PausableToken.decreaseApproval(address,uint256)._spender (#216) is not in mixedCase
Parameter PausableToken.decreaseApproval(address,uint256)._subtractedValue (#216) is not in mixedCase
Parameter Tarality.burn(uint256)._value (#244) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#51-55)
pause() should be declared external:
- Pausable.pause() (#85-88)
unpause() should be declared external:
- Pausable.unpause() (#93-96)
balanceOf(address) should be declared external:
- ERC20Basic.balanceOf(address) (#101)
- StandardToken.balanceOf(address) (#138-140)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#107)
- StandardToken.allowance(address,address) (#163-165)
blackListAddress(address,bool) should be declared external:
- PausableToken.blackListAddress(address,bool) (#220-222)
burn(uint256) should be declared external:
- Tarality.burn(uint256) (#244-246)
mint(address,uint256) should be declared external:
- Tarality.mint(address,uint256) (#256-262)
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 code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account