CoreRef
defines some modifiers and utilities around interacting with Core
Functions
constructor
Parameters
Name
Type
Description
coreAddress
address
_initialize
Parameters
Name
Type
Description
``
address
setContractAdminRole
sets a new admin role for this contract
Parameters
Name
Type
Description
newContractAdminRole
bytes32
isContractAdmin
returns whether a given address has the admin role for this contract
Parameters
Name
Type
Description
_admin
address
pause
set pausable methods to paused
unpause
set pausable methods to unpaused
core
address of the Core contract referenced
Return Values
Name
Type
Description
[0]
contract ICore
ICore implementation address
chi
address of the Chi contract referenced by Core
Return Values
Name
Type
Description
[0]
contract IChi
IChi implementation address
zen
address of the Zen contract referenced by Core
Return Values
Name
Type
Description
[0]
contract IERC20
IERC20 implementation address
chiBalance
chi balance of contract
Return Values
Name
Type
Description
[0]
uint256
chi amount held
zenBalance
zen balance of contract
Return Values
Name
Type
Description
[0]
uint256
zen amount held
_burnChiHeld
_mintChi
Parameters
Name
Type
Description
to
address
amount
uint256
_setContractAdminRole
Parameters
Name
Type
Description
newContractAdminRole
bytes32
Last updated