burnedaccount

package
v1.12.4-0...-e320c17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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

func GetPrototype() insolar.Reference

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 New

func New(balance string) *ContractConstructorHolder

New is constructor

func (*ContractConstructorHolder) AsChild

AsChild saves object as child

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL