Real Trump Token is a project that aims to support re-election efforts of 45! Not only are holders rewarded, they will have access to our unique NFT store that allows custom art to be used on custom merchandise through our merchandise store! Holders will also take advantage of quarterly token burns!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in RealTrumpTokenV2._transfer(address,address,uint256) (#648-681):
External calls:
- swapAndLiquify(contractTokenBalance) (#669)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#669)
- recipient.transfer(amount) (#957)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#858)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#783)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#774)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#775)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#794)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#804)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#785)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#795)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#806)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _rTotal = _rTotal.sub(rFee) (#813)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#860)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#793)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#803)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#784)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#805)
Apply the check-effects-interactions pattern.
Additional information: link
Redundant expression "this (#68)" inContext (#62-71)
Remove redundant statements if they congest code but offer no value.
Additional information: link
RealTrumpTokenV2._decimals (#474) should be constant
RealTrumpTokenV2._name (#472) should be constant
RealTrumpTokenV2._symbol (#473) should be constant
RealTrumpTokenV2._tTotal (#468) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
RealTrumpTokenV2.includeInReward(address) (#625-638) has costly operations inside a loop:
- _excluded.pop() (#634)
Use a local variable to hold the loop computation result.
Additional information: link
RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717) performs a multiplication on the result of a division:
-oneHundredth = contractTokenBalance.div(10000) (#685)
-developmentQuota = oneHundredth.mul(625) (#686)
RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717) performs a multiplication on the result of a division:
-oneHundredth = contractTokenBalance.div(10000) (#685)
-charityQuota = oneHundredth.mul(1250) (#687)
RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717) performs a multiplication on the result of a division:
-oneHundredth = contractTokenBalance.div(10000) (#685)
-donationQuota = oneHundredth.mul(3750) (#688)
RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717) performs a multiplication on the result of a division:
-oneHundredth = contractTokenBalance.div(10000) (#685)
-utilityQuota = oneHundredth.mul(1875) (#689)
RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717) performs a multiplication on the result of a division:
-oneHundredth = contractTokenBalance.div(10000) (#685)
-liquidityQuota = oneHundredth.mul(2500) (#690)
Consider ordering multiplication before division.
Additional information: link
RealTrumpTokenV2.addLiquidity(uint256,uint256) (#737-750) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Ensure that all the return values of the function calls are used.
Additional information: link
RealTrumpTokenV2.allowance(address,address).owner (#551) shadows:
- Ownable.owner() (#211-213) (function)
RealTrumpTokenV2._approve(address,address,uint256).owner (#640) shadows:
- Ownable.owner() (#211-213) (function)
Rename the local variables that shadow another component.
Additional information: link
RealTrumpTokenV2.setTaxFeePercent(uint256) (#914-916) should emit an event for:
- _taxFee = taxFee (#915)
RealTrumpTokenV2.setLiquidityFeePercent(uint256) (#918-920) should emit an event for:
- _liquidityFee = liquidityFee (#919)
RealTrumpTokenV2.setMaxTxAmount(uint256) (#922-924) should emit an event for:
- _maxTxAmount = maxTxAmount (#923)
RealTrumpTokenV2.setNumTokensSellToAddToLiquidity(uint256) (#926-928) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#927)
Emit an event for critical parameter changes.
Additional information: link
RealTrumpTokenV2.setCharityAddress(address)._charityAddress (#935) lacks a zero-check on :
- charityAddress = _charityAddress (#936)
RealTrumpTokenV2.setUtilityAddress(address)._utilityAddress (#939) lacks a zero-check on :
- utilityAddress = _utilityAddress (#940)
RealTrumpTokenV2.setDevelopmentAddress(address)._developmentAddress (#943) lacks a zero-check on :
- developmentAddress = _developmentAddress (#944)
RealTrumpTokenV2.setDonationAddress(address)._donationAddress (#947) lacks a zero-check on :
- donationAddress = _donationAddress (#948)
Check that the address is not zero.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#321) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#322)
Variable RealTrumpTokenV2._getValues(uint256).rTransferAmount (#819) is too similar to RealTrumpTokenV2._getTValues(uint256).tTransferAmount (#826)
Variable RealTrumpTokenV2._transferFromExcluded(address,address,uint256).rTransferAmount (#792) is too similar to RealTrumpTokenV2._transferToExcluded(address,address,uint256).tTransferAmount (#782)
Variable RealTrumpTokenV2._transferStandard(address,address,uint256).rTransferAmount (#773) is too similar to RealTrumpTokenV2._transferStandard(address,address,uint256).tTransferAmount (#773)
Variable RealTrumpTokenV2._transferBothExcluded(address,address,uint256).rTransferAmount (#802) is too similar to RealTrumpTokenV2._getValues(uint256).tTransferAmount (#818)
Variable RealTrumpTokenV2._transferToExcluded(address,address,uint256).rTransferAmount (#782) is too similar to RealTrumpTokenV2._getTValues(uint256).tTransferAmount (#826)
Variable RealTrumpTokenV2._transferFromExcluded(address,address,uint256).rTransferAmount (#792) is too similar to RealTrumpTokenV2._getValues(uint256).tTransferAmount (#818)
Variable RealTrumpTokenV2._transferToExcluded(address,address,uint256).rTransferAmount (#782) is too similar to RealTrumpTokenV2._transferStandard(address,address,uint256).tTransferAmount (#773)
Variable RealTrumpTokenV2.reflectionFromToken(uint256,bool).rTransferAmount (#604) is too similar to RealTrumpTokenV2._getTValues(uint256).tTransferAmount (#826)
Variable RealTrumpTokenV2._transferStandard(address,address,uint256).rTransferAmount (#773) is too similar to RealTrumpTokenV2._getTValues(uint256).tTransferAmount (#826)
Variable RealTrumpTokenV2.reflectionFromToken(uint256,bool).rTransferAmount (#604) is too similar to RealTrumpTokenV2._transferStandard(address,address,uint256).tTransferAmount (#773)
Variable RealTrumpTokenV2.reflectionFromToken(uint256,bool).rTransferAmount (#604) is too similar to RealTrumpTokenV2._transferBothExcluded(address,address,uint256).tTransferAmount (#802)
Variable RealTrumpTokenV2._transferToExcluded(address,address,uint256).rTransferAmount (#782) is too similar to RealTrumpTokenV2._transferToExcluded(address,address,uint256).tTransferAmount (#782)
Variable RealTrumpTokenV2._transferBothExcluded(address,address,uint256).rTransferAmount (#802) is too similar to RealTrumpTokenV2._getTValues(uint256).tTransferAmount (#826)
Variable RealTrumpTokenV2._transferBothExcluded(address,address,uint256).rTransferAmount (#802) is too similar to RealTrumpTokenV2._transferStandard(address,address,uint256).tTransferAmount (#773)
Variable RealTrumpTokenV2.reflectionFromToken(uint256,bool).rTransferAmount (#604) is too similar to RealTrumpTokenV2._transferToExcluded(address,address,uint256).tTransferAmount (#782)
Variable RealTrumpTokenV2._transferBothExcluded(address,address,uint256).rTransferAmount (#802) is too similar to RealTrumpTokenV2._transferBothExcluded(address,address,uint256).tTransferAmount (#802)
Variable RealTrumpTokenV2._transferFromExcluded(address,address,uint256).rTransferAmount (#792) is too similar to RealTrumpTokenV2._getTValues(uint256).tTransferAmount (#826)
Variable RealTrumpTokenV2._transferFromExcluded(address,address,uint256).rTransferAmount (#792) is too similar to RealTrumpTokenV2._transferStandard(address,address,uint256).tTransferAmount (#773)
Variable RealTrumpTokenV2._transferToExcluded(address,address,uint256).rTransferAmount (#782) is too similar to RealTrumpTokenV2._getValues(uint256).tTransferAmount (#818)
Variable RealTrumpTokenV2._transferFromExcluded(address,address,uint256).rTransferAmount (#792) is too similar to RealTrumpTokenV2._transferFromExcluded(address,address,uint256).tTransferAmount (#792)
Variable RealTrumpTokenV2.reflectionFromToken(uint256,bool).rTransferAmount (#604) is too similar to RealTrumpTokenV2._getValues(uint256).tTransferAmount (#818)
Variable RealTrumpTokenV2._transferFromExcluded(address,address,uint256).rTransferAmount (#792) is too similar to RealTrumpTokenV2._transferBothExcluded(address,address,uint256).tTransferAmount (#802)
Variable RealTrumpTokenV2._transferBothExcluded(address,address,uint256).rTransferAmount (#802) is too similar to RealTrumpTokenV2._transferToExcluded(address,address,uint256).tTransferAmount (#782)
Variable RealTrumpTokenV2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#834) is too similar to RealTrumpTokenV2._getTValues(uint256).tTransferAmount (#826)
Variable RealTrumpTokenV2._transferToExcluded(address,address,uint256).rTransferAmount (#782) is too similar to RealTrumpTokenV2._transferBothExcluded(address,address,uint256).tTransferAmount (#802)
Variable RealTrumpTokenV2._transferToExcluded(address,address,uint256).rTransferAmount (#782) is too similar to RealTrumpTokenV2._transferFromExcluded(address,address,uint256).tTransferAmount (#792)
Variable RealTrumpTokenV2._getValues(uint256).rTransferAmount (#819) is too similar to RealTrumpTokenV2._transferStandard(address,address,uint256).tTransferAmount (#773)
Variable RealTrumpTokenV2._transferStandard(address,address,uint256).rTransferAmount (#773) is too similar to RealTrumpTokenV2._getValues(uint256).tTransferAmount (#818)
Variable RealTrumpTokenV2._transferStandard(address,address,uint256).rTransferAmount (#773) is too similar to RealTrumpTokenV2._transferToExcluded(address,address,uint256).tTransferAmount (#782)
Variable RealTrumpTokenV2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#834) is too similar to RealTrumpTokenV2._transferStandard(address,address,uint256).tTransferAmount (#773)
Variable RealTrumpTokenV2._getValues(uint256).rTransferAmount (#819) is too similar to RealTrumpTokenV2._getValues(uint256).tTransferAmount (#818)
Variable RealTrumpTokenV2._getValues(uint256).rTransferAmount (#819) is too similar to RealTrumpTokenV2._transferToExcluded(address,address,uint256).tTransferAmount (#782)
Variable RealTrumpTokenV2.reflectionFromToken(uint256,bool).rTransferAmount (#604) is too similar to RealTrumpTokenV2._transferFromExcluded(address,address,uint256).tTransferAmount (#792)
Variable RealTrumpTokenV2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#834) is too similar to RealTrumpTokenV2._getValues(uint256).tTransferAmount (#818)
Variable RealTrumpTokenV2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#834) is too similar to RealTrumpTokenV2._transferToExcluded(address,address,uint256).tTransferAmount (#782)
Variable RealTrumpTokenV2._transferStandard(address,address,uint256).rTransferAmount (#773) is too similar to RealTrumpTokenV2._transferBothExcluded(address,address,uint256).tTransferAmount (#802)
Variable RealTrumpTokenV2._getValues(uint256).rTransferAmount (#819) is too similar to RealTrumpTokenV2._transferBothExcluded(address,address,uint256).tTransferAmount (#802)
Variable RealTrumpTokenV2._transferStandard(address,address,uint256).rTransferAmount (#773) is too similar to RealTrumpTokenV2._transferFromExcluded(address,address,uint256).tTransferAmount (#792)
Variable RealTrumpTokenV2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#834) is too similar to RealTrumpTokenV2._transferBothExcluded(address,address,uint256).tTransferAmount (#802)
Variable RealTrumpTokenV2._transferBothExcluded(address,address,uint256).rTransferAmount (#802) is too similar to RealTrumpTokenV2._transferFromExcluded(address,address,uint256).tTransferAmount (#792)
Variable RealTrumpTokenV2._getValues(uint256).rTransferAmount (#819) is too similar to RealTrumpTokenV2._transferFromExcluded(address,address,uint256).tTransferAmount (#792)
Variable RealTrumpTokenV2._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#834) is too similar to RealTrumpTokenV2._transferFromExcluded(address,address,uint256).tTransferAmount (#792)
Prevent variables from having similar names.
Additional information: link
Reentrancy in RealTrumpTokenV2._transfer(address,address,uint256) (#648-681):
External calls:
- swapAndLiquify(contractTokenBalance) (#669)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#669)
- recipient.transfer(amount) (#957)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _liquidityFee = _previousLiquidityFee (#887)
- _liquidityFee = 0 (#882)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _previousLiquidityFee = _liquidityFee (#879)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _previousTaxFee = _taxFee (#878)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _tFeeTotal = _tFeeTotal.add(tFee) (#814)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _taxFee = _previousTaxFee (#886)
- _taxFee = 0 (#881)
Reentrancy in RealTrumpTokenV2.constructor() (#505-523):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#512-513)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#517)
- _isExcludedFromFee[address(this)] = true (#518)
- _isExcludedFromMaxTxAmount[owner()] = true (#519)
- _isExcludedFromMaxTxAmount[address(this)] = true (#520)
- uniswapV2Router = _uniswapV2Router (#515)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
State variables written after the call(s):
- swapTokensForEth(donationQuota) (#700)
- _allowances[owner][spender] = amount (#644)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(utilityQuota) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
State variables written after the call(s):
- swapTokensForEth(utilityQuota) (#704)
- _allowances[owner][spender] = amount (#644)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(utilityQuota) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(firstHalf) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
State variables written after the call(s):
- swapTokensForEth(firstHalf) (#708)
- _allowances[owner][spender] = amount (#644)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(utilityQuota) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(firstHalf) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- addLiquidity(remainingHalf,newBalance) (#710)
- _allowances[owner][spender] = amount (#644)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(utilityQuota) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(firstHalf) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- swapTokensForEth(developmentQuota) (#713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- swapTokensForEth(developmentQuota) (#713)
- _allowances[owner][spender] = amount (#644)
Reentrancy in RealTrumpTokenV2.transferFrom(address,address,uint256) (#560-564):
External calls:
- _transfer(sender,recipient,amount) (#561)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- _transfer(sender,recipient,amount) (#561)
- recipient.transfer(amount) (#957)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#562)
- _allowances[owner][spender] = amount (#644)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RealTrumpTokenV2._transfer(address,address,uint256) (#648-681):
External calls:
- swapAndLiquify(contractTokenBalance) (#669)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#669)
- recipient.transfer(amount) (#957)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#778)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- Transfer(sender,recipient,tTransferAmount) (#798)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- Transfer(sender,recipient,tTransferAmount) (#788)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- Transfer(sender,recipient,tTransferAmount) (#809)
- _tokenTransfer(from,to,amount,takeFee) (#680)
Reentrancy in RealTrumpTokenV2.constructor() (#505-523):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#512-513)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#522)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- swapTokensForEth(donationQuota) (#700)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(utilityQuota) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- swapTokensForEth(utilityQuota) (#704)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(utilityQuota) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(firstHalf) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- swapTokensForEth(firstHalf) (#708)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(utilityQuota) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(firstHalf) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- addLiquidity(remainingHalf,newBalance) (#710)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(utilityQuota) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(firstHalf) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- swapTokensForEth(developmentQuota) (#713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- swapTokensForEth(developmentQuota) (#713)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- swapTokensForEth(charityQuota) (#696)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(donationQuota) (#700)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(utilityQuota) (#704)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- swapTokensForEth(firstHalf) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- swapTokensForEth(developmentQuota) (#713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- transferOutETH(developmentAddress,address(this).balance.sub(initialBalanceAfterLiquidity)) (#714)
- recipient.transfer(amount) (#957)
Event emitted after the call(s):
- SwapAndLiquify(firstHalf,newBalance,remainingHalf) (#716)
Reentrancy in RealTrumpTokenV2.transferFrom(address,address,uint256) (#560-564):
External calls:
- _transfer(sender,recipient,amount) (#561)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#728-734)
External calls sending eth:
- _transfer(sender,recipient,amount) (#561)
- recipient.transfer(amount) (#957)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#562)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#241-246) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#243)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#142-151) uses assembly
- INLINE ASM (#149)
Address._functionCallWithValue(address,bytes,uint256,string) (#178-195) uses assembly
- INLINE ASM (#187-190)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#178-195) is never used and should be removed
Address.functionCall(address,bytes) (#161-163) is never used and should be removed
Address.functionCall(address,bytes,string) (#165-167) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#169-171) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#173-176) is never used and should be removed
Address.isContract(address) (#142-151) is never used and should be removed
Address.sendValue(address,uint256) (#153-159) is never used and should be removed
Context._msgData() (#67-70) is never used and should be removed
SafeMath.mod(uint256,uint256) (#130-132) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#134-137) is never used and should be removed
Remove unused functions.
Additional information: link
RealTrumpTokenV2._rTotal (#469) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
RealTrumpTokenV2._previousTaxFee (#477) is set pre-construction with a non-constant function or state variable:
- _taxFee
RealTrumpTokenV2._previousLiquidityFee (#480) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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
Low level call in Address.sendValue(address,uint256) (#153-159):
- (success) = recipient.call{value: amount}() (#157)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#178-195):
- (success,returndata) = target.call{value: weiValue}(data) (#181)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#280) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#281) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#297) is not in mixedCase
Function IUniswapV2Router01.WETH() (#316) is not in mixedCase
Parameter RealTrumpTokenV2.calculateTaxFee(uint256)._amount (#863) is not in mixedCase
Parameter RealTrumpTokenV2.calculateLiquidityFee(uint256)._amount (#869) is not in mixedCase
Parameter RealTrumpTokenV2.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#926) is not in mixedCase
Parameter RealTrumpTokenV2.setSwapAndLiquifyEnabled(bool)._enabled (#930) is not in mixedCase
Parameter RealTrumpTokenV2.setCharityAddress(address)._charityAddress (#935) is not in mixedCase
Parameter RealTrumpTokenV2.setUtilityAddress(address)._utilityAddress (#939) is not in mixedCase
Parameter RealTrumpTokenV2.setDevelopmentAddress(address)._developmentAddress (#943) is not in mixedCase
Parameter RealTrumpTokenV2.setDonationAddress(address)._donationAddress (#947) is not in mixedCase
Variable RealTrumpTokenV2._taxFee (#476) is not in mixedCase
Variable RealTrumpTokenV2._liquidityFee (#479) is not in mixedCase
Variable RealTrumpTokenV2._maxTxAmount (#482) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in RealTrumpTokenV2._transfer(address,address,uint256) (#648-681):
External calls:
- swapAndLiquify(contractTokenBalance) (#669)
- recipient.transfer(amount) (#957)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#669)
- recipient.transfer(amount) (#957)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _liquidityFee = _previousLiquidityFee (#887)
- _liquidityFee = 0 (#882)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _previousLiquidityFee = _liquidityFee (#879)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _previousTaxFee = _taxFee (#878)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#858)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#783)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#774)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#775)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#794)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#804)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#785)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#795)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#806)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _rTotal = _rTotal.sub(rFee) (#813)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _tFeeTotal = _tFeeTotal.add(tFee) (#814)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#860)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#793)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#803)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#784)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#805)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- _taxFee = _previousTaxFee (#886)
- _taxFee = 0 (#881)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#778)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- Transfer(sender,recipient,tTransferAmount) (#798)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- Transfer(sender,recipient,tTransferAmount) (#788)
- _tokenTransfer(from,to,amount,takeFee) (#680)
- Transfer(sender,recipient,tTransferAmount) (#809)
- _tokenTransfer(from,to,amount,takeFee) (#680)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
State variables written after the call(s):
- swapTokensForEth(donationQuota) (#700)
- _allowances[owner][spender] = amount (#644)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- swapTokensForEth(donationQuota) (#700)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
State variables written after the call(s):
- swapTokensForEth(utilityQuota) (#704)
- _allowances[owner][spender] = amount (#644)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- swapTokensForEth(utilityQuota) (#704)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
State variables written after the call(s):
- swapTokensForEth(firstHalf) (#708)
- _allowances[owner][spender] = amount (#644)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- swapTokensForEth(firstHalf) (#708)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- addLiquidity(remainingHalf,newBalance) (#710)
- _allowances[owner][spender] = amount (#644)
- swapTokensForEth(developmentQuota) (#713)
- _allowances[owner][spender] = amount (#644)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- swapTokensForEth(developmentQuota) (#713)
- Approval(owner,spender,amount) (#645)
- addLiquidity(remainingHalf,newBalance) (#710)
Reentrancy in RealTrumpTokenV2.swapAndLiquify(uint256) (#683-717):
External calls:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
- transferOutETH(developmentAddress,address(this).balance.sub(initialBalanceAfterLiquidity)) (#714)
- recipient.transfer(amount) (#957)
External calls sending eth:
- transferOutETH(charityAddress,address(this).balance.sub(initialBalance)) (#697)
- recipient.transfer(amount) (#957)
- transferOutETH(donationAddress,address(this).balance.sub(initialBalanceAfterCharity)) (#701)
- recipient.transfer(amount) (#957)
- transferOutETH(utilityAddress,address(this).balance.sub(initialBalanceAfterDonation)) (#705)
- recipient.transfer(amount) (#957)
- addLiquidity(remainingHalf,newBalance) (#710)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- transferOutETH(developmentAddress,address(this).balance.sub(initialBalanceAfterLiquidity)) (#714)
- recipient.transfer(amount) (#957)
Event emitted after the call(s):
- SwapAndLiquify(firstHalf,newBalance,remainingHalf) (#716)
Reentrancy in RealTrumpTokenV2.transferFrom(address,address,uint256) (#560-564):
External calls:
- _transfer(sender,recipient,amount) (#561)
- recipient.transfer(amount) (#957)
External calls sending eth:
- _transfer(sender,recipient,amount) (#561)
- recipient.transfer(amount) (#957)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#562)
- _allowances[owner][spender] = amount (#644)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#645)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#562)
Apply the check-effects-interactions pattern.
Additional information: link
RealTrumpTokenV2.slitherConstructorVariables() (#449-963) uses literals with too many digits:
- _tTotal = 10000000000 * 10 ** 9 (#468)
RealTrumpTokenV2.slitherConstructorVariables() (#449-963) uses literals with too many digits:
- _maxTxAmount = 100000000 * 10 ** 9 (#482)
RealTrumpTokenV2.slitherConstructorVariables() (#449-963) uses literals with too many digits:
- minimumTokensBeforeSwap = 2000000 * 10 ** 9 (#483)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#220-224)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#226-228)
getTime() should be declared external:
- Ownable.getTime() (#230-232)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#234-239)
unlock() should be declared external:
- Ownable.unlock() (#241-246)
name() should be declared external:
- RealTrumpTokenV2.name() (#525-527)
symbol() should be declared external:
- RealTrumpTokenV2.symbol() (#529-531)
decimals() should be declared external:
- RealTrumpTokenV2.decimals() (#533-535)
totalSupply() should be declared external:
- RealTrumpTokenV2.totalSupply() (#537-539)
transfer(address,uint256) should be declared external:
- RealTrumpTokenV2.transfer(address,uint256) (#546-549)
allowance(address,address) should be declared external:
- RealTrumpTokenV2.allowance(address,address) (#551-553)
approve(address,uint256) should be declared external:
- RealTrumpTokenV2.approve(address,uint256) (#555-558)
transferFrom(address,address,uint256) should be declared external:
- RealTrumpTokenV2.transferFrom(address,address,uint256) (#560-564)
increaseAllowance(address,uint256) should be declared external:
- RealTrumpTokenV2.increaseAllowance(address,uint256) (#566-569)
decreaseAllowance(address,uint256) should be declared external:
- RealTrumpTokenV2.decreaseAllowance(address,uint256) (#571-574)
isExcludedFromReward(address) should be declared external:
- RealTrumpTokenV2.isExcludedFromReward(address) (#576-578)
totalFees() should be declared external:
- RealTrumpTokenV2.totalFees() (#580-582)
minimumTokensBeforeSwapAmount() should be declared external:
- RealTrumpTokenV2.minimumTokensBeforeSwapAmount() (#584-586)
deliver(uint256) should be declared external:
- RealTrumpTokenV2.deliver(uint256) (#588-595)
reflectionFromToken(uint256,bool) should be declared external:
- RealTrumpTokenV2.reflectionFromToken(uint256,bool) (#598-607)
excludeFromReward(address) should be declared external:
- RealTrumpTokenV2.excludeFromReward(address) (#615-623)
isExcludedFromFee(address) should be declared external:
- RealTrumpTokenV2.isExcludedFromFee(address) (#890-892)
excludeFromFee(address) should be declared external:
- RealTrumpTokenV2.excludeFromFee(address) (#894-896)
isExcludedFromMaxTxAmount(address) should be declared external:
- RealTrumpTokenV2.isExcludedFromMaxTxAmount(address) (#898-900)
excludeFromMaxTxAmount(address) should be declared external:
- RealTrumpTokenV2.excludeFromMaxTxAmount(address) (#902-904)
includeToMaxTxAmount(address) should be declared external:
- RealTrumpTokenV2.includeToMaxTxAmount(address) (#906-908)
includeInFee(address) should be declared external:
- RealTrumpTokenV2.includeInFee(address) (#910-912)
setSwapAndLiquifyEnabled(bool) should be declared external:
- RealTrumpTokenV2.setSwapAndLiquifyEnabled(bool) (#930-933)
transferContractBalance(uint256) should be declared external:
- RealTrumpTokenV2.transferContractBalance(uint256) (#951-954)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but average PancakeSwap 30d trading volume is low
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
Last post in Twitter was more than 30 days ago