use crate::{Address, Bytes, H256}; use reth_codecs::{main_codec, Compact}; use reth_rlp::{RlpDecodable, RlpEncodable}; /// Ethereum Log #[main_codec(rlp)] #[derive(Clone, Debug, PartialEq, Eq, RlpDecodable, RlpEncodable, Default)] 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, /// Arbitrary length data. pub data: Bytes, }