// Code generated by protoc-gen-go. DO NOT EDIT.
// source: lottery.proto

package types

import (
	fmt "fmt"

	proto "github.com/golang/protobuf/proto"

	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

type PurchaseRecord struct {
	Amount               int64    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Number               int64    `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	Index                int64    `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	Way                  int64    `protobuf:"varint,4,opt,name=way,proto3" json:"way,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *PurchaseRecord) Reset()         { *m = PurchaseRecord{} }
func (m *PurchaseRecord) String() string { return proto.CompactTextString(m) }
func (*PurchaseRecord) ProtoMessage()    {}
func (*PurchaseRecord) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{0}
}
func (m *PurchaseRecord) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PurchaseRecord.Unmarshal(m, b)
}
func (m *PurchaseRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PurchaseRecord.Marshal(b, m, deterministic)
}
func (dst *PurchaseRecord) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PurchaseRecord.Merge(dst, src)
}
func (m *PurchaseRecord) XXX_Size() int {
	return xxx_messageInfo_PurchaseRecord.Size(m)
}
func (m *PurchaseRecord) XXX_DiscardUnknown() {
	xxx_messageInfo_PurchaseRecord.DiscardUnknown(m)
}

var xxx_messageInfo_PurchaseRecord proto.InternalMessageInfo

func (m *PurchaseRecord) GetAmount() int64 {
	if m != nil {
		return m.Amount
	}
	return 0
}

func (m *PurchaseRecord) GetNumber() int64 {
	if m != nil {
		return m.Number
	}
	return 0
}

func (m *PurchaseRecord) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

func (m *PurchaseRecord) GetWay() int64 {
	if m != nil {
		return m.Way
	}
	return 0
}

type PurchaseRecords struct {
	Record               []*PurchaseRecord `protobuf:"bytes,1,rep,name=record,proto3" json:"record,omitempty"`
	FundWin              int64             `protobuf:"varint,2,opt,name=fundWin,proto3" json:"fundWin,omitempty"`
	AmountOneRound       int64             `protobuf:"varint,3,opt,name=amountOneRound,proto3" json:"amountOneRound,omitempty"`
	Addr                 string            `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (m *PurchaseRecords) Reset()         { *m = PurchaseRecords{} }
func (m *PurchaseRecords) String() string { return proto.CompactTextString(m) }
func (*PurchaseRecords) ProtoMessage()    {}
func (*PurchaseRecords) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{1}
}
func (m *PurchaseRecords) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_PurchaseRecords.Unmarshal(m, b)
}
func (m *PurchaseRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_PurchaseRecords.Marshal(b, m, deterministic)
}
func (dst *PurchaseRecords) XXX_Merge(src proto.Message) {
	xxx_messageInfo_PurchaseRecords.Merge(dst, src)
}
func (m *PurchaseRecords) XXX_Size() int {
	return xxx_messageInfo_PurchaseRecords.Size(m)
}
func (m *PurchaseRecords) XXX_DiscardUnknown() {
	xxx_messageInfo_PurchaseRecords.DiscardUnknown(m)
}

var xxx_messageInfo_PurchaseRecords proto.InternalMessageInfo

func (m *PurchaseRecords) GetRecord() []*PurchaseRecord {
	if m != nil {
		return m.Record
	}
	return nil
}

func (m *PurchaseRecords) GetFundWin() int64 {
	if m != nil {
		return m.FundWin
	}
	return 0
}

func (m *PurchaseRecords) GetAmountOneRound() int64 {
	if m != nil {
		return m.AmountOneRound
	}
	return 0
}

func (m *PurchaseRecords) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

type Lottery struct {
	LotteryId            string `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	Status               int32  `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	CreateHeight         int64  `protobuf:"varint,3,opt,name=createHeight,proto3" json:"createHeight,omitempty"`
	Fund                 int64  `protobuf:"varint,4,opt,name=fund,proto3" json:"fund,omitempty"`
	PurBlockNum          int64  `protobuf:"varint,5,opt,name=purBlockNum,proto3" json:"purBlockNum,omitempty"`
	DrawBlockNum         int64  `protobuf:"varint,6,opt,name=drawBlockNum,proto3" json:"drawBlockNum,omitempty"`
	LastTransToPurState  int64  `protobuf:"varint,7,opt,name=lastTransToPurState,proto3" json:"lastTransToPurState,omitempty"`
	LastTransToDrawState int64  `protobuf:"varint,8,opt,name=lastTransToDrawState,proto3" json:"lastTransToDrawState,omitempty"`
	// map<string, PurchaseRecords> records                    = 9;
	TotalPurchasedTxNum        int64              `protobuf:"varint,10,opt,name=totalPurchasedTxNum,proto3" json:"totalPurchasedTxNum,omitempty"`
	CreateAddr                 string             `protobuf:"bytes,11,opt,name=createAddr,proto3" json:"createAddr,omitempty"`
	Round                      int64              `protobuf:"varint,12,opt,name=round,proto3" json:"round,omitempty"`
	LuckyNumber                int64              `protobuf:"varint,13,opt,name=luckyNumber,proto3" json:"luckyNumber,omitempty"`
	CreateOnMain               int64              `protobuf:"varint,14,opt,name=createOnMain,proto3" json:"createOnMain,omitempty"`
	LastTransToPurStateOnMain  int64              `protobuf:"varint,15,opt,name=lastTransToPurStateOnMain,proto3" json:"lastTransToPurStateOnMain,omitempty"`
	LastTransToDrawStateOnMain int64              `protobuf:"varint,16,opt,name=lastTransToDrawStateOnMain,proto3" json:"lastTransToDrawStateOnMain,omitempty"`
	MissingRecords             []*MissingRecord   `protobuf:"bytes,17,rep,name=missingRecords,proto3" json:"missingRecords,omitempty"`
	OpRewardRatio              int64              `protobuf:"varint,18,opt,name=opRewardRatio,proto3" json:"opRewardRatio,omitempty"`
	DevRewardRatio             int64              `protobuf:"varint,19,opt,name=devRewardRatio,proto3" json:"devRewardRatio,omitempty"`
	PurRecords                 []*PurchaseRecords `protobuf:"bytes,20,rep,name=purRecords,proto3" json:"purRecords,omitempty"`
	TotalAddrNum               int64              `protobuf:"varint,21,opt,name=totalAddrNum,proto3" json:"totalAddrNum,omitempty"`
	BuyAmount                  int64              `protobuf:"varint,22,opt,name=buyAmount,proto3" json:"buyAmount,omitempty"`
	XXX_NoUnkeyedLiteral       struct{}           `json:"-"`
	XXX_unrecognized           []byte             `json:"-"`
	XXX_sizecache              int32              `json:"-"`
}

func (m *Lottery) Reset()         { *m = Lottery{} }
func (m *Lottery) String() string { return proto.CompactTextString(m) }
func (*Lottery) ProtoMessage()    {}
func (*Lottery) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{2}
}
func (m *Lottery) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Lottery.Unmarshal(m, b)
}
func (m *Lottery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Lottery.Marshal(b, m, deterministic)
}
func (dst *Lottery) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Lottery.Merge(dst, src)
}
func (m *Lottery) XXX_Size() int {
	return xxx_messageInfo_Lottery.Size(m)
}
func (m *Lottery) XXX_DiscardUnknown() {
	xxx_messageInfo_Lottery.DiscardUnknown(m)
}

var xxx_messageInfo_Lottery proto.InternalMessageInfo

func (m *Lottery) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

func (m *Lottery) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

func (m *Lottery) GetCreateHeight() int64 {
	if m != nil {
		return m.CreateHeight
	}
	return 0
}

func (m *Lottery) GetFund() int64 {
	if m != nil {
		return m.Fund
	}
	return 0
}

func (m *Lottery) GetPurBlockNum() int64 {
	if m != nil {
		return m.PurBlockNum
	}
	return 0
}

func (m *Lottery) GetDrawBlockNum() int64 {
	if m != nil {
		return m.DrawBlockNum
	}
	return 0
}

func (m *Lottery) GetLastTransToPurState() int64 {
	if m != nil {
		return m.LastTransToPurState
	}
	return 0
}

func (m *Lottery) GetLastTransToDrawState() int64 {
	if m != nil {
		return m.LastTransToDrawState
	}
	return 0
}

func (m *Lottery) GetTotalPurchasedTxNum() int64 {
	if m != nil {
		return m.TotalPurchasedTxNum
	}
	return 0
}

func (m *Lottery) GetCreateAddr() string {
	if m != nil {
		return m.CreateAddr
	}
	return ""
}

func (m *Lottery) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func (m *Lottery) GetLuckyNumber() int64 {
	if m != nil {
		return m.LuckyNumber
	}
	return 0
}

func (m *Lottery) GetCreateOnMain() int64 {
	if m != nil {
		return m.CreateOnMain
	}
	return 0
}

