Stakeable Token Logo

STAKE [Stakeable] Token

ALERT: unclassified scam

About STAKE

Listings

Not Found
Token 9 months

Stakeable Finance is a staking smart contract built on Binance Smart Chain. It was deployed with one single intention: to create a staking mechanism that offers yields in DeFi.

Social

Laser Scorebeta Last Audit: 6 February 2022

report
Code:


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

Reentrancy in Stakeable._transfer(address,address,uint256) (#587-610):
External calls:
- swapAndLiquify(contractTokenBalance) (#605)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#625-631)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#605)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#609)
- _balances[address(this)] = _balances[address(this)].add(tLiquidity) (#564)
- _balances[sender] = _balances[sender].sub(tAmount) (#651)
- _balances[recipient] = _balances[recipient].add(tTransferAmount) (#652)
Apply the check-effects-interactions pattern.

Additional information: link

Redundant expression "this (#70)" inContext (#65-73)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Stakeable.constructor() (#367-379) performs a multiplication on the result of a division:
-_balances[address(0)] = _supply.div(10).mul(9) (#369)
Stakeable.constructor() (#367-379) performs a multiplication on the result of a division:
-Transfer(address(0),address(0),_supply.div(10).mul(9)) (#378)
Consider ordering multiplication before division.

Additional information: link

Stakeable.addLiquidity(uint256,uint256) (#633-643) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
Ensure that all the return values of the function calls are used.

Additional information: link

Stakeable.allowance(address,address).owner (#511) shadows:
- Ownable.owner() (#126-128) (function)
Stakeable._approve(address,address,uint256).owner (#580) shadows:
- Ownable.owner() (#126-128) (function)
Rename the local variables that shadow another component.

Additional information: link

Stakeable.setLiquidityFeePercent(uint256) (#547-549) should emit an event for:
- _liquidityFee = liquidityFee (#548)
Stakeable.setMaxTxPercent(uint256) (#550-552) should emit an event for:
- _maxTxAmount = _supply.mul(maxTxPercent).div(10 ** 2) (#551)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in Stakeable._transfer(address,address,uint256) (#587-610):
External calls:
- swapAndLiquify(contractTokenBalance) (#605)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#625-631)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#605)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#609)
- _liquidityFee = _previousLiquidityFee (#575)
- _liquidityFee = 0 (#572)
- _tokenTransfer(from,to,amount,takeFee) (#609)
- _previousLiquidityFee = _liquidityFee (#571)
Reentrancy in Stakeable.constructor() (#367-379):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#371-372)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#374)
- _isExcludedFromFee[address(this)] = true (#375)
- _whitelisted[owner()] = true (#376)
- uniswapV2Router = _uniswapV2Router (#373)
Reentrancy in Stakeable.swapAndLiquify(uint256) (#611-619):
External calls:
- swapTokensForEth(half) (#615)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#625-631)
- addLiquidity(otherHalf,newBalance) (#617)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#617)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#617)
- _allowances[owner][spender] = amount (#584)
Reentrancy in Stakeable.transferFrom(address,address,uint256) (#518-522):
External calls:
- _transfer(sender,recipient,amount) (#519)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#625-631)
External calls sending eth:
- _transfer(sender,recipient,amount) (#519)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#520)
- _allowances[owner][spender] = amount (#584)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Stakeable._transfer(address,address,uint256) (#587-610):
External calls:
- swapAndLiquify(contractTokenBalance) (#605)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#625-631)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#605)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#654)
- _tokenTransfer(from,to,amount,takeFee) (#609)
Reentrancy in Stakeable.constructor() (#367-379):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#371-372)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_supply.div(10)) (#377)
- Transfer(address(0),address(0),_supply.div(10).mul(9)) (#378)
Reentrancy in Stakeable.swapAndLiquify(uint256) (#611-619):
External calls:
- swapTokensForEth(half) (#615)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#625-631)
- addLiquidity(otherHalf,newBalance) (#617)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#617)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#585)
- addLiquidity(otherHalf,newBalance) (#617)
- SwapAndLiquify(half,newBalance,otherHalf) (#618)
Reentrancy in Stakeable.transferFrom(address,address,uint256) (#518-522):
External calls:
- _transfer(sender,recipient,amount) (#519)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#625-631)
External calls sending eth:
- _transfer(sender,recipient,amount) (#519)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#635-642)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#585)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#520)
Apply the check-effects-interactions pattern.

Additional information: link

Stakeable.balanceOf(address) (#396-400) uses timestamp for comparisons
Dangerous comparisons:
- _balances[account] != 0 || _lockedAmount[account] != 0 (#397)
Stakeable.lockedYield(address) (#421-430) uses timestamp for comparisons
Dangerous comparisons:
- _lockedUntil[account] < until (#425)
Stakeable.stake(uint256,uint256) (#471-486) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(balance > _distAmount,Balance must be larger than distribution amount) (#475)
- require(bool,string)(balance >= amount,Stake amount exceeds balance) (#476)
- require(bool,string)(until > (now + 7 * 24 * 60 * 60),Must be staked for at least 7 days) (#477)
Stakeable.unstake() (#487-499) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(yield > 0,No locked amount) (#490)
- require(bool,string)(now > _lockedUntil[sender],Tokens are still locked) (#491)
- _balances[address(0)] >= yield (#493)
Stakeable._transfer(address,address,uint256) (#587-610) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_balances[from] >= amount,Transfer amount larger than balance) (#591)
- contractTokenBalance >= _maxTxAmount (#595)
- overMinTokenBalance = contractTokenBalance >= numTokensSellToAddToLiquidity (#597)
- overMinTokenBalance && ! inSwapAndLiquify && from != uniswapV2Pair && swapAndLiquifyEnabled (#599-602)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#76-81) uses assembly
- INLINE ASM (#79)
Address._functionCallWithValue(address,bytes,uint256,string) (#100-115) uses assembly
- INLINE ASM (#107-110)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#100-115) is never used and should be removed
Address.functionCall(address,bytes) (#87-89) is never used and should be removed
Address.functionCall(address,bytes,string) (#90-92) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#93-95) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#96-99) is never used and should be removed
Address.isContract(address) (#76-81) is never used and should be removed
Address.sendValue(address,uint256) (#82-86) is never used and should be removed
Context._msgData() (#69-72) is never used and should be removed
SafeMath.mod(uint256,uint256) (#56-58) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#59-62) is never used and should be removed
Remove unused functions.

Additional information: link

Stakeable._previousLiquidityFee (#348) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Low level call in Address.sendValue(address,uint256) (#82-86):
- (success) = recipient.call{value: amount}() (#84)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#100-115):
- (success,returndata) = target.call{value: weiValue}(data) (#102)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#165) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#166) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#180) is not in mixedCase
Function IUniswapV2Router01.WETH() (#198) is not in mixedCase
Parameter Stakeable.setSwapAndLiquifyEnabled(bool)._enabled (#553) is not in mixedCase
Parameter Stakeable.calculateLiquidityFee(uint256)._amount (#566) is not in mixedCase
Variable Stakeable._liquidityFee (#343) is not in mixedCase
Variable Stakeable._distAmount (#344) is not in mixedCase
Variable Stakeable._dailyApy (#345) is not in mixedCase
Variable Stakeable._bonusApy (#346) is not in mixedCase
Variable Stakeable._maxTxAmount (#353) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#202) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#203)
Prevent variables from having similar names.

Additional information: link

Stakeable._excluded (#338) is never used in Stakeable (#328-657)
Remove unused state variables.

Additional information: link

Stakeable._decimals (#342) should be constant
Stakeable._name (#340) should be constant
Stakeable._symbol (#341) should be constant
Stakeable.numTokensSellToAddToLiquidity (#354) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#133-136)
name() should be declared external:
- Stakeable.name() (#380-382)
symbol() should be declared external:
- Stakeable.symbol() (#383-385)
decimals() should be declared external:
- Stakeable.decimals() (#386-388)
totalSupply() should be declared external:
- Stakeable.totalSupply() (#389-391)
transfer(address,uint256) should be declared external:
- Stakeable.transfer(address,uint256) (#392-395)
lockedTotal() should be declared external:
- Stakeable.lockedTotal() (#412-414)
lockedAmount(address) should be declared external:
- Stakeable.lockedAmount(address) (#415-417)
lockedUntil(address) should be declared external:
- Stakeable.lockedUntil(address) (#418-420)
setSupply(uint256) should be declared external:
- Stakeable.setSupply(uint256) (#434-437)
setDistAmount(uint256) should be declared external:
- Stakeable.setDistAmount(uint256) (#438-441)
setDailyApy(uint256) should be declared external:
- Stakeable.setDailyApy(uint256) (#442-445)
setBonusApy(uint256) should be declared external:
- Stakeable.setBonusApy(uint256) (#446-449)
distribute(address[],uint256) should be declared external:
- Stakeable.distribute(address[],uint256) (#450-459)
clearETH() should be declared external:
- Stakeable.clearETH() (#460-464)
register(address[]) should be declared external:
- Stakeable.register(address[]) (#465-470)
stake(uint256,uint256) should be declared external:
- Stakeable.stake(uint256,uint256) (#471-486)
unstake() should be declared external:
- Stakeable.unstake() (#487-499)
release(address) should be declared external:
- Stakeable.release(address) (#500-510)
allowance(address,address) should be declared external:
- Stakeable.allowance(address,address) (#511-513)
approve(address,uint256) should be declared external:
- Stakeable.approve(address,uint256) (#514-517)
transferFrom(address,address,uint256) should be declared external:
- Stakeable.transferFrom(address,address,uint256) (#518-522)
increaseAllowance(address,uint256) should be declared external:
- Stakeable.increaseAllowance(address,uint256) (#523-526)
decreaseAllowance(address,uint256) should be declared external:
- Stakeable.decreaseAllowance(address,uint256) (#527-530)
whitelist(address) should be declared external:
- Stakeable.whitelist(address) (#531-534)
unwhitelist(address) should be declared external:
- Stakeable.unwhitelist(address) (#535-538)
excludeFromFee(address) should be declared external:
- Stakeable.excludeFromFee(address) (#539-542)
includeInFee(address) should be declared external:
- Stakeable.includeInFee(address) (#543-546)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Stakeable.setSwapAndLiquifyEnabled(bool) (#553-556)
isExcludedFromFee(address) should be declared external:
- Stakeable.isExcludedFromFee(address) (#577-579)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Last post in Twitter was more than 180 days ago


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account

Search:


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to find token contract audit


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

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

Anti-Scam Checks

Price for STAKE

News for STAKE