// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.33.0
// 	protoc        v4.25.3
// source: brevis/types.proto

package gwproto

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type ReceiptInfo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	TransactionHash string            `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	LogExtractInfos []*LogExtractInfo `protobuf:"bytes,2,rep,name=log_extract_infos,json=logExtractInfos,proto3" json:"log_extract_infos,omitempty"`
	BlkNum          uint64            `protobuf:"varint,3,opt,name=blk_num,json=blkNum,proto3" json:"blk_num,omitempty"`
	ReceiptIndex    uint64            `protobuf:"varint,4,opt,name=receipt_index,json=receiptIndex,proto3" json:"receipt_index,omitempty"`
}

func (x *ReceiptInfo) Reset() {
	*x = ReceiptInfo{}
	if protoimpl.UnsafeEnabled {
		mi := &file_brevis_types_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *ReceiptInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ReceiptInfo) ProtoMessage() {}

func (x *ReceiptInfo) ProtoReflect() protoreflect.Message {
	mi := &file_brevis_types_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ReceiptInfo.ProtoReflect.Descriptor instead.
func (*ReceiptInfo) Descriptor() ([]byte, []int) {
	return file_brevis_types_proto_rawDescGZIP(), []int{0}
}

func (x *ReceiptInfo) GetTransactionHash() string {
	if x != nil {
		return x.TransactionHash
	}
	return ""
}

func (x *ReceiptInfo) GetLogExtractInfos() []*LogExtractInfo {
	if x != nil {
		return x.LogExtractInfos
	}
	return nil
}

func (x *ReceiptInfo) GetBlkNum() uint64 {
	if x != nil {
		return x.BlkNum
	}
	return 0
}

func (x *ReceiptInfo) GetReceiptIndex() uint64 {
	if x != nil {
		return x.ReceiptIndex
	}
	return 0
}

type LogExtractInfo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	LogPos          uint64 `protobuf:"varint,2,opt,name=log_pos,json=logPos,proto3" json:"log_pos,omitempty"`
	LogTopic0       string `protobuf:"bytes,3,opt,name=log_topic0,json=logTopic0,proto3" json:"log_topic0,omitempty"`
	ValueFromTopic  bool   `protobuf:"varint,4,opt,name=value_from_topic,json=valueFromTopic,proto3" json:"value_from_topic,omitempty"`
	ValueIndex      uint64 `protobuf:"varint,5,opt,name=value_index,json=valueIndex,proto3" json:"value_index,omitempty"`
	Value           string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
	TopicsLength    uint64 `protobuf:"varint,7,opt,name=topics_length,json=topicsLength,proto3" json:"topics_length,omitempty"` // How many topics exists in this log
}

func (x *LogExtractInfo) Reset() {
	*x = LogExtractInfo{}
	if protoimpl.UnsafeEnabled {
		mi := &file_brevis_types_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *LogExtractInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*LogExtractInfo) ProtoMessage() {}

func (x *LogExtractInfo) ProtoReflect() protoreflect.Message {
	mi := &file_brevis_types_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use LogExtractInfo.ProtoReflect.Descriptor instead.
func (*LogExtractInfo) Descriptor() ([]byte, []int) {
	return file_brevis_types_proto_rawDescGZIP(), []int{1}
}

func (x *LogExtractInfo) GetContractAddress() string {
	if x != nil {
		return x.ContractAddress
	}
	return ""
}

func (x *LogExtractInfo) GetLogPos() uint64 {
	if x != nil {
		return x.LogPos
	}
	return 0
}

func (x *LogExtractInfo) GetLogTopic0() string {
	if x != nil {
		return x.LogTopic0
	}
	return ""
}

func (x *LogExtractInfo) GetValueFromTopic() bool {
	if x != nil {
		return x.ValueFromTopic
	}
	return false
}

func (x *LogExtractInfo) GetValueIndex() uint64 {
	if x != nil {
		return x.ValueIndex
	}
	return 0
}

func (x *LogExtractInfo) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

func (x *LogExtractInfo) GetTopicsLength() uint64 {
	if x != nil {
		return x.TopicsLength
	}
	return 0
}

type StorageQueryInfo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Account     string   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storage_keys,omitempty"`
	BlkNum      uint64   `protobuf:"varint,3,opt,name=blk_num,json=blkNum,proto3" json:"blk_num,omitempty"`
}

