types

package
v6.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2019 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LotteryActionCreate = 1 + iota
	LotteryActionBuy
	LotteryActionShow
	LotteryActionDraw
	LotteryActionClose

	//log for lottery
	TyLogLotteryCreate = 801
	TyLogLotteryBuy    = 802
	TyLogLotteryDraw   = 803
	TyLogLotteryClose  = 804
)

Lottery op

View Source
const (
	LotteryCreated = 1 + iota
	LotteryPurchase
	LotteryDrawed
	LotteryClosed
)

Lottery status

View Source
const (
	LotteryX = "lottery"
)

Lottery name

Variables

View Source
var (
	ErrNoPrivilege              = errors.New("ErrNoPrivilege")
	ErrLotteryStatus            = errors.New("ErrLotteryStatus")
	ErrLotteryDrawActionInvalid = errors.New("ErrLotteryDrawActionInvalid")
	ErrLotteryFundNotEnough     = errors.New("ErrLotteryFundNotEnough")
	ErrLotteryCreatorBuy        = errors.New("ErrLotteryCreatorBuy")
	ErrLotteryBuyAmount         = errors.New("ErrLotteryBuyAmount")
	ErrLotteryRepeatHash        = errors.New("ErrLotteryRepeatHash")
	ErrLotteryPurBlockLimit     = errors.New("ErrLotteryPurBlockLimit")
	ErrLotteryDrawBlockLimit    = errors.New("ErrLotteryDrawBlockLimit")
	ErrLotteryBuyNumber         = errors.New("ErrLotteryBuyNumber")
	ErrLotteryShowRepeated      = errors.New("ErrLotteryShowRepeated")
	ErrLotteryShowError         = errors.New("ErrLotteryShowError")
	ErrLotteryErrLuckyNum       = errors.New("ErrLotteryErrLuckyNum")
	ErrLotteryErrCloser         = errors.New("ErrLotteryErrCloser")
	ErrLotteryErrUnableClose    = errors.New("ErrLotteryErrUnableClose")
	ErrNodeNotExist             = errors.New("ErrNodeNotExist")
	ErrEmptyMinerTx             = errors.New("ErrEmptyMinerTx")
	ErrRewardFactor             = errors.New("ErrRewardFactor")
)

Errors for lottery

Functions

func CreateRawLotteryBuyTx

func CreateRawLotteryBuyTx(parm *LotteryBuyTx) (*types.Transaction, error)

CreateRawLotteryBuyTx method

func CreateRawLotteryCloseTx

func CreateRawLotteryCloseTx(parm *LotteryCloseTx) (*types.Transaction, error)

CreateRawLotteryCloseTx method

func CreateRawLotteryCreateTx

func CreateRawLotteryCreateTx(parm *LotteryCreateTx) (*types.Transaction, error)

CreateRawLotteryCreateTx method

func CreateRawLotteryDrawTx

func CreateRawLotteryDrawTx(parm *LotteryDrawTx) (*types.Transaction, error)

CreateRawLotteryDrawTx method

Types

type Lottery

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 (*Lottery) Descriptor

func (*Lottery) Descriptor() ([]byte, []int)

func (*Lottery) GetBuyAmount

func (m *Lottery) GetBuyAmount() int64

func (*Lottery) GetCreateAddr

func (m *Lottery) GetCreateAddr() string

func (*Lottery) GetCreateHeight

func (m *Lottery) GetCreateHeight() int64

func (*Lottery) GetCreateOnMain

func (m *Lottery) GetCreateOnMain() int64

func (*Lottery) GetDevRewardRatio

func (m *Lottery) GetDevRewardRatio() int64

func (*Lottery) GetDrawBlockNum

func (m *Lottery) GetDrawBlockNum() int64

func (*Lottery) GetFund

func (m *Lottery) GetFund() int64

func (*Lottery) GetLastTransToDrawState

func (m *Lottery) GetLastTransToDrawState() int64

func (*Lottery) GetLastTransToDrawStateOnMain

func (m *Lottery) GetLastTransToDrawStateOnMain() int64

func (*Lottery) GetLastTransToPurState

func (m *Lottery) GetLastTransToPurState() int64

func (*Lottery) GetLastTransToPurStateOnMain

func (m *Lottery) GetLastTransToPurStateOnMain() int64

func (*Lottery) GetLotteryId

func (m *Lottery) GetLotteryId() string

func (*Lottery) GetLuckyNumber

func (m *Lottery) GetLuckyNumber() int64

func (*Lottery) GetMissingRecords

func (m *Lottery) GetMissingRecords() []*MissingRecord

func (*Lottery) GetOpRewardRatio

func (m *Lottery) GetOpRewardRatio() int64

func (*Lottery) GetPurBlockNum

func (m *Lottery) GetPurBlockNum() int64

func (*Lottery) GetPurRecords

func (m *Lottery) GetPurRecords() []*PurchaseRecords

func (*Lottery) GetRound

func (m *Lottery) GetRound() int64

func (*Lottery) GetStatus

func (m *Lottery) GetStatus() int32

func (*Lottery) GetTotalAddrNum

func (m *Lottery) GetTotalAddrNum() int64

func (*Lottery) GetTotalPurchasedTxNum

func (m *Lottery) GetTotalPurchasedTxNum() int64

func (*Lottery) ProtoMessage

func (*Lottery) ProtoMessage()

func (*Lottery) Reset

func (m *Lottery) Reset()

func (*Lottery) String

func (m *Lottery) String() string

func (*Lottery) XXX_DiscardUnknown

func (m *Lottery) XXX_DiscardUnknown()

func (*Lottery) XXX_Marshal

func (m *Lottery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Lottery) XXX_Merge

func (m *Lottery) XXX_Merge(src proto.Message)

func (*Lottery) XXX_Size

func (m *Lottery) XXX_Size() int

func (*Lottery) XXX_Unmarshal

func (m *Lottery) XXX_Unmarshal(b []byte) error

type LotteryAction

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 (*LotteryAction) Descriptor

func (*LotteryAction) Descriptor() ([]byte, []int)

func (*LotteryAction) GetBuy

func (m *LotteryAction) GetBuy() *LotteryBuy

func (*LotteryAction) GetClose

func (m *LotteryAction) GetClose() *LotteryClose

func (*LotteryAction) GetCreate

func (m *LotteryAction) GetCreate() *LotteryCreate

func (*LotteryAction) GetDraw

func (m *LotteryAction) GetDraw() *LotteryDraw

func (*LotteryAction) GetTy

func (m *LotteryAction) GetTy() int32

func (*LotteryAction) GetValue

func (m *LotteryAction) GetValue() isLotteryAction_Value

func (*LotteryAction) ProtoMessage

func (*LotteryAction) ProtoMessage()

func (*LotteryAction) Reset

func (m *LotteryAction) Reset()

func (*LotteryAction) String

func (m *LotteryAction) String() string

func (*LotteryAction) XXX_DiscardUnknown

func (m *LotteryAction) XXX_DiscardUnknown()

func (*LotteryAction) XXX_Marshal

func (m *LotteryAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryAction) XXX_Merge

func (m *LotteryAction) XXX_Merge(src proto.Message)

func (*LotteryAction) XXX_OneofFuncs

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{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*LotteryAction) XXX_Size

func (m *LotteryAction) XXX_Size() int

