pragma solidity ^0.6.0; library RoleSets { struct RoleSet { bytes32[] roleIds; } bytes32 public constant ROOT_ROLE_SET = 0x00; function addRoleId(RoleSet storage _roleSet, bytes32 _roleId) internal { _roleSet.roleIds.push(_roleId); } }
0.6.0