Files
reth/crates/primitives/src/log.rs
rakita bc30cbce61 Skeleton primitives and interface crate (#13)
* wip interface primitives

* wip

* Integrate it inside rpc- crates

* fmt

* move tx to mod.rs

* Add interfaces, executor to toml

* Added nits, comments fix
2022-10-06 14:48:57 +02:00

13 lines
339 B
Rust

use crate::{Address, Bytes, H256};
/// Ethereum Log
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Log {
/// Contract that emitted this log.
pub address: Address,
/// Topics of the log. The number of logs depend on what `LOG` opcode is used.
pub topics: Vec<H256>,
/// Arbitrary length data.
pub data: Bytes,
}