func (m *Lottery) GetLastTransToPurStateOnMain() int64 {
	if m != nil {
		return m.LastTransToPurStateOnMain
	}
	return 0
}

func (m *Lottery) GetLastTransToDrawStateOnMain() int64 {
	if m != nil {
		return m.LastTransToDrawStateOnMain
	}
	return 0
}

func (m *Lottery) GetMissingRecords() []*MissingRecord {
	if m != nil {
		return m.MissingRecords
	}
	return nil
}

func (m *Lottery) GetOpRewardRatio() int64 {
	if m != nil {
		return m.OpRewardRatio
	}
	return 0
}

func (m *Lottery) GetDevRewardRatio() int64 {
	if m != nil {
		return m.DevRewardRatio
	}
	return 0
}

func (m *Lottery) GetPurRecords() []*PurchaseRecords {
	if m != nil {
		return m.PurRecords
	}
	return nil
}

func (m *Lottery) GetTotalAddrNum() int64 {
	if m != nil {
		return m.TotalAddrNum
	}
	return 0
}

func (m *Lottery) GetBuyAmount() int64 {
	if m != nil {
		return m.BuyAmount
	}
	return 0
}

type MissingRecord struct {
	Times                []int32  `protobuf:"varint,1,rep,packed,name=times,proto3" json:"times,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *MissingRecord) Reset()         { *m = MissingRecord{} }
func (m *MissingRecord) String() string { return proto.CompactTextString(m) }
func (*MissingRecord) ProtoMessage()    {}
func (*MissingRecord) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{3}
}
func (m *MissingRecord) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MissingRecord.Unmarshal(m, b)
}
func (m *MissingRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MissingRecord.Marshal(b, m, deterministic)
}
func (dst *MissingRecord) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MissingRecord.Merge(dst, src)
}
func (m *MissingRecord) XXX_Size() int {
	return xxx_messageInfo_MissingRecord.Size(m)
}
func (m *MissingRecord) XXX_DiscardUnknown() {
	xxx_messageInfo_MissingRecord.DiscardUnknown(m)
}

var xxx_messageInfo_MissingRecord proto.InternalMessageInfo

func (m *MissingRecord) GetTimes() []int32 {
	if m != nil {
		return m.Times
	}
	return nil
}

type LotteryAction struct {
	// Types that are valid to be assigned to Value:
	//	*LotteryAction_Create
	//	*LotteryAction_Buy
	//	*LotteryAction_Draw
	//	*LotteryAction_Close
	Value                isLotteryAction_Value `protobuf_oneof:"value"`
	Ty                   int32                 `protobuf:"varint,10,opt,name=ty,proto3" json:"ty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *LotteryAction) Reset()         { *m = LotteryAction{} }
func (m *LotteryAction) String() string { return proto.CompactTextString(m) }
func (*LotteryAction) ProtoMessage()    {}
func (*LotteryAction) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{4}
}
func (m *LotteryAction) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryAction.Unmarshal(m, b)
}
func (m *LotteryAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryAction.Marshal(b, m, deterministic)
}
func (dst *LotteryAction) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryAction.Merge(dst, src)
}
func (m *LotteryAction) XXX_Size() int {
	return xxx_messageInfo_LotteryAction.Size(m)
}
func (m *LotteryAction) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryAction.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryAction proto.InternalMessageInfo

type isLotteryAction_Value interface {
	isLotteryAction_Value()
}

type LotteryAction_Create struct {
	Create *LotteryCreate `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}

type LotteryAction_Buy struct {
	Buy *LotteryBuy `protobuf:"bytes,2,opt,name=buy,proto3,oneof"`
}

type LotteryAction_Draw struct {
	Draw *LotteryDraw `protobuf:"bytes,3,opt,name=draw,proto3,oneof"`
}

type LotteryAction_Close struct {
	Close *LotteryClose `protobuf:"bytes,4,opt,name=close,proto3,oneof"`
}

func (*LotteryAction_Create) isLotteryAction_Value() {}

func (*LotteryAction_Buy) isLotteryAction_Value() {}

func (*LotteryAction_Draw) isLotteryAction_Value() {}

func (*LotteryAction_Close) isLotteryAction_Value() {}

func (m *LotteryAction) GetValue() isLotteryAction_Value {
	if m != nil {
		return m.Value
	}
	return nil
}

func (m *LotteryAction) GetCreate() *LotteryCreate {
	if x, ok := m.GetValue().(*LotteryAction_Create); ok {
		return x.Create
	}
	return nil
}

func (m *LotteryAction) GetBuy() *LotteryBuy {
	if x, ok := m.GetValue().(*LotteryAction_Buy); ok {
		return x.Buy
	}
	return nil
}

func (m *LotteryAction) GetDraw() *LotteryDraw {
	if x, ok := m.GetValue().(*LotteryAction_Draw); ok {
		return x.Draw
	}
	return nil
}

func (m *LotteryAction) GetClose() *LotteryClose {
	if x, ok := m.GetValue().(*LotteryAction_Close); ok {
		return x.Close
	}
	return nil
}

func (m *LotteryAction) GetTy() int32 {
	if m != nil {
		return m.Ty
	}
	return 0
}

// XXX_OneofFuncs is for the internal use of the proto package.
func (*LotteryAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
	return _LotteryAction_OneofMarshaler, _LotteryAction_OneofUnmarshaler, _LotteryAction_OneofSizer, []interface{}{
		(*LotteryAction_Create)(nil),
		(*LotteryAction_Buy)(nil),
		(*LotteryAction_Draw)(nil),
		(*LotteryAction_Close)(nil),
	}
}

func _LotteryAction_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
	m := msg.(*LotteryAction)
	// value
	switch x := m.Value.(type) {
	case *LotteryAction_Create:
		b.EncodeVarint(1<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.Create); err != nil {
			return err
		}
	case *LotteryAction_Buy:
		b.EncodeVarint(2<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.Buy); err != nil {
			return err
		}
	case *LotteryAction_Draw:
		b.EncodeVarint(3<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.Draw); err != nil {
			return err
		}
	case *LotteryAction_Close:
		b.EncodeVarint(4<<3 | proto.WireBytes)
		if err := b.EncodeMessage(x.Close); err != nil {
			return err
		}
	case nil:
	default:
		return fmt.Errorf("LotteryAction.Value has unexpected type %T", x)
	}
	return nil
}

func _LotteryAction_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
	m := msg.(*LotteryAction)
	switch tag {
	case 1: // value.create
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(LotteryCreate)
		err := b.DecodeMessage(msg)
		m.Value = &LotteryAction_Create{msg}
		return true, err
	case 2: // value.buy
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(LotteryBuy)
		err := b.DecodeMessage(msg)
		m.Value = &LotteryAction_Buy{msg}
		return true, err
	case 3: // value.draw
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(LotteryDraw)
		err := b.DecodeMessage(msg)
		m.Value = &LotteryAction_Draw{msg}
		return true, err
	case 4: // value.close
		if wire != proto.WireBytes {
			return true, proto.ErrInternalBadWireType
		}
		msg := new(LotteryClose)
		err := b.DecodeMessage(msg)
		m.Value = &LotteryAction_Close{msg}
		return true, err
	default:
		return false, nil
	}
}

func _LotteryAction_OneofSizer(msg proto.Message) (n int) {
	m := msg.(*LotteryAction)
	// value
	switch x := m.Value.(type) {
	case *LotteryAction_Create:
		s := proto.Size(x.Create)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *LotteryAction_Buy:
		s := proto.Size(x.Buy)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *LotteryAction_Draw:
		s := proto.Size(x.Draw)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case *LotteryAction_Close:
		s := proto.Size(x.Close)
		n += 1 // tag and wire
		n += proto.SizeVarint(uint64(s))
		n += s
	case nil:
	default:
		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
	}
	return n
}

type LotteryCreate struct {
	PurBlockNum          int64    `protobuf:"varint,1,opt,name=purBlockNum,proto3" json:"purBlockNum,omitempty"`
	DrawBlockNum         int64    `protobuf:"varint,2,opt,name=drawBlockNum,proto3" json:"drawBlockNum,omitempty"`
	OpRewardRatio        int64    `protobuf:"varint,3,opt,name=opRewardRatio,proto3" json:"opRewardRatio,omitempty"`
	DevRewardRatio       int64    `protobuf:"varint,4,opt,name=devRewardRatio,proto3" json:"devRewardRatio,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryCreate) Reset()         { *m = LotteryCreate{} }
func (m *LotteryCreate) String() string { return proto.CompactTextString(m) }
func (*LotteryCreate) ProtoMessage()    {}
func (*LotteryCreate) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{5}
}
func (m *LotteryCreate) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryCreate.Unmarshal(m, b)
}
func (m *LotteryCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryCreate.Marshal(b, m, deterministic)
}
func (dst *LotteryCreate) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryCreate.Merge(dst, src)
}
func (m *LotteryCreate) XXX_Size() int {
	return xxx_messageInfo_LotteryCreate.Size(m)
}
func (m *LotteryCreate) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryCreate.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryCreate proto.InternalMessageInfo

