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

Log

Ethereum events from contracts.

Tuple Fields of Log

0: Log
Created

A contract has been created at given [address].

Tuple Fields of Created

0: H160
CreatedFailed

A [contract] was attempted to be created, but the execution failed.

Tuple Fields of CreatedFailed

0: H160
Executed

A [contract] has been executed successfully with states applied.

Tuple Fields of Executed

0: H160
ExecutedFailed

A [contract] has been executed with errors. States are reverted with only gas fees applied.

Tuple Fields of ExecutedFailed

0: H160
BalanceDeposit

A deposit has been made at a given address. [sender, address, value]

Tuple Fields of BalanceDeposit

0: AccountId1: H1602: U256
BalanceWithdraw

A withdrawal has been made from a given address. [sender, address, value]

Tuple Fields of BalanceWithdraw

0: AccountId1: H1602: U256

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Attempt to deserialise the value from input.

Attempt to skip the encoded value from input. Read more

Returns the fixed encoded size of the type. Read more

Convert self to a slice and append it to the destination.

If possible give a hint of expected size of the encoding. Read more

Convert self to an owned vector.

Convert self to a slice and then invoke the given closure with it.

Calculates the encoded size. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Convert from a value of T into an equivalent instance of Option<Self>. Read more

Consume self to return Some equivalent value of Option<T>. Read more

Decode Self and consume all of the given input data. Read more

Decode Self and consume all of the given input data. Read more

Decode Self with the given maximum recursion depth. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Cast reference.

Cast reference.

Cast mutable reference.

Cast mutable reference.

Get a reference to the inner from the outer.

Get a mutable reference to the inner from the outer.

Return an encoding of Self prepended by given slice.

Should always be Self

Convert from a value of T into an equivalent instance of Self. Read more

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

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The counterpart to unchecked_from.

Consume self to return an equivalent value of T.