func (*LotteryAction) XXX_Unmarshal

func (m *LotteryAction) XXX_Unmarshal(b []byte) error

type LotteryAction_Buy

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

type LotteryAction_Close

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

type LotteryAction_Create

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

type LotteryAction_Draw

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

type LotteryBuy

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 (*LotteryBuy) Descriptor

func (*LotteryBuy) Descriptor() ([]byte, []int)

func (*LotteryBuy) GetAmount

func (m *LotteryBuy) GetAmount() int64

func (*LotteryBuy) GetLotteryId

func (m *LotteryBuy) GetLotteryId() string

func (*LotteryBuy) GetNumber

func (m *LotteryBuy) GetNumber() int64

func (*LotteryBuy) GetWay

func (m *LotteryBuy) GetWay() int64

func (*LotteryBuy) ProtoMessage

func (*LotteryBuy) ProtoMessage()

func (*LotteryBuy) Reset

func (m *LotteryBuy) Reset()

func (*LotteryBuy) String

func (m *LotteryBuy) String() string

func (*LotteryBuy) XXX_DiscardUnknown

func (m *LotteryBuy) XXX_DiscardUnknown()

func (*LotteryBuy) XXX_Marshal

func (m *LotteryBuy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryBuy) XXX_Merge

func (m *LotteryBuy) XXX_Merge(src proto.Message)

func (*LotteryBuy) XXX_Size

func (m *LotteryBuy) XXX_Size() int

func (*LotteryBuy) XXX_Unmarshal

func (m *LotteryBuy) XXX_Unmarshal(b []byte) error

type LotteryBuyRecord

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:"-"`
}

used for execlocal

func (*LotteryBuyRecord) Descriptor

func (*LotteryBuyRecord) Descriptor() ([]byte, []int)

func (*LotteryBuyRecord) GetAmount

func (m *LotteryBuyRecord) GetAmount() int64

func (*LotteryBuyRecord) GetIndex

func (m *LotteryBuyRecord) GetIndex() int64

func (*LotteryBuyRecord) GetNumber

func (m *LotteryBuyRecord) GetNumber() int64

func (*LotteryBuyRecord) GetRound

func (m *LotteryBuyRecord) GetRound() int64

func (*LotteryBuyRecord) GetTime

func (m *LotteryBuyRecord) GetTime() int64

func (*LotteryBuyRecord) GetTxHash

func (m *LotteryBuyRecord) GetTxHash() string

func (*LotteryBuyRecord) GetType

func (m *LotteryBuyRecord) GetType() int64

func (*LotteryBuyRecord) GetWay

func (m *LotteryBuyRecord) GetWay() int64

func (*LotteryBuyRecord) ProtoMessage

func (*LotteryBuyRecord) ProtoMessage()

func (*LotteryBuyRecord) Reset

func (m *LotteryBuyRecord) Reset()

func (*LotteryBuyRecord) String

func (m *LotteryBuyRecord) String() string

func (*LotteryBuyRecord) XXX_DiscardUnknown

func (m *LotteryBuyRecord) XXX_DiscardUnknown()

func (*LotteryBuyRecord) XXX_Marshal

func (m *LotteryBuyRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryBuyRecord) XXX_Merge

func (m *LotteryBuyRecord) XXX_Merge(src proto.Message)

func (*LotteryBuyRecord) XXX_Size

func (m *LotteryBuyRecord) XXX_Size() int

func (*LotteryBuyRecord) XXX_Unmarshal

func (m *LotteryBuyRecord) XXX_Unmarshal(b []byte) error

type LotteryBuyRecords

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 (*LotteryBuyRecords) Descriptor

func (*LotteryBuyRecords) Descriptor() ([]byte, []int)

func (*LotteryBuyRecords) GetRecords

func (m *LotteryBuyRecords) GetRecords() []*LotteryBuyRecord

func (*LotteryBuyRecords) ProtoMessage

func (*LotteryBuyRecords) ProtoMessage()

func (*LotteryBuyRecords) Reset

func (m *LotteryBuyRecords) Reset()

func (*LotteryBuyRecords) String

func (m *LotteryBuyRecords) String() string

func (*LotteryBuyRecords) XXX_DiscardUnknown

func (m *LotteryBuyRecords) XXX_DiscardUnknown()

func (*LotteryBuyRecords) XXX_Marshal

func (m *LotteryBuyRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryBuyRecords) XXX_Merge

func (m *LotteryBuyRecords) XXX_Merge(src proto.Message)

func (*LotteryBuyRecords) XXX_Size

func (m *LotteryBuyRecords) XXX_Size() int

func (*LotteryBuyRecords) XXX_Unmarshal

func (m *LotteryBuyRecords) XXX_Unmarshal(b []byte) error

type LotteryBuyTx

type LotteryBuyTx struct {
	LotteryID string `json:"lotteryId"`
	Amount    int64  `json:"amount"`
	Number    int64  `json:"number"`
	Way       int64  `json:"way"`
	Fee       int64  `json:"fee"`
}

LotteryBuyTx for construction

type LotteryClose

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 (*LotteryClose) Descriptor

func (*LotteryClose) Descriptor() ([]byte, []int)

func (*LotteryClose) GetLotteryId

func (m *LotteryClose) GetLotteryId() string

func (*LotteryClose) ProtoMessage

func (*LotteryClose) ProtoMessage()

func (*LotteryClose) Reset

func (m *LotteryClose) Reset()

func (*LotteryClose) String

func (m *LotteryClose) String() string

func (*LotteryClose) XXX_DiscardUnknown

func (m *LotteryClose) XXX_DiscardUnknown()

func (*LotteryClose) XXX_Marshal

func (m *LotteryClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryClose) XXX_Merge

func (m *LotteryClose) XXX_Merge(src proto.Message)

func (*LotteryClose) XXX_Size

func (m *LotteryClose) XXX_Size() int

func (*LotteryClose) XXX_Unmarshal

func (m *LotteryClose) XXX_Unmarshal(b []byte) error

type LotteryCloseTx

type LotteryCloseTx struct {
	LotteryID string `json:"lotteryId"`
	Fee       int64  `json:"fee"`
}

LotteryCloseTx for construction

type LotteryCreate

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 (*LotteryCreate) Descriptor

func (*LotteryCreate) Descriptor() ([]byte, []int)

func (*LotteryCreate) GetDevRewardRatio

func (m *LotteryCreate) GetDevRewardRatio() int64

func (*LotteryCreate) GetDrawBlockNum

func (m *LotteryCreate) GetDrawBlockNum() int64

func (*LotteryCreate) GetOpRewardRatio

func (m *LotteryCreate) GetOpRewardRatio() int64

func (*LotteryCreate) GetPurBlockNum

func (m *LotteryCreate) GetPurBlockNum() int64

func (*LotteryCreate) ProtoMessage

func (*LotteryCreate) ProtoMessage()

func (*LotteryCreate) Reset

func (m *LotteryCreate) Reset()

func (*LotteryCreate) String

func (m *LotteryCreate) String() string

func (*LotteryCreate) XXX_DiscardUnknown

func (m *LotteryCreate) XXX_DiscardUnknown()

func (*LotteryCreate) XXX_Marshal

func (m *LotteryCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryCreate) XXX_Merge

func (m *LotteryCreate) XXX_Merge(src proto.Message)

func (*LotteryCreate) XXX_Size

func (m *LotteryCreate) XXX_Size() int

func (*LotteryCreate) XXX_Unmarshal

func (m *LotteryCreate) XXX_Unmarshal(b []byte) error

type LotteryCreateTx

type LotteryCreateTx struct {
	PurBlockNum    int64 `json:"purBlockNum"`
	DrawBlockNum   int64 `json:"drawBlockNum"`
	Fee            int64 `json:"fee"`
	OpRewardRatio  int64 `json:"opRewardRatio"`
	DevRewardRatio int64 `json:"devRewardRatio"`
}

LotteryCreateTx for construction

type LotteryDraw

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 (*LotteryDraw) Descriptor

func (*LotteryDraw) Descriptor() ([]byte, []int)

func (*LotteryDraw) GetLotteryId

func (m *LotteryDraw) GetLotteryId() string

func (*LotteryDraw) ProtoMessage

func (*LotteryDraw) ProtoMessage()

func (*LotteryDraw) Reset

func (m *LotteryDraw) Reset()

func (*LotteryDraw) String

func (m *LotteryDraw) String() string

func (*LotteryDraw) XXX_DiscardUnknown

func (m *LotteryDraw) XXX_DiscardUnknown()

func (*LotteryDraw) XXX_Marshal

func (m *LotteryDraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryDraw) XXX_Merge

func (m *LotteryDraw) XXX_Merge(src proto.Message)

func (*LotteryDraw) XXX_Size

func (m *LotteryDraw) XXX_Size() int

func (*LotteryDraw) XXX_Unmarshal

func (m *LotteryDraw) XXX_Unmarshal(b []byte) error

type LotteryDrawRecord

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LotteryDrawRecord) Descriptor

func (*LotteryDrawRecord) Descriptor() ([]byte, []int)

func (*LotteryDrawRecord) GetBuyAmount

func (m *LotteryDrawRecord) GetBuyAmount() int64

func (*LotteryDrawRecord) GetNumber

func (m *LotteryDrawRecord) GetNumber() int64

func (*LotteryDrawRecord) GetRound

func (m *LotteryDrawRecord) GetRound() int64

func (*LotteryDrawRecord) GetTime

func (m *LotteryDrawRecord) GetTime() int64

func (*LotteryDrawRecord) GetTotalAddrNum

func (m *LotteryDrawRecord) GetTotalAddrNum() int64

func (*LotteryDrawRecord) GetTxHash

func (m *LotteryDrawRecord) GetTxHash() string

func (*LotteryDrawRecord) ProtoMessage

func (*LotteryDrawRecord) ProtoMessage()

func (*LotteryDrawRecord) Reset

func (m *LotteryDrawRecord) Reset()

func (*LotteryDrawRecord) String

func (m *LotteryDrawRecord) String() string

func (*LotteryDrawRecord) XXX_DiscardUnknown

func (m *LotteryDrawRecord) XXX_DiscardUnknown()

func (*LotteryDrawRecord) XXX_Marshal

func (m *LotteryDrawRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryDrawRecord) XXX_Merge

func (m *LotteryDrawRecord) XXX_Merge(src proto.Message)

func (*LotteryDrawRecord) XXX_Size

func (m *LotteryDrawRecord) XXX_Size() int

func (*LotteryDrawRecord) XXX_Unmarshal

func (m *LotteryDrawRecord) XXX_Unmarshal(b []byte) error

type LotteryDrawRecords

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 (*LotteryDrawRecords) Descriptor

func (*LotteryDrawRecords) Descriptor() ([]byte, []int)

func (*LotteryDrawRecords) GetRecords

func (m *LotteryDrawRecords) GetRecords() []*LotteryDrawRecord

func (*LotteryDrawRecords) ProtoMessage

func (*LotteryDrawRecords) ProtoMessage()

func (*LotteryDrawRecords) Reset

func (m *LotteryDrawRecords) Reset()

func (*LotteryDrawRecords) String

func (m *LotteryDrawRecords) String() string

func (*LotteryDrawRecords) XXX_DiscardUnknown

func (m *LotteryDrawRecords) XXX_DiscardUnknown()

func (*LotteryDrawRecords) XXX_Marshal

func (m *LotteryDrawRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryDrawRecords) XXX_Merge

func (m *LotteryDrawRecords) XXX_Merge(src proto.Message)

func (*LotteryDrawRecords) XXX_Size

func (m *LotteryDrawRecords) XXX_Size() int

func (*LotteryDrawRecords) XXX_Unmarshal

func (m *LotteryDrawRecords) XXX_Unmarshal(b []byte) error

type LotteryDrawTx

type LotteryDrawTx struct {
	LotteryID string `json:"lotteryId"`
	Fee       int64  `json:"fee"`
}

LotteryDrawTx for construction

type LotteryGainInfo

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           float32  `protobuf:"fixed32,3,opt,name=fundAmount,proto3" json:"fundAmount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LotteryGainInfo) Descriptor