func (m *LotteryCreate) GetPurBlockNum() int64 {
	if m != nil {
		return m.PurBlockNum
	}
	return 0
}

func (m *LotteryCreate) GetDrawBlockNum() int64 {
	if m != nil {
		return m.DrawBlockNum
	}
	return 0
}

func (m *LotteryCreate) GetOpRewardRatio() int64 {
	if m != nil {
		return m.OpRewardRatio
	}
	return 0
}

func (m *LotteryCreate) GetDevRewardRatio() int64 {
	if m != nil {
		return m.DevRewardRatio
	}
	return 0
}

type LotteryBuy struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	Amount               int64    `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Number               int64    `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
	Way                  int64    `protobuf:"varint,4,opt,name=way,proto3" json:"way,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryBuy) Reset()         { *m = LotteryBuy{} }
func (m *LotteryBuy) String() string { return proto.CompactTextString(m) }
func (*LotteryBuy) ProtoMessage()    {}
func (*LotteryBuy) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{6}
}
func (m *LotteryBuy) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryBuy.Unmarshal(m, b)
}
func (m *LotteryBuy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryBuy.Marshal(b, m, deterministic)
}
func (dst *LotteryBuy) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryBuy.Merge(dst, src)
}
func (m *LotteryBuy) XXX_Size() int {
	return xxx_messageInfo_LotteryBuy.Size(m)
}
func (m *LotteryBuy) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryBuy.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryBuy proto.InternalMessageInfo

func (m *LotteryBuy) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

func (m *LotteryBuy) GetAmount() int64 {
	if m != nil {
		return m.Amount
	}
	return 0
}

func (m *LotteryBuy) GetNumber() int64 {
	if m != nil {
		return m.Number
	}
	return 0
}

func (m *LotteryBuy) GetWay() int64 {
	if m != nil {
		return m.Way
	}
	return 0
}

type LotteryDraw struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryDraw) Reset()         { *m = LotteryDraw{} }
func (m *LotteryDraw) String() string { return proto.CompactTextString(m) }
func (*LotteryDraw) ProtoMessage()    {}
func (*LotteryDraw) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{7}
}
func (m *LotteryDraw) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryDraw.Unmarshal(m, b)
}
func (m *LotteryDraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryDraw.Marshal(b, m, deterministic)
}
func (dst *LotteryDraw) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryDraw.Merge(dst, src)
}
func (m *LotteryDraw) XXX_Size() int {
	return xxx_messageInfo_LotteryDraw.Size(m)
}
func (m *LotteryDraw) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryDraw.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryDraw proto.InternalMessageInfo

func (m *LotteryDraw) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

type LotteryClose struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryClose) Reset()         { *m = LotteryClose{} }
func (m *LotteryClose) String() string { return proto.CompactTextString(m) }
func (*LotteryClose) ProtoMessage()    {}
func (*LotteryClose) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{8}
}
func (m *LotteryClose) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryClose.Unmarshal(m, b)
}
func (m *LotteryClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryClose.Marshal(b, m, deterministic)
}
func (dst *LotteryClose) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryClose.Merge(dst, src)
}
func (m *LotteryClose) XXX_Size() int {
	return xxx_messageInfo_LotteryClose.Size(m)
}
func (m *LotteryClose) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryClose.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryClose proto.InternalMessageInfo

func (m *LotteryClose) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

type ReceiptLottery struct {
	LotteryId            string                `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	Status               int32                 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	PrevStatus           int32                 `protobuf:"varint,3,opt,name=prevStatus,proto3" json:"prevStatus,omitempty"`
	Addr                 string                `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"`
	Round                int64                 `protobuf:"varint,5,opt,name=round,proto3" json:"round,omitempty"`
	Number               int64                 `protobuf:"varint,6,opt,name=number,proto3" json:"number,omitempty"`
	Amount               int64                 `protobuf:"varint,7,opt,name=amount,proto3" json:"amount,omitempty"`
	LuckyNumber          int64                 `protobuf:"varint,8,opt,name=luckyNumber,proto3" json:"luckyNumber,omitempty"`
	Time                 int64                 `protobuf:"varint,9,opt,name=time,proto3" json:"time,omitempty"`
	TxHash               string                `protobuf:"bytes,10,opt,name=txHash,proto3" json:"txHash,omitempty"`
	UpdateInfo           *LotteryUpdateBuyInfo `protobuf:"bytes,11,opt,name=updateInfo,proto3" json:"updateInfo,omitempty"`
	Way                  int64                 `protobuf:"varint,12,opt,name=way,proto3" json:"way,omitempty"`
	Index                int64                 `protobuf:"varint,13,opt,name=index,proto3" json:"index,omitempty"`
	TotalAddrNum         int64                 `protobuf:"varint,14,opt,name=totalAddrNum,proto3" json:"totalAddrNum,omitempty"`
	BuyAmount            int64                 `protobuf:"varint,15,opt,name=buyAmount,proto3" json:"buyAmount,omitempty"`
	GainInfos            *LotteryGainInfos     `protobuf:"bytes,16,opt,name=gainInfos,proto3" json:"gainInfos,omitempty"`
	LuckyAddrNum         int64                 `protobuf:"varint,17,opt,name=luckyAddrNum,proto3" json:"luckyAddrNum,omitempty"`
	TotalFund            int64                 `protobuf:"varint,18,opt,name=totalFund,proto3" json:"totalFund,omitempty"`
	Factor               int64                 `protobuf:"varint,19,opt,name=factor,proto3" json:"factor,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *ReceiptLottery) Reset()         { *m = ReceiptLottery{} }
func (m *ReceiptLottery) String() string { return proto.CompactTextString(m) }
func (*ReceiptLottery) ProtoMessage()    {}
func (*ReceiptLottery) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{9}
}
func (m *ReceiptLottery) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReceiptLottery.Unmarshal(m, b)
}
func (m *ReceiptLottery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReceiptLottery.Marshal(b, m, deterministic)
}
func (dst *ReceiptLottery) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReceiptLottery.Merge(dst, src)
}
func (m *ReceiptLottery) XXX_Size() int {
	return xxx_messageInfo_ReceiptLottery.Size(m)
}
func (m *ReceiptLottery) XXX_DiscardUnknown() {
	xxx_messageInfo_ReceiptLottery.DiscardUnknown(m)
}

var xxx_messageInfo_ReceiptLottery proto.InternalMessageInfo

func (m *ReceiptLottery) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

func (m *ReceiptLottery) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

func (m *ReceiptLottery) GetPrevStatus() int32 {
	if m != nil {
		return m.PrevStatus
	}
	return 0
}

func (m *ReceiptLottery) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *ReceiptLottery) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func (m *ReceiptLottery) GetNumber() int64 {
	if m != nil {
		return m.Number
	}
	return 0
}

func (m *ReceiptLottery) GetAmount() int64 {
	if m != nil {
		return m.Amount
	}
	return 0
}

func (m *ReceiptLottery) GetLuckyNumber() int64 {
	if m != nil {
		return m.LuckyNumber
	}
	return 0
}

func (m *ReceiptLottery) GetTime() int64 {
	if m != nil {
		return m.Time
	}
	return 0
}

func (m *ReceiptLottery) GetTxHash() string {
	if m != nil {
		return m.TxHash
	}
	return ""
}

func (m *ReceiptLottery) GetUpdateInfo() *LotteryUpdateBuyInfo {
	if m != nil {
		return m.UpdateInfo
	}
	return nil
}

func (m *ReceiptLottery) GetWay() int64 {
	if m != nil {
		return m.Way
	}
	return 0
}

func (m *ReceiptLottery) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

func (m *ReceiptLottery) GetTotalAddrNum() int64 {
	if m != nil {
		return m.TotalAddrNum
	}
	return 0
}

func (m *ReceiptLottery) GetBuyAmount() int64 {
	if m != nil {
		return m.BuyAmount
	}
	return 0
}

func (m *ReceiptLottery) GetGainInfos() *LotteryGainInfos {
	if m != nil {
		return m.GainInfos
	}
	return nil
}

func (m *ReceiptLottery) GetLuckyAddrNum() int64 {
	if m != nil {
		return m.LuckyAddrNum
	}
	return 0
}

func (m *ReceiptLottery) GetTotalFund() int64 {
	if m != nil {
		return m.TotalFund
	}
	return 0
}

func (m *ReceiptLottery) GetFactor() int64 {
	if m != nil {
		return m.Factor
	}
	return 0
}

type ReqLotteryInfo struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReqLotteryInfo) Reset()         { *m = ReqLotteryInfo{} }
func (m *ReqLotteryInfo) String() string { return proto.CompactTextString(m) }
func (*ReqLotteryInfo) ProtoMessage()    {}
func (*ReqLotteryInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{10}
}
func (m *ReqLotteryInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReqLotteryInfo.Unmarshal(m, b)
}
func (m *ReqLotteryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReqLotteryInfo.Marshal(b, m, deterministic)
}
func (dst *ReqLotteryInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReqLotteryInfo.Merge(dst, src)
}
func (m *ReqLotteryInfo) XXX_Size() int {
	return xxx_messageInfo_ReqLotteryInfo.Size(m)
}
func (m *ReqLotteryInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_ReqLotteryInfo.DiscardUnknown(m)
}

var xxx_messageInfo_ReqLotteryInfo proto.InternalMessageInfo

func (m *ReqLotteryInfo) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

type ReqLotteryBuyInfo struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Round                int64    `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReqLotteryBuyInfo) Reset()         { *m = ReqLotteryBuyInfo{} }
func (m *ReqLotteryBuyInfo) String() string { return proto.CompactTextString(m) }
func (*ReqLotteryBuyInfo) ProtoMessage()    {}
func (*ReqLotteryBuyInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{11}
}
func (m *ReqLotteryBuyInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReqLotteryBuyInfo.Unmarshal(m, b)
}
func (m *ReqLotteryBuyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReqLotteryBuyInfo.Marshal(b, m, deterministic)
}
func (dst *ReqLotteryBuyInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReqLotteryBuyInfo.Merge(dst, src)
}
func (m *ReqLotteryBuyInfo) XXX_Size() int {
	return xxx_messageInfo_ReqLotteryBuyInfo.Size(m)
}
func (m *ReqLotteryBuyInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_ReqLotteryBuyInfo.DiscardUnknown(m)
}

