Documentation ¶
Index ¶
- type RootDomain
- func (rd *RootDomain) CreateMember(name string) string
- func (rd *RootDomain) DumpAllUsers() []byte
- func (rd *RootDomain) DumpUserInfo(reference string) []byte
- func (rd *RootDomain) GetBalance(reference string) uint
- func (rd *RootDomain) RegisterNode(publicKey string, role string) string
- func (rd *RootDomain) SendMoney(from string, to string, amount uint) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RootDomain ¶
type RootDomain struct {
foundation.BaseContract
}
func NewRootDomain ¶
func NewRootDomain() *RootDomain
func (*RootDomain) CreateMember ¶
func (rd *RootDomain) CreateMember(name string) string
func (*RootDomain) DumpAllUsers ¶
func (rd *RootDomain) DumpAllUsers() []byte
func (*RootDomain) DumpUserInfo ¶
func (rd *RootDomain) DumpUserInfo(reference string) []byte
func (*RootDomain) GetBalance ¶
func (rd *RootDomain) GetBalance(reference string) uint
func (*RootDomain) RegisterNode ¶
func (rd *RootDomain) RegisterNode(publicKey string, role string) string
Click to show internal directories.
Click to hide internal directories.