Struct ethers_middleware::gas_escalator::LinearGasPrice [−][src]
pub struct LinearGasPrice { /* fields omitted */ }
Expand description
Linearly increasing gas price.
Start with initial_price
, then increase it by fixed amount increase_by
every every_secs
seconds until the transaction gets confirmed. There is an optional upper limit.
https://github.com/makerdao/pymaker/blob/master/pymaker/gas.py#L129
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LinearGasPrice
impl Send for LinearGasPrice
impl Sync for LinearGasPrice
impl Unpin for LinearGasPrice
impl UnwindSafe for LinearGasPrice
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more