Documentation ¶
Index ¶
- Variables
- func GetClass() core.RecordRef
- type ContractConstructorHolder
- type Wallet
- func (r *Wallet) Accept(aRef *core.RecordRef)
- func (r *Wallet) AcceptNoWait(aRef *core.RecordRef)
- func (r *Wallet) Allocate(amount uint, to *core.RecordRef) core.RecordRef
- func (r *Wallet) AllocateNoWait(amount uint, to *core.RecordRef)
- func (r *Wallet) GetClass() core.RecordRef
- func (r *Wallet) GetReference() core.RecordRef
- func (r *Wallet) GetTotalBalance() uint
- func (r *Wallet) GetTotalBalanceNoWait()
- func (r *Wallet) Receive(amount uint, from *core.RecordRef)
- func (r *Wallet) ReceiveNoWait(amount uint, from *core.RecordRef)
- func (r *Wallet) ReturnAndDeleteExpiredAllowances()
- func (r *Wallet) ReturnAndDeleteExpiredAllowancesNoWait()
- func (r *Wallet) Transfer(amount uint, to *core.RecordRef)
- func (r *Wallet) TransferNoWait(amount uint, to *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) *Wallet
AsChild saves object as child
func (*ContractConstructorHolder) AsDelegate ¶
func (r *ContractConstructorHolder) AsDelegate(objRef core.RecordRef) *Wallet
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 ¶
func (r *Wallet) GetTotalBalanceNoWait()
GetTotalBalanceNoWait is proxy generated method
func (*Wallet) ReceiveNoWait ¶
ReceiveNoWait is proxy generated method
func (*Wallet) ReturnAndDeleteExpiredAllowances ¶
func (r *Wallet) ReturnAndDeleteExpiredAllowances()
ReturnAndDeleteExpiredAllowances is proxy generated method
func (*Wallet) ReturnAndDeleteExpiredAllowancesNoWait ¶
func (r *Wallet) ReturnAndDeleteExpiredAllowancesNoWait()
ReturnAndDeleteExpiredAllowancesNoWait is proxy generated method
Click to show internal directories.
Click to hide internal directories.