model

package
v0.0.0-...-5fb9e85 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package model

@author: xwc1125

Package model

@author: xwc1125

Package model

@author: xwc1125

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	accounts.AccountStore
	// Nonce    uint64
	// Balance  *big.Int
	Root     types.Hash
	CodeHash []byte
}

func NewAccount

func NewAccount(addr types.DomainAddress) *Account

func (*Account) DecodeRLP

func (a *Account) DecodeRLP(s *rlp.Stream) error

func (*Account) EncodeRLP

func (a *Account) EncodeRLP(w io.Writer) error

func (Account) IsEmpty

func (a Account) IsEmpty() bool

type Code

type Code []byte

func (Code) String

func (c Code) String() string

type Storage

type Storage map[types.Hash]types.Hash

func (Storage) Copy

func (s Storage) Copy() Storage

func (Storage) String

func (s Storage) String() (str string)

Jump to

Keyboard shortcuts

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