Documentation ¶
Index ¶
- Variables
- func GetClass() core.RecordRef
- type ContractHolder
- type RootDomain
- func (r *RootDomain) CreateMember(name string) string
- func (r *RootDomain) CreateMemberNoWait(name 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) IsAuthorized() bool
- func (r *RootDomain) IsAuthorizedNoWait()
- 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 ¶
View Source
var ClassReference = core.NewRefFromBase58("")
ClassReference to class of this contract
Functions ¶
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 ¶
Contract proxy type
func GetImplementationFrom ¶
func GetImplementationFrom(object core.RecordRef) *RootDomain
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) 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)
Click to show internal directories.
Click to hide internal directories.