converters

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: AGPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeaderConverter

type HeaderConverter struct{}

func (HeaderConverter) Convert

func (converter HeaderConverter) Convert(gethHeader *types.Header, blockHash string) core.Header

type TransactionConverter

type TransactionConverter interface {
	ConvertRpcTransactionsToModels(transactions []core.RpcTransaction) ([]core.TransactionModel, error)
}

func NewTransactionConverter

func NewTransactionConverter(client core.EthClient) TransactionConverter

Jump to

Keyboard shortcuts

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