Trait FeeCalculator

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

Trait that outputs the current transaction gas price.

Required Methods§

fn min_gas_price() -> (U256, Weight)

Return the minimal required gas price.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl FeeCalculator for ()

§

fn min_gas_price() -> (U256, Weight)

Implementors§