Documentation
¶
Index ¶
- Variables
- func GetClass() core.RecordRef
- type ContractConstructorHolder
- type RootDomain
- func (r *RootDomain) Authorize() (string, core.NodeRole, string)
- func (r *RootDomain) AuthorizeNoWait()
- func (r *RootDomain) CreateMember(name string, key string) string
- func (r *RootDomain) CreateMemberNoWait(name string, key string)
- func (r *RootDomain) DumpAllUsers() []byte
- func (r *RootDomain) DumpAllUsersNoWait()
- func (r *RootDomain) DumpUserInfo(reference string) []byte
- func (r *RootDomain) DumpUserInfoNoWait(reference string)
- func (r *RootDomain) GetBalance(reference string) uint
- func (r *RootDomain) GetBalanceNoWait(reference string)
- func (r *RootDomain) GetClass() core.RecordRef
- func (r *RootDomain) GetReference() core.RecordRef
- func (r *RootDomain) RegisterNode(publicKey string, role string) string
- func (r *RootDomain) RegisterNodeNoWait(publicKey string, role string)
- func (r *RootDomain) SendMoney(from string, to string, amount uint) bool
- func (r *RootDomain) SendMoneyNoWait(from string, to string, amount uint)
Constants ¶
This section is empty.
Variables ¶
var ClassReference = core.NewRefFromBase58("")
ClassReference to class of this contract
Functions ¶
Types ¶
type ContractConstructorHolder ¶
type ContractConstructorHolder struct {
// contains filtered or unexported fields
}
ContractConstructorHolder holds logic with object construction
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 ¶
RootDomain holds proxy type
func GetImplementationFrom ¶
func GetImplementationFrom(object core.RecordRef) *RootDomain
GetImplementationFrom returns proxy to delegate of given type
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