func (x *StorageQueryInfo) Reset() {
	*x = StorageQueryInfo{}
	if protoimpl.UnsafeEnabled {
		mi := &file_brevis_types_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *StorageQueryInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*StorageQueryInfo) ProtoMessage() {}

func (x *StorageQueryInfo) ProtoReflect() protoreflect.Message {
	mi := &file_brevis_types_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use StorageQueryInfo.ProtoReflect.Descriptor instead.
func (*StorageQueryInfo) Descriptor() ([]byte, []int) {
	return file_brevis_types_proto_rawDescGZIP(), []int{2}
}

func (x *StorageQueryInfo) GetAccount() string {
	if x != nil {
		return x.Account
	}
	return ""
}

func (x *StorageQueryInfo) GetStorageKeys() []string {
	if x != nil {
		return x.StorageKeys
	}
	return nil
}

func (x *StorageQueryInfo) GetBlkNum() uint64 {
	if x != nil {
		return x.BlkNum
	}
	return 0
}

type TransactionInfo struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	TransactionHash string `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
}

func (x *TransactionInfo) Reset() {
	*x = TransactionInfo{}
	if protoimpl.UnsafeEnabled {
		mi := &file_brevis_types_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *TransactionInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TransactionInfo) ProtoMessage() {}

func (x *TransactionInfo) ProtoReflect() protoreflect.Message {
	mi := &file_brevis_types_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TransactionInfo.ProtoReflect.Descriptor instead.
func (*TransactionInfo) Descriptor() ([]byte, []int) {
	return file_brevis_types_proto_rawDescGZIP(), []int{3}
}

func (x *TransactionInfo) GetTransactionHash() string {
	if x != nil {
		return x.TransactionHash
	}
	return ""
}

var File_brevis_types_proto protoreflect.FileDescriptor

var file_brevis_types_proto_rawDesc = []byte{
	0x0a, 0x12, 0x62, 0x72, 0x65, 0x76, 0x69, 0x73, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x62, 0x72, 0x65, 0x76, 0x69, 0x73, 0x22, 0xba, 0x01, 0x0a,
	0x0b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x0a, 0x10,
	0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74,
	0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x42, 0x0a, 0x11, 0x6c, 0x6f, 0x67, 0x5f, 0x65,
	0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03,
	0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x72, 0x65, 0x76, 0x69, 0x73, 0x2e, 0x4c, 0x6f, 0x67, 0x45,
	0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0f, 0x6c, 0x6f, 0x67, 0x45,
	0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x62,
	0x6c, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x62, 0x6c,
	0x6b, 0x4e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x5f,
	0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x65, 0x63,
	0x65, 0x69, 0x70, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xf9, 0x01, 0x0a, 0x0e, 0x4c, 0x6f,
	0x67, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x0a, 0x10,
	0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
	0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6c, 0x6f, 0x67, 0x5f, 0x70,
	0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6c, 0x6f, 0x67, 0x50, 0x6f, 0x73,
	0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x5f, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x30, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x30, 0x12,
	0x28, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x74, 0x6f,
	0x70, 0x69, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x76, 0x61, 0x6c, 0x75, 0x65,
	0x46, 0x72, 0x6f, 0x6d, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x61, 0x6c,
	0x75, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a,
	0x76, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
	0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
	0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74,
	0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x4c,
	0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x68, 0x0a, 0x10, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
	0x51, 0x75, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63,
	0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f,
	0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6b,
	0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61,
	0x67, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x6c, 0x6b, 0x5f, 0x6e, 0x75,
	0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x62, 0x6c, 0x6b, 0x4e, 0x75, 0x6d, 0x22,
	0x3c, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e,
	0x66, 0x6f, 0x12, 0x29, 0x0a, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
	0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x72,
	0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x62, 0x06, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_brevis_types_proto_rawDescOnce sync.Once
	file_brevis_types_proto_rawDescData = file_brevis_types_proto_rawDesc
)

func file_brevis_types_proto_rawDescGZIP() []byte {
	file_brevis_types_proto_rawDescOnce.Do(func() {
		file_brevis_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_brevis_types_proto_rawDescData)
	})
	return file_brevis_types_proto_rawDescData
}

var file_brevis_types_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_brevis_types_proto_goTypes = []interface{}{
	(*ReceiptInfo)(nil),      // 0: brevis.ReceiptInfo
	(*LogExtractInfo)(nil),   // 1: brevis.LogExtractInfo
	(*StorageQueryInfo)(nil), // 2: brevis.StorageQueryInfo
	(*TransactionInfo)(nil),  // 3: brevis.TransactionInfo
}
var file_brevis_types_proto_depIdxs = []int32{
	1, // 0: brevis.ReceiptInfo.log_extract_infos:type_name -> brevis.LogExtractInfo
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_brevis_types_proto_init() }
func file_brevis_types_proto_init() {
	if File_brevis_types_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_brevis_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*ReceiptInfo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_brevis_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*LogExtractInfo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_brevis_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*StorageQueryInfo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_brevis_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*TransactionInfo); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_brevis_types_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_brevis_types_proto_goTypes,
		DependencyIndexes: file_brevis_types_proto_depIdxs,
		MessageInfos:      file_brevis_types_proto_msgTypes,
	}.Build()
	File_brevis_types_proto = out.File
	file_brevis_types_proto_rawDesc = nil
	file_brevis_types_proto_goTypes = nil
	file_brevis_types_proto_depIdxs = nil
}
