PirateCoin a high-end Game to Play and Earn NFT RPG developed on the Binance Smart Chain platform. The more you buy the more Chances of Winning Treasures
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PirareCoin._takeTxgold(uint256) (#1010-1022) sends eth to arbitrary user
Dangerous calls:
- _txgoldWallet.transfer(address(this).balance) (#1016)
PirareCoin._takeMarketing(uint256) (#1024-1036) sends eth to arbitrary user
Dangerous calls:
- _marketingWallet.transfer(address(this).balance) (#1030)
PirareCoin.addLiquidity(uint256,uint256) (#1207-1219) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in PirareCoin._tokenTransfer(address,address,uint256,bool) (#1221-1239):
External calls:
- _transferFromExcluded(sender,recipient,amount) (#1226)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _transferToExcluded(sender,recipient,amount) (#1228)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _transferStandard(sender,recipient,amount) (#1230)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _transferBothExcluded(sender,recipient,amount) (#1232)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _transferStandard(sender,recipient,amount) (#1234)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _transferFromExcluded(sender,recipient,amount) (#1226)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _transferToExcluded(sender,recipient,amount) (#1228)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _transferStandard(sender,recipient,amount) (#1230)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _transferBothExcluded(sender,recipient,amount) (#1232)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _transferStandard(sender,recipient,amount) (#1234)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- restoreAllFee() (#1238)
- _liquidityFee = _previousLiquidityFee (#1097)
- restoreAllFee() (#1238)
- _lottoFee = _previousLottoFee (#1094)
- restoreAllFee() (#1238)
- _marketingFee = _previousMarketingFee (#1096)
- restoreAllFee() (#1238)
- _taxFee = _previousTaxFee (#1093)
- restoreAllFee() (#1238)
- _txgoldFee = _previousTxgoldFee (#1095)
Reentrancy in PirareCoin._transfer(address,address,uint256) (#1110-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
State variables written after the call(s):
- addAddress(from) (#1168)
- _AddressExists[adr] = true (#973)
- addAddress(to) (#1169)
- _AddressExists[adr] = true (#973)
- addAddress(from) (#1168)
- _addressList.push(adr) (#974)
- addAddress(to) (#1169)
- _addressList.push(adr) (#974)
- drawLotto(lottoBalance) (#1157)
- _rOwned[_lottoPotAddress] = _rOwned[_lottoPotAddress].add(rLotto) (#996)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1041)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _rOwned[_txgoldWallet] = _rOwned[_txgoldWallet].add(rTxgold) (#1018)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1242)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1253)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#833)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1243)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1266)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1255)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1267)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#835)
- drawLotto(lottoBalance) (#1157)
- _rTotal = _rTotal.sub(rFee) (#917)
- drawLotto(lottoBalance) (#1157)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1043)
- _tOwned[_lottoPotAddress] = _tOwned[_lottoPotAddress].add(tLotto) (#998)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
- _tOwned[_txgoldWallet] = _tOwned[_txgoldWallet].add(tTxgold) (#1020)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#832)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1265)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1254)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#834)
- drawLotto(lottoBalance) (#1157)
- inSwapAndLiquify = true (#695)
- inSwapAndLiquify = false (#697)
Reentrancy in PirareCoin._transfer(address,address,uint256) (#1110-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _liquidityFee = _previousLiquidityFee (#1097)
- _liquidityFee = 0 (#1089)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _lottoFee = _previousLottoFee (#1094)
- _lottoFee = 0 (#1086)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _marketingFee = _previousMarketingFee (#1096)
- _marketingFee = 0 (#1088)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousLiquidityFee = _liquidityFee (#1083)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousLottoFee = _lottoFee (#1080)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousMarketingFee = _marketingFee (#1082)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousTaxFee = _taxFee (#1079)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousTxgoldFee = _txgoldFee (#1081)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _rOwned[_lottoPotAddress] = _rOwned[_lottoPotAddress].add(rLotto) (#996)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1041)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _rOwned[_txgoldWallet] = _rOwned[_txgoldWallet].add(rTxgold) (#1018)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1242)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1253)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#833)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1243)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1266)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1255)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1267)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#835)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _rTotal = _rTotal.sub(rFee) (#917)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1043)
- _tOwned[_lottoPotAddress] = _tOwned[_lottoPotAddress].add(tLotto) (#998)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
- _tOwned[_txgoldWallet] = _tOwned[_txgoldWallet].add(tTxgold) (#1020)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#832)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1265)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1254)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#834)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _taxFee = _previousTaxFee (#1093)
- _taxFee = 0 (#1085)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _txgoldFee = _previousTxgoldFee (#1095)
- _txgoldFee = 0 (#1087)
Reentrancy in PirareCoin._transferBothExcluded(address,address,uint256) (#830-842):
External calls:
- _takeTxgold(tTxgold) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#839)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#838)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#839)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#839)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _reflectFee(rFee,tFee) (#840)
- _rTotal = _rTotal.sub(rFee) (#917)
- _takeMarketing(tMarketing) (#839)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
Reentrancy in PirareCoin._transferFromExcluded(address,address,uint256) (#1263-1274):
External calls:
- _takeTxgold(tTxgold) (#1270)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#1271)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#1270)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1271)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#1271)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _reflectFee(rFee,tFee) (#1272)
- _rTotal = _rTotal.sub(rFee) (#917)
- _takeMarketing(tMarketing) (#1271)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
Reentrancy in PirareCoin._transferStandard(address,address,uint256) (#1240-1250):
External calls:
- _takeTxgold(tTxgold) (#1246)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#1247)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#1246)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1247)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#1247)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _reflectFee(rFee,tFee) (#1248)
- _rTotal = _rTotal.sub(rFee) (#917)
- _takeMarketing(tMarketing) (#1247)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
Reentrancy in PirareCoin._transferToExcluded(address,address,uint256) (#1251-1262):
External calls:
- _takeTxgold(tTxgold) (#1258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#1259)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#1258)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1259)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#1259)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _reflectFee(rFee,tFee) (#1260)
- _rTotal = _rTotal.sub(rFee) (#917)
- _takeMarketing(tMarketing) (#1259)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
Reentrancy in PirareCoin.drawLotto(uint256) (#1001-1008):
External calls:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1003)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1003)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
State variables written after the call(s):
- ++ _lottoDrawCount (#1006)
- _totalLottoPrize = _totalLottoPrize.add(amount) (#1005)
Apply the check-effects-interactions pattern.
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.
Contract ticker (PirateCoin☠) 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.
PirareCoin.includeInReward(address) (#817-828) has costly operations inside a loop:
- _excluded.pop() (#824)
Use a local variable to hold the loop computation result.
Additional information: link
PirareCoin.addLiquidity(uint256,uint256) (#1207-1219) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
Ensure that all the return values of the function calls are used.
Additional information: link
PirareCoin.allowance(address,address).owner (#756) shadows:
- Ownable.owner() (#375-377) (function)
PirareCoin._approve(address,address,uint256).owner (#1104) shadows:
- Ownable.owner() (#375-377) (function)
Rename the local variables that shadow another component.
Additional information: link
PirareCoin.setTaxFeePercent(uint256) (#860-862) should emit an event for:
- _taxFee = taxFee (#861)
PirareCoin.setLottoFeePercent(uint256) (#864-866) should emit an event for:
- _lottoFee = lottoFee (#865)
PirareCoin.setTxgoldFeePercent(uint256) (#868-870) should emit an event for:
- _txgoldFee = txgoldFee (#869)
PirareCoin.setMarketingFeePercent(uint256) (#871-873) should emit an event for:
- _marketingFee = marketingFee (#872)
PirareCoin.setMinLottoBalance(uint256) (#887-889) should emit an event for:
- _minLottoBalance = minBalance (#888)
PirareCoin.setLotteryThresHold(uint256) (#890-892) should emit an event for:
- lotteryThreshold = threshold (#891)
PirareCoin.setLiquidityFeePercent(uint256) (#893-895) should emit an event for:
- _liquidityFee = liquidityFee (#894)
PirareCoin.setMaxTxPercent(uint256) (#896-900) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#897-899)
PirareCoin.setAntiWhaleThreshold(uint256) (#908-910) should emit an event for:
- _antiWhaleThreshold = amount (#909)
Emit an event for critical parameter changes.
Additional information: link
PirareCoin.setUniswapPair(address).p (#849) lacks a zero-check on :
- uniswapV2Pair = p (#850)
PirareCoin.setTxgoldAddress(address).txgold (#881) lacks a zero-check on :
- _txgoldWallet = txgold (#882)
PirareCoin.setMarketingAddress(address).marketing (#884) lacks a zero-check on :
- _marketingWallet = marketing (#885)
Check that the address is not zero.
Additional information: link
Reentrancy in PirareCoin._transfer(address,address,uint256) (#1110-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
State variables written after the call(s):
- drawLotto(lottoBalance) (#1157)
- _allowances[owner][spender] = amount (#1107)
- drawLotto(lottoBalance) (#1157)
- _lastLottoWinnerAmount = amount (#1004)
Reentrancy in PirareCoin._transfer(address,address,uint256) (#1110-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _allowances[owner][spender] = amount (#1107)
Reentrancy in PirareCoin._transferBothExcluded(address,address,uint256) (#830-842):
External calls:
- _takeTxgold(tTxgold) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#839)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#838)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#839)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#839)
- _allowances[owner][spender] = amount (#1107)
- _reflectFee(rFee,tFee) (#840)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
Reentrancy in PirareCoin._transferFromExcluded(address,address,uint256) (#1263-1274):
External calls:
- _takeTxgold(tTxgold) (#1270)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#1271)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#1270)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1271)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#1271)
- _allowances[owner][spender] = amount (#1107)
- _reflectFee(rFee,tFee) (#1272)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
Reentrancy in PirareCoin._transferStandard(address,address,uint256) (#1240-1250):
External calls:
- _takeTxgold(tTxgold) (#1246)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#1247)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#1246)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1247)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#1247)
- _allowances[owner][spender] = amount (#1107)
- _reflectFee(rFee,tFee) (#1248)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
Reentrancy in PirareCoin._transferToExcluded(address,address,uint256) (#1251-1262):
External calls:
- _takeTxgold(tTxgold) (#1258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#1259)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#1258)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1259)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#1259)
- _allowances[owner][spender] = amount (#1107)
- _reflectFee(rFee,tFee) (#1260)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
Reentrancy in PirareCoin.constructor() (#706-729):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#712-713)
State variables written after the call(s):
- _isExcludedFromAntiWhale[owner()] = true (#722)
- _isExcludedFromAntiWhale[_lottoPotAddress] = true (#723)
- _isExcludedFromAntiWhale[address(this)] = true (#724)
- _isExcludedFromAntiWhale[address(uniswapV2Router)] = true (#725)
- _isExcludedFromAntiWhale[uniswapV2Pair] = true (#726)
- _isExcludedFromFee[owner()] = true (#718)
- _isExcludedFromFee[_lottoPotAddress] = true (#719)
- _isExcludedFromFee[address(this)] = true (#720)
- uniswapV2Router = _uniswapV2Router (#715)
Reentrancy in PirareCoin.drawLotto(uint256) (#1001-1008):
External calls:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1003)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1003)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
State variables written after the call(s):
- _lastLottoWinnerAmount = amount (#1004)
Reentrancy in PirareCoin.swapAndLiquify(uint256) (#1174-1191):
External calls:
- swapTokensForEth(half) (#1184)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- addLiquidity(otherHalf,newBalance) (#1188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1188)
- _allowances[owner][spender] = amount (#1107)
Reentrancy in PirareCoin.transferFrom(address,address,uint256) (#763-767):
External calls:
- _transfer(sender,recipient,amount) (#764)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _transfer(sender,recipient,amount) (#764)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#765)
- _allowances[owner][spender] = amount (#1107)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PirareCoin._transfer(address,address,uint256) (#1110-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- drawLotto(lottoBalance) (#1157)
- DrawLotto(amount,_lottoDrawCount) (#1007)
- drawLotto(lottoBalance) (#1157)
- SwapAndLiquify(half,newBalance,otherHalf) (#1190)
- drawLotto(lottoBalance) (#1157)
- Transfer(sender,recipient,tTransferAmount) (#1249)
- drawLotto(lottoBalance) (#1157)
- Transfer(sender,recipient,tTransferAmount) (#1261)
- drawLotto(lottoBalance) (#1157)
- Transfer(sender,recipient,tTransferAmount) (#1273)
- drawLotto(lottoBalance) (#1157)
- Transfer(sender,recipient,tTransferAmount) (#841)
- drawLotto(lottoBalance) (#1157)
Reentrancy in PirareCoin._transfer(address,address,uint256) (#1110-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- Transfer(sender,recipient,tTransferAmount) (#1249)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- Transfer(sender,recipient,tTransferAmount) (#1273)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- Transfer(sender,recipient,tTransferAmount) (#1261)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- Transfer(sender,recipient,tTransferAmount) (#841)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
Reentrancy in PirareCoin._transferBothExcluded(address,address,uint256) (#830-842):
External calls:
- _takeTxgold(tTxgold) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#839)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#838)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#839)
- _marketingWallet.transfer(address(this).balance) (#1030)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _takeMarketing(tMarketing) (#839)
- Transfer(sender,recipient,tTransferAmount) (#841)
Reentrancy in PirareCoin._transferFromExcluded(address,address,uint256) (#1263-1274):
External calls:
- _takeTxgold(tTxgold) (#1270)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#1271)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#1270)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1271)
- _marketingWallet.transfer(address(this).balance) (#1030)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _takeMarketing(tMarketing) (#1271)
- Transfer(sender,recipient,tTransferAmount) (#1273)
Reentrancy in PirareCoin._transferStandard(address,address,uint256) (#1240-1250):
External calls:
- _takeTxgold(tTxgold) (#1246)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#1247)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#1246)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1247)
- _marketingWallet.transfer(address(this).balance) (#1030)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _takeMarketing(tMarketing) (#1247)
- Transfer(sender,recipient,tTransferAmount) (#1249)
Reentrancy in PirareCoin._transferToExcluded(address,address,uint256) (#1251-1262):
External calls:
- _takeTxgold(tTxgold) (#1258)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- _takeMarketing(tMarketing) (#1259)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _takeTxgold(tTxgold) (#1258)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1259)
- _marketingWallet.transfer(address(this).balance) (#1030)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _takeMarketing(tMarketing) (#1259)
- Transfer(sender,recipient,tTransferAmount) (#1261)
Reentrancy in PirareCoin.constructor() (#706-729):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#712-713)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#728)
Reentrancy in PirareCoin.drawLotto(uint256) (#1001-1008):
External calls:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1003)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1003)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
Event emitted after the call(s):
- DrawLotto(amount,_lottoDrawCount) (#1007)
Reentrancy in PirareCoin.swapAndLiquify(uint256) (#1174-1191):
External calls:
- swapTokensForEth(half) (#1184)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
- addLiquidity(otherHalf,newBalance) (#1188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1188)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- addLiquidity(otherHalf,newBalance) (#1188)
- SwapAndLiquify(half,newBalance,otherHalf) (#1190)
Reentrancy in PirareCoin.transferFrom(address,address,uint256) (#763-767):
External calls:
- _transfer(sender,recipient,amount) (#764)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1199-1205)
External calls sending eth:
- _transfer(sender,recipient,amount) (#764)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#765)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#417-422) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#419)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#240-249) uses assembly
- INLINE ASM (#247)
Address._functionCallWithValue(address,bytes,uint256,string) (#326-345) uses assembly
- INLINE ASM (#337-340)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#326-345) is never used and should be removed
Address.functionCall(address,bytes) (#290-292) is never used and should be removed
Address.functionCall(address,bytes,string) (#299-301) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#313-315) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#322-325) is never used and should be removed
Address.isContract(address) (#240-249) is never used and should be removed
Address.sendValue(address,uint256) (#266-271) is never used and should be removed
Context._msgData() (#214-217) is never used and should be removed
Remove unused functions.
Additional information: link
PirareCoin._rTotal (#637) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
PirareCoin._previousTaxFee (#645) is set pre-construction with a non-constant function or state variable:
- _taxFee
PirareCoin._previousLiquidityFee (#648) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
PirareCoin._previousLottoFee (#651) is set pre-construction with a non-constant function or state variable:
- _lottoFee
PirareCoin._previousTxgoldFee (#654) is set pre-construction with a non-constant function or state variable:
- _txgoldFee
PirareCoin._previousMarketingFee (#657) is set pre-construction with a non-constant function or state variable:
- _marketingFee
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) (#266-271):
- (success) = recipient.call{value: amount}() (#269)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#326-345):
- (success,returndata) = target.call{value: weiValue}(data) (#329)
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() (#449) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#450) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#464) is not in mixedCase
Function IUniswapV2Router01.WETH() (#482) is not in mixedCase
Parameter PirareCoin.setSwapAndLiquifyEnabled(bool)._enabled (#901) is not in mixedCase
Parameter PirareCoin.calculateLottoFee(uint256)._amount (#1047) is not in mixedCase
Parameter PirareCoin.calculateTxgoldFee(uint256)._amount (#1053) is not in mixedCase
Parameter PirareCoin.calculateMarketingFee(uint256)._amount (#1059) is not in mixedCase
Parameter PirareCoin.calculateTaxFee(uint256)._amount (#1065) is not in mixedCase
Parameter PirareCoin.calculateLiquidityFee(uint256)._amount (#1070) is not in mixedCase
Variable PirareCoin._isExcludedFromAntiWhale (#619) is not in mixedCase
Variable PirareCoin._AddressExists (#620) is not in mixedCase
Variable PirareCoin._lastLottoWinnerAmount (#628) is not in mixedCase
Variable PirareCoin._totalLottoPrize (#629) is not in mixedCase
Variable PirareCoin._lottoDrawCount (#630) is not in mixedCase
Variable PirareCoin._taxFee (#644) is not in mixedCase
Variable PirareCoin._liquidityFee (#647) is not in mixedCase
Variable PirareCoin._lottoFee (#650) is not in mixedCase
Variable PirareCoin._txgoldFee (#653) is not in mixedCase
Variable PirareCoin._marketingFee (#656) is not in mixedCase
Variable PirareCoin._shouldSwapToBNB (#666) is not in mixedCase
Variable PirareCoin._maxTxAmount (#668) is not in mixedCase
Variable PirareCoin._isAntiWhaleEnabled (#672) is not in mixedCase
Variable PirareCoin._antiWhaleThreshold (#673) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#215)" inContext (#210-218)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in PirareCoin._tokenTransfer(address,address,uint256,bool) (#1221-1239):
External calls:
- _transferFromExcluded(sender,recipient,amount) (#1226)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _transferToExcluded(sender,recipient,amount) (#1228)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _transferStandard(sender,recipient,amount) (#1230)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _transferBothExcluded(sender,recipient,amount) (#1232)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _transferStandard(sender,recipient,amount) (#1234)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- restoreAllFee() (#1238)
- _liquidityFee = _previousLiquidityFee (#1097)
- restoreAllFee() (#1238)
- _lottoFee = _previousLottoFee (#1094)
- restoreAllFee() (#1238)
- _marketingFee = _previousMarketingFee (#1096)
- restoreAllFee() (#1238)
- _taxFee = _previousTaxFee (#1093)
- restoreAllFee() (#1238)
- _txgoldFee = _previousTxgoldFee (#1095)
Reentrancy in PirareCoin._transfer(address,address,uint256) (#1110-1173):
External calls:
- drawLotto(lottoBalance) (#1157)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
State variables written after the call(s):
- addAddress(from) (#1168)
- _AddressExists[adr] = true (#973)
- addAddress(to) (#1169)
- _AddressExists[adr] = true (#973)
- addAddress(from) (#1168)
- _addressList.push(adr) (#974)
- addAddress(to) (#1169)
- _addressList.push(adr) (#974)
Reentrancy in PirareCoin._transfer(address,address,uint256) (#1110-1173):
External calls:
- drawLotto(lottoBalance) (#1157)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1148)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- drawLotto(lottoBalance) (#1157)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _allowances[owner][spender] = amount (#1107)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _liquidityFee = _previousLiquidityFee (#1097)
- _liquidityFee = 0 (#1089)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _lottoFee = _previousLottoFee (#1094)
- _lottoFee = 0 (#1086)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _marketingFee = _previousMarketingFee (#1096)
- _marketingFee = 0 (#1088)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousLiquidityFee = _liquidityFee (#1083)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousLottoFee = _lottoFee (#1080)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousMarketingFee = _marketingFee (#1082)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousTaxFee = _taxFee (#1079)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _previousTxgoldFee = _txgoldFee (#1081)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _rOwned[_lottoPotAddress] = _rOwned[_lottoPotAddress].add(rLotto) (#996)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1041)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _rOwned[_txgoldWallet] = _rOwned[_txgoldWallet].add(rTxgold) (#1018)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1242)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1253)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#833)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1243)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1266)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1255)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1267)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#835)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _rTotal = _rTotal.sub(rFee) (#917)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1043)
- _tOwned[_lottoPotAddress] = _tOwned[_lottoPotAddress].add(tLotto) (#998)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
- _tOwned[_txgoldWallet] = _tOwned[_txgoldWallet].add(tTxgold) (#1020)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#832)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1265)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1254)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#834)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _taxFee = _previousTaxFee (#1093)
- _taxFee = 0 (#1085)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- _txgoldFee = _previousTxgoldFee (#1095)
- _txgoldFee = 0 (#1087)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- Transfer(sender,recipient,tTransferAmount) (#1249)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- Transfer(sender,recipient,tTransferAmount) (#1261)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- Transfer(sender,recipient,tTransferAmount) (#1273)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
- Transfer(sender,recipient,tTransferAmount) (#841)
- _tokenTransfer(from,to,amount,takeFee) (#1172)
Reentrancy in PirareCoin._transferBothExcluded(address,address,uint256) (#830-842):
External calls:
- _takeTxgold(tTxgold) (#838)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#839)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#839)
- _allowances[owner][spender] = amount (#1107)
- _takeMarketing(tMarketing) (#839)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _reflectFee(rFee,tFee) (#840)
- _rTotal = _rTotal.sub(rFee) (#917)
- _reflectFee(rFee,tFee) (#840)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
- _takeMarketing(tMarketing) (#839)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _takeMarketing(tMarketing) (#839)
- Transfer(sender,recipient,tTransferAmount) (#841)
Reentrancy in PirareCoin._transferFromExcluded(address,address,uint256) (#1263-1274):
External calls:
- _takeTxgold(tTxgold) (#1270)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1271)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#1271)
- _allowances[owner][spender] = amount (#1107)
- _takeMarketing(tMarketing) (#1271)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _reflectFee(rFee,tFee) (#1272)
- _rTotal = _rTotal.sub(rFee) (#917)
- _reflectFee(rFee,tFee) (#1272)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
- _takeMarketing(tMarketing) (#1271)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _takeMarketing(tMarketing) (#1271)
- Transfer(sender,recipient,tTransferAmount) (#1273)
Reentrancy in PirareCoin._transferStandard(address,address,uint256) (#1240-1250):
External calls:
- _takeTxgold(tTxgold) (#1246)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1247)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#1247)
- _allowances[owner][spender] = amount (#1107)
- _takeMarketing(tMarketing) (#1247)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _reflectFee(rFee,tFee) (#1248)
- _rTotal = _rTotal.sub(rFee) (#917)
- _reflectFee(rFee,tFee) (#1248)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
- _takeMarketing(tMarketing) (#1247)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _takeMarketing(tMarketing) (#1247)
- Transfer(sender,recipient,tTransferAmount) (#1249)
Reentrancy in PirareCoin._transferToExcluded(address,address,uint256) (#1251-1262):
External calls:
- _takeTxgold(tTxgold) (#1258)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _takeMarketing(tMarketing) (#1259)
- _marketingWallet.transfer(address(this).balance) (#1030)
State variables written after the call(s):
- _takeMarketing(tMarketing) (#1259)
- _allowances[owner][spender] = amount (#1107)
- _takeMarketing(tMarketing) (#1259)
- _rOwned[_marketingWallet] = _rOwned[_marketingWallet].add(rMarketing) (#1032)
- _reflectFee(rFee,tFee) (#1260)
- _rTotal = _rTotal.sub(rFee) (#917)
- _reflectFee(rFee,tFee) (#1260)
- _tFeeTotal = _tFeeTotal.add(tFee) (#918)
- _takeMarketing(tMarketing) (#1259)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(tMarketing) (#1034)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _takeMarketing(tMarketing) (#1259)
- Transfer(sender,recipient,tTransferAmount) (#1261)
Reentrancy in PirareCoin.drawLotto(uint256) (#1001-1008):
External calls:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1003)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
External calls sending eth:
- _transfer(_lottoPotAddress,_lottoWalletAddress,amount) (#1003)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
State variables written after the call(s):
- _lastLottoWinnerAmount = amount (#1004)
- ++ _lottoDrawCount (#1006)
- _totalLottoPrize = _totalLottoPrize.add(amount) (#1005)
Event emitted after the call(s):
- DrawLotto(amount,_lottoDrawCount) (#1007)
Reentrancy in PirareCoin.transferFrom(address,address,uint256) (#763-767):
External calls:
- _transfer(sender,recipient,amount) (#764)
- _txgoldWallet.transfer(address(this).balance) (#1016)
- _marketingWallet.transfer(address(this).balance) (#1030)
External calls sending eth:
- _transfer(sender,recipient,amount) (#764)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1211-1218)
- _marketingWallet.transfer(address(this).balance) (#1030)
- _txgoldWallet.transfer(address(this).balance) (#1016)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#765)
- _allowances[owner][spender] = amount (#1107)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1108)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#765)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#486) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#487)
Variable PirareCoin._getRValues(PirareCoin.TData).rTransferAmount (#948) is too similar to PirareCoin._getTValues(uint256).tTransferAmount (#935)
Variable PirareCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1264) is too similar to PirareCoin._getTValues(uint256).tTransferAmount (#935)
Variable PirareCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#831) is too similar to PirareCoin._getTValues(uint256).tTransferAmount (#935)
Variable PirareCoin._getRValues(PirareCoin.TData).rTransferAmount (#948) is too similar to PirareCoin._transferStandard(address,address,uint256).tTransferAmount (#1241)
Variable PirareCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1264) is too similar to PirareCoin._transferStandard(address,address,uint256).tTransferAmount (#1241)
Variable PirareCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#831) is too similar to PirareCoin._transferStandard(address,address,uint256).tTransferAmount (#1241)
Variable PirareCoin._getValues(uint256).rTransferAmount (#924) is too similar to PirareCoin._getValues(uint256).tTransferAmount (#921)
Variable PirareCoin._transferStandard(address,address,uint256).rTransferAmount (#1241) is too similar to PirareCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1252)
Variable PirareCoin._transferStandard(address,address,uint256).rTransferAmount (#1241) is too similar to PirareCoin._getTValues(uint256).tTransferAmount (#935)
Variable PirareCoin._getValues(uint256).rTransferAmount (#924) is too similar to PirareCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1252)
Variable PirareCoin._transferStandard(address,address,uint256).rTransferAmount (#1241) is too similar to PirareCoin._transferStandard(address,address,uint256).tTransferAmount (#1241)
Variable PirareCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#831) is too similar to PirareCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#831)
Variable PirareCoin._getRValues(PirareCoin.TData).rTransferAmount (#948) is too similar to PirareCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1264)
Variable PirareCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1264) is too similar to PirareCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1264)
Variable PirareCoin._getValues(uint256).rTransferAmount (#924) is too similar to PirareCoin._getTValues(uint256).tTransferAmount (#935)
Variable PirareCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#831) is too similar to PirareCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1264)
Variable PirareCoin._getValues(uint256).rTransferAmount (#924) is too similar to PirareCoin._transferStandard(address,address,uint256).tTransferAmount (#1241)
Variable PirareCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1252) is too similar to PirareCoin._getValues(uint256).tTransferAmount (#921)
Variable PirareCoin._getRValues(PirareCoin.TData).rTransferAmount (#948) is too similar to PirareCoin._getValues(uint256).tTransferAmount (#921)
Variable PirareCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1264) is too similar to PirareCoin._getValues(uint256).tTransferAmount (#921)
Variable PirareCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#831) is too similar to PirareCoin._getValues(uint256).tTransferAmount (#921)
Variable PirareCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1252) is too similar to PirareCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1252)
Variable PirareCoin._getRValues(PirareCoin.TData).rTransferAmount (#948) is too similar to PirareCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1252)
Variable PirareCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1264) is too similar to PirareCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1252)
Variable PirareCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#831) is too similar to PirareCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1252)
Variable PirareCoin._transferStandard(address,address,uint256).rTransferAmount (#1241) is too similar to PirareCoin._getValues(uint256).tTransferAmount (#921)
Variable PirareCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1252) is too similar to PirareCoin._getTValues(uint256).tTransferAmount (#935)
Variable PirareCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1252) is too similar to PirareCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1264)
Variable PirareCoin.reflectionFromToken(uint256,bool).rTransferAmount (#799) is too similar to PirareCoin._transferStandard(address,address,uint256).tTransferAmount (#1241)
Variable PirareCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1252) is too similar to PirareCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#831)
Variable PirareCoin._transferStandard(address,address,uint256).rTransferAmount (#1241) is too similar to PirareCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1264)
Variable PirareCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1252) is too similar to PirareCoin._transferStandard(address,address,uint256).tTransferAmount (#1241)
Variable PirareCoin._getValues(uint256).rTransferAmount (#924) is too similar to PirareCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1264)
Variable PirareCoin._transferStandard(address,address,uint256).rTransferAmount (#1241) is too similar to PirareCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#831)
Variable PirareCoin.reflectionFromToken(uint256,bool).rTransferAmount (#799) is too similar to PirareCoin._getTValues(uint256).tTransferAmount (#935)
Variable PirareCoin._getValues(uint256).rTransferAmount (#924) is too similar to PirareCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#831)
Variable PirareCoin._getRValues(PirareCoin.TData).rTransferAmount (#948) is too similar to PirareCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#831)
Variable PirareCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1264) is too similar to PirareCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#831)
Variable PirareCoin.reflectionFromToken(uint256,bool).rTransferAmount (#799) is too similar to PirareCoin._getValues(uint256).tTransferAmount (#921)
Variable PirareCoin.reflectionFromToken(uint256,bool).rTransferAmount (#799) is too similar to PirareCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1264)
Variable PirareCoin.reflectionFromToken(uint256,bool).rTransferAmount (#799) is too similar to PirareCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1252)
Variable PirareCoin.reflectionFromToken(uint256,bool).rTransferAmount (#799) is too similar to PirareCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#831)
Prevent variables from having similar names.
Additional information: link
PirareCoin.slitherConstructorVariables() (#611-1277) uses literals with too many digits:
- _minLottoBalance = 1000000000 * 10 ** 9 (#632)
PirareCoin.slitherConstructorVariables() (#611-1277) uses literals with too many digits:
- _tTotal = 100000 * 10 ** 12 * 10 ** 9 (#636)
PirareCoin.slitherConstructorVariables() (#611-1277) uses literals with too many digits:
- _maxTxAmount = 100000 * 10 ** 12 * 10 ** 9 (#668)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PirareCoin._decimals (#642) should be constant
PirareCoin._name (#640) should be constant
PirareCoin._symbol (#641) should be constant
PirareCoin._tTotal (#636) should be constant
PirareCoin.numTokensSellToAddToLiquidity (#669) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#392-395)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#400-404)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#405-407)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#409-414)
unlock() should be declared external:
- Ownable.unlock() (#417-422)
name() should be declared external:
- PirareCoin.name() (#730-732)
symbol() should be declared external:
- PirareCoin.symbol() (#733-735)
decimals() should be declared external:
- PirareCoin.decimals() (#736-738)
totalSupply() should be declared external:
- PirareCoin.totalSupply() (#739-741)
minLottoBalance() should be declared external:
- PirareCoin.minLottoBalance() (#742-744)
currentLottoPool() should be declared external:
- PirareCoin.currentLottoPool() (#745-747)
transfer(address,uint256) should be declared external:
- PirareCoin.transfer(address,uint256) (#752-755)
allowance(address,address) should be declared external:
- PirareCoin.allowance(address,address) (#756-758)
approve(address,uint256) should be declared external:
- PirareCoin.approve(address,uint256) (#759-762)
transferFrom(address,address,uint256) should be declared external:
- PirareCoin.transferFrom(address,address,uint256) (#763-767)
increaseAllowance(address,uint256) should be declared external:
- PirareCoin.increaseAllowance(address,uint256) (#768-771)
decreaseAllowance(address,uint256) should be declared external:
- PirareCoin.decreaseAllowance(address,uint256) (#772-775)
isExcludedFromReward(address) should be declared external:
- PirareCoin.isExcludedFromReward(address) (#776-778)
isIncludeFromLotto(address) should be declared external:
- PirareCoin.isIncludeFromLotto(address) (#779-781)
totalFees() should be declared external:
- PirareCoin.totalFees() (#782-784)
deliver(uint256) should be declared external:
- PirareCoin.deliver(uint256) (#785-792)
reflectionFromToken(uint256,bool) should be declared external:
- PirareCoin.reflectionFromToken(uint256,bool) (#793-802)
excludeFromReward(address) should be declared external:
- PirareCoin.excludeFromReward(address) (#808-816)
excludeFromFee(address) should be declared external:
- PirareCoin.excludeFromFee(address) (#852-854)
includeInFee(address) should be declared external:
- PirareCoin.includeInFee(address) (#856-858)
setshouldSwapToBNB(bool) should be declared external:
- PirareCoin.setshouldSwapToBNB(bool) (#875-877)
setLottoEnabled(bool) should be declared external:
- PirareCoin.setLottoEnabled(bool) (#878-880)
setTxgoldAddress(address) should be declared external:
- PirareCoin.setTxgoldAddress(address) (#881-883)
setMarketingAddress(address) should be declared external:
- PirareCoin.setMarketingAddress(address) (#884-886)
setMinLottoBalance(uint256) should be declared external:
- PirareCoin.setMinLottoBalance(uint256) (#887-889)
setLotteryThresHold(uint256) should be declared external:
- PirareCoin.setLotteryThresHold(uint256) (#890-892)
setSwapAndLiquifyEnabled(bool) should be declared external:
- PirareCoin.setSwapAndLiquifyEnabled(bool) (#901-904)
isExcludedFromFee(address) should be declared external:
- PirareCoin.isExcludedFromFee(address) (#1100-1102)
Use the external attribute for functions never called from the contract.
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 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
Unable to find code repository for the project
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account