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 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
Click to show internal directories.
Click to hide internal directories.