Streamr is building decentralized infrastructure for real-time data. Our goal is to enable data to be transported, shared, and monetised securely and scalably without intermediaries. By facilitating new types of data pipelines and ecosystems, we support and accelerate the birth of the Web 3.0, in which decentralized applications can securely exchange data and value.
DATAv2._name (#1167) shadows:
- ERC20._name (#427)
DATAv2._symbol (#1168) shadows:
- ERC20._symbol (#428)
Remove the state variable shadowing.
Additional information: link
ERC20Permit.constructor(string).name (#1073) shadows:
- ERC20.name() (#447-449) (function)
Rename the local variables that shadow another component.
Additional information: link
ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#1079-1101) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= deadline,ERC20Permit: expired deadline) (#1081)
Avoid relying on block.timestamp.
Additional information: link
ECDSA.recover(bytes32,bytes) (#818-839) uses assembly
- INLINE ASM (#832-836)
DATAv2.transferAndCall(address,uint256,bytes) (#1213-1230) uses assembly
- INLINE ASM (#1222-1224)
Do not use evm assembly.
Additional information: link
AccessControl._setRoleAdmin(bytes32,bytes32) (#287-290) is never used and should be removed
Context._msgData() (#28-31) is never used and should be removed
Counters.decrement(Counters.Counter) (#1030-1036) is never used and should be removed
ECDSA.recover(bytes32,bytes) (#818-839) is never used and should be removed
ECDSA.toEthSignedMessageHash(bytes32) (#873-877) is never used and should be removed
Remove unused functions.
Additional information: link
Function IERC20Permit.DOMAIN_SEPARATOR() (#787) is not in mixedCase
Variable EIP712._CACHED_DOMAIN_SEPARATOR (#923) is not in mixedCase
Variable EIP712._CACHED_CHAIN_ID (#924) is not in mixedCase
Variable EIP712._HASHED_NAME (#926) is not in mixedCase
Variable EIP712._HASHED_VERSION (#927) is not in mixedCase
Variable EIP712._TYPE_HASH (#928) is not in mixedCase
Function ERC20Permit.DOMAIN_SEPARATOR() (#1114-1116) is not in mixedCase
Variable ERC20Permit._PERMIT_TYPEHASH (#1066) is not in mixedCase
Parameter DATAv2.transferAndCall(address,uint256,bytes)._to (#1214) is not in mixedCase
Parameter DATAv2.transferAndCall(address,uint256,bytes)._value (#1215) is not in mixedCase
Parameter DATAv2.transferAndCall(address,uint256,bytes)._data (#1216) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#29)" inContext (#23-32)
Remove redundant statements if they congest code but offer no value.
Additional information: link
grantRole(bytes32,address) should be declared external:
- AccessControl.grantRole(bytes32,address) (#221-225)
revokeRole(bytes32,address) should be declared external:
- AccessControl.revokeRole(bytes32,address) (#236-240)
renounceRole(bytes32,address) should be declared external:
- AccessControl.renounceRole(bytes32,address) (#256-260)
name() should be declared external:
- DATAv2.name() (#1245-1247)
- ERC20.name() (#447-449)
symbol() should be declared external:
- DATAv2.symbol() (#1252-1254)
- ERC20.symbol() (#455-457)
decimals() should be declared external:
- ERC20.decimals() (#472-474)
totalSupply() should be declared external:
- ERC20.totalSupply() (#479-481)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#486-488)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#517-520)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#535-543)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#557-560)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#576-582)
burn(uint256) should be declared external:
- ERC20Burnable.burn(uint256) (#712-714)
burnFrom(address,uint256) should be declared external:
- ERC20Burnable.burnFrom(address,uint256) (#727-732)
permit(address,address,uint256,uint256,uint8,bytes32,bytes32) should be declared external:
- ERC20Permit.permit(address,address,uint256,uint256,uint8,bytes32,bytes32) (#1079-1101)
nonces(address) should be declared external:
- ERC20Permit.nonces(address) (#1106-1108)
mint(address,uint256) should be declared external:
- DATAv2.mint(address,uint256) (#1196-1202)
transferAndCall(address,uint256,bytes) should be declared external:
- DATAv2.transferAndCall(address,uint256,bytes) (#1213-1230)
setTokenInformation(string,string) should be declared external:
- DATAv2.setTokenInformation(string,string) (#1235-1240)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Telegram account link seems to be invalid