Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TypeReference = foundation.Reference("allowance")
Functions ¶
This section is empty.
Types ¶
type Allowance ¶
type Allowance struct { foundation.BaseContract To foundation.Reference Amount uint ExpireTime int64 }
func NewAllowance ¶
func NewAllowance(to foundation.Reference, amount uint, expire int64) *Allowance
func (*Allowance) DeleteExpiredAllowance ¶
func (*Allowance) GetBalanceForOwner ¶
func (*Allowance) TakeAmount ¶
Click to show internal directories.
Click to hide internal directories.