Encyclopedia wTa is a Web 3.0 powered educational technology, lifelong learning and teaching platform with paid professional trainers and courses for adults and students.
People, students, educators, and those who operate on the Encyclopedia wTa; They can make their payments with Encyclopedia wTa (ENCwTa) token, as well as trade on exchanges.
Good to know: Encyclopedia wTa is a digital currency of a platform where decentralized people can develop themselves very comprehensively. By using the Encyclopedia wTa within the platform, it allows people to reach the knowledge pool they need to improve themselves, on a limited or unlimited basis.
Tokenomics
Long-term high pricing is our main target. Because we should not forget that the information on the platform will be staked by the utility token to be created and information will be purchased with the utility token.
Supply: 5.000.000 ENCwTa
Liquidity: 2.000.000 ENCwTa
Developement: 500.000 ENCwTa
Research & Innovation: 500.000 ENCwTa
Locked: 2.000.000 ENCwTa
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#905)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- _transfer(from,address(this),tax) (#905)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
State variables written after the call(s):
- charityTokens += baseUnit * buyTaxes[charity] (#911)
- devTokens += baseUnit * buyTaxes[dev] (#909)
- liquidityTokens += baseUnit * buyTaxes[liquidity] (#910)
- marketingTokens += baseUnit * buyTaxes[marketing] (#908)
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#919)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- _transfer(from,address(this),tax) (#919)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
State variables written after the call(s):
- charityTokens = 0 (#985)
- devTokens = 0 (#983)
- liquidityTokens = 0 (#984)
- marketingTokens = 0 (#982)
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#919)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- _transfer(from,address(this),tax) (#919)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
State variables written after the call(s):
- charityTokens += baseUnit * sellTaxes[charity] (#925)
- devTokens += baseUnit * sellTaxes[dev] (#923)
- liquidityTokens += baseUnit * sellTaxes[liquidity] (#924)
- marketingTokens += baseUnit * sellTaxes[marketing] (#922)
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#919)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- _transfer(from,address(this),tax) (#919)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
State variables written after the call(s):
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- _balances[sender] = senderBalance - amount (#349)
- _balances[recipient] += amount (#351)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- charityTokens += baseUnit * buyTaxes[charity] (#911)
- charityTokens += baseUnit * sellTaxes[charity] (#925)
- charityTokens = 0 (#985)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- devTokens += baseUnit * buyTaxes[dev] (#909)
- devTokens += baseUnit * sellTaxes[dev] (#923)
- devTokens = 0 (#983)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- liquidityTokens += baseUnit * buyTaxes[liquidity] (#910)
- liquidityTokens += baseUnit * sellTaxes[liquidity] (#924)
- liquidityTokens = 0 (#984)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- marketingTokens += baseUnit * buyTaxes[marketing] (#908)
- marketingTokens += baseUnit * sellTaxes[marketing] (#922)
- marketingTokens = 0 (#982)
Reentrancy in CoinToken._transfer(address,address,uint256) (#996-1011):
External calls:
- amount = handleTax(sender,recipient,amount) (#1007)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- amount = handleTax(sender,recipient,amount) (#1007)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (#1010)
- _balances[sender] = senderBalance - amount (#349)
- _balances[recipient] += amount (#351)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
CoinToken.handleTax(address,address,uint256) (#890-994) uses a dangerous strict equality:
- taxSum == 0 (#929)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
CoinToken.handleTax(address,address,uint256).tax (#896) 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
CoinToken.handleTax(address,address,uint256) (#890-994) ignores return value by uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
Ensure that all the return values of the function calls are used.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#697) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#698)
Prevent variables from having similar names.
Additional information: link
Pragma version^0.8.9 (#4) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Context._msgData() (#121-123) is never used and should be removed
Remove unused functions.
Additional information: link
CoinToken.slitherConstructorVariables() (#825-1137) uses literals with too many digits:
- swapThreshold = 500000000000 (#833)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CoinToken._transfer(address,address,uint256) (#996-1011) uses tx.origin for authorization: require(bool,string)(! isBlacklisted(tx.origin),CoinToken: sender blacklisted) (#1004)
Do not use tx.origin for authorization.
Additional information: link
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#639) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#656) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#638) is not in mixedCase
Function IUniswapV2Router01.WETH() (#692) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
pause() should be declared external:
- CoinToken.pause() (#1023-1026)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#265-279)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#518-520)
disableBlacklist(address) should be declared external:
- CoinToken.disableBlacklist(address) (#1054-1057)
decimals() should be declared external:
- ERC20.decimals() (#202-204)
disableTax() should be declared external:
- CoinToken.disableTax() (#1116-1119)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#312-320)
symbol() should be declared external:
- ERC20.symbol() (#185-187)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#216-218)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#228-231)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#293-296)
removeExclude(address) should be declared external:
- CoinToken.removeExclude(address) (#1070-1073)
unpause() should be declared external:
- CoinToken.unpause() (#1031-1034)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#526-529)
triggerTax() should be declared external:
- CoinToken.triggerTax() (#1016-1018)
name() should be declared external:
- ERC20.name() (#177-179)
enableTax() should be declared external:
- CoinToken.enableTax() (#1108-1111)
enableBlacklist(address) should be declared external:
- CoinToken.enableBlacklist(address) (#1046-1049)
totalSupply() should be declared external:
- ERC20.totalSupply() (#209-211)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#247-250)
burn(uint256) should be declared external:
- CoinToken.burn(uint256) (#1039-1041)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#236-238)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#919)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- _transfer(from,address(this),tax) (#919)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
State variables written after the call(s):
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- _allowances[owner][spender] = amount (#428)
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#919)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
External calls sending eth:
- _transfer(from,address(this),tax) (#919)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router02),liquidityToken) (#957)
- _allowances[owner][spender] = amount (#428)
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#919)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- _transfer(from,address(this),tax) (#919)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router02),toSell) (#938)
- _allowances[owner][spender] = amount (#428)
Apply the check-effects-interactions pattern.
Additional information: link
CoinToken.devTaxWallet (#845) should be constant
CoinToken.liquidityTaxSell (#842) should be constant
CoinToken.charityTaxSell (#843) should be constant
CoinToken.charityTaxWallet (#848) should be constant
CoinToken.marketingTaxWallet (#846) should be constant
CoinToken.marketingTaxBuy (#836) should be constant
CoinToken.devTaxSell (#840) should be constant
CoinToken.denominator (#831) should be constant
CoinToken.marketingTaxSell (#841) should be constant
CoinToken.liquidityTaxWallet (#847) should be constant
CoinToken.devTaxBuy (#835) should be constant
CoinToken.liquidityTaxBuy (#837) should be constant
CoinToken.charityTaxBuy (#838) should be constant
CoinToken.swapThreshold (#833) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
CoinToken.handleTax(address,address,uint256) (#890-994) uses timestamp for comparisons
Dangerous comparisons:
- tax > 0 (#904)
- tax > 0 (#918)
- taxSum == 0 (#929)
- ethValue >= swapThreshold (#933)
- remainingTokens > 0 (#970)
- ethGained - (marketingETH + devETH + liquidityETH + charityETH) > 0 (#978)
Avoid relying on block.timestamp.
Additional information: link
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-tax += baseUnit * buyTaxes[charity] (#902)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-devTokens += baseUnit * sellTaxes[dev] (#923)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-charityTokens += baseUnit * sellTaxes[charity] (#925)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-charityTokens += baseUnit * buyTaxes[charity] (#911)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-marketingTokens += baseUnit * buyTaxes[marketing] (#908)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-tax += baseUnit * buyTaxes[dev] (#900)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-marketingTokens += baseUnit * sellTaxes[marketing] (#922)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-charityETH = (ethGained * ((charityTokens * 10 ** 18) / taxSum)) / 10 ** 18 (#955)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-devETH = (ethGained * ((devTokens * 10 ** 18) / taxSum)) / 10 ** 18 (#954)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-tax += baseUnit * buyTaxes[marketing] (#899)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-tax += baseUnit * sellTaxes[charity] (#916)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-liquidityTokens += baseUnit * buyTaxes[liquidity] (#910)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-tax += baseUnit * buyTaxes[liquidity] (#901)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-marketingETH = (ethGained * ((marketingTokens * 10 ** 18) / taxSum)) / 10 ** 18 (#953)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-devTokens += baseUnit * buyTaxes[dev] (#909)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-liquidityTokens += baseUnit * sellTaxes[liquidity] (#924)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-tax += baseUnit * sellTaxes[dev] (#914)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-tax += baseUnit * sellTaxes[liquidity] (#915)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-liquidityETH = (ethGained * ((liquidityTokens / 2 * 10 ** 18) / taxSum)) / 10 ** 18 (#951)
CoinToken.handleTax(address,address,uint256) (#890-994) performs a multiplication on the result of a division:
-baseUnit = amount / denominator (#897)
-tax += baseUnit * sellTaxes[marketing] (#913)
Consider ordering multiplication before division.
Additional information: link
CoinToken.handleTax(address,address,uint256) (#890-994) ignores return value by taxWallets[charity].call{value: charityETH}() (#976)
CoinToken.handleTax(address,address,uint256) (#890-994) ignores return value by taxWallets[dev].call{value: devETH}() (#975)
CoinToken.handleTax(address,address,uint256) (#890-994) ignores return value by taxWallets[marketing].call{value: marketingETH}() (#974)
CoinToken.handleTax(address,address,uint256) (#890-994) ignores return value by taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#919)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- _transfer(from,address(this),tax) (#919)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#429)
- _approve(address(this),address(uniswapV2Router02),toSell) (#938)
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#919)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- _transfer(from,address(this),tax) (#919)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#429)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
- Transfer(sender,recipient,amount) (#353)
- _transfer(address(this),taxWallets[dev],remainingTokens) (#971)
Reentrancy in CoinToken._transfer(address,address,uint256) (#996-1011):
External calls:
- amount = handleTax(sender,recipient,amount) (#1007)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
External calls sending eth:
- amount = handleTax(sender,recipient,amount) (#1007)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#353)
- super._transfer(sender,recipient,amount) (#1010)
Reentrancy in CoinToken.handleTax(address,address,uint256) (#890-994):
External calls:
- _transfer(from,address(this),tax) (#919)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
- uniswapV2Router02.swapExactTokensForETH(toSell,0,sellPath,address(this),block.timestamp) (#940-946)
External calls sending eth:
- _transfer(from,address(this),tax) (#919)
- (amountToken,amountETH,liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}(address(this),liquidityToken,0,0,taxWallets[liquidity],block.timestamp) (#959-966)
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#429)
- _approve(address(this),address(uniswapV2Router02),liquidityToken) (#957)
Apply the check-effects-interactions pattern.
Additional information: link
Low level call in CoinToken.handleTax(address,address,uint256) (#890-994):
- taxWallets[marketing].call{value: marketingETH}() (#974)
- taxWallets[dev].call{value: devETH}() (#975)
- taxWallets[charity].call{value: charityETH}() (#976)
- taxWallets[marketing].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}() (#979)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
CoinToken.liquidityTaxSell (#842) is never used in CoinToken (#825-1137)
CoinToken.marketingTaxWallet (#846) is never used in CoinToken (#825-1137)
CoinToken.liquidityTaxBuy (#837) is never used in CoinToken (#825-1137)
CoinToken.liquidityTaxWallet (#847) is never used in CoinToken (#825-1137)
CoinToken.devTaxWallet (#845) is never used in CoinToken (#825-1137)
CoinToken.devTaxSell (#840) is never used in CoinToken (#825-1137)
CoinToken.charityTaxWallet (#848) is never used in CoinToken (#825-1137)
CoinToken.devTaxBuy (#835) is never used in CoinToken (#825-1137)
CoinToken.marketingTaxSell (#841) is never used in CoinToken (#825-1137)
CoinToken.marketingTaxBuy (#836) is never used in CoinToken (#825-1137)
CoinToken.charityTaxBuy (#838) is never used in CoinToken (#825-1137)
CoinToken.charityTaxSell (#843) is never used in CoinToken (#825-1137)
Remove unused state variables.
Additional information: link
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Contract has 5% buy tax and 5% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Telegram account has relatively few subscribers
Unable to find Youtube account