Skip to main content

ICoreRef

Functions

setContractAdminRole

function setContractAdminRole(
bytes32 newContractAdminRole
) external

Parameters

NameTypeDescription
newContractAdminRolebytes32

pause

function pause() external

unpause

function unpause() external

core

function core() external returns (contract ICore)

fei

function fei() external returns (contract IFei)

tribe

function tribe() external returns (contract IERC20)

feiBalance

function feiBalance() external returns (uint256)

tribeBalance

function tribeBalance() external returns (uint256)

CONTRACT_ADMIN_ROLE

function CONTRACT_ADMIN_ROLE() external returns (bytes32)

isContractAdmin

function isContractAdmin(
address admin
) external returns (bool)

Parameters

NameTypeDescription
adminaddress

Events

CoreUpdate

event CoreUpdate(
address oldCore,
address newCore
)

Parameters

NameTypeDescription
oldCoreaddress
newCoreaddress

ContractAdminRoleUpdate

event ContractAdminRoleUpdate(
bytes32 oldContractAdminRole,
bytes32 newContractAdminRole
)

Parameters

NameTypeDescription
oldContractAdminRolebytes32
newContractAdminRolebytes32