Astake Token Logo

ASTAKE Token

ALERT: honeypot scam

About ASTAKE

Listings

Token 2 years
CoinMarketCap 2 years
white paper

Astake provides a decentralized financial asset which rewards users with a sustainable fixed compound interest model through use of it’s unique $ASTAKE.

ASTAKE token automatic staking and compounding features, and the highest Fixed APY in the market at 614,917.56% for the first 12 months.

Laser Scorebeta Last Audit: 3 September 2022

report
Token seems to be a scam (type: honeypot scam).

Astake.swapBack() (#682-720) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#708-713)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#714-719)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Astake._name (#403) shadows:
- ERC20Detailed._name (#369)
Astake._symbol (#404) shadows:
- ERC20Detailed._symbol (#370)
Astake._decimals (#405) shadows:
- ERC20Detailed._decimals (#371)
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.

Reentrancy in Astake._transferFrom(address,address,uint256) (#568-607):
External calls:
- rebase() (#580)
- pairContract.sync() (#527)
- addLiquidity() (#584)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#659-665)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#670-677)
- swapBack() (#588)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#696-702)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#708-713)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#714-719)
External calls sending eth:
- addLiquidity() (#584)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#670-677)
- swapBack() (#588)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#708-713)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#714-719)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#592)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#596-598)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#593-595)
- _gonBalances[firePit] = _gonBalances[firePit].add(gonAmount.div(feeDenominator).mul(firePitFee)) (#624-626)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(insuranceFundFee))) (#627-629)
- _gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#630-632)
- swapBack() (#588)
- inSwap = true (#446)
- inSwap = false (#448)
Apply the check-effects-interactions pattern.

Additional information: link


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


Contract ownership is not renounced (belongs to a wallet)

Astake.swapBack().success (#708) is written in both
(success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#708-713)
(success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#714-719)
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.

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

Additional information: link

Astake.rebase() (#499-530) performs a multiplication on the result of a division:
-times = deltaTime.div(600) (#505)
-epoch = times.mul(10) (#506)
Astake.rebase() (#499-530) performs a multiplication on the result of a division:
-times = deltaTime.div(600) (#505)
-_lastRebasedTime = _lastRebasedTime.add(times.mul(600)) (#525)
Astake.takeFee(address,address,uint256) (#609-636) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(_totalFee) (#622)
Astake.takeFee(address,address,uint256) (#609-636) performs a multiplication on the result of a division:
-_gonBalances[firePit] = _gonBalances[firePit].add(gonAmount.div(feeDenominator).mul(firePitFee)) (#624-626)
Astake.takeFee(address,address,uint256) (#609-636) performs a multiplication on the result of a division:
-_gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(insuranceFundFee))) (#627-629)
Astake.takeFee(address,address,uint256) (#609-636) performs a multiplication on the result of a division:
-_gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#630-632)
Astake.getLiquidityBacking(uint256) (#874-882) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#879)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#880-881)
Consider ordering multiplication before division.

Additional information: link

Astake.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#863) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#868)
Astake.setFeeReceivers(address,address,address,address)._treasuryReceiver (#864) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (#869)
Astake.setFeeReceivers(address,address,address,address)._insuranceFundReceiver (#865) lacks a zero-check on :
- insuranceFundReceiver = _insuranceFundReceiver (#870)
Astake.setFeeReceivers(address,address,address,address)._firePit (#866) lacks a zero-check on :
- firePit = _firePit (#871)
Astake.setPairAddress(address)._pairAddress (#893) lacks a zero-check on :
- pairAddress = _pairAddress (#894)
Check that the address is not zero.

Additional information: link

Reentrancy in Astake.addLiquidity() (#638-680):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#659-665)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#670-677)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#670-677)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (#679)
Reentrancy in Astake.constructor() (#468-497):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#471-474)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = uint256(- 1) (#481)
- _autoAddLiquidity = true (#491)
- _autoRebase = true (#490)
- _gonBalances[treasuryReceiver] = TOTAL_GONS (#486)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#487)
- _initRebaseStartTime = block.timestamp (#488)
- _isFeeExempt[treasuryReceiver] = true (#492)
- _isFeeExempt[address(this)] = true (#493)
- _lastRebasedTime = block.timestamp (#489)
- _transferOwnership(treasuryReceiver) (#495)
- _owner = newOwner (#364)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#485)
- autoLiquidityReceiver = 0xCc5a30918CA5c50A95Dd6147d71EBFb35FdB7229 (#476)
- firePit = 0x29884656B8eCDF873239aAF9B85f448A140064bA (#479)
- insuranceFundReceiver = 0xB73B130620ee1a226a9CB963e87078E4782FD1F2 (#478)
- pairAddress = pair (#482)
- pairContract = IPancakeSwapPair(pair) (#483)
- treasuryReceiver = 0xd3a409B8025a9b8D292d92a36F3194De6787E39C (#477)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Astake._transferFrom(address,address,uint256) (#568-607):
External calls:
- rebase() (#580)
- pairContract.sync() (#527)
- addLiquidity() (#584)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#659-665)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#670-677)
- swapBack() (#588)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#696-702)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#708-713)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#714-719)
External calls sending eth:
- addLiquidity() (#584)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#670-677)
- swapBack() (#588)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#708-713)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#714-719)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#634)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#593-595)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#601-605)
Reentrancy in Astake.constructor() (#468-497):
External calls:
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#471-474)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#363)
- _transferOwnership(treasuryReceiver) (#495)
- Transfer(address(0x0),treasuryReceiver,_totalSupply) (#496)
Reentrancy in Astake.rebase() (#499-530):
External calls:
- pairContract.sync() (#527)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#529)
Apply the check-effects-interactions pattern.

Additional information: link

Astake.rebase() (#499-530) uses timestamp for comparisons
Dangerous comparisons:
- deltaTimeFromInit < (31536000) (#508)
- deltaTimeFromInit >= (31536000) (#510)
- deltaTimeFromInit >= ((15 * 31536000) / 10) (#512)
- deltaTimeFromInit >= (7 * 31536000) (#514)
- i < times (#518)
Astake.shouldRebase() (#748-755) uses timestamp for comparisons
Dangerous comparisons:
- _autoRebase && (_totalSupply < MAX_SUPPLY) && msg.sender != pair && ! inSwap && block.timestamp >= (_lastRebasedTime + 600) (#749-754)
Astake.shouldAddLiquidity() (#757-763) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 86400) (#758-762)
Avoid relying on block.timestamp.

Additional information: link

SafeMath.mod(uint256,uint256) (#91-94) is never used and should be removed
SafeMathInt.abs(int256) (#36-39) is never used and should be removed
SafeMathInt.add(int256,int256) (#30-34) is never used and should be removed
SafeMathInt.div(int256,int256) (#18-22) is never used and should be removed
SafeMathInt.mul(int256,int256) (#10-16) is never used and should be removed
SafeMathInt.sub(int256,int256) (#24-28) is never used and should be removed
Remove unused functions.

Additional information: link

Astake.totalFee (#427-430) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(treasuryFee).add(insuranceFundFee).add(firePitFee)
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.7.4 (#4) 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 Astake.swapBack() (#682-720):
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#708-713)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndAIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#714-719)
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() (#141) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (#142) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (#159) is not in mixedCase
Function IPancakeSwapRouter.WETH() (#179) is not in mixedCase
Parameter Astake.setAutoRebase(bool)._flag (#771) is not in mixedCase
Parameter Astake.setAutoAddLiquidity(bool)._flag (#780) is not in mixedCase
Parameter Astake.checkFeeExempt(address)._addr (#843) is not in mixedCase
Parameter Astake.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#863) is not in mixedCase
Parameter Astake.setFeeReceivers(address,address,address,address)._treasuryReceiver (#864) is not in mixedCase
Parameter Astake.setFeeReceivers(address,address,address,address)._insuranceFundReceiver (#865) is not in mixedCase
Parameter Astake.setFeeReceivers(address,address,address,address)._firePit (#866) is not in mixedCase
Parameter Astake.setWhitelist(address)._addr (#884) is not in mixedCase
Parameter Astake.setBotBlacklist(address,bool)._botAddress (#888) is not in mixedCase
Parameter Astake.setBotBlacklist(address,bool)._flag (#888) is not in mixedCase
Parameter Astake.setPairAddress(address)._pairAddress (#893) is not in mixedCase
Parameter Astake.setLP(address)._address (#897) is not in mixedCase
Variable Astake._name (#403) is not in mixedCase
Variable Astake._symbol (#404) is not in mixedCase
Variable Astake._decimals (#405) is not in mixedCase
Variable Astake._isFeeExempt (#408) is not in mixedCase
Variable Astake.DEAD (#433) is not in mixedCase
Variable Astake.ZERO (#434) is not in mixedCase
Variable Astake._autoRebase (#456) is not in mixedCase
Variable Astake._autoAddLiquidity (#457) is not in mixedCase
Variable Astake._initRebaseStartTime (#458) is not in mixedCase
Variable Astake._lastRebasedTime (#459) is not in mixedCase
Variable Astake._lastAddLiquidityTime (#460) is not in mixedCase
Variable Astake._totalSupply (#461) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

Astake.rebase().rebaseRate (#502) 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

Astake.addLiquidity() (#638-680) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#670-677)
Ensure that all the return values of the function calls are used.

Additional information: link

Astake.isContract(address) (#909-913) uses assembly
- INLINE ASM (#911)
Do not use evm assembly.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#339-341)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#352-355)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#357-359)
name() should be declared external:
- ERC20Detailed.name() (#383-385)
symbol() should be declared external:
- ERC20Detailed.symbol() (#387-389)
decimals() should be declared external:
- ERC20Detailed.decimals() (#391-393)
getLiquidityBacking(uint256) should be declared external:
- Astake.getLiquidityBacking(uint256) (#874-882)
setPairAddress(address) should be declared external:
- Astake.setPairAddress(address) (#893-895)
Use the external attribute for functions never called from the contract.

Additional information: link

Astake.slitherConstructorVariables() (#396-917) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#433)
Astake.slitherConstructorVariables() (#396-917) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#434)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Astake.DEAD (#433) should be constant
Astake.ZERO (#434) should be constant
Astake._decimals (#405) should be constant
Astake._name (#403) should be constant
Astake._symbol (#404) should be constant
Astake.feeDenominator (#431) should be constant
Astake.firePitFee (#426) should be constant
Astake.insuranceFundFee (#424) should be constant
Astake.liquidityFee (#422) should be constant
Astake.sellFee (#425) should be constant
Astake.swapEnabled (#441) should be constant
Astake.treasuryFee (#423) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Holders:

Contract has 8% buy tax and 65% sell tax.
Taxes are extremely high (over 30%)

Additional information: link


Average 30d PancakeSwap liquidity 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.


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


Token is deployed only at one blockchain


Token has only one trading pair


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


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


Unable to find website, listings and other project-related information


Token is marked as scam (rug pull, honeypot, phishing, etc.)

Additional information: link


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Price for ASTAKE

News for ASTAKE