Commit 7d5b6062 authored by vipwzw's avatar vipwzw

auto ci

parent 0d683940
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
// source: coinsx.proto // source: coinsx.proto
package types package types
import ( import (
fmt "fmt" reflect "reflect"
sync "sync"
types "github.com/33cn/chain33/types" types "github.com/33cn/chain33/types"
proto "github.com/golang/protobuf/proto" protoreflect "google.golang.org/protobuf/reflect/protoreflect"
math "math" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
) )
// Reference imports to suppress errors if they are not otherwise used. const (
var _ = proto.Marshal // Verify that this generated code is sufficiently up-to-date.
var _ = fmt.Errorf _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
var _ = math.Inf // Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
// 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
//kvmvcc statedb not support 0 value //kvmvcc statedb not support 0 value
type TransferFlag int32 type TransferFlag int32
...@@ -30,24 +31,45 @@ const ( ...@@ -30,24 +31,45 @@ const (
TransferFlag_DISABLE TransferFlag = 2 TransferFlag_DISABLE TransferFlag = 2
) )
var TransferFlag_name = map[int32]string{ // Enum value maps for TransferFlag.
0: "NONE", var (
1: "ENABLE", TransferFlag_name = map[int32]string{
2: "DISABLE", 0: "NONE",
} 1: "ENABLE",
2: "DISABLE",
}
TransferFlag_value = map[string]int32{
"NONE": 0,
"ENABLE": 1,
"DISABLE": 2,
}
)
var TransferFlag_value = map[string]int32{ func (x TransferFlag) Enum() *TransferFlag {
"NONE": 0, p := new(TransferFlag)
"ENABLE": 1, *p = x
"DISABLE": 2, return p
} }
func (x TransferFlag) String() string { func (x TransferFlag) String() string {
return proto.EnumName(TransferFlag_name, int32(x)) return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TransferFlag) Descriptor() protoreflect.EnumDescriptor {
return file_coinsx_proto_enumTypes[0].Descriptor()
}
func (TransferFlag) Type() protoreflect.EnumType {
return &file_coinsx_proto_enumTypes[0]
}
func (x TransferFlag) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
} }
// Deprecated: Use TransferFlag.Descriptor instead.
func (TransferFlag) EnumDescriptor() ([]byte, []int) { func (TransferFlag) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{0} return file_coinsx_proto_rawDescGZIP(), []int{0}
} }
type AccountOp int32 type AccountOp int32
...@@ -57,22 +79,43 @@ const ( ...@@ -57,22 +79,43 @@ const (
AccountOp_DEL AccountOp = 1 AccountOp_DEL AccountOp = 1
) )
var AccountOp_name = map[int32]string{ // Enum value maps for AccountOp.
0: "ADD", var (
1: "DEL", AccountOp_name = map[int32]string{
} 0: "ADD",
1: "DEL",
}
AccountOp_value = map[string]int32{
"ADD": 0,
"DEL": 1,
}
)
var AccountOp_value = map[string]int32{ func (x AccountOp) Enum() *AccountOp {
"ADD": 0, p := new(AccountOp)
"DEL": 1, *p = x
return p
} }
func (x AccountOp) String() string { func (x AccountOp) String() string {
return proto.EnumName(AccountOp_name, int32(x)) return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AccountOp) Descriptor() protoreflect.EnumDescriptor {
return file_coinsx_proto_enumTypes[1].Descriptor()
} }
func (AccountOp) Type() protoreflect.EnumType {
return &file_coinsx_proto_enumTypes[1]
}
func (x AccountOp) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AccountOp.Descriptor instead.
func (AccountOp) EnumDescriptor() ([]byte, []int) { func (AccountOp) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{1} return file_coinsx_proto_rawDescGZIP(), []int{1}
} }
type ConfigType int32 type ConfigType int32
...@@ -83,65 +126,143 @@ const ( ...@@ -83,65 +126,143 @@ const (
ConfigType_ACCOUNTS ConfigType = 2 ConfigType_ACCOUNTS ConfigType = 2
) )
var ConfigType_name = map[int32]string{ // Enum value maps for ConfigType.
0: "INVALID", var (
1: "TRANSFER", ConfigType_name = map[int32]string{
2: "ACCOUNTS", 0: "INVALID",
} 1: "TRANSFER",
2: "ACCOUNTS",
}
ConfigType_value = map[string]int32{
"INVALID": 0,
"TRANSFER": 1,
"ACCOUNTS": 2,
}
)
var ConfigType_value = map[string]int32{ func (x ConfigType) Enum() *ConfigType {
"INVALID": 0, p := new(ConfigType)
"TRANSFER": 1, *p = x
"ACCOUNTS": 2, return p
} }
func (x ConfigType) String() string { func (x ConfigType) String() string {
return proto.EnumName(ConfigType_name, int32(x)) return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ConfigType) Descriptor() protoreflect.EnumDescriptor {
return file_coinsx_proto_enumTypes[2].Descriptor()
} }
func (ConfigType) Type() protoreflect.EnumType {
return &file_coinsx_proto_enumTypes[2]
}
func (x ConfigType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ConfigType.Descriptor instead.
func (ConfigType) EnumDescriptor() ([]byte, []int) { func (ConfigType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{2} return file_coinsx_proto_rawDescGZIP(), []int{2}
} }
// message for execs.coinsx // message for execs.coinsx
type CoinsxAction struct { type CoinsxAction struct {
// Types that are valid to be assigned to Value: state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Value:
// *CoinsxAction_Transfer // *CoinsxAction_Transfer
// *CoinsxAction_Withdraw // *CoinsxAction_Withdraw
// *CoinsxAction_Genesis // *CoinsxAction_Genesis
// *CoinsxAction_TransferToExec // *CoinsxAction_TransferToExec
// *CoinsxAction_Config // *CoinsxAction_Config
Value isCoinsxAction_Value `protobuf_oneof:"value"` Value isCoinsxAction_Value `protobuf_oneof:"value"`
Ty int32 `protobuf:"varint,3,opt,name=ty,proto3" json:"ty,omitempty"` Ty int32 `protobuf:"varint,3,opt,name=ty,proto3" json:"ty,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` }
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` func (x *CoinsxAction) Reset() {
*x = CoinsxAction{}
if protoimpl.UnsafeEnabled {
mi := &file_coinsx_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *CoinsxAction) Reset() { *m = CoinsxAction{} } func (x *CoinsxAction) String() string {
func (m *CoinsxAction) String() string { return proto.CompactTextString(m) } return protoimpl.X.MessageStringOf(x)
func (*CoinsxAction) ProtoMessage() {} }
func (*CoinsxAction) ProtoMessage() {}
func (x *CoinsxAction) ProtoReflect() protoreflect.Message {
mi := &file_coinsx_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 CoinsxAction.ProtoReflect.Descriptor instead.
func (*CoinsxAction) Descriptor() ([]byte, []int) { func (*CoinsxAction) Descriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{0} return file_coinsx_proto_rawDescGZIP(), []int{0}
}
func (m *CoinsxAction) GetValue() isCoinsxAction_Value {
if m != nil {
return m.Value
}
return nil
} }
func (m *CoinsxAction) XXX_Unmarshal(b []byte) error { func (x *CoinsxAction) GetTransfer() *types.AssetsTransfer {
return xxx_messageInfo_CoinsxAction.Unmarshal(m, b) if x, ok := x.GetValue().(*CoinsxAction_Transfer); ok {
return x.Transfer
}
return nil
} }
func (m *CoinsxAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CoinsxAction.Marshal(b, m, deterministic) func (x *CoinsxAction) GetWithdraw() *types.AssetsWithdraw {
if x, ok := x.GetValue().(*CoinsxAction_Withdraw); ok {
return x.Withdraw
}
return nil
} }
func (m *CoinsxAction) XXX_Merge(src proto.Message) {
xxx_messageInfo_CoinsxAction.Merge(m, src) func (x *CoinsxAction) GetGenesis() *types.AssetsGenesis {
if x, ok := x.GetValue().(*CoinsxAction_Genesis); ok {
return x.Genesis
}
return nil
} }
func (m *CoinsxAction) XXX_Size() int {
return xxx_messageInfo_CoinsxAction.Size(m) func (x *CoinsxAction) GetTransferToExec() *types.AssetsTransferToExec {
if x, ok := x.GetValue().(*CoinsxAction_TransferToExec); ok {
return x.TransferToExec
}
return nil
} }
func (m *CoinsxAction) XXX_DiscardUnknown() {
xxx_messageInfo_CoinsxAction.DiscardUnknown(m) func (x *CoinsxAction) GetConfig() *CoinsConfig {
if x, ok := x.GetValue().(*CoinsxAction_Config); ok {
return x.Config
}
return nil
} }
var xxx_messageInfo_CoinsxAction proto.InternalMessageInfo func (x *CoinsxAction) GetTy() int32 {
if x != nil {
return x.Ty
}
return 0
}
type isCoinsxAction_Value interface { type isCoinsxAction_Value interface {
isCoinsxAction_Value() isCoinsxAction_Value()
...@@ -177,287 +298,288 @@ func (*CoinsxAction_TransferToExec) isCoinsxAction_Value() {} ...@@ -177,287 +298,288 @@ func (*CoinsxAction_TransferToExec) isCoinsxAction_Value() {}
func (*CoinsxAction_Config) isCoinsxAction_Value() {} func (*CoinsxAction_Config) isCoinsxAction_Value() {}
func (m *CoinsxAction) GetValue() isCoinsxAction_Value { type TransferFlagConfig struct {
if m != nil { state protoimpl.MessageState
return m.Value sizeCache protoimpl.SizeCache
} unknownFields protoimpl.UnknownFields
return nil
}
func (m *CoinsxAction) GetTransfer() *types.AssetsTransfer { Flag TransferFlag `protobuf:"varint,1,opt,name=flag,proto3,enum=types.TransferFlag" json:"flag,omitempty"`
if x, ok := m.GetValue().(*CoinsxAction_Transfer); ok {
return x.Transfer
}
return nil
} }
func (m *CoinsxAction) GetWithdraw() *types.AssetsWithdraw { func (x *TransferFlagConfig) Reset() {
if x, ok := m.GetValue().(*CoinsxAction_Withdraw); ok { *x = TransferFlagConfig{}
return x.Withdraw if protoimpl.UnsafeEnabled {
mi := &file_coinsx_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
} }
return nil
} }
func (m *CoinsxAction) GetGenesis() *types.AssetsGenesis { func (x *TransferFlagConfig) String() string {
if x, ok := m.GetValue().(*CoinsxAction_Genesis); ok { return protoimpl.X.MessageStringOf(x)
return x.Genesis
}
return nil
} }
func (m *CoinsxAction) GetTransferToExec() *types.AssetsTransferToExec { func (*TransferFlagConfig) ProtoMessage() {}
if x, ok := m.GetValue().(*CoinsxAction_TransferToExec); ok {
return x.TransferToExec
}
return nil
}
func (m *CoinsxAction) GetConfig() *CoinsConfig { func (x *TransferFlagConfig) ProtoReflect() protoreflect.Message {
if x, ok := m.GetValue().(*CoinsxAction_Config); ok { mi := &file_coinsx_proto_msgTypes[1]
return x.Config if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
} }
return nil return mi.MessageOf(x)
} }
func (m *CoinsxAction) GetTy() int32 { // Deprecated: Use TransferFlagConfig.ProtoReflect.Descriptor instead.
if m != nil { func (*TransferFlagConfig) Descriptor() ([]byte, []int) {
return m.Ty return file_coinsx_proto_rawDescGZIP(), []int{1}
}
return 0
} }
// XXX_OneofWrappers is for the internal use of the proto package. func (x *TransferFlagConfig) GetFlag() TransferFlag {
func (*CoinsxAction) XXX_OneofWrappers() []interface{} { if x != nil {
return []interface{}{ return x.Flag
(*CoinsxAction_Transfer)(nil),
(*CoinsxAction_Withdraw)(nil),
(*CoinsxAction_Genesis)(nil),
(*CoinsxAction_TransferToExec)(nil),
(*CoinsxAction_Config)(nil),
} }
return TransferFlag_NONE
} }
type TransferFlagConfig struct { type ManagerStatus struct {
Flag TransferFlag `protobuf:"varint,1,opt,name=flag,proto3,enum=types.TransferFlag" json:"flag,omitempty"` state protoimpl.MessageState
XXX_NoUnkeyedLiteral struct{} `json:"-"` sizeCache protoimpl.SizeCache
XXX_unrecognized []byte `json:"-"` unknownFields protoimpl.UnknownFields
XXX_sizecache int32 `json:"-"`
}
func (m *TransferFlagConfig) Reset() { *m = TransferFlagConfig{} } TransferFlag TransferFlag `protobuf:"varint,1,opt,name=transferFlag,proto3,enum=types.TransferFlag" json:"transferFlag,omitempty"`
func (m *TransferFlagConfig) String() string { return proto.CompactTextString(m) } ManagerAccounts []string `protobuf:"bytes,2,rep,name=managerAccounts,proto3" json:"managerAccounts,omitempty"`
func (*TransferFlagConfig) ProtoMessage() {}
func (*TransferFlagConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{1}
} }
func (m *TransferFlagConfig) XXX_Unmarshal(b []byte) error { func (x *ManagerStatus) Reset() {
return xxx_messageInfo_TransferFlagConfig.Unmarshal(m, b) *x = ManagerStatus{}
} if protoimpl.UnsafeEnabled {
func (m *TransferFlagConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { mi := &file_coinsx_proto_msgTypes[2]
return xxx_messageInfo_TransferFlagConfig.Marshal(b, m, deterministic) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
} ms.StoreMessageInfo(mi)
func (m *TransferFlagConfig) XXX_Merge(src proto.Message) { }
xxx_messageInfo_TransferFlagConfig.Merge(m, src)
}
func (m *TransferFlagConfig) XXX_Size() int {
return xxx_messageInfo_TransferFlagConfig.Size(m)
} }
func (m *TransferFlagConfig) XXX_DiscardUnknown() {
xxx_messageInfo_TransferFlagConfig.DiscardUnknown(m) func (x *ManagerStatus) String() string {
return protoimpl.X.MessageStringOf(x)
} }
var xxx_messageInfo_TransferFlagConfig proto.InternalMessageInfo func (*ManagerStatus) ProtoMessage() {}
func (m *TransferFlagConfig) GetFlag() TransferFlag { func (x *ManagerStatus) ProtoReflect() protoreflect.Message {
if m != nil { mi := &file_coinsx_proto_msgTypes[2]
return m.Flag if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
} }
return TransferFlag_NONE return mi.MessageOf(x)
} }
type ManagerStatus struct { // Deprecated: Use ManagerStatus.ProtoReflect.Descriptor instead.
TransferFlag TransferFlag `protobuf:"varint,1,opt,name=transferFlag,proto3,enum=types.TransferFlag" json:"transferFlag,omitempty"`
ManagerAccounts []string `protobuf:"bytes,2,rep,name=managerAccounts,proto3" json:"managerAccounts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ManagerStatus) Reset() { *m = ManagerStatus{} }
func (m *ManagerStatus) String() string { return proto.CompactTextString(m) }
func (*ManagerStatus) ProtoMessage() {}
func (*ManagerStatus) Descriptor() ([]byte, []int) { func (*ManagerStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{2} return file_coinsx_proto_rawDescGZIP(), []int{2}
} }
func (m *ManagerStatus) XXX_Unmarshal(b []byte) error { func (x *ManagerStatus) GetTransferFlag() TransferFlag {
return xxx_messageInfo_ManagerStatus.Unmarshal(m, b) if x != nil {
} return x.TransferFlag
func (m *ManagerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ManagerStatus.Marshal(b, m, deterministic)
}
func (m *ManagerStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_ManagerStatus.Merge(m, src)
}
func (m *ManagerStatus) XXX_Size() int {
return xxx_messageInfo_ManagerStatus.Size(m)
}
func (m *ManagerStatus) XXX_DiscardUnknown() {
xxx_messageInfo_ManagerStatus.DiscardUnknown(m)
}
var xxx_messageInfo_ManagerStatus proto.InternalMessageInfo
func (m *ManagerStatus) GetTransferFlag() TransferFlag {
if m != nil {
return m.TransferFlag
} }
return TransferFlag_NONE return TransferFlag_NONE
} }
func (m *ManagerStatus) GetManagerAccounts() []string { func (x *ManagerStatus) GetManagerAccounts() []string {
if m != nil { if x != nil {
return m.ManagerAccounts return x.ManagerAccounts
} }
return nil return nil
} }
type ReceiptManagerStatus struct { type ReceiptManagerStatus struct {
Prev *ManagerStatus `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"` state protoimpl.MessageState
Curr *ManagerStatus `protobuf:"bytes,3,opt,name=curr,proto3" json:"curr,omitempty"` sizeCache protoimpl.SizeCache
XXX_NoUnkeyedLiteral struct{} `json:"-"` unknownFields protoimpl.UnknownFields
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReceiptManagerStatus) Reset() { *m = ReceiptManagerStatus{} } Prev *ManagerStatus `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"`
func (m *ReceiptManagerStatus) String() string { return proto.CompactTextString(m) } Curr *ManagerStatus `protobuf:"bytes,3,opt,name=curr,proto3" json:"curr,omitempty"`
func (*ReceiptManagerStatus) ProtoMessage() {}
func (*ReceiptManagerStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{3}
} }
func (m *ReceiptManagerStatus) XXX_Unmarshal(b []byte) error { func (x *ReceiptManagerStatus) Reset() {
return xxx_messageInfo_ReceiptManagerStatus.Unmarshal(m, b) *x = ReceiptManagerStatus{}
} if protoimpl.UnsafeEnabled {
func (m *ReceiptManagerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { mi := &file_coinsx_proto_msgTypes[3]
return xxx_messageInfo_ReceiptManagerStatus.Marshal(b, m, deterministic) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
} ms.StoreMessageInfo(mi)
func (m *ReceiptManagerStatus) XXX_Merge(src proto.Message) { }
xxx_messageInfo_ReceiptManagerStatus.Merge(m, src)
} }
func (m *ReceiptManagerStatus) XXX_Size() int {
return xxx_messageInfo_ReceiptManagerStatus.Size(m) func (x *ReceiptManagerStatus) String() string {
return protoimpl.X.MessageStringOf(x)
} }
func (m *ReceiptManagerStatus) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptManagerStatus.DiscardUnknown(m) func (*ReceiptManagerStatus) ProtoMessage() {}
func (x *ReceiptManagerStatus) ProtoReflect() protoreflect.Message {
mi := &file_coinsx_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)
} }
var xxx_messageInfo_ReceiptManagerStatus proto.InternalMessageInfo // Deprecated: Use ReceiptManagerStatus.ProtoReflect.Descriptor instead.
func (*ReceiptManagerStatus) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{3}
}
func (m *ReceiptManagerStatus) GetPrev() *ManagerStatus { func (x *ReceiptManagerStatus) GetPrev() *ManagerStatus {
if m != nil { if x != nil {
return m.Prev return x.Prev
} }
return nil return nil
} }
func (m *ReceiptManagerStatus) GetCurr() *ManagerStatus { func (x *ReceiptManagerStatus) GetCurr() *ManagerStatus {
if m != nil { if x != nil {
return m.Curr return x.Curr
} }
return nil return nil
} }
type ManagerAccountsConfig struct { type ManagerAccountsConfig struct {
Op AccountOp `protobuf:"varint,1,opt,name=op,proto3,enum=types.AccountOp" json:"op,omitempty"` state protoimpl.MessageState
Accounts string `protobuf:"bytes,2,opt,name=accounts,proto3" json:"accounts,omitempty"` sizeCache protoimpl.SizeCache
XXX_NoUnkeyedLiteral struct{} `json:"-"` unknownFields protoimpl.UnknownFields
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ManagerAccountsConfig) Reset() { *m = ManagerAccountsConfig{} } Op AccountOp `protobuf:"varint,1,opt,name=op,proto3,enum=types.AccountOp" json:"op,omitempty"`
func (m *ManagerAccountsConfig) String() string { return proto.CompactTextString(m) } Accounts string `protobuf:"bytes,2,opt,name=accounts,proto3" json:"accounts,omitempty"`
func (*ManagerAccountsConfig) ProtoMessage() {}
func (*ManagerAccountsConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{4}
} }
func (m *ManagerAccountsConfig) XXX_Unmarshal(b []byte) error { func (x *ManagerAccountsConfig) Reset() {
return xxx_messageInfo_ManagerAccountsConfig.Unmarshal(m, b) *x = ManagerAccountsConfig{}
} if protoimpl.UnsafeEnabled {
func (m *ManagerAccountsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { mi := &file_coinsx_proto_msgTypes[4]
return xxx_messageInfo_ManagerAccountsConfig.Marshal(b, m, deterministic) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
} ms.StoreMessageInfo(mi)
func (m *ManagerAccountsConfig) XXX_Merge(src proto.Message) { }
xxx_messageInfo_ManagerAccountsConfig.Merge(m, src)
} }
func (m *ManagerAccountsConfig) XXX_Size() int {
return xxx_messageInfo_ManagerAccountsConfig.Size(m) func (x *ManagerAccountsConfig) String() string {
return protoimpl.X.MessageStringOf(x)
} }
func (m *ManagerAccountsConfig) XXX_DiscardUnknown() {
xxx_messageInfo_ManagerAccountsConfig.DiscardUnknown(m) func (*ManagerAccountsConfig) ProtoMessage() {}
func (x *ManagerAccountsConfig) ProtoReflect() protoreflect.Message {
mi := &file_coinsx_proto_msgTypes[4]
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)
} }
var xxx_messageInfo_ManagerAccountsConfig proto.InternalMessageInfo // Deprecated: Use ManagerAccountsConfig.ProtoReflect.Descriptor instead.
func (*ManagerAccountsConfig) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{4}
}
func (m *ManagerAccountsConfig) GetOp() AccountOp { func (x *ManagerAccountsConfig) GetOp() AccountOp {
if m != nil { if x != nil {
return m.Op return x.Op
} }
return AccountOp_ADD return AccountOp_ADD
} }
func (m *ManagerAccountsConfig) GetAccounts() string { func (x *ManagerAccountsConfig) GetAccounts() string {
if m != nil { if x != nil {
return m.Accounts return x.Accounts
} }
return "" return ""
} }
type CoinsConfig struct { type CoinsConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ty ConfigType `protobuf:"varint,1,opt,name=ty,proto3,enum=types.ConfigType" json:"ty,omitempty"` Ty ConfigType `protobuf:"varint,1,opt,name=ty,proto3,enum=types.ConfigType" json:"ty,omitempty"`
// Types that are valid to be assigned to Value: // Types that are assignable to Value:
// *CoinsConfig_TransferFlag // *CoinsConfig_TransferFlag
// *CoinsConfig_ManagerAccounts // *CoinsConfig_ManagerAccounts
Value isCoinsConfig_Value `protobuf_oneof:"value"` Value isCoinsConfig_Value `protobuf_oneof:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (m *CoinsConfig) Reset() { *m = CoinsConfig{} } func (x *CoinsConfig) Reset() {
func (m *CoinsConfig) String() string { return proto.CompactTextString(m) } *x = CoinsConfig{}
func (*CoinsConfig) ProtoMessage() {} if protoimpl.UnsafeEnabled {
func (*CoinsConfig) Descriptor() ([]byte, []int) { mi := &file_coinsx_proto_msgTypes[5]
return fileDescriptor_f07af7065b15e440, []int{5} ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (m *CoinsConfig) XXX_Unmarshal(b []byte) error { func (x *CoinsConfig) String() string {
return xxx_messageInfo_CoinsConfig.Unmarshal(m, b) return protoimpl.X.MessageStringOf(x)
} }
func (m *CoinsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CoinsConfig.Marshal(b, m, deterministic) func (*CoinsConfig) ProtoMessage() {}
func (x *CoinsConfig) ProtoReflect() protoreflect.Message {
mi := &file_coinsx_proto_msgTypes[5]
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)
} }
func (m *CoinsConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_CoinsConfig.Merge(m, src) // Deprecated: Use CoinsConfig.ProtoReflect.Descriptor instead.
func (*CoinsConfig) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{5}
} }
func (m *CoinsConfig) XXX_Size() int {
return xxx_messageInfo_CoinsConfig.Size(m) func (x *CoinsConfig) GetTy() ConfigType {
if x != nil {
return x.Ty
}
return ConfigType_INVALID
} }
func (m *CoinsConfig) XXX_DiscardUnknown() {
xxx_messageInfo_CoinsConfig.DiscardUnknown(m) func (m *CoinsConfig) GetValue() isCoinsConfig_Value {
if m != nil {
return m.Value
}
return nil
} }
var xxx_messageInfo_CoinsConfig proto.InternalMessageInfo func (x *CoinsConfig) GetTransferFlag() *TransferFlagConfig {
if x, ok := x.GetValue().(*CoinsConfig_TransferFlag); ok {
return x.TransferFlag
}
return nil
}
func (m *CoinsConfig) GetTy() ConfigType { func (x *CoinsConfig) GetManagerAccounts() *ManagerAccountsConfig {
if m != nil { if x, ok := x.GetValue().(*CoinsConfig_ManagerAccounts); ok {
return m.Ty return x.ManagerAccounts
} }
return ConfigType_INVALID return nil
} }
type isCoinsConfig_Value interface { type isCoinsConfig_Value interface {
...@@ -476,83 +598,236 @@ func (*CoinsConfig_TransferFlag) isCoinsConfig_Value() {} ...@@ -476,83 +598,236 @@ func (*CoinsConfig_TransferFlag) isCoinsConfig_Value() {}
func (*CoinsConfig_ManagerAccounts) isCoinsConfig_Value() {} func (*CoinsConfig_ManagerAccounts) isCoinsConfig_Value() {}
func (m *CoinsConfig) GetValue() isCoinsConfig_Value { var File_coinsx_proto protoreflect.FileDescriptor
if m != nil {
return m.Value var file_coinsx_proto_rawDesc = []byte{
} 0x0a, 0x0c, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05,
return nil 0x74, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69,
} 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x02, 0x0a, 0x0c, 0x43, 0x6f, 0x69,
0x6e, 0x73, 0x78, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x08, 0x74, 0x72, 0x61,
0x6e, 0x73, 0x66, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x74, 0x79,
0x70, 0x65, 0x73, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66,
0x65, 0x72, 0x48, 0x00, 0x52, 0x08, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x33,
0x0a, 0x08, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x15, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x57,
0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x48, 0x00, 0x52, 0x08, 0x77, 0x69, 0x74, 0x68, 0x64,
0x72, 0x61, 0x77, 0x12, 0x30, 0x0a, 0x07, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x73, 0x73,
0x65, 0x74, 0x73, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x48, 0x00, 0x52, 0x07, 0x67, 0x65,
0x6e, 0x65, 0x73, 0x69, 0x73, 0x12, 0x45, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65,
0x72, 0x54, 0x6f, 0x45, 0x78, 0x65, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x54, 0x72, 0x61, 0x6e,
0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x45, 0x78, 0x65, 0x63, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x72,
0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x6f, 0x45, 0x78, 0x65, 0x63, 0x12, 0x2c, 0x0a, 0x06,
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x79,
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x22, 0x3d, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46,
0x6c, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x04, 0x66, 0x6c, 0x61,
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67, 0x52, 0x04, 0x66, 0x6c,
0x61, 0x67, 0x22, 0x72, 0x0a, 0x0d, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x12, 0x37, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46,
0x6c, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x74, 0x79, 0x70, 0x65,
0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67, 0x52, 0x0c,
0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x28, 0x0a, 0x0f,
0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18,
0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x41, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x6a, 0x0a, 0x14, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70,
0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x28,
0x0a, 0x04, 0x70, 0x72, 0x65, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74,
0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
0x75, 0x73, 0x52, 0x04, 0x70, 0x72, 0x65, 0x76, 0x12, 0x28, 0x0a, 0x04, 0x63, 0x75, 0x72, 0x72,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d,
0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x04, 0x63, 0x75,
0x72, 0x72, 0x22, 0x55, 0x0a, 0x15, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x41, 0x63, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x02, 0x6f,
0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x70, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x1a, 0x0a,
0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x0b, 0x43, 0x6f,
0x69, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x02, 0x74, 0x79, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x74, 0x79, 0x12, 0x3f, 0x0a, 0x0c,
0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73,
0x66, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52,
0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x48, 0x0a,
0x0f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d,
0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x43, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x41,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x2a, 0x31, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x46, 0x6c, 0x61, 0x67,
0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4e,
0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c,
0x45, 0x10, 0x02, 0x2a, 0x1d, 0x0a, 0x09, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x70,
0x12, 0x07, 0x0a, 0x03, 0x41, 0x44, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x45, 0x4c,
0x10, 0x01, 0x2a, 0x35, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x54, 0x79, 0x70, 0x65,
0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a,
0x08, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x46, 0x45, 0x52, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41,
0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x53, 0x10, 0x02, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f,
0x74, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_coinsx_proto_rawDescOnce sync.Once
file_coinsx_proto_rawDescData = file_coinsx_proto_rawDesc
)
func (m *CoinsConfig) GetTransferFlag() *TransferFlagConfig { func file_coinsx_proto_rawDescGZIP() []byte {
if x, ok := m.GetValue().(*CoinsConfig_TransferFlag); ok { file_coinsx_proto_rawDescOnce.Do(func() {
return x.TransferFlag file_coinsx_proto_rawDescData = protoimpl.X.CompressGZIP(file_coinsx_proto_rawDescData)
})
return file_coinsx_proto_rawDescData
}
var file_coinsx_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_coinsx_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_coinsx_proto_goTypes = []interface{}{
(TransferFlag)(0), // 0: types.TransferFlag
(AccountOp)(0), // 1: types.AccountOp
(ConfigType)(0), // 2: types.ConfigType
(*CoinsxAction)(nil), // 3: types.CoinsxAction
(*TransferFlagConfig)(nil), // 4: types.TransferFlagConfig
(*ManagerStatus)(nil), // 5: types.ManagerStatus
(*ReceiptManagerStatus)(nil), // 6: types.ReceiptManagerStatus
(*ManagerAccountsConfig)(nil), // 7: types.ManagerAccountsConfig
(*CoinsConfig)(nil), // 8: types.CoinsConfig
(*types.AssetsTransfer)(nil), // 9: types.AssetsTransfer
(*types.AssetsWithdraw)(nil), // 10: types.AssetsWithdraw
(*types.AssetsGenesis)(nil), // 11: types.AssetsGenesis
(*types.AssetsTransferToExec)(nil), // 12: types.AssetsTransferToExec
}
var file_coinsx_proto_depIdxs = []int32{
9, // 0: types.CoinsxAction.transfer:type_name -> types.AssetsTransfer
10, // 1: types.CoinsxAction.withdraw:type_name -> types.AssetsWithdraw
11, // 2: types.CoinsxAction.genesis:type_name -> types.AssetsGenesis
12, // 3: types.CoinsxAction.transferToExec:type_name -> types.AssetsTransferToExec
8, // 4: types.CoinsxAction.config:type_name -> types.CoinsConfig
0, // 5: types.TransferFlagConfig.flag:type_name -> types.TransferFlag
0, // 6: types.ManagerStatus.transferFlag:type_name -> types.TransferFlag
5, // 7: types.ReceiptManagerStatus.prev:type_name -> types.ManagerStatus
5, // 8: types.ReceiptManagerStatus.curr:type_name -> types.ManagerStatus
1, // 9: types.ManagerAccountsConfig.op:type_name -> types.AccountOp
2, // 10: types.CoinsConfig.ty:type_name -> types.ConfigType
4, // 11: types.CoinsConfig.transferFlag:type_name -> types.TransferFlagConfig
7, // 12: types.CoinsConfig.managerAccounts:type_name -> types.ManagerAccountsConfig
13, // [13:13] is the sub-list for method output_type
13, // [13:13] is the sub-list for method input_type
13, // [13:13] is the sub-list for extension type_name
13, // [13:13] is the sub-list for extension extendee
0, // [0:13] is the sub-list for field type_name
}
func init() { file_coinsx_proto_init() }
func file_coinsx_proto_init() {
if File_coinsx_proto != nil {
return
} }
return nil if !protoimpl.UnsafeEnabled {
} file_coinsx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CoinsxAction); i {
func (m *CoinsConfig) GetManagerAccounts() *ManagerAccountsConfig { case 0:
if x, ok := m.GetValue().(*CoinsConfig_ManagerAccounts); ok { return &v.state
return x.ManagerAccounts case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_coinsx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransferFlagConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_coinsx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ManagerStatus); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_coinsx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReceiptManagerStatus); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_coinsx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ManagerAccountsConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_coinsx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CoinsConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
} }
return nil file_coinsx_proto_msgTypes[0].OneofWrappers = []interface{}{
} (*CoinsxAction_Transfer)(nil),
(*CoinsxAction_Withdraw)(nil),
// XXX_OneofWrappers is for the internal use of the proto package. (*CoinsxAction_Genesis)(nil),
func (*CoinsConfig) XXX_OneofWrappers() []interface{} { (*CoinsxAction_TransferToExec)(nil),
return []interface{}{ (*CoinsxAction_Config)(nil),
}
file_coinsx_proto_msgTypes[5].OneofWrappers = []interface{}{
(*CoinsConfig_TransferFlag)(nil), (*CoinsConfig_TransferFlag)(nil),
(*CoinsConfig_ManagerAccounts)(nil), (*CoinsConfig_ManagerAccounts)(nil),
} }
} type x struct{}
out := protoimpl.TypeBuilder{
func init() { File: protoimpl.DescBuilder{
proto.RegisterEnum("types.TransferFlag", TransferFlag_name, TransferFlag_value) GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
proto.RegisterEnum("types.AccountOp", AccountOp_name, AccountOp_value) RawDescriptor: file_coinsx_proto_rawDesc,
proto.RegisterEnum("types.ConfigType", ConfigType_name, ConfigType_value) NumEnums: 3,
proto.RegisterType((*CoinsxAction)(nil), "types.CoinsxAction") NumMessages: 6,
proto.RegisterType((*TransferFlagConfig)(nil), "types.TransferFlagConfig") NumExtensions: 0,
proto.RegisterType((*ManagerStatus)(nil), "types.ManagerStatus") NumServices: 0,
proto.RegisterType((*ReceiptManagerStatus)(nil), "types.ReceiptManagerStatus") },
proto.RegisterType((*ManagerAccountsConfig)(nil), "types.ManagerAccountsConfig") GoTypes: file_coinsx_proto_goTypes,
proto.RegisterType((*CoinsConfig)(nil), "types.CoinsConfig") DependencyIndexes: file_coinsx_proto_depIdxs,
} EnumInfos: file_coinsx_proto_enumTypes,
MessageInfos: file_coinsx_proto_msgTypes,
func init() { proto.RegisterFile("coinsx.proto", fileDescriptor_f07af7065b15e440) } }.Build()
File_coinsx_proto = out.File
var fileDescriptor_f07af7065b15e440 = []byte{ file_coinsx_proto_rawDesc = nil
// 530 bytes of a gzipped FileDescriptorProto file_coinsx_proto_goTypes = nil
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xdf, 0x8e, 0xd2, 0x40, file_coinsx_proto_depIdxs = nil
0x18, 0xc5, 0xdb, 0xf2, 0xff, 0x03, 0xb1, 0x3b, 0xee, 0x26, 0x75, 0xd5, 0x04, 0x7b, 0x63, 0x43,
0x0c, 0xea, 0x6e, 0x8c, 0x57, 0xc6, 0x14, 0xe8, 0x5a, 0x12, 0xb6, 0x24, 0x43, 0x57, 0x13, 0xef,
0xc6, 0x3a, 0xd4, 0x1a, 0x6c, 0x9b, 0x76, 0xd8, 0x5d, 0xde, 0xcc, 0x07, 0xf0, 0xc1, 0xcc, 0x4c,
0xff, 0x2c, 0x65, 0x71, 0xef, 0x98, 0xf9, 0x7e, 0x67, 0x3e, 0xce, 0x39, 0x04, 0xe8, 0x79, 0x51,
0x10, 0xa6, 0xb7, 0xa3, 0x38, 0x89, 0x58, 0x84, 0x1a, 0x6c, 0x1b, 0xd3, 0xf4, 0xf4, 0x88, 0x25,
0x24, 0x4c, 0x89, 0xc7, 0x82, 0x28, 0xcc, 0x26, 0xfa, 0x1f, 0x05, 0x7a, 0x13, 0x81, 0x9a, 0xe2,
0x1a, 0x9d, 0x43, 0x5b, 0x50, 0x2b, 0x9a, 0x68, 0xf2, 0x40, 0x36, 0xba, 0x67, 0x27, 0x23, 0xa1,
0x1e, 0x99, 0x69, 0x4a, 0x59, 0xea, 0xe6, 0x43, 0x5b, 0xc2, 0x25, 0xc8, 0x45, 0x37, 0x01, 0xfb,
0xf9, 0x23, 0x21, 0x37, 0x5a, 0xfd, 0x80, 0xe8, 0x6b, 0x3e, 0xe4, 0xa2, 0x02, 0x44, 0x6f, 0xa1,
0xe5, 0xd3, 0x90, 0xa6, 0x41, 0xaa, 0x29, 0x42, 0x73, 0x5c, 0xd1, 0x7c, 0xce, 0x66, 0xb6, 0x84,
0x0b, 0x0c, 0x59, 0xd0, 0x2f, 0x56, 0xba, 0x91, 0x75, 0x4b, 0x3d, 0xad, 0x21, 0x84, 0xcf, 0x0e,
0x7e, 0xc3, 0x0c, 0xb1, 0x25, 0xbc, 0x27, 0x42, 0xaf, 0xa1, 0xe9, 0x45, 0xe1, 0x2a, 0xf0, 0xb5,
0xa6, 0x90, 0xa3, 0x5c, 0x2e, 0x72, 0x98, 0x88, 0x89, 0x2d, 0xe1, 0x9c, 0x41, 0x7d, 0x50, 0xd8,
0x56, 0xab, 0x0d, 0x64, 0xa3, 0x81, 0x15, 0xb6, 0x1d, 0xb7, 0xa0, 0x71, 0x4d, 0xd6, 0x1b, 0xaa,
0x7f, 0x04, 0x54, 0xac, 0xba, 0x58, 0x13, 0x3f, 0x13, 0xa2, 0x57, 0x50, 0x5f, 0xad, 0x89, 0x2f,
0xb2, 0xeb, 0x9f, 0x3d, 0xc9, 0x9f, 0xde, 0x05, 0xb1, 0x00, 0xf4, 0x04, 0x1e, 0x5d, 0x92, 0x90,
0xf8, 0x34, 0x59, 0x32, 0xc2, 0x36, 0x29, 0xfa, 0x00, 0x3d, 0xb6, 0x83, 0x3d, 0xf4, 0x42, 0x05,
0x44, 0x06, 0x3c, 0xfe, 0x9d, 0xbd, 0x64, 0x7a, 0x5e, 0xb4, 0x09, 0x19, 0x0f, 0xb4, 0x66, 0x74,
0xf0, 0xfe, 0xb5, 0xfe, 0x0b, 0x8e, 0x31, 0xf5, 0x68, 0x10, 0xb3, 0xea, 0x6a, 0x03, 0xea, 0x71,
0x42, 0xaf, 0xf7, 0x7a, 0xa8, 0x30, 0x58, 0x10, 0x9c, 0xf4, 0x36, 0x49, 0x22, 0xf2, 0xf8, 0x2f,
0xc9, 0x09, 0xfd, 0x0a, 0x4e, 0x2e, 0xab, 0xeb, 0xf3, 0x84, 0x06, 0xa0, 0x44, 0x71, 0xee, 0x4e,
0x2d, 0x9a, 0xcb, 0x90, 0x45, 0x8c, 0x95, 0x28, 0x46, 0xa7, 0xd0, 0x26, 0x77, 0x4e, 0x64, 0xa3,
0x83, 0xcb, 0xb3, 0xfe, 0x57, 0x86, 0xee, 0x4e, 0x51, 0xe8, 0xa5, 0xa8, 0x27, 0x7b, 0xed, 0xa8,
0x2c, 0x92, 0x8f, 0xdc, 0x6d, 0x4c, 0x79, 0x63, 0xe8, 0xd3, 0x5e, 0xb0, 0x99, 0xcb, 0xa7, 0x07,
0x82, 0x2d, 0xcb, 0xaf, 0x06, 0x6c, 0xdf, 0x0f, 0x38, 0xf3, 0xff, 0xbc, 0xea, 0xbf, 0x6a, 0xd4,
0x96, 0xee, 0x15, 0x50, 0xfe, 0x78, 0x86, 0xef, 0xa0, 0xb7, 0xbb, 0x18, 0xb5, 0xa1, 0xee, 0x2c,
0x1c, 0x4b, 0x95, 0x10, 0x40, 0xd3, 0x72, 0xcc, 0xf1, 0xdc, 0x52, 0x65, 0xd4, 0x85, 0xd6, 0x74,
0xb6, 0x14, 0x07, 0x65, 0xf8, 0x02, 0x3a, 0x65, 0x4c, 0xa8, 0x05, 0x35, 0x73, 0x3a, 0x55, 0x25,
0xfe, 0x61, 0x6a, 0xcd, 0x55, 0x79, 0xf8, 0x1e, 0xe0, 0xce, 0x37, 0x57, 0xce, 0x9c, 0x2f, 0xe6,
0x7c, 0xc6, 0x99, 0x1e, 0xb4, 0x5d, 0x6c, 0x3a, 0xcb, 0x0b, 0x0b, 0xab, 0x32, 0x3f, 0x99, 0x93,
0xc9, 0xe2, 0xca, 0x71, 0x97, 0xaa, 0x32, 0x86, 0x6f, 0xed, 0xd1, 0xe8, 0x8d, 0xb0, 0xf1, 0xbd,
0x29, 0xfe, 0x13, 0xce, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xa8, 0xcc, 0x27, 0x77, 0x3d, 0x04,
0x00, 0x00,
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment