rootdomain

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 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

Types

type ContractHolder

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

func NewRootDomain

func NewRootDomain() *ContractHolder

func (*ContractHolder) AsChild

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

func (*ContractHolder) AsDelegate

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

type RootDomain

type RootDomain struct {
	Reference core.RecordRef
}

Contract proxy type

func GetImplementationFrom

func GetImplementationFrom(object core.RecordRef) *RootDomain

func GetObject

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

GetObject

func (*RootDomain) CreateMember

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

func (*RootDomain) CreateMemberNoWait

func (r *RootDomain) CreateMemberNoWait(name string)

func (*RootDomain) DumpAllUsers

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

func (*RootDomain) DumpAllUsersNoWait

func (r *RootDomain) DumpAllUsersNoWait()

func (*RootDomain) DumpUserInfo

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

func (*RootDomain) DumpUserInfoNoWait

func (r *RootDomain) DumpUserInfoNoWait(reference string)

func (*RootDomain) GetBalance

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

func (*RootDomain) GetBalanceNoWait

func (r *RootDomain) GetBalanceNoWait(reference string)

func (*RootDomain) GetClass

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

GetClass

func (*RootDomain) GetReference

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

GetReference

func (*RootDomain) IsAuthorized added in v0.4.0

func (r *RootDomain) IsAuthorized() bool

func (*RootDomain) IsAuthorizedNoWait added in v0.4.0

func (r *RootDomain) IsAuthorizedNoWait()

func (*RootDomain) RegisterNode

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

func (*RootDomain) RegisterNodeNoWait

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

func (*RootDomain) SendMoney

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

func (*RootDomain) SendMoneyNoWait

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

Jump to

Keyboard shortcuts

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