Documentation ¶
Index ¶
- Variables
- func GetClass() 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) Allocate(amount uint, to *core.RecordRef) (core.RecordRef, error)
- func (r *Wallet) AllocateNoWait(amount uint, to *core.RecordRef) error
- func (r *Wallet) GetClass() core.RecordRef
- func (r *Wallet) GetReference() core.RecordRef
- func (r *Wallet) GetTotalBalance() (uint, error)
- func (r *Wallet) GetTotalBalanceNoWait() error
- func (r *Wallet) Receive(amount uint, from *core.RecordRef) error
- func (r *Wallet) ReceiveNoWait(amount uint, from *core.RecordRef) error
- func (r *Wallet) ReturnAndDeleteExpiredAllowances() error
- func (r *Wallet) ReturnAndDeleteExpiredAllowancesNoWait() error
- 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 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) (*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) AllocateNoWait ¶
AllocateNoWait is proxy generated method
func (*Wallet) GetReference ¶
GetReference returns reference of the object
func (*Wallet) GetTotalBalance ¶
GetTotalBalance is proxy generated method
func (*Wallet) GetTotalBalanceNoWait ¶
GetTotalBalanceNoWait is proxy generated method
func (*Wallet) ReceiveNoWait ¶
ReceiveNoWait is proxy generated method
func (*Wallet) ReturnAndDeleteExpiredAllowances ¶
ReturnAndDeleteExpiredAllowances is proxy generated method
func (*Wallet) ReturnAndDeleteExpiredAllowancesNoWait ¶
ReturnAndDeleteExpiredAllowancesNoWait is proxy generated method
Click to show internal directories.
Click to hide internal directories.