Version
Show / Hide Table of Contents

Role Class

Defines permission types of the native contract RoleManagement .

Namespace: Neo.SmartContract.Framework.Services.Neo

Assembly: Neo.SmartContract.Framework

Syntax

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

For more information see the method GetDesignatedByRole in RoleManagement .