ClayStack Docs
  • Get Started
    • Introduction
    • What is Liquid Restaking
    • How to ReStake with ClayStack
    • What is csETH?
    • Modular Architecture
      • DVT Layer
      • MEV Layer
      • Restaking Layer
      • VFP
      • Oracle
    • Node Operators
      • Overview
      • SSV Guide
      • Obol Guide
    • Deployed Contracts
  • Rewards
    • CLAY & EigenLayer Points
    • Referral Program
  • Governance
    • CLAY Token
  • Resources
    • Security
    • Litepaper
    • Community
    • FAQs
    • Guides
      • Restake
      • Mint csETH via LSDs
  • MATIC
    • csMATIC
      • Architecture
      • Autobalancer
      • csMATIC
      • Deployed Contracts
      • FAQs
      • Fees
      • Limits
      • Overview
      • csMATIC (Polygon)
      • Rewards
      • contracts
        • ClayManager.sol
        • ClayMatic.sol
        • CsToken.sol
        • RoleManager.sol
        • TimeLock.sol
Powered by GitBook
On this page
  • Roles
  • View Methods
  • checkRole()
  1. MATIC
  2. csMATIC
  3. contracts

RoleManager.sol

PreviousCsToken.solNextTimeLock.sol

Implements

Roles

bytes32 public constant TIMELOCK_ROLE = keccak256("TIMELOCK_ROLE");
bytes32 public constant TIMELOCK_UPGRADES_ROLE = keccak256("TIMELOCK_UPGRADES_ROLE");
bytes32 public constant CS_SERVICE_ROLE = keccak256("CS_SERVICE_ROLE");

View Methods

checkRole()

Returns a boolean value indicating whether _account has role _role or not.

function checkRole(bytes32 _role, address _account) returns (bool)

Parameters:

Name
Type
Description

_role

bytes32

bytes32 hash of role.

_account

address

Address of entity to be checked.

@openzeppelin/contracts/access/AccessControl.sol