We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82201a6 commit 135a5b3Copy full SHA for 135a5b3
src/types/log.rs
@@ -137,6 +137,14 @@ impl FilterBuilder {
137
}
138
139
/// Topics
140
+ /// An event topic is a part of the event logging mechanism used by smart contracts
141
+ /// to record information on the blockchain.
142
+ /// These logs are stored in transaction receipts and can be efficiently filtered and searched.
143
+ /// Each log entry has -up to- four "topics," which are 32-byte values used to index the log.
144
+ /// Topic 0: The hash of the event signature.
145
+ /// Topic 1: The from address (indexed).
146
+ /// Topic 2: The to address (indexed).
147
+ /// Data: The value (not indexed).
148
pub fn topics(
149
mut self,
150
topic1: Option<Vec<H256>>,
0 commit comments