OCRA Token Logo

OCRA Token

ALERT: rug pull scam

About OCRA

Listings

Token 3 years
CoinMarketCap 3 years

Website

white paper

OCRA aims to achieve the best in the crypto space altogether, targeting various issues that have been pinpointed by the team, Ocra is building an easy-to-use, simplistic NFT marketplace with an emphasis on cross-blockchain capacities and verified collections. The tax from the transaction will be distributed amongst holders.
OCRA is also building an audit platform with a custom checklist in place and Digital imprints so that they cannot be cloned. With a very affordable price, their aggressive marketing strategy to take over audit platforms and reward holders through the profits made is also a brand new economic system never seen before.

Social

Laser Scorebeta Last Audit: 2 March 2022

report
Token seems to be a scam (type: rug pull scam).

OCRAToken.addLiquidity(uint256,uint256) (OCRAToken.sol#471-486) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (OCRAToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (OCRAToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#442-448)
- swapAndSendDividends(sellTokens) (OCRAToken.sol#354)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (OCRAToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (OCRAToken.sol#494)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
External calls sending eth:
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (OCRAToken.sol#377)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (OCRAToken.sol#381)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (OCRAToken.sol#356)
Apply the check-effects-interactions pattern.

Additional information: link

OCRAToken.swapAndSendToFee(uint256) (OCRAToken.sol#398-405) ignores return value by IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (OCRAToken.sol#404)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#79-95):
External calls:
- success = IERC20(REWARD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#84)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#87)
Reentrancy in OCRAToken.updateDividendTracker(address) (OCRAToken.sol#134-149):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (OCRAToken.sol#141)
- newDividendTracker.excludeFromDividends(address(this)) (OCRAToken.sol#142)
- newDividendTracker.excludeFromDividends(owner()) (OCRAToken.sol#143)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (OCRAToken.sol#144)
State variables written after the call(s):
- dividendTracker = newDividendTracker (OCRAToken.sol#148)
Apply the check-effects-interactions pattern.

Additional information: link

OCRAToken._transfer(address,address,uint256).iterations (OCRAToken.sol#389) is a local variable never initialized
OCRAToken._transfer(address,address,uint256).claims (OCRAToken.sol#389) is a local variable never initialized
OCRAToken._transfer(address,address,uint256).lastProcessedIndex (OCRAToken.sol#389) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

OCRAToken.claim() (OCRAToken.sol#307-309) ignores return value by dividendTracker.processAccount(msg.sender,false) (OCRAToken.sol#308)
OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396) ignores return value by dividendTracker.process(gas) (OCRAToken.sol#389-394)
OCRAToken.addLiquidity(uint256,uint256) (OCRAToken.sol#471-486) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#50) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#50) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#105) shadows:
- Ownable._owner (Ownable.sol#9) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#112) shadows:
- Ownable._owner (Ownable.sol#9) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#119) shadows:
- Ownable._owner (Ownable.sol#9) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#129) shadows:
- Ownable._owner (Ownable.sol#9) (state variable)
Rename the local variables that shadow another component.

Additional information: link

OCRAToken.setSwapAmount(uint256) (OCRAToken.sol#189-191) should emit an event for:
- swapTokensAtAmount = value * (10 ** 18) (OCRAToken.sol#190)
OCRAToken.updateBaseFees(uint256,uint256,uint256) (OCRAToken.sol#204-209) should emit an event for:
- ETHRewardsFee = _amountRewards (OCRAToken.sol#205)
- marketingFee = _amountMarketing (OCRAToken.sol#206)
- liquidityFee = _amountLiq (OCRAToken.sol#207)
- totalFees = ETHRewardsFee.add(liquidityFee).add(marketingFee) (OCRAToken.sol#208)
OCRAToken.updateSellFees(uint256,uint256,uint256) (OCRAToken.sol#213-218) should emit an event for:
- sellFeeRewards = _amountRewards (OCRAToken.sol#214)
- sellFeeMarketing = _amountMarketing (OCRAToken.sol#215)
- sellFeeLiq = _amountLiq (OCRAToken.sol#216)
- totalSellFees = sellFeeRewards.add(sellFeeLiq).add(sellFeeMarketing) (OCRAToken.sol#217)
OCRADividendTracker.UpdateAmount(uint256) (OCRAToken.sol#534-536) should emit an event for:
- minimumTokenBalanceForDividends = _amount (OCRAToken.sol#535)
Emit an event for critical parameter changes.

Additional information: link

OCRAToken.updateUniswapV2Router(address)._uniswapV2Pair (OCRAToken.sol#160-161) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (OCRAToken.sol#162)
OCRAToken.setMarketingWallet(address).wallet (OCRAToken.sol#180) lacks a zero-check on :
- _marketingWalletAddress = wallet (OCRAToken.sol#181)
OCRAToken.changeReward(address).newReward (OCRAToken.sol#184) lacks a zero-check on :
- ETH = newReward (OCRAToken.sol#185)
DividendPayingToken.setDividendTokenAddress(address).newToken (DividendPayingToken.sol#67) lacks a zero-check on :
- REWARD = newToken (DividendPayingToken.sol#68)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#79-95) has external calls inside a loop: success = IERC20(REWARD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#84)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'OCRAToken._transfer(address,address,uint256).lastProcessedIndex (OCRAToken.sol#389)' in OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (OCRAToken.sol#390)
Variable 'OCRAToken._transfer(address,address,uint256).claims (OCRAToken.sol#389)' in OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (OCRAToken.sol#390)
Variable 'OCRAToken._transfer(address,address,uint256).iterations (OCRAToken.sol#389)' in OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (OCRAToken.sol#390)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (OCRAToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (OCRAToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#442-448)
External calls sending eth:
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (OCRAToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (OCRAToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#442-448)
- swapAndSendDividends(sellTokens) (OCRAToken.sol#354)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (OCRAToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (OCRAToken.sol#494)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
External calls sending eth:
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (OCRAToken.sol#354)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in OCRAToken.constructor() (OCRAToken.sol#95-128):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (OCRAToken.sol#103-104)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (OCRAToken.sol#107)
- uniswapV2Router = _uniswapV2Router (OCRAToken.sol#106)
Reentrancy in OCRAToken.constructor() (OCRAToken.sol#95-128):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (OCRAToken.sol#103-104)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (OCRAToken.sol#109)
- dividendTracker.excludeFromDividends(pair) (OCRAToken.sol#225)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (OCRAToken.sol#112)
- dividendTracker.excludeFromDividends(address(this)) (OCRAToken.sol#113)
- dividendTracker.excludeFromDividends(deadWallet) (OCRAToken.sol#114)
- dividendTracker.excludeFromDividends(zeroWallet) (OCRAToken.sol#115)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (OCRAToken.sol#116)
State variables written after the call(s):
- _mint(owner(),1000000 * (10 ** 18)) (OCRAToken.sol#127)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (OCRAToken.sol#119)
- _isExcludedFromFees[account] = excluded (OCRAToken.sol#167)
- excludeFromFees(_marketingWalletAddress,true) (OCRAToken.sol#120)
- _isExcludedFromFees[account] = excluded (OCRAToken.sol#167)
- excludeFromFees(address(this),true) (OCRAToken.sol#121)
- _isExcludedFromFees[account] = excluded (OCRAToken.sol#167)
- _mint(owner(),1000000 * (10 ** 18)) (OCRAToken.sol#127)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in OCRADividendTracker.processAccount(address,bool) (OCRAToken.sol#703-713):
External calls:
- amount = _withdrawDividendOfUser(account) (OCRAToken.sol#704)
- success = IERC20(REWARD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#84)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (OCRAToken.sol#707)
Reentrancy in OCRAToken.swapAndLiquify(uint256) (OCRAToken.sol#407-428):
External calls:
- swapTokensForEth(half) (OCRAToken.sol#419)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#442-448)
- addLiquidity(otherHalf,newBalance) (OCRAToken.sol#425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (OCRAToken.sol#425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (OCRAToken.sol#425)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in OCRAToken.updateUniswapV2Router(address) (OCRAToken.sol#156-163):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (OCRAToken.sol#160-161)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (OCRAToken.sol#162)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in OCRAToken._setAutomatedMarketMakerPair(address,bool) (OCRAToken.sol#220-229):
External calls:
- dividendTracker.excludeFromDividends(pair) (OCRAToken.sol#225)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (OCRAToken.sol#228)
Reentrancy in OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (OCRAToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (OCRAToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#442-448)
External calls sending eth:
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- SwapAndLiquify(half,newBalance,otherHalf) (OCRAToken.sol#427)
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
Reentrancy in OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (OCRAToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (OCRAToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#442-448)
- swapAndSendDividends(sellTokens) (OCRAToken.sol#354)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (OCRAToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (OCRAToken.sol#494)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
External calls sending eth:
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (OCRAToken.sol#354)
- SendDividends(tokens,dividends) (OCRAToken.sol#495)
- swapAndSendDividends(sellTokens) (OCRAToken.sol#354)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (OCRAToken.sol#377)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (OCRAToken.sol#381)
Reentrancy in OCRAToken._transfer(address,address,uint256) (OCRAToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (OCRAToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (OCRAToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#442-448)
- swapAndSendDividends(sellTokens) (OCRAToken.sol#354)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (OCRAToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (OCRAToken.sol#494)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
- dividendTracker.setBalance(address(from),balanceOf(from)) (OCRAToken.sol#383)
- dividendTracker.setBalance(address(to),balanceOf(to)) (OCRAToken.sol#384)
- dividendTracker.process(gas) (OCRAToken.sol#389-394)
External calls sending eth:
- swapAndLiquify(swapTokens) (OCRAToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (OCRAToken.sol#390)
Reentrancy in OCRAToken.constructor() (OCRAToken.sol#95-128):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (OCRAToken.sol#103-104)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (OCRAToken.sol#109)
- dividendTracker.excludeFromDividends(pair) (OCRAToken.sol#225)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (OCRAToken.sol#228)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (OCRAToken.sol#109)
Reentrancy in OCRAToken.constructor() (OCRAToken.sol#95-128):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (OCRAToken.sol#103-104)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (OCRAToken.sol#109)
- dividendTracker.excludeFromDividends(pair) (OCRAToken.sol#225)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (OCRAToken.sol#112)
- dividendTracker.excludeFromDividends(address(this)) (OCRAToken.sol#113)
- dividendTracker.excludeFromDividends(deadWallet) (OCRAToken.sol#114)
- dividendTracker.excludeFromDividends(zeroWallet) (OCRAToken.sol#115)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (OCRAToken.sol#116)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (OCRAToken.sol#169)
- excludeFromFees(address(this),true) (OCRAToken.sol#121)
- ExcludeFromFees(account,excluded) (OCRAToken.sol#169)
- excludeFromFees(_marketingWalletAddress,true) (OCRAToken.sol#120)
- ExcludeFromFees(account,excluded) (OCRAToken.sol#169)
- excludeFromFees(owner(),true) (OCRAToken.sol#119)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),1000000 * (10 ** 18)) (OCRAToken.sol#127)
Reentrancy in OCRADividendTracker.processAccount(address,bool) (OCRAToken.sol#703-713):
External calls:
- amount = _withdrawDividendOfUser(account) (OCRAToken.sol#704)
- success = IERC20(REWARD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#84)
Event emitted after the call(s):
- Claim(account,amount,automatic) (OCRAToken.sol#708)
Reentrancy in OCRAToken.processDividendTracker(uint256) (OCRAToken.sol#302-305):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (OCRAToken.sol#303)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (OCRAToken.sol#304)
Reentrancy in OCRAToken.swapAndLiquify(uint256) (OCRAToken.sol#407-428):
External calls:
- swapTokensForEth(half) (OCRAToken.sol#419)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#442-448)
- addLiquidity(otherHalf,newBalance) (OCRAToken.sol#425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (OCRAToken.sol#425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (OCRAToken.sol#477-484)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (OCRAToken.sol#425)
- SwapAndLiquify(half,newBalance,otherHalf) (OCRAToken.sol#427)
Reentrancy in OCRAToken.swapAndSendDividends(uint256) (OCRAToken.sol#488-497):
External calls:
- swapTokensForETH(tokens) (OCRAToken.sol#489)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (OCRAToken.sol#462-468)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (OCRAToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (OCRAToken.sol#494)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (OCRAToken.sol#495)
Reentrancy in OCRAToken.updateDividendTracker(address) (OCRAToken.sol#134-149):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (OCRAToken.sol#141)
- newDividendTracker.excludeFromDividends(address(this)) (OCRAToken.sol#142)
- newDividendTracker.excludeFromDividends(owner()) (OCRAToken.sol#143)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (OCRAToken.sol#144)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (OCRAToken.sol#146)
Apply the check-effects-interactions pattern.

Additional information: link

OCRADividendTracker.getAccount(address) (OCRAToken.sol#567-610) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (OCRAToken.sol#607-609)
OCRADividendTracker.canAutoClaim(uint256) (OCRAToken.sol#631-637) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (OCRAToken.sol#632)
- block.timestamp.sub(lastClaimTime) >= claimWait (OCRAToken.sol#636)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#139-145) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.

Additional information: link

OCRAToken.totalFees (OCRAToken.sol#42) is set pre-construction with a non-constant function or state variable:
- ETHRewardsFee.add(liquidityFee).add(marketingFee)
OCRAToken.totalSellFees (OCRAToken.sol#50) is set pre-construction with a non-constant function or state variable:
- sellFeeRewards.add(sellFeeLiq).add(sellFeeMarketing)
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.2 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (OCRAToken.sol#7) allows old versions
Pragma version^0.6.2 (Ownable.sol#3) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#3) 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

Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#105) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#112) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#119) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#129) is not in mixedCase
Variable DividendPayingToken.REWARD (DividendPayingToken.sol#24) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#30) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Parameter OCRAToken.updateMinimumReqAmount(uint256)._amount (OCRAToken.sol#152) is not in mixedCase
Parameter OCRAToken.updateBaseFees(uint256,uint256,uint256)._amountRewards (OCRAToken.sol#204) is not in mixedCase
Parameter OCRAToken.updateBaseFees(uint256,uint256,uint256)._amountMarketing (OCRAToken.sol#204) is not in mixedCase
Parameter OCRAToken.updateBaseFees(uint256,uint256,uint256)._amountLiq (OCRAToken.sol#204) is not in mixedCase
Parameter OCRAToken.updateSellFees(uint256,uint256,uint256)._amountRewards (OCRAToken.sol#213) is not in mixedCase
Parameter OCRAToken.updateSellFees(uint256,uint256,uint256)._amountMarketing (OCRAToken.sol#213) is not in mixedCase
Parameter OCRAToken.updateSellFees(uint256,uint256,uint256)._amountLiq (OCRAToken.sol#213) is not in mixedCase
Variable OCRAToken.ETH (OCRAToken.sol#32) is not in mixedCase
Variable OCRAToken._isBlacklisted (OCRAToken.sol#36) is not in mixedCase
Variable OCRAToken.ETHRewardsFee (OCRAToken.sol#39) is not in mixedCase
Variable OCRAToken._marketingWalletAddress (OCRAToken.sol#44) is not in mixedCase
Function OCRADividendTracker.UpdateAmount(uint256) (OCRAToken.sol#534-536) is not in mixedCase
Parameter OCRADividendTracker.UpdateAmount(uint256)._amount (OCRAToken.sol#534) is not in mixedCase
Function OCRADividendTracker.ReturnAmount() (OCRAToken.sol#538-540) is not in mixedCase
Parameter OCRADividendTracker.getAccount(address)._account (OCRAToken.sol#567) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#80) is too similar to OCRADividendTracker.getAccount(address).withdrawableDividends (OCRAToken.sol#572)
Prevent variables from having similar names.

Additional information: link

OCRAToken.constructor() (OCRAToken.sol#95-128) uses literals with too many digits:
- _mint(owner(),1000000 * (10 ** 18)) (OCRAToken.sol#127)
OCRAToken.updateGasForProcessing(uint256) (OCRAToken.sol#231-236) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,OCRA: gasForProcessing must be between 200,000 and 500,000) (OCRAToken.sol#232)
OCRAToken.slitherConstructorVariables() (OCRAToken.sol#18-498) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (OCRAToken.sol#28)
OCRAToken.slitherConstructorVariables() (OCRAToken.sol#18-498) uses literals with too many digits:
- zeroWallet = 0x0000000000000000000000000000000000000000 (OCRAToken.sol#29)
OCRAToken.slitherConstructorVariables() (OCRAToken.sol#18-498) uses literals with too many digits:
- gasForProcessing = 300000 (OCRAToken.sol#53)
OCRADividendTracker.getAccountAtIndex(uint256) (OCRAToken.sol#612-629) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (OCRAToken.sol#623)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.

Additional information: link

OCRAToken.deadWallet (OCRAToken.sol#28) should be constant
OCRAToken.zeroWallet (OCRAToken.sol#29) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

distributeETHDividends(uint256) should be declared external:
- DividendPayingToken.distributeETHDividends(uint256) (DividendPayingToken.sol#54-65)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#73-75)
- OCRADividendTracker.withdrawDividend() (OCRAToken.sol#529-531)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#105-107)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#119-121)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
updateDividendTracker(address) should be declared external:
- OCRAToken.updateDividendTracker(address) (OCRAToken.sol#134-149)
updateMinimumReqAmount(uint256) should be declared external:
- OCRAToken.updateMinimumReqAmount(uint256) (OCRAToken.sol#152-154)
updateUniswapV2Router(address) should be declared external:
- OCRAToken.updateUniswapV2Router(address) (OCRAToken.sol#156-163)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- OCRAToken.excludeMultipleAccountsFromFees(address[],bool) (OCRAToken.sol#172-178)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- OCRAToken.setAutomatedMarketMakerPair(address,bool) (OCRAToken.sol#193-197)
updateGasForProcessing(uint256) should be declared external:
- OCRAToken.updateGasForProcessing(uint256) (OCRAToken.sol#231-236)
isExcludedFromFees(address) should be declared external:
- OCRAToken.isExcludedFromFees(address) (OCRAToken.sol#260-262)
withdrawableDividendOf(address) should be declared external:
- OCRAToken.withdrawableDividendOf(address) (OCRAToken.sol#264-266)
dividendTokenBalanceOf(address) should be declared external:
- OCRAToken.dividendTokenBalanceOf(address) (OCRAToken.sol#268-270)
getAccountAtIndex(uint256) should be declared external:
- OCRADividendTracker.getAccountAtIndex(uint256) (OCRAToken.sol#612-629)
process(uint256) should be declared external:
- OCRADividendTracker.process(uint256) (OCRAToken.sol#656-701)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#44-47)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#53-57)
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.


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


Token has only one trading pair

Contract has 5% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.


Twitter account has relatively few followers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find Telegram link on the website


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of price dump / death


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


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for OCRA

News for OCRA