Show / Hide Table of Contents
Last modified: 2024-09-14

Role Class

Defines permission types of the native contract RoleManagement .

Namespace: Neo.SmartContract.Framework.Native

Assembly: Neo.SmartContract.Framework

Syntax

public enum Role : byte
{
    StateValidator = 4,
    Oracle = 8
}

For more information see the method GetDesignatedByRole in RoleManagement .