account

package
v0.0.0-...-67b0b38 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountState

type AccountState struct {
	ProgramHash common.Uint160
	IsFrozen    bool
	Balances    map[common.Uint256]common.Fixed64
}

func NewAccountState

func NewAccountState(programhash common.Uint160, balance map[common.Uint256]common.Fixed64) *AccountState

func (*AccountState) Deserialize

func (acc *AccountState) Deserialize(r io.Reader) error

func (*AccountState) Serialize

func (acc *AccountState) Serialize(w io.Writer) error

func (*AccountState) ToArray

func (acc *AccountState) ToArray() []byte

Jump to

Keyboard shortcuts

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