The American cultural tour coin foundation, referred to as CTC, is committed to using blockchain technology to completely subvert many difficulties in traditional tourism. Users who hold $CTC on the Wenlvtong platform can pay for travel expenses through cryptocurrency and enjoy additional discounts when traveling around the world to book hotels, air tickets, scenic spot tickets, etc. At the same time, users can use Wenlvtong tokens to add additional economic value to travel during travel.
CTCToken.Sweep() (#1419-1422) sends eth to arbitrary user
Dangerous calls:
- address(owner()).transfer(balance) (#1421)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
CTCToken._totalSupply (#1066) shadows:
- ERC20._totalSupply (#166)
Remove the state variable shadowing.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
CTCToken.updateLiquidityWallet(address).account (#1160) lacks a zero-check on :
- liquidityWallet = account (#1161)
CTCToken.updateUsdt(address)._usdt (#1166) lacks a zero-check on :
- usdt = _usdt (#1167)
Check that the address is not zero.
Additional information: link
Reentrancy in CTCToken.constructor() (#1113-1144):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),usdt) (#1119-1121)
- uniswapV2BNBPair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1123-1125)
State variables written after the call(s):
- _pairs[uniswapV2BNBPair] = true (#1140)
- _pairs[uniswapV2Pair] = true (#1141)
- _tOwned[_msgSender()] = _tTotal (#1127)
- _taxExcluded[owner()] = true (#1132)
- _taxExcluded[address(this)] = true (#1133)
- _taxExcluded[liquidityWallet] = true (#1134)
- liquidityWallet = 0x8983ff9856bdCb5E3cC3304661B3DB9fB5659cA8 (#1129)
- managerMap[owner()] = true (#1137)
- uniswapV2BNBPair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1123-1125)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CTCToken.constructor() (#1113-1144):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),usdt) (#1119-1121)
- uniswapV2BNBPair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1123-1125)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#1143)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#1043-1053) uses assembly
- INLINE ASM (#1049-1051)
Do not use evm assembly.
Additional information: link
CTCToken.kickoutWhite(address) (#1207-1217) has costly operations inside a loop:
- _excluded.pop() (#1213)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#129-131) is never used and should be removed
ERC20._mint(address,uint256) (#378-388) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#982-991) is never used and should be removed
SafeMath.mod(uint256,uint256) (#942-944) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#1008-1017) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#959-968) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#813-819) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#855-860) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#867-872) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#838-848) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#826-831) is never used and should be removed
Remove unused functions.
Additional information: link
CTCToken._totalSupply (#1066) is set pre-construction with a non-constant function or state variable:
- 99000000 * (10 ** _decimals)
CTCToken._tTotal (#1070) is set pre-construction with a non-constant function or state variable:
- _totalSupply
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.8.2 (#5) allows old versions
solc-0.8.12 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
Function IUniswapV2Router01.WETH() (#663) is not in mixedCase
Parameter CTCToken.updateUsdt(address)._usdt (#1166) is not in mixedCase
Parameter CTCToken.isWhite(address)._add (#1191) is not in mixedCase
Parameter CTCToken.transferForeignToken(address,address)._token (#1413) is not in mixedCase
Parameter CTCToken.transferForeignToken(address,address)._to (#1413) is not in mixedCase
Function CTCToken.Sweep() (#1419-1422) is not in mixedCase
Variable CTCToken._taxExcluded (#1081) is not in mixedCase
Variable CTCToken._pairs (#1082) is not in mixedCase
Variable CTCToken._referrerByAddr (#1097) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "recipient (#1338)" inCTCToken (#1059-1425)
Redundant expression "recipient (#1347)" inCTCToken (#1059-1425)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#668) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#669)
Prevent variables from having similar names.
Additional information: link
CTCToken._takeFees(address,address,CTCToken.FeeInfo) (#1220-1256) uses literals with too many digits:
- endTotal = 9900000 * 10 ** decimals() (#1222)
CTCToken.slitherConstructorVariables() (#1059-1425) uses literals with too many digits:
- _totalSupply = 99000000 * (10 ** _decimals) (#1066)
CTCToken.slitherConstructorVariables() (#1059-1425) uses literals with too many digits:
- desilterWallet = 0x000000000000000000000000000000000000dEaD (#1092)
CTCToken.slitherConstructorVariables() (#1059-1425) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#1093)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CTCToken.MAX (#1064) is never used in CTCToken (#1059-1425)
Remove unused state variables.
Additional information: link
CTCToken._decimals (#1065) should be constant
CTCToken.deadWallet (#1093) should be constant
CTCToken.desilterWallet (#1092) should be constant
CTCToken.genFee (#1074) should be constant
CTCToken.genSecondFee (#1075) should be constant
CTCToken.poolFee (#1076) should be constant
CTCToken.whiteFee (#1077) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#188-190)
symbol() should be declared external:
- ERC20.symbol() (#196-198)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#239-242)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#258-261)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#276-290)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#304-307)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#323-331)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#497-499)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#512-519)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#570-572)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#578-581)
updateTaxExcluded(address,bool) should be declared external:
- CTCToken.updateTaxExcluded(address,bool) (#1147-1149)
updatePairs(address,bool) should be declared external:
- CTCToken.updatePairs(address,bool) (#1151-1154)
updateManager(address,bool) should be declared external:
- CTCToken.updateManager(address,bool) (#1156-1158)
updateLiquidityWallet(address) should be declared external:
- CTCToken.updateLiquidityWallet(address) (#1160-1163)
updateUsdt(address) should be declared external:
- CTCToken.updateUsdt(address) (#1166-1168)
isWhite(address) should be declared external:
- CTCToken.isWhite(address) (#1191-1193)
totalFees() should be declared external:
- CTCToken.totalFees() (#1194-1196)
includeInWhite(address) should be declared external:
- CTCToken.includeInWhite(address) (#1200-1205)
transferForeignToken(address,address) should be declared external:
- CTCToken.transferForeignToken(address,address) (#1413-1417)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find code repository for the project
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Alexa traffic rank is very low
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account