Documentation
¶
Index ¶
- Variables
- func GetGasPriceMinimum(vmRunner vm.EVMRunner, currency *common.Address) (*big.Int, error)
- func GetGasPriceMinimumFloor(vmRunner vm.EVMRunner) (*big.Int, error)
- func GetGasPriceSuggestion(vmRunner vm.EVMRunner, currency *common.Address) (*big.Int, error)
- func GetGasTipCapSuggestion(vmRunner vm.EVMRunner, currencyAddress *common.Address) (*big.Int, error)
- func UpdateGasPriceMinimum(vmRunner vm.EVMRunner, lastUsedGas uint64) (*big.Int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FallbackGasPriceMinimum *big.Int = big.NewInt(0) // gas price minimum to return if unable to fetch from contract
)
Functions ¶
func GetGasPriceMinimum ¶
func GetGasPriceMinimumFloor ¶ added in v1.4.2
func GetGasPriceSuggestion ¶
GetGasPriceSuggestion suggests a gas price the suggestionMultiplier times higher than the GPM in the appropriate currency. TODO: Switch to using a caching GPM manager under high load.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.