Quadro is a multifunctional cross chain ecosystem comprising of bitcoin rewards, NFT marketplace and staking DAO.
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
QUADRO.addLiquidity(uint256,uint256) (#1045-1057) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in QUADRO._transfer(address,address,uint256) (#964-1030):
External calls:
- swapAndLiquify(swapTokens) (#987)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- swapAndSendDividendsAndFee(sellTokens) (#989)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1115-1120)
- success = IBEP20(BTC).transfer(address(dividendTracker),dividends) (#1094)
- IBEP20(BTC).transfer(_marketingWalletAddress,forMarketing) (#1096)
- IBEP20(BTC).transfer(_nftrewardWalletAddress,forNftreward) (#1097)
- dividendTracker.distributeBTCDividends(dividends) (#1101)
External calls sending eth:
- swapAndLiquify(swapTokens) (#987)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1010)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#262)
- _balances[recipient] = _balances[recipient].add(amount) (#263)
- super._transfer(from,to,amount) (#1015)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#262)
- _balances[recipient] = _balances[recipient].add(amount) (#263)
- swapping = false (#990)
Apply the check-effects-interactions pattern.
Additional information: link
QUADRO._totalSupply (#722) shadows:
- BEP20._totalSupply (#172)
Remove the state variable shadowing.
Additional information: link
QUADRO.swapAndSendDividendsAndFee(uint256) (#1080-1104) ignores return value by IBEP20(BTC).transfer(_marketingWalletAddress,forMarketing) (#1096)
QUADRO.swapAndSendDividendsAndFee(uint256) (#1080-1104) ignores return value by IBEP20(BTC).transfer(_nftrewardWalletAddress,forNftreward) (#1097)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Pragma version0.8.11 (#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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
Parameter DividendPayingToken.dividendOf(address)._owner (#381) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#386) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#390) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#394) is not in mixedCase
Variable DividendPayingToken.BTC (#331) is not in mixedCase
Constant DividendPayingToken.magnitude (#332) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Router01.WETH() (#500) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#657) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#658) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#665) is not in mixedCase
Parameter LockToken.includeToWhiteList(address,bool)._account (#698) is not in mixedCase
Parameter LockToken.includeToWhiteList(address,bool)._value (#698) is not in mixedCase
Parameter QUADRO.updateWalletsAddresses(address,address)._marketingWallet (#830) is not in mixedCase
Parameter QUADRO.updateWalletsAddresses(address,address)._nftRewardWallet (#830) is not in mixedCase
Parameter QUADRO.updateBuyFees(uint256,uint256,uint256,uint256)._rewardFee (#838) is not in mixedCase
Parameter QUADRO.updateBuyFees(uint256,uint256,uint256,uint256)._liquiditFee (#838) is not in mixedCase
Parameter QUADRO.updateBuyFees(uint256,uint256,uint256,uint256)._marketingFee (#838) is not in mixedCase
Parameter QUADRO.updateBuyFees(uint256,uint256,uint256,uint256)._nftrewardFee (#838) is not in mixedCase
Parameter QUADRO.updateSellFees(uint256,uint256,uint256,uint256)._rewardFee (#852) is not in mixedCase
Parameter QUADRO.updateSellFees(uint256,uint256,uint256,uint256)._liquiditFee (#852) is not in mixedCase
Parameter QUADRO.updateSellFees(uint256,uint256,uint256,uint256)._marketingFee (#852) is not in mixedCase
Parameter QUADRO.updateSellFees(uint256,uint256,uint256,uint256)._nftrewardFee (#852) is not in mixedCase
Parameter QUADRO.setMaxTxAmount(uint256)._amount (#1124) is not in mixedCase
Parameter QUADRO.setExcludedFromWhale(address,bool)._enabled (#1163) is not in mixedCase
Parameter QUADRO.updateWalletMaxHoldingLimit(uint256)._amount (#1168) is not in mixedCase
Parameter QUADRO.setSwapAndLiquifyEnabled(bool)._enabled (#1178) is not in mixedCase
Function QUADRO.set_swapTokensAtAmount(uint256) (#1184-1187) is not in mixedCase
Parameter QUADRO.set_swapTokensAtAmount(uint256)._value (#1184) is not in mixedCase
Variable QUADRO._totalSupply (#722) is not in mixedCase
Variable QUADRO.BTC (#717) is not in mixedCase
Variable QUADRO._marketingWalletAddress (#719) is not in mixedCase
Variable QUADRO._nftrewardWalletAddress (#720) is not in mixedCase
Variable QUADRO._swapTokensAtAmount (#723) is not in mixedCase
Variable QUADRO._maxTxAmount (#724) is not in mixedCase
Variable QUADRO.BTCRewardsFee (#726) is not in mixedCase
Variable QUADRO._sellBTCRewardsFee (#733) is not in mixedCase
Variable QUADRO._sellLiquidityFee (#734) is not in mixedCase
Variable QUADRO._sellMarketingFee (#735) is not in mixedCase
Variable QUADRO._sellNftrewardFee (#736) is not in mixedCase
Variable QUADRO._walletMaxHoldingLimit (#1133) is not in mixedCase
Parameter QuadroDividendTracker.updateMinimumTokenBalanceForDividends(uint256)._tokens (#1241) is not in mixedCase
Parameter QuadroDividendTracker.getAccount(address)._account (#1256) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#30)" inContext (#23-33)
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 (#504) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#505)
Variable QUADRO.updateBuyFees(uint256,uint256,uint256,uint256)._liquiditFee (#838) is too similar to QUADRO.liquidityFee (#727)
Variable QUADRO.updateSellFees(uint256,uint256,uint256,uint256)._liquiditFee (#852) is too similar to QUADRO.liquidityFee (#727)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#363) is too similar to QuadroDividendTracker.getAccount(address).withdrawableDividends (#1261)
Prevent variables from having similar names.
Additional information: link
QUADRO.updateGasForProcessing(uint256) (#884-889) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,Quadro: gasForProcessing must be between 200,000 and 500,000) (#885)
QUADRO.slitherConstructorVariables() (#705-1189) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#715)
QUADRO.slitherConstructorVariables() (#705-1189) uses literals with too many digits:
- gasForProcessing = 300000 (#739)
QuadroDividendTracker.getAccountAtIndex(uint256) (#1301-1318) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1312)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#123) is never used in SafeMathInt (#121-157)
Remove unused state variables.
Additional information: link
QUADRO._totalSupply (#722) should be constant
QUADRO.deadWallet (#715) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#53-56)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#58-62)
name() should be declared external:
- BEP20.name() (#184-186)
symbol() should be declared external:
- BEP20.symbol() (#192-194)
decimals() should be declared external:
- BEP20.decimals() (#196-198)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#215-218)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#220-222)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#224-227)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#229-237)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#240-243)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#246-249)
distributeBTCDividends(uint256) should be declared external:
- DividendPayingToken.distributeBTCDividends(uint256) (#344-355)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#357-359)
- QuadroDividendTracker.withdrawDividend() (#1220-1222)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#381-383)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#390-392)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#445-447)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#449-454)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#456-458)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#462-464)
updateDividendTracker(address) should be declared external:
- QUADRO.updateDividendTracker(address) (#796-806)
updateUniswapV2Router(address) should be declared external:
- QUADRO.updateUniswapV2Router(address) (#808-815)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- QUADRO.excludeMultipleAccountsFromFees(address[],bool) (#823-828)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- QUADRO.setAutomatedMarketMakerPair(address,bool) (#865-869)
updateGasForProcessing(uint256) should be declared external:
- QUADRO.updateGasForProcessing(uint256) (#884-889)
isExcludedFromFees(address) should be declared external:
- QUADRO.isExcludedFromFees(address) (#903-905)
withdrawableDividendOf(address) should be declared external:
- QUADRO.withdrawableDividendOf(address) (#907-909)
dividendTokenBalanceOf(address) should be declared external:
- QUADRO.dividendTokenBalanceOf(address) (#911-913)
getAccountAtIndex(uint256) should be declared external:
- QuadroDividendTracker.getAccountAtIndex(uint256) (#1301-1318)
process(uint256) should be declared external:
- QuadroDividendTracker.process(uint256) (#1345-1390)
Use the external attribute for functions never called from the contract.
Additional information: link
QUADRO.slitherConstructorVariables() (#705-1189) performs a multiplication on the result of a division:
-_walletMaxHoldingLimit = _totalSupply.div(1000).mul(15) (#1133)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#362-378):
External calls:
- success = IBEP20(BTC).transfer(user,_withdrawableDividend) (#367)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#370)
Reentrancy in QUADRO.updateDividendTracker(address) (#796-806):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#801)
- newDividendTracker.excludeFromDividends(address(this)) (#802)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#803)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#805)
Apply the check-effects-interactions pattern.
Additional information: link
QUADRO._transfer(address,address,uint256).iterations (#1023) is a local variable never initialized
QUADRO._transfer(address,address,uint256).claims (#1023) is a local variable never initialized
QUADRO._transfer(address,address,uint256).lastProcessedIndex (#1023) 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
QUADRO.claim() (#950-952) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#951)
QUADRO._transfer(address,address,uint256) (#964-1030) ignores return value by dividendTracker.process(gas) (#1023-1028)
QUADRO.addLiquidity(uint256,uint256) (#1045-1057) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#339) shadows:
- BEP20._name (#173) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#339) shadows:
- BEP20._symbol (#174) (state variable)
DividendPayingToken.dividendOf(address)._owner (#381) shadows:
- Ownable._owner (#36) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#386) shadows:
- Ownable._owner (#36) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#390) shadows:
- Ownable._owner (#36) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#394) shadows:
- Ownable._owner (#36) (state variable)
Rename the local variables that shadow another component.
Additional information: link
QUADRO.setMaxTxAmount(uint256) (#1124-1128) should emit an event for:
- _maxTxAmount = _amount (#1126)
QUADRO.updateWalletMaxHoldingLimit(uint256) (#1168-1172) should emit an event for:
- _walletMaxHoldingLimit = _amount (#1170)
QUADRO.set_swapTokensAtAmount(uint256) (#1184-1187) should emit an event for:
- _swapTokensAtAmount = _value (#1186)
Emit an event for critical parameter changes.
Additional information: link
QUADRO.updateUniswapV2Router(address)._uniswapV2Pair (#812-813) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#814)
QUADRO.updateWalletsAddresses(address,address)._marketingWallet (#830) lacks a zero-check on :
- _marketingWalletAddress = _marketingWallet (#833)
QUADRO.updateWalletsAddresses(address,address)._nftRewardWallet (#830) lacks a zero-check on :
- _nftrewardWalletAddress = _nftRewardWallet (#834)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#362-378) has external calls inside a loop: success = IBEP20(BTC).transfer(user,_withdrawableDividend) (#367)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'QUADRO._transfer(address,address,uint256).iterations (#1023)' in QUADRO._transfer(address,address,uint256) (#964-1030) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1024)
Variable 'QUADRO._transfer(address,address,uint256).claims (#1023)' in QUADRO._transfer(address,address,uint256) (#964-1030) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1024)
Variable 'QUADRO._transfer(address,address,uint256).lastProcessedIndex (#1023)' in QUADRO._transfer(address,address,uint256) (#964-1030) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1024)
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 QUADRO._transfer(address,address,uint256) (#964-1030):
External calls:
- swapAndLiquify(swapTokens) (#987)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- swapAndSendDividendsAndFee(sellTokens) (#989)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1115-1120)
- success = IBEP20(BTC).transfer(address(dividendTracker),dividends) (#1094)
- IBEP20(BTC).transfer(_marketingWalletAddress,forMarketing) (#1096)
- IBEP20(BTC).transfer(_nftrewardWalletAddress,forNftreward) (#1097)
- dividendTracker.distributeBTCDividends(dividends) (#1101)
External calls sending eth:
- swapAndLiquify(swapTokens) (#987)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
State variables written after the call(s):
- swapAndSendDividendsAndFee(sellTokens) (#989)
- _allowances[owner][spender] = amount (#294)
Reentrancy in QUADRO.constructor() (#755-783):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#760-761)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#763)
- uniswapV2Router = _uniswapV2Router (#762)
Reentrancy in QUADRO.constructor() (#755-783):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#760-761)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#764)
- dividendTracker.excludeFromDividends(pair) (#878)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#766)
- dividendTracker.excludeFromDividends(address(this)) (#767)
- dividendTracker.excludeFromDividends(deadWallet) (#768)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#769)
State variables written after the call(s):
- _mint(owner(),_totalSupply) (#782)
- _balances[account] = _balances[account].add(amount) (#272)
- excludeFromFees(owner(),true) (#771)
- _isExcludedFromFees[account] = excluded (#819)
- excludeFromFees(_marketingWalletAddress,true) (#772)
- _isExcludedFromFees[account] = excluded (#819)
- excludeFromFees(_nftrewardWalletAddress,true) (#773)
- _isExcludedFromFees[account] = excluded (#819)
- excludeFromFees(address(this),true) (#774)
- _isExcludedFromFees[account] = excluded (#819)
- excludeWalletsFromWhales() (#777)
- _isExcludedFromWhale[owner()] = true (#1137)
- _isExcludedFromWhale[address(this)] = true (#1138)
- _isExcludedFromWhale[address(0)] = true (#1139)
- _isExcludedFromWhale[uniswapV2Pair] = true (#1140)
- _isExcludedFromWhale[_marketingWalletAddress] = true (#1141)
- _isExcludedFromWhale[_nftrewardWalletAddress] = true (#1142)
- _mint(owner(),_totalSupply) (#782)
- _totalSupply = _totalSupply.add(amount) (#271)
Reentrancy in QuadroDividendTracker.processAccount(address,bool) (#1394-1404):
External calls:
- amount = _withdrawDividendOfUser(account) (#1395)
- success = IBEP20(BTC).transfer(user,_withdrawableDividend) (#367)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1398)
Reentrancy in QUADRO.swapAndLiquify(uint256) (#1034-1043):
External calls:
- swapTokensForEth(half) (#1039)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- addLiquidity(otherHalf,newBalance) (#1041)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1041)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1041)
- _allowances[owner][spender] = amount (#294)
Reentrancy in QUADRO.updateUniswapV2Router(address) (#808-815):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#812-813)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#814)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in QUADRO._setAutomatedMarketMakerPair(address,bool) (#873-881):
External calls:
- dividendTracker.excludeFromDividends(pair) (#878)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#880)
Reentrancy in QUADRO._transfer(address,address,uint256) (#964-1030):
External calls:
- swapAndLiquify(swapTokens) (#987)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- swapAndSendDividendsAndFee(sellTokens) (#989)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1115-1120)
- success = IBEP20(BTC).transfer(address(dividendTracker),dividends) (#1094)
- IBEP20(BTC).transfer(_marketingWalletAddress,forMarketing) (#1096)
- IBEP20(BTC).transfer(_nftrewardWalletAddress,forNftreward) (#1097)
- dividendTracker.distributeBTCDividends(dividends) (#1101)
External calls sending eth:
- swapAndLiquify(swapTokens) (#987)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#295)
- swapAndSendDividendsAndFee(sellTokens) (#989)
- SendDividends(tokens.mul(BTCRewardsFee).div(_totalFee),dividends) (#1102)
- swapAndSendDividendsAndFee(sellTokens) (#989)
- Transfer(sender,recipient,amount) (#264)
- super._transfer(from,address(this),fees) (#1010)
- Transfer(sender,recipient,amount) (#264)
- super._transfer(from,to,amount) (#1015)
Reentrancy in QUADRO._transfer(address,address,uint256) (#964-1030):
External calls:
- swapAndLiquify(swapTokens) (#987)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- swapAndSendDividendsAndFee(sellTokens) (#989)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1115-1120)
- success = IBEP20(BTC).transfer(address(dividendTracker),dividends) (#1094)
- IBEP20(BTC).transfer(_marketingWalletAddress,forMarketing) (#1096)
- IBEP20(BTC).transfer(_nftrewardWalletAddress,forNftreward) (#1097)
- dividendTracker.distributeBTCDividends(dividends) (#1101)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1017)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1018)
- dividendTracker.process(gas) (#1023-1028)
External calls sending eth:
- swapAndLiquify(swapTokens) (#987)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1024)
Reentrancy in QUADRO.constructor() (#755-783):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#760-761)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#764)
- dividendTracker.excludeFromDividends(pair) (#878)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#880)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#764)
Reentrancy in QUADRO.constructor() (#755-783):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#760-761)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#764)
- dividendTracker.excludeFromDividends(pair) (#878)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#766)
- dividendTracker.excludeFromDividends(address(this)) (#767)
- dividendTracker.excludeFromDividends(deadWallet) (#768)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#769)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#820)
- excludeFromFees(_marketingWalletAddress,true) (#772)
- ExcludeFromFees(account,excluded) (#820)
- excludeFromFees(owner(),true) (#771)
- ExcludeFromFees(account,excluded) (#820)
- excludeFromFees(address(this),true) (#774)
- ExcludeFromFees(account,excluded) (#820)
- excludeFromFees(_nftrewardWalletAddress,true) (#773)
- Transfer(address(0),account,amount) (#273)
- _mint(owner(),_totalSupply) (#782)
Reentrancy in QuadroDividendTracker.processAccount(address,bool) (#1394-1404):
External calls:
- amount = _withdrawDividendOfUser(account) (#1395)
- success = IBEP20(BTC).transfer(user,_withdrawableDividend) (#367)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1399)
Reentrancy in QUADRO.processDividendTracker(uint256) (#945-948):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#946)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#947)
Reentrancy in QUADRO.swapAndLiquify(uint256) (#1034-1043):
External calls:
- swapTokensForEth(half) (#1039)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- addLiquidity(otherHalf,newBalance) (#1041)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1041)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1050-1056)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#295)
- addLiquidity(otherHalf,newBalance) (#1041)
- SwapAndLiquify(half,newBalance,otherHalf) (#1042)
Reentrancy in QUADRO.swapAndSendDividendsAndFee(uint256) (#1080-1104):
External calls:
- swapTokensForBTC(tokens) (#1082)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1115-1120)
- success = IBEP20(BTC).transfer(address(dividendTracker),dividends) (#1094)
- IBEP20(BTC).transfer(_marketingWalletAddress,forMarketing) (#1096)
- IBEP20(BTC).transfer(_nftrewardWalletAddress,forNftreward) (#1097)
- dividendTracker.distributeBTCDividends(dividends) (#1101)
Event emitted after the call(s):
- SendDividends(tokens.mul(BTCRewardsFee).div(_totalFee),dividends) (#1102)
Reentrancy in QUADRO.updateDividendTracker(address) (#796-806):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#801)
- newDividendTracker.excludeFromDividends(address(this)) (#802)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#803)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#804)
Apply the check-effects-interactions pattern.
Additional information: link
QuadroDividendTracker.getAccount(address) (#1256-1299) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1296-1298)
QuadroDividendTracker.canAutoClaim(uint256) (#1320-1326) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1321)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1325)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#29-32) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#399-405) is never used and should be removed
SafeMath.mod(uint256,uint256) (#110-112) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#115-118) is never used and should be removed
SafeMathInt.abs(int256) (#148-151) is never used and should be removed
SafeMathInt.div(int256,int256) (#131-134) is never used and should be removed
SafeMathInt.mul(int256,int256) (#124-129) is never used and should be removed
Remove unused functions.
Additional information: link
QUADRO._maxTxAmount (#724) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(5).div(1000)
QUADRO.buyToalFees (#730) is set pre-construction with a non-constant function or state variable:
- BTCRewardsFee.add(liquidityFee).add(marketingFee).add(nftrewardFee)
QUADRO.sellTotalFees (#737) is set pre-construction with a non-constant function or state variable:
- _sellBTCRewardsFee.add(_sellLiquidityFee).add(_sellMarketingFee).add(_sellNftrewardFee)
QUADRO._walletMaxHoldingLimit (#1133) is set pre-construction with a non-constant function or state variable:
- _totalSupply.div(1000).mul(15)
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
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. Ignore for presale.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Contract has 2% buy tax and 3% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Token has only one trading pair
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
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account