Essence Finance
    • Introduction
  • Protocol
    • Peg Stabilty
    • Collateralization
    • Decentralization
  • TOKENOMICS
    • ZEN
    • Distribution
    • Stake
  • Protocol Controlled Value
    • Protocol Controlled Value (PCV)
    • PCV Management
    • PCV Deposits
  • Governance
    • Essence DAO
    • Governance Phases
    • Access Control
    • Roles
  • Smart Contracts
    • Contract Addresses
    • Audits
  • Development
    • Smart Contracts API
      • Chi
        • IChi
      • Minter
        • IPCVEquityMinter
        • PCVEquityMinter
        • RateLimitedMinter
      • Core
        • Core
        • ICore
        • IPermissions
        • IPermissionsRead
        • Permissions
        • ZenRoles
      • Dao
        • Governor
          • EssenceDAO
        • Timelock
          • EssenceDAOTimelock
          • OptimisticTimelock
          • Timelock
      • External
        • Decimal
        • WETH9
      • Libs
        • CoreRefPauseableLib
        • UintArrayOps
      • Oracle
        • ChainlinkOracleWrapper
        • CompositeOracle
        • ConstantOracle
        • ICollateralizationOracle
        • ICollateralizationOracleWrapper
      • Pcv
        • IPCVDeposit
        • IPCVDepositBalances
        • IPCVGuardian
        • IPCVSwapper
        • PCVDeposit
        • PCVGuardian
      • Peg
        • FixedPricePSM
        • IPegStabilityModule
        • IPriceBound
        • IPSMRouter
        • PegStabilityModule
        • PriceBoundPSM
        • PSMRouter
      • Refs
        • CoreRef
        • ICoreRef
        • IOracleRef
        • IUniRef
        • OracleRef
        • UniRef
      • Timelocks
        • ITimelockedDelegator
        • ITokenTimelock
        • LinearTimelockedDelegator
        • LinearTokenTimelock
        • QuadraticTimelockedDelegator
        • QuadraticTimelockedSubdelegator
        • QuadraticTokenTimelock
        • TimelockedDelegator
        • TokenTimelock
      • Utils
        • RateLimited
      • Zen
        • IZenMinter
        • Zen
        • ZenMinter
Powered by GitBook
On this page
  • Functions
  • createRole
  • grantMinter
  • grantBurner
  • grantPCVController
  • grantGovernor
  • grantGuardian
  • revokeMinter
  • revokeBurner
  • revokePCVController
  • revokeGovernor
  • revokeGuardian
  • revokeOverride
  • GUARDIAN_ROLE
  • GOVERN_ROLE
  • BURNER_ROLE
  • MINTER_ROLE
  • PCV_CONTROLLER_ROLE
  1. Development
  2. Smart Contracts API
  3. Core

IPermissions

Functions

createRole

function createRole(
    bytes32 role,
    bytes32 adminRole
) external

Parameters

Name
Type
Description

role

bytes32

adminRole

bytes32

grantMinter

function grantMinter(
    address minter
) external

Parameters

Name
Type
Description

minter

address

grantBurner

function grantBurner(
    address burner
) external

Parameters

Name
Type
Description

burner

address

grantPCVController

function grantPCVController(
    address pcvController
) external

Parameters

Name
Type
Description

pcvController

address

grantGovernor

function grantGovernor(
    address governor
) external

Parameters

Name
Type
Description

governor

address

grantGuardian

function grantGuardian(
    address guardian
) external

Parameters

Name
Type
Description

guardian

address

revokeMinter

function revokeMinter(
    address minter
) external

Parameters

Name
Type
Description

minter

address

revokeBurner

function revokeBurner(
    address burner
) external

Parameters

Name
Type
Description

burner

address

revokePCVController

function revokePCVController(
    address pcvController
) external

Parameters

Name
Type
Description

pcvController

address

revokeGovernor

function revokeGovernor(
    address governor
) external

Parameters

Name
Type
Description

governor

address

revokeGuardian

function revokeGuardian(
    address guardian
) external

Parameters

Name
Type
Description

guardian

address

revokeOverride

function revokeOverride(
    bytes32 role,
    address account
) external

Parameters

Name
Type
Description

role

bytes32

account

address

GUARDIAN_ROLE

function GUARDIAN_ROLE() external returns (bytes32)

GOVERN_ROLE

function GOVERN_ROLE() external returns (bytes32)

BURNER_ROLE

function BURNER_ROLE() external returns (bytes32)

MINTER_ROLE

function MINTER_ROLE() external returns (bytes32)

PCV_CONTROLLER_ROLE

function PCV_CONTROLLER_ROLE() external returns (bytes32)
PreviousICoreNextIPermissionsRead

Last updated 1 year ago