BIGPLANET INU Token Logo

BIGPLANET [BIGPLANET INU] Token

About BIGPLANET

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 7 February 2022

report
Code:


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

BIGPLANETINU.swapBack() (#618-667) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BIGPLANETINU._transferFrom(address,address,uint256) (#553-594):
External calls:
- swapBack() (#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
External calls sending eth:
- swapBack() (#563)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#571)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#579)
- finalAmount = takeFee(sender,recipient,amount) (#578)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#608)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#239-251) ignores return value by RewardToken.transfer(shareholder,amount) (#245)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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

BIGPLANETINU.swapBack().tmpSuccess (#649) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
tmpSuccess = false (#653)
BIGPLANETINU.swapBack().tmpSuccess1 (#650) is written in both
(tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
tmpSuccess1 = false (#654)
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.


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.

BIGPLANETINU._maxTxAmount (#361) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 2 / 100
BIGPLANETINU._walletMax (#362) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 4 / 100
BIGPLANETINU.swapThreshold (#398) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 2000
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 (#8) allows old versions
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 BIGPLANETINU.swapBack() (#618-667):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#239-251):
External calls:
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#247)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#248)
Reentrancy in DividendDistributor.process(uint256) (#210-232):
External calls:
- distributeDividend(shareholders[currentIndex]) (#224)
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- currentIndex ++ (#229)
Reentrancy in DividendDistributor.setShare(address,uint256) (#173-188):
External calls:
- distributeDividend(shareholder) (#176)
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- shares[shareholder].amount = amount (#186)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#187)
Apply the check-effects-interactions pattern.

Additional information: link

BIGPLANETINU.swapBack() (#618-667) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#168-171) should emit an event for:
- minPeriod = newMinPeriod (#169)
- minDistribution = newMinDistribution (#170)
BIGPLANETINU.changeFees(uint256,uint256,uint256,uint256) (#510-518) should emit an event for:
- liquidityFee = newLiqFee (#511)
- rewardsFee = newRewardFee (#512)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#516)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#517)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#338) lacks a zero-check on :
- owner = adr (#339)
BIGPLANETINU.changeFeeReceivers(address,address,address).newLiquidityReceiver (#520) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#521)
BIGPLANETINU.changeFeeReceivers(address,address,address).newMarketingWallet (#520) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#522)
BIGPLANETINU.changeFeeReceivers(address,address,address).newanothermarketingWallet (#520) lacks a zero-check on :
- anothermarketingWallet = newanothermarketingWallet (#523)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#239-251) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#245)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in BIGPLANETINU._transferFrom(address,address,uint256) (#553-594):
External calls:
- swapBack() (#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
External calls sending eth:
- swapBack() (#563)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
State variables written after the call(s):
- launch() (#567)
- launchedAt = block.number (#476)
Reentrancy in BIGPLANETINU.constructor() (#406-438):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#409)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#410)
- _balances[msg.sender] = _totalSupply (#436)
- anothermarketingWallet = 0x2E07182C57ddf62b0a2ce17503531451FB1A1129 (#431)
- autoLiquidityReceiver = msg.sender (#429)
- dividendDistributor = new DividendDistributor(address(router)) (#412)
- isDividendExempt[pair] = true (#422)
- isDividendExempt[address(this)] = true (#424)
- isDividendExempt[DEAD] = true (#425)
- isDividendExempt[ZERO] = true (#426)
- isFeeExempt[msg.sender] = true (#414)
- isFeeExempt[address(this)] = true (#415)
- isFeeExempt[anothermarketingWallet] = true (#416)
- isTxLimitExempt[msg.sender] = true (#418)
- isTxLimitExempt[pair] = true (#419)
- isTxLimitExempt[DEAD] = true (#420)
- marketingWallet = msg.sender (#430)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#433)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#434)
Reentrancy in DividendDistributor.deposit() (#190-208):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#198-203)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#207)
- totalDividends = totalDividends.add(amount) (#206)
Reentrancy in DividendDistributor.distributeDividend(address) (#239-251):
External calls:
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#246)
Reentrancy in DividendDistributor.setShare(address,uint256) (#173-188):
External calls:
- distributeDividend(shareholder) (#176)
- RewardToken.transfer(shareholder,amount) (#245)
State variables written after the call(s):
- addShareholder(shareholder) (#180)
- shareholderIndexes[shareholder] = shareholders.length (#269)
- removeShareholder(shareholder) (#182)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#275)
- addShareholder(shareholder) (#180)
- shareholders.push(shareholder) (#270)
- removeShareholder(shareholder) (#182)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#274)
- shareholders.pop() (#276)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#185)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BIGPLANETINU._transferFrom(address,address,uint256) (#553-594):
External calls:
- swapBack() (#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
- dividendDistributor.setShare(sender,_balances[sender]) (#583)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#587)
- dividendDistributor.process(distributorGas) (#590)
External calls sending eth:
- swapBack() (#563)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#592)
Reentrancy in BIGPLANETINU._transferFrom(address,address,uint256) (#553-594):
External calls:
- swapBack() (#563)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
External calls sending eth:
- swapBack() (#563)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#609)
- finalAmount = takeFee(sender,recipient,amount) (#578)
Reentrancy in BIGPLANETINU.constructor() (#406-438):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#409)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#437)
Reentrancy in BIGPLANETINU.swapBack() (#618-667):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#628-634)
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#644)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#649)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#650)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#657-664)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#665)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#234-237) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#235-236)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#210-232) has costly operations inside a loop:
- currentIndex = 0 (#221)
DividendDistributor.distributeDividend(address) (#239-251) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#244)
DividendDistributor.process(uint256) (#210-232) has costly operations inside a loop:
- currentIndex ++ (#229)
Use a local variable to hold the loop computation result.

Additional information: link

Function IDEXRouter.WETH() (#67) is not in mixedCase
Variable DividendDistributor._token (#124) is not in mixedCase
Variable DividendDistributor.RewardToken (#134) is not in mixedCase
Constant BIGPLANETINU._name (#351) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BIGPLANETINU._symbol (#352) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BIGPLANETINU._decimals (#353) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BIGPLANETINU.DEAD (#355) is not in mixedCase
Variable BIGPLANETINU.ZERO (#356) is not in mixedCase
Variable BIGPLANETINU.RewardToken (#358) is not in mixedCase
Variable BIGPLANETINU._totalSupply (#360) is not in mixedCase
Variable BIGPLANETINU._maxTxAmount (#361) is not in mixedCase
Variable BIGPLANETINU._walletMax (#362) is not in mixedCase
Variable BIGPLANETINU._balances (#366) is not in mixedCase
Variable BIGPLANETINU._allowances (#367) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

BIGPLANETINU.slitherConstructorVariables() (#347-672) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#355)
BIGPLANETINU.slitherConstructorVariables() (#347-672) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#356)
BIGPLANETINU.slitherConstructorVariables() (#347-672) uses literals with too many digits:
- _totalSupply = 1000000 * (10 ** _decimals) (#360)
BIGPLANETINU.slitherConstructorVariables() (#347-672) uses literals with too many digits:
- distributorGas = 300000 (#392)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BIGPLANETINU.RewardToken (#358) is never used in BIGPLANETINU (#347-672)
Remove unused state variables.

Additional information: link

BIGPLANETINU.DEAD (#355) should be constant
BIGPLANETINU.RewardToken (#358) should be constant
BIGPLANETINU.ZERO (#356) should be constant
BIGPLANETINU._totalSupply (#360) should be constant
BIGPLANETINU.routerAddress (#357) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#145) should be constant
DividendDistributor.routerAddress (#133) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#310-312)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#317-319)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#338-342)
getCirculatingSupply() should be declared external:
- BIGPLANETINU.getCirculatingSupply() (#448-450)
claim() should be declared external:
- BIGPLANETINU.claim() (#466-469)
tradingStatus(bool) should be declared external:
- BIGPLANETINU.tradingStatus(bool) (#614-616)
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 low.


Unable to find Telegram and Twitter accounts

Search:


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

Anti-Scam Checks

Price for BIGPLANET