pub enum ExitToNear {
Legacy(ExitToNearLegacy),
Omni(ExitToNearOmni),
}Expand description
ExitToNear(
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).
Variants§
Legacy(ExitToNearLegacy)
Omni(ExitToNearOmni)
Implementations§
Auto Trait Implementations§
impl Freeze for ExitToNear
impl RefUnwindSafe for ExitToNear
impl Send for ExitToNear
impl Sync for ExitToNear
impl Unpin for ExitToNear
impl UnwindSafe for ExitToNear
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