MetaPolis Token Logo

POL [MetaPolis] Token

About POL

Listings

Token 24 months

🏠 MetaPolis: The famous city building simulator is becoming a P2E gaming experience with 4% BUSD rewards 🏗 Build and Grow your City, Establish Businesses and Factories, and Earn Passive Income 💰 Holders are rewarded with BUSD dividends 🛡 Our token contract is undergoing an audit by TechAudit ✅ Our team is fully doxxed and KYC'd 🌐 Visit our website or join our community for more information

Social

Laser Scorebeta Last Audit: 27 February 2022

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

Anti-Scam

Links


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

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

Additional information: link

Reentrancy in MetaPolis._transferFrom(address,address,uint256) (#480-528):
External calls:
- swapBack() (#507)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
External calls sending eth:
- swapBack() (#507)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#510)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#513)
- amountReceived = takeFee(sender,amount) (#512)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#548)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#311-322) ignores return value by BUSD.transfer(shareholder,amount) (#317)
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.

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

Function IDEXRouter.WETH() (#135) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#239) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#239) is not in mixedCase
Variable DividendDistributor._token (#191) is not in mixedCase
Variable DividendDistributor.BUSD (#199) is not in mixedCase
Variable DividendDistributor.WBNB (#200) is not in mixedCase
Parameter MetaPolis.tradingStatus(bool)._status (#568) is not in mixedCase
Parameter MetaPolis.cooldownEnabled(bool,uint8)._status (#573) is not in mixedCase
Parameter MetaPolis.cooldownEnabled(bool,uint8)._interval (#573) is not in mixedCase
Parameter MetaPolis.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#653) is not in mixedCase
Parameter MetaPolis.setFees(uint256,uint256,uint256,uint256)._reflectionFee (#653) is not in mixedCase
Parameter MetaPolis.setFees(uint256,uint256,uint256,uint256)._marketingFee (#653) is not in mixedCase
Parameter MetaPolis.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#653) is not in mixedCase
Parameter MetaPolis.setFeeReceivers(address,address)._autoLiquidityReceiver (#662) is not in mixedCase
Parameter MetaPolis.setFeeReceivers(address,address)._marketingFeeReceiver (#662) is not in mixedCase
Parameter MetaPolis.setSwapBackSettings(bool,uint256)._enabled (#667) is not in mixedCase
Parameter MetaPolis.setSwapBackSettings(bool,uint256)._amount (#667) is not in mixedCase
Parameter MetaPolis.setTargetLiquidity(uint256,uint256)._target (#672) is not in mixedCase
Parameter MetaPolis.setTargetLiquidity(uint256,uint256)._denominator (#672) is not in mixedCase
Parameter MetaPolis.setDistributionCriteria(uint256,uint256)._minPeriod (#677) is not in mixedCase
Parameter MetaPolis.setDistributionCriteria(uint256,uint256)._minDistribution (#677) is not in mixedCase
Variable MetaPolis.BUSD (#358) is not in mixedCase
Variable MetaPolis.WBNB (#359) is not in mixedCase
Variable MetaPolis.DEAD (#360) is not in mixedCase
Variable MetaPolis.ZERO (#361) is not in mixedCase
Constant MetaPolis._name (#363) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MetaPolis._symbol (#364) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MetaPolis._decimals (#365) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MetaPolis._totalSupply (#367) is not in mixedCase
Variable MetaPolis._maxTxAmount (#368) is not in mixedCase
Variable MetaPolis._maxWalletToken (#371) is not in mixedCase
Variable MetaPolis._balances (#373) is not in mixedCase
Variable MetaPolis._allowances (#374) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

MetaPolis._maxTxAmount (#368) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 100 / 100
MetaPolis._maxWalletToken (#371) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 100) / 100
MetaPolis.swapThreshold (#407) 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

Pragma version^0.7.4 (#3) 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 MetaPolis.swapBack() (#580-624):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
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) (#311-322):
External calls:
- BUSD.transfer(shareholder,amount) (#317)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#319)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#320)
Reentrancy in DividendDistributor.process(uint256) (#280-304):
External calls:
- distributeDividend(shareholders[currentIndex]) (#296)
- BUSD.transfer(shareholder,amount) (#317)
State variables written after the call(s):
- currentIndex ++ (#301)
Reentrancy in DividendDistributor.setShare(address,uint256) (#244-258):
External calls:
- distributeDividend(shareholder) (#246)
- BUSD.transfer(shareholder,amount) (#317)
State variables written after the call(s):
- shares[shareholder].amount = amount (#256)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#257)
Apply the check-effects-interactions pattern.

Additional information: link

MetaPolis.swapBack() (#580-624) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#239-242) should emit an event for:
- minPeriod = _minPeriod (#240)
- minDistribution = _minDistribution (#241)
MetaPolis.setTxLimit(uint256) (#627-629) should emit an event for:
- _maxTxAmount = amount (#628)
MetaPolis.setFees(uint256,uint256,uint256,uint256) (#653-660) should emit an event for:
- liquidityFee = _liquidityFee (#654)
- reflectionFee = _reflectionFee (#655)
- marketingFee = _marketingFee (#656)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee) (#657)
- feeDenominator = _feeDenominator (#658)
MetaPolis.setSwapBackSettings(bool,uint256) (#667-670) should emit an event for:
- swapThreshold = _amount (#669)
MetaPolis.setTargetLiquidity(uint256,uint256) (#672-675) should emit an event for:
- targetLiquidity = _target (#673)
- targetLiquidityDenominator = _denominator (#674)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#120) lacks a zero-check on :
- owner = adr (#121)
MetaPolis.setFeeReceivers(address,address)._autoLiquidityReceiver (#662) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#663)
MetaPolis.setFeeReceivers(address,address)._marketingFeeReceiver (#662) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#664)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#311-322) has external calls inside a loop: BUSD.transfer(shareholder,amount) (#317)
MetaPolis.airdrop(address,address[],uint256[]) (#703-726) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#718)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in MetaPolis.constructor() (#411-441):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#413)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#414)
- _balances[msg.sender] = _totalSupply (#439)
- autoLiquidityReceiver = DEAD (#436)
- distributor = new DividendDistributor(address(router)) (#416)
- isDividendExempt[pair] = true (#431)
- isDividendExempt[address(this)] = true (#432)
- isDividendExempt[DEAD] = true (#433)
- isFeeExempt[msg.sender] = true (#418)
- isTimelockExempt[msg.sender] = true (#422)
- isTimelockExempt[DEAD] = true (#423)
- isTimelockExempt[address(this)] = true (#424)
- isTxLimitExempt[msg.sender] = true (#419)
- marketingFeeReceiver = msg.sender (#437)
Reentrancy in DividendDistributor.deposit() (#260-278):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#267-272)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#277)
- totalDividends = totalDividends.add(amount) (#276)
Reentrancy in DividendDistributor.distributeDividend(address) (#311-322):
External calls:
- BUSD.transfer(shareholder,amount) (#317)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#318)
Reentrancy in DividendDistributor.setShare(address,uint256) (#244-258):
External calls:
- distributeDividend(shareholder) (#246)
- BUSD.transfer(shareholder,amount) (#317)
State variables written after the call(s):
- addShareholder(shareholder) (#250)
- shareholderIndexes[shareholder] = shareholders.length (#344)
- removeShareholder(shareholder) (#252)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#350)
- addShareholder(shareholder) (#250)
- shareholders.push(shareholder) (#345)
- removeShareholder(shareholder) (#252)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#349)
- shareholders.pop() (#351)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#255)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MetaPolis._transferFrom(address,address,uint256) (#480-528):
External calls:
- swapBack() (#507)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
- distributor.setShare(sender,_balances[sender]) (#517)
- distributor.setShare(recipient,_balances[recipient]) (#521)
- distributor.process(distributorGas) (#524)
External calls sending eth:
- swapBack() (#507)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#526)
Reentrancy in MetaPolis._transferFrom(address,address,uint256) (#480-528):
External calls:
- swapBack() (#507)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
External calls sending eth:
- swapBack() (#507)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#549)
- amountReceived = takeFee(sender,amount) (#512)
Reentrancy in MetaPolis.constructor() (#411-441):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#413)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#440)
Reentrancy in MetaPolis.swapBack() (#580-624):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#591-597)
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#607)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#608)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#614-621)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#622)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

DividendDistributor.process(uint256) (#280-304) has costly operations inside a loop:
- currentIndex = 0 (#292)
DividendDistributor.distributeDividend(address) (#311-322) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#316)
DividendDistributor.process(uint256) (#280-304) has costly operations inside a loop:
- currentIndex ++ (#301)
Use a local variable to hold the loop computation result.

Additional information: link

MetaPolis.slitherConstructorVariables() (#355-730) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#360)
MetaPolis.slitherConstructorVariables() (#355-730) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#361)
MetaPolis.slitherConstructorVariables() (#355-730) uses literals with too many digits:
- distributorGas = 500000 (#399)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

MetaPolis.BUSD (#358) is never used in MetaPolis (#355-730)
Remove unused state variables.

Additional information: link

DividendDistributor.WBNB (#200) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#213) should be constant
MetaPolis.BUSD (#358) should be constant
MetaPolis.DEAD (#360) should be constant
MetaPolis.WBNB (#359) should be constant
MetaPolis.ZERO (#361) should be constant
MetaPolis._totalSupply (#367) 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) (#92-94)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#99-101)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#120-124)
tradingStatus(bool) should be declared external:
- MetaPolis.tradingStatus(bool) (#568-570)
cooldownEnabled(bool,uint8) should be declared external:
- MetaPolis.cooldownEnabled(bool,uint8) (#573-576)
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.


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/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 CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

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


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 POL

News for POL