Documentation ¶
Index ¶
- Variables
- func GetClass() core.RecordRef
- type ContractHolder
- type NodeDomain
- func (r *NodeDomain) GetClass() core.RecordRef
- func (r *NodeDomain) GetNodeRecord(ref core.RecordRef) *noderecord.NodeRecord
- func (r *NodeDomain) GetNodeRecordNoWait(ref core.RecordRef)
- func (r *NodeDomain) GetReference() core.RecordRef
- func (r *NodeDomain) IsAuthorized(nodeRef core.RecordRef, seed []byte, signatureRaw []byte) bool
- func (r *NodeDomain) IsAuthorizedNoWait(nodeRef core.RecordRef, seed []byte, signatureRaw []byte)
- func (r *NodeDomain) RegisterNode(pk string, role string) core.RecordRef
- func (r *NodeDomain) RegisterNodeNoWait(pk string, role string)
- func (r *NodeDomain) RemoveNode(nodeRef core.RecordRef)
- func (r *NodeDomain) RemoveNodeNoWait(nodeRef core.RecordRef)
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 NewNodeDomain ¶
func NewNodeDomain() *ContractHolder
func (*ContractHolder) AsChild ¶
func (r *ContractHolder) AsChild(objRef core.RecordRef) *NodeDomain
func (*ContractHolder) AsDelegate ¶
func (r *ContractHolder) AsDelegate(objRef core.RecordRef) *NodeDomain
type NodeDomain ¶
Contract proxy type
func GetImplementationFrom ¶
func GetImplementationFrom(object core.RecordRef) *NodeDomain
func (*NodeDomain) GetNodeRecord ¶
func (r *NodeDomain) GetNodeRecord(ref core.RecordRef) *noderecord.NodeRecord
func (*NodeDomain) GetNodeRecordNoWait ¶
func (r *NodeDomain) GetNodeRecordNoWait(ref core.RecordRef)
func (*NodeDomain) IsAuthorized ¶ added in v0.4.0
func (*NodeDomain) IsAuthorizedNoWait ¶ added in v0.4.0
func (r *NodeDomain) IsAuthorizedNoWait(nodeRef core.RecordRef, seed []byte, signatureRaw []byte)
func (*NodeDomain) RegisterNode ¶
func (r *NodeDomain) RegisterNode(pk string, role string) core.RecordRef
func (*NodeDomain) RegisterNodeNoWait ¶
func (r *NodeDomain) RegisterNodeNoWait(pk string, role string)
func (*NodeDomain) RemoveNode ¶
func (r *NodeDomain) RemoveNode(nodeRef core.RecordRef)
func (*NodeDomain) RemoveNodeNoWait ¶
func (r *NodeDomain) RemoveNodeNoWait(nodeRef core.RecordRef)
Click to show internal directories.
Click to hide internal directories.