primitives

package
v1.5.10 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogSpaceNative   uint8 = 1
	LogSpaceEthereum uint8 = 2
)

Variables

This section is empty.

Functions

func MustRLPEncodeBlock added in v1.5.8

func MustRLPEncodeBlock(coreBlock *types.BlockSummary, evmBaseFeePerGas *big.Int) []byte

func MustRLPEncodeReceipt added in v1.5.8

func MustRLPEncodeReceipt(receipt *types.TransactionReceipt) []byte

Types

type Bool

type Bool bool

Bool represents a bool value that could be RLP encoded in Rust version.

func (Bool) EncodeRLP

func (b Bool) EncodeRLP(w io.Writer) error

type StorageChange added in v1.5.8

type StorageChange struct {
	Account     common.Address
	Collaterals uint64
}

type TxLog added in v1.5.8

type TxLog struct {
	Addr   common.Address
	Topics []common.Hash
	Data   []byte
	Space  uint8
}

func (TxLog) EncodeRLP added in v1.5.8

func (log TxLog) EncodeRLP(w io.Writer) error

EncodeRLP implements the rlp.Encoder interface.

Jump to

Keyboard shortcuts

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