types

package
v1.2.9-rc13 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Transactions []string `json:"transactions"`
	GasUsed      string   `json:"gasUsed"`
}

type BlockNotification

type BlockNotification struct {
	Hash   common.Hash
	Height *big.Int
	Header *types.Header
	Logs   []types.Log
}

type NonceTracker added in v1.1.0

type NonceTracker struct {
	*sync.Mutex
	// contains filtered or unexported fields
}

func (*NonceTracker) Get added in v1.1.0

func (n *NonceTracker) Get(addr common.Address) *big.Int

func (*NonceTracker) Set added in v1.1.0

func (n *NonceTracker) Set(addr common.Address, nonce *big.Int)

type NonceTrackerI added in v1.1.0

type NonceTrackerI interface {
	Get(common.Address) *big.Int
	Set(common.Address, *big.Int)
}

func NewNonceTracker added in v1.1.0

func NewNonceTracker() NonceTrackerI

NewNonceTracker

type NonceValue added in v1.2.9

type NonceValue struct {
	Previous *big.Int
	Current  *big.Int
}

Jump to

Keyboard shortcuts

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