Enum solana_evm_loader_program::instructions::EvmInstruction [−][src]
Variants
Execute native EVM transaction.
Outer args:
account_key[0] - [writable]
. EVM state account, used for lock.
account_key[1] - [readable]
. Optional argument, used in case tokens swaps from EVM back to native.
Fields of EvmTransaction
evm_tx: Transaction
Transfer native lamports to ethereum.
Outer args:
account_key[0] - [writable]
. EVM state account, used for lock.
account_key[1] - [writable, signer]
. Owner account that’s allowed to manage withdrawal of his account by transfering ownership.
Inner args: amount - count of lamports to be transfered. ether_key - recevier etherium address.
Transfer user account ownership back to system program.
Outer args:
account_key[0] - [writable]
. EVM state account, used for lock.
account_key[1] - [writable, signer]
. Owner account that’s allowed to manage withdrawal of his account by transfering ownership.
Fields of FreeOwnership
EvmBigTransaction(EvmBigTransaction)
Allocate / push data / execute Big Transaction
Outer args:
account_key[0] - [writable]
. EVM state account. used for lock.
account_key[1] - [writable]
. Big Transaction data storage.
Execute native EVM transaction.
Outer args:
account_key[0] - [writable]
. EVM state account, used for lock.
account_key[1] - [writable, signer]
. Co.
Inner args:
from - is an address calculated using program_evm_address
.
unsigned_tx - is an evm transaction, that should be called, without EVM signature verification,
instead solana signature verification should be called.
Fields of EvmAuthorizedTransaction
from: Address
unsigned_tx: UnsignedTransaction
Trait Implementations
impl Debug for EvmInstruction
[src]
impl<'de> Deserialize<'de> for EvmInstruction
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for EvmInstruction
[src]
impl Ord for EvmInstruction
[src]
fn cmp(&self, other: &EvmInstruction) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<EvmInstruction> for EvmInstruction
[src]
fn eq(&self, other: &EvmInstruction) -> bool
[src]
fn ne(&self, other: &EvmInstruction) -> bool
[src]
impl PartialOrd<EvmInstruction> for EvmInstruction
[src]
fn partial_cmp(&self, other: &EvmInstruction) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for EvmInstruction
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for EvmInstruction
[src]
impl StructuralPartialEq for EvmInstruction
[src]
Auto Trait Implementations
impl RefUnwindSafe for EvmInstruction
impl Send for EvmInstruction
impl Sync for EvmInstruction
impl Unpin for EvmInstruction
impl UnwindSafe for EvmInstruction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,