aztec-nr - protocol_types::abis::gas_settings

Struct GasSettings

pub struct GasSettings {
    pub gas_limits: Gas,
    pub teardown_gas_limits: Gas,
    pub max_fees_per_gas: GasFees,
    pub max_priority_fees_per_gas: GasFees,
}

Fields

gas_limits: Gas
teardown_gas_limits: Gas
max_fees_per_gas: GasFees
max_priority_fees_per_gas: GasFees

Implementations

impl GasSettings

pub fn new( gas_limits: Gas, teardown_gas_limits: Gas, max_fees_per_gas: GasFees, max_priority_fees_per_gas: GasFees, ) -> Self

Trait implementations

impl Deserialize for GasSettings

pub fn deserialize(serialized: [Field; 8]) -> Self

impl Empty for GasSettings

pub fn empty() -> Self pub fn is_empty(self) -> bool pub fn assert_empty<let S: u32>(self, msg: str<S>)

impl Eq for GasSettings

pub fn eq(_self: Self, _other: Self) -> bool

impl Serialize for GasSettings

pub fn serialize(self) -> [Field; 8]