ICoreRef

Functions

setContractAdminRole

function setContractAdminRole(
    bytes32 newContractAdminRole
) external

Parameters

NameTypeDescription

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

NameTypeDescription

admin

address

Events

CoreUpdate

event CoreUpdate(
    address oldCore,
    address newCore
)

Parameters

NameTypeDescription

oldCore

address

newCore

address

### ContractAdminRoleUpdate

event ContractAdminRoleUpdate(
    bytes32 oldContractAdminRole,
    bytes32 newContractAdminRole
)

Parameters

NameTypeDescription

oldContractAdminRole

bytes32

newContractAdminRole

bytes32

Last updated