Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type Account
- func (r *Account) Accept(amountStr string) error
- func (r *Account) GetBalance() (string, error)
- func (r *Account) GetBalanceAsMutable() (string, error)
- func (r *Account) GetBalanceNoWait() error
- func (r *Account) GetCode() (insolar.Reference, error)
- func (r *Account) GetPrototype() (insolar.Reference, error)
- func (r *Account) GetReference() insolar.Reference
- func (r *Account) IncreaseBalance(amountStr string) error
- func (r *Account) IncreaseBalanceAsImmutable(amountStr string) error
- func (r *Account) IncreaseBalanceNoWait(amountStr string) error
- func (r *Account) RollBack(amountStr string) error
- func (r *Account) RollBackAsImmutable(amountStr string) error
- func (r *Account) RollBackNoWait(amountStr string) error
- func (r *Account) Transfer(rootDomainRef insolar.Reference, amountStr string, toMember *insolar.Reference) (interface{}, error)
- func (r *Account) TransferAsImmutable(rootDomainRef insolar.Reference, amountStr string, toMember *insolar.Reference) (interface{}, error)
- func (r *Account) TransferNoWait(rootDomainRef insolar.Reference, amountStr string, toMember *insolar.Reference) error
- func (r *Account) TransferToDeposit(amountStr string, toDeposit insolar.Reference) error
- func (r *Account) TransferToDepositAsImmutable(amountStr string, toDeposit insolar.Reference) error
- func (r *Account) TransferToDepositNoWait(amountStr string, toDeposit insolar.Reference) error
- func (r *Account) TransferToMember(amountStr string, toMember insolar.Reference) error
- func (r *Account) TransferToMemberAsImmutable(amountStr string, toMember insolar.Reference) error
- func (r *Account) TransferToMemberNoWait(amountStr string, toMember insolar.Reference) error
- type ContractConstructorHolder
Constants ¶
This section is empty.
Variables ¶
var PrototypeReference, _ = insolar.NewReferenceFromBase58("0111A62X73fkPeY5vK6NjcXgmL9d37DgRRNtHNLGaEse")
PrototypeReference to prototype of this contract error checking hides in generator
Functions ¶
func GetPrototype ¶
GetPrototype returns reference to the prototype
Types ¶
type Account ¶
type Account struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
Account holds proxy type
func (*Account) GetBalance ¶
GetBalanceAsImmutable is proxy generated method
func (*Account) GetBalanceAsMutable ¶
GetBalance is proxy generated method
func (*Account) GetBalanceNoWait ¶
GetBalanceNoWait is proxy generated method
func (*Account) GetPrototype ¶
GetPrototype returns reference to the code
func (*Account) GetReference ¶
GetReference returns reference of the object
func (*Account) IncreaseBalance ¶ added in v0.9.1
IncreaseBalance is proxy generated method
func (*Account) IncreaseBalanceAsImmutable ¶ added in v0.9.1
IncreaseBalanceAsImmutable is proxy generated method
func (*Account) IncreaseBalanceNoWait ¶ added in v0.9.1
IncreaseBalanceNoWait is proxy generated method
func (*Account) RollBackAsImmutable ¶
RollBackAsImmutable is proxy generated method
func (*Account) RollBackNoWait ¶
RollBackNoWait is proxy generated method
func (*Account) Transfer ¶ added in v0.9.1
func (r *Account) Transfer(rootDomainRef insolar.Reference, amountStr string, toMember *insolar.Reference) (interface{}, error)
Transfer is proxy generated method
func (*Account) TransferAsImmutable ¶ added in v0.9.1
func (r *Account) TransferAsImmutable(rootDomainRef insolar.Reference, amountStr string, toMember *insolar.Reference) (interface{}, error)
TransferAsImmutable is proxy generated method
func (*Account) TransferNoWait ¶ added in v0.9.1
func (r *Account) TransferNoWait(rootDomainRef insolar.Reference, amountStr string, toMember *insolar.Reference) error
TransferNoWait is proxy generated method
func (*Account) TransferToDeposit ¶
TransferToDeposit is proxy generated method
func (*Account) TransferToDepositAsImmutable ¶
TransferToDepositAsImmutable is proxy generated method
func (*Account) TransferToDepositNoWait ¶
TransferToDepositNoWait is proxy generated method
func (*Account) TransferToMember ¶ added in v0.9.1
TransferToMember is proxy generated method
func (*Account) TransferToMemberAsImmutable ¶ added in v0.9.1
TransferToMemberAsImmutable is proxy generated method
type ContractConstructorHolder ¶
type ContractConstructorHolder struct {
// contains filtered or unexported fields
}
ContractConstructorHolder holds logic with object construction