Documentation ¶
Index ¶
- Variables
- func GetPrototype() core.RecordRef
- type ContractConstructorHolder
- type Wallet
- func (r *Wallet) Accept(aRef *core.RecordRef) error
- func (r *Wallet) AcceptNoWait(aRef *core.RecordRef) error
- func (r *Wallet) GetBalance() (uint, error)
- func (r *Wallet) GetBalanceNoWait() error
- func (r *Wallet) GetCode() (core.RecordRef, error)
- func (r *Wallet) GetPrototype() (core.RecordRef, error)
- func (r *Wallet) GetReference() core.RecordRef
- func (r *Wallet) Transfer(amount uint, to *core.RecordRef) error
- func (r *Wallet) TransferNoWait(amount uint, to *core.RecordRef) error
Constants ¶
This section is empty.
Variables ¶
View Source
var PrototypeReference, _ = core.NewRefFromBase58("1111gf5wY3hRPnWsn21LhpAqhum2PF4ZdNp7pM5yVD.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) (*Wallet, error)
AsChild saves object as child
func (*ContractConstructorHolder) AsDelegate ¶
func (r *ContractConstructorHolder) AsDelegate(objRef core.RecordRef) (*Wallet, error)
AsDelegate saves object as delegate
type Wallet ¶
Wallet holds proxy type
func GetImplementationFrom ¶
GetImplementationFrom returns proxy to delegate of given type
func (*Wallet) AcceptNoWait ¶
AcceptNoWait is proxy generated method
func (*Wallet) GetBalance ¶ added in v0.6.3
GetBalance is proxy generated method
func (*Wallet) GetBalanceNoWait ¶ added in v0.6.3
GetBalanceNoWait is proxy generated method
func (*Wallet) GetPrototype ¶ added in v0.6.2
GetPrototype returns reference to the code
func (*Wallet) GetReference ¶
GetReference returns reference of the object
Click to show internal directories.
Click to hide internal directories.