evmtypes

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: Apache-2.0, BSD-2-Clause Imports: 9 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 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 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 GetSender

func GetSender(tx *types.Transaction) common.Address

func Signer

func Signer(chainID *big.Int) types.Signer

Types

This section is empty.

Jump to

Keyboard shortcuts

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