Struct ethers_flashbots::UserStats
source · pub struct UserStats {
pub is_high_priority: bool,
pub all_time_validator_payments: U256,
pub all_time_gas_simulated: U256,
pub last_7d_validator_payments: U256,
pub last_7d_gas_simulated: U256,
pub last_1d_validator_payments: U256,
pub last_1d_gas_simulated: U256,
}Expand description
Represents stats for a searcher.
Fields§
§is_high_priority: boolWhether the searcher is high priority or not.
all_time_validator_payments: U256The total amount of payments made to validators.
all_time_gas_simulated: U256The total amount of gas simulated in bundles.
last_7d_validator_payments: U256The total amount of payments made to validators in the last 7 days.
last_7d_gas_simulated: U256The total amount of gas simulated in bundles the last 7 days.
last_1d_validator_payments: U256The total amount of payments made to validators in the last day.
last_1d_gas_simulated: U256The total amount of gas simulated in bundles in the last day.
Trait Implementations§
source§impl<'de> Deserialize<'de> for UserStats
impl<'de> Deserialize<'de> for UserStats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UserStats
impl Send for UserStats
impl Sync for UserStats
impl Unpin for UserStats
impl UnwindSafe for UserStats
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more