Cobra Token Logo

Cobra Token

ALERT: dead

About Cobra

Listings

Not Found
Token 2 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 24 February 2022

report
Code:


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

Cobra.allowance(address,address).owner (#525) shadows:
- Ownable.owner() (#406-408) (function)
Cobra._approve(address,address,uint256).owner (#654) shadows:
- Ownable.owner() (#406-408) (function)
Rename the local variables that shadow another component.

Additional information: link

Cobra.updateFee(uint256,uint256,uint256) (#628-635) should emit an event for:
- _TAX_FEE = _txFee * 100 (#629)
- _BURN_FEE = _burnFee * 100 (#630)
- _CHARITY_FEE = _charityFee * 100 (#631)
- ORIG_TAX_FEE = _TAX_FEE (#632)
- ORIG_BURN_FEE = _BURN_FEE (#633)
- ORIG_CHARITY_FEE = _CHARITY_FEE (#634)
Emit an event for critical parameter changes.

Additional information: link

Cobra.constructor(string,string,uint256,uint256,uint256,uint256,uint256,address,address)._FeeAddress (#478) lacks a zero-check on :
- FeeAddress = _FeeAddress (#492)
Cobra.constructor(string,string,uint256,uint256,uint256,uint256,uint256,address,address).tokenOwner (#478) lacks a zero-check on :
- _owner = tokenOwner (#493)
Check that the address is not zero.

Additional information: link

Address.isContract(address) (#268-277) uses assembly
- INLINE ASM (#275)
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) uses assembly
- INLINE ASM (#374-377)
Do not use evm assembly.

Additional information: link

Cobra.includeAccount(address) (#605-616) has costly operations inside a loop:
- _excluded.pop() (#612)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) is never used and should be removed
Address.functionCall(address,bytes) (#321-323) is never used and should be removed
Address.functionCall(address,bytes,string) (#331-333) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#346-348) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#356-359) is never used and should be removed
Address.isContract(address) (#268-277) is never used and should be removed
Address.sendValue(address,uint256) (#295-301) is never used and should be removed
Cobra._getTaxFee() (#846-848) is never used and should be removed
Context._msgData() (#11-14) is never used and should be removed
SafeMath.mod(uint256,uint256) (#225-227) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#241-244) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.8.2 (#3) allows old versions
solc-0.8.2 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

Low level call in Address.sendValue(address,uint256) (#295-301):
- (success) = recipient.call{value: amount}() (#299)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#361-382):
- (success,returndata) = target.call{value: weiValue}(data) (#365)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable Ownable._owner (#398) is not in mixedCase
Parameter Cobra.burn(uint256)._value (#624) is not in mixedCase
Parameter Cobra.updateFee(uint256,uint256,uint256)._txFee (#628) is not in mixedCase
Parameter Cobra.updateFee(uint256,uint256,uint256)._burnFee (#628) is not in mixedCase
Parameter Cobra.updateFee(uint256,uint256,uint256)._charityFee (#628) is not in mixedCase
Variable Cobra._NAME (#453) is not in mixedCase
Variable Cobra._SYMBOL (#454) is not in mixedCase
Variable Cobra._DECIMALS (#455) is not in mixedCase
Variable Cobra.FeeAddress (#456) is not in mixedCase
Variable Cobra._MAX (#458) is not in mixedCase
Variable Cobra._DECIMALFACTOR (#459) is not in mixedCase
Variable Cobra._GRANULARITY (#460) is not in mixedCase
Variable Cobra._TAX_FEE (#469) is not in mixedCase
Variable Cobra._BURN_FEE (#470) is not in mixedCase
Variable Cobra._CHARITY_FEE (#471) is not in mixedCase
Variable Cobra.ORIG_TAX_FEE (#474) is not in mixedCase
Variable Cobra.ORIG_BURN_FEE (#475) is not in mixedCase
Variable Cobra.ORIG_CHARITY_FEE (#476) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#12)" inContext (#6-15)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable Cobra._transferToExcluded(address,address,uint256).rTransferAmount (#709) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._getValues(uint256).rTransferAmount (#775) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra.reflectionFromToken(uint256,bool).rTransferAmount (#585) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._transferFromExcluded(address,address,uint256).rTransferAmount (#727) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra.reflectionFromToken(uint256,bool).rTransferAmount (#585) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._transferBothExcluded(address,address,uint256).rTransferAmount (#744) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra._transferBothExcluded(address,address,uint256).rTransferAmount (#744) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra._transferToExcluded(address,address,uint256).rTransferAmount (#709) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._standardTransferContent(address,address,uint256,uint256).rTransferAmount (#702) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._transferToExcluded(address,address,uint256).rTransferAmount (#709) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._standardTransferContent(address,address,uint256,uint256).rTransferAmount (#702) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#718) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#718) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra._transferBothExcluded(address,address,uint256).rTransferAmount (#744) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._excludedToTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#736) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#718) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._transferStandard(address,address,uint256).rTransferAmount (#693) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._transferBothExcluded(address,address,uint256).rTransferAmount (#744) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra.reflectionFromToken(uint256,bool).rTransferAmount (#585) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra._getValues(uint256).rTransferAmount (#775) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#753) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra._getValues(uint256).rTransferAmount (#775) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#718) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._transferFromExcluded(address,address,uint256).rTransferAmount (#727) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._transferToExcluded(address,address,uint256).rTransferAmount (#709) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra._standardTransferContent(address,address,uint256,uint256).rTransferAmount (#702) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra._transferBothExcluded(address,address,uint256).rTransferAmount (#744) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._transferBothExcluded(address,address,uint256).rTransferAmount (#744) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra.reflectionFromToken(uint256,bool).rTransferAmount (#585) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#718) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#718) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._transferToExcluded(address,address,uint256).rTransferAmount (#709) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._excludedToTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#736) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._getRTransferAmount(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#753) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._excludedToTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#736) is too similar to Cobra._transferStandard(address,address,uint256).tTransferAmount (#693)
Variable Cobra._excludedToTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#736) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#753) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._standardTransferContent(address,address,uint256,uint256).rTransferAmount (#702) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._transferStandard(address,address,uint256).rTransferAmount (#693) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#753) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._standardTransferContent(address,address,uint256,uint256).rTransferAmount (#702) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra._getValues(uint256).rTransferAmount (#775) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra.reflectionFromToken(uint256,bool).rTransferAmount (#585) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._transferFromExcluded(address,address,uint256).rTransferAmount (#727) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._excludedToTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#736) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._transferFromExcluded(address,address,uint256).rTransferAmount (#727) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra._standardTransferContent(address,address,uint256,uint256).rTransferAmount (#702) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._transferStandard(address,address,uint256).rTransferAmount (#693) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#753) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._excludedToTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#736) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra._getRTransferAmount(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#753) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#718) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._transferToExcluded(address,address,uint256).rTransferAmount (#709) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._getValues(uint256).rTransferAmount (#775) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._getRTransferAmount(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra._transferToExcluded(address,address,uint256).rTransferAmount (#709) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra._transferFromExcluded(address,address,uint256).rTransferAmount (#727) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._getValues(uint256).rTransferAmount (#775) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra._transferStandard(address,address,uint256).rTransferAmount (#693) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._excludedToTransferContent(address,address,uint256,uint256,uint256).rTransferAmount (#736) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._getRTransferAmount(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).rTransferAmount (#753) is too similar to Cobra._transferBothExcluded(address,address,uint256).tTransferAmount (#744)
Variable Cobra._transferBothExcluded(address,address,uint256).rTransferAmount (#744) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._getRTransferAmount(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._transferStandard(address,address,uint256).rTransferAmount (#693) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._standardTransferContent(address,address,uint256,uint256).rTransferAmount (#702) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._transferStandard(address,address,uint256).rTransferAmount (#693) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Variable Cobra.reflectionFromToken(uint256,bool).rTransferAmount (#585) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._getValues(uint256).rTransferAmount (#775) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra._transferFromExcluded(address,address,uint256).rTransferAmount (#727) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._getRTransferAmount(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to Cobra._bothTransferContent(address,address,uint256,uint256,uint256,uint256).tTransferAmount (#753)
Variable Cobra._transferStandard(address,address,uint256).rTransferAmount (#693) is too similar to Cobra._transferFromExcluded(address,address,uint256).tTransferAmount (#727)
Variable Cobra._getRTransferAmount(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#799) is too similar to Cobra._excludedFromTransferContent(address,address,uint256,uint256,uint256).tTransferAmount (#718)
Variable Cobra._transferFromExcluded(address,address,uint256).rTransferAmount (#727) is too similar to Cobra._transferToExcluded(address,address,uint256).tTransferAmount (#709)
Variable Cobra.reflectionFromToken(uint256,bool).rTransferAmount (#585) is too similar to Cobra._getValues(uint256).tTransferAmount (#772)
Prevent variables from having similar names.

Additional information: link

Cobra._GRANULARITY (#460) should be constant
Cobra._MAX (#458) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#406-408)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#425-428)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#434-438)
name() should be declared external:
- Cobra.name() (#499-501)
symbol() should be declared external:
- Cobra.symbol() (#503-505)
decimals() should be declared external:
- Cobra.decimals() (#507-509)
totalSupply() should be declared external:
- Cobra.totalSupply() (#511-513)
balanceOf(address) should be declared external:
- Cobra.balanceOf(address) (#515-518)
transfer(address,uint256) should be declared external:
- Cobra.transfer(address,uint256) (#520-523)
allowance(address,address) should be declared external:
- Cobra.allowance(address,address) (#525-527)
approve(address,uint256) should be declared external:
- Cobra.approve(address,uint256) (#529-532)
transferFrom(address,address,uint256) should be declared external:
- Cobra.transferFrom(address,address,uint256) (#534-538)
increaseAllowance(address,uint256) should be declared external:
- Cobra.increaseAllowance(address,uint256) (#540-543)
decreaseAllowance(address,uint256) should be declared external:
- Cobra.decreaseAllowance(address,uint256) (#545-548)
isExcluded(address) should be declared external:
- Cobra.isExcluded(address) (#550-552)
isCharity(address) should be declared external:
- Cobra.isCharity(address) (#554-556)
totalFees() should be declared external:
- Cobra.totalFees() (#558-560)
totalBurn() should be declared external:
- Cobra.totalBurn() (#562-564)
totalCharity() should be declared external:
- Cobra.totalCharity() (#566-568)
deliver(uint256) should be declared external:
- Cobra.deliver(uint256) (#570-577)
reflectionFromToken(uint256,bool) should be declared external:
- Cobra.reflectionFromToken(uint256,bool) (#579-588)
burn(uint256) should be declared external:
- Cobra.burn(uint256) (#624-626)
updateFee(uint256,uint256,uint256) should be declared external:
- Cobra.updateFee(uint256,uint256,uint256) (#628-635)
mint(address,uint256) should be declared external:
- Cobra.mint(address,uint256) (#645-650)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 12% buy tax and 10% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts

Search:


Unable to find website, listings and other project-related information


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Anti-Scam Checks

Price for Cobra