Versions in this module Expand all Collapse all v0 v0.2.7 Jul 12, 2021 Changes in this version + var DefaultMaxPrice = big.NewInt(500 * params.GWei) type Config + MaxPrice *big.Int + type OracleBackend interface + BlockByNumber func(ctx context.Context, number rpc.BlockNumber) (*types.Block, error) + ChainConfig func() *params.ChainConfig + HeaderByNumber func(ctx context.Context, number rpc.BlockNumber) (*types.Header, error) v0.1.4 Mar 6, 2020 Changes in this version + type Config struct + Blocks int + Default *big.Int + Percentile int + type Oracle struct + func NewOracle(backend ethapi.Backend, params Config) *Oracle + func (gpo *Oracle) SuggestPrice(ctx context.Context) (*big.Int, error)