Documentation ¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type Account
- func (r *Account) Burn(amountStr string, fromMember insolar.Reference, request insolar.Reference) error
- func (r *Account) BurnAsImmutable(amountStr string, fromMember insolar.Reference, request insolar.Reference) error
- func (r *Account) GetBalance() (string, error)
- func (r *Account) GetBalanceAsMutable() (string, 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) ReallocateToDeposit(amountStr string, toDeposit insolar.Reference, fromMember insolar.Reference, ...) error
- func (r *Account) ReallocateToDepositAsImmutable(amountStr string, toDeposit insolar.Reference, fromMember insolar.Reference, ...) error
- func (r *Account) Transfer(amountStr string, toMember *insolar.Reference, fromMember insolar.Reference, ...) (interface{}, error)
- func (r *Account) TransferAsImmutable(amountStr string, toMember *insolar.Reference, fromMember insolar.Reference, ...) (interface{}, error)
- type ContractConstructorHolder
Constants ¶
This section is empty.
Variables ¶
View Source
var PrototypeReference, _ = insolar.NewObjectReferenceFromString("insolar:0AAABAijqpfzqLqOhivOFDQOK5OO_gW78OzTTniCChIU")
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) Burn ¶
func (r *Account) Burn(amountStr string, fromMember insolar.Reference, request insolar.Reference) error
Burn is proxy generated method
func (*Account) BurnAsImmutable ¶
func (r *Account) BurnAsImmutable(amountStr string, fromMember insolar.Reference, request insolar.Reference) error
BurnAsImmutable is proxy generated method
func (*Account) GetBalance ¶
GetBalanceAsImmutable is proxy generated method
func (*Account) GetBalanceAsMutable ¶
GetBalance 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 ¶
IncreaseBalance is proxy generated method
func (*Account) IncreaseBalanceAsImmutable ¶
IncreaseBalanceAsImmutable is proxy generated method
func (*Account) ReallocateToDeposit ¶
func (r *Account) ReallocateToDeposit(amountStr string, toDeposit insolar.Reference, fromMember insolar.Reference, request insolar.Reference) error
ReallocateToDeposit is proxy generated method
func (*Account) ReallocateToDepositAsImmutable ¶
func (r *Account) ReallocateToDepositAsImmutable(amountStr string, toDeposit insolar.Reference, fromMember insolar.Reference, request insolar.Reference) error
ReallocateToDepositAsImmutable is proxy generated method
type ContractConstructorHolder ¶
type ContractConstructorHolder struct {
// contains filtered or unexported fields
}
ContractConstructorHolder holds logic with object construction
Click to show internal directories.
Click to hide internal directories.