Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type ContractConstructorHolder
- type Wallet
- func (r *Wallet) Accept(amountStr string, assetName string) error
- func (r *Wallet) AcceptAsImmutable(amountStr string, assetName string) error
- func (r *Wallet) AcceptNoWait(amountStr string, assetName string) error
- func (r *Wallet) GetAccount(assetName string) (*insolar.Reference, error)
- func (r *Wallet) GetAccountAsImmutable(assetName string) (*insolar.Reference, error)
- func (r *Wallet) GetAccountNoWait(assetName string) error
- func (r *Wallet) GetBalance(assetName string) (string, error)
- func (r *Wallet) GetBalanceAsImmutable(assetName string) (string, error)
- func (r *Wallet) GetBalanceNoWait(assetName string) error
- func (r *Wallet) GetCode() (insolar.Reference, error)
- func (r *Wallet) GetPrototype() (insolar.Reference, error)
- func (r *Wallet) GetReference() insolar.Reference
- func (r *Wallet) Transfer(rootDomainRef insolar.Reference, assetName string, amountStr string, ...) (interface{}, error)
- func (r *Wallet) TransferAsImmutable(rootDomainRef insolar.Reference, assetName string, amountStr string, ...) (interface{}, error)
- func (r *Wallet) TransferNoWait(rootDomainRef insolar.Reference, assetName string, amountStr string, ...) error
Constants ¶
This section is empty.
Variables ¶
var PrototypeReference, _ = insolar.NewReferenceFromBase58("111A5gmRD1ZbHjQh7DgH9SrCK4a1qfwEUP5xAir6i8L.11111111111111111111111111111111")
PrototypeReference to prototype of this contract error checking hides in generator
Functions ¶
func GetPrototype ¶
GetPrototype returns reference to the prototype
Types ¶
type ContractConstructorHolder ¶
type ContractConstructorHolder struct {
// contains filtered or unexported fields
}
ContractConstructorHolder holds logic with object construction
func New ¶
func New(accountReference insolar.Reference) *ContractConstructorHolder
New is constructor
type Wallet ¶
type Wallet struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
Wallet holds proxy type
func (*Wallet) AcceptAsImmutable ¶
AcceptAsImmutable is proxy generated method
func (*Wallet) AcceptNoWait ¶
AcceptNoWait is proxy generated method
func (*Wallet) GetAccount ¶
GetAccount is proxy generated method
func (*Wallet) GetAccountAsImmutable ¶
GetAccountAsImmutable is proxy generated method
func (*Wallet) GetAccountNoWait ¶
GetAccountNoWait is proxy generated method
func (*Wallet) GetBalance ¶
GetBalance is proxy generated method
func (*Wallet) GetBalanceAsImmutable ¶
GetBalanceAsImmutable is proxy generated method
func (*Wallet) GetBalanceNoWait ¶
GetBalanceNoWait is proxy generated method
func (*Wallet) GetPrototype ¶
GetPrototype returns reference to the code
func (*Wallet) GetReference ¶
GetReference returns reference of the object
func (*Wallet) Transfer ¶
func (r *Wallet) Transfer(rootDomainRef insolar.Reference, assetName string, amountStr string, toMember *insolar.Reference) (interface{}, error)
Transfer is proxy generated method