Documentation ¶
Index ¶
- Variables
- type Wallet
- func (w *Wallet) Accept(a *allowance.Allowance)
- func (w *Wallet) Allocate(amount uint, to foundation.Reference) *allowance.Allowance
- func (w *Wallet) GetTotalBalance() uint
- func (w *Wallet) Receive(amount uint, from foundation.Reference)
- func (w *Wallet) ReturnAndDeleteExpiriedAllowances()
- func (w *Wallet) Transfer(amount uint, to foundation.Reference)
Constants ¶
This section is empty.
Variables ¶
View Source
var TypeReference = foundation.Reference("wallet")
Functions ¶
This section is empty.
Types ¶
type Wallet ¶
type Wallet struct { foundation.BaseContract // contains filtered or unexported fields }
func (*Wallet) GetTotalBalance ¶
func (*Wallet) ReturnAndDeleteExpiriedAllowances ¶
func (w *Wallet) ReturnAndDeleteExpiriedAllowances()
Click to show internal directories.
Click to hide internal directories.