ATH PROTOCOL Token Logo

ATH [ATH PROTOCOL] Token

About ATH

Listings

Token 2 years
white paper

ATH Protocol is a unique Decentralised Finance (DeFi) protocol offering auto-staking (499,997.79% APY) with featured auto-compounding paying every 15 minutes! and a permission-less Decentralised Marketplace with LP Yield Farming. ATH Protocol has unique Non Fungible Tokens (NFTs) with various characters and also a play to earn (P2E) gaming feature with a high reward system. KYC done with Pinksale ✅ AUDITED BY InterFi✅. Platform with utilities ready✅ .NFTs✅. P2E already in Beta Testing ✅ .

Social

Laser Scorebeta Last Audit: 25 April 2022

report
Token has too many issues. Scam probability is high.

ATH.swapBack() (#840-878) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(treasuryFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#866-871)
- (success,None) = address(ATHInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(ATHInsuranceFundFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#872-877)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in ATH._transferFrom(address,address,uint256) (#727-764):
External calls:
- rebase() (#738)
- pairContract.sync() (#687)
- addLiquidity() (#742)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#817-823)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#828-835)
- swapBack() (#746)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#854-860)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(treasuryFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#866-871)
- (success,None) = address(ATHInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(ATHInsuranceFundFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#872-877)
External calls sending eth:
- addLiquidity() (#742)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#828-835)
- swapBack() (#746)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(treasuryFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#866-871)
- (success,None) = address(ATHInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(ATHInsuranceFundFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#872-877)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#750)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#754-756)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#751-753)
- _gonBalances[blackHole] = _gonBalances[blackHole].add(gonAmount.mul(blackHoleFee).div(feeDenominator)) (#781-783)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.mul(_treasuryFee.add(ATHInsuranceFundFee)).div(feeDenominator)) (#784-788)
- _gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.mul(liquidityFee).div(feeDenominator)) (#789-791)
- swapBack() (#746)
- inSwap = true (#586)
- inSwap = false (#588)
Apply the check-effects-interactions pattern.

Additional information: link

ATH._name (#544) shadows:
- ERC20Detailed._name (#511)
ATH._symbol (#545) shadows:
- ERC20Detailed._symbol (#512)
ATH._decimals (#546) shadows:
- ERC20Detailed._decimals (#513)
Remove the state variable shadowing.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

ATH.swapBack().success (#866) is written in both
(success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(treasuryFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#866-871)
(success,None) = address(ATHInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(ATHInsuranceFundFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#872-877)
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)

ATH.rebase() (#654-690) performs a multiplication on the result of a division:
-times = deltaTime.div(900) (#659)
-epoch = times.mul(15) (#660)
ATH.rebase() (#654-690) performs a multiplication on the result of a division:
-times = deltaTime.div(900) (#659)
-_lastRebasedTime = _lastRebasedTime.add(times.mul(900)) (#685)
ATH.getLiquidityBacking(uint256) (#1032-1040) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#1037)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#1038-1039)
Consider ordering multiplication before division.

Additional information: link

ATH.rebase().rebaseRate (#656) 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

ATH.addLiquidity() (#797-838) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#828-835)
Ensure that all the return values of the function calls are used.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#494-497)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#499-501)
name() should be declared external:
- ERC20Detailed.name() (#525-527)
symbol() should be declared external:
- ERC20Detailed.symbol() (#529-531)
decimals() should be declared external:
- ERC20Detailed.decimals() (#533-535)
Use the external attribute for functions never called from the contract.

Additional information: link

ATH.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#1021) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#1026)
ATH.setFeeReceivers(address,address,address,address)._treasuryReceiver (#1022) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (#1027)
ATH.setFeeReceivers(address,address,address,address)._ATHInsuranceFundReceiver (#1023) lacks a zero-check on :
- ATHInsuranceFundReceiver = _ATHInsuranceFundReceiver (#1028)
ATH.setFeeReceivers(address,address,address,address)._blackHole (#1024) lacks a zero-check on :
- blackHole = _blackHole (#1029)
ATH.setPairAddress(address)._pairAddress (#1057) lacks a zero-check on :
- pairAddress = _pairAddress (#1058)
Check that the address is not zero.

Additional information: link

Reentrancy in ATH.addLiquidity() (#797-838):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#817-823)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#828-835)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#828-835)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (#837)
Reentrancy in ATH.constructor() (#609-642):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#615-618)
State variables written after the call(s):
- ATHInsuranceFundReceiver = 0xCAE12a56d36839b3b554deFb54609d962eCecb30 (#622)
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (#625)
- _autoAddLiquidity = true (#636)
- _autoRebase = false (#634)
- _gonBalances[owner()] = TOTAL_GONS (#630)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#631)
- _initRebaseStartTime = block.timestamp (#632)
- _isFeeExempt[owner()] = true (#637)
- _isFeeExempt[address(this)] = true (#638)
- _isRebaseStarted = false (#635)
- _lastRebasedTime = block.timestamp (#633)
- _transferOwnership(owner()) (#640)
- _owner = newOwner (#506)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#629)
- autoLiquidityReceiver = 0xE2B7BEe7B723DC5FB20170Bc8dA5c683F297f235 (#620)
- blackHole = 0x31d61B99108f8C6fa92E2811b860cB651EbFD339 (#623)
- pairAddress = pair (#626)
- pairContract = IPancakeSwapPair(pair) (#627)
- treasuryReceiver = 0x4faAAc120F4dED0a05bDDF058231B4fe3653C623 (#621)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ATH._transferFrom(address,address,uint256) (#727-764):
External calls:
- rebase() (#738)
- pairContract.sync() (#687)
- addLiquidity() (#742)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#817-823)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#828-835)
- swapBack() (#746)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#854-860)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(treasuryFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#866-871)
- (success,None) = address(ATHInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(ATHInsuranceFundFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#872-877)
External calls sending eth:
- addLiquidity() (#742)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#828-835)
- swapBack() (#746)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(treasuryFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#866-871)
- (success,None) = address(ATHInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(ATHInsuranceFundFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#872-877)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#793)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#751-753)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#758-762)
Reentrancy in ATH.constructor() (#609-642):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#615-618)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#505)
- _transferOwnership(owner()) (#640)
- Transfer(address(0x0),owner(),_totalSupply) (#641)
Reentrancy in ATH.rebase() (#654-690):
External calls:
- pairContract.sync() (#687)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#689)
Apply the check-effects-interactions pattern.

Additional information: link

ATH.rebase() (#654-690) uses timestamp for comparisons
Dangerous comparisons:
- deltaTimeFromInit < 31536000 (#662)
- (deltaTimeFromInit >= 31536000) && (deltaTimeFromInit < (15 * 31536000) / 10) (#665-666)
- (deltaTimeFromInit >= (15 * 31536000) / 10) && (deltaTimeFromInit < (7 * 31536000)) (#670-671)
- deltaTimeFromInit >= (7 * 31536000) (#674)
- i < times (#678)
ATH.shouldRebase() (#908-915) uses timestamp for comparisons
Dangerous comparisons:
- _autoRebase && (_totalSupply < MAX_SUPPLY) && msg.sender != pair && ! inSwap && block.timestamp >= (_lastRebasedTime + 900) (#909-914)
ATH.shouldAddLiquidity() (#917-923) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 172800) (#918-922)
Avoid relying on block.timestamp.

Additional information: link

ATH.isContract(address) (#1073-1079) uses assembly
- INLINE ASM (#1075-1077)
Do not use evm assembly.

Additional information: link

SafeMath.mod(uint256,uint256) (#89-92) is never used and should be removed
SafeMathInt.abs(int256) (#34-37) is never used and should be removed
SafeMathInt.add(int256,int256) (#28-32) is never used and should be removed
SafeMathInt.div(int256,int256) (#16-20) is never used and should be removed
SafeMathInt.mul(int256,int256) (#8-14) is never used and should be removed
SafeMathInt.sub(int256,int256) (#22-26) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.7.4 (#2) 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 ATH.swapBack() (#840-878):
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(treasuryFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#866-871)
- (success,None) = address(ATHInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndATHIF.mul(ATHInsuranceFundFee).div(treasuryFee.add(ATHInsuranceFundFee))}() (#872-877)
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() (#157) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (#159) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (#190) is not in mixedCase
Function IPancakeSwapRouter.WETH() (#236) is not in mixedCase
Parameter ATH.setAutoRebase(bool)._flag (#929) is not in mixedCase
Parameter ATH.setAutoAddLiquidity(bool)._flag (#938) is not in mixedCase
Parameter ATH.checkFeeExempt(address)._addr (#1001) is not in mixedCase
Parameter ATH.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#1021) is not in mixedCase
Parameter ATH.setFeeReceivers(address,address,address,address)._treasuryReceiver (#1022) is not in mixedCase
Parameter ATH.setFeeReceivers(address,address,address,address)._ATHInsuranceFundReceiver (#1023) is not in mixedCase
Parameter ATH.setFeeReceivers(address,address,address,address)._blackHole (#1024) is not in mixedCase
Parameter ATH.setWhitelist(address)._addr (#1042) is not in mixedCase
Parameter ATH.setBotBlacklist(address,bool)._botAddress (#1046) is not in mixedCase
Parameter ATH.setBotBlacklist(address,bool)._flag (#1046) is not in mixedCase
Parameter ATH.setPairAddress(address)._pairAddress (#1057) is not in mixedCase
Parameter ATH.setLP(address)._address (#1061) is not in mixedCase
Constant ATH._name (#544) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ATH._symbol (#545) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ATH._decimals (#546) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ATH._isFeeExempt (#549) is not in mixedCase
Constant ATH.liquidityFee (#562) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ATH.treasuryFee (#563) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ATH.ATHInsuranceFundFee (#564) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ATH.sellFee (#565) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ATH.blackHoleFee (#566) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ATH.feeDenominator (#571) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ATH.ATHInsuranceFundReceiver (#578) is not in mixedCase
Constant ATH.swapEnabled (#581) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ATH._autoRebase (#596) is not in mixedCase
Variable ATH._autoAddLiquidity (#597) is not in mixedCase
Variable ATH._initRebaseStartTime (#598) is not in mixedCase
Variable ATH._lastRebasedTime (#599) is not in mixedCase
Variable ATH._lastAddLiquidityTime (#600) is not in mixedCase
Variable ATH._totalSupply (#601) is not in mixedCase
Variable ATH._isRebaseStarted (#603) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#241) is too similar to IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#242)
Prevent variables from having similar names.

Additional information: link

ATH.slitherConstructorConstantVariables() (#538-1083) uses literals with too many digits:
- INITIAL_FRAGMENTS_SUPPLY = 1000000 * 10 ** DECIMALS (#560)
ATH.slitherConstructorConstantVariables() (#538-1083) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#573)
ATH.slitherConstructorConstantVariables() (#538-1083) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#574)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#6) is never used in SafeMathInt (#4-38)
Remove unused state variables.

Additional information: link

ATH.totalFee (#567-570) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)


Unable to verify token contract address on the website


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Young tokens have high risks of scam / price dump / death


Alexa traffic rank is very low

Additional information: link


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


Token has no active CoinMarketCap listing / rank

Price for ATH

News for ATH