Documentation
¶
Index ¶
- Variables
- func GetPrototype() insolar.Reference
- type BurnedAccount
- func (r *BurnedAccount) GetBalance() (string, error)
- func (r *BurnedAccount) GetBalanceAsMutable() (string, error)
- func (r *BurnedAccount) GetCode() (insolar.Reference, error)
- func (r *BurnedAccount) GetPrototype() (insolar.Reference, error)
- func (r *BurnedAccount) GetReference() insolar.Reference
- func (r *BurnedAccount) IncreaseBalance(amountStr string) error
- func (r *BurnedAccount) IncreaseBalanceAsImmutable(amountStr string) error
- type ContractConstructorHolder
Constants ¶
This section is empty.
Variables ¶
View Source
var PrototypeReference, _ = insolar.NewObjectReferenceFromString("insolar:0AAABAjH5ZGIj4bkQEcf6KU4nDakIgzfJhTLRsbG2Sog")
PrototypeReference to prototype of this contract error checking hides in generator
Functions ¶
func GetPrototype ¶
GetPrototype returns reference to the prototype
Types ¶
type BurnedAccount ¶
type BurnedAccount struct { Reference insolar.Reference Prototype insolar.Reference Code insolar.Reference }
BurnedAccount holds proxy type
func GetObject ¶
func GetObject(ref insolar.Reference) *BurnedAccount
GetObject returns proxy object
func (*BurnedAccount) GetBalance ¶
func (r *BurnedAccount) GetBalance() (string, error)
GetBalanceAsImmutable is proxy generated method
func (*BurnedAccount) GetBalanceAsMutable ¶
func (r *BurnedAccount) GetBalanceAsMutable() (string, error)
GetBalance is proxy generated method
func (*BurnedAccount) GetCode ¶
func (r *BurnedAccount) GetCode() (insolar.Reference, error)
GetCode returns reference to the code
func (*BurnedAccount) GetPrototype ¶
func (r *BurnedAccount) GetPrototype() (insolar.Reference, error)
GetPrototype returns reference to the code
func (*BurnedAccount) GetReference ¶
func (r *BurnedAccount) GetReference() insolar.Reference
GetReference returns reference of the object
func (*BurnedAccount) IncreaseBalance ¶
func (r *BurnedAccount) IncreaseBalance(amountStr string) error
IncreaseBalance is proxy generated method
func (*BurnedAccount) IncreaseBalanceAsImmutable ¶
func (r *BurnedAccount) IncreaseBalanceAsImmutable(amountStr string) error
IncreaseBalanceAsImmutable is proxy generated method
type ContractConstructorHolder ¶
type ContractConstructorHolder struct {
// contains filtered or unexported fields
}
ContractConstructorHolder holds logic with object construction
func (*ContractConstructorHolder) AsChild ¶
func (r *ContractConstructorHolder) AsChild(objRef insolar.Reference) (*BurnedAccount, error)
AsChild saves object as child
Click to show internal directories.
Click to hide internal directories.