First version of the Ethereum explorer

This commit is contained in:
Enol Álvarez
2023-07-20 01:45:17 +02:00
parent 4d264ea240
commit 8ce2b40d59
21 changed files with 1674 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
syntax = "proto3";
package eth.block_meta.v1;
message BlockMeta {
uint64 number = 1;
string hash = 2;
string parent_hash = 3;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
package eth.event.v1;
message Events {
repeated Event events = 1;
}
message Event {
string address = 1;
repeated string topics = 2;
string tx_hash = 3;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
package eth.transaction.v1;
message TransactionOption {
Transaction transaction = 1;
}
message Transaction {
string from = 1;
string to = 2;
string hash = 3;
}