Skip to main content

IPCVGuardAdmin

Volt Protocol

PCV GuardAdmin Interface

Methods

grantPCVGuardRole

function grantPCVGuardRole(address newGuard) external nonpayable

This function can only be called by the Governor role to grant the PCV Guard role

Parameters

NameTypeDescription
newGuardaddressaddress of the account to be revoked the role of PCV Guard

revokePCVGuardRole

function revokePCVGuardRole(address oldGuard) external nonpayable

This function can only be called by the Governor or Guardian roles to revoke the PCV Guard role

Parameters

NameTypeDescription
oldGuardaddressaddress of the account to be revoked the role of PCV Guard