syntax = "proto3"; package pb; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; message Receipt { enum Status { SUCCESS = 0; FAILED = 1; } bytes version = 1; bytes tx_hash = 2 [ (gogoproto.customtype) = "github.com/meshplus/bitxhub-kit/types.Hash" ]; bytes ret = 3; Status status = 4; repeated Event events = 5; uint64 gas_used = 6; repeated EvmLog evm_logs = 7; bytes bloom = 8 [ (gogoproto.customtype) = "github.com/meshplus/bitxhub-kit/types.Bloom" ]; bytes contract_address = 9 [ (gogoproto.customtype) = "github.com/meshplus/bitxhub-kit/types.Address" ]; } message Receipts { repeated Receipt receipts = 1; } message Event { // Transaction Hash bytes tx_hash = 1 [ (gogoproto.customtype) = "github.com/meshplus/bitxhub-kit/types.Hash" ]; bytes data = 2; // The interchain flag used by interchain contract bool interchain = 3; } message EvmLog { bytes address = 1 [ (gogoproto.customtype) = "github.com/meshplus/bitxhub-kit/types.Address" ]; repeated bytes topics = 2 [ (gogoproto.customtype) = "github.com/meshplus/bitxhub-kit/types.Hash" ]; bytes data = 3; uint64 block_number = 4; bytes tx_hash = 5 [ (gogoproto.customtype) = "github.com/meshplus/bitxhub-kit/types.Hash" ]; uint64 tx_index = 6; bytes block_hash = 7 [ (gogoproto.customtype) = "github.com/meshplus/bitxhub-kit/types.Hash" ]; uint64 index = 8; bool removed = 9; }