pub struct SimBundleResponse {
pub success: bool,
pub error: Option<String>,
pub state_block: u64,
pub mev_gas_price: U256,
pub profit: U256,
pub refundable_value: U256,
pub gas_used: u64,
pub logs: Option<Vec<SimBundleLogs>>,
pub exec_error: Option<String>,
pub revert: Option<Bytes>,
}
Expand description
Response from the matchmaker after sending a simulation request.
Fields§
§success: bool
Whether the simulation was successful.
error: Option<String>
Error message if the simulation failed.
state_block: u64
The block number of the simulated block.
mev_gas_price: U256
The gas price of the simulated block.
profit: U256
The profit of the simulated block.
refundable_value: U256
The refundable value of the simulated block.
gas_used: u64
The gas used by the simulated block.
logs: Option<Vec<SimBundleLogs>>
Logs returned by mev_simBundle
.
exec_error: Option<String>
Error message if the bundle execution failed.
revert: Option<Bytes>
Contains the return data if the transaction reverted
Trait Implementations§
source§impl Clone for SimBundleResponse
impl Clone for SimBundleResponse
source§fn clone(&self) -> SimBundleResponse
fn clone(&self) -> SimBundleResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SimBundleResponse
impl Debug for SimBundleResponse
source§impl<'de> Deserialize<'de> for SimBundleResponse
impl<'de> Deserialize<'de> for SimBundleResponse
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
source§impl PartialEq for SimBundleResponse
impl PartialEq for SimBundleResponse
source§impl Serialize for SimBundleResponse
impl Serialize for SimBundleResponse
impl Eq for SimBundleResponse
impl StructuralPartialEq for SimBundleResponse
Auto Trait Implementations§
impl !Freeze for SimBundleResponse
impl RefUnwindSafe for SimBundleResponse
impl Send for SimBundleResponse
impl Sync for SimBundleResponse
impl Unpin for SimBundleResponse
impl UnwindSafe for SimBundleResponse
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)