Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
LTCKING._splitOtherToken() (#1233-1279) ignores return value by doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1262)
LTCKING._splitOtherToken() (#1233-1279) ignores return value by doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1272)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
LTCKING.startTime (#1035) is never initialized. It is used in:
- LTCKING.isIn3minter() (#1117-1119)
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
LTCKING._transfer(address,address,uint256) (#1121-1172) performs a multiplication on the result of a division:
-amount = amount.div(100).mul(87) (#1162)
LTCKING._splitOtherToken() (#1233-1279) performs a multiplication on the result of a division:
-thisAmount = thisAmount.mul(4).div(5) (#1236)
-doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1262)
-rate = balanceOf(user).mul(10000).div(totalAmount) (#1270)
LTCKING._splitOtherToken() (#1233-1279) performs a multiplication on the result of a division:
-thisAmount = thisAmount.mul(4).div(5) (#1236)
-rate = balanceOf(user).mul(10000).div(totalAmount) (#1270)
-doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1272)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in LTCKING._transfer(address,address,uint256) (#1121-1172):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1140)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1212-1218)
State variables written after the call(s):
- swapping = false (#1142)
Reentrancy in LTCKING._transfer(address,address,uint256) (#1121-1172):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1140)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1212-1218)
- _splitOtherToken() (#1146)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1262)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1272)
State variables written after the call(s):
- super._transfer(from,_destroyAddress,amount.div(100)) (#1154)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- super._transfer(from,_fundAddress,amount.div(100)) (#1156)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- super._transfer(from,uniswapV2Pair,amount.div(100)) (#1158)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- super._transfer(from,address(this),amount.div(10)) (#1160)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- super._transfer(from,to,amount) (#1164)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#558-561)
- _balances[recipient] = _balances[recipient].add(amount) (#562)
- buyUser.push(to) (#1168)
Apply the check-effects-interactions pattern.
Additional information: link
LTCKING._splitOtherToken().startIndex (#1240) 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
ERC20.allowance(address,address).owner (#414) shadows:
- Ownable.owner() (#277-279) (function)
ERC20._approve(address,address,uint256).owner (#625) shadows:
- Ownable.owner() (#277-279) (function)
Rename the local variables that shadow another component.
Additional information: link
LTCKING.setSwapTokensAtAmount(uint256) (#1101-1103) should emit an event for:
- swapTokensAtAmount = _swapTokensAtAmount (#1102)
Emit an event for critical parameter changes.
Additional information: link
Ownable.constructor().msgSender (#269) lacks a zero-check on :
- _owner = msgSender (#270)
LTCKING.constructor(address,address).tokenOwner (#1057) lacks a zero-check on :
- _tokenOwner = tokenOwner (#1067)
LTCKING.constructor(address,address).fundAddress (#1057) lacks a zero-check on :
- _fundAddress = fundAddress (#1068)
Check that the address is not zero.
Additional information: link
LTCKING._splitOtherToken() (#1233-1279) has external calls inside a loop: doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1262)
LTCKING._splitOtherToken() (#1233-1279) has external calls inside a loop: doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1272)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in LTCKING._transfer(address,address,uint256) (#1121-1172):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1140)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1212-1218)
- _splitOtherToken() (#1146)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1262)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1272)
State variables written after the call(s):
- havePush[to] = true (#1167)
Reentrancy in LTCKING.constructor(address,address) (#1057-1077):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1062-1063)
State variables written after the call(s):
- _approve(address(this),address(0x10ED43C718714eb63d5aA57B78B54704E256024E),10 ** 35) (#1064)
- _allowances[owner][spender] = amount (#632)
- _mint(tokenOwner,total) (#1076)
- _balances[account] = _balances[account].add(amount) (#581)
- _fundAddress = fundAddress (#1068)
- excludeFromFees(tokenOwner,true) (#1071)
- _isExcludedFromFees[account] = excluded (#1089)
- excludeFromFees(address(this),true) (#1072)
- _isExcludedFromFees[account] = excluded (#1089)
- _tokenOwner = tokenOwner (#1067)
- _mint(tokenOwner,total) (#1076)
- _totalSupply = _totalSupply.add(amount) (#580)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1069)
- automatedMarketMakerPairs[pair] = value (#1110)
- doge = IERC20(0x4338665CBB7B2485A8855A139b75D5e34AB0DB94) (#1073)
- swapTokensAtAmount = total.div(10000) (#1075)
- uniswapV2Pair = _uniswapV2Pair (#1066)
- uniswapV2Router = _uniswapV2Router (#1065)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LTCKING._transfer(address,address,uint256) (#1121-1172):
External calls:
- swapAndLiquifyV3(balanceOf(address(this))) (#1140)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1212-1218)
- _splitOtherToken() (#1146)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1262)
- doge.transfer(user,thisAmount.mul(rate).div(10000)) (#1272)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,_destroyAddress,amount.div(100)) (#1154)
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,to,amount) (#1164)
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,address(this),amount.div(10)) (#1160)
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,uniswapV2Pair,amount.div(100)) (#1158)
- Transfer(sender,recipient,amount) (#563)
- super._transfer(from,_fundAddress,amount.div(100)) (#1156)
Reentrancy in LTCKING.constructor(address,address) (#1057-1077):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1062-1063)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#633)
- _approve(address(this),address(0x10ED43C718714eb63d5aA57B78B54704E256024E),10 ** 35) (#1064)
- ExcludeFromFees(account,excluded) (#1090)
- excludeFromFees(tokenOwner,true) (#1071)
- ExcludeFromFees(account,excluded) (#1090)
- excludeFromFees(address(this),true) (#1072)
- Transfer(address(0),account,amount) (#582)
- _mint(tokenOwner,total) (#1076)
Apply the check-effects-interactions pattern.
Additional information: link
LTCKING.isIn3minter() (#1117-1119) uses timestamp for comparisons
Dangerous comparisons:
- startTime.add(180) > block.timestamp (#1118)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#9-13) is never used and should be removed
ERC20._burn(address,uint256) (#596-607) is never used and should be removed
SafeMath.sub(uint256,uint256) (#686-688) is never used and should be removed
Remove unused functions.
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#49) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#51) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#82) is not in mixedCase
Function IUniswapV2Router01.WETH() (#816) is not in mixedCase
Parameter LTCKING.setSwapTokensAtAmount(uint256)._swapTokensAtAmount (#1101) is not in mixedCase
Parameter LTCKING.setSwapAndLiquifyEnabled(bool)._enabled (#1105) is not in mixedCase
Function LTCKING._splitOtherToken() (#1233-1279) is not in mixedCase
Variable LTCKING._tokenOwner (#1024) is not in mixedCase
Variable LTCKING._fundAddress (#1025) is not in mixedCase
Variable LTCKING._receive (#1029) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-14)
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 (#821) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#822)
Prevent variables from having similar names.
Additional information: link
LTCKING.slitherConstructorVariables() (#1019-1286) uses literals with too many digits:
- _destroyAddress = address(0x000000000000000000000000000000000000dEaD) (#1030)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
LTCKING._destroyAddress (#1030) should be constant
LTCKING._receive (#1029) should be constant
LTCKING.minBuyAmount (#1036) should be constant
LTCKING.startTime (#1035) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#277-279)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#296-299)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#305-312)
name() should be declared external:
- ERC20.name() (#344-346)
symbol() should be declared external:
- ERC20.symbol() (#352-354)
decimals() should be declared external:
- ERC20.decimals() (#369-371)
totalSupply() should be declared external:
- ERC20.totalSupply() (#376-378)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#401-409)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#414-422)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#431-439)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#454-469)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#483-494)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#510-524)
updateUniswapV2Router(address) should be declared external:
- LTCKING.updateUniswapV2Router(address) (#1083-1086)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- LTCKING.excludeMultipleAccountsFromFees(address[],bool) (#1093-1099)
setSwapTokensAtAmount(uint256) should be declared external:
- LTCKING.setSwapTokensAtAmount(uint256) (#1101-1103)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LTCKING.setSwapAndLiquifyEnabled(bool) (#1105-1107)
isExcludedFromFees(address) should be declared external:
- LTCKING.isExcludedFromFees(address) (#1113-1115)
isIn3minter() should be declared external:
- LTCKING.isIn3minter() (#1117-1119)
swapAndLiquifyV1(uint256) should be declared external:
- LTCKING.swapAndLiquifyV1(uint256) (#1174-1178)
swapAndLiquifyV4() should be declared external:
- LTCKING.swapAndLiquifyV4() (#1201-1203)
rescueToken(address,uint256) should be declared external:
- LTCKING.rescueToken(address,uint256) (#1223-1229)
getBuysize() should be declared external:
- LTCKING.getBuysize() (#1281-1283)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
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 Telegram and Twitter accounts