Struct revm_interpreter::inner_models::CallContext
source · pub struct CallContext {
pub address: B160,
pub caller: B160,
pub code_address: B160,
pub apparent_value: U256,
pub scheme: CallScheme,
}
Expand description
CallContext of the runtime.
Fields§
§address: B160
Execution address.
caller: B160
Caller of the EVM.
code_address: B160
The address the contract code was loaded from, if any.
apparent_value: U256
Apparent value of the EVM.
scheme: CallScheme
The scheme used for the call.
Trait Implementations§
source§impl Clone for CallContext
impl Clone for CallContext
source§fn clone(&self) -> CallContext
fn clone(&self) -> CallContext
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 CallContext
impl Debug for CallContext
source§impl Default for CallContext
impl Default for CallContext
source§impl PartialEq<CallContext> for CallContext
impl PartialEq<CallContext> for CallContext
source§fn eq(&self, other: &CallContext) -> bool
fn eq(&self, other: &CallContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CallContext
impl StructuralEq for CallContext
impl StructuralPartialEq for CallContext
Auto Trait Implementations§
impl RefUnwindSafe for CallContext
impl Send for CallContext
impl Sync for CallContext
impl Unpin for CallContext
impl UnwindSafe for CallContext
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more