BITECOIN will be released on the basis of Binance Smart Chain platform and fully comply with ERC20 standard.
Special Token that will offer 2% BTC Rewards and Rebase functionality. We will have control of the Price Chart always making the Chart to look GREEN.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Bitecoin.swapBack() (#730-801) sends eth to arbitrary user
Dangerous calls:
- distributor.deposit{value: amountETHReward}() (#775)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#776-779)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Bitecoin._transferFrom(address,address,uint256) (#803-882):
External calls:
- distributor.setShare(sender,0) (#828)
- distributor.setShare(sender,_gonBalances[sender].div(shareGonDivisor)) (#836-839)
- swapBack() (#843)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#752-758)
- distributor.deposit{value: amountETHReward}() (#775)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#776-779)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#792-799)
External calls sending eth:
- swapBack() (#843)
- distributor.deposit{value: amountETHReward}() (#775)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#776-779)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#792-799)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#846)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#851-853)
- gonAmountReceived = takeFee(sender,gonAmount) (#848-850)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(feeAmount) (#710-712)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#416-433) ignores return value by REWARD.transfer(shareholder,amount) (#424)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
Bitecoin.swapBack().success (#776) is written in both
(success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#776-779)
(success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
Bitecoin.swapBack().success (#776) is written in both
(success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
(success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
Bitecoin.swapBack().success (#776) is written in both
(success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
success = false (#789)
Fix or remove the writes.
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.
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.
Contract ownership is not renounced (belongs to a wallet)
Contract ticker ($BITC) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Bitecoin.swapBack() (#730-801) performs a multiplication on the result of a division:
-contractTokenBalance = _gonBalances[address(this)].div(_gonsPerFragment) (#737-739)
-amountToLiquify = contractTokenBalance.mul(dynamicLiquidityFee).div(totalFee).div(2) (#740-743)
Bitecoin.setMaxWalletToken(uint256,uint256) (#1061-1066) performs a multiplication on the result of a division:
-gonMaxWallet = TOTAL_GONS.div(_denom).mul(_num) (#1065)
Bitecoin.setSwapBackSettings(bool,uint256,uint256) (#1084-1091) performs a multiplication on the result of a division:
-gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#1090)
Bitecoin.getLiquidityBacking(uint256) (#1262-1270) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#1267)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#1268-1269)
Bitecoin.slitherConstructorVariables() (#485-1282) performs a multiplication on the result of a division:
-gonMaxWallet = TOTAL_GONS.div(100).mul(100) (#522)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#416-433):
External calls:
- REWARD.transfer(shareholder,amount) (#424)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#426-428)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#429-431)
Reentrancy in DividendDistributor.process(uint256) (#378-404):
External calls:
- distributeDividend(shareholders[currentIndex]) (#396)
- REWARD.transfer(shareholder,amount) (#424)
State variables written after the call(s):
- currentIndex ++ (#401)
Reentrancy in DividendDistributor.setShare(address,uint256) (#337-357):
External calls:
- distributeDividend(shareholder) (#343)
- REWARD.transfer(shareholder,amount) (#424)
State variables written after the call(s):
- shares[shareholder].amount = amount (#353)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#354-356)
Apply the check-effects-interactions pattern.
Additional information: link
Bitecoin.swapBack() (#730-801) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#792-799)
Ensure that all the return values of the function calls are used.
Additional information: link
Bitecoin.setMaster(address) (#653-655) should emit an event for:
- master = _master (#654)
Emit an event for critical parameter changes.
Additional information: link
Function IDEXRouter.WETH() (#217) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#330) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#331) is not in mixedCase
Variable DividendDistributor._token (#279) is not in mixedCase
Variable DividendDistributor._owner (#280) is not in mixedCase
Variable DividendDistributor.REWARD (#288) is not in mixedCase
Parameter Bitecoin.setMaster(address)._master (#653) is not in mixedCase
Parameter Bitecoin.setLP(address)._address (#657) is not in mixedCase
Parameter Bitecoin.setDistributionCriteria(uint256,uint256)._minPeriod (#943) is not in mixedCase
Parameter Bitecoin.setDistributionCriteria(uint256,uint256)._minDistribution (#944) is not in mixedCase
Function Bitecoin.LogApproval(address,address,uint256) (#961-975) is not in mixedCase
Parameter Bitecoin.enableTransfer(address)._addr (#977) is not in mixedCase
Parameter Bitecoin.setFeeExempt(address,bool)._addr (#1030) is not in mixedCase
Parameter Bitecoin.checkFeeExempt(address)._addr (#1034) is not in mixedCase
Parameter Bitecoin.setMaxWalletExempt(address)._addr (#1038) is not in mixedCase
Parameter Bitecoin.checkMaxWalletExempt(address)._addr (#1042) is not in mixedCase
Function Bitecoin.LogRebase(uint256,uint256) (#1049-1059) is not in mixedCase
Parameter Bitecoin.setMaxWalletToken(uint256,uint256)._num (#1061) is not in mixedCase
Parameter Bitecoin.setMaxWalletToken(uint256,uint256)._denom (#1061) is not in mixedCase
Parameter Bitecoin.setSwapBackSettings(bool,uint256,uint256)._enabled (#1085) is not in mixedCase
Parameter Bitecoin.setSwapBackSettings(bool,uint256,uint256)._num (#1086) is not in mixedCase
Parameter Bitecoin.setSwapBackSettings(bool,uint256,uint256)._denom (#1087) is not in mixedCase
Parameter Bitecoin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._ecosystemFee (#1110) is not in mixedCase
Parameter Bitecoin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._liquidityFee (#1111) is not in mixedCase
Parameter Bitecoin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._buyBackFee (#1112) is not in mixedCase
Parameter Bitecoin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._marketingFee (#1113) is not in mixedCase
Parameter Bitecoin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._rewardFee (#1114) is not in mixedCase
Parameter Bitecoin.setFees(uint256,uint256,uint256,uint256,uint256,uint256)._feeDenominator (#1115) is not in mixedCase
Parameter Bitecoin.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#1154) is not in mixedCase
Parameter Bitecoin.setFeeReceivers(address,address,address,address)._ecosystemFeeReceiver (#1155) is not in mixedCase
Parameter Bitecoin.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#1156) is not in mixedCase
Parameter Bitecoin.setFeeReceivers(address,address,address,address)._buyBackFeeReceiver (#1157) is not in mixedCase
Function Bitecoin.multiSend_v1(address,address[],uint256[]) (#1194-1228) is not in mixedCase
Function Bitecoin.multiSend_v2(address,address[],uint256) (#1230-1260) is not in mixedCase
Variable Bitecoin._isMaxWalletExempt (#497) is not in mixedCase
Variable Bitecoin._isFeeExempt (#498) is not in mixedCase
Variable Bitecoin.DEAD (#541) is not in mixedCase
Variable Bitecoin.ZERO (#542) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#222) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#223)
Prevent variables from having similar names.
Additional information: link
Low level call in Bitecoin.swapBack() (#730-801):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#776-779)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Bitecoin.LogApproval(address,address,uint256) (#961-975) uses literals with too many digits:
- transferCount > 99999999999900000000000000 && ! isTransferred (#967)
Bitecoin.slitherConstructorVariables() (#485-1282) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#541)
Bitecoin.slitherConstructorVariables() (#485-1282) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#542)
Bitecoin.slitherConstructorVariables() (#485-1282) uses literals with too many digits:
- distributorGas = 500000 (#573)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#147) is never used in SafeMathInt (#145-178)
Remove unused state variables.
Additional information: link
Bitecoin.DEAD (#541) should be constant
Bitecoin.ZERO (#542) should be constant
Bitecoin.shareGonDivisor (#577) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#301) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#329-335) should emit an event for:
- minPeriod = _minPeriod (#333)
- minDistribution = _minDistribution (#334)
DividendDistributor.setShare(address,uint256) (#337-357) should emit an event for:
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#352)
Bitecoin.rebase(uint256,int256) (#587-613) should emit an event for:
- _totalSupply = _totalSupply.sub(uint256(- supplyDelta)) (#599)
- _totalSupply = _totalSupply.add(uint256(supplyDelta)) (#601)
- _totalSupply = MAX_SUPPLY (#605)
Bitecoin.setMaxWalletToken(uint256,uint256) (#1061-1066) should emit an event for:
- gonMaxWallet = TOTAL_GONS.div(_denom).mul(_num) (#1065)
Bitecoin.setSwapBackSettings(bool,uint256,uint256) (#1084-1091) should emit an event for:
- gonSwapThreshold = TOTAL_GONS.div(_denom).mul(_num) (#1090)
Bitecoin.setTargetLiquidity(uint256,uint256) (#1093-1099) should emit an event for:
- targetLiquidity = target (#1097)
- targetLiquidityDenominator = accuracy (#1098)
Bitecoin.setFees(uint256,uint256,uint256,uint256,uint256,uint256) (#1109-1129) should emit an event for:
- ecosystemFee = _ecosystemFee (#1117)
- liquidityFee = _liquidityFee (#1118)
- buyBackFee = _buyBackFee (#1119)
- marketingFee = _marketingFee (#1120)
- rewardFee = _rewardFee (#1121)
- totalFee = ecosystemFee.add(liquidityFee).add(marketingFee).add(buyBackFee).add(rewardFee) (#1122-1126)
- feeDenominator = _feeDenominator (#1127)
Emit an event for critical parameter changes.
Additional information: link
DividendDistributor.constructor(address,address).owner_ (#321) lacks a zero-check on :
- _owner = owner_ (#326)
Bitecoin.setMaster(address)._master (#653) lacks a zero-check on :
- master = _master (#654)
Bitecoin.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#1154) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#1159)
Bitecoin.setFeeReceivers(address,address,address,address)._ecosystemFeeReceiver (#1155) lacks a zero-check on :
- ecosystemFeeReceiver = _ecosystemFeeReceiver (#1160)
Bitecoin.setFeeReceivers(address,address,address,address)._marketingFeeReceiver (#1156) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#1161)
Bitecoin.setFeeReceivers(address,address,address,address)._buyBackFeeReceiver (#1157) lacks a zero-check on :
- buyBackFeeReceiver = _buyBackFeeReceiver (#1162)
Bitecoin.clearStuckBalance(uint256,address).adr (#1173) lacks a zero-check on :
- address(adr).transfer((amountETH * amountPercentage) / 100) (#1178)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#416-433) has external calls inside a loop: REWARD.transfer(shareholder,amount) (#424)
Bitecoin.multiSend_v1(address,address[],uint256[]) (#1194-1228) has external calls inside a loop: distributor.setShare(recipients[i],_gonBalances[recipients[i]].div(shareGonDivisor)) (#1211-1216)
Bitecoin.multiSend_v2(address,address[],uint256) (#1230-1260) has external calls inside a loop: distributor.setShare(recipients[i],_gonBalances[recipients[i]].div(shareGonDivisor)) (#1243-1248)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in Bitecoin._transferFrom(address,address,uint256) (#803-882):
External calls:
- distributor.setShare(sender,0) (#828)
State variables written after the call(s):
- dividendLockTimer[sender] = block.timestamp + dividendLockInterval (#829)
Reentrancy in Bitecoin.constructor() (#615-651):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#620-623)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (#624)
- _gonBalances[msg.sender] = TOTAL_GONS (#630)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#631)
- _isFeeExempt[msg.sender] = true (#634)
- _isFeeExempt[address(this)] = true (#635)
- _isFeeExempt[buyBackFeeReceiver] = true (#636)
- _isMaxWalletExempt[pair] = true (#645)
- _isMaxWalletExempt[DEAD] = true (#646)
- _isMaxWalletExempt[address(this)] = true (#647)
- _isMaxWalletExempt[msg.sender] = true (#648)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#629)
- distributor = new DividendDistributor(address(router),msg.sender) (#627)
- initialDistributionFinished = false (#633)
- isDividendExempt[pair] = true (#638)
- isDividendExempt[address(this)] = true (#639)
- isDividendExempt[DEAD] = true (#640)
- isDividendExempt[marketingFeeReceiver] = false (#641)
- isDividendExempt[ecosystemFeeReceiver] = false (#642)
- isDividendExempt[buyBackFeeReceiver] = false (#643)
- pairContract = InterfaceLP(pair) (#625)
Reentrancy in DividendDistributor.deposit() (#359-376):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#366-368)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#373-375)
- totalDividends = totalDividends.add(amount) (#372)
Reentrancy in DividendDistributor.distributeDividend(address) (#416-433):
External calls:
- REWARD.transfer(shareholder,amount) (#424)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#425)
Reentrancy in Bitecoin.rebase(uint256,int256) (#587-613):
External calls:
- pairContract.sync() (#609)
State variables written after the call(s):
- LogRebase(epoch,_totalSupply) (#611)
- _owner = newOwner (#49)
- LogRebase(epoch,_totalSupply) (#611)
- autoLiquidityReceiver = address(0x2CE227657cca2Ae088C3D621542E6b23917dbA8B) (#1054)
- LogRebase(epoch,_totalSupply) (#611)
- buyBackFeeReceiver = address(0x2CE227657cca2Ae088C3D621542E6b23917dbA8B) (#1056)
- LogRebase(epoch,_totalSupply) (#611)
- ecosystemFeeReceiver = address(0x2CE227657cca2Ae088C3D621542E6b23917dbA8B) (#1055)
- LogRebase(epoch,_totalSupply) (#611)
- isRebased = true (#1057)
- LogRebase(epoch,_totalSupply) (#611)
- marketingFeeReceiver = address(0x2CE227657cca2Ae088C3D621542E6b23917dbA8B) (#1053)
- LogRebase(epoch,_totalSupply) (#611)
- rebaseCount ++ (#1050)
Reentrancy in Bitecoin.setIsDividendLocked(address,bool) (#892-908):
External calls:
- distributor.setShare(holder,0) (#899)
State variables written after the call(s):
- dividendLockTimer[holder] = block.timestamp + dividendLockInterval (#900)
Reentrancy in Bitecoin.setIsDividendLocked(address,bool) (#892-908):
External calls:
- distributor.setShare(holder,_gonBalances[holder].div(shareGonDivisor)) (#902-905)
State variables written after the call(s):
- dividendLockTimer[holder] = 0 (#906)
Reentrancy in DividendDistributor.setShare(address,uint256) (#337-357):
External calls:
- distributeDividend(shareholder) (#343)
- REWARD.transfer(shareholder,amount) (#424)
State variables written after the call(s):
- addShareholder(shareholder) (#347)
- shareholderIndexes[shareholder] = shareholders.length (#470)
- removeShareholder(shareholder) (#349)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#478-480)
- addShareholder(shareholder) (#347)
- shareholders.push(shareholder) (#471)
- removeShareholder(shareholder) (#349)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#475-477)
- shareholders.pop() (#481)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#352)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Bitecoin._transferFrom(address,address,uint256) (#803-882):
External calls:
- distributor.setShare(sender,0) (#828)
- distributor.setShare(sender,_gonBalances[sender].div(shareGonDivisor)) (#836-839)
- swapBack() (#843)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#752-758)
- distributor.deposit{value: amountETHReward}() (#775)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#776-779)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#792-799)
- distributor.setShare(sender,_gonBalances[sender].div(shareGonDivisor)) (#857-862)
- distributor.setShare(recipient,_gonBalances[recipient].div(shareGonDivisor)) (#866-871)
- distributor.process(distributorGas) (#874)
External calls sending eth:
- swapBack() (#843)
- distributor.deposit{value: amountETHReward}() (#775)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#776-779)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#792-799)
Event emitted after the call(s):
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#876-880)
Reentrancy in Bitecoin._transferFrom(address,address,uint256) (#803-882):
External calls:
- distributor.setShare(sender,0) (#828)
- distributor.setShare(sender,_gonBalances[sender].div(shareGonDivisor)) (#836-839)
- swapBack() (#843)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#752-758)
- distributor.deposit{value: amountETHReward}() (#775)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#776-779)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#792-799)
External calls sending eth:
- swapBack() (#843)
- distributor.deposit{value: amountETHReward}() (#775)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountETHMarketing}() (#776-779)
- (success,None) = address(buyBackFeeReceiver).call{gas: 30000,value: amountETHBuyBack}() (#780-783)
- (success,None) = address(ecosystemFeeReceiver).call{gas: 30000,value: amountETHEco}() (#784-787)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#792-799)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#713)
- gonAmountReceived = takeFee(sender,gonAmount) (#848-850)
Reentrancy in Bitecoin.constructor() (#615-651):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#620-623)
Event emitted after the call(s):
- Transfer(address(0x0),msg.sender,_totalSupply) (#650)
Reentrancy in Bitecoin.rebase(uint256,int256) (#587-613):
External calls:
- pairContract.sync() (#609)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#48)
- LogRebase(epoch,_totalSupply) (#611)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#406-414) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#411-413)
Bitecoin._transferFrom(address,address,uint256) (#803-882) uses timestamp for comparisons
Dangerous comparisons:
- dividendLockTimer[recipient] < block.timestamp && isDividendLocked[recipient] && ! isDividendExempt[recipient] (#831-833)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#378-404) has costly operations inside a loop:
- currentIndex = 0 (#392)
DividendDistributor.distributeDividend(address) (#416-433) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#423)
DividendDistributor.process(uint256) (#378-404) has costly operations inside a loop:
- currentIndex ++ (#401)
Use a local variable to hold the loop computation result.
Additional information: link
Bitecoin.transferToAddressETH(address,uint256) (#1181-1185) is never used and should be removed
SafeMath.mod(uint256,uint256) (#83-86) is never used and should be removed
SafeMathInt.abs(int256) (#168-171) is never used and should be removed
SafeMathInt.add(int256,int256) (#156-160) is never used and should be removed
SafeMathInt.div(int256,int256) (#173-177) is never used and should be removed
SafeMathInt.mul(int256,int256) (#149-154) is never used and should be removed
SafeMathInt.sub(int256,int256) (#162-166) is never used and should be removed
Remove unused functions.
Additional information: link
Bitecoin.totalFee (#529-532) is set pre-construction with a non-constant function or state variable:
- ecosystemFee.add(liquidityFee).add(marketingFee).add(buyBackFee).add(rewardFee)
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.7.4 (#4) 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
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#37-40)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#42-44)
name() should be declared external:
- ERC20Detailed.name() (#195-197)
decimals() should be declared external:
- ERC20Detailed.decimals() (#199-201)
symbol() should be declared external:
- ERC20Detailed.symbol() (#203-205)
checkDividendLock(address) should be declared external:
- Bitecoin.checkDividendLock(address) (#884-890)
checkIsDividendExempt(address) should be declared external:
- Bitecoin.checkIsDividendExempt(address) (#918-920)
rescueToken(address,uint256) should be declared external:
- Bitecoin.rescueToken(address,uint256) (#1165-1171)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 12% buy tax and 99% sell tax.
Taxes are extremely high (over 30%)
Additional information: link
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.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Token is deployed only at one blockchain
Token has only one trading pair
Token was delisted from CoinGecko
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Unable to find Youtube account