Skip to main content

Core

maintains roles, access control, fei, tribe, genesisGroup, and the TRIBE treasury

Functions

init

function init() external

setFei

function setFei(
address token
) external

sets Fei address to a new address

Parameters

NameTypeDescription
tokenaddressnew fei address

setTribe

function setTribe(
address token
) external

sets Tribe address to a new address

Parameters

NameTypeDescription
tokenaddressnew tribe address

allocateTribe

function allocateTribe(
address to,
uint256 amount
) external

sends TRIBE tokens from treasury to an address

Parameters

NameTypeDescription
toaddressthe address to send TRIBE to
amountuint256the amount of TRIBE to send

_setFei

function _setFei(
address token
) internal

Parameters

NameTypeDescription
tokenaddress

_setTribe

function _setTribe(
address token
) internal

Parameters

NameTypeDescription
tokenaddress