github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/protobuf/dump.proto (about) 1 syntax = 'proto3'; 2 3 option go_package = "github.com/hyperledger/burrow/dump"; 4 5 import "gogoproto/gogo.proto"; 6 import "google/protobuf/timestamp.proto"; 7 8 import "acm.proto"; 9 import "exec.proto"; 10 import "names.proto"; 11 12 package dump; 13 14 option (gogoproto.stable_marshaler_all) = true; 15 // Enable custom Marshal method. 16 option (gogoproto.marshaler_all) = true; 17 // Enable custom Unmarshal method. 18 option (gogoproto.unmarshaler_all) = true; 19 // Enable custom Size method (Required by Marshal and Unmarshal). 20 option (gogoproto.sizer_all) = true; 21 // Enable registration with golang/protobuf for the grpc-gateway. 22 option (gogoproto.goproto_registration) = true; 23 // Enable generation of XXX_MessageName methods for grpc-go/status. 24 option (gogoproto.messagename_all) = true; 25 26 message Storage { 27 bytes Key = 1 [(gogoproto.customtype) = "github.com/hyperledger/burrow/binary.Word256", (gogoproto.nullable) = false]; 28 bytes Value = 2 [(gogoproto.customtype) = "github.com/hyperledger/burrow/binary.HexBytes", (gogoproto.nullable) = false]; 29 } 30 31 message AccountStorage { 32 bytes Address = 1 [(gogoproto.customtype) = "github.com/hyperledger/burrow/crypto.Address", (gogoproto.nullable) = false]; 33 repeated Storage Storage = 2; 34 } 35 36 message EVMEvent { 37 // The original ChainID from for this event 38 string ChainID = 1; 39 // The original index for this event 40 uint64 Index = 4; 41 // The original block time for this transaction 42 google.protobuf.Timestamp Time = 2 [(gogoproto.nullable)=false, (gogoproto.stdtime)=true]; 43 // The event itself 44 exec.LogEvent Event = 3; 45 } 46 47 message Dump { 48 uint64 Height = 1; 49 50 acm.Account Account = 2; 51 AccountStorage AccountStorage = 3; 52 EVMEvent EVMEvent = 4; 53 names.Entry Name = 5; 54 }