Documentation ¶
Index ¶
- Variables
- func GetClass() core.RecordRef
- type ContractHolder
- 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) ReturnAndDeleteExpiriedAllowances()
- func (r *Wallet) ReturnAndDeleteExpiriedAllowancesNoWait()
- 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 ContractHolder ¶
type ContractHolder struct {
// contains filtered or unexported fields
}
func New ¶
func New(balance uint) *ContractHolder
func (*ContractHolder) AsDelegate ¶
func (r *ContractHolder) AsDelegate(objRef core.RecordRef) *Wallet
type Wallet ¶
Contract proxy type
func GetImplementationFrom ¶
func (*Wallet) AcceptNoWait ¶
func (*Wallet) GetTotalBalance ¶
func (*Wallet) GetTotalBalanceNoWait ¶
func (r *Wallet) GetTotalBalanceNoWait()
func (*Wallet) ReturnAndDeleteExpiriedAllowances ¶
func (r *Wallet) ReturnAndDeleteExpiriedAllowances()
func (*Wallet) ReturnAndDeleteExpiriedAllowancesNoWait ¶
func (r *Wallet) ReturnAndDeleteExpiriedAllowancesNoWait()
Click to show internal directories.
Click to hide internal directories.