Skip to content

SubjectTypes.md

SCANNER_SUBJECT

uint8 SCANNER_SUBJECT

AGENT_SUBJECT

uint8 AGENT_SUBJECT

InvalidSubjectType

error InvalidSubjectType(uint8 subjectType)

onlyValidSubjectType

modifier onlyValidSubjectType(uint8 subjectType)

check if `subjectType` belongs to the defined SUBJECT_TYPES

Name Type Description
subjectType uint8 is not an enum because some contracts using subjectTypes are not upgradeable (StakinEscrow)
Back to top