package
0.10.16-rc1
Repository: https://github.com/smartcontractkit/chainlink.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BumpGasPriceOnly will increase the price and apply multiplier to the gas limit.
HexToInt64 performs the inverse of Int64ToHex Returns 0 on invalid input.
Int64ToHex converts an int64 into go-ethereum's hex representation.
NewBlockHistoryEstimator returns a new BlockHistoryEstimator that listens for new heads and updates the base gas price dynamically based on the configured percentile of gas prices in that block.
No description provided by the author
No description provided by the author
NewOptimismEstimator returns a new optimism estimator.

# Constants

No description provided by the author
OptForceRefetch forces the estimator to bust a cache if necessary.

# Variables

No description provided by the author

# Structs

Block represents an ethereum block This type is only used for the block history estimator, and can be expensive to unmarshal.
go:generate mockery --name Config --output ./mocks/ --case=underscore.
OptimismGasPricesResponse is the shape of the response when calling rollup_gasPrices.
Transaction represents an ethereum transaction Use our own type because geth's type has validation failures on e.g.

# Interfaces

Config defines an interface for configuration in the gas packagego:generate mockery --name Config --output ./mocks/ --case=underscore.
Estimator provides an interface for estimating gas price and limitgo:generate mockery --name Estimator --output ./mocks/ --case=underscore.

# Type aliases

Opt is an option for a gas estimator.
No description provided by the author