var xxx_messageInfo_ReqLotteryBuyInfo proto.InternalMessageInfo

func (m *ReqLotteryBuyInfo) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

func (m *ReqLotteryBuyInfo) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *ReqLotteryBuyInfo) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

type ReqLotteryBuyHistory struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Round                int64    `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	Count                int32    `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Direction            int32    `protobuf:"varint,5,opt,name=direction,proto3" json:"direction,omitempty"`
	Index                int64    `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReqLotteryBuyHistory) Reset()         { *m = ReqLotteryBuyHistory{} }
func (m *ReqLotteryBuyHistory) String() string { return proto.CompactTextString(m) }
func (*ReqLotteryBuyHistory) ProtoMessage()    {}
func (*ReqLotteryBuyHistory) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{12}
}
func (m *ReqLotteryBuyHistory) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReqLotteryBuyHistory.Unmarshal(m, b)
}
func (m *ReqLotteryBuyHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReqLotteryBuyHistory.Marshal(b, m, deterministic)
}
func (dst *ReqLotteryBuyHistory) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReqLotteryBuyHistory.Merge(dst, src)
}
func (m *ReqLotteryBuyHistory) XXX_Size() int {
	return xxx_messageInfo_ReqLotteryBuyHistory.Size(m)
}
func (m *ReqLotteryBuyHistory) XXX_DiscardUnknown() {
	xxx_messageInfo_ReqLotteryBuyHistory.DiscardUnknown(m)
}

var xxx_messageInfo_ReqLotteryBuyHistory proto.InternalMessageInfo

func (m *ReqLotteryBuyHistory) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

func (m *ReqLotteryBuyHistory) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *ReqLotteryBuyHistory) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func (m *ReqLotteryBuyHistory) GetCount() int32 {
	if m != nil {
		return m.Count
	}
	return 0
}

func (m *ReqLotteryBuyHistory) GetDirection() int32 {
	if m != nil {
		return m.Direction
	}
	return 0
}

func (m *ReqLotteryBuyHistory) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

type ReqLotteryLuckyInfo struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	Round                []int64  `protobuf:"varint,2,rep,packed,name=round,proto3" json:"round,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReqLotteryLuckyInfo) Reset()         { *m = ReqLotteryLuckyInfo{} }
func (m *ReqLotteryLuckyInfo) String() string { return proto.CompactTextString(m) }
func (*ReqLotteryLuckyInfo) ProtoMessage()    {}
func (*ReqLotteryLuckyInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{13}
}
func (m *ReqLotteryLuckyInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReqLotteryLuckyInfo.Unmarshal(m, b)
}
func (m *ReqLotteryLuckyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReqLotteryLuckyInfo.Marshal(b, m, deterministic)
}
func (dst *ReqLotteryLuckyInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReqLotteryLuckyInfo.Merge(dst, src)
}
func (m *ReqLotteryLuckyInfo) XXX_Size() int {
	return xxx_messageInfo_ReqLotteryLuckyInfo.Size(m)
}
func (m *ReqLotteryLuckyInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_ReqLotteryLuckyInfo.DiscardUnknown(m)
}

var xxx_messageInfo_ReqLotteryLuckyInfo proto.InternalMessageInfo

func (m *ReqLotteryLuckyInfo) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

func (m *ReqLotteryLuckyInfo) GetRound() []int64 {
	if m != nil {
		return m.Round
	}
	return nil
}

type ReqLotteryLuckyHistory struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	Round                int64    `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Count                int32    `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	Direction            int32    `protobuf:"varint,4,opt,name=direction,proto3" json:"direction,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReqLotteryLuckyHistory) Reset()         { *m = ReqLotteryLuckyHistory{} }
func (m *ReqLotteryLuckyHistory) String() string { return proto.CompactTextString(m) }
func (*ReqLotteryLuckyHistory) ProtoMessage()    {}
func (*ReqLotteryLuckyHistory) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{14}
}
func (m *ReqLotteryLuckyHistory) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReqLotteryLuckyHistory.Unmarshal(m, b)
}
func (m *ReqLotteryLuckyHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReqLotteryLuckyHistory.Marshal(b, m, deterministic)
}
func (dst *ReqLotteryLuckyHistory) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReqLotteryLuckyHistory.Merge(dst, src)
}
func (m *ReqLotteryLuckyHistory) XXX_Size() int {
	return xxx_messageInfo_ReqLotteryLuckyHistory.Size(m)
}
func (m *ReqLotteryLuckyHistory) XXX_DiscardUnknown() {
	xxx_messageInfo_ReqLotteryLuckyHistory.DiscardUnknown(m)
}

var xxx_messageInfo_ReqLotteryLuckyHistory proto.InternalMessageInfo

func (m *ReqLotteryLuckyHistory) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

func (m *ReqLotteryLuckyHistory) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func (m *ReqLotteryLuckyHistory) GetCount() int32 {
	if m != nil {
		return m.Count
	}
	return 0
}

func (m *ReqLotteryLuckyHistory) GetDirection() int32 {
	if m != nil {
		return m.Direction
	}
	return 0
}

type ReplyLotteryNormalInfo struct {
	CreateHeight         int64    `protobuf:"varint,1,opt,name=createHeight,proto3" json:"createHeight,omitempty"`
	PurBlockNum          int64    `protobuf:"varint,2,opt,name=purBlockNum,proto3" json:"purBlockNum,omitempty"`
	DrawBlockNum         int64    `protobuf:"varint,3,opt,name=drawBlockNum,proto3" json:"drawBlockNum,omitempty"`
	CreateAddr           string   `protobuf:"bytes,4,opt,name=createAddr,proto3" json:"createAddr,omitempty"`
	OpRewardRatio        int64    `protobuf:"varint,5,opt,name=opRewardRatio,proto3" json:"opRewardRatio,omitempty"`
	DevRewardRatio       int64    `protobuf:"varint,6,opt,name=devRewardRatio,proto3" json:"devRewardRatio,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReplyLotteryNormalInfo) Reset()         { *m = ReplyLotteryNormalInfo{} }
func (m *ReplyLotteryNormalInfo) String() string { return proto.CompactTextString(m) }
func (*ReplyLotteryNormalInfo) ProtoMessage()    {}
func (*ReplyLotteryNormalInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{15}
}
func (m *ReplyLotteryNormalInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReplyLotteryNormalInfo.Unmarshal(m, b)
}
func (m *ReplyLotteryNormalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReplyLotteryNormalInfo.Marshal(b, m, deterministic)
}
func (dst *ReplyLotteryNormalInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReplyLotteryNormalInfo.Merge(dst, src)
}
func (m *ReplyLotteryNormalInfo) XXX_Size() int {
	return xxx_messageInfo_ReplyLotteryNormalInfo.Size(m)
}
func (m *ReplyLotteryNormalInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_ReplyLotteryNormalInfo.DiscardUnknown(m)
}

var xxx_messageInfo_ReplyLotteryNormalInfo proto.InternalMessageInfo

