Commit 49c58b39 authored by QM's avatar QM

update

parent a78841c5
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0
// protoc v3.9.1
// source: coinsx.proto
package types
import (
reflect "reflect"
sync "sync"
fmt "fmt"
types "github.com/33cn/chain33/types"
proto "github.com/golang/protobuf/proto"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
math "math"
)
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)
)
// 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 that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
// 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
type TransferFlag int32
......@@ -36,45 +30,24 @@ const (
TransferFlag_DISABLE TransferFlag = 2
)
// Enum value maps for TransferFlag.
var (
TransferFlag_name = map[int32]string{
0: "NONE",
1: "ENABLE",
2: "DISABLE",
}
TransferFlag_value = map[string]int32{
"NONE": 0,
"ENABLE": 1,
"DISABLE": 2,
}
)
func (x TransferFlag) Enum() *TransferFlag {
p := new(TransferFlag)
*p = x
return p
var TransferFlag_name = map[int32]string{
0: "NONE",
1: "ENABLE",
2: "DISABLE",
}
func (x TransferFlag) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TransferFlag) Descriptor() protoreflect.EnumDescriptor {
return file_coinsx_proto_enumTypes[0].Descriptor()
var TransferFlag_value = map[string]int32{
"NONE": 0,
"ENABLE": 1,
"DISABLE": 2,
}
func (TransferFlag) Type() protoreflect.EnumType {
return &file_coinsx_proto_enumTypes[0]
}
func (x TransferFlag) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
func (x TransferFlag) String() string {
return proto.EnumName(TransferFlag_name, int32(x))
}
// Deprecated: Use TransferFlag.Descriptor instead.
func (TransferFlag) EnumDescriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{0}
return fileDescriptor_f07af7065b15e440, []int{0}
}
type AccountOp int32
......@@ -84,43 +57,22 @@ const (
AccountOp_DEL AccountOp = 1
)
// Enum value maps for AccountOp.
var (
AccountOp_name = map[int32]string{
0: "ADD",
1: "DEL",
}
AccountOp_value = map[string]int32{
"ADD": 0,
"DEL": 1,
}
)
func (x AccountOp) Enum() *AccountOp {
p := new(AccountOp)
*p = x
return p
}
func (x AccountOp) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
var AccountOp_name = map[int32]string{
0: "ADD",
1: "DEL",
}
func (AccountOp) Descriptor() protoreflect.EnumDescriptor {
return file_coinsx_proto_enumTypes[1].Descriptor()
var AccountOp_value = map[string]int32{
"ADD": 0,
"DEL": 1,
}
func (AccountOp) Type() protoreflect.EnumType {
return &file_coinsx_proto_enumTypes[1]
}
func (x AccountOp) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
func (x AccountOp) String() string {
return proto.EnumName(AccountOp_name, int32(x))
}
// Deprecated: Use AccountOp.Descriptor instead.
func (AccountOp) EnumDescriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{1}
return fileDescriptor_f07af7065b15e440, []int{1}
}
type ConfigType int32
......@@ -131,143 +83,65 @@ const (
ConfigType_ACCOUNTS ConfigType = 2
)
// Enum value maps for ConfigType.
var (
ConfigType_name = map[int32]string{
0: "INVALID",
1: "TRANSFER",
2: "ACCOUNTS",
}
ConfigType_value = map[string]int32{
"INVALID": 0,
"TRANSFER": 1,
"ACCOUNTS": 2,
}
)
func (x ConfigType) Enum() *ConfigType {
p := new(ConfigType)
*p = x
return p
}
func (x ConfigType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
var ConfigType_name = map[int32]string{
0: "INVALID",
1: "TRANSFER",
2: "ACCOUNTS",
}
func (ConfigType) Descriptor() protoreflect.EnumDescriptor {
return file_coinsx_proto_enumTypes[2].Descriptor()
var ConfigType_value = map[string]int32{
"INVALID": 0,
"TRANSFER": 1,
"ACCOUNTS": 2,
}
func (ConfigType) Type() protoreflect.EnumType {
return &file_coinsx_proto_enumTypes[2]
}
func (x ConfigType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
func (x ConfigType) String() string {
return proto.EnumName(ConfigType_name, int32(x))
}
// Deprecated: Use ConfigType.Descriptor instead.
func (ConfigType) EnumDescriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{2}
return fileDescriptor_f07af7065b15e440, []int{2}
}
// message for execs.coinsx
type CoinsxAction struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Value:
// Types that are valid to be assigned to Value:
// *CoinsxAction_Transfer
// *CoinsxAction_Withdraw
// *CoinsxAction_Genesis
// *CoinsxAction_TransferToExec
// *CoinsxAction_Config
Value isCoinsxAction_Value `protobuf_oneof:"value"`
Ty int32 `protobuf:"varint,3,opt,name=ty,proto3" json:"ty,omitempty"`
}
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 (x *CoinsxAction) String() string {
return protoimpl.X.MessageStringOf(x)
Value isCoinsxAction_Value `protobuf_oneof:"value"`
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 (*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 (m *CoinsxAction) Reset() { *m = CoinsxAction{} }
func (m *CoinsxAction) String() string { return proto.CompactTextString(m) }
func (*CoinsxAction) ProtoMessage() {}
func (*CoinsxAction) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{0}
return fileDescriptor_f07af7065b15e440, []int{0}
}
func (m *CoinsxAction) GetValue() isCoinsxAction_Value {
if m != nil {
return m.Value
}
return nil
func (m *CoinsxAction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CoinsxAction.Unmarshal(m, b)
}
func (x *CoinsxAction) GetTransfer() *types.AssetsTransfer {
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
}
func (x *CoinsxAction) GetTy() int32 {
if x != nil {
return x.Ty
}
return 0
}
var xxx_messageInfo_CoinsxAction proto.InternalMessageInfo
type isCoinsxAction_Value interface {
isCoinsxAction_Value()
......@@ -303,288 +177,287 @@ func (*CoinsxAction_TransferToExec) isCoinsxAction_Value() {}
func (*CoinsxAction_Config) isCoinsxAction_Value() {}
type TransferFlagConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Flag TransferFlag `protobuf:"varint,1,opt,name=flag,proto3,enum=types.TransferFlag" json:"flag,omitempty"`
func (m *CoinsxAction) GetValue() isCoinsxAction_Value {
if m != nil {
return m.Value
}
return nil
}
func (x *TransferFlagConfig) Reset() {
*x = TransferFlagConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_coinsx_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
func (m *CoinsxAction) GetTransfer() *types.AssetsTransfer {
if x, ok := m.GetValue().(*CoinsxAction_Transfer); ok {
return x.Transfer
}
return nil
}
func (x *TransferFlagConfig) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *CoinsxAction) GetWithdraw() *types.AssetsWithdraw {
if x, ok := m.GetValue().(*CoinsxAction_Withdraw); ok {
return x.Withdraw
}
return nil
}
func (*TransferFlagConfig) ProtoMessage() {}
func (m *CoinsxAction) GetGenesis() *types.AssetsGenesis {
if x, ok := m.GetValue().(*CoinsxAction_Genesis); ok {
return x.Genesis
}
return nil
}
func (x *TransferFlagConfig) ProtoReflect() protoreflect.Message {
mi := &file_coinsx_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
func (m *CoinsxAction) GetTransferToExec() *types.AssetsTransferToExec {
if x, ok := m.GetValue().(*CoinsxAction_TransferToExec); ok {
return x.TransferToExec
}
return mi.MessageOf(x)
return nil
}
// Deprecated: Use TransferFlagConfig.ProtoReflect.Descriptor instead.
func (*TransferFlagConfig) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{1}
func (m *CoinsxAction) GetConfig() *CoinsConfig {
if x, ok := m.GetValue().(*CoinsxAction_Config); ok {
return x.Config
}
return nil
}
func (x *TransferFlagConfig) GetFlag() TransferFlag {
if x != nil {
return x.Flag
func (m *CoinsxAction) GetTy() int32 {
if m != nil {
return m.Ty
}
return TransferFlag_NONE
return 0
}
type ManagerStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// XXX_OneofWrappers is for the internal use of the proto package.
func (*CoinsxAction) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*CoinsxAction_Transfer)(nil),
(*CoinsxAction_Withdraw)(nil),
(*CoinsxAction_Genesis)(nil),
(*CoinsxAction_TransferToExec)(nil),
(*CoinsxAction_Config)(nil),
}
}
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"`
type TransferFlagConfig struct {
Flag TransferFlag `protobuf:"varint,1,opt,name=flag,proto3,enum=types.TransferFlag" json:"flag,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *ManagerStatus) Reset() {
*x = ManagerStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_coinsx_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *TransferFlagConfig) Reset() { *m = TransferFlagConfig{} }
func (m *TransferFlagConfig) String() string { return proto.CompactTextString(m) }
func (*TransferFlagConfig) ProtoMessage() {}
func (*TransferFlagConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{1}
}
func (x *ManagerStatus) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *TransferFlagConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TransferFlagConfig.Unmarshal(m, b)
}
func (m *TransferFlagConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TransferFlagConfig.Marshal(b, m, deterministic)
}
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 (*ManagerStatus) ProtoMessage() {}
var xxx_messageInfo_TransferFlagConfig proto.InternalMessageInfo
func (x *ManagerStatus) ProtoReflect() protoreflect.Message {
mi := &file_coinsx_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
func (m *TransferFlagConfig) GetFlag() TransferFlag {
if m != nil {
return m.Flag
}
return mi.MessageOf(x)
return TransferFlag_NONE
}
// Deprecated: Use ManagerStatus.ProtoReflect.Descriptor instead.
type ManagerStatus struct {
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) {
return file_coinsx_proto_rawDescGZIP(), []int{2}
return fileDescriptor_f07af7065b15e440, []int{2}
}
func (x *ManagerStatus) GetTransferFlag() TransferFlag {
if x != nil {
return x.TransferFlag
func (m *ManagerStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ManagerStatus.Unmarshal(m, b)
}
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
}
func (x *ManagerStatus) GetManagerAccounts() []string {
if x != nil {
return x.ManagerAccounts
func (m *ManagerStatus) GetManagerAccounts() []string {
if m != nil {
return m.ManagerAccounts
}
return nil
}
type ReceiptManagerStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Prev *ManagerStatus `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"`
Curr *ManagerStatus `protobuf:"bytes,3,opt,name=curr,proto3" json:"curr,omitempty"`
Prev *ManagerStatus `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"`
Curr *ManagerStatus `protobuf:"bytes,3,opt,name=curr,proto3" json:"curr,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *ReceiptManagerStatus) Reset() {
*x = ReceiptManagerStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_coinsx_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *ReceiptManagerStatus) Reset() { *m = ReceiptManagerStatus{} }
func (m *ReceiptManagerStatus) String() string { return proto.CompactTextString(m) }
func (*ReceiptManagerStatus) ProtoMessage() {}
func (*ReceiptManagerStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{3}
}
func (x *ReceiptManagerStatus) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *ReceiptManagerStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReceiptManagerStatus.Unmarshal(m, b)
}
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)
func (m *ReceiptManagerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptManagerStatus.Marshal(b, m, deterministic)
}
// Deprecated: Use ReceiptManagerStatus.ProtoReflect.Descriptor instead.
func (*ReceiptManagerStatus) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{3}
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 (m *ReceiptManagerStatus) XXX_DiscardUnknown() {
xxx_messageInfo_ReceiptManagerStatus.DiscardUnknown(m)
}
var xxx_messageInfo_ReceiptManagerStatus proto.InternalMessageInfo
func (x *ReceiptManagerStatus) GetPrev() *ManagerStatus {
if x != nil {
return x.Prev
func (m *ReceiptManagerStatus) GetPrev() *ManagerStatus {
if m != nil {
return m.Prev
}
return nil
}
func (x *ReceiptManagerStatus) GetCurr() *ManagerStatus {
if x != nil {
return x.Curr
func (m *ReceiptManagerStatus) GetCurr() *ManagerStatus {
if m != nil {
return m.Curr
}
return nil
}
type ManagerAccountsConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Op AccountOp `protobuf:"varint,1,opt,name=op,proto3,enum=types.AccountOp" json:"op,omitempty"`
Accounts string `protobuf:"bytes,2,opt,name=accounts,proto3" json:"accounts,omitempty"`
Op AccountOp `protobuf:"varint,1,opt,name=op,proto3,enum=types.AccountOp" json:"op,omitempty"`
Accounts string `protobuf:"bytes,2,opt,name=accounts,proto3" json:"accounts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (x *ManagerAccountsConfig) Reset() {
*x = ManagerAccountsConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_coinsx_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *ManagerAccountsConfig) Reset() { *m = ManagerAccountsConfig{} }
func (m *ManagerAccountsConfig) String() string { return proto.CompactTextString(m) }
func (*ManagerAccountsConfig) ProtoMessage() {}
func (*ManagerAccountsConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{4}
}
func (x *ManagerAccountsConfig) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *ManagerAccountsConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ManagerAccountsConfig.Unmarshal(m, b)
}
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)
func (m *ManagerAccountsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ManagerAccountsConfig.Marshal(b, m, deterministic)
}
// Deprecated: Use ManagerAccountsConfig.ProtoReflect.Descriptor instead.
func (*ManagerAccountsConfig) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{4}
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 (m *ManagerAccountsConfig) XXX_DiscardUnknown() {
xxx_messageInfo_ManagerAccountsConfig.DiscardUnknown(m)
}
var xxx_messageInfo_ManagerAccountsConfig proto.InternalMessageInfo
func (x *ManagerAccountsConfig) GetOp() AccountOp {
if x != nil {
return x.Op
func (m *ManagerAccountsConfig) GetOp() AccountOp {
if m != nil {
return m.Op
}
return AccountOp_ADD
}
func (x *ManagerAccountsConfig) GetAccounts() string {
if x != nil {
return x.Accounts
func (m *ManagerAccountsConfig) GetAccounts() string {
if m != nil {
return m.Accounts
}
return ""
}
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"`
// Types that are assignable to Value:
// Types that are valid to be assigned to Value:
// *CoinsConfig_TransferFlag
// *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 (x *CoinsConfig) Reset() {
*x = CoinsConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_coinsx_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (m *CoinsConfig) Reset() { *m = CoinsConfig{} }
func (m *CoinsConfig) String() string { return proto.CompactTextString(m) }
func (*CoinsConfig) ProtoMessage() {}
func (*CoinsConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_f07af7065b15e440, []int{5}
}
func (x *CoinsConfig) String() string {
return protoimpl.X.MessageStringOf(x)
func (m *CoinsConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CoinsConfig.Unmarshal(m, b)
}
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_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CoinsConfig.Marshal(b, m, deterministic)
}
// Deprecated: Use CoinsConfig.ProtoReflect.Descriptor instead.
func (*CoinsConfig) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{5}
func (m *CoinsConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_CoinsConfig.Merge(m, src)
}
func (x *CoinsConfig) GetTy() ConfigType {
if x != nil {
return x.Ty
}
return ConfigType_INVALID
func (m *CoinsConfig) XXX_Size() int {
return xxx_messageInfo_CoinsConfig.Size(m)
}
func (m *CoinsConfig) GetValue() isCoinsConfig_Value {
if m != nil {
return m.Value
}
return nil
func (m *CoinsConfig) XXX_DiscardUnknown() {
xxx_messageInfo_CoinsConfig.DiscardUnknown(m)
}
func (x *CoinsConfig) GetTransferFlag() *TransferFlagConfig {
if x, ok := x.GetValue().(*CoinsConfig_TransferFlag); ok {
return x.TransferFlag
}
return nil
}
var xxx_messageInfo_CoinsConfig proto.InternalMessageInfo
func (x *CoinsConfig) GetManagerAccounts() *ManagerAccountsConfig {
if x, ok := x.GetValue().(*CoinsConfig_ManagerAccounts); ok {
return x.ManagerAccounts
func (m *CoinsConfig) GetTy() ConfigType {
if m != nil {
return m.Ty
}
return nil
return ConfigType_INVALID
}
type isCoinsConfig_Value interface {
......@@ -603,236 +476,83 @@ func (*CoinsConfig_TransferFlag) isCoinsConfig_Value() {}
func (*CoinsConfig_ManagerAccounts) isCoinsConfig_Value() {}
var File_coinsx_proto protoreflect.FileDescriptor
var file_coinsx_proto_rawDesc = []byte{
0x0a, 0x0c, 0x63, 0x6f, 0x69, 0x6e, 0x73, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05,
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 file_coinsx_proto_rawDescGZIP() []byte {
file_coinsx_proto_rawDescOnce.Do(func() {
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
func (m *CoinsConfig) GetValue() isCoinsConfig_Value {
if m != nil {
return m.Value
}
if !protoimpl.UnsafeEnabled {
file_coinsx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CoinsxAction); i {
case 0:
return &v.state
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
}
func (m *CoinsConfig) GetTransferFlag() *TransferFlagConfig {
if x, ok := m.GetValue().(*CoinsConfig_TransferFlag); ok {
return x.TransferFlag
}
file_coinsx_proto_msgTypes[0].OneofWrappers = []interface{}{
(*CoinsxAction_Transfer)(nil),
(*CoinsxAction_Withdraw)(nil),
(*CoinsxAction_Genesis)(nil),
(*CoinsxAction_TransferToExec)(nil),
(*CoinsxAction_Config)(nil),
return nil
}
func (m *CoinsConfig) GetManagerAccounts() *ManagerAccountsConfig {
if x, ok := m.GetValue().(*CoinsConfig_ManagerAccounts); ok {
return x.ManagerAccounts
}
file_coinsx_proto_msgTypes[5].OneofWrappers = []interface{}{
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*CoinsConfig) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*CoinsConfig_TransferFlag)(nil),
(*CoinsConfig_ManagerAccounts)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_coinsx_proto_rawDesc,
NumEnums: 3,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_coinsx_proto_goTypes,
DependencyIndexes: file_coinsx_proto_depIdxs,
EnumInfos: file_coinsx_proto_enumTypes,
MessageInfos: file_coinsx_proto_msgTypes,
}.Build()
File_coinsx_proto = out.File
file_coinsx_proto_rawDesc = nil
file_coinsx_proto_goTypes = nil
file_coinsx_proto_depIdxs = nil
}
func init() {
proto.RegisterEnum("types.TransferFlag", TransferFlag_name, TransferFlag_value)
proto.RegisterEnum("types.AccountOp", AccountOp_name, AccountOp_value)
proto.RegisterEnum("types.ConfigType", ConfigType_name, ConfigType_value)
proto.RegisterType((*CoinsxAction)(nil), "types.CoinsxAction")
proto.RegisterType((*TransferFlagConfig)(nil), "types.TransferFlagConfig")
proto.RegisterType((*ManagerStatus)(nil), "types.ManagerStatus")
proto.RegisterType((*ReceiptManagerStatus)(nil), "types.ReceiptManagerStatus")
proto.RegisterType((*ManagerAccountsConfig)(nil), "types.ManagerAccountsConfig")
proto.RegisterType((*CoinsConfig)(nil), "types.CoinsConfig")
}
func init() { proto.RegisterFile("coinsx.proto", fileDescriptor_f07af7065b15e440) }
var fileDescriptor_f07af7065b15e440 = []byte{
// 530 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xdf, 0x8e, 0xd2, 0x40,
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