pub struct EvmCall {
pub to: Address,
pub data: Vec<u8>,
pub value: U256,
}Expand description
An EVM call with a target address, calldata, and value.
Fields§
§to: AddressThe target contract address.
data: Vec<u8>The encoded calldata.
value: U256The value to send (in wei).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvmCall
impl RefUnwindSafe for EvmCall
impl Send for EvmCall
impl Sync for EvmCall
impl Unpin for EvmCall
impl UnsafeUnpin for EvmCall
impl UnwindSafe for EvmCall
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