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
)