func (*LotteryGainInfo) Descriptor() ([]byte, []int)

func (*LotteryGainInfo) GetAddr

func (m *LotteryGainInfo) GetAddr() string

func (*LotteryGainInfo) GetBuyAmount

func (m *LotteryGainInfo) GetBuyAmount() int64

func (*LotteryGainInfo) GetFundAmount

func (m *LotteryGainInfo) GetFundAmount() float32

func (*LotteryGainInfo) ProtoMessage

func (*LotteryGainInfo) ProtoMessage()

func (*LotteryGainInfo) Reset

func (m *LotteryGainInfo) Reset()

func (*LotteryGainInfo) String

func (m *LotteryGainInfo) String() string

func (*LotteryGainInfo) XXX_DiscardUnknown

func (m *LotteryGainInfo) XXX_DiscardUnknown()

func (*LotteryGainInfo) XXX_Marshal

func (m *LotteryGainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryGainInfo) XXX_Merge

func (m *LotteryGainInfo) XXX_Merge(src proto.Message)

func (*LotteryGainInfo) XXX_Size

func (m *LotteryGainInfo) XXX_Size() int

func (*LotteryGainInfo) XXX_Unmarshal

func (m *LotteryGainInfo) XXX_Unmarshal(b []byte) error

type LotteryGainInfos

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 (*LotteryGainInfos) Descriptor

func (*LotteryGainInfos) Descriptor() ([]byte, []int)

func (*LotteryGainInfos) GetGains

func (m *LotteryGainInfos) GetGains() []*LotteryGainInfo

func (*LotteryGainInfos) ProtoMessage

func (*LotteryGainInfos) ProtoMessage()

func (*LotteryGainInfos) Reset

func (m *LotteryGainInfos) Reset()

func (*LotteryGainInfos) String

func (m *LotteryGainInfos) String() string

func (*LotteryGainInfos) XXX_DiscardUnknown

func (m *LotteryGainInfos) XXX_DiscardUnknown()

func (*LotteryGainInfos) XXX_Marshal

func (m *LotteryGainInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryGainInfos) XXX_Merge

func (m *LotteryGainInfos) XXX_Merge(src proto.Message)

func (*LotteryGainInfos) XXX_Size

func (m *LotteryGainInfos) XXX_Size() int

func (*LotteryGainInfos) XXX_Unmarshal

