evmtypes

package
v0.5.0-alpha.12-hotfix-2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBlock

func DecodeBlock(b []byte) (*types.Block, error)

func DecodeCallMsg

func DecodeCallMsg(callArgsBytes []byte) (ret ethereum.CallMsg, err error)

func DecodeChainID added in v0.3.0

func DecodeChainID(b []byte, def ...uint16) (uint16, error)

func DecodeFilterQuery

func DecodeFilterQuery(b []byte) (*ethereum.FilterQuery, error)

func DecodeGenesisAlloc

func DecodeGenesisAlloc(b []byte) (core.GenesisAlloc, error)

func DecodeLog

func DecodeLog(b []byte, includeDerivedFields bool) (*types.Log, error)

func DecodeLogs

func DecodeLogs(b []byte) ([]*types.Log, error)

func DecodeReceipt

func DecodeReceipt(b []byte) (*types.Receipt, error)

func DecodeReceiptFull

func DecodeReceiptFull(receiptBytes []byte) (*types.Receipt, error)

func DecodeTransaction

func DecodeTransaction(b []byte) (*types.Transaction, error)

func EncodeBlock

func EncodeBlock(block *types.Block) []byte

func EncodeCallMsg

func EncodeCallMsg(c ethereum.CallMsg) []byte

func EncodeChainID added in v0.3.0

func EncodeChainID(chainID uint16) []byte

func EncodeFilterQuery

func EncodeFilterQuery(q *ethereum.FilterQuery) []byte

func EncodeGenesisAlloc

func EncodeGenesisAlloc(alloc core.GenesisAlloc) []byte

func EncodeLog

func EncodeLog(log *types.Log, includeDerivedFields bool) []byte

func EncodeLogs

func EncodeLogs(logs []*types.Log) []byte

func EncodeReceipt

func EncodeReceipt(receipt *types.Receipt) []byte

EncodeReceipt serializes the receipt in RLP format

func EncodeReceiptFull

func EncodeReceiptFull(r *types.Receipt) []byte

EncodeReceiptFull encodes the receipt including fields not serialized by EncodeReceipt

func EncodeTransaction

func EncodeTransaction(tx *types.Transaction) []byte

func MustDecodeChainID added in v0.3.0

func MustDecodeChainID(b []byte, def ...uint16) uint16

Types

This section is empty.

Jump to

Keyboard shortcuts

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