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) 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 ContractConstructorHolder ¶ added in v0.5.0
type ContractConstructorHolder struct {
// contains filtered or unexported fields
}
func New ¶
func New(balance uint) *ContractConstructorHolder
func (*ContractConstructorHolder) AsChild ¶ added in v0.5.0
func (r *ContractConstructorHolder) AsChild(objRef core.RecordRef) *Wallet
func (*ContractConstructorHolder) AsDelegate ¶ added in v0.5.0
func (r *ContractConstructorHolder) 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.