Trait fp_evm::FeeCalculator

source ·
pub trait FeeCalculator {
    // Required method
    fn min_gas_price() -> (U256, Weight);
}
Expand description

Trait that outputs the current transaction gas price.

Required Methods§

source

fn min_gas_price() -> (U256, Weight)

Return the minimal required gas price.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FeeCalculator for ()

source§

fn min_gas_price() -> (U256, Weight)

Implementors§