Polka City Token Logo

POLC [Polka City] Token

About POLC

Listings

Token 3 years
CoinGecko 3 years
CoinMarketCap 3 years
white paper

Polkacity Is A New Fully Autonomous Contract Based NFT Platform That Allows You To Invest In Virtual Assets In The Form Of A Virtual City.

Laser Scorebeta Last Audit: 12 September 2022

report
Token seems to be legit.

POLCToken.checkTransferLimit(address) (#183-194) uses a dangerous strict equality:
- lastTXBlock[_sender] == block.number (#185)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

POLCToken.changeManager(address,uint8,bytes) (#375-381) contains a tautology or contradiction:
- require(bool,string)(_index >= 0 && _index <= 2,Invalid index) (#376)
Fix the incorrect comparison by changing the value type or the comparison.

Additional information: link

Pragma version0.8.2 (#3) allows old versions
solc-0.8.2 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

Redundant expression "this (#138)" inContext (#132-141)
Remove redundant statements if they congest code but offer no value.

Additional information: link

ECDSA.recover(bytes32,bytes) (#45-78) uses assembly
- INLINE ASM (#58-62)
- INLINE ASM (#67-72)
Do not use evm assembly.

Additional information: link

POLCToken.checkTransferLimit(address) (#183-194) compares to a boolean constant:
-limitTransactions == true && contractsWhiteList[_sender] != true (#184)
POLCToken.mint(address,uint256) (#307-312) compares to a boolean constant:
-require(bool,string)(minters[msg.sender] == true,Not allowed) (#308)
POLCToken.verifyApproval(bytes32,bytes) (#366-373) compares to a boolean constant:
-require(bool,string)(executedTask[_taskHash] == false,Task already executed) (#367)
Remove the equality to the boolean constant.

Additional information: link

Context._msgData() (#137-140) is never used and should be removed
ECDSA.toTypedDataHash(bytes32,bytes32) (#127-129) is never used and should be removed
Remove unused functions.

Additional information: link

Parameter POLCToken.checkTransferLimit(address)._sender (#183) is not in mixedCase
Parameter POLCToken.burn(uint256)._value (#259) is not in mixedCase
Parameter POLCToken.approveAndCall(address,uint256,bytes)._spender (#264) is not in mixedCase
Parameter POLCToken.approveAndCall(address,uint256,bytes)._value (#264) is not in mixedCase
Parameter POLCToken.approveAndCall(address,uint256,bytes)._extraData (#264) is not in mixedCase
Parameter POLCToken.enableTXLimit(bytes)._sig (#272) is not in mixedCase
Parameter POLCToken.disableTXLimit(bytes)._sig (#279) is not in mixedCase
Parameter POLCToken.includeWhiteList(address,bytes)._contractAddress (#286) is not in mixedCase
Parameter POLCToken.includeWhiteList(address,bytes)._sig (#286) is not in mixedCase
Parameter POLCToken.removeWhiteList(address,bytes)._contractAddress (#293) is not in mixedCase
Parameter POLCToken.removeWhiteList(address,bytes)._sig (#293) is not in mixedCase
Parameter POLCToken.setMinter(address,bool,bytes)._minterAddress (#300) is not in mixedCase
Parameter POLCToken.setMinter(address,bool,bytes)._canMint (#300) is not in mixedCase
Parameter POLCToken.setMinter(address,bool,bytes)._sig (#300) is not in mixedCase
Parameter POLCToken.mint(address,uint256)._to (#307) is not in mixedCase
Parameter POLCToken.mint(address,uint256)._amount (#307) is not in mixedCase
Parameter POLCToken.verifyApproval(bytes32,bytes)._taskHash (#366) is not in mixedCase
Parameter POLCToken.verifyApproval(bytes32,bytes)._sig (#366) is not in mixedCase
Parameter POLCToken.changeManager(address,uint8,bytes)._manager (#375) is not in mixedCase
Parameter POLCToken.changeManager(address,uint8,bytes)._index (#375) is not in mixedCase
Parameter POLCToken.changeManager(address,uint8,bytes)._sig (#375) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

POLCToken.constructor() (#171-181) uses literals with too many digits:
- maxSupply = 250000000000000000000000000 (#175)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

name() should be declared external:
- POLCToken.name() (#196-198)
symbol() should be declared external:
- POLCToken.symbol() (#200-202)
decimals() should be declared external:
- POLCToken.decimals() (#204-206)
totalSupply() should be declared external:
- POLCToken.totalSupply() (#208-210)
balanceOf(address) should be declared external:
- POLCToken.balanceOf(address) (#212-214)
transfer(address,uint256) should be declared external:
- POLCToken.transfer(address,uint256) (#216-220)
allowance(address,address) should be declared external:
- POLCToken.allowance(address,address) (#222-224)
approve(address,uint256) should be declared external:
- POLCToken.approve(address,uint256) (#226-229)
transferFrom(address,address,uint256) should be declared external:
- POLCToken.transferFrom(address,address,uint256) (#231-242)
increaseAllowance(address,uint256) should be declared external:
- POLCToken.increaseAllowance(address,uint256) (#244-247)
decreaseAllowance(address,uint256) should be declared external:
- POLCToken.decreaseAllowance(address,uint256) (#249-257)
burn(uint256) should be declared external:
- POLCToken.burn(uint256) (#259-262)
approveAndCall(address,uint256,bytes) should be declared external:
- POLCToken.approveAndCall(address,uint256,bytes) (#264-270)
enableTXLimit(bytes) should be declared external:
- POLCToken.enableTXLimit(bytes) (#272-277)
disableTXLimit(bytes) should be declared external:
- POLCToken.disableTXLimit(bytes) (#279-284)
includeWhiteList(address,bytes) should be declared external:
- POLCToken.includeWhiteList(address,bytes) (#286-291)
removeWhiteList(address,bytes) should be declared external:
- POLCToken.removeWhiteList(address,bytes) (#293-298)
setMinter(address,bool,bytes) should be declared external:
- POLCToken.setMinter(address,bool,bytes) (#300-305)
mint(address,uint256) should be declared external:
- POLCToken.mint(address,uint256) (#307-312)
changeManager(address,uint8,bytes) should be declared external:
- POLCToken.changeManager(address,uint8,bytes) (#375-381)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:
No disclosed threats


Unable to find Youtube account


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Token is not listed at Mobula.Finance

Additional information: link

No disclosed threats

Price for POLC

News for POLC