Commit 36ce620a authored by QM's avatar QM

update

parent 4345b5e3
...@@ -1281,6 +1281,7 @@ golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBc ...@@ -1281,6 +1281,7 @@ golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b h1:9zKuko04nR4gjZ4+DNjHqRlAJqbJETHwiNKDqTfOjfE=
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
......
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
<<<<<<< HEAD
<<<<<<< HEAD
=======
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
>>>>>>> upstream/master
=======
// versions:
// protoc-gen-go v1.26.0
// protoc v3.9.1
>>>>>>> afeac8d90c67fe38d642eca9db167d33a67297a9
// source: coinsx.proto // source: coinsx.proto
package types package types
import ( import (
reflect "reflect" fmt "fmt"
sync "sync"
types "github.com/33cn/chain33/types" types "github.com/33cn/chain33/types"
<<<<<<< HEAD
<<<<<<< HEAD
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
math "math" math "math"
=======
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
>>>>>>> upstream/master
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
...@@ -35,27 +15,12 @@ var _ = proto.Marshal ...@@ -35,27 +15,12 @@ var _ = proto.Marshal
var _ = fmt.Errorf var _ = fmt.Errorf
var _ = math.Inf var _ = math.Inf
<<<<<<< HEAD
// This is a compile-time assertion to ensure that this generated file // This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against. // is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the // A compilation error at this line likely means your copy of the
// proto package needs to be updated. // proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
=======
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
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)
)
>>>>>>> afeac8d90c67fe38d642eca9db167d33a67297a9
=======
>>>>>>> upstream/master
//kvmvcc statedb not support 0 value //kvmvcc statedb not support 0 value
type TransferFlag int32 type TransferFlag int32
...@@ -65,45 +30,24 @@ const ( ...@@ -65,45 +30,24 @@ const (
TransferFlag_DISABLE TransferFlag = 2 TransferFlag_DISABLE TransferFlag = 2
) )
// Enum value maps for TransferFlag. var TransferFlag_name = map[int32]string{
var ( 0: "NONE",
TransferFlag_name = map[int32]string{ 1: "ENABLE",
0: "NONE", 2: "DISABLE",
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
}
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()
} }
func (TransferFlag) Type() protoreflect.EnumType { var TransferFlag_value = map[string]int32{
return &file_coinsx_proto_enumTypes[0] "NONE": 0,
"ENABLE": 1,
"DISABLE": 2,
} }
func (x TransferFlag) Number() protoreflect.EnumNumber { func (x TransferFlag) String() string {
return protoreflect.EnumNumber(x) return proto.EnumName(TransferFlag_name, int32(x))
} }
// Deprecated: Use TransferFlag.Descriptor instead.
func (TransferFlag) EnumDescriptor() ([]byte, []int) { func (TransferFlag) EnumDescriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{0} return fileDescriptor_f07af7065b15e440, []int{0}
} }
type AccountOp int32 type AccountOp int32
...@@ -113,43 +57,22 @@ const ( ...@@ -113,43 +57,22 @@ const (
AccountOp_DEL AccountOp = 1 AccountOp_DEL AccountOp = 1
) )
// Enum value maps for AccountOp. var AccountOp_name = map[int32]string{
var ( 0: "ADD",
AccountOp_name = map[int32]string{ 1: "DEL",
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 { var AccountOp_value = map[string]int32{
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) "ADD": 0,
"DEL": 1,
} }
func (AccountOp) Descriptor() protoreflect.EnumDescriptor { func (x AccountOp) String() string {
return file_coinsx_proto_enumTypes[1].Descriptor() return proto.EnumName(AccountOp_name, int32(x))
}
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 file_coinsx_proto_rawDescGZIP(), []int{1} return fileDescriptor_f07af7065b15e440, []int{1}
} }
type ConfigType int32 type ConfigType int32
...@@ -160,143 +83,65 @@ const ( ...@@ -160,143 +83,65 @@ const (
ConfigType_ACCOUNTS ConfigType = 2 ConfigType_ACCOUNTS ConfigType = 2
) )
// Enum value maps for ConfigType. var ConfigType_name = map[int32]string{
var ( 0: "INVALID",
ConfigType_name = map[int32]string{ 1: "TRANSFER",
0: "INVALID", 2: "ACCOUNTS",
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 { var ConfigType_value = map[string]int32{
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) "INVALID": 0,
"TRANSFER": 1,
"ACCOUNTS": 2,
} }
func (ConfigType) Descriptor() protoreflect.EnumDescriptor { func (x ConfigType) String() string {
return file_coinsx_proto_enumTypes[2].Descriptor() return proto.EnumName(ConfigType_name, int32(x))
}
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 file_coinsx_proto_rawDescGZIP(), []int{2} return fileDescriptor_f07af7065b15e440, []int{2}
} }
// message for execs.coinsx // message for execs.coinsx
type CoinsxAction struct { type CoinsxAction struct {
state protoimpl.MessageState // Types that are valid to be assigned to Value:
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:"-"`
func (x *CoinsxAction) Reset() { XXX_sizecache int32 `json:"-"`
*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 { func (m *CoinsxAction) Reset() { *m = CoinsxAction{} }
return protoimpl.X.MessageStringOf(x) func (m *CoinsxAction) String() string { return proto.CompactTextString(m) }
} 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 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 (x *CoinsxAction) GetTransfer() *types.AssetsTransfer { func (m *CoinsxAction) XXX_Unmarshal(b []byte) error {
if x, ok := x.GetValue().(*CoinsxAction_Transfer); ok { return xxx_messageInfo_CoinsxAction.Unmarshal(m, b)
return x.Transfer
}
return nil
} }
func (m *CoinsxAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (x *CoinsxAction) GetWithdraw() *types.AssetsWithdraw { return xxx_messageInfo_CoinsxAction.Marshal(b, m, deterministic)
if x, ok := x.GetValue().(*CoinsxAction_Withdraw); ok {
return x.Withdraw
}
return nil
} }
func (m *CoinsxAction) XXX_Merge(src proto.Message) {
func (x *CoinsxAction) GetGenesis() *types.AssetsGenesis { xxx_messageInfo_CoinsxAction.Merge(m, src)
if x, ok := x.GetValue().(*CoinsxAction_Genesis); ok {
return x.Genesis
}
return nil
} }
func (m *CoinsxAction) XXX_Size() int {
func (x *CoinsxAction) GetTransferToExec() *types.AssetsTransferToExec { return xxx_messageInfo_CoinsxAction.Size(m)
if x, ok := x.GetValue().(*CoinsxAction_TransferToExec); ok {
return x.TransferToExec
}
return nil
} }
func (m *CoinsxAction) XXX_DiscardUnknown() {
func (x *CoinsxAction) GetConfig() *CoinsConfig { xxx_messageInfo_CoinsxAction.DiscardUnknown(m)
if x, ok := x.GetValue().(*CoinsxAction_Config); ok {
return x.Config
}
return nil
} }
func (x *CoinsxAction) GetTy() int32 { var xxx_messageInfo_CoinsxAction proto.InternalMessageInfo
if x != nil {
return x.Ty
}
return 0
}
type isCoinsxAction_Value interface { type isCoinsxAction_Value interface {
isCoinsxAction_Value() isCoinsxAction_Value()
...@@ -332,288 +177,287 @@ func (*CoinsxAction_TransferToExec) isCoinsxAction_Value() {} ...@@ -332,288 +177,287 @@ func (*CoinsxAction_TransferToExec) isCoinsxAction_Value() {}
func (*CoinsxAction_Config) isCoinsxAction_Value() {} func (*CoinsxAction_Config) isCoinsxAction_Value() {}
type TransferFlagConfig struct { func (m *CoinsxAction) GetValue() isCoinsxAction_Value {
state protoimpl.MessageState if m != nil {
sizeCache protoimpl.SizeCache return m.Value
unknownFields protoimpl.UnknownFields }
return nil
Flag TransferFlag `protobuf:"varint,1,opt,name=flag,proto3,enum=types.TransferFlag" json:"flag,omitempty"`
} }
func (x *TransferFlagConfig) Reset() { func (m *CoinsxAction) GetTransfer() *types.AssetsTransfer {
*x = TransferFlagConfig{} if x, ok := m.GetValue().(*CoinsxAction_Transfer); ok {
if protoimpl.UnsafeEnabled { return x.Transfer
mi := &file_coinsx_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
} }
return nil
} }
func (x *TransferFlagConfig) String() string { func (m *CoinsxAction) GetWithdraw() *types.AssetsWithdraw {
return protoimpl.X.MessageStringOf(x) 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 { func (m *CoinsxAction) GetTransferToExec() *types.AssetsTransferToExec {
mi := &file_coinsx_proto_msgTypes[1] if x, ok := m.GetValue().(*CoinsxAction_TransferToExec); ok {
if protoimpl.UnsafeEnabled && x != nil { return x.TransferToExec
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
} }
return mi.MessageOf(x) return nil
} }
// Deprecated: Use TransferFlagConfig.ProtoReflect.Descriptor instead. func (m *CoinsxAction) GetConfig() *CoinsConfig {
func (*TransferFlagConfig) Descriptor() ([]byte, []int) { if x, ok := m.GetValue().(*CoinsxAction_Config); ok {
return file_coinsx_proto_rawDescGZIP(), []int{1} return x.Config
}
return nil
} }
func (x *TransferFlagConfig) GetFlag() TransferFlag { func (m *CoinsxAction) GetTy() int32 {
if x != nil { if m != nil {
return x.Flag return m.Ty
} }
return TransferFlag_NONE return 0
} }
type ManagerStatus struct { // XXX_OneofWrappers is for the internal use of the proto package.
state protoimpl.MessageState func (*CoinsxAction) XXX_OneofWrappers() []interface{} {
sizeCache protoimpl.SizeCache return []interface{}{
unknownFields protoimpl.UnknownFields (*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"` type TransferFlagConfig struct {
ManagerAccounts []string `protobuf:"bytes,2,rep,name=managerAccounts,proto3" json:"managerAccounts,omitempty"` 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() { func (m *TransferFlagConfig) Reset() { *m = TransferFlagConfig{} }
*x = ManagerStatus{} func (m *TransferFlagConfig) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*TransferFlagConfig) ProtoMessage() {}
mi := &file_coinsx_proto_msgTypes[2] func (*TransferFlagConfig) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_f07af7065b15e440, []int{1}
ms.StoreMessageInfo(mi)
}
} }
func (x *ManagerStatus) String() string { func (m *TransferFlagConfig) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) 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 { func (m *TransferFlagConfig) GetFlag() TransferFlag {
mi := &file_coinsx_proto_msgTypes[2] if m != nil {
if protoimpl.UnsafeEnabled && x != nil { return m.Flag
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
} }
return mi.MessageOf(x) return TransferFlag_NONE
}
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:"-"`
} }
// Deprecated: Use ManagerStatus.ProtoReflect.Descriptor instead. 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 file_coinsx_proto_rawDescGZIP(), []int{2} return fileDescriptor_f07af7065b15e440, []int{2}
} }
func (x *ManagerStatus) GetTransferFlag() TransferFlag { func (m *ManagerStatus) XXX_Unmarshal(b []byte) error {
if x != nil { return xxx_messageInfo_ManagerStatus.Unmarshal(m, b)
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 (x *ManagerStatus) GetManagerAccounts() []string { func (m *ManagerStatus) GetManagerAccounts() []string {
if x != nil { if m != nil {
return x.ManagerAccounts return m.ManagerAccounts
} }
return nil return nil
} }
type ReceiptManagerStatus struct { type ReceiptManagerStatus struct {
state protoimpl.MessageState Prev *ManagerStatus `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"`
sizeCache protoimpl.SizeCache Curr *ManagerStatus `protobuf:"bytes,3,opt,name=curr,proto3" json:"curr,omitempty"`
unknownFields protoimpl.UnknownFields XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
Prev *ManagerStatus `protobuf:"bytes,2,opt,name=prev,proto3" json:"prev,omitempty"` XXX_sizecache int32 `json:"-"`
Curr *ManagerStatus `protobuf:"bytes,3,opt,name=curr,proto3" json:"curr,omitempty"`
} }
func (x *ReceiptManagerStatus) Reset() { func (m *ReceiptManagerStatus) Reset() { *m = ReceiptManagerStatus{} }
*x = ReceiptManagerStatus{} func (m *ReceiptManagerStatus) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ReceiptManagerStatus) ProtoMessage() {}
mi := &file_coinsx_proto_msgTypes[3] func (*ReceiptManagerStatus) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_f07af7065b15e440, []int{3}
ms.StoreMessageInfo(mi)
}
} }
func (x *ReceiptManagerStatus) String() string { func (m *ReceiptManagerStatus) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ReceiptManagerStatus.Unmarshal(m, b)
} }
func (m *ReceiptManagerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ReceiptManagerStatus) ProtoMessage() {} return xxx_messageInfo_ReceiptManagerStatus.Marshal(b, m, deterministic)
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_Merge(src proto.Message) {
// Deprecated: Use ReceiptManagerStatus.ProtoReflect.Descriptor instead. xxx_messageInfo_ReceiptManagerStatus.Merge(m, src)
func (*ReceiptManagerStatus) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{3}
} }
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 { func (m *ReceiptManagerStatus) GetPrev() *ManagerStatus {
if x != nil { if m != nil {
return x.Prev return m.Prev
} }
return nil return nil
} }
func (x *ReceiptManagerStatus) GetCurr() *ManagerStatus { func (m *ReceiptManagerStatus) GetCurr() *ManagerStatus {
if x != nil { if m != nil {
return x.Curr return m.Curr
} }
return nil return nil
} }
type ManagerAccountsConfig struct { type ManagerAccountsConfig struct {
state protoimpl.MessageState Op AccountOp `protobuf:"varint,1,opt,name=op,proto3,enum=types.AccountOp" json:"op,omitempty"`
sizeCache protoimpl.SizeCache Accounts string `protobuf:"bytes,2,opt,name=accounts,proto3" json:"accounts,omitempty"`
unknownFields protoimpl.UnknownFields XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
Op AccountOp `protobuf:"varint,1,opt,name=op,proto3,enum=types.AccountOp" json:"op,omitempty"` XXX_sizecache int32 `json:"-"`
Accounts string `protobuf:"bytes,2,opt,name=accounts,proto3" json:"accounts,omitempty"`
} }
func (x *ManagerAccountsConfig) Reset() { func (m *ManagerAccountsConfig) Reset() { *m = ManagerAccountsConfig{} }
*x = ManagerAccountsConfig{} func (m *ManagerAccountsConfig) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*ManagerAccountsConfig) ProtoMessage() {}
mi := &file_coinsx_proto_msgTypes[4] func (*ManagerAccountsConfig) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_f07af7065b15e440, []int{4}
ms.StoreMessageInfo(mi)
}
} }
func (x *ManagerAccountsConfig) String() string { func (m *ManagerAccountsConfig) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_ManagerAccountsConfig.Unmarshal(m, b)
} }
func (m *ManagerAccountsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*ManagerAccountsConfig) ProtoMessage() {} return xxx_messageInfo_ManagerAccountsConfig.Marshal(b, m, deterministic)
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_Merge(src proto.Message) {
// Deprecated: Use ManagerAccountsConfig.ProtoReflect.Descriptor instead. xxx_messageInfo_ManagerAccountsConfig.Merge(m, src)
func (*ManagerAccountsConfig) Descriptor() ([]byte, []int) { }
return file_coinsx_proto_rawDescGZIP(), []int{4} func (m *ManagerAccountsConfig) XXX_Size() int {
return xxx_messageInfo_ManagerAccountsConfig.Size(m)
}
func (m *ManagerAccountsConfig) XXX_DiscardUnknown() {
xxx_messageInfo_ManagerAccountsConfig.DiscardUnknown(m)
} }
func (x *ManagerAccountsConfig) GetOp() AccountOp { var xxx_messageInfo_ManagerAccountsConfig proto.InternalMessageInfo
if x != nil {
return x.Op func (m *ManagerAccountsConfig) GetOp() AccountOp {
if m != nil {
return m.Op
} }
return AccountOp_ADD return AccountOp_ADD
} }
func (x *ManagerAccountsConfig) GetAccounts() string { func (m *ManagerAccountsConfig) GetAccounts() string {
if x != nil { if m != nil {
return x.Accounts return m.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 assignable to Value: // Types that are valid to be assigned 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 (x *CoinsConfig) Reset() { func (m *CoinsConfig) Reset() { *m = CoinsConfig{} }
*x = CoinsConfig{} func (m *CoinsConfig) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*CoinsConfig) ProtoMessage() {}
mi := &file_coinsx_proto_msgTypes[5] func (*CoinsConfig) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_f07af7065b15e440, []int{5}
ms.StoreMessageInfo(mi)
}
} }
func (x *CoinsConfig) String() string { func (m *CoinsConfig) XXX_Unmarshal(b []byte) error {
return protoimpl.X.MessageStringOf(x) return xxx_messageInfo_CoinsConfig.Unmarshal(m, b)
} }
func (m *CoinsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*CoinsConfig) ProtoMessage() {} return xxx_messageInfo_CoinsConfig.Marshal(b, m, deterministic)
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) {
// Deprecated: Use CoinsConfig.ProtoReflect.Descriptor instead. xxx_messageInfo_CoinsConfig.Merge(m, src)
func (*CoinsConfig) Descriptor() ([]byte, []int) {
return file_coinsx_proto_rawDescGZIP(), []int{5}
} }
func (m *CoinsConfig) XXX_Size() int {
func (x *CoinsConfig) GetTy() ConfigType { return xxx_messageInfo_CoinsConfig.Size(m)
if x != nil {
return x.Ty
}
return ConfigType_INVALID
} }
func (m *CoinsConfig) XXX_DiscardUnknown() {
func (m *CoinsConfig) GetValue() isCoinsConfig_Value { xxx_messageInfo_CoinsConfig.DiscardUnknown(m)
if m != nil {
return m.Value
}
return nil
} }
func (x *CoinsConfig) GetTransferFlag() *TransferFlagConfig { var xxx_messageInfo_CoinsConfig proto.InternalMessageInfo
if x, ok := x.GetValue().(*CoinsConfig_TransferFlag); ok {
return x.TransferFlag
}
return nil
}
func (x *CoinsConfig) GetManagerAccounts() *ManagerAccountsConfig { func (m *CoinsConfig) GetTy() ConfigType {
if x, ok := x.GetValue().(*CoinsConfig_ManagerAccounts); ok { if m != nil {
return x.ManagerAccounts return m.Ty
} }
return nil return ConfigType_INVALID
} }
type isCoinsConfig_Value interface { type isCoinsConfig_Value interface {
...@@ -632,236 +476,83 @@ func (*CoinsConfig_TransferFlag) isCoinsConfig_Value() {} ...@@ -632,236 +476,83 @@ func (*CoinsConfig_TransferFlag) isCoinsConfig_Value() {}
func (*CoinsConfig_ManagerAccounts) isCoinsConfig_Value() {} func (*CoinsConfig_ManagerAccounts) isCoinsConfig_Value() {}
var File_coinsx_proto protoreflect.FileDescriptor func (m *CoinsConfig) GetValue() isCoinsConfig_Value {
if m != nil {
var file_coinsx_proto_rawDesc = []byte{ return m.Value
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
} }
if !protoimpl.UnsafeEnabled { return nil
file_coinsx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { }
switch v := v.(*CoinsxAction); i {
case 0: func (m *CoinsConfig) GetTransferFlag() *TransferFlagConfig {
return &v.state if x, ok := m.GetValue().(*CoinsConfig_TransferFlag); ok {
case 1: return x.TransferFlag
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
}
}
} }
file_coinsx_proto_msgTypes[0].OneofWrappers = []interface{}{ return nil
(*CoinsxAction_Transfer)(nil), }
(*CoinsxAction_Withdraw)(nil),
(*CoinsxAction_Genesis)(nil), func (m *CoinsConfig) GetManagerAccounts() *ManagerAccountsConfig {
(*CoinsxAction_TransferToExec)(nil), if x, ok := m.GetValue().(*CoinsConfig_ManagerAccounts); ok {
(*CoinsxAction_Config)(nil), 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_TransferFlag)(nil),
(*CoinsConfig_ManagerAccounts)(nil), (*CoinsConfig_ManagerAccounts)(nil),
} }
type x struct{} }
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ func init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), proto.RegisterEnum("types.TransferFlag", TransferFlag_name, TransferFlag_value)
RawDescriptor: file_coinsx_proto_rawDesc, proto.RegisterEnum("types.AccountOp", AccountOp_name, AccountOp_value)
NumEnums: 3, proto.RegisterEnum("types.ConfigType", ConfigType_name, ConfigType_value)
NumMessages: 6, proto.RegisterType((*CoinsxAction)(nil), "types.CoinsxAction")
NumExtensions: 0, proto.RegisterType((*TransferFlagConfig)(nil), "types.TransferFlagConfig")
NumServices: 0, proto.RegisterType((*ManagerStatus)(nil), "types.ManagerStatus")
}, proto.RegisterType((*ReceiptManagerStatus)(nil), "types.ReceiptManagerStatus")
GoTypes: file_coinsx_proto_goTypes, proto.RegisterType((*ManagerAccountsConfig)(nil), "types.ManagerAccountsConfig")
DependencyIndexes: file_coinsx_proto_depIdxs, proto.RegisterType((*CoinsConfig)(nil), "types.CoinsConfig")
EnumInfos: file_coinsx_proto_enumTypes, }
MessageInfos: file_coinsx_proto_msgTypes,
}.Build() func init() { proto.RegisterFile("coinsx.proto", fileDescriptor_f07af7065b15e440) }
File_coinsx_proto = out.File
file_coinsx_proto_rawDesc = nil var fileDescriptor_f07af7065b15e440 = []byte{
file_coinsx_proto_goTypes = nil // 530 bytes of a gzipped FileDescriptorProto
file_coinsx_proto_depIdxs = nil 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