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)
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
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 |