Documentation ¶
Index ¶
- Variables
- func GetClass() core.RecordRef
- type ContractConstructorHolder
- type Member
- func (r *Member) AuthorizedCall(ref core.RecordRef, delegate core.RecordRef, method string, params []byte, ...) ([]byte, *foundation.Error)
- func (r *Member) AuthorizedCallNoWait(ref core.RecordRef, delegate core.RecordRef, method string, params []byte, ...)
- func (r *Member) GetClass() core.RecordRef
- func (r *Member) GetName() string
- func (r *Member) GetNameNoWait()
- func (r *Member) GetPublicKey() string
- func (r *Member) GetPublicKeyNoWait()
- func (r *Member) GetReference() core.RecordRef
Constants ¶
This section is empty.
Variables ¶
View Source
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) *Member
AsChild saves object as child
func (*ContractConstructorHolder) AsDelegate ¶
func (r *ContractConstructorHolder) AsDelegate(objRef core.RecordRef) *Member
AsDelegate saves object as delegate
type Member ¶
Member holds proxy type
func GetImplementationFrom ¶
GetImplementationFrom returns proxy to delegate of given type
func (*Member) AuthorizedCall ¶
func (r *Member) AuthorizedCall(ref core.RecordRef, delegate core.RecordRef, method string, params []byte, seed []byte, sign []byte) ([]byte, *foundation.Error)
AuthorizedCall is proxy generated method
func (*Member) AuthorizedCallNoWait ¶
func (r *Member) AuthorizedCallNoWait(ref core.RecordRef, delegate core.RecordRef, method string, params []byte, seed []byte, sign []byte)
AuthorizedCallNoWait is proxy generated method
func (*Member) GetNameNoWait ¶
func (r *Member) GetNameNoWait()
GetNameNoWait is proxy generated method
func (*Member) GetPublicKey ¶
GetPublicKey is proxy generated method
func (*Member) GetPublicKeyNoWait ¶
func (r *Member) GetPublicKeyNoWait()
GetPublicKeyNoWait is proxy generated method
func (*Member) GetReference ¶
GetReference returns reference of the object
Click to show internal directories.
Click to hide internal directories.