rootdomain

package
v0.7.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PrototypeReference, _ = core.NewRefFromBase58("11112dk9h57aFWtx8WwsecAYNbTvCsgnqXopNuHZZiq.11111111111111111111111111111111")

PrototypeReference to prototype of this contract error checking hides in generator

Functions

func GetPrototype added in v0.6.2

func GetPrototype() core.RecordRef

GetPrototype returns reference to the prototype

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, error)

AsChild saves object as child

func (*ContractConstructorHolder) AsDelegate

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

AsDelegate saves object as delegate

type RootDomain

type RootDomain struct {
	Reference core.RecordRef
	Prototype core.RecordRef
	Code      core.RecordRef
}

RootDomain holds proxy type

func GetImplementationFrom

func GetImplementationFrom(object core.RecordRef) (*RootDomain, error)

GetImplementationFrom returns proxy to delegate of given type

func GetObject

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

GetObject returns proxy object

func (*RootDomain) CreateMember

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

CreateMember is proxy generated method

func (*RootDomain) CreateMemberNoWait

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

CreateMemberNoWait is proxy generated method

func (*RootDomain) DumpAllUsers

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

DumpAllUsers is proxy generated method

func (*RootDomain) DumpAllUsersNoWait

func (r *RootDomain) DumpAllUsersNoWait() error

DumpAllUsersNoWait is proxy generated method

func (*RootDomain) DumpUserInfo

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

DumpUserInfo is proxy generated method

func (*RootDomain) DumpUserInfoNoWait

func (r *RootDomain) DumpUserInfoNoWait(reference string) error

DumpUserInfoNoWait is proxy generated method

func (*RootDomain) GetCode added in v0.6.3

func (r *RootDomain) GetCode() (core.RecordRef, error)

GetCode returns reference to the code

func (*RootDomain) GetNodeDomainRef added in v0.6.1

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

GetNodeDomainRef is proxy generated method

func (*RootDomain) GetNodeDomainRefNoWait added in v0.6.1

func (r *RootDomain) GetNodeDomainRefNoWait() error

GetNodeDomainRefNoWait is proxy generated method

func (*RootDomain) GetPrototype added in v0.6.2

func (r *RootDomain) GetPrototype() (core.RecordRef, error)

GetPrototype returns reference to the code

func (*RootDomain) GetReference

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

GetReference returns reference of the object

func (*RootDomain) GetRootMemberRef added in v0.6.3

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

GetRootMemberRef is proxy generated method

func (*RootDomain) GetRootMemberRefNoWait added in v0.6.3

func (r *RootDomain) GetRootMemberRefNoWait() error

GetRootMemberRefNoWait is proxy generated method

func (*RootDomain) Info added in v0.6.3

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

Info is proxy generated method

func (*RootDomain) InfoNoWait added in v0.6.3

func (r *RootDomain) InfoNoWait() error

InfoNoWait is proxy generated method

Jump to

Keyboard shortcuts

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