ethereum

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigGasEstimationFactor = "gasEstimationFactor"
	ConfigDataFormat          = "dataFormat"
)
View Source
const (
	DefaultListenerPort        = 5102
	DefaultGasEstimationFactor = 1.5
)

Variables

This section is empty.

Functions

func InitConfig

func InitConfig(conf config.Section)

func NewEthereumConnector

func NewEthereumConnector(conf config.Section) ffconnector.Connector

Types

type TransactionReceipt

type TransactionReceipt struct {
	BlockHash         *ethtypes.HexBytes0xPrefix `json:"blockHash"`
	BlockNumber       *ethtypes.HexInteger       `json:"blockNumber"`
	ContractAddress   *ethtypes.Address0xHex     `json:"contractAddress"`
	CumulativeGasUsed *ethtypes.HexInteger       `json:"cumulativeGasUsed"`
	TransactionHash   *ethtypes.HexBytes0xPrefix `json:"transactionHash"`
	From              *ethtypes.Address0xHex     `json:"from"`
	GasUsed           *ethtypes.HexInteger       `json:"gasUsed"`
	Status            *ethtypes.HexInteger       `json:"status"`
	To                *ethtypes.Address0xHex     `json:"to"`
	TransactionIndex  *ethtypes.HexInteger       `json:"transactionIndex"`
}

TransactionReceipt is the receipt obtained over JSON/RPC from the ethereum client

Jump to

Keyboard shortcuts

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