tellor

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const ComponentName = "transactorTellor"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LogLevel      string
	GasMaxTipGwei uint `help:"Hard limit of the gas tip in Gwei."`
}

type Tellor

type Tellor struct {
	// contains filtered or unexported fields
}

Tellor implements the Transactor interface.

func New

func New(
	logger log.Logger,
	cfg Config,
	gasPriceQuerier gas_price.GasPriceQuerier,
	client *ethclient.Client,
	account *ethereum.Account,
	contract contracts.TellorCaller,
) (*Tellor, error)

func (*Tellor) Transact

func (self *Tellor) Transact(ctx context.Context, solution string, ids [5]*big.Int, vals [5]*big.Int) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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