Atrollcity Token Logo

PINE [Atrollcity] Token

About PINE

Listings

Token 2 years
CoinMarketCap 2 years
white paper

ATrollCity is a revolutionary, easy and addictive NFT Collectibles game set in a troll universe that even non-crypto casual gamers can play and earn! Proudly introducing an in-game quad-earn model coupled with game wallet profit sharing for a dual-income stream to the community. Specifically designed for mass adoption with short 3 minutes gameplay that pays out almost immediately.

Social

Laser Scorebeta Last Audit: 28 February 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Atrollcity.addLiquidity(uint256,uint256) (#1648-1663) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Atrollcity._transfer(address,address,uint256) (#1484-1581):
External calls:
- swapTokensForEth(walletTokens) (#1532)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndSendDividends(sellTokens) (#1543)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#1668)
- dividendTracker.distributeBUSDDividends(dividends) (#1671)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1639-1645)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1536)
- address(_buybackWalletAddress).transfer(buybackShare) (#1537)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1563)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#481)
- _balances[recipient] = _balances[recipient].add(amount) (#482)
- super._transfer(from,to,amount) (#1566)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#481)
- _balances[recipient] = _balances[recipient].add(amount) (#482)
- swapping = false (#1545)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


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.

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#817-833):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#822)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#825)
Reentrancy in Atrollcity.updateDividendTracker(address) (#1306-1321):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1313)
- newDividendTracker.excludeFromDividends(address(this)) (#1314)
- newDividendTracker.excludeFromDividends(owner()) (#1315)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1316)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1320)
Apply the check-effects-interactions pattern.

Additional information: link

Atrollcity._transfer(address,address,uint256).claims (#1574) is a local variable never initialized
Atrollcity._transfer(address,address,uint256).iterations (#1574) is a local variable never initialized
Atrollcity._transfer(address,address,uint256).lastProcessedIndex (#1574) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

Atrollcity.claim() (#1471-1473) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1472)
Atrollcity._transfer(address,address,uint256) (#1484-1581) ignores return value by dividendTracker.process(gas) (#1574-1579)
Atrollcity.addLiquidity(uint256,uint256) (#1648-1663) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#791) shadows:
- ERC20._name (#303) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#791) shadows:
- ERC20._symbol (#304) (state variable)
DividendPayingToken.dividendOf(address)._owner (#839) shadows:
- Ownable._owner (#702) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#846) shadows:
- Ownable._owner (#702) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#853) shadows:
- Ownable._owner (#702) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#863) shadows:
- Ownable._owner (#702) (state variable)
Rename the local variables that shadow another component.

Additional information: link

Atrollcity.setMaxWalletTokend(uint256) (#1347-1349) should emit an event for:
- maxWalletToken = _maxToken * (10 ** 18) (#1348)
Atrollcity.setBUSDRewardsFee(uint256) (#1359-1362) should emit an event for:
- BUSDRewardsFee = value (#1360)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee) (#1361)
Atrollcity.setLiquiditFee(uint256) (#1364-1367) should emit an event for:
- liquidityFee = value (#1365)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee) (#1366)
Atrollcity.setMarketingFee(uint256) (#1369-1373) should emit an event for:
- marketingFee = _marketingFee (#1370)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee) (#1371)
Atrollcity.setBuybackFee(uint256) (#1375-1379) should emit an event for:
- buybackFee = _buybackFee (#1376)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee) (#1377)
Emit an event for critical parameter changes.

Additional information: link

Atrollcity.updateUniswapV2Router(address)._uniswapV2Pair (#1327-1328) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1329)
Atrollcity.setMarketingWallet(address).wallet (#1351) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1352)
Atrollcity.setBuybackWallet(address).wallet (#1355) lacks a zero-check on :
- _buybackWalletAddress = wallet (#1356)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#817-833) has external calls inside a loop: success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#822)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'Atrollcity._transfer(address,address,uint256).iterations (#1574)' in Atrollcity._transfer(address,address,uint256) (#1484-1581) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1575)
Variable 'Atrollcity._transfer(address,address,uint256).claims (#1574)' in Atrollcity._transfer(address,address,uint256) (#1484-1581) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1575)
Variable 'Atrollcity._transfer(address,address,uint256).lastProcessedIndex (#1574)' in Atrollcity._transfer(address,address,uint256) (#1484-1581) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1575)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in Atrollcity._transfer(address,address,uint256) (#1484-1581):
External calls:
- swapTokensForEth(walletTokens) (#1532)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1536)
- address(_buybackWalletAddress).transfer(buybackShare) (#1537)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1540)
- _allowances[owner][spender] = amount (#547)
Reentrancy in Atrollcity._transfer(address,address,uint256) (#1484-1581):
External calls:
- swapTokensForEth(walletTokens) (#1532)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndSendDividends(sellTokens) (#1543)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#1668)
- dividendTracker.distributeBUSDDividends(dividends) (#1671)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1639-1645)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1536)
- address(_buybackWalletAddress).transfer(buybackShare) (#1537)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1543)
- _allowances[owner][spender] = amount (#547)
Reentrancy in Atrollcity.constructor() (#1267-1300):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1274-1275)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1278)
- uniswapV2Router = _uniswapV2Router (#1277)
Reentrancy in Atrollcity.constructor() (#1267-1300):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1274-1275)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1280)
- dividendTracker.excludeFromDividends(pair) (#1398)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1283)
- dividendTracker.excludeFromDividends(address(this)) (#1284)
- dividendTracker.excludeFromDividends(owner()) (#1285)
- dividendTracker.excludeFromDividends(deadWallet) (#1286)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1287)
State variables written after the call(s):
- _mint(owner(),100000000000 * (10 ** 18)) (#1299)
- _balances[account] = _balances[account].add(amount) (#501)
- excludeFromFees(owner(),true) (#1290)
- _isExcludedFromFees[account] = excluded (#1334)
- excludeFromFees(_marketingWalletAddress,true) (#1291)
- _isExcludedFromFees[account] = excluded (#1334)
- excludeFromFees(_buybackWalletAddress,true) (#1292)
- _isExcludedFromFees[account] = excluded (#1334)
- excludeFromFees(address(this),true) (#1293)
- _isExcludedFromFees[account] = excluded (#1334)
- _mint(owner(),100000000000 * (10 ** 18)) (#1299)
- _totalSupply = _totalSupply.add(amount) (#500)
Reentrancy in AtrollcityDividendTracker.processAccount(address,bool) (#1873-1883):
External calls:
- amount = _withdrawDividendOfUser(account) (#1874)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#822)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1877)
Reentrancy in Atrollcity.swapAndLiquify(uint256) (#1584-1605):
External calls:
- swapTokensForEth(half) (#1596)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- addLiquidity(otherHalf,newBalance) (#1602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1602)
- _allowances[owner][spender] = amount (#547)
Reentrancy in Atrollcity.updateUniswapV2Router(address) (#1323-1330):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1327-1328)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1329)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Atrollcity._setAutomatedMarketMakerPair(address,bool) (#1393-1402):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1398)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1401)
Reentrancy in Atrollcity._transfer(address,address,uint256) (#1484-1581):
External calls:
- swapTokensForEth(walletTokens) (#1532)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1536)
- address(_buybackWalletAddress).transfer(buybackShare) (#1537)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- swapAndLiquify(swapTokens) (#1540)
- SwapAndLiquify(half,newBalance,otherHalf) (#1604)
- swapAndLiquify(swapTokens) (#1540)
Reentrancy in Atrollcity._transfer(address,address,uint256) (#1484-1581):
External calls:
- swapTokensForEth(walletTokens) (#1532)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndSendDividends(sellTokens) (#1543)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#1668)
- dividendTracker.distributeBUSDDividends(dividends) (#1671)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1639-1645)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1536)
- address(_buybackWalletAddress).transfer(buybackShare) (#1537)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- swapAndSendDividends(sellTokens) (#1543)
- SendDividends(tokens,dividends) (#1672)
- swapAndSendDividends(sellTokens) (#1543)
- Transfer(sender,recipient,amount) (#483)
- super._transfer(from,to,amount) (#1566)
- Transfer(sender,recipient,amount) (#483)
- super._transfer(from,address(this),fees) (#1563)
Reentrancy in Atrollcity._transfer(address,address,uint256) (#1484-1581):
External calls:
- swapTokensForEth(walletTokens) (#1532)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- swapAndSendDividends(sellTokens) (#1543)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#1668)
- dividendTracker.distributeBUSDDividends(dividends) (#1671)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1639-1645)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1568)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1569)
- dividendTracker.process(gas) (#1574-1579)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1536)
- address(_buybackWalletAddress).transfer(buybackShare) (#1537)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1575)
Reentrancy in Atrollcity.constructor() (#1267-1300):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1274-1275)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1280)
- dividendTracker.excludeFromDividends(pair) (#1398)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1401)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1280)
Reentrancy in Atrollcity.constructor() (#1267-1300):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1274-1275)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1280)
- dividendTracker.excludeFromDividends(pair) (#1398)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1283)
- dividendTracker.excludeFromDividends(address(this)) (#1284)
- dividendTracker.excludeFromDividends(owner()) (#1285)
- dividendTracker.excludeFromDividends(deadWallet) (#1286)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1287)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1336)
- excludeFromFees(owner(),true) (#1290)
- ExcludeFromFees(account,excluded) (#1336)
- excludeFromFees(address(this),true) (#1293)
- ExcludeFromFees(account,excluded) (#1336)
- excludeFromFees(_buybackWalletAddress,true) (#1292)
- ExcludeFromFees(account,excluded) (#1336)
- excludeFromFees(_marketingWalletAddress,true) (#1291)
- Transfer(address(0),account,amount) (#502)
- _mint(owner(),100000000000 * (10 ** 18)) (#1299)
Reentrancy in AtrollcityDividendTracker.processAccount(address,bool) (#1873-1883):
External calls:
- amount = _withdrawDividendOfUser(account) (#1874)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#822)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1878)
Reentrancy in Atrollcity.processDividendTracker(uint256) (#1466-1469):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1467)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1468)
Reentrancy in Atrollcity.swapAndLiquify(uint256) (#1584-1605):
External calls:
- swapTokensForEth(half) (#1596)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1619-1625)
- addLiquidity(otherHalf,newBalance) (#1602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1602)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- addLiquidity(otherHalf,newBalance) (#1602)
- SwapAndLiquify(half,newBalance,otherHalf) (#1604)
Reentrancy in Atrollcity.swapAndSendDividends(uint256) (#1665-1674):
External calls:
- swapTokensForBUSD(tokens) (#1666)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1639-1645)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#1668)
- dividendTracker.distributeBUSDDividends(dividends) (#1671)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1672)
Reentrancy in Atrollcity.updateDividendTracker(address) (#1306-1321):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1313)
- newDividendTracker.excludeFromDividends(address(this)) (#1314)
- newDividendTracker.excludeFromDividends(owner()) (#1315)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1316)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1318)
Apply the check-effects-interactions pattern.

Additional information: link

AtrollcityDividendTracker.getAccount(address) (#1737-1780) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1777-1779)
AtrollcityDividendTracker.canAutoClaim(uint256) (#1801-1807) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1802)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1806)
Avoid relying on block.timestamp.

Additional information: link

Different versions of Solidity is used:
- Version used: ['^0.6.12', '^0.6.2']
- ^0.6.12 (#3)
- ^0.6.2 (#1048)
Use one Solidity version.

Additional information: link

Context._msgData() (#120-123) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#873-879) is never used and should be removed
SafeMath.mod(uint256,uint256) (#247-249) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#263-266) is never used and should be removed
SafeMathInt.abs(int256) (#636-639) is never used and should be removed
SafeMathInt.div(int256,int256) (#607-613) is never used and should be removed
SafeMathInt.mul(int256,int256) (#595-602) is never used and should be removed
Remove unused functions.

Additional information: link

Atrollcity.totalFees (#1211) is set pre-construction with a non-constant function or state variable:
- BUSDRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Pragma version^0.6.2 (#1048) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Parameter DividendPayingToken.dividendOf(address)._owner (#839) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#846) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#853) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#863) is not in mixedCase
Variable DividendPayingToken.BUSD (#765) is not in mixedCase
Constant DividendPayingToken.magnitude (#771) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#994) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#995) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#1012) is not in mixedCase
Function IUniswapV2Router01.WETH() (#1052) is not in mixedCase
Parameter Atrollcity.setMaxWalletTokend(uint256)._maxToken (#1347) is not in mixedCase
Parameter Atrollcity.setMarketingFee(uint256)._marketingFee (#1369) is not in mixedCase
Parameter Atrollcity.setBuybackFee(uint256)._buybackFee (#1375) is not in mixedCase
Variable Atrollcity.BUSD (#1201) is not in mixedCase
Variable Atrollcity._isBlacklisted (#1205) is not in mixedCase
Variable Atrollcity.BUSDRewardsFee (#1207) is not in mixedCase
Variable Atrollcity._marketingWalletAddress (#1214) is not in mixedCase
Variable Atrollcity._buybackWalletAddress (#1215) is not in mixedCase
Parameter AtrollcityDividendTracker.getAccount(address)._account (#1737) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#121)" inContext (#115-124)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in Atrollcity._transfer(address,address,uint256) (#1484-1581):
External calls:
- address(_marketingWalletAddress).transfer(marketingShare) (#1536)
- address(_buybackWalletAddress).transfer(buybackShare) (#1537)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (#1536)
- address(_buybackWalletAddress).transfer(buybackShare) (#1537)
- swapAndLiquify(swapTokens) (#1540)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1654-1661)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1540)
- _allowances[owner][spender] = amount (#547)
- swapAndSendDividends(sellTokens) (#1543)
- _allowances[owner][spender] = amount (#547)
- super._transfer(from,address(this),fees) (#1563)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#481)
- _balances[recipient] = _balances[recipient].add(amount) (#482)
- super._transfer(from,to,amount) (#1566)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#481)
- _balances[recipient] = _balances[recipient].add(amount) (#482)
- swapping = false (#1545)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#548)
- swapAndLiquify(swapTokens) (#1540)
- Approval(owner,spender,amount) (#548)
- swapAndSendDividends(sellTokens) (#1543)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1575)
- SendDividends(tokens,dividends) (#1672)
- swapAndSendDividends(sellTokens) (#1543)
- SwapAndLiquify(half,newBalance,otherHalf) (#1604)
- swapAndLiquify(swapTokens) (#1540)
- Transfer(sender,recipient,amount) (#483)
- super._transfer(from,to,amount) (#1566)
- Transfer(sender,recipient,amount) (#483)
- super._transfer(from,address(this),fees) (#1563)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#1057) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1058)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#818) is too similar to AtrollcityDividendTracker.getAccount(address).withdrawableDividends (#1742)
Prevent variables from having similar names.

Additional information: link

Atrollcity.constructor() (#1267-1300) uses literals with too many digits:
- _mint(owner(),100000000000 * (10 ** 18)) (#1299)
Atrollcity.updateGasForProcessing(uint256) (#1405-1410) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 800000,Atrollcity: gasForProcessing must be between 200,000 and 500,000) (#1406)
Atrollcity.slitherConstructorVariables() (#1189-1675) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#1199)
Atrollcity.slitherConstructorVariables() (#1189-1675) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 18) (#1203)
Atrollcity.slitherConstructorVariables() (#1189-1675) uses literals with too many digits:
- maxWalletToken = 125000000 * (10 ** 18) (#1212)
Atrollcity.slitherConstructorVariables() (#1189-1675) uses literals with too many digits:
- gasForProcessing = 300000 (#1219)
AtrollcityDividendTracker.constructor() (#1697-1700) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000 * (10 ** 18) (#1699)
AtrollcityDividendTracker.getAccountAtIndex(uint256) (#1782-1799) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1793)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#590) is never used in SafeMathInt (#588-646)
Remove unused state variables.

Additional information: link

Atrollcity.deadWallet (#1199) should be constant
Atrollcity.swapTokensAtAmount (#1203) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

name() should be declared external:
- ERC20.name() (#323-325)
symbol() should be declared external:
- ERC20.symbol() (#331-333)
decimals() should be declared external:
- ERC20.decimals() (#348-350)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#374-377)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#382-384)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#393-396)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#411-419)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#433-436)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#452-455)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#737-740)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#746-750)
distributeBUSDDividends(uint256) should be declared external:
- DividendPayingToken.distributeBUSDDividends(uint256) (#796-807)
withdrawDividend() should be declared external:
- AtrollcityDividendTracker.withdrawDividend() (#1706-1708)
- DividendPayingToken.withdrawDividend() (#811-813)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#839-841)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#853-855)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#926-928)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#930-935)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#937-939)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#943-945)
updateDividendTracker(address) should be declared external:
- Atrollcity.updateDividendTracker(address) (#1306-1321)
updateUniswapV2Router(address) should be declared external:
- Atrollcity.updateUniswapV2Router(address) (#1323-1330)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- Atrollcity.excludeMultipleAccountsFromFees(address[],bool) (#1339-1345)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- Atrollcity.setAutomatedMarketMakerPair(address,bool) (#1382-1386)
updateGasForProcessing(uint256) should be declared external:
- Atrollcity.updateGasForProcessing(uint256) (#1405-1410)
isExcludedFromFees(address) should be declared external:
- Atrollcity.isExcludedFromFees(address) (#1424-1426)
withdrawableDividendOf(address) should be declared external:
- Atrollcity.withdrawableDividendOf(address) (#1428-1430)
dividendTokenBalanceOf(address) should be declared external:
- Atrollcity.dividendTokenBalanceOf(address) (#1432-1434)
getAccountAtIndex(uint256) should be declared external:
- AtrollcityDividendTracker.getAccountAtIndex(uint256) (#1782-1799)
process(uint256) should be declared external:
- AtrollcityDividendTracker.process(uint256) (#1826-1871)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.

Contract has 10% buy tax and 11% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Token is deployed only at one blockchain


Unable to find Youtube account


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of price dump / death


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


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for PINE

News for PINE