types

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const EpochNumberNil uint64 = math.MaxUint64

Constant placehold for uninitialized (or unset) epoch number

Variables

This section is empty.

Functions

This section is empty.

Types

type GasStationPrice

type GasStationPrice struct {
	Fast    *hexutil.Big `json:"fast"`    // Recommended fast gas price in drip
	Fastest *hexutil.Big `json:"fastest"` // Recommended fastest gas price in drip
	SafeLow *hexutil.Big `json:"safeLow"` // Recommended safe gas price in drip
	Average *hexutil.Big `json:"average"` // Recommended average gas price in drip
}

type RangeUint64

type RangeUint64 struct {
	From uint64
	To   uint64
}
var EpochRangeNil RangeUint64 = RangeUint64{From: EpochNumberNil, To: EpochNumberNil}

func (RangeUint64) String

func (r RangeUint64) String() string

func (*RangeUint64) ToSlice

func (r *RangeUint64) ToSlice() []uint64

Jump to

Keyboard shortcuts

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