Fixes/Improves constants inline documentation. (#1707)

* Fixes/Improves constants inline documentation.

* Fixed solhint error.

* Moved the comment before the variable
This commit is contained in:
Balaji Pachai
2019-04-18 01:08:33 +05:30
committed by Nicolás Venturo
parent 5a2b349992
commit 0df0e1b250
6 changed files with 32 additions and 31 deletions

View File

@ -13,11 +13,10 @@ import "../../introspection/IERC165.sol";
* solidity-coverage ignores the /mocks folder, so we duplicate its implementation here to avoid instrumenting it
*/
contract SupportsInterfaceWithLookupMock is IERC165 {
bytes4 public constant INTERFACE_ID_ERC165 = 0x01ffc9a7;
/*
* 0x01ffc9a7 ===
* bytes4(keccak256('supportsInterface(bytes4)'))
* bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
*/
bytes4 public constant INTERFACE_ID_ERC165 = 0x01ffc9a7;
/**
* @dev A mapping of interface id to whether or not it's supported.