pub struct ExitToEth {
pub sender: Address,
pub erc20_address: Address,
pub dest: Address,
pub amount: U256,
}Expand description
ExitToEth(
Address indexed sender,
Address indexed erc20_address,
string indexed dest,
uint amount
)
Note: in the ERC-20 exit case sender == erc20_address because it is
the ERC-20 contract which calls the exit precompile. However, in the case
of ETH exit the sender will give the true sender (and the erc20_address
will not be meaningful because ETH is not an ERC-20 token).
Fields§
§sender: Address§erc20_address: Address§dest: Address§amount: U256Implementations§
Auto Trait Implementations§
impl Freeze for ExitToEth
impl RefUnwindSafe for ExitToEth
impl Send for ExitToEth
impl Sync for ExitToEth
impl Unpin for ExitToEth
impl UnwindSafe for ExitToEth
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more