ICoreRef
Volt Protocol
CoreRef interface
Methods
CONTRACT_ADMIN_ROLE
function CONTRACT_ADMIN_ROLE() external view returns (bytes32)
Returns
Name | Type | Description |
---|---|---|
_0 | bytes32 | undefined |
core
function core() external view returns (contract ICore)
Returns
Name | Type | Description |
---|---|---|
_0 | contract ICore | undefined |
isContractAdmin
function isContractAdmin(address admin) external view returns (bool)
Parameters
Name | Type | Description |
---|---|---|
admin | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
pause
function pause() external nonpayable
setContractAdminRole
function setContractAdminRole(bytes32 newContractAdminRole) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
newContractAdminRole | bytes32 | undefined |
unpause
function unpause() external nonpayable
vcon
function vcon() external view returns (contract IERC20)
Returns
Name | Type | Description |
---|---|---|
_0 | contract IERC20 | undefined |
vconBalance
function vconBalance() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
volt
function volt() external view returns (contract IVolt)
Returns
Name | Type | Description |
---|---|---|
_0 | contract IVolt | undefined |
voltBalance
function voltBalance() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
Events
ContractAdminRoleUpdate
event ContractAdminRoleUpdate(bytes32 indexed oldContractAdminRole, bytes32 indexed newContractAdminRole)
Parameters
Name | Type | Description |
---|---|---|
oldContractAdminRole indexed | bytes32 | undefined |
newContractAdminRole indexed | bytes32 | undefined |
CoreUpdate
event CoreUpdate(address indexed oldCore, address indexed newCore)
Parameters
Name | Type | Description |
---|---|---|
oldCore indexed | address | undefined |
newCore indexed | address | undefined |