func (m *LotteryGainInfos) XXX_Unmarshal(b []byte) error

type LotteryGainRecord

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           float32  `protobuf:"fixed32,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 (*LotteryGainRecord) Descriptor

func (*LotteryGainRecord) Descriptor() ([]byte, []int)

func (*LotteryGainRecord) GetAddr

func (m *LotteryGainRecord) GetAddr() string

func (*LotteryGainRecord) GetBuyAmount

func (m *LotteryGainRecord) GetBuyAmount() int64

func (*LotteryGainRecord) GetFundAmount

func (m *LotteryGainRecord) GetFundAmount() float32

func (*LotteryGainRecord) GetRound

func (m *LotteryGainRecord) GetRound() int64

func (*LotteryGainRecord) ProtoMessage

func (*LotteryGainRecord) ProtoMessage()

func (*LotteryGainRecord) Reset

func (m *LotteryGainRecord) Reset()

func (*LotteryGainRecord) String

func (m *LotteryGainRecord) String() string

func (*LotteryGainRecord) XXX_DiscardUnknown

func (m *LotteryGainRecord) XXX_DiscardUnknown()

func (*LotteryGainRecord) XXX_Marshal

func (m *LotteryGainRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryGainRecord) XXX_Merge

func (m *LotteryGainRecord) XXX_Merge(src proto.Message)

func (*LotteryGainRecord) XXX_Size

func (m *LotteryGainRecord) XXX_Size() int

func (*LotteryGainRecord) XXX_Unmarshal

func (m *LotteryGainRecord) XXX_Unmarshal(b []byte) error

type LotteryGainRecords

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 (*LotteryGainRecords) Descriptor

func (*LotteryGainRecords) Descriptor() ([]byte, []int)

func (*LotteryGainRecords) GetRecords

func (m *LotteryGainRecords) GetRecords() []*LotteryGainRecord

func (*LotteryGainRecords) ProtoMessage

func (*LotteryGainRecords) ProtoMessage()

func (*LotteryGainRecords) Reset

func (m *LotteryGainRecords) Reset()

func (*LotteryGainRecords) String

func (m *LotteryGainRecords) String() string

func (*LotteryGainRecords) XXX_DiscardUnknown

func (m *LotteryGainRecords) XXX_DiscardUnknown()

func (*LotteryGainRecords) XXX_Marshal

func (m *LotteryGainRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryGainRecords) XXX_Merge

func (m *LotteryGainRecords) XXX_Merge(src proto.Message)

func (*LotteryGainRecords) XXX_Size

func (m *LotteryGainRecords) XXX_Size() int

func (*LotteryGainRecords) XXX_Unmarshal

func (m *LotteryGainRecords) XXX_Unmarshal(b []byte) error

type LotteryNumberRecord

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 (*LotteryNumberRecord) Descriptor

func (*LotteryNumberRecord) Descriptor() ([]byte, []int)

func (*LotteryNumberRecord) GetAmount

func (m *LotteryNumberRecord) GetAmount() int64

func (*LotteryNumberRecord) GetNumber

func (m *LotteryNumberRecord) GetNumber() int64

func (*LotteryNumberRecord) ProtoMessage

func (*LotteryNumberRecord) ProtoMessage()

func (*LotteryNumberRecord) Reset

func (m *LotteryNumberRecord) Reset()

func (*LotteryNumberRecord) String

func (m *LotteryNumberRecord) String() string

func (*LotteryNumberRecord) XXX_DiscardUnknown

func (m *LotteryNumberRecord) XXX_DiscardUnknown()

func (*LotteryNumberRecord) XXX_Marshal

func (m *LotteryNumberRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryNumberRecord) XXX_Merge

func (m *LotteryNumberRecord) XXX_Merge(src proto.Message)

func (*LotteryNumberRecord) XXX_Size

func (m *LotteryNumberRecord) XXX_Size() int

func (*LotteryNumberRecord) XXX_Unmarshal

func (m *LotteryNumberRecord) XXX_Unmarshal(b []byte) error

type LotteryType

type LotteryType struct {
	types.ExecTypeBase
}

LotteryType def

func NewType

func NewType() *LotteryType

NewType method

func (LotteryType) CreateTx

func (lottery LotteryType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)

CreateTx method

func (*LotteryType) GetLogMap

func (lottery *LotteryType) GetLogMap() map[int64]*types.LogInfo

GetLogMap method

func (*LotteryType) GetName

func (lottery *LotteryType) GetName() string

GetName 获取执行器名称

func (*LotteryType) GetPayload

func (lottery *LotteryType) GetPayload() types.Message

GetPayload method

func (LotteryType) GetTypeMap

func (lottery LotteryType) GetTypeMap() map[string]int32

GetTypeMap method

type LotteryUpdateBuyInfo

type LotteryUpdateBuyInfo struct {
	BuyInfo              map[string]*LotteryUpdateRecs `` /* 155-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*LotteryUpdateBuyInfo) Descriptor

func (*LotteryUpdateBuyInfo) Descriptor() ([]byte, []int)

func (*LotteryUpdateBuyInfo) GetBuyInfo

func (m *LotteryUpdateBuyInfo) GetBuyInfo() map[string]*LotteryUpdateRecs

func (*LotteryUpdateBuyInfo) ProtoMessage

func (*LotteryUpdateBuyInfo) ProtoMessage()

func (*LotteryUpdateBuyInfo) Reset

func (m *LotteryUpdateBuyInfo) Reset()

func (*LotteryUpdateBuyInfo) String

func (m *LotteryUpdateBuyInfo) String() string

func (*LotteryUpdateBuyInfo) XXX_DiscardUnknown

func (m *LotteryUpdateBuyInfo) XXX_DiscardUnknown()

func (*LotteryUpdateBuyInfo) XXX_Marshal

func (m *LotteryUpdateBuyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryUpdateBuyInfo) XXX_Merge

func (m *LotteryUpdateBuyInfo) XXX_Merge(src proto.Message)

func (*LotteryUpdateBuyInfo) XXX_Size

func (m *LotteryUpdateBuyInfo) XXX_Size() int

func (*LotteryUpdateBuyInfo) XXX_Unmarshal

func (m *LotteryUpdateBuyInfo) XXX_Unmarshal(b []byte) error

type LotteryUpdateRec

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 (*LotteryUpdateRec) Descriptor

func (*LotteryUpdateRec) Descriptor() ([]byte, []int)

func (*LotteryUpdateRec) GetIndex

func (m *LotteryUpdateRec) GetIndex() int64

func (*LotteryUpdateRec) GetType

func (m *LotteryUpdateRec) GetType() int64

func (*LotteryUpdateRec) ProtoMessage

func (*LotteryUpdateRec) ProtoMessage()

func (*LotteryUpdateRec) Reset

func (m *LotteryUpdateRec) Reset()

func (*LotteryUpdateRec) String

func (m *LotteryUpdateRec) String() string

func (*LotteryUpdateRec) XXX_DiscardUnknown

func (m *LotteryUpdateRec) XXX_DiscardUnknown()

func (*LotteryUpdateRec) XXX_Marshal

func (m *LotteryUpdateRec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryUpdateRec) XXX_Merge

func (m *LotteryUpdateRec) XXX_Merge(src proto.Message)

func (*LotteryUpdateRec) XXX_Size

func (m *LotteryUpdateRec) XXX_Size() int

func (*LotteryUpdateRec) XXX_Unmarshal

func (m *LotteryUpdateRec) XXX_Unmarshal(b []byte) error

type LotteryUpdateRecs

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 (*LotteryUpdateRecs) Descriptor

func (*LotteryUpdateRecs) Descriptor() ([]byte, []int)

func (*LotteryUpdateRecs) GetRecords

func (m *LotteryUpdateRecs) GetRecords() []*LotteryUpdateRec

func (*LotteryUpdateRecs) ProtoMessage

func (*LotteryUpdateRecs) ProtoMessage()

func (*LotteryUpdateRecs) Reset

func (m *LotteryUpdateRecs) Reset()

func (*LotteryUpdateRecs) String

func (m *LotteryUpdateRecs) String() string

func (*LotteryUpdateRecs) XXX_DiscardUnknown

func (m *LotteryUpdateRecs) XXX_DiscardUnknown()

func (*LotteryUpdateRecs) XXX_Marshal

func (m *LotteryUpdateRecs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LotteryUpdateRecs) XXX_Merge

func (m *LotteryUpdateRecs) XXX_Merge(src proto.Message)

func (*LotteryUpdateRecs) XXX_Size

func (m *LotteryUpdateRecs) XXX_Size() int

func (*LotteryUpdateRecs) XXX_Unmarshal

func (m *LotteryUpdateRecs) XXX_Unmarshal(b []byte) error

type MissingRecord

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 (*MissingRecord) Descriptor

func (*MissingRecord) Descriptor() ([]byte, []int)

func (*MissingRecord) GetTimes

func (m *MissingRecord) GetTimes() []int32

func (*MissingRecord) ProtoMessage

func (*MissingRecord) ProtoMessage()

func (*MissingRecord) Reset

func (m *MissingRecord) Reset()

func (*MissingRecord) String

func (m *MissingRecord) String() string

func (*MissingRecord) XXX_DiscardUnknown

func (m *MissingRecord) XXX_DiscardUnknown()

func (*MissingRecord) XXX_Marshal

func (m *MissingRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MissingRecord) XXX_Merge

func (m *MissingRecord) XXX_Merge(src proto.Message)

func (*MissingRecord) XXX_Size

func (m *MissingRecord) XXX_Size() int

func (*MissingRecord) XXX_Unmarshal

func (m *MissingRecord) XXX_Unmarshal(b []byte) error

type PurchaseRecord

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 (*PurchaseRecord) Descriptor

func (*PurchaseRecord) Descriptor() ([]byte, []int)

func (*PurchaseRecord) GetAmount

func (m *PurchaseRecord) GetAmount() int64

func (*PurchaseRecord) GetIndex

func (m *PurchaseRecord) GetIndex() int64

func (*PurchaseRecord) GetNumber

func (m *PurchaseRecord) GetNumber() int64

func (*PurchaseRecord) GetWay

func (m *PurchaseRecord) GetWay() int64

func (*PurchaseRecord) ProtoMessage

func (*PurchaseRecord) ProtoMessage()

func (*PurchaseRecord) Reset

func (m *PurchaseRecord) Reset()

func (*PurchaseRecord) String

func (m *PurchaseRecord) String() string

func (*PurchaseRecord) XXX_DiscardUnknown

func (m *PurchaseRecord) XXX_DiscardUnknown()

func (*PurchaseRecord) XXX_Marshal

func (m *PurchaseRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurchaseRecord) XXX_Merge

func (m *PurchaseRecord) XXX_Merge(src proto.Message)

func (*PurchaseRecord) XXX_Size

func (m *PurchaseRecord) XXX_Size() int

func (*PurchaseRecord) XXX_Unmarshal

func (m *PurchaseRecord) XXX_Unmarshal(b []byte) error

type PurchaseRecords

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 (*PurchaseRecords) Descriptor

func (*PurchaseRecords) Descriptor() ([]byte, []int)

func (*PurchaseRecords) GetAddr

func (m *PurchaseRecords) GetAddr() string

func (*PurchaseRecords) GetAmountOneRound

func (m *PurchaseRecords) GetAmountOneRound() int64

func (*PurchaseRecords) GetFundWin

func (m *PurchaseRecords) GetFundWin() int64

func (*PurchaseRecords) GetRecord

func (m *PurchaseRecords) GetRecord() []*PurchaseRecord

func (*PurchaseRecords) ProtoMessage

func (*PurchaseRecords) ProtoMessage()

func (*PurchaseRecords) Reset

func (m *PurchaseRecords) Reset()

func (*PurchaseRecords) String

func (m *PurchaseRecords) String() string

func (*PurchaseRecords) XXX_DiscardUnknown

func (m *PurchaseRecords) XXX_DiscardUnknown()

func (*PurchaseRecords) XXX_Marshal

func (m *PurchaseRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurchaseRecords) XXX_Merge

func (m *PurchaseRecords) XXX_Merge(src proto.Message)

func (*PurchaseRecords) XXX_Size

func (m *PurchaseRecords) XXX_Size() int

func (*PurchaseRecords) XXX_Unmarshal

func (m *PurchaseRecords) XXX_Unmarshal(b []byte) error

type ReceiptLottery

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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ReceiptLottery) Descriptor

func (*ReceiptLottery) Descriptor() ([]byte, []int)

func (*ReceiptLottery) GetAddr

func (m *ReceiptLottery) GetAddr() string

func (*ReceiptLottery) GetAmount

func (m *ReceiptLottery) GetAmount() int64

func (*ReceiptLottery) GetBuyAmount

func (m *ReceiptLottery) GetBuyAmount() int64

func (*ReceiptLottery) GetGainInfos

func (m *ReceiptLottery) GetGainInfos() *LotteryGainInfos

func (*ReceiptLottery) GetIndex

func (m *ReceiptLottery) GetIndex() int64

func (*ReceiptLottery) GetLotteryId

func (m *ReceiptLottery) GetLotteryId() string

func (*ReceiptLottery) GetLuckyNumber

func (m *ReceiptLottery) GetLuckyNumber() int64

func (*ReceiptLottery) GetNumber

func (m *ReceiptLottery) GetNumber() int64

func (*ReceiptLottery) GetPrevStatus

func (m *ReceiptLottery) GetPrevStatus() int32

func (*ReceiptLottery) GetRound

func (m *ReceiptLottery) GetRound() int64

func (*ReceiptLottery) GetStatus

func (m *ReceiptLottery) GetStatus() int32

func (*ReceiptLottery) GetTime

func (m *ReceiptLottery) GetTime() int64

func (*ReceiptLottery) GetTotalAddrNum

func (m *ReceiptLottery) GetTotalAddrNum() int64

func (*ReceiptLottery) GetTxHash

func (m *ReceiptLottery) GetTxHash() string

func (*ReceiptLottery) GetUpdateInfo

func (m *ReceiptLottery) GetUpdateInfo() *LotteryUpdateBuyInfo

func (*ReceiptLottery) GetWay

func (m *ReceiptLottery) GetWay() int64

func (*ReceiptLottery) ProtoMessage

func (*ReceiptLottery) ProtoMessage()

func (*ReceiptLottery) Reset

func (m *ReceiptLottery) Reset()

func (*ReceiptLottery) String

func (m *ReceiptLottery) String() string

func (*ReceiptLottery) XXX_DiscardUnknown

func (m *ReceiptLottery) XXX_DiscardUnknown()

func (*ReceiptLottery) XXX_Marshal

func (m *ReceiptLottery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReceiptLottery) XXX_Merge

func (m *ReceiptLottery) XXX_Merge(src proto.Message)

func (*ReceiptLottery) XXX_Size

func (m *ReceiptLottery) XXX_Size() int

func (*ReceiptLottery) XXX_Unmarshal

func (m *ReceiptLottery) XXX_Unmarshal(b []byte) error

type ReplyLotteryCurrentInfo

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 (*ReplyLotteryCurrentInfo) Descriptor

func (*ReplyLotteryCurrentInfo) Descriptor() ([]byte, []int)

func (*ReplyLotteryCurrentInfo) GetBuyAmount

func (m *ReplyLotteryCurrentInfo) GetBuyAmount() int64

func (*ReplyLotteryCurrentInfo) GetDrawBlockNum

func (m *ReplyLotteryCurrentInfo) GetDrawBlockNum() int64

func (*ReplyLotteryCurrentInfo) GetFund

func (m *ReplyLotteryCurrentInfo) GetFund() int64

func (*ReplyLotteryCurrentInfo) GetLastTransToDrawState

func (m *ReplyLotteryCurrentInfo) GetLastTransToDrawState() int64

func (*ReplyLotteryCurrentInfo) GetLastTransToDrawStateOnMain

func (m *ReplyLotteryCurrentInfo) GetLastTransToDrawStateOnMain() int64

func (*ReplyLotteryCurrentInfo) GetLastTransToPurState

func (m *ReplyLotteryCurrentInfo) GetLastTransToPurState() int64

func (*ReplyLotteryCurrentInfo) GetLastTransToPurStateOnMain

func (m *ReplyLotteryCurrentInfo) GetLastTransToPurStateOnMain() int64

func (*ReplyLotteryCurrentInfo) GetLuckyNumber

func (m *ReplyLotteryCurrentInfo) GetLuckyNumber() int64

func (*ReplyLotteryCurrentInfo) GetMissingRecords

func (m *ReplyLotteryCurrentInfo) GetMissingRecords() []*MissingRecord

func (*ReplyLotteryCurrentInfo) GetPurBlockNum

func (m *ReplyLotteryCurrentInfo) GetPurBlockNum() int64

func (*ReplyLotteryCurrentInfo) GetRound

func (m *ReplyLotteryCurrentInfo) GetRound() int64

func (*ReplyLotteryCurrentInfo) GetStatus

func (m *ReplyLotteryCurrentInfo) GetStatus() int32

func (*ReplyLotteryCurrentInfo) GetTotalAddrNum

func (m *ReplyLotteryCurrentInfo) GetTotalAddrNum() int64

func (*ReplyLotteryCurrentInfo) GetTotalPurchasedTxNum

func (m *ReplyLotteryCurrentInfo) GetTotalPurchasedTxNum() int64

func (*ReplyLotteryCurrentInfo) ProtoMessage

func (*ReplyLotteryCurrentInfo) ProtoMessage()

func (*ReplyLotteryCurrentInfo) Reset

func (m *ReplyLotteryCurrentInfo) Reset()

func (*ReplyLotteryCurrentInfo) String

func (m *ReplyLotteryCurrentInfo) String() string

func (*ReplyLotteryCurrentInfo) XXX_DiscardUnknown

func (m *ReplyLotteryCurrentInfo) XXX_DiscardUnknown()

func (*ReplyLotteryCurrentInfo) XXX_Marshal

func (m *ReplyLotteryCurrentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyLotteryCurrentInfo) XXX_Merge

func (m *ReplyLotteryCurrentInfo) XXX_Merge(src proto.Message)

func (*ReplyLotteryCurrentInfo) XXX_Size

func (m *ReplyLotteryCurrentInfo) XXX_Size() int

func (*ReplyLotteryCurrentInfo) XXX_Unmarshal

func (m *ReplyLotteryCurrentInfo) XXX_Unmarshal(b []byte) error

type ReplyLotteryHistoryLuckyNumber

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 (*ReplyLotteryHistoryLuckyNumber) Descriptor

func (*ReplyLotteryHistoryLuckyNumber) Descriptor() ([]byte, []int)

func (*ReplyLotteryHistoryLuckyNumber) GetLuckyNumber

func (m *ReplyLotteryHistoryLuckyNumber) GetLuckyNumber() []int64

func (*ReplyLotteryHistoryLuckyNumber) ProtoMessage

func (*ReplyLotteryHistoryLuckyNumber) ProtoMessage()

func (*ReplyLotteryHistoryLuckyNumber) Reset

func (m *ReplyLotteryHistoryLuckyNumber) Reset()

func (*ReplyLotteryHistoryLuckyNumber) String

func (*ReplyLotteryHistoryLuckyNumber) XXX_DiscardUnknown

func (m *ReplyLotteryHistoryLuckyNumber) XXX_DiscardUnknown()

func (*ReplyLotteryHistoryLuckyNumber) XXX_Marshal

func (m *ReplyLotteryHistoryLuckyNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyLotteryHistoryLuckyNumber) XXX_Merge

func (m *ReplyLotteryHistoryLuckyNumber) XXX_Merge(src proto.Message)

func (*ReplyLotteryHistoryLuckyNumber) XXX_Size

func (m *ReplyLotteryHistoryLuckyNumber) XXX_Size() int

func (*ReplyLotteryHistoryLuckyNumber) XXX_Unmarshal

func (m *ReplyLotteryHistoryLuckyNumber) XXX_Unmarshal(b []byte) error

type ReplyLotteryNormalInfo

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 (*ReplyLotteryNormalInfo) Descriptor

func (*ReplyLotteryNormalInfo) Descriptor() ([]byte, []int)

func (*ReplyLotteryNormalInfo) GetCreateAddr

func (m *ReplyLotteryNormalInfo) GetCreateAddr() string

func (*ReplyLotteryNormalInfo) GetCreateHeight

func (m *ReplyLotteryNormalInfo) GetCreateHeight() int64

func (*ReplyLotteryNormalInfo) GetDevRewardRatio

func (m *ReplyLotteryNormalInfo) GetDevRewardRatio() int64

func (*ReplyLotteryNormalInfo) GetDrawBlockNum

func (m *ReplyLotteryNormalInfo) GetDrawBlockNum() int64

func (*ReplyLotteryNormalInfo) GetOpRewardRatio

func (m *ReplyLotteryNormalInfo) GetOpRewardRatio() int64

func (*ReplyLotteryNormalInfo) GetPurBlockNum

func (m *ReplyLotteryNormalInfo) GetPurBlockNum() int64

func (*ReplyLotteryNormalInfo) ProtoMessage

func (*ReplyLotteryNormalInfo) ProtoMessage()

func (*ReplyLotteryNormalInfo) Reset

func (m *ReplyLotteryNormalInfo) Reset()

func (*ReplyLotteryNormalInfo) String

func (m *ReplyLotteryNormalInfo) String() string

func (*ReplyLotteryNormalInfo) XXX_DiscardUnknown

func (m *ReplyLotteryNormalInfo) XXX_DiscardUnknown()

func (*ReplyLotteryNormalInfo) XXX_Marshal

func (m *ReplyLotteryNormalInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyLotteryNormalInfo) XXX_Merge

func (m *ReplyLotteryNormalInfo) XXX_Merge(src proto.Message)

func (*ReplyLotteryNormalInfo) XXX_Size

func (m *ReplyLotteryNormalInfo) XXX_Size() int

func (*ReplyLotteryNormalInfo) XXX_Unmarshal

func (m *ReplyLotteryNormalInfo) XXX_Unmarshal(b []byte) error

type ReplyLotteryPurchaseAddr

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 (*ReplyLotteryPurchaseAddr) Descriptor

func (*ReplyLotteryPurchaseAddr) Descriptor() ([]byte, []int)

func (*ReplyLotteryPurchaseAddr) GetAddress

func (m *ReplyLotteryPurchaseAddr) GetAddress() []string

func (*ReplyLotteryPurchaseAddr) ProtoMessage

func (*ReplyLotteryPurchaseAddr) ProtoMessage()

func (*ReplyLotteryPurchaseAddr) Reset

func (m *ReplyLotteryPurchaseAddr) Reset()

func (*ReplyLotteryPurchaseAddr) String

func (m *ReplyLotteryPurchaseAddr) String() string

func (*ReplyLotteryPurchaseAddr) XXX_DiscardUnknown

func (m *ReplyLotteryPurchaseAddr) XXX_DiscardUnknown()

func (*ReplyLotteryPurchaseAddr) XXX_Marshal

func (m *ReplyLotteryPurchaseAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyLotteryPurchaseAddr) XXX_Merge

func (m *ReplyLotteryPurchaseAddr) XXX_Merge(src proto.Message)

func (*ReplyLotteryPurchaseAddr) XXX_Size

func (m *ReplyLotteryPurchaseAddr) XXX_Size() int

func (*ReplyLotteryPurchaseAddr) XXX_Unmarshal

func (m *ReplyLotteryPurchaseAddr) XXX_Unmarshal(b []byte) error

type ReplyLotteryShowInfo

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 (*ReplyLotteryShowInfo) Descriptor

func (*ReplyLotteryShowInfo) Descriptor() ([]byte, []int)

func (*ReplyLotteryShowInfo) GetRecords

func (m *ReplyLotteryShowInfo) GetRecords() []*LotteryBuyRecord

func (*ReplyLotteryShowInfo) ProtoMessage

func (*ReplyLotteryShowInfo) ProtoMessage()

func (*ReplyLotteryShowInfo) Reset

func (m *ReplyLotteryShowInfo) Reset()

func (*ReplyLotteryShowInfo) String

func (m *ReplyLotteryShowInfo) String() string

func (*ReplyLotteryShowInfo) XXX_DiscardUnknown

func (m *ReplyLotteryShowInfo) XXX_DiscardUnknown()

func (*ReplyLotteryShowInfo) XXX_Marshal

func (m *ReplyLotteryShowInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReplyLotteryShowInfo) XXX_Merge

func (m *ReplyLotteryShowInfo) XXX_Merge(src proto.Message)

func (*ReplyLotteryShowInfo) XXX_Size

func (m *ReplyLotteryShowInfo) XXX_Size() int

func (*ReplyLotteryShowInfo) XXX_Unmarshal

func (m *ReplyLotteryShowInfo) XXX_Unmarshal(b []byte) error

type ReqLotteryBuyHistory

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 (*ReqLotteryBuyHistory) Descriptor

func (*ReqLotteryBuyHistory) Descriptor() ([]byte, []int)

func (*ReqLotteryBuyHistory) GetAddr

func (m *ReqLotteryBuyHistory) GetAddr() string

func (*ReqLotteryBuyHistory) GetCount

func (m *ReqLotteryBuyHistory) GetCount() int32

func (*ReqLotteryBuyHistory) GetDirection

func (m *ReqLotteryBuyHistory) GetDirection() int32

func (*ReqLotteryBuyHistory) GetIndex

func (m *ReqLotteryBuyHistory) GetIndex() int64

func (*ReqLotteryBuyHistory) GetLotteryId

func (m *ReqLotteryBuyHistory) GetLotteryId() string

func (*ReqLotteryBuyHistory) GetRound

func (m *ReqLotteryBuyHistory) GetRound() int64

func (*ReqLotteryBuyHistory) ProtoMessage

func (*ReqLotteryBuyHistory) ProtoMessage()

func (*ReqLotteryBuyHistory) Reset

func (m *ReqLotteryBuyHistory) Reset()

func (*ReqLotteryBuyHistory) String

func (m *ReqLotteryBuyHistory) String() string

func (*ReqLotteryBuyHistory) XXX_DiscardUnknown

func (m *ReqLotteryBuyHistory) XXX_DiscardUnknown()

func (*ReqLotteryBuyHistory) XXX_Marshal

func (m *ReqLotteryBuyHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqLotteryBuyHistory) XXX_Merge

func (m *ReqLotteryBuyHistory) XXX_Merge(src proto.Message)

func (*ReqLotteryBuyHistory) XXX_Size

func (m *ReqLotteryBuyHistory) XXX_Size() int

func (*ReqLotteryBuyHistory) XXX_Unmarshal

func (m *ReqLotteryBuyHistory) XXX_Unmarshal(b []byte) error

type ReqLotteryBuyInfo

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 (*ReqLotteryBuyInfo) Descriptor

func (*ReqLotteryBuyInfo) Descriptor() ([]byte, []int)

func (*ReqLotteryBuyInfo) GetAddr

func (m *ReqLotteryBuyInfo) GetAddr() string

func (*ReqLotteryBuyInfo) GetLotteryId

func (m *ReqLotteryBuyInfo) GetLotteryId() string

func (*ReqLotteryBuyInfo) GetRound

func (m *ReqLotteryBuyInfo) GetRound() int64

func (*ReqLotteryBuyInfo) ProtoMessage

func (*ReqLotteryBuyInfo) ProtoMessage()

func (*ReqLotteryBuyInfo) Reset

func (m *ReqLotteryBuyInfo) Reset()

func (*ReqLotteryBuyInfo) String

func (m *ReqLotteryBuyInfo) String() string

func (*ReqLotteryBuyInfo) XXX_DiscardUnknown

func (m *ReqLotteryBuyInfo) XXX_DiscardUnknown()

func (*ReqLotteryBuyInfo) XXX_Marshal

func (m *ReqLotteryBuyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqLotteryBuyInfo) XXX_Merge

func (m *ReqLotteryBuyInfo) XXX_Merge(src proto.Message)

func (*ReqLotteryBuyInfo) XXX_Size

func (m *ReqLotteryBuyInfo) XXX_Size() int

func (*ReqLotteryBuyInfo) XXX_Unmarshal

func (m *ReqLotteryBuyInfo) XXX_Unmarshal(b []byte) error

type ReqLotteryGainHistory

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 (*ReqLotteryGainHistory) Descriptor

func (*ReqLotteryGainHistory) Descriptor() ([]byte, []int)

func (*ReqLotteryGainHistory) GetAddr

func (m *ReqLotteryGainHistory) GetAddr() string

func (*ReqLotteryGainHistory) GetCount

func (m *ReqLotteryGainHistory) GetCount() int32

func (*ReqLotteryGainHistory) GetDirection

func (m *ReqLotteryGainHistory) GetDirection() int32

func (*ReqLotteryGainHistory) GetLotteryId

func (m *ReqLotteryGainHistory) GetLotteryId() string

func (*ReqLotteryGainHistory) GetRound

func (m *ReqLotteryGainHistory) GetRound() int64

func (*ReqLotteryGainHistory) ProtoMessage

func (*ReqLotteryGainHistory) ProtoMessage()

func (*ReqLotteryGainHistory) Reset

func (m *ReqLotteryGainHistory) Reset()

func (*ReqLotteryGainHistory) String

func (m *ReqLotteryGainHistory) String() string

func (*ReqLotteryGainHistory) XXX_DiscardUnknown

func (m *ReqLotteryGainHistory) XXX_DiscardUnknown()

func (*ReqLotteryGainHistory) XXX_Marshal

func (m *ReqLotteryGainHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqLotteryGainHistory) XXX_Merge

func (m *ReqLotteryGainHistory) XXX_Merge(src proto.Message)

func (*ReqLotteryGainHistory) XXX_Size

func (m *ReqLotteryGainHistory) XXX_Size() int

func (*ReqLotteryGainHistory) XXX_Unmarshal

func (m *ReqLotteryGainHistory) XXX_Unmarshal(b []byte) error

type ReqLotteryGainInfo

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 (*ReqLotteryGainInfo) Descriptor

func (*ReqLotteryGainInfo) Descriptor() ([]byte, []int)

func (*ReqLotteryGainInfo) GetAddr

func (m *ReqLotteryGainInfo) GetAddr() string

func (*ReqLotteryGainInfo) GetLotteryId

func (m *ReqLotteryGainInfo) GetLotteryId() string

func (*ReqLotteryGainInfo) GetRound

func (m *ReqLotteryGainInfo) GetRound() int64

func (*ReqLotteryGainInfo) ProtoMessage

func (*ReqLotteryGainInfo) ProtoMessage()

func (*ReqLotteryGainInfo) Reset

func (m *ReqLotteryGainInfo) Reset()

func (*ReqLotteryGainInfo) String

func (m *ReqLotteryGainInfo) String() string

func (*ReqLotteryGainInfo) XXX_DiscardUnknown

func (m *ReqLotteryGainInfo) XXX_DiscardUnknown()

func (*ReqLotteryGainInfo) XXX_Marshal

func (m *ReqLotteryGainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqLotteryGainInfo) XXX_Merge

func (m *ReqLotteryGainInfo) XXX_Merge(src proto.Message)

func (*ReqLotteryGainInfo) XXX_Size

func (m *ReqLotteryGainInfo) XXX_Size() int

func (*ReqLotteryGainInfo) XXX_Unmarshal

func (m *ReqLotteryGainInfo) XXX_Unmarshal(b []byte) error

type ReqLotteryInfo

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 (*ReqLotteryInfo) Descriptor

func (*ReqLotteryInfo) Descriptor() ([]byte, []int)

func (*ReqLotteryInfo) GetLotteryId

func (m *ReqLotteryInfo) GetLotteryId() string

func (*ReqLotteryInfo) ProtoMessage

func (*ReqLotteryInfo) ProtoMessage()

func (*ReqLotteryInfo) Reset

func (m *ReqLotteryInfo) Reset()

func (*ReqLotteryInfo) String

func (m *ReqLotteryInfo) String() string

func (*ReqLotteryInfo) XXX_DiscardUnknown

func (m *ReqLotteryInfo) XXX_DiscardUnknown()

func (*ReqLotteryInfo) XXX_Marshal

func (m *ReqLotteryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqLotteryInfo) XXX_Merge

func (m *ReqLotteryInfo) XXX_Merge(src proto.Message)

func (*ReqLotteryInfo) XXX_Size

func (m *ReqLotteryInfo) XXX_Size() int

func (*ReqLotteryInfo) XXX_Unmarshal

func (m *ReqLotteryInfo) XXX_Unmarshal(b []byte) error

type ReqLotteryLuckyHistory

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 (*ReqLotteryLuckyHistory) Descriptor

func (*ReqLotteryLuckyHistory) Descriptor() ([]byte, []int)

func (*ReqLotteryLuckyHistory) GetCount

func (m *ReqLotteryLuckyHistory) GetCount() int32

func (*ReqLotteryLuckyHistory) GetDirection

func (m *ReqLotteryLuckyHistory) GetDirection() int32

func (*ReqLotteryLuckyHistory) GetLotteryId

func (m *ReqLotteryLuckyHistory) GetLotteryId() string

func (*ReqLotteryLuckyHistory) GetRound

func (m *ReqLotteryLuckyHistory) GetRound() int64

func (*ReqLotteryLuckyHistory) ProtoMessage

func (*ReqLotteryLuckyHistory) ProtoMessage()

func (*ReqLotteryLuckyHistory) Reset

func (m *ReqLotteryLuckyHistory) Reset()

func (*ReqLotteryLuckyHistory) String

func (m *ReqLotteryLuckyHistory) String() string

func (*ReqLotteryLuckyHistory) XXX_DiscardUnknown

func (m *ReqLotteryLuckyHistory) XXX_DiscardUnknown()

func (*ReqLotteryLuckyHistory) XXX_Marshal

func (m *ReqLotteryLuckyHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqLotteryLuckyHistory) XXX_Merge

func (m *ReqLotteryLuckyHistory) XXX_Merge(src proto.Message)

func (*ReqLotteryLuckyHistory) XXX_Size

func (m *ReqLotteryLuckyHistory) XXX_Size() int

func (*ReqLotteryLuckyHistory) XXX_Unmarshal

func (m *ReqLotteryLuckyHistory) XXX_Unmarshal(b []byte) error

type ReqLotteryLuckyInfo

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 (*ReqLotteryLuckyInfo) Descriptor

func (*ReqLotteryLuckyInfo) Descriptor() ([]byte, []int)

func (*ReqLotteryLuckyInfo) GetLotteryId

func (m *ReqLotteryLuckyInfo) GetLotteryId() string

func (*ReqLotteryLuckyInfo) GetRound

func (m *ReqLotteryLuckyInfo) GetRound() []int64

func (*ReqLotteryLuckyInfo) ProtoMessage

func (*ReqLotteryLuckyInfo) ProtoMessage()

func (*ReqLotteryLuckyInfo) Reset

func (m *ReqLotteryLuckyInfo) Reset()

func (*ReqLotteryLuckyInfo) String

func (m *ReqLotteryLuckyInfo) String() string

func (*ReqLotteryLuckyInfo) XXX_DiscardUnknown

func (m *ReqLotteryLuckyInfo) XXX_DiscardUnknown()

func (*ReqLotteryLuckyInfo) XXX_Marshal

func (m *ReqLotteryLuckyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReqLotteryLuckyInfo) XXX_Merge

func (m *ReqLotteryLuckyInfo) XXX_Merge(src proto.Message)

func (*ReqLotteryLuckyInfo) XXX_Size

func (m *ReqLotteryLuckyInfo) XXX_Size() int

func (*ReqLotteryLuckyInfo) XXX_Unmarshal

func (m *ReqLotteryLuckyInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL