2022-10-28 17:15:33 -07:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.27.1
|
|
|
|
// protoc (unknown)
|
|
|
|
// source: spy/v1/spy.proto
|
|
|
|
|
|
|
|
package spyv1
|
|
|
|
|
|
|
|
import (
|
2024-01-30 12:55:03 -08:00
|
|
|
_ "github.com/certusone/wormhole/node/pkg/proto/gossip/v1"
|
2022-10-28 17:15:33 -07:00
|
|
|
v1 "github.com/certusone/wormhole/node/pkg/proto/publicrpc/v1"
|
|
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
|
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)
|
|
|
|
)
|
|
|
|
|
|
|
|
// A MessageFilter represents an exact match for an emitter.
|
|
|
|
type EmitterFilter struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Source chain
|
|
|
|
ChainId v1.ChainID `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3,enum=publicrpc.v1.ChainID" json:"chain_id,omitempty"`
|
|
|
|
// Hex-encoded (without leading 0x) emitter address.
|
|
|
|
EmitterAddress string `protobuf:"bytes,2,opt,name=emitter_address,json=emitterAddress,proto3" json:"emitter_address,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EmitterFilter) Reset() {
|
|
|
|
*x = EmitterFilter{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_spy_v1_spy_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EmitterFilter) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*EmitterFilter) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *EmitterFilter) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_spy_v1_spy_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 EmitterFilter.ProtoReflect.Descriptor instead.
|
|
|
|
func (*EmitterFilter) Descriptor() ([]byte, []int) {
|
|
|
|
return file_spy_v1_spy_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EmitterFilter) GetChainId() v1.ChainID {
|
|
|
|
if x != nil {
|
|
|
|
return x.ChainId
|
|
|
|
}
|
|
|
|
return v1.ChainID(0)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *EmitterFilter) GetEmitterAddress() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.EmitterAddress
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-11-09 08:39:57 -08:00
|
|
|
type BatchFilter struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Source chain
|
|
|
|
ChainId v1.ChainID `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3,enum=publicrpc.v1.ChainID" json:"chain_id,omitempty"`
|
|
|
|
// Native transaction identifier bytes.
|
|
|
|
TxId []byte `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
|
|
|
|
// Nonce of the messages in the batch.
|
|
|
|
Nonce uint32 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BatchFilter) Reset() {
|
|
|
|
*x = BatchFilter{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_spy_v1_spy_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BatchFilter) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*BatchFilter) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *BatchFilter) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_spy_v1_spy_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 BatchFilter.ProtoReflect.Descriptor instead.
|
|
|
|
func (*BatchFilter) Descriptor() ([]byte, []int) {
|
|
|
|
return file_spy_v1_spy_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BatchFilter) GetChainId() v1.ChainID {
|
|
|
|
if x != nil {
|
|
|
|
return x.ChainId
|
|
|
|
}
|
|
|
|
return v1.ChainID(0)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BatchFilter) GetTxId() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.TxId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BatchFilter) GetNonce() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Nonce
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type BatchTransactionFilter struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Source chain
|
|
|
|
ChainId v1.ChainID `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3,enum=publicrpc.v1.ChainID" json:"chain_id,omitempty"`
|
|
|
|
// Native transaction identifier bytes.
|
|
|
|
TxId []byte `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BatchTransactionFilter) Reset() {
|
|
|
|
*x = BatchTransactionFilter{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_spy_v1_spy_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BatchTransactionFilter) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*BatchTransactionFilter) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *BatchTransactionFilter) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_spy_v1_spy_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 BatchTransactionFilter.ProtoReflect.Descriptor instead.
|
|
|
|
func (*BatchTransactionFilter) Descriptor() ([]byte, []int) {
|
|
|
|
return file_spy_v1_spy_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BatchTransactionFilter) GetChainId() v1.ChainID {
|
|
|
|
if x != nil {
|
|
|
|
return x.ChainId
|
|
|
|
}
|
|
|
|
return v1.ChainID(0)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BatchTransactionFilter) GetTxId() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.TxId
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-10-28 17:15:33 -07:00
|
|
|
type FilterEntry struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Types that are assignable to Filter:
|
2022-11-28 05:48:27 -08:00
|
|
|
//
|
2022-10-28 17:15:33 -07:00
|
|
|
// *FilterEntry_EmitterFilter
|
2022-11-09 08:39:57 -08:00
|
|
|
// *FilterEntry_BatchFilter
|
|
|
|
// *FilterEntry_BatchTransactionFilter
|
2022-10-28 17:15:33 -07:00
|
|
|
Filter isFilterEntry_Filter `protobuf_oneof:"filter"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FilterEntry) Reset() {
|
|
|
|
*x = FilterEntry{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-11-09 08:39:57 -08:00
|
|
|
mi := &file_spy_v1_spy_proto_msgTypes[3]
|
2022-10-28 17:15:33 -07:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FilterEntry) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*FilterEntry) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *FilterEntry) ProtoReflect() protoreflect.Message {
|
2022-11-09 08:39:57 -08:00
|
|
|
mi := &file_spy_v1_spy_proto_msgTypes[3]
|
2022-10-28 17:15:33 -07:00
|
|
|
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 FilterEntry.ProtoReflect.Descriptor instead.
|
|
|
|
func (*FilterEntry) Descriptor() ([]byte, []int) {
|
2022-11-09 08:39:57 -08:00
|
|
|
return file_spy_v1_spy_proto_rawDescGZIP(), []int{3}
|
2022-10-28 17:15:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *FilterEntry) GetFilter() isFilterEntry_Filter {
|
|
|
|
if m != nil {
|
|
|
|
return m.Filter
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FilterEntry) GetEmitterFilter() *EmitterFilter {
|
|
|
|
if x, ok := x.GetFilter().(*FilterEntry_EmitterFilter); ok {
|
|
|
|
return x.EmitterFilter
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-11-09 08:39:57 -08:00
|
|
|
func (x *FilterEntry) GetBatchFilter() *BatchFilter {
|
|
|
|
if x, ok := x.GetFilter().(*FilterEntry_BatchFilter); ok {
|
|
|
|
return x.BatchFilter
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *FilterEntry) GetBatchTransactionFilter() *BatchTransactionFilter {
|
|
|
|
if x, ok := x.GetFilter().(*FilterEntry_BatchTransactionFilter); ok {
|
|
|
|
return x.BatchTransactionFilter
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-10-28 17:15:33 -07:00
|
|
|
type isFilterEntry_Filter interface {
|
|
|
|
isFilterEntry_Filter()
|
|
|
|
}
|
|
|
|
|
|
|
|
type FilterEntry_EmitterFilter struct {
|
|
|
|
EmitterFilter *EmitterFilter `protobuf:"bytes,1,opt,name=emitter_filter,json=emitterFilter,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
2022-11-09 08:39:57 -08:00
|
|
|
type FilterEntry_BatchFilter struct {
|
|
|
|
BatchFilter *BatchFilter `protobuf:"bytes,2,opt,name=batch_filter,json=batchFilter,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type FilterEntry_BatchTransactionFilter struct {
|
|
|
|
BatchTransactionFilter *BatchTransactionFilter `protobuf:"bytes,3,opt,name=batch_transaction_filter,json=batchTransactionFilter,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
2022-10-28 17:15:33 -07:00
|
|
|
func (*FilterEntry_EmitterFilter) isFilterEntry_Filter() {}
|
|
|
|
|
2022-11-09 08:39:57 -08:00
|
|
|
func (*FilterEntry_BatchFilter) isFilterEntry_Filter() {}
|
|
|
|
|
|
|
|
func (*FilterEntry_BatchTransactionFilter) isFilterEntry_Filter() {}
|
|
|
|
|
2022-10-28 17:15:33 -07:00
|
|
|
type SubscribeSignedVAARequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// List of filters to apply to the stream (OR).
|
|
|
|
// If empty, all messages are streamed.
|
|
|
|
Filters []*FilterEntry `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeSignedVAARequest) Reset() {
|
|
|
|
*x = SubscribeSignedVAARequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-11-09 08:39:57 -08:00
|
|
|
mi := &file_spy_v1_spy_proto_msgTypes[4]
|
2022-10-28 17:15:33 -07:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeSignedVAARequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SubscribeSignedVAARequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SubscribeSignedVAARequest) ProtoReflect() protoreflect.Message {
|
2022-11-09 08:39:57 -08:00
|
|
|
mi := &file_spy_v1_spy_proto_msgTypes[4]
|
2022-10-28 17:15:33 -07:00
|
|
|
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 SubscribeSignedVAARequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscribeSignedVAARequest) Descriptor() ([]byte, []int) {
|
2022-11-09 08:39:57 -08:00
|
|
|
return file_spy_v1_spy_proto_rawDescGZIP(), []int{4}
|
2022-10-28 17:15:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeSignedVAARequest) GetFilters() []*FilterEntry {
|
|
|
|
if x != nil {
|
|
|
|
return x.Filters
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type SubscribeSignedVAAResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Raw VAA bytes
|
|
|
|
VaaBytes []byte `protobuf:"bytes,1,opt,name=vaa_bytes,json=vaaBytes,proto3" json:"vaa_bytes,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeSignedVAAResponse) Reset() {
|
|
|
|
*x = SubscribeSignedVAAResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-01-30 12:55:03 -08:00
|
|
|
mi := &file_spy_v1_spy_proto_msgTypes[5]
|
2022-10-28 17:15:33 -07:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeSignedVAAResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SubscribeSignedVAAResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SubscribeSignedVAAResponse) ProtoReflect() protoreflect.Message {
|
2024-01-30 12:55:03 -08:00
|
|
|
mi := &file_spy_v1_spy_proto_msgTypes[5]
|
2022-10-28 17:15:33 -07:00
|
|
|
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 SubscribeSignedVAAResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SubscribeSignedVAAResponse) Descriptor() ([]byte, []int) {
|
2024-01-30 12:55:03 -08:00
|
|
|
return file_spy_v1_spy_proto_rawDescGZIP(), []int{5}
|
2022-10-28 17:15:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SubscribeSignedVAAResponse) GetVaaBytes() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.VaaBytes
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
var File_spy_v1_spy_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_spy_v1_spy_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x10, 0x73, 0x70, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x79, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x12, 0x06, 0x73, 0x70, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
|
|
|
|
0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
|
2022-11-09 08:39:57 -08:00
|
|
|
0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x73, 0x73, 0x69, 0x70,
|
|
|
|
0x2f, 0x76, 0x31, 0x2f, 0x67, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x1a, 0x1c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x70,
|
|
|
|
0x75, 0x62, 0x6c, 0x69, 0x63, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a,
|
|
|
|
0x0a, 0x0d, 0x45, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12,
|
|
|
|
0x30, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x0e, 0x32, 0x15, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31,
|
|
|
|
0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49,
|
|
|
|
0x64, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64,
|
|
|
|
0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x6d, 0x69, 0x74,
|
|
|
|
0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6a, 0x0a, 0x0b, 0x42, 0x61,
|
|
|
|
0x74, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x08, 0x63, 0x68, 0x61,
|
|
|
|
0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x75,
|
|
|
|
0x62, 0x6c, 0x69, 0x63, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e,
|
|
|
|
0x49, 0x44, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74,
|
|
|
|
0x78, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64,
|
|
|
|
0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
|
|
0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 0x5f, 0x0a, 0x16, 0x42, 0x61, 0x74, 0x63, 0x68, 0x54,
|
|
|
|
0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
|
|
|
0x12, 0x30, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x72, 0x70, 0x63, 0x2e, 0x76,
|
|
|
|
0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e,
|
|
|
|
0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x0c, 0x52, 0x04, 0x74, 0x78, 0x49, 0x64, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x74,
|
|
|
|
0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x3e, 0x0a, 0x0e, 0x65, 0x6d, 0x69, 0x74, 0x74,
|
|
|
|
0x65, 0x72, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x15, 0x2e, 0x73, 0x70, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72,
|
|
|
|
0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x6d, 0x69, 0x74, 0x74, 0x65,
|
|
|
|
0x72, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x63, 0x68,
|
|
|
|
0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
|
|
|
|
0x73, 0x70, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x74,
|
|
|
|
0x65, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x74, 0x65,
|
|
|
|
0x72, 0x12, 0x5a, 0x0a, 0x18, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73,
|
|
|
|
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74,
|
|
|
|
0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c,
|
|
|
|
0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x16, 0x62, 0x61, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e,
|
|
|
|
0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x08, 0x0a,
|
|
|
|
0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x73, 0x63,
|
|
|
|
0x72, 0x69, 0x62, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x56, 0x41, 0x41, 0x52, 0x65, 0x71,
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x18,
|
|
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x70, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x46,
|
|
|
|
0x69, 0x6c, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74,
|
2024-01-30 12:55:03 -08:00
|
|
|
0x65, 0x72, 0x73, 0x22, 0x39, 0x0a, 0x1a, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
|
|
|
|
0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x56, 0x41, 0x41, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
|
|
0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x61, 0x61, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x76, 0x61, 0x61, 0x42, 0x79, 0x74, 0x65, 0x73, 0x32, 0x94,
|
|
|
|
0x01, 0x0a, 0x0d, 0x53, 0x70, 0x79, 0x52, 0x50, 0x43, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
|
|
0x12, 0x82, 0x01, 0x0a, 0x12, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x69,
|
|
|
|
0x67, 0x6e, 0x65, 0x64, 0x56, 0x41, 0x41, 0x12, 0x21, 0x2e, 0x73, 0x70, 0x79, 0x2e, 0x76, 0x31,
|
2022-11-09 08:39:57 -08:00
|
|
|
0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64,
|
2024-01-30 12:55:03 -08:00
|
|
|
0x56, 0x41, 0x41, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x73, 0x70, 0x79,
|
|
|
|
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x69, 0x67,
|
|
|
|
0x6e, 0x65, 0x64, 0x56, 0x41, 0x41, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23,
|
|
|
|
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x18, 0x2f, 0x76, 0x31, 0x3a, 0x73, 0x75, 0x62, 0x73,
|
|
|
|
0x63, 0x72, 0x69, 0x62, 0x65, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x61,
|
|
|
|
0x3a, 0x01, 0x2a, 0x30, 0x01, 0x42, 0x3b, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
|
|
|
0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x75, 0x73, 0x6f, 0x6e, 0x65, 0x2f, 0x77, 0x6f,
|
|
|
|
0x72, 0x6d, 0x68, 0x6f, 0x6c, 0x65, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x70, 0x6b, 0x67, 0x2f,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x70, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x70, 0x79,
|
|
|
|
0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2022-10-28 17:15:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_spy_v1_spy_proto_rawDescOnce sync.Once
|
|
|
|
file_spy_v1_spy_proto_rawDescData = file_spy_v1_spy_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_spy_v1_spy_proto_rawDescGZIP() []byte {
|
|
|
|
file_spy_v1_spy_proto_rawDescOnce.Do(func() {
|
|
|
|
file_spy_v1_spy_proto_rawDescData = protoimpl.X.CompressGZIP(file_spy_v1_spy_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_spy_v1_spy_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2024-01-30 12:55:03 -08:00
|
|
|
var file_spy_v1_spy_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
2022-10-28 17:15:33 -07:00
|
|
|
var file_spy_v1_spy_proto_goTypes = []interface{}{
|
2024-01-30 12:55:03 -08:00
|
|
|
(*EmitterFilter)(nil), // 0: spy.v1.EmitterFilter
|
|
|
|
(*BatchFilter)(nil), // 1: spy.v1.BatchFilter
|
|
|
|
(*BatchTransactionFilter)(nil), // 2: spy.v1.BatchTransactionFilter
|
|
|
|
(*FilterEntry)(nil), // 3: spy.v1.FilterEntry
|
|
|
|
(*SubscribeSignedVAARequest)(nil), // 4: spy.v1.SubscribeSignedVAARequest
|
|
|
|
(*SubscribeSignedVAAResponse)(nil), // 5: spy.v1.SubscribeSignedVAAResponse
|
|
|
|
(v1.ChainID)(0), // 6: publicrpc.v1.ChainID
|
2022-10-28 17:15:33 -07:00
|
|
|
}
|
|
|
|
var file_spy_v1_spy_proto_depIdxs = []int32{
|
2024-01-30 12:55:03 -08:00
|
|
|
6, // 0: spy.v1.EmitterFilter.chain_id:type_name -> publicrpc.v1.ChainID
|
|
|
|
6, // 1: spy.v1.BatchFilter.chain_id:type_name -> publicrpc.v1.ChainID
|
|
|
|
6, // 2: spy.v1.BatchTransactionFilter.chain_id:type_name -> publicrpc.v1.ChainID
|
|
|
|
0, // 3: spy.v1.FilterEntry.emitter_filter:type_name -> spy.v1.EmitterFilter
|
|
|
|
1, // 4: spy.v1.FilterEntry.batch_filter:type_name -> spy.v1.BatchFilter
|
|
|
|
2, // 5: spy.v1.FilterEntry.batch_transaction_filter:type_name -> spy.v1.BatchTransactionFilter
|
|
|
|
3, // 6: spy.v1.SubscribeSignedVAARequest.filters:type_name -> spy.v1.FilterEntry
|
|
|
|
4, // 7: spy.v1.SpyRPCService.SubscribeSignedVAA:input_type -> spy.v1.SubscribeSignedVAARequest
|
|
|
|
5, // 8: spy.v1.SpyRPCService.SubscribeSignedVAA:output_type -> spy.v1.SubscribeSignedVAAResponse
|
|
|
|
8, // [8:9] is the sub-list for method output_type
|
|
|
|
7, // [7:8] is the sub-list for method input_type
|
|
|
|
7, // [7:7] is the sub-list for extension type_name
|
|
|
|
7, // [7:7] is the sub-list for extension extendee
|
|
|
|
0, // [0:7] is the sub-list for field type_name
|
2022-10-28 17:15:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_spy_v1_spy_proto_init() }
|
|
|
|
func file_spy_v1_spy_proto_init() {
|
|
|
|
if File_spy_v1_spy_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_spy_v1_spy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*EmitterFilter); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_spy_v1_spy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2022-11-09 08:39:57 -08:00
|
|
|
switch v := v.(*BatchFilter); i {
|
2022-10-28 17:15:33 -07:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_spy_v1_spy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2022-11-09 08:39:57 -08:00
|
|
|
switch v := v.(*BatchTransactionFilter); i {
|
2022-10-28 17:15:33 -07:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_spy_v1_spy_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2022-11-09 08:39:57 -08:00
|
|
|
switch v := v.(*FilterEntry); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_spy_v1_spy_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*SubscribeSignedVAARequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_spy_v1_spy_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2022-10-28 17:15:33 -07:00
|
|
|
switch v := v.(*SubscribeSignedVAAResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-11-09 08:39:57 -08:00
|
|
|
file_spy_v1_spy_proto_msgTypes[3].OneofWrappers = []interface{}{
|
2022-10-28 17:15:33 -07:00
|
|
|
(*FilterEntry_EmitterFilter)(nil),
|
2022-11-09 08:39:57 -08:00
|
|
|
(*FilterEntry_BatchFilter)(nil),
|
|
|
|
(*FilterEntry_BatchTransactionFilter)(nil),
|
|
|
|
}
|
2022-10-28 17:15:33 -07:00
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_spy_v1_spy_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
2024-01-30 12:55:03 -08:00
|
|
|
NumMessages: 6,
|
2022-10-28 17:15:33 -07:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
GoTypes: file_spy_v1_spy_proto_goTypes,
|
|
|
|
DependencyIndexes: file_spy_v1_spy_proto_depIdxs,
|
|
|
|
MessageInfos: file_spy_v1_spy_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_spy_v1_spy_proto = out.File
|
|
|
|
file_spy_v1_spy_proto_rawDesc = nil
|
|
|
|
file_spy_v1_spy_proto_goTypes = nil
|
|
|
|
file_spy_v1_spy_proto_depIdxs = nil
|
|
|
|
}
|