Bonk Inu Token Logo

$BONK [Bonk Inu] Token

About $BONK

Listings

Token 18 months
white paper

Bonk Inu - An Auto-Staking & Auto-Compounding Protocol built on the Binance Smart Chain (BSC) fixed at a 👉🏻High APY of 50,000%‼️ LOW-MC 💎

bringing you ALREADY BUILT UILITY☑️ such as 👉🏻P2E Whack-a-Bonk! dApp 👉🏻Dashboard Utilities 👉🏻Winnable NFT’s 👉🏻Bonkverse 👉🏻Bonk Arcade 👉🏻KYC’d with Pinksale & Audit(s)‼️

Social

Laser Scorebeta Last Audit: 7 June 2022

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

BonkInu.contractSwap(uint256) (#575-630) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#622)
- (success,None) = _taxWallets.safeguard.call{gas: 35000,value: safeguardBalance}() (#625)
- (success,None) = _taxWallets.buyback.call{gas: 35000,value: buybackBalance}() (#628)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BonkInu._transfer(address,address,uint256) (#501-573):
External calls:
- v2Pair_lpPair.sync() (#556)
- contractSwap(contractTokenBalance) (#567)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#592-598)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#622)
- (success,None) = _taxWallets.safeguard.call{gas: 35000,value: safeguardBalance}() (#625)
- (success,None) = _taxWallets.buyback.call{gas: 35000,value: buybackBalance}() (#628)
- finalizeTransfer(from,to,amount,buy,sell,other) (#572)
- antiSnipe.checkUser(from,to,amount) (#681-685)
External calls sending eth:
- contractSwap(contractTokenBalance) (#567)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#622)
- (success,None) = _taxWallets.safeguard.call{gas: 35000,value: safeguardBalance}() (#625)
- (success,None) = _taxWallets.buyback.call{gas: 35000,value: buybackBalance}() (#628)
State variables written after the call(s):
- finalizeTransfer(from,to,amount,buy,sell,other) (#572)
- _liquidityHolders[from] = true (#635)
- finalizeTransfer(from,to,amount,buy,sell,other) (#572)
- _tOwned[address(this)] += feeAmount (#723)
- _tOwned[from] -= amount (#699)
- _tOwned[to] += amountReceived (#701)
- finalizeTransfer(from,to,amount,buy,sell,other) (#572)
- contractSwapEnabled = true (#640)
Apply the check-effects-interactions pattern.

Additional information: link


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


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.


Contract ownership is not renounced (belongs to a wallet)

BonkInu._transfer(address,address,uint256) (#501-573) performs a multiplication on the result of a division:
-rebaseAmounts = deltaTime / (rebaseTimeInMinutes * 60) (#546)
-epoch = rebaseAmounts * rebaseTimeInMinutes (#547)
BonkInu._transfer(address,address,uint256) (#501-573) performs a multiplication on the result of a division:
-rebaseAmounts = deltaTime / (rebaseTimeInMinutes * 60) (#546)
-autoRebaseLastTriggered += rebaseAmounts * 900 (#554)
BonkInu.contractSwap(uint256) (#575-630) performs a multiplication on the result of a division:
-toLiquify = ((contractTokenBalance * ratios.liquidity) / ratios.total) / 2 (#585)
-liquidityBalance = (amtBalance * toLiquify) / swapAmt (#601)
BonkInu.takeTaxes(address,bool,bool,uint256,uint256) (#707-727) performs a multiplication on the result of a division:
-feeAmount = (amount / masterTaxDivisor) * currentFee (#721)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in BonkInu.enableTrading() (#645-656):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#651)
State variables written after the call(s):
- tradingEnabled = true (#652)
Reentrancy in BonkInu.transferOwner(address) (#253-267):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#260)
- antiSnipe.checkUser(from,to,amount) (#681-685)
State variables written after the call(s):
- _owner = newOwner (#264)
Apply the check-effects-interactions pattern.

Additional information: link

BonkInu.finalizeTransfer(address,address,uint256,bool,bool,bool).checked (#680) is a local variable never initialized
BonkInu.finalizeTransfer(address,address,uint256,bool,bool,bool).check (#681) 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

BonkInu.contractSwap(uint256) (#575-630) ignores return value by dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
BonkInu.finalizeTransfer(address,address,uint256,bool,bool,bool) (#671-705) ignores return value by antiSnipe.checkUser(from,to,amount) (#681-685)
Ensure that all the return values of the function calls are used.

Additional information: link

BonkInu.setMaxTxPercent(uint256) (#427-430) should emit an event for:
- _maxTxAmount = percent (#429)
BonkInu.setMaxWallet(uint256) (#436-439) should emit an event for:
- _maxWalletSize = percent (#438)
BonkInu.setSwapSettings(uint256,uint256,uint256,uint256) (#445-449) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#446)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#447)
BonkInu.setPriceImpactSwapAmount(uint256) (#451-454) should emit an event for:
- piSwapPercent = priceImpactSwapPercent (#453)
Emit an event for critical parameter changes.

Additional information: link

BonkInu.finalizeTransfer(address,address,uint256,bool,bool,bool) (#671-705) has external calls inside a loop: antiSnipe.checkUser(from,to,amount) (#681-685)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'BonkInu.finalizeTransfer(address,address,uint256,bool,bool,bool).check (#681)' in BonkInu.finalizeTransfer(address,address,uint256,bool,bool,bool) (#671-705) potentially used before declaration: checked = check (#682)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in BonkInu.constructor() (#211-244):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#233)
State variables written after the call(s):
- _approve(_owner,address(dexRouter),type()(uint256).max) (#237)
- _allowances[sender][spender] = amount (#304)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#238)
- _allowances[sender][spender] = amount (#304)
- _isExcludedFromFees[_owner] = true (#240)
- _isExcludedFromFees[address(this)] = true (#241)
- _isExcludedFromFees[DEAD] = true (#242)
- _liquidityHolders[_owner] = true (#243)
- lpPairs[lpPair] = true (#234)
- v2Pair_lpPair = IV2Pair(lpPair) (#235)
Reentrancy in BonkInu.enableTrading() (#645-656):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#651)
State variables written after the call(s):
- allowedPresaleExclusion = false (#653)
- swapAmount = (balanceOf(lpPair) * 30) / 10000 (#655)
- swapThreshold = (balanceOf(lpPair) * 10) / 10000 (#654)
Reentrancy in BonkInu.finalizeTransfer(address,address,uint256,bool,bool,bool) (#671-705):
External calls:
- antiSnipe.checkUser(from,to,amount) (#681-685)
State variables written after the call(s):
- _tOwned[from] -= amount (#699)
- _tOwned[to] += amountReceived (#701)
- amountReceived = takeTaxes(from,buy,sell,amount,aSupply) (#700)
- _tOwned[address(this)] += feeAmount (#723)
Reentrancy in BonkInu.setNewRouter(address) (#321-333):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#325)
State variables written after the call(s):
- _approve(address(this),address(dexRouter),type()(uint256).max) (#332)
- _allowances[sender][spender] = amount (#304)
- dexRouter = _newRouter (#330)
- v2Pair_lpPair = IV2Pair(lpPair) (#331)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BonkInu._transfer(address,address,uint256) (#501-573):
External calls:
- v2Pair_lpPair.sync() (#556)
Event emitted after the call(s):
- LogRebase(epoch,_tTotal) (#558)
Reentrancy in BonkInu._transfer(address,address,uint256) (#501-573):
External calls:
- v2Pair_lpPair.sync() (#556)
- contractSwap(contractTokenBalance) (#567)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#592-598)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#622)
- (success,None) = _taxWallets.safeguard.call{gas: 35000,value: safeguardBalance}() (#625)
- (success,None) = _taxWallets.buyback.call{gas: 35000,value: buybackBalance}() (#628)
External calls sending eth:
- contractSwap(contractTokenBalance) (#567)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#622)
- (success,None) = _taxWallets.safeguard.call{gas: 35000,value: safeguardBalance}() (#625)
- (success,None) = _taxWallets.buyback.call{gas: 35000,value: buybackBalance}() (#628)
Event emitted after the call(s):
- AutoLiquify(liquidityBalance,toLiquify) (#612)
- contractSwap(contractTokenBalance) (#567)
Reentrancy in BonkInu._transfer(address,address,uint256) (#501-573):
External calls:
- v2Pair_lpPair.sync() (#556)
- contractSwap(contractTokenBalance) (#567)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#592-598)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#622)
- (success,None) = _taxWallets.safeguard.call{gas: 35000,value: safeguardBalance}() (#625)
- (success,None) = _taxWallets.buyback.call{gas: 35000,value: buybackBalance}() (#628)
- finalizeTransfer(from,to,amount,buy,sell,other) (#572)
- antiSnipe.checkUser(from,to,amount) (#681-685)
External calls sending eth:
- contractSwap(contractTokenBalance) (#567)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#622)
- (success,None) = _taxWallets.safeguard.call{gas: 35000,value: safeguardBalance}() (#625)
- (success,None) = _taxWallets.buyback.call{gas: 35000,value: buybackBalance}() (#628)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#641)
- finalizeTransfer(from,to,amount,buy,sell,other) (#572)
- Transfer(from,address(this),feeAmount / aSupply) (#724)
- finalizeTransfer(from,to,amount,buy,sell,other) (#572)
- Transfer(from,to,amountReceived / aSupply) (#703)
- finalizeTransfer(from,to,amount,buy,sell,other) (#572)
Reentrancy in BonkInu.constructor() (#211-244):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#233)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#305)
- _approve(_owner,address(dexRouter),type()(uint256).max) (#237)
- Approval(sender,spender,amount) (#305)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#238)
Reentrancy in BonkInu.contractSwap(uint256) (#575-630):
External calls:
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#592-598)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
External calls sending eth:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#604-611)
Event emitted after the call(s):
- AutoLiquify(liquidityBalance,toLiquify) (#612)
Reentrancy in BonkInu.finalizeTransfer(address,address,uint256,bool,bool,bool) (#671-705):
External calls:
- antiSnipe.checkUser(from,to,amount) (#681-685)
Event emitted after the call(s):
- Transfer(from,address(this),feeAmount / aSupply) (#724)
- amountReceived = takeTaxes(from,buy,sell,amount,aSupply) (#700)
- Transfer(from,to,amountReceived / aSupply) (#703)
Reentrancy in BonkInu.setNewRouter(address) (#321-333):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#325)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#305)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#332)
Reentrancy in BonkInu.transferOwner(address) (#253-267):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#260)
- antiSnipe.checkUser(from,to,amount) (#681-685)
Event emitted after the call(s):
- OwnershipTransferred(oldOwner,newOwner) (#265)
Apply the check-effects-interactions pattern.

Additional information: link

BonkInu.setLpPair(address,bool) (#335-347) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#340)
- require(bool,string)(block.timestamp - timeSinceLastPair > 259200,3 Day cooldown.!) (#341)
BonkInu.setAutoRebaseEnabled(bool) (#462-470) uses timestamp for comparisons
Dangerous comparisons:
- autoRebaseInitializationStamp == 0 (#465)
BonkInu._transfer(address,address,uint256) (#501-573) uses timestamp for comparisons
Dangerous comparisons:
- autoRebaseEnabled && block.timestamp >= autoRebaseLastTriggered + 900 (#541-542)
- i < rebaseAmounts (#549)
Avoid relying on block.timestamp.

Additional information: link

BonkInu.setLpPair(address,bool) (#335-347) compares to a boolean constant:
-enabled == false (#336)
Remove the equality to the boolean constant.

Additional information: link

BonkInu._checkLiquidityAdd(address,address) (#632-643) has costly operations inside a loop:
- _hasLiqBeenAdded = true (#636)
BonkInu._checkLiquidityAdd(address,address) (#632-643) has costly operations inside a loop:
- antiSnipe = AntiSnipe(address(this)) (#638)
BonkInu._checkLiquidityAdd(address,address) (#632-643) has costly operations inside a loop:
- contractSwapEnabled = true (#640)
Use a local variable to hold the loop computation result.

Additional information: link

BonkInu._rTotal (#120) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
BonkInu._aSupply (#121) is set pre-construction with a non-constant function or state variable:
- _rTotal / _tTotal
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.6.0<0.9.0 (#2) is too complex
solc-0.8.14 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 BonkInu.contractSwap(uint256) (#575-630):
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#622)
- (success,None) = _taxWallets.safeguard.call{gas: 35000,value: safeguardBalance}() (#625)
- (success,None) = _taxWallets.buyback.call{gas: 35000,value: buybackBalance}() (#628)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IRouter01.WETH() (#33) is not in mixedCase
Parameter BonkInu.setProtectionSettings(bool,bool)._antiSnipe (#396) is not in mixedCase
Parameter BonkInu.setProtectionSettings(bool,bool)._antiBlock (#396) is not in mixedCase
Constant BonkInu.startingSupply (#112) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BonkInu._name (#114) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BonkInu._symbol (#115) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BonkInu._decimals (#116) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BonkInu._taxRates (#137-141) is not in mixedCase
Variable BonkInu._ratios (#143-149) is not in mixedCase
Constant BonkInu.maxBuyTaxes (#151) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BonkInu.maxSellTaxes (#152) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BonkInu.maxTransferTaxes (#153) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BonkInu.maxRoundtripTax (#154) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BonkInu.masterTaxDivisor (#155) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BonkInu.v2Pair_lpPair (#159) is not in mixedCase
Variable BonkInu._taxWallets (#168-172) is not in mixedCase
Variable BonkInu._hasLiqBeenAdded (#185) is not in mixedCase
Constant BonkInu.rebaseTimeInMinutes (#191) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BonkInu.rebaseRate (#192) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BonkInu._rateDecimals (#193) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Variable IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#45) is too similar to IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#46)
Prevent variables from having similar names.

Additional information: link

BonkInu.slitherConstructorConstantVariables() (#96-729) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#160)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

transfer(address,uint256) should be declared external:
- BonkInu.transfer(address,uint256) (#290-293)
approve(address,uint256) should be declared external:
- BonkInu.approve(address,uint256) (#295-298)
approveContractContingency() should be declared external:
- BonkInu.approveContractContingency() (#308-311)
setNewRouter(address) should be declared external:
- BonkInu.setNewRouter(address) (#321-333)
isExcludedFromLimits(address) should be declared external:
- BonkInu.isExcludedFromLimits(address) (#355-357)
isExcludedFromFees(address) should be declared external:
- BonkInu.isExcludedFromFees(address) (#359-361)
getCirculatingSupply() should be declared external:
- BonkInu.getCirculatingSupply() (#379-381)
isBlacklisted(address) should be declared external:
- BonkInu.isBlacklisted(address) (#388-390)
getMaxTX() should be declared external:
- BonkInu.getMaxTX() (#432-434)
getMaxWallet() should be declared external:
- BonkInu.getMaxWallet() (#441-443)
enableTrading() should be declared external:
- BonkInu.enableTrading() (#645-656)
Use the external attribute for functions never called from the contract.

Additional information: link

Contract ticker ($BONK) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

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.


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


Twitter account has few posts


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

Additional information: link


Unable to find token contract audit


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


Token is not listed at Mobula.Finance

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


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for $BONK

News for $BONK