add EvenFilter type
@@ -86,6 +86,14 @@ message EventData {
int64 block_time = 11;
}
+message EventFilter {
+ uint64 from_block = 1;
+ uint64 to_block = 2;
+ string contract = 3;
+ repeated string topics = 4;
+ // TODO more fields
+}
+
message ContractEventsRequest {
uint64 fromBlock = 1;
uint64 toBlock = 2;
