Documentation ¶
Index ¶
- type Wallet
- func (w *Wallet) Accept(aRef *core.RecordRef)
- func (w *Wallet) Allocate(amount uint, to *core.RecordRef) core.RecordRef
- func (w *Wallet) GetTotalBalance() uint
- func (w *Wallet) Receive(amount uint, from *core.RecordRef)
- func (w *Wallet) ReturnAndDeleteExpiriedAllowances()
- func (w *Wallet) Transfer(amount uint, to *core.RecordRef)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wallet ¶
type Wallet struct { foundation.BaseContract Balance uint }
Wallet - basic wallet contract
func (*Wallet) GetTotalBalance ¶
func (*Wallet) ReturnAndDeleteExpiriedAllowances ¶
func (w *Wallet) ReturnAndDeleteExpiriedAllowances()
Click to show internal directories.
Click to hide internal directories.