Owners Purpose functions as a revolutionary virtual-aided platform for holders to effortlessly produce new cryptocurrency initiatives, use-cases, business proposals, designs for contracts, and much more.
OPP token is a one-stop shop for project owners. Our first partnership will be with RC Launchpad. OPP Token is not limited to one Launchpad but to help the crypto community as a whole and we will target all Launchpads on different chains.
As a project, we will have more partnerships later on with other Launchpads. For example, RC only offers BSC token launches and the OPP Token platform can have partnerships with Launchpads on AVAX, Ethereum, Polygon chain, etc.
OpportunityToken.addLiquidity(uint256,uint256) (#2104-2117) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in OpportunityToken._transfer(address,address,uint256) (#1898-2001):
External calls:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2095-2101)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
State variables written after the call(s):
- super._transfer(address(this),devAdress,devTokens) (#1938-1942)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#775-778)
- _balances[recipient] = _balances[recipient].add(amount) (#779)
- super._transfer(address(this),marketing_wallet,marketingTokens) (#1946)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#775-778)
- _balances[recipient] = _balances[recipient].add(amount) (#779)
Reentrancy in OpportunityToken._transfer(address,address,uint256) (#1898-2001):
External calls:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2095-2101)
- swapAndSendDividends(sellTokens) (#1951)
- dividendTracker.distributeDividends(tokens) (#2121)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1951)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#775-778)
- _balances[recipient] = _balances[recipient].add(amount) (#779)
- super._transfer(from,address(this),fees) (#1972)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#775-778)
- _balances[recipient] = _balances[recipient].add(amount) (#779)
- super._transfer(from,to,amount) (#1975)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#775-778)
- _balances[recipient] = _balances[recipient].add(amount) (#779)
- swapping = false (#1952)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1361-1388):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1372-1375)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1378-1380)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Contract locking ether found:
Contract OpportunityDividendTracker (#2143-2436) has payable functions:
- DividendPayingToken.receive() (#1324-1327)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
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.
Ownable.constructor().msgSender (#361) lacks a zero-check on :
- _owner = msgSender (#362)
Check that the address is not zero.
Additional information: link
OpportunityDividendTracker.process(uint256) (#2364-2418) has external calls inside a loop: holdingTime = opportunitypay._getLastTimeTransfer(account) (#2398)
OpportunityDividendTracker._withdrawDividendOfUser(address) (#2182-2209) has external calls inside a loop: success = IERC20(address(opportunitypay)).transfer(user,_withdrawableDividend) (#2193-2196)
Favor pull over push strategy for external calls.
Additional information: link
Redundant expression "this (#344)" inContext (#338-347)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in OpportunityDividendTracker._withdrawDividendOfUser(address) (#2182-2209):
External calls:
- success = IERC20(address(opportunitypay)).transfer(user,_withdrawableDividend) (#2193-2196)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#2199-2201)
Reentrancy in OpportunityToken.updateDividendTracker(address) (#1693-1716):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1708)
- newDividendTracker.excludeFromDividends(address(this)) (#1709)
- newDividendTracker.excludeFromDividends(owner()) (#1710)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1711)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1715)
Apply the check-effects-interactions pattern.
Additional information: link
OpportunityToken._transfer(address,address,uint256).claims (#1987) is a local variable never initialized
OpportunityToken._transfer(address,address,uint256).lastProcessedIndex (#1988) is a local variable never initialized
OpportunityToken._transfer(address,address,uint256).iterations (#1986) 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
OpportunityToken.claim() (#1886-1888) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1887)
OpportunityToken._transfer(address,address,uint256) (#1898-2001) ignores return value by dividendTracker.process(gas) (#1985-1998)
OpportunityToken.addLiquidity(uint256,uint256) (#2104-2117) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1318) shadows:
- ERC20._name (#549) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1318) shadows:
- ERC20._symbol (#550) (state variable)
DividendPayingToken.dividendOf(address)._owner (#1393) shadows:
- Ownable._owner (#350) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#1400) shadows:
- Ownable._owner (#350) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#1412) shadows:
- Ownable._owner (#350) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#1426) shadows:
- Ownable._owner (#350) (state variable)
Rename the local variables that shadow another component.
Additional information: link
OpportunityToken.setdevwalletFee(uint256) (#1661-1666) should emit an event for:
- devwalletFee = _newAmount (#1662)
- totalFees = devwalletFee.add(holdersFee).add(marketingFee).add(liquidityFee) (#1663-1665)
OpportunityToken.setHoldersFee(uint256) (#1668-1673) should emit an event for:
- totalFees = devwalletFee.add(holdersFee).add(marketingFee).add(liquidityFee) (#1670-1672)
OpportunityToken.setMarketingFee(uint256) (#1675-1680) should emit an event for:
- marketingFee = _newAmount (#1676)
- totalFees = devwalletFee.add(holdersFee).add(marketingFee).add(liquidityFee) (#1677-1679)
OpportunityToken.setLiquidityFee(uint256) (#1682-1687) should emit an event for:
- liquidityFee = _newAmount (#1683)
- totalFees = devwalletFee.add(holdersFee).add(marketingFee).add(liquidityFee) (#1684-1686)
OpportunityToken.updateBuyLimit(uint256) (#2125-2127) should emit an event for:
- buyLimit = limit (#2126)
OpportunityToken.updateSellLimit(uint256) (#2129-2131) should emit an event for:
- sellLimit = limit (#2130)
Emit an event for critical parameter changes.
Additional information: link
Variable 'OpportunityToken._transfer(address,address,uint256).claims (#1987)' in OpportunityToken._transfer(address,address,uint256) (#1898-2001) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1990-1997)
Variable 'OpportunityToken._transfer(address,address,uint256).lastProcessedIndex (#1988)' in OpportunityToken._transfer(address,address,uint256) (#1898-2001) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1990-1997)
Variable 'OpportunityToken._transfer(address,address,uint256).iterations (#1986)' in OpportunityToken._transfer(address,address,uint256) (#1898-2001) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1990-1997)
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 OpportunityToken._transfer(address,address,uint256) (#1898-2001):
External calls:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2095-2101)
- swapAndSendDividends(sellTokens) (#1951)
- dividendTracker.distributeDividends(tokens) (#2121)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
State variables written after the call(s):
- _validateTime(from,to,takeFee) (#1964)
- _buyTime[recipient] = now (#2031)
- _validateTime(from,to,takeFee) (#1964)
- _sellTime[sender] = now (#2037)
Reentrancy in OpportunityToken._transfer(address,address,uint256) (#1898-2001):
External calls:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2095-2101)
- swapAndSendDividends(sellTokens) (#1951)
- dividendTracker.distributeDividends(tokens) (#2121)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1977-1979)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1980)
- dividendTracker.process(gas) (#1985-1998)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
State variables written after the call(s):
- lastTransferTime[to] = now (#2000)
Reentrancy in OpportunityToken.constructor() (#1592-1653):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1626-1627)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1630)
- uniswapV2Router = _uniswapV2Router (#1629)
Reentrancy in OpportunityToken.constructor() (#1592-1653):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1626-1627)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1632)
- dividendTracker.excludeFromDividends(pair) (#1768)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1635)
- dividendTracker.excludeFromDividends(address(this)) (#1636)
- dividendTracker.excludeFromDividends(owner()) (#1637)
- dividendTracker.excludeFromDividends(0x8c7702376c638500119134d69f05514F2742c500) (#1638-1640)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1641)
State variables written after the call(s):
- _mint(0x8c7702376c638500119134d69f05514F2742c500,10000000 * (10 ** 18)) (#1651)
- _balances[account] = _balances[account].add(amount) (#798)
- excludeFromFees(liquidityWallet,true) (#1644)
- _isExcludedFromFees[account] = excluded (#1732)
- excludeFromFees(address(this),true) (#1645)
- _isExcludedFromFees[account] = excluded (#1732)
- _mint(0x8c7702376c638500119134d69f05514F2742c500,10000000 * (10 ** 18)) (#1651)
- _totalSupply = _totalSupply.add(amount) (#797)
Reentrancy in OpportunityDividendTracker.processAccount(address,bool) (#2420-2434):
External calls:
- amount = _withdrawDividendOfUser(account) (#2425)
- success = IERC20(address(opportunitypay)).transfer(user,_withdrawableDividend) (#2193-2196)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#2428)
Reentrancy in OpportunityToken.swapAndLiquify(uint256) (#2063-2084):
External calls:
- swapTokensForEth(half) (#2075)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2095-2101)
- addLiquidity(otherHalf,newBalance) (#2081)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2081)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#2081)
- _allowances[owner][spender] = amount (#847)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in OpportunityToken._setAutomatedMarketMakerPair(address,bool) (#1760-1772):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1768)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1771)
Reentrancy in OpportunityToken._transfer(address,address,uint256) (#1898-2001):
External calls:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2095-2101)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#780)
- super._transfer(address(this),marketing_wallet,marketingTokens) (#1946)
- Transfer(sender,recipient,amount) (#780)
- super._transfer(address(this),devAdress,devTokens) (#1938-1942)
Reentrancy in OpportunityToken._transfer(address,address,uint256) (#1898-2001):
External calls:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2095-2101)
- swapAndSendDividends(sellTokens) (#1951)
- dividendTracker.distributeDividends(tokens) (#2121)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
Event emitted after the call(s):
- SendDividends(tokens) (#2122)
- swapAndSendDividends(sellTokens) (#1951)
- Transfer(sender,recipient,amount) (#780)
- super._transfer(from,to,amount) (#1975)
- Transfer(sender,recipient,amount) (#780)
- swapAndSendDividends(sellTokens) (#1951)
- Transfer(sender,recipient,amount) (#780)
- super._transfer(from,address(this),fees) (#1972)
Reentrancy in OpportunityToken._transfer(address,address,uint256) (#1898-2001):
External calls:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2095-2101)
- swapAndSendDividends(sellTokens) (#1951)
- dividendTracker.distributeDividends(tokens) (#2121)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1977-1979)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1980)
- dividendTracker.process(gas) (#1985-1998)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1932)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1990-1997)
Reentrancy in OpportunityToken.constructor() (#1592-1653):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1626-1627)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1632)
- dividendTracker.excludeFromDividends(pair) (#1768)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1771)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1632)
Reentrancy in OpportunityToken.constructor() (#1592-1653):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1626-1627)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1632)
- dividendTracker.excludeFromDividends(pair) (#1768)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1635)
- dividendTracker.excludeFromDividends(address(this)) (#1636)
- dividendTracker.excludeFromDividends(owner()) (#1637)
- dividendTracker.excludeFromDividends(0x8c7702376c638500119134d69f05514F2742c500) (#1638-1640)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1641)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1734)
- excludeFromFees(address(this),true) (#1645)
- ExcludeFromFees(account,excluded) (#1734)
- excludeFromFees(liquidityWallet,true) (#1644)
- Transfer(address(0),account,amount) (#799)
- _mint(0x8c7702376c638500119134d69f05514F2742c500,10000000 * (10 ** 18)) (#1651)
Reentrancy in OpportunityDividendTracker.processAccount(address,bool) (#2420-2434):
External calls:
- amount = _withdrawDividendOfUser(account) (#2425)
- success = IERC20(address(opportunitypay)).transfer(user,_withdrawableDividend) (#2193-2196)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2429)
Reentrancy in OpportunityToken.processDividendTracker(uint256) (#1870-1884):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1871-1875)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1876-1883)
Reentrancy in OpportunityToken.swapAndLiquify(uint256) (#2063-2084):
External calls:
- swapTokensForEth(half) (#2075)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2095-2101)
- addLiquidity(otherHalf,newBalance) (#2081)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2081)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2109-2116)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#848)
- addLiquidity(otherHalf,newBalance) (#2081)
- SwapAndLiquify(half,newBalance,otherHalf) (#2083)
Reentrancy in OpportunityToken.swapAndSendDividends(uint256) (#2119-2123):
External calls:
- dividendTracker.distributeDividends(tokens) (#2121)
Event emitted after the call(s):
- SendDividends(tokens) (#2122)
Reentrancy in OpportunityToken.updateDividendTracker(address) (#1693-1716):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1708)
- newDividendTracker.excludeFromDividends(address(this)) (#1709)
- newDividendTracker.excludeFromDividends(owner()) (#1710)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1711)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1713)
Apply the check-effects-interactions pattern.
Additional information: link
OpportunityToken._validateTime(address,address,bool) (#2019-2040) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_buyTime[recipient] + 240 <= now,wait 4 minutes to buy again) (#2027-2030)
- require(bool,string)(_sellTime[sender] + 300 <= now,wait 5 minutes to sell again) (#2033-2036)
OpportunityDividendTracker.getAccount(address) (#2257-2304) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#2301-2303)
OpportunityDividendTracker.canAutoClaim(uint256) (#2338-2343) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2339)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2342)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#343-346) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1445-1460) is never used and should be removed
DividendPayingToken._withdrawDividendOfUser(address) (#1361-1388) is never used and should be removed
SafeMath.mod(uint256,uint256) (#134-136) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#150-157) is never used and should be removed
SafeMathInt.abs(int256) (#236-239) is never used and should be removed
SafeMathInt.div(int256,int256) (#207-213) is never used and should be removed
SafeMathInt.mul(int256,int256) (#195-202) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.2 (#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
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (#1361-1388):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1372-1375)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#875) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#1143) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#1145) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#1176) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1393) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1400) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1412) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1426) is not in mixedCase
Constant DividendPayingToken.magnitude (#1298) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter OpportunityToken.setdevwalletFee(uint256)._newAmount (#1661) is not in mixedCase
Parameter OpportunityToken.setHoldersFee(uint256)._newAmount (#1668) is not in mixedCase
Parameter OpportunityToken.setMarketingFee(uint256)._newAmount (#1675) is not in mixedCase
Parameter OpportunityToken.setLiquidityFee(uint256)._newAmount (#1682) is not in mixedCase
Function OpportunityToken._getLastTimeTransfer(address) (#2058-2061) is not in mixedCase
Parameter OpportunityToken._getLastTimeTransfer(address)._to (#2058) is not in mixedCase
Variable OpportunityToken.marketing_wallet (#1517) is not in mixedCase
Variable OpportunityToken._sellTime (#1537) is not in mixedCase
Variable OpportunityToken._buyTime (#1538) is not in mixedCase
Variable OpportunityToken._isBlacklisted (#1539) is not in mixedCase
Parameter OpportunityDividendTracker.getAccount(address)._account (#2257) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#880) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#881)
Variable OpportunityDividendTracker._withdrawDividendOfUser(address)._withdrawableDividend (#2187) is too similar to OpportunityDividendTracker.getAccount(address).withdrawableDividends (#2264)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1366) is too similar to OpportunityDividendTracker.getAccount(address).withdrawableDividends (#2264)
Prevent variables from having similar names.
Additional information: link
OpportunityToken.constructor() (#1592-1653) uses literals with too many digits:
- _mint(0x8c7702376c638500119134d69f05514F2742c500,10000000 * (10 ** 18)) (#1651)
OpportunityToken.updateGasForProcessing(uint256) (#1787-1798) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,Opportunity: gasForProcessing must be between 200,000 and 500,000) (#1788-1791)
OpportunityToken.slitherConstructorVariables() (#1499-2141) uses literals with too many digits:
- swapTokensAtAmount = 200000 * (10 ** 18) (#1520)
OpportunityToken.slitherConstructorVariables() (#1499-2141) uses literals with too many digits:
- gasForProcessing = 300000 (#1530)
OpportunityDividendTracker.getAccountAtIndex(uint256) (#2306-2336) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2321-2330)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#190) is never used in SafeMathInt (#188-245)
Remove unused state variables.
Additional information: link
OpportunityToken.swapTokensAtAmount (#1520) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#268-270)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#272-281)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#283-289)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#291-293)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#388-391)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#397-404)
name() should be declared external:
- ERC20.name() (#569-571)
symbol() should be declared external:
- ERC20.symbol() (#577-579)
decimals() should be declared external:
- ERC20.decimals() (#594-596)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#626-634)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#639-647)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#656-664)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#679-694)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#708-719)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#735-749)
distributeDividends(uint256) should be declared external:
- DividendPayingToken.distributeDividends(uint256) (#1342-1353)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1357-1359)
- OpportunityDividendTracker.withdrawDividend() (#2219-2224)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1393-1395)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1412-1419)
setSwapAndLiquifyEnabled(bool) should be declared external:
- OpportunityToken.setSwapAndLiquifyEnabled(bool) (#1657-1659)
setdevwalletFee(uint256) should be declared external:
- OpportunityToken.setdevwalletFee(uint256) (#1661-1666)
setHoldersFee(uint256) should be declared external:
- OpportunityToken.setHoldersFee(uint256) (#1668-1673)
setMarketingFee(uint256) should be declared external:
- OpportunityToken.setMarketingFee(uint256) (#1675-1680)
setLiquidityFee(uint256) should be declared external:
- OpportunityToken.setLiquidityFee(uint256) (#1682-1687)
changeTimeLimitBoolean(bool) should be declared external:
- OpportunityToken.changeTimeLimitBoolean(bool) (#1689-1691)
updateDividendTracker(address) should be declared external:
- OpportunityToken.updateDividendTracker(address) (#1693-1716)
updateUniswapV2Router(address) should be declared external:
- OpportunityToken.updateUniswapV2Router(address) (#1718-1725)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- OpportunityToken.excludeMultipleAccountsFromFees(address[],bool) (#1737-1746)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- OpportunityToken.setAutomatedMarketMakerPair(address,bool) (#1748-1758)
updateLiquidityWallet(address) should be declared external:
- OpportunityToken.updateLiquidityWallet(address) (#1774-1785)
updateGasForProcessing(uint256) should be declared external:
- OpportunityToken.updateGasForProcessing(uint256) (#1787-1798)
isExcludedFromFees(address) should be declared external:
- OpportunityToken.isExcludedFromFees(address) (#1812-1814)
withdrawableDividendOf(address) should be declared external:
- OpportunityToken.withdrawableDividendOf(address) (#1816-1822)
dividendTokenBalanceOf(address) should be declared external:
- OpportunityToken.dividendTokenBalanceOf(address) (#1824-1830)
_getLastTimeTransfer(address) should be declared external:
- OpportunityToken._getLastTimeTransfer(address) (#2058-2061)
getAccountAtIndex(uint256) should be declared external:
- OpportunityDividendTracker.getAccountAtIndex(uint256) (#2306-2336)
process(uint256) should be declared external:
- OpportunityDividendTracker.process(uint256) (#2364-2418)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of scam / price dump / death
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Discord account