func (m *ReplyLotteryNormalInfo) GetCreateHeight() int64 {
	if m != nil {
		return m.CreateHeight
	}
	return 0
}

func (m *ReplyLotteryNormalInfo) GetPurBlockNum() int64 {
	if m != nil {
		return m.PurBlockNum
	}
	return 0
}

func (m *ReplyLotteryNormalInfo) GetDrawBlockNum() int64 {
	if m != nil {
		return m.DrawBlockNum
	}
	return 0
}

func (m *ReplyLotteryNormalInfo) GetCreateAddr() string {
	if m != nil {
		return m.CreateAddr
	}
	return ""
}

func (m *ReplyLotteryNormalInfo) GetOpRewardRatio() int64 {
	if m != nil {
		return m.OpRewardRatio
	}
	return 0
}

func (m *ReplyLotteryNormalInfo) GetDevRewardRatio() int64 {
	if m != nil {
		return m.DevRewardRatio
	}
	return 0
}

type ReplyLotteryCurrentInfo struct {
	Status                     int32            `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	Fund                       int64            `protobuf:"varint,2,opt,name=fund,proto3" json:"fund,omitempty"`
	LastTransToPurState        int64            `protobuf:"varint,3,opt,name=lastTransToPurState,proto3" json:"lastTransToPurState,omitempty"`
	LastTransToDrawState       int64            `protobuf:"varint,4,opt,name=lastTransToDrawState,proto3" json:"lastTransToDrawState,omitempty"`
	TotalPurchasedTxNum        int64            `protobuf:"varint,5,opt,name=totalPurchasedTxNum,proto3" json:"totalPurchasedTxNum,omitempty"`
	Round                      int64            `protobuf:"varint,6,opt,name=round,proto3" json:"round,omitempty"`
	LuckyNumber                int64            `protobuf:"varint,7,opt,name=luckyNumber,proto3" json:"luckyNumber,omitempty"`
	LastTransToPurStateOnMain  int64            `protobuf:"varint,8,opt,name=lastTransToPurStateOnMain,proto3" json:"lastTransToPurStateOnMain,omitempty"`
	LastTransToDrawStateOnMain int64            `protobuf:"varint,9,opt,name=lastTransToDrawStateOnMain,proto3" json:"lastTransToDrawStateOnMain,omitempty"`
	PurBlockNum                int64            `protobuf:"varint,10,opt,name=purBlockNum,proto3" json:"purBlockNum,omitempty"`
	DrawBlockNum               int64            `protobuf:"varint,11,opt,name=drawBlockNum,proto3" json:"drawBlockNum,omitempty"`
	MissingRecords             []*MissingRecord `protobuf:"bytes,12,rep,name=missingRecords,proto3" json:"missingRecords,omitempty"`
	TotalAddrNum               int64            `protobuf:"varint,13,opt,name=totalAddrNum,proto3" json:"totalAddrNum,omitempty"`
	BuyAmount                  int64            `protobuf:"varint,14,opt,name=buyAmount,proto3" json:"buyAmount,omitempty"`
	XXX_NoUnkeyedLiteral       struct{}         `json:"-"`
	XXX_unrecognized           []byte           `json:"-"`
	XXX_sizecache              int32            `json:"-"`
}

func (m *ReplyLotteryCurrentInfo) Reset()         { *m = ReplyLotteryCurrentInfo{} }
func (m *ReplyLotteryCurrentInfo) String() string { return proto.CompactTextString(m) }
func (*ReplyLotteryCurrentInfo) ProtoMessage()    {}
func (*ReplyLotteryCurrentInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{16}
}
func (m *ReplyLotteryCurrentInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReplyLotteryCurrentInfo.Unmarshal(m, b)
}
func (m *ReplyLotteryCurrentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReplyLotteryCurrentInfo.Marshal(b, m, deterministic)
}
func (dst *ReplyLotteryCurrentInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReplyLotteryCurrentInfo.Merge(dst, src)
}
func (m *ReplyLotteryCurrentInfo) XXX_Size() int {
	return xxx_messageInfo_ReplyLotteryCurrentInfo.Size(m)
}
func (m *ReplyLotteryCurrentInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_ReplyLotteryCurrentInfo.DiscardUnknown(m)
}

var xxx_messageInfo_ReplyLotteryCurrentInfo proto.InternalMessageInfo

func (m *ReplyLotteryCurrentInfo) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetFund() int64 {
	if m != nil {
		return m.Fund
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetLastTransToPurState() int64 {
	if m != nil {
		return m.LastTransToPurState
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetLastTransToDrawState() int64 {
	if m != nil {
		return m.LastTransToDrawState
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetTotalPurchasedTxNum() int64 {
	if m != nil {
		return m.TotalPurchasedTxNum
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetLuckyNumber() int64 {
	if m != nil {
		return m.LuckyNumber
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetLastTransToPurStateOnMain() int64 {
	if m != nil {
		return m.LastTransToPurStateOnMain
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetLastTransToDrawStateOnMain() int64 {
	if m != nil {
		return m.LastTransToDrawStateOnMain
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetPurBlockNum() int64 {
	if m != nil {
		return m.PurBlockNum
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetDrawBlockNum() int64 {
	if m != nil {
		return m.DrawBlockNum
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetMissingRecords() []*MissingRecord {
	if m != nil {
		return m.MissingRecords
	}
	return nil
}

func (m *ReplyLotteryCurrentInfo) GetTotalAddrNum() int64 {
	if m != nil {
		return m.TotalAddrNum
	}
	return 0
}

func (m *ReplyLotteryCurrentInfo) GetBuyAmount() int64 {
	if m != nil {
		return m.BuyAmount
	}
	return 0
}

type ReplyLotteryHistoryLuckyNumber struct {
	LuckyNumber          []int64  `protobuf:"varint,1,rep,packed,name=luckyNumber,proto3" json:"luckyNumber,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReplyLotteryHistoryLuckyNumber) Reset()         { *m = ReplyLotteryHistoryLuckyNumber{} }
func (m *ReplyLotteryHistoryLuckyNumber) String() string { return proto.CompactTextString(m) }
func (*ReplyLotteryHistoryLuckyNumber) ProtoMessage()    {}
func (*ReplyLotteryHistoryLuckyNumber) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{17}
}
func (m *ReplyLotteryHistoryLuckyNumber) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReplyLotteryHistoryLuckyNumber.Unmarshal(m, b)
}
func (m *ReplyLotteryHistoryLuckyNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReplyLotteryHistoryLuckyNumber.Marshal(b, m, deterministic)
}
func (dst *ReplyLotteryHistoryLuckyNumber) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReplyLotteryHistoryLuckyNumber.Merge(dst, src)
}
func (m *ReplyLotteryHistoryLuckyNumber) XXX_Size() int {
	return xxx_messageInfo_ReplyLotteryHistoryLuckyNumber.Size(m)
}
func (m *ReplyLotteryHistoryLuckyNumber) XXX_DiscardUnknown() {
	xxx_messageInfo_ReplyLotteryHistoryLuckyNumber.DiscardUnknown(m)
}

var xxx_messageInfo_ReplyLotteryHistoryLuckyNumber proto.InternalMessageInfo

func (m *ReplyLotteryHistoryLuckyNumber) GetLuckyNumber() []int64 {
	if m != nil {
		return m.LuckyNumber
	}
	return nil
}

type ReplyLotteryShowInfo struct {
	Records              []*LotteryBuyRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *ReplyLotteryShowInfo) Reset()         { *m = ReplyLotteryShowInfo{} }
func (m *ReplyLotteryShowInfo) String() string { return proto.CompactTextString(m) }
func (*ReplyLotteryShowInfo) ProtoMessage()    {}
func (*ReplyLotteryShowInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{18}
}
func (m *ReplyLotteryShowInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReplyLotteryShowInfo.Unmarshal(m, b)
}
func (m *ReplyLotteryShowInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReplyLotteryShowInfo.Marshal(b, m, deterministic)
}
func (dst *ReplyLotteryShowInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReplyLotteryShowInfo.Merge(dst, src)
}
func (m *ReplyLotteryShowInfo) XXX_Size() int {
	return xxx_messageInfo_ReplyLotteryShowInfo.Size(m)
}
func (m *ReplyLotteryShowInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_ReplyLotteryShowInfo.DiscardUnknown(m)
}

var xxx_messageInfo_ReplyLotteryShowInfo proto.InternalMessageInfo

func (m *ReplyLotteryShowInfo) GetRecords() []*LotteryBuyRecord {
	if m != nil {
		return m.Records
	}
	return nil
}

type LotteryNumberRecord struct {
	Number               int64    `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Amount               int64    `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryNumberRecord) Reset()         { *m = LotteryNumberRecord{} }
func (m *LotteryNumberRecord) String() string { return proto.CompactTextString(m) }
func (*LotteryNumberRecord) ProtoMessage()    {}
func (*LotteryNumberRecord) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{19}
}
func (m *LotteryNumberRecord) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryNumberRecord.Unmarshal(m, b)
}
func (m *LotteryNumberRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryNumberRecord.Marshal(b, m, deterministic)
}
func (dst *LotteryNumberRecord) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryNumberRecord.Merge(dst, src)
}
func (m *LotteryNumberRecord) XXX_Size() int {
	return xxx_messageInfo_LotteryNumberRecord.Size(m)
}
func (m *LotteryNumberRecord) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryNumberRecord.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryNumberRecord proto.InternalMessageInfo

func (m *LotteryNumberRecord) GetNumber() int64 {
	if m != nil {
		return m.Number
	}
	return 0
}

func (m *LotteryNumberRecord) GetAmount() int64 {
	if m != nil {
		return m.Amount
	}
	return 0
}

// used for execlocal
type LotteryBuyRecord struct {
	Number               int64    `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Amount               int64    `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Round                int64    `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	Type                 int64    `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	Way                  int64    `protobuf:"varint,5,opt,name=way,proto3" json:"way,omitempty"`
	Index                int64    `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty"`
	Time                 int64    `protobuf:"varint,7,opt,name=time,proto3" json:"time,omitempty"`
	TxHash               string   `protobuf:"bytes,8,opt,name=txHash,proto3" json:"txHash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryBuyRecord) Reset()         { *m = LotteryBuyRecord{} }
func (m *LotteryBuyRecord) String() string { return proto.CompactTextString(m) }
func (*LotteryBuyRecord) ProtoMessage()    {}
func (*LotteryBuyRecord) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{20}
}
func (m *LotteryBuyRecord) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryBuyRecord.Unmarshal(m, b)
}
func (m *LotteryBuyRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryBuyRecord.Marshal(b, m, deterministic)
}
func (dst *LotteryBuyRecord) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryBuyRecord.Merge(dst, src)
}
func (m *LotteryBuyRecord) XXX_Size() int {
	return xxx_messageInfo_LotteryBuyRecord.Size(m)
}
func (m *LotteryBuyRecord) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryBuyRecord.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryBuyRecord proto.InternalMessageInfo

func (m *LotteryBuyRecord) GetNumber() int64 {
	if m != nil {
		return m.Number
	}
	return 0
}

func (m *LotteryBuyRecord) GetAmount() int64 {
	if m != nil {
		return m.Amount
	}
	return 0
}

func (m *LotteryBuyRecord) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func (m *LotteryBuyRecord) GetType() int64 {
	if m != nil {
		return m.Type
	}
	return 0
}

func (m *LotteryBuyRecord) GetWay() int64 {
	if m != nil {
		return m.Way
	}
	return 0
}

func (m *LotteryBuyRecord) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

func (m *LotteryBuyRecord) GetTime() int64 {
	if m != nil {
		return m.Time
	}
	return 0
}

func (m *LotteryBuyRecord) GetTxHash() string {
	if m != nil {
		return m.TxHash
	}
	return ""
}

type LotteryBuyRecords struct {
	Records              []*LotteryBuyRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *LotteryBuyRecords) Reset()         { *m = LotteryBuyRecords{} }
func (m *LotteryBuyRecords) String() string { return proto.CompactTextString(m) }
func (*LotteryBuyRecords) ProtoMessage()    {}
func (*LotteryBuyRecords) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{21}
}
func (m *LotteryBuyRecords) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryBuyRecords.Unmarshal(m, b)
}
func (m *LotteryBuyRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryBuyRecords.Marshal(b, m, deterministic)
}
func (dst *LotteryBuyRecords) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryBuyRecords.Merge(dst, src)
}
func (m *LotteryBuyRecords) XXX_Size() int {
	return xxx_messageInfo_LotteryBuyRecords.Size(m)
}
func (m *LotteryBuyRecords) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryBuyRecords.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryBuyRecords proto.InternalMessageInfo

func (m *LotteryBuyRecords) GetRecords() []*LotteryBuyRecord {
	if m != nil {
		return m.Records
	}
	return nil
}

type LotteryDrawRecord struct {
	Number               int64    `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Round                int64    `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"`
	Time                 int64    `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
	TxHash               string   `protobuf:"bytes,4,opt,name=txHash,proto3" json:"txHash,omitempty"`
	TotalAddrNum         int64    `protobuf:"varint,5,opt,name=totalAddrNum,proto3" json:"totalAddrNum,omitempty"`
	BuyAmount            int64    `protobuf:"varint,6,opt,name=buyAmount,proto3" json:"buyAmount,omitempty"`
	LuckyAddrNum         int64    `protobuf:"varint,7,opt,name=luckyAddrNum,proto3" json:"luckyAddrNum,omitempty"`
	TotalFund            int64    `protobuf:"varint,8,opt,name=totalFund,proto3" json:"totalFund,omitempty"`
	Factor               int64    `protobuf:"varint,9,opt,name=factor,proto3" json:"factor,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryDrawRecord) Reset()         { *m = LotteryDrawRecord{} }
func (m *LotteryDrawRecord) String() string { return proto.CompactTextString(m) }
func (*LotteryDrawRecord) ProtoMessage()    {}
func (*LotteryDrawRecord) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{22}
}
func (m *LotteryDrawRecord) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryDrawRecord.Unmarshal(m, b)
}
func (m *LotteryDrawRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryDrawRecord.Marshal(b, m, deterministic)
}
func (dst *LotteryDrawRecord) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryDrawRecord.Merge(dst, src)
}
func (m *LotteryDrawRecord) XXX_Size() int {
	return xxx_messageInfo_LotteryDrawRecord.Size(m)
}
func (m *LotteryDrawRecord) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryDrawRecord.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryDrawRecord proto.InternalMessageInfo

func (m *LotteryDrawRecord) GetNumber() int64 {
	if m != nil {
		return m.Number
	}
	return 0
}

func (m *LotteryDrawRecord) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func (m *LotteryDrawRecord) GetTime() int64 {
	if m != nil {
		return m.Time
	}
	return 0
}

func (m *LotteryDrawRecord) GetTxHash() string {
	if m != nil {
		return m.TxHash
	}
	return ""
}

func (m *LotteryDrawRecord) GetTotalAddrNum() int64 {
	if m != nil {
		return m.TotalAddrNum
	}
	return 0
}

func (m *LotteryDrawRecord) GetBuyAmount() int64 {
	if m != nil {
		return m.BuyAmount
	}
	return 0
}

func (m *LotteryDrawRecord) GetLuckyAddrNum() int64 {
	if m != nil {
		return m.LuckyAddrNum
	}
	return 0
}

func (m *LotteryDrawRecord) GetTotalFund() int64 {
	if m != nil {
		return m.TotalFund
	}
	return 0
}

func (m *LotteryDrawRecord) GetFactor() int64 {
	if m != nil {
		return m.Factor
	}
	return 0
}

type LotteryDrawRecords struct {
	Records              []*LotteryDrawRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *LotteryDrawRecords) Reset()         { *m = LotteryDrawRecords{} }
func (m *LotteryDrawRecords) String() string { return proto.CompactTextString(m) }
func (*LotteryDrawRecords) ProtoMessage()    {}
func (*LotteryDrawRecords) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{23}
}
func (m *LotteryDrawRecords) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryDrawRecords.Unmarshal(m, b)
}
func (m *LotteryDrawRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryDrawRecords.Marshal(b, m, deterministic)
}
func (dst *LotteryDrawRecords) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryDrawRecords.Merge(dst, src)
}
func (m *LotteryDrawRecords) XXX_Size() int {
	return xxx_messageInfo_LotteryDrawRecords.Size(m)
}
func (m *LotteryDrawRecords) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryDrawRecords.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryDrawRecords proto.InternalMessageInfo

func (m *LotteryDrawRecords) GetRecords() []*LotteryDrawRecord {
	if m != nil {
		return m.Records
	}
	return nil
}

type LotteryUpdateRec struct {
	Index                int64    `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Type                 int64    `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryUpdateRec) Reset()         { *m = LotteryUpdateRec{} }
func (m *LotteryUpdateRec) String() string { return proto.CompactTextString(m) }
func (*LotteryUpdateRec) ProtoMessage()    {}
func (*LotteryUpdateRec) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{24}
}
func (m *LotteryUpdateRec) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryUpdateRec.Unmarshal(m, b)
}
func (m *LotteryUpdateRec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryUpdateRec.Marshal(b, m, deterministic)
}
func (dst *LotteryUpdateRec) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryUpdateRec.Merge(dst, src)
}
func (m *LotteryUpdateRec) XXX_Size() int {
	return xxx_messageInfo_LotteryUpdateRec.Size(m)
}
func (m *LotteryUpdateRec) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryUpdateRec.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryUpdateRec proto.InternalMessageInfo

