pub trait FeeCalculator {
// Required method
fn min_gas_price() -> (U256, Weight);
}
Expand description
Trait that outputs the current transaction gas price.
Required Methods§
Sourcefn min_gas_price() -> (U256, Weight)
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.