Version
Show / Hide Table of Contents

RoleManagement Class

Provides a series attributes and methods of the native contract RoleManagement , which contract hash is 0x49cf4e5378ffcd4dec034fd98a174c5491e395e2 .

Namespace: Neo.SmartContract.Framework.Services.Neo

Assembly: Neo.SmartContract.Framework

Syntax

public class RoleManagement

Attribute

NameDescription
HashGets the contract hash

Method

NameDescription
GetDesignatedByRole(Role role, uint index) Gets the public key of the corresponding node according to the administrator role