ICoreRef

Functions

setContractAdminRole

function setContractAdminRole(
    bytes32 newContractAdminRole
) external

Parameters

Name
Type
Description

newContractAdminRole

bytes32

pause

function pause() external

unpause

function unpause() external

core

function core() external returns (contract ICore)

chi

function chi() external returns (contract IChi)

zen

function zen() external returns (contract IERC20)

chiBalance

function chiBalance() external returns (uint256)

zenBalance

function zenBalance() external returns (uint256)

CONTRACT_ADMIN_ROLE

function CONTRACT_ADMIN_ROLE() external returns (bytes32)

isContractAdmin

function isContractAdmin(
    address admin
) external returns (bool)

Parameters

Name
Type
Description

admin

address

Events

CoreUpdate

event CoreUpdate(
    address oldCore,
    address newCore
)

Parameters

Name
Type
Description

oldCore

address

newCore

address

### ContractAdminRoleUpdate

event ContractAdminRoleUpdate(
    bytes32 oldContractAdminRole,
    bytes32 newContractAdminRole
)

Parameters

Name
Type
Description

oldContractAdminRole

bytes32

newContractAdminRole

bytes32

Last updated