SubjectTypes
SCANNER_SUBJECT
AGENT_SUBJECT
SubjectTypeValidator
InvalidSubjectType
onlyValidSubjectType
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 (StakingEscrow) |