First version of the Ethereum explorer
This commit is contained in:
9
ethereum-explorer/proto/block_meta.proto
Normal file
9
ethereum-explorer/proto/block_meta.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package eth.block_meta.v1;
|
||||
|
||||
message BlockMeta {
|
||||
uint64 number = 1;
|
||||
string hash = 2;
|
||||
string parent_hash = 3;
|
||||
}
|
||||
13
ethereum-explorer/proto/event.proto
Normal file
13
ethereum-explorer/proto/event.proto
Normal 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;
|
||||
}
|
||||
13
ethereum-explorer/proto/transaction.proto
Normal file
13
ethereum-explorer/proto/transaction.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user