SOHM is a hybrid of SafeMoon and OHM, a decentralized financial reserve protocol that provides compounding interest through its community-owned and protected treasury. $SOHM is backed by BNB in the treasury, giving it an intrinsic value.
$SOHM also introduces a better (3,3) game-theory through staking ,bonding and selling penalty.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
VaultOwned.setVault(address) (#846-850) should emit an event for:
- _vault = vault_ (#847)
Emit an event for critical parameter changes.
Additional information: link
VaultOwned.setVault(address).vault_ (#846) lacks a zero-check on :
- _vault = vault_ (#847)
SOHMERC20Token.setBoundReward(address)._boundReward (#886) lacks a zero-check on :
- boundReward = _boundReward (#887)
Check that the address is not zero.
Additional information: link
ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#774-795) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deadline,Permit: expired deadline) (#783)
Avoid relying on block.timestamp.
Additional information: link
ERC20Permit.constructor() (#757-772) uses assembly
- INLINE ASM (#759-761)
Do not use evm assembly.
Additional information: link
SOHMERC20Token.transfer(address,uint256) (#896-905) compares to a boolean constant:
-whiteListed[msg.sender] == false && blackListed[recipient] == true (#898)
SOHMERC20Token.transferFrom(address,address,uint256) (#907-917) compares to a boolean constant:
-whiteListed[sender] == false && blackListed[recipient] == true (#909)
Remove the equality to the boolean constant.
Additional information: link
Counters.decrement(Counters.Counter) (#727-729) is never used and should be removed
EnumerableSet._add(EnumerableSet.Set,bytes32) (#29-39) is never used and should be removed
EnumerableSet._at(EnumerableSet.Set,uint256) (#106-109) is never used and should be removed
EnumerableSet._contains(EnumerableSet.Set,bytes32) (#85-87) is never used and should be removed
EnumerableSet._getValues(EnumerableSet.Set) (#111-113) is never used and should be removed
EnumerableSet._insert(EnumerableSet.Set,uint256,bytes32) (#120-126) is never used and should be removed
EnumerableSet._length(EnumerableSet.Set) (#92-94) is never used and should be removed
EnumerableSet._remove(EnumerableSet.Set,bytes32) (#47-80) is never used and should be removed
EnumerableSet.add(EnumerableSet.AddressSet,address) (#269-271) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes32Set,bytes32) (#202-204) is never used and should be removed
EnumerableSet.add(EnumerableSet.Bytes4Set,bytes4) (#138-140) is never used and should be removed
EnumerableSet.add(EnumerableSet.UInt256Set,uint256) (#395-397) is never used and should be removed
EnumerableSet.add(EnumerableSet.UintSet,uint256) (#343-345) is never used and should be removed
EnumerableSet.at(EnumerableSet.AddressSet,uint256) (#307-309) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes32Set,uint256) (#240-242) is never used and should be removed
EnumerableSet.at(EnumerableSet.Bytes4Set,uint256) (#176-178) is never used and should be removed
EnumerableSet.at(EnumerableSet.UInt256Set,uint256) (#433-435) is never used and should be removed
EnumerableSet.at(EnumerableSet.UintSet,uint256) (#381-383) is never used and should be removed
EnumerableSet.contains(EnumerableSet.AddressSet,address) (#286-288) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes32Set,bytes32) (#219-221) is never used and should be removed
EnumerableSet.contains(EnumerableSet.Bytes4Set,bytes4) (#155-157) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UInt256Set,uint256) (#412-414) is never used and should be removed
EnumerableSet.contains(EnumerableSet.UintSet,uint256) (#360-362) is never used and should be removed
EnumerableSet.getValues(EnumerableSet.AddressSet) (#315-324) is never used and should be removed
EnumerableSet.getValues(EnumerableSet.Bytes32Set) (#244-252) is never used and should be removed
EnumerableSet.getValues(EnumerableSet.Bytes4Set) (#180-186) is never used and should be removed
EnumerableSet.insert(EnumerableSet.AddressSet,uint256,address) (#326-328) is never used and should be removed
EnumerableSet.insert(EnumerableSet.Bytes32Set,uint256,bytes32) (#254-256) is never used and should be removed
EnumerableSet.insert(EnumerableSet.Bytes4Set,uint256,bytes4) (#188-190) is never used and should be removed
EnumerableSet.length(EnumerableSet.AddressSet) (#293-295) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes32Set) (#226-228) is never used and should be removed
EnumerableSet.length(EnumerableSet.Bytes4Set) (#162-164) is never used and should be removed
EnumerableSet.length(EnumerableSet.UInt256Set) (#419-421) is never used and should be removed
EnumerableSet.length(EnumerableSet.UintSet) (#367-369) is never used and should be removed
EnumerableSet.remove(EnumerableSet.AddressSet,address) (#279-281) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes32Set,bytes32) (#212-214) is never used and should be removed
EnumerableSet.remove(EnumerableSet.Bytes4Set,bytes4) (#148-150) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UInt256Set,uint256) (#405-407) is never used and should be removed
EnumerableSet.remove(EnumerableSet.UintSet,uint256) (#353-355) is never used and should be removed
SafeMath.average(uint256,uint256) (#587-590) is never used and should be removed
SafeMath.bondingCurve(uint256,uint256) (#596-598) is never used and should be removed
SafeMath.mod(uint256,uint256) (#553-555) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#557-560) is never used and should be removed
SafeMath.percentageAmount(uint256,uint8) (#575-577) is never used and should be removed
SafeMath.percentageOfTotal(uint256,uint256) (#583-585) is never used and should be removed
SafeMath.quadraticPricing(uint256,uint256) (#592-594) is never used and should be removed
SafeMath.sqrrt(uint256) (#562-573) is never used and should be removed
SafeMath.substractPercentage(uint256,uint8) (#579-581) is never used and should be removed
Remove unused functions.
Additional information: link
Variable ERC20._balances (#609) is not in mixedCase
Variable ERC20._allowances (#612) is not in mixedCase
Variable ERC20._totalSupply (#615) is not in mixedCase
Variable ERC20._name (#618) is not in mixedCase
Variable ERC20._symbol (#621) is not in mixedCase
Variable ERC20._decimals (#624) is not in mixedCase
Variable ERC20Permit.DOMAIN_SEPARATOR (#755) is not in mixedCase
Variable Ownable._owner (#812) is not in mixedCase
Variable VaultOwned._vault (#844) is not in mixedCase
Parameter SOHMERC20Token.setWhiteListed(address,bool)._white (#881) is not in mixedCase
Parameter SOHMERC20Token.setBoundReward(address)._boundReward (#886) is not in mixedCase
Function SOHMERC20Token._burnFrom(address,uint256) (#932-941) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
ERC20.ERC20TOKEN_ERC1820_INTERFACE_ID (#606) is never used in SOHMERC20Token (#863-943)
Remove unused state variables.
Additional information: link
SOHMERC20Token.num (#868) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
symbol() should be declared external:
- ERC20.symbol() (#636-638)
decimals() should be declared external:
- ERC20.decimals() (#640-642)
totalSupply() should be declared external:
- ERC20.totalSupply() (#644-646)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#648-650)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#656-659)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#662-665)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#667-670)
permit(address,address,uint256,uint256,uint8,bytes32,bytes32) should be declared external:
- ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#774-795)
nonces(address) should be declared external:
- ERC20Permit.nonces(address) (#797-799)
owner() should be declared external:
- Ownable.owner() (#821-823)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#830-833)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#835-839)
vault() should be declared external:
- VaultOwned.vault() (#852-854)
transfer(address,uint256) should be declared external:
- SOHMERC20Token.transfer(address,uint256) (#896-905)
transferFrom(address,address,uint256) should be declared external:
- SOHMERC20Token.transferFrom(address,address,uint256) (#907-917)
burn(uint256) should be declared external:
- SOHMERC20Token.burn(uint256) (#924-926)
burnFrom(address,uint256) should be declared external:
- SOHMERC20Token.burnFrom(address,uint256) (#928-930)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Youtube account