CoreRef
defines some modifiers and utilities around interacting with Core
Functions
constructor
Parameters
Name | Type | Description |
---|---|---|
| address |
_initialize
Parameters
Name | Type | Description |
---|---|---|
`` | address |
setContractAdminRole
sets a new admin role for this contract
Parameters
Name | Type | Description |
---|---|---|
| bytes32 |
isContractAdmin
returns whether a given address has the admin role for this contract
Parameters
Name | Type | Description |
---|---|---|
| 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 |
---|---|---|
| contract ICore | ICore implementation address |
chi
address of the Chi contract referenced by Core
Return Values
Name | Type | Description |
---|---|---|
| contract IChi | IChi implementation address |
zen
address of the Zen contract referenced by Core
Return Values
Name | Type | Description |
---|---|---|
| contract IERC20 | IERC20 implementation address |
chiBalance
chi balance of contract
Return Values
Name | Type | Description |
---|---|---|
| uint256 | chi amount held |
zenBalance
zen balance of contract
Return Values
Name | Type | Description |
---|---|---|
| uint256 | zen amount held |
_burnChiHeld
_mintChi
Parameters
Name | Type | Description |
---|---|---|
| address | |
| uint256 |
_setContractAdminRole
Parameters
Name | Type | Description |
---|---|---|
| bytes32 |
Last updated