StructureUtils

Git Source

Functions

verifyActive

Checks that Agent is Active

function verifyActive(AgentStatus memory status) internal pure;

verifyUnstaking

Checks that Agent is Unstaking

function verifyUnstaking(AgentStatus memory status) internal pure;

verifyActiveUnstaking

Checks that Agent is Active or Unstaking

function verifyActiveUnstaking(AgentStatus memory status) internal pure;

verifyFraudulent

Checks that Agent is Fraudulent

function verifyFraudulent(AgentStatus memory status) internal pure;

verifyKnown

Checks that Agent is not Unknown

function verifyKnown(AgentStatus memory status) internal pure;