func (m *LotteryUpdateRec) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

func (m *LotteryUpdateRec) GetType() int64 {
	if m != nil {
		return m.Type
	}
	return 0
}

type LotteryUpdateRecs struct {
	Records              []*LotteryUpdateRec `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *LotteryUpdateRecs) Reset()         { *m = LotteryUpdateRecs{} }
func (m *LotteryUpdateRecs) String() string { return proto.CompactTextString(m) }
func (*LotteryUpdateRecs) ProtoMessage()    {}
func (*LotteryUpdateRecs) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{25}
}
func (m *LotteryUpdateRecs) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryUpdateRecs.Unmarshal(m, b)
}
func (m *LotteryUpdateRecs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryUpdateRecs.Marshal(b, m, deterministic)
}
func (dst *LotteryUpdateRecs) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryUpdateRecs.Merge(dst, src)
}
func (m *LotteryUpdateRecs) XXX_Size() int {
	return xxx_messageInfo_LotteryUpdateRecs.Size(m)
}
func (m *LotteryUpdateRecs) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryUpdateRecs.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryUpdateRecs proto.InternalMessageInfo

func (m *LotteryUpdateRecs) GetRecords() []*LotteryUpdateRec {
	if m != nil {
		return m.Records
	}
	return nil
}

type LotteryUpdateBuyInfo struct {
	BuyInfo              map[string]*LotteryUpdateRecs `protobuf:"bytes,1,rep,name=buyInfo,proto3" json:"buyInfo,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (m *LotteryUpdateBuyInfo) Reset()         { *m = LotteryUpdateBuyInfo{} }
func (m *LotteryUpdateBuyInfo) String() string { return proto.CompactTextString(m) }
func (*LotteryUpdateBuyInfo) ProtoMessage()    {}
func (*LotteryUpdateBuyInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{26}
}
func (m *LotteryUpdateBuyInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryUpdateBuyInfo.Unmarshal(m, b)
}
func (m *LotteryUpdateBuyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryUpdateBuyInfo.Marshal(b, m, deterministic)
}
func (dst *LotteryUpdateBuyInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryUpdateBuyInfo.Merge(dst, src)
}
func (m *LotteryUpdateBuyInfo) XXX_Size() int {
	return xxx_messageInfo_LotteryUpdateBuyInfo.Size(m)
}
func (m *LotteryUpdateBuyInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryUpdateBuyInfo.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryUpdateBuyInfo proto.InternalMessageInfo

func (m *LotteryUpdateBuyInfo) GetBuyInfo() map[string]*LotteryUpdateRecs {
	if m != nil {
		return m.BuyInfo
	}
	return nil
}

type ReplyLotteryPurchaseAddr struct {
	Address              []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReplyLotteryPurchaseAddr) Reset()         { *m = ReplyLotteryPurchaseAddr{} }
func (m *ReplyLotteryPurchaseAddr) String() string { return proto.CompactTextString(m) }
func (*ReplyLotteryPurchaseAddr) ProtoMessage()    {}
func (*ReplyLotteryPurchaseAddr) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{27}
}
func (m *ReplyLotteryPurchaseAddr) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReplyLotteryPurchaseAddr.Unmarshal(m, b)
}
func (m *ReplyLotteryPurchaseAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReplyLotteryPurchaseAddr.Marshal(b, m, deterministic)
}
func (dst *ReplyLotteryPurchaseAddr) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReplyLotteryPurchaseAddr.Merge(dst, src)
}
func (m *ReplyLotteryPurchaseAddr) XXX_Size() int {
	return xxx_messageInfo_ReplyLotteryPurchaseAddr.Size(m)
}
func (m *ReplyLotteryPurchaseAddr) XXX_DiscardUnknown() {
	xxx_messageInfo_ReplyLotteryPurchaseAddr.DiscardUnknown(m)
}

var xxx_messageInfo_ReplyLotteryPurchaseAddr proto.InternalMessageInfo

func (m *ReplyLotteryPurchaseAddr) GetAddress() []string {
	if m != nil {
		return m.Address
	}
	return nil
}

type LotteryGainInfos struct {
	Gains                []*LotteryGainInfo `protobuf:"bytes,1,rep,name=gains,proto3" json:"gains,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (m *LotteryGainInfos) Reset()         { *m = LotteryGainInfos{} }
func (m *LotteryGainInfos) String() string { return proto.CompactTextString(m) }
func (*LotteryGainInfos) ProtoMessage()    {}
func (*LotteryGainInfos) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{28}
}
func (m *LotteryGainInfos) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryGainInfos.Unmarshal(m, b)
}
func (m *LotteryGainInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryGainInfos.Marshal(b, m, deterministic)
}
func (dst *LotteryGainInfos) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryGainInfos.Merge(dst, src)
}
func (m *LotteryGainInfos) XXX_Size() int {
	return xxx_messageInfo_LotteryGainInfos.Size(m)
}
func (m *LotteryGainInfos) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryGainInfos.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryGainInfos proto.InternalMessageInfo

func (m *LotteryGainInfos) GetGains() []*LotteryGainInfo {
	if m != nil {
		return m.Gains
	}
	return nil
}

type LotteryGainInfo struct {
	Addr                 string   `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	BuyAmount            int64    `protobuf:"varint,2,opt,name=buyAmount,proto3" json:"buyAmount,omitempty"`
	FundAmount           int64    `protobuf:"varint,3,opt,name=fundAmount,proto3" json:"fundAmount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryGainInfo) Reset()         { *m = LotteryGainInfo{} }
func (m *LotteryGainInfo) String() string { return proto.CompactTextString(m) }
func (*LotteryGainInfo) ProtoMessage()    {}
func (*LotteryGainInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{29}
}
func (m *LotteryGainInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryGainInfo.Unmarshal(m, b)
}
func (m *LotteryGainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryGainInfo.Marshal(b, m, deterministic)
}
func (dst *LotteryGainInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryGainInfo.Merge(dst, src)
}
func (m *LotteryGainInfo) XXX_Size() int {
	return xxx_messageInfo_LotteryGainInfo.Size(m)
}
func (m *LotteryGainInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryGainInfo.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryGainInfo proto.InternalMessageInfo

func (m *LotteryGainInfo) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *LotteryGainInfo) GetBuyAmount() int64 {
	if m != nil {
		return m.BuyAmount
	}
	return 0
}

func (m *LotteryGainInfo) GetFundAmount() int64 {
	if m != nil {
		return m.FundAmount
	}
	return 0
}

type LotteryGainRecord struct {
	Addr                 string   `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	BuyAmount            int64    `protobuf:"varint,2,opt,name=buyAmount,proto3" json:"buyAmount,omitempty"`
	FundAmount           int64    `protobuf:"varint,3,opt,name=fundAmount,proto3" json:"fundAmount,omitempty"`
	Round                int64    `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *LotteryGainRecord) Reset()         { *m = LotteryGainRecord{} }
func (m *LotteryGainRecord) String() string { return proto.CompactTextString(m) }
func (*LotteryGainRecord) ProtoMessage()    {}
func (*LotteryGainRecord) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{30}
}
func (m *LotteryGainRecord) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryGainRecord.Unmarshal(m, b)
}
func (m *LotteryGainRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryGainRecord.Marshal(b, m, deterministic)
}
func (dst *LotteryGainRecord) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryGainRecord.Merge(dst, src)
}
func (m *LotteryGainRecord) XXX_Size() int {
	return xxx_messageInfo_LotteryGainRecord.Size(m)
}
func (m *LotteryGainRecord) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryGainRecord.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryGainRecord proto.InternalMessageInfo

func (m *LotteryGainRecord) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *LotteryGainRecord) GetBuyAmount() int64 {
	if m != nil {
		return m.BuyAmount
	}
	return 0
}

func (m *LotteryGainRecord) GetFundAmount() int64 {
	if m != nil {
		return m.FundAmount
	}
	return 0
}

func (m *LotteryGainRecord) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

type LotteryGainRecords struct {
	Records              []*LotteryGainRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *LotteryGainRecords) Reset()         { *m = LotteryGainRecords{} }
func (m *LotteryGainRecords) String() string { return proto.CompactTextString(m) }
func (*LotteryGainRecords) ProtoMessage()    {}
func (*LotteryGainRecords) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{31}
}
func (m *LotteryGainRecords) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_LotteryGainRecords.Unmarshal(m, b)
}
func (m *LotteryGainRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_LotteryGainRecords.Marshal(b, m, deterministic)
}
func (dst *LotteryGainRecords) XXX_Merge(src proto.Message) {
	xxx_messageInfo_LotteryGainRecords.Merge(dst, src)
}
func (m *LotteryGainRecords) XXX_Size() int {
	return xxx_messageInfo_LotteryGainRecords.Size(m)
}
func (m *LotteryGainRecords) XXX_DiscardUnknown() {
	xxx_messageInfo_LotteryGainRecords.DiscardUnknown(m)
}

var xxx_messageInfo_LotteryGainRecords proto.InternalMessageInfo

func (m *LotteryGainRecords) GetRecords() []*LotteryGainRecord {
	if m != nil {
		return m.Records
	}
	return nil
}

type ReqLotteryGainHistory struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Round                int64    `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	Count                int32    `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	Direction            int32    `protobuf:"varint,5,opt,name=direction,proto3" json:"direction,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReqLotteryGainHistory) Reset()         { *m = ReqLotteryGainHistory{} }
func (m *ReqLotteryGainHistory) String() string { return proto.CompactTextString(m) }
func (*ReqLotteryGainHistory) ProtoMessage()    {}
func (*ReqLotteryGainHistory) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{32}
}
func (m *ReqLotteryGainHistory) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReqLotteryGainHistory.Unmarshal(m, b)
}
func (m *ReqLotteryGainHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReqLotteryGainHistory.Marshal(b, m, deterministic)
}
func (dst *ReqLotteryGainHistory) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReqLotteryGainHistory.Merge(dst, src)
}
func (m *ReqLotteryGainHistory) XXX_Size() int {
	return xxx_messageInfo_ReqLotteryGainHistory.Size(m)
}
func (m *ReqLotteryGainHistory) XXX_DiscardUnknown() {
	xxx_messageInfo_ReqLotteryGainHistory.DiscardUnknown(m)
}

