rootdomain

package
v0.8.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var INSATTR_CreateMember_API = true
View Source
var INSATTR_Info_API = true

Functions

This section is empty.

Types

type RootDomain

type RootDomain struct {
	foundation.BaseContract
	RootMember    core.RecordRef
	NodeDomainRef core.RecordRef
}

RootDomain is smart contract representing entrance point to system

func NewRootDomain

func NewRootDomain() (*RootDomain, error)

NewRootDomain creates new RootDomain

func (*RootDomain) CreateMember

func (rd *RootDomain) CreateMember(name string, key string) (string, error)

CreateMember processes create member request

func (*RootDomain) DumpAllUsers

func (rd *RootDomain) DumpAllUsers() ([]byte, error)

DumpAllUsers processes dump all users request

func (*RootDomain) DumpUserInfo

func (rd *RootDomain) DumpUserInfo(reference string) ([]byte, error)

DumpUserInfo processes dump user info request

func (*RootDomain) GetNodeDomainRef added in v0.6.1

func (rd *RootDomain) GetNodeDomainRef() (core.RecordRef, error)

GetNodeDomainRef returns reference of NodeDomain instance

func (*RootDomain) GetRootMemberRef added in v0.6.3

func (rd *RootDomain) GetRootMemberRef() (*core.RecordRef, error)

GetRootMemberRef returns root member's reference

func (*RootDomain) Info added in v0.6.3

func (rd *RootDomain) Info() (interface{}, error)

Info returns information about basic objects

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL