backendsimulation

package
v0.0.0-...-fa704fd Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...Option) transaction.Backend

Types

type AccountAtKey

type AccountAtKey struct {
	BlockNumber uint64
	Account     common.Address
}

type Block

type Block struct {
	Number   uint64
	Receipts map[common.Hash]*xwctypes.RpcTransactionReceipt
	NoncesAt map[AccountAtKey]uint64
}

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithBlocks

func WithBlocks(blocks ...Block) Option

Jump to

Keyboard shortcuts

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