Enum pallet_evm::RawEvent [−][src]
pub enum RawEvent<AccountId> { Log(Log), Created(H160), CreatedFailed(H160), Executed(H160), ExecutedFailed(H160), BalanceDeposit(AccountId, H160, U256), BalanceWithdraw(AccountId, H160, U256), }
Expand description
Events for this module.
EVM events
Variants
Ethereum events from contracts.
Tuple Fields of Log
0: Log
A contract has been created at given [address].
Tuple Fields of Created
0: H160
A [contract] was attempted to be created, but the execution failed.
Tuple Fields of CreatedFailed
0: H160
A [contract] has been executed successfully with states applied.
Tuple Fields of Executed
0: H160
A [contract] has been executed with errors. States are reverted with only gas fees applied.
Tuple Fields of ExecutedFailed
0: H160
A deposit has been made at a given address. [sender, address, value]
A withdrawal has been made from a given address. [sender, address, value]
Trait Implementations
Auto Trait Implementations
impl<AccountId> RefUnwindSafe for RawEvent<AccountId> where
AccountId: RefUnwindSafe,
impl<AccountId> UnwindSafe for RawEvent<AccountId> where
AccountId: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Convert from a value of T
into an equivalent instance of Self
. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of T
. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.
The counterpart to unchecked_from
.
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of T
.