var xxx_messageInfo_ReqLotteryGainHistory proto.InternalMessageInfo

func (m *ReqLotteryGainHistory) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

func (m *ReqLotteryGainHistory) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *ReqLotteryGainHistory) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func (m *ReqLotteryGainHistory) GetCount() int32 {
	if m != nil {
		return m.Count
	}
	return 0
}

func (m *ReqLotteryGainHistory) GetDirection() int32 {
	if m != nil {
		return m.Direction
	}
	return 0
}

type ReqLotteryGainInfo struct {
	LotteryId            string   `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"`
	Addr                 string   `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Round                int64    `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *ReqLotteryGainInfo) Reset()         { *m = ReqLotteryGainInfo{} }
func (m *ReqLotteryGainInfo) String() string { return proto.CompactTextString(m) }
func (*ReqLotteryGainInfo) ProtoMessage()    {}
func (*ReqLotteryGainInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_lottery_3a8797a4f9c4fbaf, []int{33}
}
func (m *ReqLotteryGainInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_ReqLotteryGainInfo.Unmarshal(m, b)
}
func (m *ReqLotteryGainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_ReqLotteryGainInfo.Marshal(b, m, deterministic)
}
func (dst *ReqLotteryGainInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_ReqLotteryGainInfo.Merge(dst, src)
}
func (m *ReqLotteryGainInfo) XXX_Size() int {
	return xxx_messageInfo_ReqLotteryGainInfo.Size(m)
}
func (m *ReqLotteryGainInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_ReqLotteryGainInfo.DiscardUnknown(m)
}

var xxx_messageInfo_ReqLotteryGainInfo proto.InternalMessageInfo

func (m *ReqLotteryGainInfo) GetLotteryId() string {
	if m != nil {
		return m.LotteryId
	}
	return ""
}

func (m *ReqLotteryGainInfo) GetAddr() string {
	if m != nil {
		return m.Addr
	}
	return ""
}

func (m *ReqLotteryGainInfo) GetRound() int64 {
	if m != nil {
		return m.Round
	}
	return 0
}

func init() {
	proto.RegisterType((*PurchaseRecord)(nil), "types.PurchaseRecord")
	proto.RegisterType((*PurchaseRecords)(nil), "types.PurchaseRecords")
	proto.RegisterType((*Lottery)(nil), "types.Lottery")
	proto.RegisterType((*MissingRecord)(nil), "types.MissingRecord")
	proto.RegisterType((*LotteryAction)(nil), "types.LotteryAction")
	proto.RegisterType((*LotteryCreate)(nil), "types.LotteryCreate")
	proto.RegisterType((*LotteryBuy)(nil), "types.LotteryBuy")
	proto.RegisterType((*LotteryDraw)(nil), "types.LotteryDraw")
	proto.RegisterType((*LotteryClose)(nil), "types.LotteryClose")
	proto.RegisterType((*ReceiptLottery)(nil), "types.ReceiptLottery")
	proto.RegisterType((*ReqLotteryInfo)(nil), "types.ReqLotteryInfo")
	proto.RegisterType((*ReqLotteryBuyInfo)(nil), "types.ReqLotteryBuyInfo")
	proto.RegisterType((*ReqLotteryBuyHistory)(nil), "types.ReqLotteryBuyHistory")
	proto.RegisterType((*ReqLotteryLuckyInfo)(nil), "types.ReqLotteryLuckyInfo")
	proto.RegisterType((*ReqLotteryLuckyHistory)(nil), "types.ReqLotteryLuckyHistory")
	proto.RegisterType((*ReplyLotteryNormalInfo)(nil), "types.ReplyLotteryNormalInfo")
	proto.RegisterType((*ReplyLotteryCurrentInfo)(nil), "types.ReplyLotteryCurrentInfo")
	proto.RegisterType((*ReplyLotteryHistoryLuckyNumber)(nil), "types.ReplyLotteryHistoryLuckyNumber")
	proto.RegisterType((*ReplyLotteryShowInfo)(nil), "types.ReplyLotteryShowInfo")
	proto.RegisterType((*LotteryNumberRecord)(nil), "types.LotteryNumberRecord")
	proto.RegisterType((*LotteryBuyRecord)(nil), "types.LotteryBuyRecord")
	proto.RegisterType((*LotteryBuyRecords)(nil), "types.LotteryBuyRecords")
	proto.RegisterType((*LotteryDrawRecord)(nil), "types.LotteryDrawRecord")
	proto.RegisterType((*LotteryDrawRecords)(nil), "types.LotteryDrawRecords")
	proto.RegisterType((*LotteryUpdateRec)(nil), "types.LotteryUpdateRec")
	proto.RegisterType((*LotteryUpdateRecs)(nil), "types.LotteryUpdateRecs")
	proto.RegisterType((*LotteryUpdateBuyInfo)(nil), "types.LotteryUpdateBuyInfo")
	proto.RegisterMapType((map[string]*LotteryUpdateRecs)(nil), "types.LotteryUpdateBuyInfo.BuyInfoEntry")
	proto.RegisterType((*ReplyLotteryPurchaseAddr)(nil), "types.ReplyLotteryPurchaseAddr")
	proto.RegisterType((*LotteryGainInfos)(nil), "types.LotteryGainInfos")
	proto.RegisterType((*LotteryGainInfo)(nil), "types.LotteryGainInfo")
	proto.RegisterType((*LotteryGainRecord)(nil), "types.LotteryGainRecord")
	proto.RegisterType((*LotteryGainRecords)(nil), "types.LotteryGainRecords")
	proto.RegisterType((*ReqLotteryGainHistory)(nil), "types.ReqLotteryGainHistory")
	proto.RegisterType((*ReqLotteryGainInfo)(nil), "types.ReqLotteryGainInfo")
}

func init() { proto.RegisterFile("lottery.proto", fileDescriptor_lottery_3a8797a4f9c4fbaf) }

var fileDescriptor_lottery_3a8797a4f9c4fbaf = []byte{
	// 1509 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6e, 0x1c, 0xc5,
	0x13, 0xf7, 0x7c, 0xed, 0x7a, 0x6b, 0xbd, 0xeb, 0xb8, 0xed, 0x38, 0xf3, 0xcf, 0x1f, 0x59, 0xd6,
	0x88, 0x20, 0x4b, 0x09, 0x2b, 0x58, 0x3e, 0x84, 0x20, 0x42, 0xc4, 0x21, 0x61, 0x2d, 0xe5, 0x4b,
	0x1d, 0x23, 0x0e, 0x70, 0x19, 0xef, 0x4c, 0xe2, 0x51, 0xd6, 0x33, 0xcb, 0x4c, 0x4f, 0xec, 0x11,
	0x17, 0xae, 0x9c, 0x91, 0x78, 0x01, 0x2e, 0x1c, 0x79, 0x04, 0x4e, 0xbc, 0x01, 0x48, 0xbc, 0x05,
	0x8f, 0x80, 0xfa, 0x63, 0xa6, 0x7b, 0x7a, 0x67, 0x3d, 0x36, 0xc9, 0x81, 0x93, 0xa7, 0xab, 0xab,
	0xbb, 0xaa, 0xab, 0x7e, 0x55, 0xf5, 0x5b, 0xc3, 0x60, 0x96, 0x10, 0x12, 0xa6, 0xc5, 0x68, 0x9e,
	0x26, 0x24, 0x41, 0x0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