Soku is the governance token for SokuSwap, a decentralized exchange that operates on the Binance Smart Chain and the Ethereum Blockchain.
Soku is a completely decentralized BEP-20 token. There is no ownership. The token is non-mintable and non-burnable, with a set total amount at 222,222,222.
It's a governance token which means, it gives you the right to vote on future updates on SokuSwap.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Soku._writeCheckpoint(address,uint32,uint256,uint256) (#969-987) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#979)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
BEP20.constructor(string,string).name (#518) shadows:
- BEP20.name() (#527-529) (function)
- IBEP20.name() (#53) (function)
BEP20.constructor(string,string).symbol (#518) shadows:
- BEP20.symbol() (#541-543) (function)
- IBEP20.symbol() (#48) (function)
Soku.constructor().totalSupply (#765) shadows:
- BEP20.totalSupply() (#548-550) (function)
- IBEP20.totalSupply() (#38) (function)
Rename the local variables that shadow another component.
Additional information: link
Soku.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#835-876) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,SOKU::delegateBySig: signature expired) (#874)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#333-344) uses assembly
- INLINE ASM (#340-342)
Address._functionCallWithValue(address,bytes,uint256,string) (#441-467) uses assembly
- INLINE ASM (#459-462)
Soku.getChainId() (#994-998) uses assembly
- INLINE ASM (#996)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#441-467) is never used and should be removed
Address.functionCall(address,bytes) (#388-390) is never used and should be removed
Address.functionCall(address,bytes,string) (#398-404) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#417-423) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#431-439) is never used and should be removed
Address.isContract(address) (#333-344) is never used and should be removed
Address.sendValue(address,uint256) (#362-368) is never used and should be removed
BEP20._burn(address,uint256) (#712-718) is never used and should be removed
BEP20._burnFrom(address,uint256) (#751-758) is never used and should be removed
Context._msgData() (#26-29) is never used and should be removed
SafeMath.div(uint256,uint256) (#227-229) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#243-253) is never used and should be removed
SafeMath.min(uint256,uint256) (#292-294) is never used and should be removed
SafeMath.mod(uint256,uint256) (#267-269) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#283-290) is never used and should be removed
SafeMath.mul(uint256,uint256) (#201-213) is never used and should be removed
SafeMath.sqrt(uint256) (#297-308) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#362-368):
- (success) = recipient.call{value: amount}() (#366)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#441-467):
- (success,returndata) = target.call{value: weiValue}(data) (#450)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Soku._delegates (#777) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#27)" inContext (#17-30)
Remove redundant statements if they congest code but offer no value.
Additional information: link
decimals() should be declared external:
- BEP20.decimals() (#534-536)
symbol() should be declared external:
- BEP20.symbol() (#541-543)
totalSupply() should be declared external:
- BEP20.totalSupply() (#548-550)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#567-570)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#575-577)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#586-589)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#603-615)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#629-632)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#648-655)
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 whitepaper link on the website
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Telegram account link seems to be invalid
Unable to find Youtube account