BtcKing Token is featuring dividend Bitcoin issued on Binance Smart Chain. BtcKing Token has no project party and belongs to the community autonomous DAO model. The goal is to become a new geberation of kings. The community is completely fair and just, transparent and completely decentralized.
Holding BtcKing can continuously own Bitcoins, and the wealth of users will increase. BtcKing is a pure DAO Community, there are many possibilities and the project will get better and better. In the future, it will monopolize the NFT market in the virtual market .The BtcKing token has an 11% Buy/12% Sell fee structure which is distributed as follows. 2% Buy/3% Sell is automatically allocated to the exchange liquidity pool and remiving the need for the liquidity pool.
The smart contract for BtcKing has also been successfully audited. BtcKing is definitely on the rise in 2022. We will launch an impact on the DAO aera and motivate to become the strongest DAO in 2022. Come and join our trembling ar
dividendcontract.addLiquidity(uint256,uint256) (#1273-1286) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in dividendcontract._transfer(address,address,uint256) (#1123-1209):
External calls:
- swapAndSendToFee(AmountMarketingFee) (#1149)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- swapAndSendDividends(AmountTokenRewardsFee) (#1151)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1292)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- dividendTracker.distributeCAKEDividends(dividends) (#1294)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
State variables written after the call(s):
- AmountLiquidityFee += LFee (#1171)
- AmountLiquidityFee += LFee (#1181)
- AmountMarketingFee += MFee (#1175)
- AmountMarketingFee += MFee (#1185)
- AmountTokenRewardsFee += RFee (#1173)
- AmountTokenRewardsFee += RFee (#1183)
- super._transfer(from,deadWallet,DFee) (#1190)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#490)
- _balances[recipient] = _balances[recipient].add(amount) (#491)
- super._transfer(from,address(this),fees.sub(DFee)) (#1191)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#490)
- _balances[recipient] = _balances[recipient].add(amount) (#491)
- super._transfer(from,to,amount) (#1194)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#490)
- _balances[recipient] = _balances[recipient].add(amount) (#491)
- swapping = false (#1152)
Apply the check-effects-interactions pattern.
Additional information: link
dividendcontract.swapAndSendToFee(uint256) (#1211-1217) ignores return value by IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Reentrancy in dividendcontract.swapManual() (#1078-1086):
External calls:
- swapAndLiquify(AmountLiquidityFee) (#1082)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- swapAndSendDividends(AmountTokenRewardsFee) (#1083)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1292)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- dividendTracker.distributeCAKEDividends(dividends) (#1294)
- swapAndSendToFee(AmountMarketingFee) (#1084)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1082)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
State variables written after the call(s):
- swapAndSendToFee(AmountMarketingFee) (#1084)
- _allowances[owner][spender] = amount (#556)
- swapping = false (#1085)
Reentrancy in dividendcontract.swapAndSendDividends(uint256) (#1288-1297):
External calls:
- swapTokensForCake(tokens) (#1289)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
State variables written after the call(s):
- AmountTokenRewardsFee = AmountTokenRewardsFee - tokens (#1290)
Reentrancy in dividendcontract.swapManual() (#1078-1086):
External calls:
- swapAndLiquify(AmountLiquidityFee) (#1082)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- swapAndSendDividends(AmountTokenRewardsFee) (#1083)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1292)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- dividendTracker.distributeCAKEDividends(dividends) (#1294)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1082)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
State variables written after the call(s):
- swapAndSendDividends(AmountTokenRewardsFee) (#1083)
- _allowances[owner][spender] = amount (#556)
Reentrancy in dividendcontract._transfer(address,address,uint256) (#1123-1209):
External calls:
- swapAndSendToFee(AmountMarketingFee) (#1149)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- swapAndSendDividends(AmountTokenRewardsFee) (#1151)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1292)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- dividendTracker.distributeCAKEDividends(dividends) (#1294)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
State variables written after the call(s):
- swapAndSendDividends(AmountTokenRewardsFee) (#1151)
- _allowances[owner][spender] = amount (#556)
Reentrancy in dividendcontract.swapAndSendToFee(uint256) (#1211-1217):
External calls:
- swapTokensForCake(tokens) (#1213)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
State variables written after the call(s):
- AmountMarketingFee = AmountMarketingFee - tokens (#1216)
Reentrancy in dividendcontract.swapAndLiquify(uint256) (#1219-1236):
External calls:
- swapTokensForEth(half) (#1227)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- addLiquidity(otherHalf,newBalance) (#1233)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1233)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
State variables written after the call(s):
- AmountLiquidityFee = AmountLiquidityFee - tokens (#1234)
- addLiquidity(otherHalf,newBalance) (#1233)
- _allowances[owner][spender] = amount (#556)
Reentrancy in dividendcontract.updateUniswapV2Router(address) (#948-955):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#952-953)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#954)
Reentrancy in dividendcontract._transfer(address,address,uint256) (#1123-1209):
External calls:
- swapAndSendToFee(AmountMarketingFee) (#1149)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
State variables written after the call(s):
- swapAndLiquify(AmountLiquidityFee) (#1150)
- _allowances[owner][spender] = amount (#556)
Apply the check-effects-interactions pattern.
Additional information: link
Clones.predictDeterministicAddress(address,bytes32,address) (#274-289) uses assembly
- INLINE ASM (#279-288)
Clones.clone(address) (#242-251) uses assembly
- INLINE ASM (#243-249)
Clones.cloneDeterministic(address,bytes32) (#260-269) uses assembly
- INLINE ASM (#261-267)
Do not use evm assembly.
Additional information: link
Pragma version^0.8.0 (#21) 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
SafeMathInt.MAX_INT256 (#170) is never used in SafeMathInt (#168-226)
Remove unused state variables.
Additional information: link
dividendcontract._transfer(address,address,uint256).DFee (#1168) is a local variable never initialized
dividendcontract._transfer(address,address,uint256).fees (#1164) is a local variable never initialized
dividendcontract._transfer(address,address,uint256).iterations (#1202) is a local variable never initialized
dividendcontract._transfer(address,address,uint256).lastProcessedIndex (#1202) is a local variable never initialized
dividendcontract._transfer(address,address,uint256).claims (#1202) 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
dividendcontract.claim() (#1066-1068) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1067)
dividendcontract.addLiquidity(uint256,uint256) (#1273-1286) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
dividendcontract._transfer(address,address,uint256) (#1123-1209) ignores return value by dividendTracker.process(gas) (#1202-1207)
Ensure that all the return values of the function calls are used.
Additional information: link
dividendcontract.constructor(string,string,uint256,address,address,uint256[4],uint256[4],uint256).totalSupply (#907) shadows:
- ERC20.totalSupply() (#364-366) (function)
- IERC20.totalSupply() (#83) (function)
Rename the local variables that shadow another component.
Additional information: link
dividendcontract.setBuyDeadFee(uint256) (#1116-1118) should emit an event for:
- buyDeadFee = amount (#1117)
dividendcontract.setSellTokenRewardsFee(uint256) (#1107-1109) should emit an event for:
- sellTokenRewardsFee = amount (#1108)
dividendcontract.setBuyLiquidityFee(uint256) (#1098-1100) should emit an event for:
- buyLiquidityFee = amount (#1099)
dividendcontract.setBuyMarketingFee(uint256) (#1110-1112) should emit an event for:
- buyMarketingFee = amount (#1111)
dividendcontract.setSwapTokensAtAmount(uint256) (#1091-1093) should emit an event for:
- swapTokensAtAmount = amount (#1092)
dividendcontract.setSellMarketingFee(uint256) (#1113-1115) should emit an event for:
- sellMarketingFee = amount (#1114)
dividendcontract.setSellLiquidityFee(uint256) (#1101-1103) should emit an event for:
- sellLiquidityFee = amount (#1102)
dividendcontract.setSellDeadFee(uint256) (#1119-1121) should emit an event for:
- sellDeadFee = amount (#1120)
dividendcontract.setBuyTokenRewardsFee(uint256) (#1104-1106) should emit an event for:
- buyTokenRewardsFee = amount (#1105)
Emit an event for critical parameter changes.
Additional information: link
Clones.predictDeterministicAddress(address,bytes32,address) (#274-289) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_predictDeterministicAddress_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000) (#283)
dividendcontract.constructor(string,string,uint256,address,address,uint256[4],uint256[4],uint256) (#881-940) uses literals with too many digits:
- gasForProcessing = 300000 (#911)
dividendcontract.updateGasForProcessing(uint256) (#996-1001) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,GasForProcessing must be between 200,000 and 500,000) (#997)
Clones.predictDeterministicAddress(address,bytes32,address) (#274-289) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_predictDeterministicAddress_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (#281)
dividendcontract.slitherConstructorVariables() (#806-1299) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#834)
Clones.clone(address) (#242-251) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_clone_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) (#247)
Clones.cloneDeterministic(address,bytes32) (#260-269) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_cloneDeterministic_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (#263)
Clones.cloneDeterministic(address,bytes32) (#260-269) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_cloneDeterministic_asm_0 + 0x28,0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) (#265)
Clones.clone(address) (#242-251) uses literals with too many digits:
- mstore(uint256,uint256)(ptr_clone_asm_0,0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) (#245)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#420-428)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#53-55)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- dividendcontract.setAutomatedMarketMakerPair(address,bool) (#976-979)
setSellLiquidityFee(uint256) should be declared external:
- dividendcontract.setSellLiquidityFee(uint256) (#1101-1103)
updateUniswapV2Router(address) should be declared external:
- dividendcontract.updateUniswapV2Router(address) (#948-955)
setBuyMarketingFee(uint256) should be declared external:
- dividendcontract.setBuyMarketingFee(uint256) (#1110-1112)
decimals() should be declared external:
- ERC20.decimals() (#357-359)
setBuyDeadFee(uint256) should be declared external:
- dividendcontract.setBuyDeadFee(uint256) (#1116-1118)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#461-464)
swapManual() should be declared external:
- dividendcontract.swapManual() (#1078-1086)
symbol() should be declared external:
- ERC20.symbol() (#340-342)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#383-386)
updateMinimumTokenBalanceForDividends(uint256) should be declared external:
- dividendcontract.updateMinimumTokenBalanceForDividends(uint256) (#944-946)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#442-445)
setSellTokenRewardsFee(uint256) should be declared external:
- dividendcontract.setSellTokenRewardsFee(uint256) (#1107-1109)
getTime() should be declared external:
- Ownable.getTime() (#64-66)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#57-60)
setBuyTokenRewardsFee(uint256) should be declared external:
- dividendcontract.setBuyTokenRewardsFee(uint256) (#1104-1106)
setBuyLiquidityFee(uint256) should be declared external:
- dividendcontract.setBuyLiquidityFee(uint256) (#1098-1100)
name() should be declared external:
- ERC20.name() (#332-334)
isExcludedFromDividends(address) should be declared external:
- dividendcontract.isExcludedFromDividends(address) (#1031-1033)
updateGasForProcessing(uint256) should be declared external:
- dividendcontract.updateGasForProcessing(uint256) (#996-1001)
dividendTokenBalanceOf(address) should be declared external:
- dividendcontract.dividendTokenBalanceOf(address) (#1023-1025)
totalSupply() should be declared external:
- ERC20.totalSupply() (#364-366)
setDeadWallet(address) should be declared external:
- dividendcontract.setDeadWallet(address) (#1095-1097)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#402-405)
setSellDeadFee(uint256) should be declared external:
- dividendcontract.setSellDeadFee(uint256) (#1119-1121)
setSwapTokensAtAmount(uint256) should be declared external:
- dividendcontract.setSwapTokensAtAmount(uint256) (#1091-1093)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- dividendcontract.excludeMultipleAccountsFromFees(address[],bool) (#964-970)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#68-73)
withdrawableDividendOf(address) should be declared external:
- dividendcontract.withdrawableDividendOf(address) (#1019-1021)
setSellMarketingFee(uint256) should be declared external:
- dividendcontract.setSellMarketingFee(uint256) (#1113-1115)
isExcludedFromFees(address) should be declared external:
- dividendcontract.isExcludedFromFees(address) (#1015-1017)
setSwapAndLiquifyBACKLBd(bool) should be declared external:
- dividendcontract.setSwapAndLiquifyBACKLBd(bool) (#1088-1090)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#391-393)
Use the external attribute for functions never called from the contract.
Additional information: link
dividendcontract.constructor(string,string,uint256,address,address,uint256[4],uint256[4],uint256).marketingWalletAddr_ (#886) lacks a zero-check on :
- _marketingWalletAddress = marketingWalletAddr_ (#892)
dividendcontract.setDeadWallet(address).addr (#1095) lacks a zero-check on :
- deadWallet = addr (#1096)
dividendcontract.updateUniswapV2Router(address)._uniswapV2Pair (#952-953) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#954)
dividendcontract.setMarketingWallet(address).wallet (#972) lacks a zero-check on :
- _marketingWalletAddress = wallet (#973)
dividendcontract.constructor(string,string,uint256,address,address,uint256[4],uint256[4],uint256).rewardAddr_ (#885) lacks a zero-check on :
- rewardToken = rewardAddr_ (#891)
Check that the address is not zero.
Additional information: link
Variable 'dividendcontract._transfer(address,address,uint256).iterations (#1202)' in dividendcontract._transfer(address,address,uint256) (#1123-1209) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1203)
Variable 'dividendcontract._transfer(address,address,uint256).lastProcessedIndex (#1202)' in dividendcontract._transfer(address,address,uint256) (#1123-1209) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1203)
Variable 'dividendcontract._transfer(address,address,uint256).claims (#1202)' in dividendcontract._transfer(address,address,uint256) (#1123-1209) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1203)
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 dividendcontract.swapAndLiquify(uint256) (#1219-1236):
External calls:
- swapTokensForEth(half) (#1227)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- addLiquidity(otherHalf,newBalance) (#1233)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1233)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#557)
- addLiquidity(otherHalf,newBalance) (#1233)
- SwapAndLiquify(half,newBalance,otherHalf) (#1235)
Reentrancy in dividendcontract.swapManual() (#1078-1086):
External calls:
- swapAndLiquify(AmountLiquidityFee) (#1082)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- swapAndSendDividends(AmountTokenRewardsFee) (#1083)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1292)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- dividendTracker.distributeCAKEDividends(dividends) (#1294)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1082)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#557)
- swapAndSendDividends(AmountTokenRewardsFee) (#1083)
- SendDividends(tokens,dividends) (#1295)
- swapAndSendDividends(AmountTokenRewardsFee) (#1083)
Reentrancy in dividendcontract.swapAndSendDividends(uint256) (#1288-1297):
External calls:
- swapTokensForCake(tokens) (#1289)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1292)
- dividendTracker.distributeCAKEDividends(dividends) (#1294)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1295)
Reentrancy in dividendcontract.swapManual() (#1078-1086):
External calls:
- swapAndLiquify(AmountLiquidityFee) (#1082)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- swapAndSendDividends(AmountTokenRewardsFee) (#1083)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1292)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- dividendTracker.distributeCAKEDividends(dividends) (#1294)
- swapAndSendToFee(AmountMarketingFee) (#1084)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1082)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#557)
- swapAndSendToFee(AmountMarketingFee) (#1084)
Reentrancy in dividendcontract._transfer(address,address,uint256) (#1123-1209):
External calls:
- swapAndSendToFee(AmountMarketingFee) (#1149)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#557)
- swapAndLiquify(AmountLiquidityFee) (#1150)
- SwapAndLiquify(half,newBalance,otherHalf) (#1235)
- swapAndLiquify(AmountLiquidityFee) (#1150)
Reentrancy in dividendcontract._transfer(address,address,uint256) (#1123-1209):
External calls:
- swapAndSendToFee(AmountMarketingFee) (#1149)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- swapAndSendDividends(AmountTokenRewardsFee) (#1151)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1292)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- dividendTracker.distributeCAKEDividends(dividends) (#1294)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#557)
- swapAndSendDividends(AmountTokenRewardsFee) (#1151)
- SendDividends(tokens,dividends) (#1295)
- swapAndSendDividends(AmountTokenRewardsFee) (#1151)
- Transfer(sender,recipient,amount) (#492)
- super._transfer(from,address(this),fees.sub(DFee)) (#1191)
- Transfer(sender,recipient,amount) (#492)
- super._transfer(from,deadWallet,DFee) (#1190)
- Transfer(sender,recipient,amount) (#492)
- super._transfer(from,to,amount) (#1194)
Reentrancy in dividendcontract._transfer(address,address,uint256) (#1123-1209):
External calls:
- swapAndSendToFee(AmountMarketingFee) (#1149)
- IERC20(rewardToken).transfer(_marketingWalletAddress,newBalance) (#1215)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1247-1253)
- swapAndSendDividends(AmountTokenRewardsFee) (#1151)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (#1292)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1264-1270)
- dividendTracker.distributeCAKEDividends(dividends) (#1294)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1196)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1197)
- dividendTracker.process(gas) (#1202-1207)
External calls sending eth:
- swapAndLiquify(AmountLiquidityFee) (#1150)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1277-1284)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1203)
Reentrancy in dividendcontract._setAutomatedMarketMakerPair(address,bool) (#985-993):
External calls:
- dividendTracker.excludeFromDividends(pair) (#990)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#992)
Reentrancy in dividendcontract.processDividendTracker(uint256) (#1061-1064):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1062)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1063)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMathInt.div(int256,int256) (#187-193) is never used and should be removed
Clones.predictDeterministicAddress(address,bytes32) (#294-300) is never used and should be removed
SafeMathInt.abs(int256) (#216-219) is never used and should be removed
SafeMathUint.toInt256Safe(uint256) (#229-233) is never used and should be removed
SafeMathInt.mul(int256,int256) (#175-182) is never used and should be removed
Clones.predictDeterministicAddress(address,bytes32,address) (#274-289) is never used and should be removed
ERC20._burn(address,uint256) (#525-533) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#162-165) is never used and should be removed
SafeMathInt.toUint256Safe(int256) (#222-225) is never used and should be removed
SafeMathInt.sub(int256,int256) (#198-202) is never used and should be removed
Context._msgData() (#28-30) is never used and should be removed
SafeMath.mod(uint256,uint256) (#158-160) is never used and should be removed
Clones.cloneDeterministic(address,bytes32) (#260-269) is never used and should be removed
SafeMathInt.add(int256,int256) (#207-211) is never used and should be removed
Remove unused functions.
Additional information: link
Variable dividendcontract._marketingWalletAddress (#832) is not in mixedCase
Variable dividendcontract._islcklisted (#835) is not in mixedCase
Variable dividendcontract.AmountTokenRewardsFee (#829) is not in mixedCase
Variable dividendcontract.AmountLiquidityFee (#828) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#771) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#788) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#770) is not in mixedCase
Variable dividendcontract.AmountMarketingFee (#830) is not in mixedCase
Parameter dividendcontract.setSwapAndLiquifyBACKLBd(bool)._BACKLBd (#1088) is not in mixedCase
Contract dividendcontract (#806-1299) is not in CapWords
Function IUniswapV2Router01.WETH() (#606) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable ERC20._totalSupply (#310) is too similar to dividendcontract.constructor(string,string,uint256,address,address,uint256[4],uint256[4],uint256).totalSupply_ (#884)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#611) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#612)
Prevent variables from having similar names.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap liquidity 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
Contract has 11% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Unable to find website, listings and other project-related information
Token has a considerable age, but we're still unable to find its website
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
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