Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract creator or owner is blacklisted for past scams
TRONIC.swapAndLiquify(uint256) (#1243-1283) sends eth to arbitrary user
Dangerous calls:
- (sent) = _devAddress.call{value: devBalance}() (#1269)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in TRONIC._transfer(address,address,uint256) (#1127-1179):
External calls:
- swapAndLiquify(contractTokenBalance) (#1152)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1152)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
State variables written after the call(s):
- _devFee = _buydevFee (#1166)
- _devFee = _selldevFee (#1170)
- _devFee = _buydevFee (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _devFee = _previousdevFee (#1354)
- _devFee = 0 (#1348)
- _liquidityFee = _buyLiquidityFee (#1165)
- _liquidityFee = _sellLiquidityFee (#1169)
- _liquidityFee = _buyLiquidityFee (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _liquidityFee = _previousLiquidityFee (#1353)
- _liquidityFee = 0 (#1347)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _previousLiquidityFee = _liquidityFee (#1343)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _previousTaxFee = _taxFee (#1342)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _previousdevFee = _devFee (#1344)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1399)
- _rOwned[sender] = _rOwned[sender].sub(_rv.rAmount) (#1359)
- _rOwned[sender] = _rOwned[sender].sub(_rv.rAmount) (#1368)
- _rOwned[sender] = _rOwned[sender].sub(_rv.rAmount) (#1379)
- _rOwned[recipient] = _rOwned[recipient].add(_rv.rTransferAmount) (#1360)
- _rOwned[sender] = _rOwned[sender].sub(_rv.rAmount) (#1389)
- _rOwned[recipient] = _rOwned[recipient].add(_rv.rTransferAmount) (#1370)
- _rOwned[recipient] = _rOwned[recipient].add(_rv.rTransferAmount) (#1380)
- _rOwned[recipient] = _rOwned[recipient].add(_rv.rTransferAmount) (#1391)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _rTotalSupply = _rTotalSupply.sub(rFee) (#1406)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _tBalances[sender] = _tBalances[sender].sub(tAmount) (#1378)
- _tBalances[address(this)] = _tBalances[address(this)].add(tLiquidity) (#1401)
- _tBalances[sender] = _tBalances[sender].sub(tAmount) (#1388)
- _tBalances[recipient] = _tBalances[recipient].add(_tv.tTransferAmount) (#1369)
- _tBalances[recipient] = _tBalances[recipient].add(_tv.tTransferAmount) (#1390)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1407)
- _taxFee = _buyTaxFee (#1164)
- _taxFee = _sellTaxFee (#1168)
- _taxFee = _buyTaxFee (#1172)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- _taxFee = _previousTaxFee (#1352)
- _taxFee = 0 (#1346)
Reentrancy in TRONIC.swapAndLiquify(uint256) (#1243-1283):
External calls:
- swapTokensForEth(half) (#1256)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
External calls sending eth:
- (sent) = _devAddress.call{value: devBalance}() (#1269)
State variables written after the call(s):
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _devFee = _previousdevFee (#1354)
- _devFee = 0 (#1348)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _liquidityFee = _previousLiquidityFee (#1353)
- _liquidityFee = 0 (#1347)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _taxFee = _previousTaxFee (#1352)
- _taxFee = 0 (#1346)
Apply the check-effects-interactions pattern.
Additional information: link
TRONIC.transferTokens(address,uint256) (#1095-1098) ignores return value by token.transfer(recepient,amount) (#1097)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
TRONIC._tdevTotal (#864) is never initialized. It is used in:
- TRONIC.totaldevFees() (#1019-1021)
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
TRONIC.reflectionFromToken(uint256,bool)._tv_scope_1 (#1115) is a storage variable never initialized
TRONIC.reflectionFromToken(uint256,bool)._rv_scope_0 (#1115) is a storage variable never initialized
Initialize all storage variables.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract ticker ($TRC) 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.
TRONIC.swapAndLiquify(uint256) (#1243-1283) performs a multiplication on the result of a division:
-devBalance = newBalance.div(totalLiqFee).mul(_devFee) (#1262)
TRONIC.swapAndLiquify(uint256) (#1243-1283) performs a multiplication on the result of a division:
-devPortion = otherHalf.div(totalLiqFee).mul(_devFee) (#1263)
Consider ordering multiplication before division.
Additional information: link
TRONIC._getRValues(uint256,uint256,uint256,uint256,uint256)._rv (#1205) is a local variable never initialized
TRONIC._getTValues(uint256)._tv (#1196) 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
TRONIC.addLiquidity(uint256,uint256,address) (#1324-1337) ignores return value by pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
Ensure that all the return values of the function calls are used.
Additional information: link
TRONIC.allowance(address,address).owner (#993) shadows:
- Ownable.owner() (#784-786) (function)
TRONIC._approve(address,address,uint256).owner (#1181) shadows:
- Ownable.owner() (#784-786) (function)
Rename the local variables that shadow another component.
Additional information: link
TRONIC.setBuyTaxFeePercent(uint256) (#1062-1064) should emit an event for:
- _buyTaxFee = taxFee (#1063)
TRONIC.setSellTaxFeePercent(uint256) (#1066-1068) should emit an event for:
- _sellTaxFee = taxFee (#1067)
TRONIC.setBuyLiquidityFeePercent(uint256) (#1070-1072) should emit an event for:
- _buyLiquidityFee = liquidityFee (#1071)
TRONIC.setSellLiquidityFeePercent(uint256) (#1074-1076) should emit an event for:
- _sellLiquidityFee = liquidityFee (#1075)
TRONIC.setBuydevFeePercent(uint256) (#1078-1080) should emit an event for:
- _buydevFee = devFee (#1079)
TRONIC.setSelldevFeePercent(uint256) (#1082-1084) should emit an event for:
- _selldevFee = devFee (#1083)
TRONIC.newMaxTxnLimits(uint256,uint256) (#1100-1105) should emit an event for:
- _buyMaxTxAmount = maxBuy * 10 ** 9 (#1103)
- _sellMaxTxAmount = maxSell * 10 ** 9 (#1104)
Emit an event for critical parameter changes.
Additional information: link
TRONIC.setdevAddress(address).devAddress (#1086) lacks a zero-check on :
- _devAddress = devAddress (#1087)
Check that the address is not zero.
Additional information: link
Variable 'TRONIC.reflectionFromToken(uint256,bool)._tv (#1110)' in TRONIC.reflectionFromToken(uint256,bool) (#1107-1120) potentially used before declaration: (_rv,_tv) = _getValues(tAmount) (#1115)
Variable 'TRONIC.reflectionFromToken(uint256,bool)._rv (#1110)' in TRONIC.reflectionFromToken(uint256,bool) (#1107-1120) potentially used before declaration: (_rv,_tv) = _getValues(tAmount) (#1115)
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 TRONIC.constructor() (#908-937):
External calls:
- pancakePair = IPancakeFactory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#929)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#934)
- _isExcludedFromFee[address(this)] = true (#935)
- _isExcludedFromFee[_devAddress] = true (#936)
- pancakeRouter = _pancakeRouter (#931)
Reentrancy in TRONIC.swapAndLiquify(uint256) (#1243-1283):
External calls:
- swapTokensForEth(half) (#1256)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
External calls sending eth:
- (sent) = _devAddress.call{value: devBalance}() (#1269)
State variables written after the call(s):
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _previousLiquidityFee = _liquidityFee (#1343)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _previousTaxFee = _taxFee (#1342)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _previousdevFee = _devFee (#1344)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1399)
- _rOwned[sender] = _rOwned[sender].sub(_rv.rAmount) (#1359)
- _rOwned[sender] = _rOwned[sender].sub(_rv.rAmount) (#1368)
- _rOwned[sender] = _rOwned[sender].sub(_rv.rAmount) (#1379)
- _rOwned[recipient] = _rOwned[recipient].add(_rv.rTransferAmount) (#1360)
- _rOwned[sender] = _rOwned[sender].sub(_rv.rAmount) (#1389)
- _rOwned[recipient] = _rOwned[recipient].add(_rv.rTransferAmount) (#1370)
- _rOwned[recipient] = _rOwned[recipient].add(_rv.rTransferAmount) (#1380)
- _rOwned[recipient] = _rOwned[recipient].add(_rv.rTransferAmount) (#1391)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _rTotalSupply = _rTotalSupply.sub(rFee) (#1406)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _tBalances[sender] = _tBalances[sender].sub(tAmount) (#1378)
- _tBalances[address(this)] = _tBalances[address(this)].add(tLiquidity) (#1401)
- _tBalances[sender] = _tBalances[sender].sub(tAmount) (#1388)
- _tBalances[recipient] = _tBalances[recipient].add(_tv.tTransferAmount) (#1369)
- _tBalances[recipient] = _tBalances[recipient].add(_tv.tTransferAmount) (#1390)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1407)
Reentrancy in TRONIC.swapAndLiquify(uint256) (#1243-1283):
External calls:
- swapTokensForEth(half) (#1256)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
External calls sending eth:
- (sent) = _devAddress.call{value: devBalance}() (#1269)
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
State variables written after the call(s):
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
- _allowances[owner][spender] = amount (#1185)
Reentrancy in TRONIC.swapAndLiquify(uint256) (#1243-1283):
External calls:
- swapTokensForEth(half) (#1256)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- addLiquidity(finalHalf,finalBalance,firstOwner()) (#1279)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
External calls sending eth:
- (sent) = _devAddress.call{value: devBalance}() (#1269)
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- addLiquidity(finalHalf,finalBalance,firstOwner()) (#1279)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
State variables written after the call(s):
- addLiquidity(finalHalf,finalBalance,firstOwner()) (#1279)
- _allowances[owner][spender] = amount (#1185)
Reentrancy in TRONIC.transferFrom(address,address,uint256) (#982-986):
External calls:
- _transfer(sender,recipient,amount) (#983)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
External calls sending eth:
- _transfer(sender,recipient,amount) (#983)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#984)
- _allowances[owner][spender] = amount (#1185)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TRONIC._transfer(address,address,uint256) (#1127-1179):
External calls:
- swapAndLiquify(contractTokenBalance) (#1152)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1152)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
Event emitted after the call(s):
- Transfer(sender,recipient,_tv.tTransferAmount) (#1363)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- Transfer(sender,recipient,_tv.tTransferAmount) (#1373)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- Transfer(sender,recipient,_tv.tTransferAmount) (#1383)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
- Transfer(sender,recipient,_tv.tTransferAmount) (#1394)
- _tokenTransfer(from,to,amount,takeFee) (#1178)
Reentrancy in TRONIC.swapAndLiquify(uint256) (#1243-1283):
External calls:
- swapTokensForEth(half) (#1256)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
External calls sending eth:
- (sent) = _devAddress.call{value: devBalance}() (#1269)
Event emitted after the call(s):
- Transfer(sender,recipient,_tv.tTransferAmount) (#1363)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- Transfer(sender,recipient,_tv.tTransferAmount) (#1383)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- Transfer(sender,recipient,_tv.tTransferAmount) (#1373)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
- Transfer(sender,recipient,_tv.tTransferAmount) (#1394)
- _tokenTransfer(address(this),_devAddress,devPortion,false) (#1272)
Reentrancy in TRONIC.swapAndLiquify(uint256) (#1243-1283):
External calls:
- swapTokensForEth(half) (#1256)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
External calls sending eth:
- (sent) = _devAddress.call{value: devBalance}() (#1269)
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1186)
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
Reentrancy in TRONIC.swapAndLiquify(uint256) (#1243-1283):
External calls:
- swapTokensForEth(half) (#1256)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- addLiquidity(finalHalf,finalBalance,firstOwner()) (#1279)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
External calls sending eth:
- (sent) = _devAddress.call{value: devBalance}() (#1269)
- addLiquidity(devPortion,devBalance,_devAddress) (#1274)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- addLiquidity(finalHalf,finalBalance,firstOwner()) (#1279)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1186)
- addLiquidity(finalHalf,finalBalance,firstOwner()) (#1279)
- SwapAndLiquify(half,newBalance,otherHalf) (#1282)
Reentrancy in TRONIC.transferFrom(address,address,uint256) (#982-986):
External calls:
- _transfer(sender,recipient,amount) (#983)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1294-1300)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
External calls sending eth:
- _transfer(sender,recipient,amount) (#983)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1329-1336)
- (sent) = _devAddress.call{value: devBalance}() (#1269)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1186)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#984)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#467-477) uses assembly
- INLINE ASM (#473-475)
Address.verifyCallResult(bool,bytes,string) (#634-654) uses assembly
- INLINE ASM (#646-649)
Do not use evm assembly.
Additional information: link
TRONIC.includeInReward(address) (#1045-1056) has costly operations inside a loop:
- _excluded.pop() (#1052)
Use a local variable to hold the loop computation result.
Additional information: link
Address.functionCall(address,bytes) (#520-522) is never used and should be removed
Address.functionCall(address,bytes,string) (#530-536) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#549-555) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#563-574) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#608-610) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#618-627) is never used and should be removed
Address.functionStaticCall(address,bytes) (#582-584) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#592-601) is never used and should be removed
Address.isContract(address) (#467-477) is never used and should be removed
Address.sendValue(address,uint256) (#495-500) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#634-654) is never used and should be removed
Ownable._msgData() (#759-762) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#406-415) is never used and should be removed
SafeMath.mod(uint256,uint256) (#366-368) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#432-441) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#237-243) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#279-284) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#291-296) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#262-272) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#250-255) is never used and should be removed
TRONIC.initialTransfer(address,address,uint256) (#1410-1415) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#495-500):
- (success) = recipient.call{value: amount}() (#498)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#563-574):
- (success,returndata) = target.call{value: value}(data) (#572)
Low level call in Address.functionStaticCall(address,bytes,string) (#592-601):
- (success,returndata) = target.staticcall(data) (#599)
Low level call in Address.functionDelegateCall(address,bytes,string) (#618-627):
- (success,returndata) = target.delegatecall(data) (#625)
Low level call in TRONIC.swapAndLiquify(uint256) (#1243-1283):
- (sent) = _devAddress.call{value: devBalance}() (#1269)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeRouter01.WETH() (#16) is not in mixedCase
Function IPancakePair.DOMAIN_SEPARATOR() (#183) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (#184) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (#201) is not in mixedCase
Struct TRONIC.tValues (#893-898) is not in CapWords
Struct TRONIC.rValues (#900-906) is not in CapWords
Parameter TRONIC.setSwapAndLiquifyEnabled(bool)._enabled (#1090) is not in mixedCase
Parameter TRONIC.calculateTaxFee(uint256)._amount (#1231) is not in mixedCase
Parameter TRONIC.calculateLiquidityFee(uint256)._amount (#1235) is not in mixedCase
Parameter TRONIC.calculatedevFee(uint256)._amount (#1239) is not in mixedCase
Constant TRONIC._name (#830) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TRONIC._symbol (#831) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TRONIC._decimals (#832) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TRONIC._tTotalSupply (#833) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TRONIC.numTokensSellToAddToLiquidity (#848) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TRONIC._devAddress (#878) is not in mixedCase
Constant TRONIC._pancakeRouterAddress (#881) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#760)" inOwnable (#743-815)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#21) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#22)
Variable TRONIC._rTotalSupply (#851) is too similar to TRONIC._tTotalSupply (#833)
Prevent variables from having similar names.
Additional information: link
TRONIC.newMaxTxnLimits(uint256,uint256) (#1100-1105) uses literals with too many digits:
- require(bool,string)(maxBuy > 1000000000000,Can not reduce below 10K) (#1101)
TRONIC.newMaxTxnLimits(uint256,uint256) (#1100-1105) uses literals with too many digits:
- require(bool,string)(maxSell > 1000000000000,Can not reduce below 10K) (#1102)
TRONIC.slitherConstructorVariables() (#817-1417) uses literals with too many digits:
- _buyMaxTxAmount = 1000000000000 * 10 ** 9 (#834)
TRONIC.slitherConstructorVariables() (#817-1417) uses literals with too many digits:
- _sellMaxTxAmount = 1000000000000 * 10 ** 9 (#835)
TRONIC.slitherConstructorConstantVariables() (#817-1417) uses literals with too many digits:
- _tTotalSupply = 1000000000000 * 10 ** 9 (#833)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TRONIC._tdevTotal (#864) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#799-802)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#808-812)
name() should be declared external:
- TRONIC.name() (#948-950)
symbol() should be declared external:
- TRONIC.symbol() (#952-954)
decimals() should be declared external:
- TRONIC.decimals() (#956-958)
totalSupply() should be declared external:
- TRONIC.totalSupply() (#960-962)
getOwner() should be declared external:
- TRONIC.getOwner() (#969-971)
getMarketingAddress() should be declared external:
- TRONIC.getMarketingAddress() (#973-975)
transfer(address,uint256) should be declared external:
- TRONIC.transfer(address,uint256) (#977-980)
transferFrom(address,address,uint256) should be declared external:
- TRONIC.transferFrom(address,address,uint256) (#982-986)
approve(address,uint256) should be declared external:
- TRONIC.approve(address,uint256) (#988-991)
allowance(address,address) should be declared external:
- TRONIC.allowance(address,address) (#993-995)
increaseAllowance(address,uint256) should be declared external:
- TRONIC.increaseAllowance(address,uint256) (#997-1000)
decreaseAllowance(address,uint256) should be declared external:
- TRONIC.decreaseAllowance(address,uint256) (#1002-1005)
getSellFee() should be declared external:
- TRONIC.getSellFee() (#1007-1009)
getBuyFee() should be declared external:
- TRONIC.getBuyFee() (#1011-1013)
totalFees() should be declared external:
- TRONIC.totalFees() (#1015-1017)
totaldevFees() should be declared external:
- TRONIC.totaldevFees() (#1019-1021)
excludeFromFee(address) should be declared external:
- TRONIC.excludeFromFee(address) (#1023-1025)
includeInFee(address) should be declared external:
- TRONIC.includeInFee(address) (#1027-1029)
isExcludedFromFee(address) should be declared external:
- TRONIC.isExcludedFromFee(address) (#1031-1033)
excludeFromReward(address) should be declared external:
- TRONIC.excludeFromReward(address) (#1035-1043)
isExcludedFromReward(address) should be declared external:
- TRONIC.isExcludedFromReward(address) (#1058-1060)
setdevAddress(address) should be declared external:
- TRONIC.setdevAddress(address) (#1086-1088)
setSwapAndLiquifyEnabled(bool) should be declared external:
- TRONIC.setSwapAndLiquifyEnabled(bool) (#1090-1093)
transferTokens(address,uint256) should be declared external:
- TRONIC.transferTokens(address,uint256) (#1095-1098)
newMaxTxnLimits(uint256,uint256) should be declared external:
- TRONIC.newMaxTxnLimits(uint256,uint256) (#1100-1105)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
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
Unable to find Telegram and Twitter accounts