pub struct RPCTracerParams {
pub caller: Option<Bytes>,
pub calldata: Bytes,
pub state_overrides: Option<BTreeMap<Address, AccountOverrides>>,
pub prune_addresses: Option<Vec<Address>>,
}Fields§
§caller: Option<Bytes>The caller address of the transaction, if not provided tracing uses the default value for an address defined by the VM.
calldata: BytesThe call data used for the tracing call, this needs to include the function selector
state_overrides: Option<BTreeMap<Address, AccountOverrides>>Optionally allow for state overrides so that the call works as expected
prune_addresses: Option<Vec<Address>>Addresses to prune from trace results. Useful for hooks that use mock accounts/routers that shouldn’t be tracked in the final DCI results.
Trait Implementations§
Source§impl Clone for RPCTracerParams
impl Clone for RPCTracerParams
Source§fn clone(&self) -> RPCTracerParams
fn clone(&self) -> RPCTracerParams
Returns a duplicate 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 RPCTracerParams
impl Debug for RPCTracerParams
Source§impl DeepSizeOf for RPCTracerParams
impl DeepSizeOf for RPCTracerParams
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§impl<'de> Deserialize<'de> for RPCTracerParams
impl<'de> Deserialize<'de> for RPCTracerParams
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 From<RPCTracerParams> for RPCTracerParams
impl From<RPCTracerParams> for RPCTracerParams
Source§fn from(value: RPCTracerParams) -> Self
fn from(value: RPCTracerParams) -> Self
Converts to this type from the input type.
Source§impl From<RPCTracerParams> for RPCTracerParams
impl From<RPCTracerParams> for RPCTracerParams
Source§fn from(value: RPCTracerParams) -> Self
fn from(value: RPCTracerParams) -> Self
Converts to this type from the input type.
Source§impl Hash for RPCTracerParams
impl Hash for RPCTracerParams
Source§impl PartialEq for RPCTracerParams
impl PartialEq for RPCTracerParams
Source§impl Serialize for RPCTracerParams
impl Serialize for RPCTracerParams
Source§impl<'__s> ToSchema<'__s> for RPCTracerParams
impl<'__s> ToSchema<'__s> for RPCTracerParams
impl Eq for RPCTracerParams
impl StructuralPartialEq for RPCTracerParams
Auto Trait Implementations§
impl !Freeze for RPCTracerParams
impl RefUnwindSafe for RPCTracerParams
impl Send for RPCTracerParams
impl Sync for RPCTracerParams
impl Unpin for RPCTracerParams
impl UnwindSafe for RPCTracerParams
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.