Documentation ¶
Index ¶
- Variables
- func GetPrototype() core.RecordRef
- type ContractConstructorHolder
- type Member
- func (r *Member) Call(rootDomain core.RecordRef, method string, params []byte, seed []byte, ...) (interface{}, error)
- func (r *Member) CallNoWait(rootDomain core.RecordRef, method string, params []byte, seed []byte, ...) error
- func (r *Member) GetName() (string, error)
- func (r *Member) GetNameNoWait() error
- func (r *Member) GetPrototype() core.RecordRef
- func (r *Member) GetPublicKey() (string, error)
- func (r *Member) GetPublicKeyNoWait() error
- func (r *Member) GetReference() core.RecordRef
- func (r *Member) RegisterNodeCall(ref core.RecordRef, params []byte) (interface{}, error)
- func (r *Member) RegisterNodeCallNoWait(ref core.RecordRef, params []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var PrototypeReference = core.NewRefFromBase58("")
PrototypeReference to prototype of this contract
Functions ¶
func GetPrototype ¶ added in v0.6.2
GetPrototype returns reference to the prototype
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) (*Member, error)
AsChild saves object as child
func (*ContractConstructorHolder) AsDelegate ¶
func (r *ContractConstructorHolder) AsDelegate(objRef core.RecordRef) (*Member, error)
AsDelegate saves object as delegate
type Member ¶
Member holds proxy type
func GetImplementationFrom ¶
GetImplementationFrom returns proxy to delegate of given type
func (*Member) Call ¶ added in v0.6.1
func (r *Member) Call(rootDomain core.RecordRef, method string, params []byte, seed []byte, sign []byte) (interface{}, error)
Call is proxy generated method
func (*Member) CallNoWait ¶ added in v0.6.1
func (r *Member) CallNoWait(rootDomain core.RecordRef, method string, params []byte, seed []byte, sign []byte) error
CallNoWait is proxy generated method
func (*Member) GetNameNoWait ¶
GetNameNoWait is proxy generated method
func (*Member) GetPrototype ¶ added in v0.6.2
GetPrototype returns reference to the prototype
func (*Member) GetPublicKey ¶
GetPublicKey is proxy generated method
func (*Member) GetPublicKeyNoWait ¶
GetPublicKeyNoWait is proxy generated method
func (*Member) GetReference ¶
GetReference returns reference of the object
func (*Member) RegisterNodeCall ¶ added in v0.6.2
RegisterNodeCall is proxy generated method
Click to show internal directories.
Click to hide internal directories.