// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; /** * @title SOMA Accessible Contract. * @author SOMA.finance * @notice Interface of the {Accessible} contract. */ interface IAccessible { /** * @notice Returns the role admin, given a role. * @param role The role to return the admin of. * @return The admin of the role. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @notice Returns a boolean indicating if `account` has been granted `role`. * @param role The role to check against `account`. * @param account The account to check against `role`. * @return True if `account` has been granted `role`, False otherwise. */ function hasRole(bytes32 role, address account) external view returns (bool); }