ToonKing Token is more than just a meme. It is a multipurpose BEP20 token unlike other meme coins which serve no purpose other than branding and marketing, ToonKing has the ambition to create a community based ecosystem, backed by a strong development team. As the community grows and individual talents and skills are discovered, the development of ToonKing integrates and deploys them. The long term vision of ToonKing is mass inclusion, equality and fairness via the Blockchain.
ToonKing.swapAndSendToFee(uint256) (ToonKing.sol#378-395) sends eth to arbitrary user
Dangerous calls:
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
ToonKing.addLiquidity(uint256,uint256) (ToonKing.sol#461-476) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (ToonKing.sol#481)
- dividendTracker.distributeBUSDDividends(dividends) (ToonKing.sol#484)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#452-458)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (ToonKing.sol#358)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (ToonKing.sol#361)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (ToonKing.sol#340)
Apply the check-effects-interactions pattern.
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.
Contract ticker ($TKT) 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.
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#84)
Reentrancy in ToonKing.updateDividendTracker(address) (ToonKing.sol#131-146):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (ToonKing.sol#138)
- newDividendTracker.excludeFromDividends(address(this)) (ToonKing.sol#139)
- newDividendTracker.excludeFromDividends(owner()) (ToonKing.sol#140)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (ToonKing.sol#141)
State variables written after the call(s):
- dividendTracker = newDividendTracker (ToonKing.sol#145)
Apply the check-effects-interactions pattern.
Additional information: link
ToonKing._transfer(address,address,uint256).claims (ToonKing.sol#369) is a local variable never initialized
ToonKing._transfer(address,address,uint256).lastProcessedIndex (ToonKing.sol#369) is a local variable never initialized
ToonKing._transfer(address,address,uint256).iterations (ToonKing.sol#369) 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
ToonKing.claim() (ToonKing.sol#290-292) ignores return value by dividendTracker.processAccount(msg.sender,false) (ToonKing.sol#291)
ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376) ignores return value by dividendTracker.process(gas) (ToonKing.sol#369-374)
ToonKing.addLiquidity(uint256,uint256) (ToonKing.sol#461-476) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#50) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#50) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
ToonKing.setonSellFee(uint256,uint256,uint256,uint256) (ToonKing.sol#180-186) should emit an event for:
- onSellBUSDFee = _BUSDFee (ToonKing.sol#181)
- onSellLiquidityFee = _liquidityFee (ToonKing.sol#182)
- onSellMarketingFee = _marketingFee (ToonKing.sol#183)
- onSellBuybackFee = _buybackFee (ToonKing.sol#184)
- onSellTotalFees = onSellBUSDFee.add(onSellLiquidityFee).add(onSellMarketingFee).add(onSellBuybackFee) (ToonKing.sol#185)
ToonKing.setonBuyFee(uint256,uint256,uint256,uint256) (ToonKing.sol#188-194) should emit an event for:
- BUSDFee = _BUSDFee (ToonKing.sol#189)
- liquidityFee = _liquidityFee (ToonKing.sol#190)
- marketingFee = _marketingFee (ToonKing.sol#191)
- buybackFee = _buybackFee (ToonKing.sol#192)
- totalFees = BUSDFee.add(liquidityFee).add(marketingFee).add(buybackFee) (ToonKing.sol#193)
ToonKing.setSwapTokensAtAmount(uint256) (ToonKing.sol#196-198) should emit an event for:
- swapTokensAtAmount = amount (ToonKing.sol#197)
Emit an event for critical parameter changes.
Additional information: link
ToonKing.updateUniswapV2Router(address)._uniswapV2Pair (ToonKing.sol#152-153) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (ToonKing.sol#154)
ToonKing.setMarketingWallet(address).wallet (ToonKing.sol#172) lacks a zero-check on :
- _marketingWalletAddress = wallet (ToonKing.sol#173)
ToonKing.setBuybackWallet(address).wallet (ToonKing.sol#176) lacks a zero-check on :
- _buybackWalletAddress = wallet (ToonKing.sol#177)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92) has external calls inside a loop: success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'ToonKing._transfer(address,address,uint256).claims (ToonKing.sol#369)' in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ToonKing.sol#370)
Variable 'ToonKing._transfer(address,address,uint256).iterations (ToonKing.sol#369)' in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ToonKing.sol#370)
Variable 'ToonKing._transfer(address,address,uint256).lastProcessedIndex (ToonKing.sol#369)' in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ToonKing.sol#370)
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 ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
State variables written after the call(s):
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (ToonKing.sol#481)
- dividendTracker.distributeBUSDDividends(dividends) (ToonKing.sol#484)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#452-458)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in ToonKing.constructor() (ToonKing.sol#93-125):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ToonKing.sol#100-101)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (ToonKing.sol#104)
- uniswapV2Router = _uniswapV2Router (ToonKing.sol#103)
Reentrancy in ToonKing.constructor() (ToonKing.sol#93-125):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ToonKing.sol#100-101)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ToonKing.sol#106)
- dividendTracker.excludeFromDividends(pair) (ToonKing.sol#217)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (ToonKing.sol#109)
- dividendTracker.excludeFromDividends(address(this)) (ToonKing.sol#110)
- dividendTracker.excludeFromDividends(owner()) (ToonKing.sol#111)
- dividendTracker.excludeFromDividends(deadWallet) (ToonKing.sol#112)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (ToonKing.sol#113)
State variables written after the call(s):
- _mint(owner(),1000000000000000 * (10 ** 18)) (ToonKing.sol#124)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (ToonKing.sol#116)
- _isExcludedFromFees[account] = excluded (ToonKing.sol#159)
- excludeFromFees(_marketingWalletAddress,true) (ToonKing.sol#117)
- _isExcludedFromFees[account] = excluded (ToonKing.sol#159)
- excludeFromFees(address(this),true) (ToonKing.sol#118)
- _isExcludedFromFees[account] = excluded (ToonKing.sol#159)
- _mint(owner(),1000000000000000 * (10 ** 18)) (ToonKing.sol#124)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in ToonKingDividendTracker.processAccount(address,bool) (ToonKing.sol#686-696):
External calls:
- amount = _withdrawDividendOfUser(account) (ToonKing.sol#687)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (ToonKing.sol#690)
Reentrancy in ToonKing.swapAndLiquify(uint256) (ToonKing.sol#397-418):
External calls:
- swapTokensForEth(half) (ToonKing.sol#409)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- addLiquidity(otherHalf,newBalance) (ToonKing.sol#415)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (ToonKing.sol#415)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (ToonKing.sol#415)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in ToonKing.updateUniswapV2Router(address) (ToonKing.sol#148-155):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (ToonKing.sol#152-153)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (ToonKing.sol#154)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ToonKing._setAutomatedMarketMakerPair(address,bool) (ToonKing.sol#212-221):
External calls:
- dividendTracker.excludeFromDividends(pair) (ToonKing.sol#217)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (ToonKing.sol#220)
Reentrancy in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
Reentrancy in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- SwapAndLiquify(half,newBalance,otherHalf) (ToonKing.sol#417)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
Reentrancy in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (ToonKing.sol#481)
- dividendTracker.distributeBUSDDividends(dividends) (ToonKing.sol#484)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#452-458)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- SendDividends(tokens,dividends) (ToonKing.sol#485)
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (ToonKing.sol#358)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (ToonKing.sol#361)
Reentrancy in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (ToonKing.sol#481)
- dividendTracker.distributeBUSDDividends(dividends) (ToonKing.sol#484)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#452-458)
- dividendTracker.setBalance(address(from),balanceOf(from)) (ToonKing.sol#363)
- dividendTracker.setBalance(address(to),balanceOf(to)) (ToonKing.sol#364)
- dividendTracker.process(gas) (ToonKing.sol#369-374)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ToonKing.sol#370)
Reentrancy in ToonKing.constructor() (ToonKing.sol#93-125):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ToonKing.sol#100-101)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ToonKing.sol#106)
- dividendTracker.excludeFromDividends(pair) (ToonKing.sol#217)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (ToonKing.sol#220)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ToonKing.sol#106)
Reentrancy in ToonKing.constructor() (ToonKing.sol#93-125):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ToonKing.sol#100-101)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ToonKing.sol#106)
- dividendTracker.excludeFromDividends(pair) (ToonKing.sol#217)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (ToonKing.sol#109)
- dividendTracker.excludeFromDividends(address(this)) (ToonKing.sol#110)
- dividendTracker.excludeFromDividends(owner()) (ToonKing.sol#111)
- dividendTracker.excludeFromDividends(deadWallet) (ToonKing.sol#112)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (ToonKing.sol#113)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (ToonKing.sol#161)
- excludeFromFees(address(this),true) (ToonKing.sol#118)
- ExcludeFromFees(account,excluded) (ToonKing.sol#161)
- excludeFromFees(owner(),true) (ToonKing.sol#116)
- ExcludeFromFees(account,excluded) (ToonKing.sol#161)
- excludeFromFees(_marketingWalletAddress,true) (ToonKing.sol#117)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),1000000000000000 * (10 ** 18)) (ToonKing.sol#124)
Reentrancy in ToonKingDividendTracker.processAccount(address,bool) (ToonKing.sol#686-696):
External calls:
- amount = _withdrawDividendOfUser(account) (ToonKing.sol#687)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Event emitted after the call(s):
- Claim(account,amount,automatic) (ToonKing.sol#691)
Reentrancy in ToonKing.processDividendTracker(uint256) (ToonKing.sol#285-288):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (ToonKing.sol#286)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (ToonKing.sol#287)
Reentrancy in ToonKing.swapAndLiquify(uint256) (ToonKing.sol#397-418):
External calls:
- swapTokensForEth(half) (ToonKing.sol#409)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#432-438)
- addLiquidity(otherHalf,newBalance) (ToonKing.sol#415)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (ToonKing.sol#415)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (ToonKing.sol#415)
- SwapAndLiquify(half,newBalance,otherHalf) (ToonKing.sol#417)
Reentrancy in ToonKing.swapAndSendDividends(uint256) (ToonKing.sol#478-487):
External calls:
- swapTokensForBUSD(tokens) (ToonKing.sol#479)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ToonKing.sol#452-458)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (ToonKing.sol#481)
- dividendTracker.distributeBUSDDividends(dividends) (ToonKing.sol#484)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (ToonKing.sol#485)
Reentrancy in ToonKing.updateDividendTracker(address) (ToonKing.sol#131-146):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (ToonKing.sol#138)
- newDividendTracker.excludeFromDividends(address(this)) (ToonKing.sol#139)
- newDividendTracker.excludeFromDividends(owner()) (ToonKing.sol#140)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (ToonKing.sol#141)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (ToonKing.sol#143)
Apply the check-effects-interactions pattern.
Additional information: link
ToonKingDividendTracker.getAccount(address) (ToonKing.sol#550-593) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (ToonKing.sol#590-592)
ToonKingDividendTracker.canAutoClaim(uint256) (ToonKing.sol#614-620) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (ToonKing.sol#615)
- block.timestamp.sub(lastClaimTime) >= claimWait (ToonKing.sol#619)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#132-138) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
ToonKing.totalFees (ToonKing.sol#37) is set pre-construction with a non-constant function or state variable:
- BUSDFee.add(liquidityFee).add(marketingFee).add(buybackFee)
ToonKing.onSellTotalFees (ToonKing.sol#43) is set pre-construction with a non-constant function or state variable:
- onSellBUSDFee.add(onSellLiquidityFee).add(onSellMarketingFee).add(onSellBuybackFee)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.6.2 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (Ownable.sol#1) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#3) allows old versions
Pragma version^0.6.2 (ToonKing.sol#3) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Variable DividendPayingToken.BUSD (DividendPayingToken.sol#24) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#30) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Parameter ToonKing.setonSellFee(uint256,uint256,uint256,uint256)._BUSDFee (ToonKing.sol#180) is not in mixedCase
Parameter ToonKing.setonSellFee(uint256,uint256,uint256,uint256)._liquidityFee (ToonKing.sol#180) is not in mixedCase
Parameter ToonKing.setonSellFee(uint256,uint256,uint256,uint256)._marketingFee (ToonKing.sol#180) is not in mixedCase
Parameter ToonKing.setonSellFee(uint256,uint256,uint256,uint256)._buybackFee (ToonKing.sol#180) is not in mixedCase
Parameter ToonKing.setonBuyFee(uint256,uint256,uint256,uint256)._BUSDFee (ToonKing.sol#188) is not in mixedCase
Parameter ToonKing.setonBuyFee(uint256,uint256,uint256,uint256)._liquidityFee (ToonKing.sol#188) is not in mixedCase
Parameter ToonKing.setonBuyFee(uint256,uint256,uint256,uint256)._marketingFee (ToonKing.sol#188) is not in mixedCase
Parameter ToonKing.setonBuyFee(uint256,uint256,uint256,uint256)._buybackFee (ToonKing.sol#188) is not in mixedCase
Variable ToonKing.BUSD (ToonKing.sol#26) is not in mixedCase
Variable ToonKing._isBlacklisted (ToonKing.sol#31) is not in mixedCase
Variable ToonKing.BUSDFee (ToonKing.sol#33) is not in mixedCase
Variable ToonKing._marketingWalletAddress (ToonKing.sol#45) is not in mixedCase
Variable ToonKing._buybackWalletAddress (ToonKing.sol#46) is not in mixedCase
Parameter ToonKingDividendTracker.getAccount(address)._account (ToonKing.sol#550) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
State variables written after the call(s):
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
Reentrancy in ToonKing._transfer(address,address,uint256) (ToonKing.sol#303-376):
External calls:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (ToonKing.sol#330)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndSendToFee(buybackTokens) (ToonKing.sol#332)
- _marketingWalletAddress.transfer(marketingAmount) (ToonKing.sol#387)
- _buybackWalletAddress.transfer(buybackAmount) (ToonKing.sol#391)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ToonKing.sol#467-474)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- super._transfer(from,address(this),fees) (ToonKing.sol#358)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (ToonKing.sol#361)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (ToonKing.sol#340)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ToonKing.sol#370)
- SendDividends(tokens,dividends) (ToonKing.sol#485)
- swapAndSendDividends(sellTokens) (ToonKing.sol#338)
- SwapAndLiquify(half,newBalance,otherHalf) (ToonKing.sol#417)
- swapAndLiquify(swapTokens) (ToonKing.sol#335)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (ToonKing.sol#358)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (ToonKing.sol#361)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#77) is too similar to ToonKingDividendTracker.getAccount(address).withdrawableDividends (ToonKing.sol#555)
Prevent variables from having similar names.
Additional information: link
ToonKing.constructor() (ToonKing.sol#93-125) uses literals with too many digits:
- _mint(owner(),1000000000000000 * (10 ** 18)) (ToonKing.sol#124)
ToonKing.updateGasForProcessing(uint256) (ToonKing.sol#224-229) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,ToonKing: gasForProcessing must be between 200,000 and 500,000) (ToonKing.sol#225)
ToonKing.slitherConstructorVariables() (ToonKing.sol#14-488) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (ToonKing.sol#24)
ToonKing.slitherConstructorVariables() (ToonKing.sol#14-488) uses literals with too many digits:
- swapTokensAtAmount = 1000000000000 * (10 ** 18) (ToonKing.sol#28)
ToonKing.slitherConstructorVariables() (ToonKing.sol#14-488) uses literals with too many digits:
- gasForProcessing = 300000 (ToonKing.sol#50)
ToonKingDividendTracker.constructor() (ToonKing.sol#510-513) uses literals with too many digits:
- minimumTokenBalanceForDividends = 10000000000 * (10 ** 18) (ToonKing.sol#512)
ToonKingDividendTracker.getAccountAtIndex(uint256) (ToonKing.sol#595-612) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (ToonKing.sol#606)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.
Additional information: link
ToonKing.BUSD (ToonKing.sol#26) should be constant
ToonKing.deadWallet (ToonKing.sol#24) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
distributeBUSDDividends(uint256) should be declared external:
- DividendPayingToken.distributeBUSDDividends(uint256) (DividendPayingToken.sol#55-66)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#70-72)
- ToonKingDividendTracker.withdrawDividend() (ToonKing.sol#519-521)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#98-100)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#112-114)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
updateDividendTracker(address) should be declared external:
- ToonKing.updateDividendTracker(address) (ToonKing.sol#131-146)
updateUniswapV2Router(address) should be declared external:
- ToonKing.updateUniswapV2Router(address) (ToonKing.sol#148-155)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- ToonKing.excludeMultipleAccountsFromFees(address[],bool) (ToonKing.sol#164-170)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- ToonKing.setAutomatedMarketMakerPair(address,bool) (ToonKing.sol#201-205)
updateGasForProcessing(uint256) should be declared external:
- ToonKing.updateGasForProcessing(uint256) (ToonKing.sol#224-229)
isExcludedFromFees(address) should be declared external:
- ToonKing.isExcludedFromFees(address) (ToonKing.sol#243-245)
withdrawableDividendOf(address) should be declared external:
- ToonKing.withdrawableDividendOf(address) (ToonKing.sol#247-249)
dividendTokenBalanceOf(address) should be declared external:
- ToonKing.dividendTokenBalanceOf(address) (ToonKing.sol#251-253)
getAccountAtIndex(uint256) should be declared external:
- ToonKingDividendTracker.getAccountAtIndex(uint256) (ToonKing.sol#595-612)
process(uint256) should be declared external:
- ToonKingDividendTracker.process(uint256) (ToonKing.sol#639-684)
Use the external attribute for functions never called from the contract.
Additional information: link
Young tokens have high risks of 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
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Youtube account