rootdomain

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClassReference = core.NewRefFromBase58("")

ClassReference to class of this contract

Functions

func GetClass

func GetClass() core.RecordRef

GetClass returns reference to the class

Types

type ContractConstructorHolder

type ContractConstructorHolder struct {
	// contains filtered or unexported fields
}

ContractConstructorHolder holds logic with object construction

func NewRootDomain

func NewRootDomain() *ContractConstructorHolder

NewRootDomain is constructor

func (*ContractConstructorHolder) AsChild

func (r *ContractConstructorHolder) AsChild(objRef core.RecordRef) *RootDomain

AsChild saves object as child

func (*ContractConstructorHolder) AsDelegate

func (r *ContractConstructorHolder) AsDelegate(objRef core.RecordRef) *RootDomain

AsDelegate saves object as delegate

type RootDomain

type RootDomain struct {
	Reference core.RecordRef
}

RootDomain holds proxy type

func GetImplementationFrom

func GetImplementationFrom(object core.RecordRef) *RootDomain

GetImplementationFrom returns proxy to delegate of given type

func GetObject

func GetObject(ref core.RecordRef) (r *RootDomain)

GetObject returns proxy object

func (*RootDomain) Authorize

func (r *RootDomain) Authorize() (string, core.NodeRole, string)

Authorize is proxy generated method

func (*RootDomain) AuthorizeNoWait

func (r *RootDomain) AuthorizeNoWait()

AuthorizeNoWait is proxy generated method

func (*RootDomain) CreateMember

func (r *RootDomain) CreateMember(name string, key string) string

CreateMember is proxy generated method

func (*RootDomain) CreateMemberNoWait

func (r *RootDomain) CreateMemberNoWait(name string, key string)

CreateMemberNoWait is proxy generated method

func (*RootDomain) DumpAllUsers

func (r *RootDomain) DumpAllUsers() []byte

DumpAllUsers is proxy generated method

func (*RootDomain) DumpAllUsersNoWait

func (r *RootDomain) DumpAllUsersNoWait()

DumpAllUsersNoWait is proxy generated method

func (*RootDomain) DumpUserInfo

func (r *RootDomain) DumpUserInfo(reference string) []byte

DumpUserInfo is proxy generated method

func (*RootDomain) DumpUserInfoNoWait

func (r *RootDomain) DumpUserInfoNoWait(reference string)

DumpUserInfoNoWait is proxy generated method

func (*RootDomain) GetBalance

func (r *RootDomain) GetBalance(reference string) uint

GetBalance is proxy generated method

func (*RootDomain) GetBalanceNoWait

func (r *RootDomain) GetBalanceNoWait(reference string)

GetBalanceNoWait is proxy generated method

func (*RootDomain) GetClass

func (r *RootDomain) GetClass() core.RecordRef

GetClass returns reference to the class

func (*RootDomain) GetReference

func (r *RootDomain) GetReference() core.RecordRef

GetReference returns reference of the object

func (*RootDomain) RegisterNode

func (r *RootDomain) RegisterNode(publicKey string, role string) string

RegisterNode is proxy generated method

func (*RootDomain) RegisterNodeNoWait

func (r *RootDomain) RegisterNodeNoWait(publicKey string, role string)

RegisterNodeNoWait is proxy generated method

func (*RootDomain) SendMoney

func (r *RootDomain) SendMoney(from string, to string, amount uint) bool

SendMoney is proxy generated method

func (*RootDomain) SendMoneyNoWait

func (r *RootDomain) SendMoneyNoWait(from string, to string, amount uint)

SendMoneyNoWait is proxy generated method

Jump to

Keyboard shortcuts

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