Skip to main content

ICoreRef

Volt Protocol

CoreRef interface

Methods

CONTRACT_ADMIN_ROLE

function CONTRACT_ADMIN_ROLE() external view returns (bytes32)

Returns

NameTypeDescription
_0bytes32undefined

core

function core() external view returns (contract ICore)

Returns

NameTypeDescription
_0contract ICoreundefined

isContractAdmin

function isContractAdmin(address admin) external view returns (bool)

Parameters

NameTypeDescription
adminaddressundefined

Returns

NameTypeDescription
_0boolundefined

pause

function pause() external nonpayable

setContractAdminRole

function setContractAdminRole(bytes32 newContractAdminRole) external nonpayable

Parameters

NameTypeDescription
newContractAdminRolebytes32undefined

unpause

function unpause() external nonpayable

vcon

function vcon() external view returns (contract IERC20)

Returns

NameTypeDescription
_0contract IERC20undefined

vconBalance

function vconBalance() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

volt

function volt() external view returns (contract IVolt)

Returns

NameTypeDescription
_0contract IVoltundefined

voltBalance

function voltBalance() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

Events

ContractAdminRoleUpdate

event ContractAdminRoleUpdate(bytes32 indexed oldContractAdminRole, bytes32 indexed newContractAdminRole)

Parameters

NameTypeDescription
oldContractAdminRole indexedbytes32undefined
newContractAdminRole indexedbytes32undefined

CoreUpdate

event CoreUpdate(address indexed oldCore, address indexed newCore)

Parameters

NameTypeDescription
oldCore indexedaddressundefined
newCore indexedaddressundefined