* Updated code style to 4 spaces and 120 max characters per line. * Update contracts/token/ERC721/ERC721Pausable.sol Co-Authored-By: nventuro <nicolas.venturo@gmail.com> * Update contracts/token/ERC721/IERC721.sol Co-Authored-By: nventuro <nicolas.venturo@gmail.com>
22 lines
426 B
Solidity
22 lines
426 B
Solidity
pragma solidity ^0.4.24;
|
|
|
|
import "../access/Roles.sol";
|
|
|
|
contract RolesMock {
|
|
using Roles for Roles.Role;
|
|
|
|
Roles.Role private dummyRole;
|
|
|
|
function add(address account) public {
|
|
dummyRole.add(account);
|
|
}
|
|
|
|
function remove(address account) public {
|
|
dummyRole.remove(account);
|
|
}
|
|
|
|
function has(address account) public view returns (bool) {
|
|
return dummyRole.has(account);
|
|
}
|
|
}
|