BSC autofarming Octree token.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
OCToken.allowance(address,address).owner (contracts/OCToken.sol#533) shadows:
- Ownable.owner() (contracts/OCToken.sol#442-444) (function)
OCToken._approve(address,address,uint256).owner (contracts/OCToken.sol#618) shadows:
- Ownable.owner() (contracts/OCToken.sol#442-444) (function)
Rename the local variables that shadow another component.
Additional information: link
OCToken._setTaxFee(uint256) (contracts/OCToken.sol#749-751) should emit an event for:
- _taxFee = taxFee (contracts/OCToken.sol#750)
OCToken._setBurnFee(uint256) (contracts/OCToken.sol#753-755) should emit an event for:
- _burnFee = burnFee (contracts/OCToken.sol#754)
Emit an event for critical parameter changes.
Additional information: link
Address.isContract(address) (contracts/OCToken.sol#296-305) uses assembly
- INLINE ASM (contracts/OCToken.sol#303)
Address._functionCallWithValue(address,bytes,uint256,string) (contracts/OCToken.sol#389-410) uses assembly
- INLINE ASM (contracts/OCToken.sol#402-405)
Do not use evm assembly.
Additional information: link
OCToken.includeAccount(address) (contracts/OCToken.sol#605-616) has costly operations inside a loop:
- _excluded.pop() (contracts/OCToken.sol#612)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (contracts/OCToken.sol#389-410) is never used and should be removed
Address.functionCall(address,bytes) (contracts/OCToken.sol#349-351) is never used and should be removed
Address.functionCall(address,bytes,string) (contracts/OCToken.sol#359-361) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (contracts/OCToken.sol#374-376) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (contracts/OCToken.sol#384-387) is never used and should be removed
Address.isContract(address) (contracts/OCToken.sol#296-305) is never used and should be removed
Address.sendValue(address,uint256) (contracts/OCToken.sol#323-329) is never used and should be removed
Context._msgData() (contracts/OCToken.sol#36-39) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/OCToken.sol#253-255) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/OCToken.sol#269-272) is never used and should be removed
Remove unused functions.
Additional information: link
OCToken._rTotal (contracts/OCToken.sol#491) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.6.0 (contracts/OCToken.sol#29) 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
Low level call in Address.sendValue(address,uint256) (contracts/OCToken.sol#323-329):
- (success) = recipient.call{value: amount}() (contracts/OCToken.sol#327)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (contracts/OCToken.sol#389-410):
- (success,returndata) = target.call{value: weiValue}(data) (contracts/OCToken.sol#393)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function OCToken._getTaxFee() (contracts/OCToken.sol#737-739) is not in mixedCase
Function OCToken._getBurnFee() (contracts/OCToken.sol#741-743) is not in mixedCase
Function OCToken._getMaxTxAmount() (contracts/OCToken.sol#745-747) is not in mixedCase
Function OCToken._setTaxFee(uint256) (contracts/OCToken.sol#749-751) is not in mixedCase
Function OCToken._setBurnFee(uint256) (contracts/OCToken.sol#753-755) is not in mixedCase
Constant OCToken._decimals (contracts/OCToken.sol#488) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OCToken._name (contracts/OCToken.sol#495) is not in UPPER_CASE_WITH_UNDERSCORES
Constant OCToken._symbol (contracts/OCToken.sol#496) is not in UPPER_CASE_WITH_UNDERSCORES
Variable OCToken._max_tx_size (contracts/OCToken.sol#500) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (contracts/OCToken.sol#37)" inContext (contracts/OCToken.sol#31-40)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable OCToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#659) is too similar to OCToken._getValues(uint256).tTransferAmount (contracts/OCToken.sol#699)
Variable OCToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#659) is too similar to OCToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#659)
Variable OCToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (contracts/OCToken.sol#716) is too similar to OCToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#670)
Variable OCToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (contracts/OCToken.sol#716) is too similar to OCToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#681)
Variable OCToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#681) is too similar to OCToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#681)
Variable OCToken._transferStandard(address,address,uint256).rTransferAmount (contracts/OCToken.sol#649) is too similar to OCToken._getValues(uint256).tTransferAmount (contracts/OCToken.sol#699)
Variable OCToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#670) is too similar to OCToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#670)
Variable OCToken._transferStandard(address,address,uint256).rTransferAmount (contracts/OCToken.sol#649) is too similar to OCToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#659)
Variable OCToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#670) is too similar to OCToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#681)
Variable OCToken._transferStandard(address,address,uint256).rTransferAmount (contracts/OCToken.sol#649) is too similar to OCToken._transferStandard(address,address,uint256).tTransferAmount (contracts/OCToken.sol#649)
Variable OCToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#681) is too similar to OCToken._getValues(uint256).tTransferAmount (contracts/OCToken.sol#699)
Variable OCToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (contracts/OCToken.sol#716) is too similar to OCToken._getValues(uint256).tTransferAmount (contracts/OCToken.sol#699)
Variable OCToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/OCToken.sol#585) is too similar to OCToken._getValues(uint256).tTransferAmount (contracts/OCToken.sol#699)
Variable OCToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#681) is too similar to OCToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#659)
Variable OCToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (contracts/OCToken.sol#716) is too similar to OCToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#659)
Variable OCToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/OCToken.sol#585) is too similar to OCToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#659)
Variable OCToken._transferStandard(address,address,uint256).rTransferAmount (contracts/OCToken.sol#649) is too similar to OCToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#670)
Variable OCToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#670) is too similar to OCToken._getValues(uint256).tTransferAmount (contracts/OCToken.sol#699)
Variable OCToken._transferStandard(address,address,uint256).rTransferAmount (contracts/OCToken.sol#649) is too similar to OCToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#681)
Variable OCToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#670) is too similar to OCToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#659)
Variable OCToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#659) is too similar to OCToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#670)
Variable OCToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#670) is too similar to OCToken._transferStandard(address,address,uint256).tTransferAmount (contracts/OCToken.sol#649)
Variable OCToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#681) is too similar to OCToken._transferStandard(address,address,uint256).tTransferAmount (contracts/OCToken.sol#649)
Variable OCToken._getValues(uint256).rTransferAmount (contracts/OCToken.sol#701) is too similar to OCToken._transferStandard(address,address,uint256).tTransferAmount (contracts/OCToken.sol#649)
Variable OCToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#659) is too similar to OCToken._getTValues(uint256,uint256,uint256).tTransferAmount (contracts/OCToken.sol#708)
Variable OCToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/OCToken.sol#585) is too similar to OCToken._transferStandard(address,address,uint256).tTransferAmount (contracts/OCToken.sol#649)
Variable OCToken._getValues(uint256).rTransferAmount (contracts/OCToken.sol#701) is too similar to OCToken._getValues(uint256).tTransferAmount (contracts/OCToken.sol#699)
Variable OCToken._transferStandard(address,address,uint256).rTransferAmount (contracts/OCToken.sol#649) is too similar to OCToken._getTValues(uint256,uint256,uint256).tTransferAmount (contracts/OCToken.sol#708)
Variable OCToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (contracts/OCToken.sol#716) is too similar to OCToken._getTValues(uint256,uint256,uint256).tTransferAmount (contracts/OCToken.sol#708)
Variable OCToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/OCToken.sol#585) is too similar to OCToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#681)
Variable OCToken._getValues(uint256).rTransferAmount (contracts/OCToken.sol#701) is too similar to OCToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#681)
Variable OCToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#670) is too similar to OCToken._getTValues(uint256,uint256,uint256).tTransferAmount (contracts/OCToken.sol#708)
Variable OCToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#681) is too similar to OCToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#670)
Variable OCToken._getValues(uint256).rTransferAmount (contracts/OCToken.sol#701) is too similar to OCToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#670)
Variable OCToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#681) is too similar to OCToken._getTValues(uint256,uint256,uint256).tTransferAmount (contracts/OCToken.sol#708)
Variable OCToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/OCToken.sol#585) is too similar to OCToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#670)
Variable OCToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#659) is too similar to OCToken._transferStandard(address,address,uint256).tTransferAmount (contracts/OCToken.sol#649)
Variable OCToken._getValues(uint256).rTransferAmount (contracts/OCToken.sol#701) is too similar to OCToken._getTValues(uint256,uint256,uint256).tTransferAmount (contracts/OCToken.sol#708)
Variable OCToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/OCToken.sol#585) is too similar to OCToken._getTValues(uint256,uint256,uint256).tTransferAmount (contracts/OCToken.sol#708)
Variable OCToken._getValues(uint256).rTransferAmount (contracts/OCToken.sol#701) is too similar to OCToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#659)
Variable OCToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (contracts/OCToken.sol#716) is too similar to OCToken._transferStandard(address,address,uint256).tTransferAmount (contracts/OCToken.sol#649)
Variable OCToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/OCToken.sol#659) is too similar to OCToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/OCToken.sol#681)
Prevent variables from having similar names.
Additional information: link
OCToken._max_tx_size (contracts/OCToken.sol#500) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/OCToken.sol#461-464)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/OCToken.sol#470-474)
name() should be declared external:
- OCToken.name() (contracts/OCToken.sol#507-509)
symbol() should be declared external:
- OCToken.symbol() (contracts/OCToken.sol#511-513)
decimals() should be declared external:
- OCToken.decimals() (contracts/OCToken.sol#515-517)
totalSupply() should be declared external:
- OCToken.totalSupply() (contracts/OCToken.sol#519-521)
balanceOf(address) should be declared external:
- OCToken.balanceOf(address) (contracts/OCToken.sol#523-526)
transfer(address,uint256) should be declared external:
- OCToken.transfer(address,uint256) (contracts/OCToken.sol#528-531)
allowance(address,address) should be declared external:
- OCToken.allowance(address,address) (contracts/OCToken.sol#533-535)
approve(address,uint256) should be declared external:
- OCToken.approve(address,uint256) (contracts/OCToken.sol#537-540)
transferFrom(address,address,uint256) should be declared external:
- OCToken.transferFrom(address,address,uint256) (contracts/OCToken.sol#542-546)
increaseAllowance(address,uint256) should be declared external:
- OCToken.increaseAllowance(address,uint256) (contracts/OCToken.sol#548-551)
decreaseAllowance(address,uint256) should be declared external:
- OCToken.decreaseAllowance(address,uint256) (contracts/OCToken.sol#553-556)
isExcluded(address) should be declared external:
- OCToken.isExcluded(address) (contracts/OCToken.sol#558-560)
totalFees() should be declared external:
- OCToken.totalFees() (contracts/OCToken.sol#562-564)
totalBurn() should be declared external:
- OCToken.totalBurn() (contracts/OCToken.sol#566-568)
deliver(uint256) should be declared external:
- OCToken.deliver(uint256) (contracts/OCToken.sol#570-577)
reflectionFromToken(uint256,bool) should be declared external:
- OCToken.reflectionFromToken(uint256,bool) (contracts/OCToken.sol#579-588)
_getTaxFee() should be declared external:
- OCToken._getTaxFee() (contracts/OCToken.sol#737-739)
_getBurnFee() should be declared external:
- OCToken._getBurnFee() (contracts/OCToken.sol#741-743)
_getMaxTxAmount() should be declared external:
- OCToken._getMaxTxAmount() (contracts/OCToken.sol#745-747)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Contract has 3% buy tax and 2% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Token is deployed only at one blockchain
Token was delisted from CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find audit link on the website
Unable to find whitepaper link on the website
Token is not listed at Mobula.Finance
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Last post in Twitter was more than 180 days ago
Unable to find Youtube account
Unable to find Discord account