Show / Hide Table of Contents

Role 类

定义了 RoleManagement 原生合约中的权限类型。

命名空间: Neo.SmartContract.Framework.Native

程序集:Neo.SmartContract.Framework

语法

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

具体使用参考 RoleManagement 类的中的 GetDesignatedByRole 方法。