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) GetCode() (core.RecordRef, error)
- func (r *Member) GetName() (string, error)
- func (r *Member) GetNameNoWait() error
- func (r *Member) GetPrototype() (core.RecordRef, error)
- func (r *Member) GetPublicKey() (string, error)
- func (r *Member) GetPublicKeyNoWait() error
- func (r *Member) GetReference() core.RecordRef
Constants ¶
This section is empty.
Variables ¶
View Source
var PrototypeReference, _ = core.NewRefFromBase58("1111DojgftvVq6ZYswwJEcjpBU6kgR9Cqq4hKMrgWr.11111111111111111111111111111111")
PrototypeReference to prototype of this contract error checking hides in generator
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 code
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
Click to show internal directories.
Click to hide internal directories.