status-go/services/wallet/bridge/cbridge/query.pb.go

177 lines
7.2 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: query.proto
package cbridge
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type TransferHistoryStatus int32
const (
TransferHistoryStatus_TRANSFER_UNKNOWN TransferHistoryStatus = 0
TransferHistoryStatus_TRANSFER_SUBMITTING TransferHistoryStatus = 1
TransferHistoryStatus_TRANSFER_FAILED TransferHistoryStatus = 2
TransferHistoryStatus_TRANSFER_WAITING_FOR_SGN_CONFIRMATION TransferHistoryStatus = 3
TransferHistoryStatus_TRANSFER_WAITING_FOR_FUND_RELEASE TransferHistoryStatus = 4
TransferHistoryStatus_TRANSFER_COMPLETED TransferHistoryStatus = 5
TransferHistoryStatus_TRANSFER_TO_BE_REFUNDED TransferHistoryStatus = 6
TransferHistoryStatus_TRANSFER_REQUESTING_REFUND TransferHistoryStatus = 7
TransferHistoryStatus_TRANSFER_REFUND_TO_BE_CONFIRMED TransferHistoryStatus = 8
TransferHistoryStatus_TRANSFER_CONFIRMING_YOUR_REFUND TransferHistoryStatus = 9
TransferHistoryStatus_TRANSFER_REFUNDED TransferHistoryStatus = 10
TransferHistoryStatus_TRANSFER_DELAYED TransferHistoryStatus = 11
)
var TransferHistoryStatus_name = map[int32]string{
0: "TRANSFER_UNKNOWN",
1: "TRANSFER_SUBMITTING",
2: "TRANSFER_FAILED",
3: "TRANSFER_WAITING_FOR_SGN_CONFIRMATION",
4: "TRANSFER_WAITING_FOR_FUND_RELEASE",
5: "TRANSFER_COMPLETED",
6: "TRANSFER_TO_BE_REFUNDED",
7: "TRANSFER_REQUESTING_REFUND",
8: "TRANSFER_REFUND_TO_BE_CONFIRMED",
9: "TRANSFER_CONFIRMING_YOUR_REFUND",
10: "TRANSFER_REFUNDED",
11: "TRANSFER_DELAYED",
}
var TransferHistoryStatus_value = map[string]int32{
"TRANSFER_UNKNOWN": 0,
"TRANSFER_SUBMITTING": 1,
"TRANSFER_FAILED": 2,
"TRANSFER_WAITING_FOR_SGN_CONFIRMATION": 3,
"TRANSFER_WAITING_FOR_FUND_RELEASE": 4,
"TRANSFER_COMPLETED": 5,
"TRANSFER_TO_BE_REFUNDED": 6,
"TRANSFER_REQUESTING_REFUND": 7,
"TRANSFER_REFUND_TO_BE_CONFIRMED": 8,
"TRANSFER_CONFIRMING_YOUR_REFUND": 9,
"TRANSFER_REFUNDED": 10,
"TRANSFER_DELAYED": 11,
}
func (x TransferHistoryStatus) String() string {
return proto.EnumName(TransferHistoryStatus_name, int32(x))
}
func (TransferHistoryStatus) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_5c6ac9b241082464, []int{0}
}
type Token struct {
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
Decimal int32 `protobuf:"varint,3,opt,name=decimal,proto3" json:"decimal,omitempty"`
XferDisabled bool `protobuf:"varint,4,opt,name=xfer_disabled,json=xferDisabled,proto3" json:"xfer_disabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Token) Reset() { *m = Token{} }
func (m *Token) String() string { return proto.CompactTextString(m) }
func (*Token) ProtoMessage() {}
func (*Token) Descriptor() ([]byte, []int) {
return fileDescriptor_5c6ac9b241082464, []int{0}
}
func (m *Token) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Token.Unmarshal(m, b)
}
func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Token.Marshal(b, m, deterministic)
}
func (m *Token) XXX_Merge(src proto.Message) {
xxx_messageInfo_Token.Merge(m, src)
}
func (m *Token) XXX_Size() int {
return xxx_messageInfo_Token.Size(m)
}
func (m *Token) XXX_DiscardUnknown() {
xxx_messageInfo_Token.DiscardUnknown(m)
}
var xxx_messageInfo_Token proto.InternalMessageInfo
func (m *Token) GetSymbol() string {
if m != nil {
return m.Symbol
}
return ""
}
func (m *Token) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *Token) GetDecimal() int32 {
if m != nil {
return m.Decimal
}
return 0
}
func (m *Token) GetXferDisabled() bool {
if m != nil {
return m.XferDisabled
}
return false
}
func init() {
proto.RegisterEnum("cbridge.TransferHistoryStatus", TransferHistoryStatus_name, TransferHistoryStatus_value)
proto.RegisterType((*Token)(nil), "cbridge.Token")
}
func init() {
proto.RegisterFile("query.proto", fileDescriptor_5c6ac9b241082464)
}
var fileDescriptor_5c6ac9b241082464 = []byte{
// 373 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x51, 0x6f, 0xd3, 0x30,
0x14, 0x85, 0x49, 0xb7, 0xb6, 0xdb, 0xdd, 0x10, 0xc6, 0x63, 0x5b, 0x04, 0x12, 0x14, 0xa6, 0x49,
0x85, 0x87, 0xf2, 0xc0, 0x2f, 0x48, 0xe7, 0x9b, 0x11, 0x91, 0x3a, 0xe0, 0x38, 0x9a, 0xca, 0x8b,
0x95, 0x34, 0x2e, 0x8a, 0x68, 0x1b, 0x70, 0x52, 0xa9, 0xfd, 0xe9, 0xbc, 0xa1, 0xa4, 0x69, 0x44,
0xd1, 0x1e, 0xcf, 0x77, 0xce, 0x3d, 0xb6, 0xae, 0x2e, 0x9c, 0xfd, 0x5e, 0x6b, 0xb3, 0x1d, 0xfd,
0x32, 0x79, 0x99, 0xd3, 0xfe, 0x2c, 0x31, 0x59, 0xfa, 0x43, 0xbf, 0xdb, 0x40, 0x57, 0xe6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