rootdomain

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PrototypeReference, _ = insolar.NewObjectReferenceFromString("insolar:0AAABAu9gOQ8PRiG_hT8l-hHXMXvc89IhJBemCzzAglQ")

PrototypeReference to prototype of this contract error checking hides in generator

Functions

func GetPrototype

func GetPrototype() insolar.Reference

GetPrototype returns reference to the prototype

Types

type ContractConstructorHolder

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

ContractConstructorHolder holds logic with object construction

func (*ContractConstructorHolder) AsChild

AsChild saves object as child

type RootDomain

type RootDomain struct {
	Reference insolar.Reference
	Prototype insolar.Reference
	Code      insolar.Reference
}

RootDomain holds proxy type

func GetObject

func GetObject(ref insolar.Reference) *RootDomain

GetObject returns proxy object

func (*RootDomain) AddNewMemberToPublicKeyMap

func (r *RootDomain) AddNewMemberToPublicKeyMap(publicKey string, memberRef insolar.Reference) error

AddNewMemberToPublicKeyMapAsImmutable is proxy generated method

func (*RootDomain) AddNewMemberToPublicKeyMapAsMutable

func (r *RootDomain) AddNewMemberToPublicKeyMapAsMutable(publicKey string, memberRef insolar.Reference) error

AddNewMemberToPublicKeyMap is proxy generated method

func (*RootDomain) GetCode

func (r *RootDomain) GetCode() (insolar.Reference, error)

GetCode returns reference to the code

func (*RootDomain) GetMemberByPublicKey

func (r *RootDomain) GetMemberByPublicKey(publicKey string) (*insolar.Reference, error)

GetMemberByPublicKeyAsImmutable is proxy generated method

func (*RootDomain) GetMemberByPublicKeyAsMutable

func (r *RootDomain) GetMemberByPublicKeyAsMutable(publicKey string) (*insolar.Reference, error)

GetMemberByPublicKey is proxy generated method

func (*RootDomain) GetPrototype

func (r *RootDomain) GetPrototype() (insolar.Reference, error)

GetPrototype returns reference to the code

func (*RootDomain) GetReference

func (r *RootDomain) GetReference() insolar.Reference

GetReference returns reference of the object

Jump to

Keyboard shortcuts

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