stratus::alias

Type Alias AlloyLog

Source
pub type AlloyLog = Log;

Aliased Type§

struct AlloyLog {
    pub inner: Log,
    pub block_hash: Option<FixedBytes<32>>,
    pub block_number: Option<u64>,
    pub block_timestamp: Option<u64>,
    pub transaction_hash: Option<FixedBytes<32>>,
    pub transaction_index: Option<u64>,
    pub log_index: Option<u64>,
    pub removed: bool,
}

Fields§

§inner: Log

Consensus log object

§block_hash: Option<FixedBytes<32>>

Hash of the block the transaction that emitted this log was mined in

§block_number: Option<u64>

Number of the block the transaction that emitted this log was mined in

§block_timestamp: Option<u64>§transaction_hash: Option<FixedBytes<32>>

Transaction Hash

§transaction_index: Option<u64>

Index of the Transaction in the block

§log_index: Option<u64>

Log Index in Block

§removed: bool

Geth Compatibility Field: whether this log was removed

Trait Implementations§

Source§

impl From<LogMined> for AlloyLog

Source§

fn from(value: LogMined) -> Self

Converts to this type from the input type.