commands

package
v0.0.0-...-1f8a15b Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 86 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HeimdallgRPCAddress string
	HeimdallURL         string
)

Functions

func RootCommand

func RootCommand() *cobra.Command

Types

type ReaderWrapper4

type ReaderWrapper4 struct {
	// contains filtered or unexported fields
}

Implements StateReader and StateWriter

func (*ReaderWrapper4) ReadAccountCode

func (rw *ReaderWrapper4) ReadAccountCode(address libcommon.Address, incarnation uint64, codeHash libcommon.Hash) ([]byte, error)

func (*ReaderWrapper4) ReadAccountCodeSize

func (rw *ReaderWrapper4) ReadAccountCodeSize(address libcommon.Address, incarnation uint64, codeHash libcommon.Hash) (int, error)

func (*ReaderWrapper4) ReadAccountData

func (rw *ReaderWrapper4) ReadAccountData(address libcommon.Address) (*accounts.Account, error)

func (*ReaderWrapper4) ReadAccountIncarnation

func (rw *ReaderWrapper4) ReadAccountIncarnation(address libcommon.Address) (uint64, error)

func (*ReaderWrapper4) ReadAccountStorage

func (rw *ReaderWrapper4) ReadAccountStorage(address libcommon.Address, incarnation uint64, key *libcommon.Hash) ([]byte, error)

func (*ReaderWrapper4) SetTx

func (rw *ReaderWrapper4) SetTx(roTx kv.Tx, ctx *libstate.AggregatorContext)

type WriterWrapper4

type WriterWrapper4 struct {
	// contains filtered or unexported fields
}

func (*WriterWrapper4) CreateContract

func (ww *WriterWrapper4) CreateContract(address libcommon.Address) error

func (*WriterWrapper4) DeleteAccount

func (ww *WriterWrapper4) DeleteAccount(address libcommon.Address, original *accounts.Account) error

func (*WriterWrapper4) UpdateAccountCode

func (ww *WriterWrapper4) UpdateAccountCode(address libcommon.Address, incarnation uint64, codeHash libcommon.Hash, code []byte) error

func (*WriterWrapper4) UpdateAccountData

func (ww *WriterWrapper4) UpdateAccountData(address libcommon.Address, original, account *accounts.Account) error

func (*WriterWrapper4) WriteAccountStorage

func (ww *WriterWrapper4) WriteAccountStorage(address libcommon.Address, incarnation uint64, key *libcommon.Hash, original, value *uint256.Int) error

Jump to

Keyboard shortcuts

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