account

package
v0.7.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2019 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, balances map[common.Uint256]common.Fixed64) *AccountState

func (*AccountState) Deserialize

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

func (*AccountState) Serialize

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

func (*AccountState) ToArray

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

Jump to

Keyboard shortcuts

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