Atlas is a Metaverse Project with Triple Yield Income System- Atlas Vault ,Yield Farms, Super-App
The Atlas Project works to revolutionize upon the ever-growing concepts & thematics found within the crypto & web3 spaces by offering unique products that will contribute to the expansive growth that this sector is to see within the coming years.
The Native Token of the Atlas Project, $ATLAS, is custom designed & fitted with a triple-yield earning structure that works to ensure investors benefit fortuitously in multiple ways on a consistent basis. All of which backed & supported by a sustainable protocol. This revolutionary earning structure consists of the: Rebase Engine, Vault, & Yield Farms.
The Atlas Project also has may exciting products under its fold that vary in developmental progress overall.
The first being the heart of the Atlas Project, "Petoverse Pets Adventure" MMORPG! Petoverse is an interactive animal themed mmorpg being built in the metaverse. Here investors can immerse themselves in a world designed for adventure with a major focus on social elements paired with the ability to earn!
Next on the Atlas product watchlist is the "Atlas Super App". A customized mobile app thats features prioritize asset management while introducing social elements in order create an all in one investment/social platform. One that will be uniquely tied into the Atlas Ecosystem & incorporable in all future Atlas products & ventures.
The Atlas Team is proud to welcome the next major stage in the Petoverse Game development roadmap, which is the commencement of our “Open to All” testing. This phase signifies the first major public release of the Petoverse Game. However, it is important to remember that the game is still in its test phases & is near its final product.
ATLAS._name (contracts/Atlas.sol#518) shadows:
- ERC20Detailed._name (contracts/Atlas.sol#478)
ATLAS._symbol (contracts/Atlas.sol#519) shadows:
- ERC20Detailed._symbol (contracts/Atlas.sol#479)
ATLAS._decimals (contracts/Atlas.sol#520) shadows:
- ERC20Detailed._decimals (contracts/Atlas.sol#480)
Remove the state variable shadowing.
Additional information: link
ATLAS.addLiquidity() (contracts/Atlas.sol#786-825) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
ATLAS.swapBack() (contracts/Atlas.sol#827-866) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ATLAS._transferFrom(address,address,uint256) (contracts/Atlas.sol#703-741):
External calls:
- rebase() (contracts/Atlas.sol#719)
- pairContract.skim(DEAD) (contracts/Atlas.sol#667)
- addLiquidity() (contracts/Atlas.sol#723)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#802-808)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
- swapBack() (contracts/Atlas.sol#727)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#843-849)
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
External calls sending eth:
- addLiquidity() (contracts/Atlas.sol#723)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
- swapBack() (contracts/Atlas.sol#727)
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (contracts/Atlas.sol#733)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (contracts/Atlas.sol#737)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (contracts/Atlas.sol#734-736)
- _gonBalances[infernoPit] = _gonBalances[infernoPit].add(pitFee) (contracts/Atlas.sol#772)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(bnbFee) (contracts/Atlas.sol#776)
- _gonBalances[liquidityFeeHolder] = _gonBalances[liquidityFeeHolder].add(liqFee) (contracts/Atlas.sol#780)
- swapBack() (contracts/Atlas.sol#727)
- inSwap = true (contracts/Atlas.sol#595)
- inSwap = false (contracts/Atlas.sol#597)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (contracts/Atlas.sol#734-736)
- insuranceFeeCollected = insuranceFeeCollected.add(_insuranceFee) (contracts/Atlas.sol#769)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (contracts/Atlas.sol#734-736)
- treasuryFeeCollected = treasuryFeeCollected.add(_treasuryFee) (contracts/Atlas.sol#768)
Reentrancy in ATLAS.swapBack() (contracts/Atlas.sol#827-866):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#843-849)
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
External calls sending eth:
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
State variables written after the call(s):
- insuranceFeeCollected = 0 (contracts/Atlas.sol#862)
- treasuryFeeCollected = 0 (contracts/Atlas.sol#863)
Apply the check-effects-interactions pattern.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
ATLAS.claimReward() (contracts/Atlas.sol#883-892) contains a tautology or contradiction:
- require(bool,string)(balanceOf(msg.sender) >= 0,Error: Must be a holder to claim rewards!) (contracts/Atlas.sol#885)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
ATLAS.topUpClaimCycleAfterTransfer(address,address,uint256) (contracts/Atlas.sol#894-906) uses a dangerous strict equality:
- recipient == pair && currentSenderBalance == amount (contracts/Atlas.sol#901)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
ATLAS.swapBack().success (contracts/Atlas.sol#853) is written in both
(success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
(success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
Fix or remove the writes.
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
ATLAS.takeFee(address,address,uint256) (contracts/Atlas.sol#757-784) performs a multiplication on the result of a division:
-pitFee = gonAmount.div(feeDenominator).mul(_infernoPitFee) (contracts/Atlas.sol#771)
ATLAS.takeFee(address,address,uint256) (contracts/Atlas.sol#757-784) performs a multiplication on the result of a division:
-bnbFee = gonAmount.div(feeDenominator).mul(_treasuryFee.add(_insuranceFee)) (contracts/Atlas.sol#775)
ATLAS.takeFee(address,address,uint256) (contracts/Atlas.sol#757-784) performs a multiplication on the result of a division:
-liqFee = gonAmount.div(feeDenominator).mul(_liquidityFee) (contracts/Atlas.sol#779)
Consider ordering multiplication before division.
Additional information: link
ATLAS.addLiquidity() (contracts/Atlas.sol#786-825) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
Ensure that all the return values of the function calls are used.
Additional information: link
ATLAS.constructor(address,address,address,address)._owner (contracts/Atlas.sol#602) shadows:
- Ownable._owner (contracts/Atlas.sol#438) (state variable)
Rename the local variables that shadow another component.
Additional information: link
ATLAS.setLiquiditySetting(uint256,uint256) (contracts/Atlas.sol#951-954) should emit an event for:
- _mintAmountBeforeSwap = _amountBeforeSwap (contracts/Atlas.sol#952)
ATLAS.setRebaseAmount(uint256) (contracts/Atlas.sol#1005-1007) should emit an event for:
- _rebaseAmount = rebaseAmount (contracts/Atlas.sol#1006)
ATLAS.setRewardCycle(uint256,uint256) (contracts/Atlas.sol#1009-1012) should emit an event for:
- rewardCycleInterval = _interval (contracts/Atlas.sol#1010)
- rewardPerCycle = _rewardPerCycle (contracts/Atlas.sol#1011)
ATLAS.setSellSettings(uint256,bool) (contracts/Atlas.sol#1032-1036) should emit an event for:
- sellPercentAllow = _sellPercentAllow (contracts/Atlas.sol#1033)
Emit an event for critical parameter changes.
Additional information: link
ATLAS.constructor(address,address,address,address)._treasuryReceiver (contracts/Atlas.sol#603) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (contracts/Atlas.sol#609)
ATLAS.constructor(address,address,address,address)._insuranceReceiver (contracts/Atlas.sol#604) lacks a zero-check on :
- insuranceReceiver = _insuranceReceiver (contracts/Atlas.sol#610)
ATLAS.setFeeReceivers(address,address,address)._treasuryReceiver (contracts/Atlas.sol#996) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (contracts/Atlas.sol#1000)
ATLAS.setFeeReceivers(address,address,address)._insuranceReceiver (contracts/Atlas.sol#997) lacks a zero-check on :
- insuranceReceiver = _insuranceReceiver (contracts/Atlas.sol#1001)
ATLAS.setFeeReceivers(address,address,address)._infernoPit (contracts/Atlas.sol#998) lacks a zero-check on :
- infernoPit = _infernoPit (contracts/Atlas.sol#1002)
Check that the address is not zero.
Additional information: link
Reentrancy in ATLAS._transferFrom(address,address,uint256) (contracts/Atlas.sol#703-741):
External calls:
- rebase() (contracts/Atlas.sol#719)
- pairContract.skim(DEAD) (contracts/Atlas.sol#667)
- addLiquidity() (contracts/Atlas.sol#723)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#802-808)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
- swapBack() (contracts/Atlas.sol#727)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#843-849)
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
External calls sending eth:
- addLiquidity() (contracts/Atlas.sol#723)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
- swapBack() (contracts/Atlas.sol#727)
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
State variables written after the call(s):
- topUpClaimCycleAfterTransfer(sender,recipient,amount) (contracts/Atlas.sol#730)
- nextAvailableClaimDate[sender] = 0 (contracts/Atlas.sol#902)
- nextAvailableClaimDate[recipient] = block.timestamp + rewardCycleInterval (contracts/Atlas.sol#904)
Reentrancy in ATLAS.addLiquidity() (contracts/Atlas.sol#786-825):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#802-808)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (contracts/Atlas.sol#822)
Reentrancy in ATLAS.constructor(address,address,address,address) (contracts/Atlas.sol#600-656):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (contracts/Atlas.sol#607)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (contracts/Atlas.sol#616)
- _autoAddLiquidity = false (contracts/Atlas.sol#627)
- _autoRebase = false (contracts/Atlas.sol#624)
- _gonBalances[_owner] = TOTAL_GONS (contracts/Atlas.sol#620)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (contracts/Atlas.sol#621)
- _isFeeExempt[_owner] = true (contracts/Atlas.sol#628)
- _isFeeExempt[address(this)] = true (contracts/Atlas.sol#629)
- _isFeeExempt[treasuryReceiver] = true (contracts/Atlas.sol#630)
- _isFeeExempt[insuranceReceiver] = true (contracts/Atlas.sol#631)
- _isFeeExempt[infernoPit] = true (contracts/Atlas.sol#632)
- _isFeeExempt[liquidityFeeHolder] = true (contracts/Atlas.sol#633)
- _isFeeExempt[vault] = true (contracts/Atlas.sol#634)
- _lastRebaseBlock = block.number (contracts/Atlas.sol#623)
- _transferOwnership(_owner) (contracts/Atlas.sol#653)
- _owner = newOwner (contracts/Atlas.sol#473)
- _rebaseAmount = 960000 (contracts/Atlas.sol#625)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (contracts/Atlas.sol#619)
- infernoPit = DEAD (contracts/Atlas.sol#611)
- infernoPitFee.push(30) (contracts/Atlas.sol#649)
- infernoPitFee.push(30) (contracts/Atlas.sol#650)
- infernoPitFee.push(0) (contracts/Atlas.sol#651)
- insuranceFee.push(0) (contracts/Atlas.sol#645)
- insuranceFee.push(40) (contracts/Atlas.sol#646)
- insuranceFee.push(0) (contracts/Atlas.sol#647)
- insuranceReceiver = _insuranceReceiver (contracts/Atlas.sol#610)
- liquidityFee.push(20) (contracts/Atlas.sol#637)
- liquidityFee.push(30) (contracts/Atlas.sol#638)
- liquidityFee.push(0) (contracts/Atlas.sol#639)
- liquidityFeeHolder = address(new LiquidityFeeHolder()) (contracts/Atlas.sol#613)
- pairContract = IPancakeSwapPair(pair) (contracts/Atlas.sol#617)
- treasuryFee.push(0) (contracts/Atlas.sol#641)
- treasuryFee.push(50) (contracts/Atlas.sol#642)
- treasuryFee.push(0) (contracts/Atlas.sol#643)
- treasuryReceiver = _treasuryReceiver (contracts/Atlas.sol#609)
- vault = address(new Vault()) (contracts/Atlas.sol#614)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ATLAS._transferFrom(address,address,uint256) (contracts/Atlas.sol#703-741):
External calls:
- rebase() (contracts/Atlas.sol#719)
- pairContract.skim(DEAD) (contracts/Atlas.sol#667)
- addLiquidity() (contracts/Atlas.sol#723)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#802-808)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
External calls sending eth:
- addLiquidity() (contracts/Atlas.sol#723)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
Event emitted after the call(s):
- AddedLiquidity(amountETHLiquidity,amountToLiquify,block.timestamp) (contracts/Atlas.sol#824)
- addLiquidity() (contracts/Atlas.sol#723)
Reentrancy in ATLAS._transferFrom(address,address,uint256) (contracts/Atlas.sol#703-741):
External calls:
- rebase() (contracts/Atlas.sol#719)
- pairContract.skim(DEAD) (contracts/Atlas.sol#667)
- addLiquidity() (contracts/Atlas.sol#723)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#802-808)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
- swapBack() (contracts/Atlas.sol#727)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#843-849)
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
External calls sending eth:
- addLiquidity() (contracts/Atlas.sol#723)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
- swapBack() (contracts/Atlas.sol#727)
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
Event emitted after the call(s):
- Swap(ethSwaped,amountToSwap,block.timestamp) (contracts/Atlas.sol#865)
- swapBack() (contracts/Atlas.sol#727)
- Transfer(sender,infernoPit,pitFee.div(_gonsPerFragment)) (contracts/Atlas.sol#773)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (contracts/Atlas.sol#734-736)
- Transfer(sender,address(this),bnbFee.div(_gonsPerFragment)) (contracts/Atlas.sol#777)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (contracts/Atlas.sol#734-736)
- Transfer(sender,liquidityFeeHolder,liqFee.div(_gonsPerFragment)) (contracts/Atlas.sol#781)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (contracts/Atlas.sol#734-736)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (contracts/Atlas.sol#739)
Reentrancy in ATLAS.addLiquidity() (contracts/Atlas.sol#786-825):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#802-808)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (contracts/Atlas.sol#813-820)
Event emitted after the call(s):
- AddedLiquidity(amountETHLiquidity,amountToLiquify,block.timestamp) (contracts/Atlas.sol#824)
Reentrancy in ATLAS.constructor(address,address,address,address) (contracts/Atlas.sol#600-656):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (contracts/Atlas.sol#607)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (contracts/Atlas.sol#472)
- _transferOwnership(_owner) (contracts/Atlas.sol#653)
- Transfer(address(0x0),_owner,_totalSupply) (contracts/Atlas.sol#655)
Reentrancy in ATLAS.rebase() (contracts/Atlas.sol#658-670):
External calls:
- pairContract.skim(DEAD) (contracts/Atlas.sol#667)
Event emitted after the call(s):
- LogRebase(block.number,_totalSupply) (contracts/Atlas.sol#669)
Reentrancy in ATLAS.swapBack() (contracts/Atlas.sol#827-866):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/Atlas.sol#843-849)
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
External calls sending eth:
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
Event emitted after the call(s):
- Swap(ethSwaped,amountToSwap,block.timestamp) (contracts/Atlas.sol#865)
Apply the check-effects-interactions pattern.
Additional information: link
ATLAS.validateSell(address,uint256) (contracts/Atlas.sol#743-755) uses timestamp for comparisons
Dangerous comparisons:
- userSellCycleStart[account] + 86400 < block.timestamp (contracts/Atlas.sol#745)
ATLAS.claimReward() (contracts/Atlas.sol#883-892) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(nextAvailableClaimDate[msg.sender] <= block.timestamp,Error: Reward Claim unavailable!) (contracts/Atlas.sol#884)
ATLAS.shouldAddLiquidity() (contracts/Atlas.sol#921-927) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + _liquidityInterval) (contracts/Atlas.sol#922-926)
Avoid relying on block.timestamp.
Additional information: link
SafeMath.mod(uint256,uint256) (contracts/Atlas.sol#96-99) is never used and should be removed
SafeMathInt.abs(int256) (contracts/Atlas.sol#41-44) is never used and should be removed
SafeMathInt.add(int256,int256) (contracts/Atlas.sol#35-39) is never used and should be removed
SafeMathInt.div(int256,int256) (contracts/Atlas.sol#23-27) is never used and should be removed
SafeMathInt.mul(int256,int256) (contracts/Atlas.sol#15-21) is never used and should be removed
SafeMathInt.sub(int256,int256) (contracts/Atlas.sol#29-33) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.7.4 (contracts/Atlas.sol#9) allows old versions
solc-0.7.4 is not recommended for deployment
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
Low level call in ATLAS.swapBack() (contracts/Atlas.sol#827-866):
- (success) = address(treasuryReceiver).call{gas: 30000,value: ethSwaped.mul(treasuryFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#853-856)
- (success,None) = address(insuranceReceiver).call{gas: 30000,value: ethSwaped.mul(insuranceFeeCollected).div(treasuryFeeCollected.add(insuranceFeeCollected))}() (contracts/Atlas.sol#857-860)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeSwapPair.DOMAIN_SEPARATOR() (contracts/Atlas.sol#150) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (contracts/Atlas.sol#152) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (contracts/Atlas.sol#178) is not in mixedCase
Function IPancakeSwapRouter.WETH() (contracts/Atlas.sol#222) is not in mixedCase
Parameter ATLAS.setAutoRebase(bool)._flag (contracts/Atlas.sol#933) is not in mixedCase
Parameter ATLAS.setAutoAddLiquidity(bool)._flag (contracts/Atlas.sol#942) is not in mixedCase
Parameter ATLAS.setLiquiditySetting(uint256,uint256)._amountBeforeSwap (contracts/Atlas.sol#951) is not in mixedCase
Parameter ATLAS.setLiquiditySetting(uint256,uint256)._interval (contracts/Atlas.sol#951) is not in mixedCase
Parameter ATLAS.setSwapBackEnabled(bool)._swapBack (contracts/Atlas.sol#956) is not in mixedCase
Parameter ATLAS.checkFeeExempt(address)._addr (contracts/Atlas.sol#987) is not in mixedCase
Parameter ATLAS.setFeeReceivers(address,address,address)._treasuryReceiver (contracts/Atlas.sol#996) is not in mixedCase
Parameter ATLAS.setFeeReceivers(address,address,address)._insuranceReceiver (contracts/Atlas.sol#997) is not in mixedCase
Parameter ATLAS.setFeeReceivers(address,address,address)._infernoPit (contracts/Atlas.sol#998) is not in mixedCase
Parameter ATLAS.setRewardCycle(uint256,uint256)._interval (contracts/Atlas.sol#1009) is not in mixedCase
Parameter ATLAS.setRewardCycle(uint256,uint256)._rewardPerCycle (contracts/Atlas.sol#1009) is not in mixedCase
Parameter ATLAS.setFee(uint256,uint256,uint256,uint256,uint256,bool)._feeIndex (contracts/Atlas.sol#1015) is not in mixedCase
Parameter ATLAS.setFee(uint256,uint256,uint256,uint256,uint256,bool)._liquidityFee (contracts/Atlas.sol#1016) is not in mixedCase
Parameter ATLAS.setFee(uint256,uint256,uint256,uint256,uint256,bool)._treasuryFee (contracts/Atlas.sol#1017) is not in mixedCase
Parameter ATLAS.setFee(uint256,uint256,uint256,uint256,uint256,bool)._insuranceFee (contracts/Atlas.sol#1018) is not in mixedCase
Parameter ATLAS.setFee(uint256,uint256,uint256,uint256,uint256,bool)._infernoPitFee (contracts/Atlas.sol#1019) is not in mixedCase
Parameter ATLAS.setFee(uint256,uint256,uint256,uint256,uint256,bool)._feeEnabled (contracts/Atlas.sol#1020) is not in mixedCase
Parameter ATLAS.setSellSettings(uint256,bool)._sellPercentAllow (contracts/Atlas.sol#1032) is not in mixedCase
Parameter ATLAS.setSellSettings(uint256,bool)._sellLimitEnabled (contracts/Atlas.sol#1032) is not in mixedCase
Parameter ATLAS.setWhitelist(address)._addr (contracts/Atlas.sol#1038) is not in mixedCase
Parameter ATLAS.setBotBlacklist(address,bool)._botAddress (contracts/Atlas.sol#1042) is not in mixedCase
Parameter ATLAS.setBotBlacklist(address,bool)._flag (contracts/Atlas.sol#1042) is not in mixedCase
Variable ATLAS._name (contracts/Atlas.sol#518) is not in mixedCase
Variable ATLAS._symbol (contracts/Atlas.sol#519) is not in mixedCase
Variable ATLAS._decimals (contracts/Atlas.sol#520) is not in mixedCase
Variable ATLAS._isFeeExempt (contracts/Atlas.sol#523) is not in mixedCase
Variable ATLAS.DEAD (contracts/Atlas.sol#547) is not in mixedCase
Variable ATLAS._autoAddLiquidity (contracts/Atlas.sol#554) is not in mixedCase
Variable ATLAS._mintAmountBeforeSwap (contracts/Atlas.sol#555) is not in mixedCase
Variable ATLAS._liquidityInterval (contracts/Atlas.sol#556) is not in mixedCase
Variable ATLAS._lastAddLiquidityTime (contracts/Atlas.sol#557) is not in mixedCase
Variable ATLAS._autoRebase (contracts/Atlas.sol#560) is not in mixedCase
Variable ATLAS._lastRebaseBlock (contracts/Atlas.sol#561) is not in mixedCase
Variable ATLAS._rebaseAmount (contracts/Atlas.sol#562) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/Atlas.sol#227) is too similar to IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/Atlas.sol#228)
Prevent variables from having similar names.
Additional information: link
ATLAS.slitherConstructorVariables() (contracts/Atlas.sol#509-1064) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (contracts/Atlas.sol#547)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (contracts/Atlas.sol#13) is never used in SafeMathInt (contracts/Atlas.sol#11-45)
ATLAS.liquidityFeeCollected (contracts/Atlas.sol#542) is never used in ATLAS (contracts/Atlas.sol#509-1064)
Remove unused state variables.
Additional information: link
ATLAS.DEAD (contracts/Atlas.sol#547) should be constant
ATLAS._decimals (contracts/Atlas.sol#520) should be constant
ATLAS._name (contracts/Atlas.sol#518) should be constant
ATLAS._symbol (contracts/Atlas.sol#519) should be constant
ATLAS.feeDenominator (contracts/Atlas.sol#539) should be constant
ATLAS.liquidityFeeCollected (contracts/Atlas.sol#542) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/Atlas.sol#461-464)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/Atlas.sol#466-468)
name() should be declared external:
- ERC20Detailed.name() (contracts/Atlas.sol#492-494)
symbol() should be declared external:
- ERC20Detailed.symbol() (contracts/Atlas.sol#496-498)
decimals() should be declared external:
- ERC20Detailed.decimals() (contracts/Atlas.sol#500-502)
claimReward() should be declared external:
- ATLAS.claimReward() (contracts/Atlas.sol#883-892)
Use the external attribute for functions never called from the contract.
Additional information: link
ATLAS.isContract(address) (contracts/Atlas.sol#1055-1061) uses assembly
- INLINE ASM (contracts/Atlas.sol#1057-1059)
Do not use evm assembly.
Additional information: link
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 scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death