Star Bank Token Logo

SBANK [Star Bank] Token

About SBANK

Listings

Token 20 months
white paper

Star Bank is transforming DeFi with Star Bank Autostaking Protocol that delivers the industry's highest forever APY, rebasing rewards every 10 minutes and simple buy-hold-earn system that grows your portfolio in your wallet.✅Aims to integrate crypto into our daily uses.✅Star Bank Card will solve the problem between crypto and fiat.✅Best APY staking at 755,170% Auto-staking and Auto-Compounding.✅You would benefit to boost your APY rate with our rare NFT collection in very near future.

Social

Laser Scorebeta Last Audit: 24 April 2022

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

StarBank.swapBack() (#738-776) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#764-769)
- (success,None) = address(starbankInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(starbankInsuranceFundFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#770-775)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in StarBank._transferFrom(address,address,uint256) (#612-653):
External calls:
- rebase() (#626)
- pairContract.sync() (#568)
- addLiquidity() (#630)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#715-721)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#726-733)
- swapBack() (#634)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#752-758)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#764-769)
- (success,None) = address(starbankInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(starbankInsuranceFundFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#770-775)
External calls sending eth:
- addLiquidity() (#630)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#726-733)
- swapBack() (#634)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#764-769)
- (success,None) = address(starbankInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(starbankInsuranceFundFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#770-775)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#638)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#642-644)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#639-641)
- _gonBalances[firePit] = _gonBalances[firePit].add(gonAmount.div(feeDenominator).mul(firePitFee)) (#680-682)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(starbankInsuranceFundFee))) (#683-685)
- _gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#686-688)
- swapBack() (#634)
- inSwap = true (#471)
- inSwap = false (#473)
Apply the check-effects-interactions pattern.

Additional information: link

StarBank._name (#425) shadows:
- ERC20Detailed._name (#389)
StarBank._symbol (#426) shadows:
- ERC20Detailed._symbol (#390)
StarBank._decimals (#427) shadows:
- ERC20Detailed._decimals (#391)
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.


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


Contract ownership is not renounced (belongs to a wallet)

StarBank.swapBack().success (#764) is written in both
(success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#764-769)
(success,None) = address(starbankInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(starbankInsuranceFundFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#770-775)
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.

StarBank.rebase() (#540-571) performs a multiplication on the result of a division:
-times = deltaTime.div(600) (#546)
-epoch = times.mul(10) (#547)
StarBank.rebase() (#540-571) performs a multiplication on the result of a division:
-times = deltaTime.div(600) (#546)
-_lastRebasedTime = _lastRebasedTime.add(times.mul(600)) (#566)
StarBank.takeFee(address,address,uint256) (#655-692) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(_totalFee) (#678)
StarBank.takeFee(address,address,uint256) (#655-692) performs a multiplication on the result of a division:
-_gonBalances[firePit] = _gonBalances[firePit].add(gonAmount.div(feeDenominator).mul(firePitFee)) (#680-682)
StarBank.takeFee(address,address,uint256) (#655-692) performs a multiplication on the result of a division:
-_gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(_treasuryFee.add(starbankInsuranceFundFee))) (#683-685)
StarBank.takeFee(address,address,uint256) (#655-692) performs a multiplication on the result of a division:
-_gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#686-688)
StarBank.getLiquidityBacking(uint256) (#934-942) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#939)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#940-941)
Consider ordering multiplication before division.

Additional information: link

StarBank.rebase().rebaseRate (#543) 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

StarBank.addLiquidity() (#694-736) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#726-733)
Ensure that all the return values of the function calls are used.

Additional information: link

StarBank.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#923) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#928)
StarBank.setFeeReceivers(address,address,address,address)._treasuryReceiver (#924) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (#929)
StarBank.setFeeReceivers(address,address,address,address)._starbankInsuranceFundReceiver (#925) lacks a zero-check on :
- starbankInsuranceFundReceiver = _starbankInsuranceFundReceiver (#930)
StarBank.setFeeReceivers(address,address,address,address)._firePit (#926) lacks a zero-check on :
- firePit = _firePit (#931)
StarBank.setPairAddress(address)._pairAddress (#953) lacks a zero-check on :
- pairAddress = _pairAddress (#954)
Check that the address is not zero.

Additional information: link

Reentrancy in StarBank.addLiquidity() (#694-736):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#715-721)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#726-733)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#726-733)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (#735)
Reentrancy in StarBank.constructor() (#493-538):
External calls:
- pinkAntiBot.setTokenOwner(msg.sender) (#501)
State variables written after the call(s):
- antiBotEnabled = true (#502)
- router = IPancakeSwapRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (#511)
Reentrancy in StarBank.constructor() (#493-538):
External calls:
- pinkAntiBot.setTokenOwner(msg.sender) (#501)
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#512-515)
State variables written after the call(s):
- _allowedFragments[address(this)][address(router)] = type()(uint256).max (#522)
- _autoAddLiquidity = true (#532)
- _autoRebase = true (#531)
- _gonBalances[treasuryReceiver] = TOTAL_GONS (#527)
- _gonsPerFragment = TOTAL_GONS.div(_totalSupply) (#528)
- _initRebaseStartTime = block.timestamp (#529)
- _isFeeExempt[treasuryReceiver] = true (#533)
- _isFeeExempt[address(this)] = true (#534)
- _lastRebasedTime = block.timestamp (#530)
- _transferOwnership(treasuryReceiver) (#536)
- _owner = newOwner (#384)
- _totalSupply = INITIAL_FRAGMENTS_SUPPLY (#526)
- autoLiquidityReceiver = 0x42E21430B56303810A2b1D798131C3E5987F9633 (#517)
- firePit = 0x6dDDFA4467f81cC437a929FD4b64FBDcEa5D84ae (#520)
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#512-515)
- pairAddress = pair (#523)
- pairContract = IPancakeSwapPair(pair) (#524)
- starbankInsuranceFundReceiver = 0x570Fcb0aDA1D3758D39e349d641ce7149BA1EeE9 (#519)
- treasuryReceiver = 0x798aA1A658846dC742816A738A03a3a6c2f3199d (#518)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in StarBank._transferFrom(address,address,uint256) (#612-653):
External calls:
- rebase() (#626)
- pairContract.sync() (#568)
- addLiquidity() (#630)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#715-721)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#726-733)
- swapBack() (#634)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#752-758)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#764-769)
- (success,None) = address(starbankInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(starbankInsuranceFundFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#770-775)
External calls sending eth:
- addLiquidity() (#630)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#726-733)
- swapBack() (#634)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#764-769)
- (success,None) = address(starbankInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(starbankInsuranceFundFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#770-775)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#690)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#639-641)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#647-651)
Reentrancy in StarBank.constructor() (#493-538):
External calls:
- pinkAntiBot.setTokenOwner(msg.sender) (#501)
- pair = IPancakeSwapFactory(router.factory()).createPair(router.WETH(),address(this)) (#512-515)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#383)
- _transferOwnership(treasuryReceiver) (#536)
- Transfer(address(0x0),treasuryReceiver,_totalSupply) (#537)
Reentrancy in StarBank.rebase() (#540-571):
External calls:
- pairContract.sync() (#568)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#570)
Apply the check-effects-interactions pattern.

Additional information: link

StarBank.rebase() (#540-571) uses timestamp for comparisons
Dangerous comparisons:
- deltaTimeFromInit < (31536000) (#549)
- deltaTimeFromInit >= (7 * 31536000) (#551)
- deltaTimeFromInit >= ((15 * 31536000) / 10) (#553)
- deltaTimeFromInit >= (31536000) (#555)
- i < times (#559)
StarBank.shouldRebase() (#808-815) uses timestamp for comparisons
Dangerous comparisons:
- _autoRebase && (_totalSupply < MAX_SUPPLY) && msg.sender != pair && ! inSwap && block.timestamp >= (_lastRebasedTime + 600) (#809-814)
StarBank.shouldAddLiquidity() (#817-823) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 600) (#818-822)
Avoid relying on block.timestamp.

Additional information: link

StarBank.isContract(address) (#969-973) uses assembly
- INLINE ASM (#971)
Do not use evm assembly.

Additional information: link

SafeMath.mod(uint256,uint256) (#101-104) is never used and should be removed
SafeMathInt.abs(int256) (#46-49) is never used and should be removed
SafeMathInt.add(int256,int256) (#40-44) is never used and should be removed
SafeMathInt.div(int256,int256) (#28-32) is never used and should be removed
SafeMathInt.mul(int256,int256) (#20-26) is never used and should be removed
SafeMathInt.sub(int256,int256) (#34-38) is never used and should be removed
Remove unused functions.

Additional information: link

StarBank.totalFee (#452-455) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(treasuryFee).add(starbankInsuranceFundFee).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.8.12 (#14) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.13 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 StarBank.swapBack() (#738-776):
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(treasuryFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#764-769)
- (success,None) = address(starbankInsuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndSIF.mul(starbankInsuranceFundFee).div(treasuryFee.add(starbankInsuranceFundFee))}() (#770-775)
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() (#151) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (#152) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (#169) is not in mixedCase
Function IPancakeSwapRouter.WETH() (#189) is not in mixedCase
Parameter StarBank.setEnableAntiBot(bool)._enable (#778) is not in mixedCase
Parameter StarBank.setAutoRebase(bool)._flag (#831) is not in mixedCase
Parameter StarBank.setAutoAddLiquidity(bool)._flag (#840) is not in mixedCase
Parameter StarBank.checkFeeExempt(address)._addr (#903) is not in mixedCase
Parameter StarBank.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#923) is not in mixedCase
Parameter StarBank.setFeeReceivers(address,address,address,address)._treasuryReceiver (#924) is not in mixedCase
Parameter StarBank.setFeeReceivers(address,address,address,address)._starbankInsuranceFundReceiver (#925) is not in mixedCase
Parameter StarBank.setFeeReceivers(address,address,address,address)._firePit (#926) is not in mixedCase
Parameter StarBank.setWhitelist(address)._addr (#944) is not in mixedCase
Parameter StarBank.setBotBlacklist(address,bool)._botAddress (#948) is not in mixedCase
Parameter StarBank.setBotBlacklist(address,bool)._flag (#948) is not in mixedCase
Parameter StarBank.setPairAddress(address)._pairAddress (#953) is not in mixedCase
Parameter StarBank.setLP(address)._address (#957) is not in mixedCase
Variable StarBank._name (#425) is not in mixedCase
Variable StarBank._symbol (#426) is not in mixedCase
Variable StarBank._decimals (#427) is not in mixedCase
Variable StarBank._isFeeExempt (#430) is not in mixedCase
Variable StarBank.DEAD (#458) is not in mixedCase
Variable StarBank.ZERO (#459) is not in mixedCase
Variable StarBank._autoRebase (#481) is not in mixedCase
Variable StarBank._autoAddLiquidity (#482) is not in mixedCase
Variable StarBank._initRebaseStartTime (#483) is not in mixedCase
Variable StarBank._lastRebasedTime (#484) is not in mixedCase
Variable StarBank._lastAddLiquidityTime (#485) is not in mixedCase
Variable StarBank._totalSupply (#486) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

StarBank.slitherConstructorVariables() (#416-977) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#458)
StarBank.slitherConstructorVariables() (#416-977) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#459)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#18) is never used in SafeMathInt (#16-50)
Remove unused state variables.

Additional information: link

StarBank.DEAD (#458) should be constant
StarBank.ZERO (#459) should be constant
StarBank._decimals (#427) should be constant
StarBank._name (#425) should be constant
StarBank._symbol (#426) should be constant
StarBank.feeDenominator (#456) should be constant
StarBank.firePitFee (#451) should be constant
StarBank.liquidityFee (#444) should be constant
StarBank.sellFeef (#450) should be constant
StarBank.sellFeel (#447) should be constant
StarBank.sellFees (#449) should be constant
StarBank.sellFeet (#448) should be constant
StarBank.starbankInsuranceFundFee (#446) should be constant
StarBank.swapEnabled (#466) should be constant
StarBank.treasuryFee (#445) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#359-361)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#372-375)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#377-379)
name() should be declared external:
- ERC20Detailed.name() (#403-405)
symbol() should be declared external:
- ERC20Detailed.symbol() (#407-409)
decimals() should be declared external:
- ERC20Detailed.decimals() (#411-413)
getLiquidityBacking(uint256) should be declared external:
- StarBank.getLiquidityBacking(uint256) (#934-942)
setPairAddress(address) should be declared external:
- StarBank.setPairAddress(address) (#953-955)
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.


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


Twitter account has few posts


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


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


Token has no active CoinMarketCap listing / rank

Price for SBANK

News for SBANK