NUM token is the native protocol token of Numbers Protocol. Numbers Protocol is building a Decentralized Photo Network for Web 3.0 For creating community, value, and trust in digital media.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Different versions of Solidity are used:
- Version used: ['0.6.12', '>=0.6.0<0.8.0']
- >=0.6.0<0.8.0 (#6)
- >=0.6.0<0.8.0 (#33)
- >=0.6.0<0.8.0 (#113)
- >=0.6.0<0.8.0 (#330)
- >=0.6.0<0.8.0 (#637)
- 0.6.12 (#679)
Use one Solidity version.
Additional information: link
SafeMath.mul(uint256,uint256) (#226-231) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#170-173) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#180-183) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#134-138) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#320-323) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#300-303) is never used and should be removed
Context._msgData() (#23-26) is never used and should be removed
SafeMath.mod(uint256,uint256) (#262-265) is never used and should be removed
SafeMath.div(uint256,uint256) (#245-248) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#155-163) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#145-148) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#113) is too complex
Pragma version>=0.6.0<0.8.0 (#6) is too complex
Pragma version>=0.6.0<0.8.0 (#330) is too complex
Pragma version>=0.6.0<0.8.0 (#637) is too complex
Pragma version>=0.6.0<0.8.0 (#33) is too complex
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
Parameter BridgeMintableToken.mint(address,uint256)._amount (#707) is not in mixedCase
Parameter BridgeMintableToken.setSideBridgeContract(address)._sideBridgeContract (#718) is not in mixedCase
Parameter BridgeMintableToken.mint(address,uint256)._to (#706) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#24)" inContext (#18-27)
Remove redundant statements if they congest code but offer no value.
Additional information: link
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#477-481)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#668-673)
mint(address,uint256) should be declared external:
- BridgeMintableToken.mint(address,uint256) (#705-714)
decimals() should be declared external:
- ERC20.decimals() (#414-416)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#514-517)
symbol() should be declared external:
- ERC20.symbol() (#397-399)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#428-430)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#440-443)
setSideBridgeContract(address) should be declared external:
- BridgeMintableToken.setSideBridgeContract(address) (#717-725)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#495-498)
name() should be declared external:
- ERC20.name() (#389-391)
totalSupply() should be declared external:
- ERC20.totalSupply() (#421-423)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#459-462)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#653-655)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract name (NUM Token [via ChainPort.io]) 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.
Twitter account link seems to be invalid