Bart Inu Token Logo

BART [Bart Inu] Token

About BART

Listings

Not Found
Token 3 years

Bart Inu is a low tax, old-school cryptocurrency on the Binance Smart Chain! Featuring unique Tokenomics, Bart Inu plans to challenge the status quo, and what it means to be a top Meme Coin. Join the wonderful Bart Inu community today to secure your position on the imminent journey to the moon and beyond!

Social

Laser Scorebeta Last Audit: 29 June 2022

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

Anti-Scam

Links

bartinu.swapBack() (#582-626) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

DividendDistributor.distributeDividend(address) (#312-323) ignores return value by LINK.transfer(shareholder,amount) (#318)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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

Reentrancy in bartinu._transferFrom(address,address,uint256) (#482-530):
External calls:
- swapBack() (#509)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#593-599)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
External calls sending eth:
- swapBack() (#509)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#512)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#515)
- amountReceived = takeFee(sender,amount) (#514)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#550)
Apply the check-effects-interactions pattern.

Additional information: link


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

bartinu.swapBack().tmpSuccess (#610) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
tmpSuccess = false (#613)
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.


Combination 2: Unchecked transfer + 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)


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

bartinu.swapBack() (#582-626) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
Ensure that all the return values of the function calls are used.

Additional information: link

Reentrancy in bartinu.constructor() (#413-443):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#415)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#416)
- _balances[msg.sender] = _totalSupply (#441)
- autoLiquidityReceiver = DEAD (#438)
- distributor = new DividendDistributor(address(router)) (#418)
- isDividendExempt[pair] = true (#433)
- isDividendExempt[address(this)] = true (#434)
- isDividendExempt[DEAD] = true (#435)
- isFeeExempt[msg.sender] = true (#420)
- isTimelockExempt[msg.sender] = true (#424)
- isTimelockExempt[DEAD] = true (#425)
- isTimelockExempt[address(this)] = true (#426)
- isTxLimitExempt[msg.sender] = true (#421)
- marketingFeeReceiver = msg.sender (#439)
Reentrancy in DividendDistributor.deposit() (#261-279):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#268-273)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#278)
- totalDividends = totalDividends.add(amount) (#277)
Reentrancy in DividendDistributor.distributeDividend(address) (#312-323):
External calls:
- LINK.transfer(shareholder,amount) (#318)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#319)
Reentrancy in DividendDistributor.setShare(address,uint256) (#245-259):
External calls:
- distributeDividend(shareholder) (#247)
- LINK.transfer(shareholder,amount) (#318)
State variables written after the call(s):
- addShareholder(shareholder) (#251)
- shareholderIndexes[shareholder] = shareholders.length (#345)
- removeShareholder(shareholder) (#253)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#351)
- addShareholder(shareholder) (#251)
- shareholders.push(shareholder) (#346)
- removeShareholder(shareholder) (#253)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#350)
- shareholders.pop() (#352)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#256)
Apply the check-effects-interactions pattern.

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

authorize(address) should be declared external:
- Auth.authorize(address) (#93-95)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#100-102)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#121-125)
tradingStatus(bool) should be declared external:
- bartinu.tradingStatus(bool) (#570-572)
cooldownEnabled(bool,uint8) should be declared external:
- bartinu.cooldownEnabled(bool,uint8) (#575-578)
Use the external attribute for functions never called from the contract.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#312-323):
External calls:
- LINK.transfer(shareholder,amount) (#318)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#320)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#321)
Reentrancy in DividendDistributor.process(uint256) (#281-305):
External calls:
- distributeDividend(shareholders[currentIndex]) (#297)
- LINK.transfer(shareholder,amount) (#318)
State variables written after the call(s):
- currentIndex ++ (#302)
Reentrancy in DividendDistributor.setShare(address,uint256) (#245-259):
External calls:
- distributeDividend(shareholder) (#247)
- LINK.transfer(shareholder,amount) (#318)
State variables written after the call(s):
- shares[shareholder].amount = amount (#257)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#258)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#240-243) should emit an event for:
- minPeriod = _minPeriod (#241)
- minDistribution = _minDistribution (#242)
bartinu.setTxLimit(uint256) (#629-631) should emit an event for:
- _maxTxAmount = amount (#630)
bartinu.setFees(uint256,uint256,uint256,uint256) (#655-662) should emit an event for:
- liquidityFee = _liquidityFee (#656)
- reflectionFee = _reflectionFee (#657)
- marketingFee = _marketingFee (#658)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee) (#659)
- feeDenominator = _feeDenominator (#660)
bartinu.setSwapBackSettings(bool,uint256) (#669-672) should emit an event for:
- swapThreshold = _amount (#671)
bartinu.setTargetLiquidity(uint256,uint256) (#674-677) should emit an event for:
- targetLiquidity = _target (#675)
- targetLiquidityDenominator = _denominator (#676)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#121) lacks a zero-check on :
- owner = adr (#122)
bartinu.setFeeReceivers(address,address)._autoLiquidityReceiver (#664) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#665)
bartinu.setFeeReceivers(address,address)._marketingFeeReceiver (#664) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#666)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#312-323) has external calls inside a loop: LINK.transfer(shareholder,amount) (#318)
bartinu.airdrop(address,address[],uint256[]) (#705-728) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#720)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in bartinu._transferFrom(address,address,uint256) (#482-530):
External calls:
- swapBack() (#509)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#593-599)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
- distributor.setShare(sender,_balances[sender]) (#519)
- distributor.setShare(recipient,_balances[recipient]) (#523)
- distributor.process(distributorGas) (#526)
External calls sending eth:
- swapBack() (#509)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#528)
Reentrancy in bartinu._transferFrom(address,address,uint256) (#482-530):
External calls:
- swapBack() (#509)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#593-599)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
External calls sending eth:
- swapBack() (#509)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#551)
- amountReceived = takeFee(sender,amount) (#514)
Reentrancy in bartinu.constructor() (#413-443):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#415)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#442)
Reentrancy in bartinu.swapBack() (#582-626):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#593-599)
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#609)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#616-623)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#624)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#307-310) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#308-309)
bartinu._transferFrom(address,address,uint256) (#482-530) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys) (#500)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#281-305) has costly operations inside a loop:
- currentIndex = 0 (#293)
DividendDistributor.distributeDividend(address) (#312-323) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#317)
DividendDistributor.process(uint256) (#281-305) has costly operations inside a loop:
- currentIndex ++ (#302)
Use a local variable to hold the loop computation result.

Additional information: link

bartinu._maxTxAmount (#369) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 5) / 1000
bartinu._maxWalletToken (#372) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
bartinu.swapThreshold (#409) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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 bartinu.swapBack() (#582-626):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#610)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#136) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#240) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#240) is not in mixedCase
Variable DividendDistributor._token (#192) is not in mixedCase
Variable DividendDistributor.LINK (#200) is not in mixedCase
Variable DividendDistributor.WBNB (#201) is not in mixedCase
Contract bartinu (#356-733) is not in CapWords
Parameter bartinu.tradingStatus(bool)._status (#570) is not in mixedCase
Parameter bartinu.cooldownEnabled(bool,uint8)._status (#575) is not in mixedCase
Parameter bartinu.cooldownEnabled(bool,uint8)._interval (#575) is not in mixedCase
Parameter bartinu.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#655) is not in mixedCase
Parameter bartinu.setFees(uint256,uint256,uint256,uint256)._reflectionFee (#655) is not in mixedCase
Parameter bartinu.setFees(uint256,uint256,uint256,uint256)._marketingFee (#655) is not in mixedCase
Parameter bartinu.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#655) is not in mixedCase
Parameter bartinu.setFeeReceivers(address,address)._autoLiquidityReceiver (#664) is not in mixedCase
Parameter bartinu.setFeeReceivers(address,address)._marketingFeeReceiver (#664) is not in mixedCase
Parameter bartinu.setSwapBackSettings(bool,uint256)._enabled (#669) is not in mixedCase
Parameter bartinu.setSwapBackSettings(bool,uint256)._amount (#669) is not in mixedCase
Parameter bartinu.setTargetLiquidity(uint256,uint256)._target (#674) is not in mixedCase
Parameter bartinu.setTargetLiquidity(uint256,uint256)._denominator (#674) is not in mixedCase
Parameter bartinu.setDistributionCriteria(uint256,uint256)._minPeriod (#679) is not in mixedCase
Parameter bartinu.setDistributionCriteria(uint256,uint256)._minDistribution (#679) is not in mixedCase
Variable bartinu.LINK (#359) is not in mixedCase
Variable bartinu.WBNB (#360) is not in mixedCase
Variable bartinu.DEAD (#361) is not in mixedCase
Variable bartinu.ZERO (#362) is not in mixedCase
Constant bartinu._name (#364) is not in UPPER_CASE_WITH_UNDERSCORES
Constant bartinu._symbol (#365) is not in UPPER_CASE_WITH_UNDERSCORES
Constant bartinu._decimals (#366) is not in UPPER_CASE_WITH_UNDERSCORES
Variable bartinu._totalSupply (#368) is not in mixedCase
Variable bartinu._maxTxAmount (#369) is not in mixedCase
Variable bartinu._maxWalletToken (#372) is not in mixedCase
Variable bartinu._balances (#374) is not in mixedCase
Variable bartinu._allowances (#375) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#141) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#142)
Prevent variables from having similar names.

Additional information: link

bartinu.slitherConstructorVariables() (#356-733) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#361)
bartinu.slitherConstructorVariables() (#356-733) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#362)
bartinu.slitherConstructorVariables() (#356-733) uses literals with too many digits:
- distributorGas = 500000 (#401)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

bartinu.LINK (#359) is never used in bartinu (#356-733)
Remove unused state variables.

Additional information: link

DividendDistributor.WBNB (#201) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#214) should be constant
bartinu.DEAD (#361) should be constant
bartinu.LINK (#359) should be constant
bartinu.WBNB (#360) should be constant
bartinu.ZERO (#362) should be constant
bartinu._totalSupply (#368) should be constant
bartinu.launchedAt (#397) 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.


Twitter account link seems to be invalid


Telegram account has less than 100 subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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


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 BART