Core

maintains roles, access control, chi, zen, genesisGroup, and the ZEN treasury

Functions

init

function init() external

setChi

function setChi(
    address token
) external

sets Chi address to a new address

Parameters

NameTypeDescription

token

address

new chi address

setZen

function setZen(
    address token
) external

sets Zen address to a new address

Parameters

NameTypeDescription

token

address

new zen address

allocateZen

function allocateZen(
    address to,
    uint256 amount
) external

sends ZEN tokens from treasury to an address

Parameters

NameTypeDescription

to

address

the address to send ZEN to

amount

uint256

the amount of ZEN to send

_setChi

function _setChi(
    address token
) internal

Parameters

NameTypeDescription

token

address

_setZen

function _setZen(
    address token
) internal

Parameters

NameTypeDescription

token

address

Last updated