Skip to main content

IPCVSentinel

an interface for defining how the PCVSentinel functions

any implementation of this contract should be granted the Guardian role

Functions

isGuard

function isGuard(
address guard
) external returns (bool)

Parameters

NameTypeDescription
guardaddress

allGuards

function allGuards() external returns (address[] all)

knight

function knight(
address guard
) external

Parameters

NameTypeDescription
guardaddress

slay

function slay(
address traitor
) external

Parameters

NameTypeDescription
traitoraddress

protec

function protec(
address guard
) external

Parameters

NameTypeDescription
guardaddress

Events

Protected

event Protected(
address guard
)

Parameters

NameTypeDescription
guardaddress

GuardAdded

event GuardAdded(
address guard
)

Parameters

NameTypeDescription
guardaddress

GuardRemoved

event GuardRemoved(
address guard
)

Parameters

NameTypeDescription
guardaddress