Documentation
¶
Index ¶
- Constants
- Variables
- func CreateRawLotteryBuyTx(cfg *types.Chain33Config, parm *LotteryBuyTx) (*types.Transaction, error)
- func CreateRawLotteryCloseTx(cfg *types.Chain33Config, parm *LotteryCloseTx) (*types.Transaction, error)
- func CreateRawLotteryCreateTx(cfg *types.Chain33Config, parm *LotteryCreateTx) (*types.Transaction, error)
- func CreateRawLotteryDrawTx(cfg *types.Chain33Config, parm *LotteryDrawTx) (*types.Transaction, error)
- func InitExecutor(cfg *types.Chain33Config)
- func InitFork(cfg *types.Chain33Config)
- type Lottery
- func (*Lottery) Descriptor() ([]byte, []int)deprecated
- func (x *Lottery) GetBuyAmount() int64
- func (x *Lottery) GetCreateAddr() string
- func (x *Lottery) GetCreateHeight() int64
- func (x *Lottery) GetCreateOnMain() int64
- func (x *Lottery) GetDevRewardRatio() int64
- func (x *Lottery) GetDrawBlockNum() int64
- func (x *Lottery) GetFund() int64
- func (x *Lottery) GetLastTransToDrawState() int64
- func (x *Lottery) GetLastTransToDrawStateOnMain() int64
- func (x *Lottery) GetLastTransToPurState() int64
- func (x *Lottery) GetLastTransToPurStateOnMain() int64
- func (x *Lottery) GetLotteryId() string
- func (x *Lottery) GetLuckyNumber() int64
- func (x *Lottery) GetMissingRecords() []*MissingRecord
- func (x *Lottery) GetOpRewardRatio() int64
- func (x *Lottery) GetPurBlockNum() int64
- func (x *Lottery) GetPurRecords() []*PurchaseRecords
- func (x *Lottery) GetRound() int64
- func (x *Lottery) GetStatus() int32
- func (x *Lottery) GetTotalAddrNum() int64
- func (x *Lottery) GetTotalPurchasedTxNum() int64
- func (*Lottery) ProtoMessage()
- func (x *Lottery) ProtoReflect() protoreflect.Message
- func (x *Lottery) Reset()
- func (x *Lottery) String() string
- type LotteryAction
- func (*LotteryAction) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryAction) GetBuy() *LotteryBuy
- func (x *LotteryAction) GetClose() *LotteryClose
- func (x *LotteryAction) GetCreate() *LotteryCreate
- func (x *LotteryAction) GetDraw() *LotteryDraw
- func (x *LotteryAction) GetTy() int32
- func (m *LotteryAction) GetValue() isLotteryAction_Value
- func (*LotteryAction) ProtoMessage()
- func (x *LotteryAction) ProtoReflect() protoreflect.Message
- func (x *LotteryAction) Reset()
- func (x *LotteryAction) String() string
- type LotteryAction_Buy
- type LotteryAction_Close
- type LotteryAction_Create
- type LotteryAction_Draw
- type LotteryBuy
- func (*LotteryBuy) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryBuy) GetAmount() int64
- func (x *LotteryBuy) GetLotteryId() string
- func (x *LotteryBuy) GetNumber() int64
- func (x *LotteryBuy) GetWay() int64
- func (*LotteryBuy) ProtoMessage()
- func (x *LotteryBuy) ProtoReflect() protoreflect.Message
- func (x *LotteryBuy) Reset()
- func (x *LotteryBuy) String() string
- type LotteryBuyRecord
- func (*LotteryBuyRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryBuyRecord) GetAmount() int64
- func (x *LotteryBuyRecord) GetIndex() int64
- func (x *LotteryBuyRecord) GetNumber() int64
- func (x *LotteryBuyRecord) GetRound() int64
- func (x *LotteryBuyRecord) GetTime() int64
- func (x *LotteryBuyRecord) GetTxHash() string
- func (x *LotteryBuyRecord) GetType() int64
- func (x *LotteryBuyRecord) GetWay() int64
- func (*LotteryBuyRecord) ProtoMessage()
- func (x *LotteryBuyRecord) ProtoReflect() protoreflect.Message
- func (x *LotteryBuyRecord) Reset()
- func (x *LotteryBuyRecord) String() string
- type LotteryBuyRecords
- func (*LotteryBuyRecords) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryBuyRecords) GetRecords() []*LotteryBuyRecord
- func (*LotteryBuyRecords) ProtoMessage()
- func (x *LotteryBuyRecords) ProtoReflect() protoreflect.Message
- func (x *LotteryBuyRecords) Reset()
- func (x *LotteryBuyRecords) String() string
- type LotteryBuyTx
- type LotteryClose
- type LotteryCloseTx
- type LotteryCreate
- func (*LotteryCreate) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryCreate) GetDevRewardRatio() int64
- func (x *LotteryCreate) GetDrawBlockNum() int64
- func (x *LotteryCreate) GetOpRewardRatio() int64
- func (x *LotteryCreate) GetPurBlockNum() int64
- func (*LotteryCreate) ProtoMessage()
- func (x *LotteryCreate) ProtoReflect() protoreflect.Message
- func (x *LotteryCreate) Reset()
- func (x *LotteryCreate) String() string
- type LotteryCreateTx
- type LotteryDraw
- type LotteryDrawRecord
- func (*LotteryDrawRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryDrawRecord) GetBuyAmount() int64
- func (x *LotteryDrawRecord) GetFactor() int64
- func (x *LotteryDrawRecord) GetLuckyAddrNum() int64
- func (x *LotteryDrawRecord) GetNumber() int64
- func (x *LotteryDrawRecord) GetRound() int64
- func (x *LotteryDrawRecord) GetTime() int64
- func (x *LotteryDrawRecord) GetTotalAddrNum() int64
- func (x *LotteryDrawRecord) GetTotalFund() int64
- func (x *LotteryDrawRecord) GetTxHash() string
- func (*LotteryDrawRecord) ProtoMessage()
- func (x *LotteryDrawRecord) ProtoReflect() protoreflect.Message
- func (x *LotteryDrawRecord) Reset()
- func (x *LotteryDrawRecord) String() string
- type LotteryDrawRecords
- func (*LotteryDrawRecords) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryDrawRecords) GetRecords() []*LotteryDrawRecord
- func (*LotteryDrawRecords) ProtoMessage()
- func (x *LotteryDrawRecords) ProtoReflect() protoreflect.Message
- func (x *LotteryDrawRecords) Reset()
- func (x *LotteryDrawRecords) String() string
- type LotteryDrawTx
- type LotteryGainInfo
- func (*LotteryGainInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryGainInfo) GetAddr() string
- func (x *LotteryGainInfo) GetBuyAmount() int64
- func (x *LotteryGainInfo) GetFundAmount() int64
- func (*LotteryGainInfo) ProtoMessage()
- func (x *LotteryGainInfo) ProtoReflect() protoreflect.Message
- func (x *LotteryGainInfo) Reset()
- func (x *LotteryGainInfo) String() string
- type LotteryGainInfos
- func (*LotteryGainInfos) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryGainInfos) GetGains() []*LotteryGainInfo
- func (*LotteryGainInfos) ProtoMessage()
- func (x *LotteryGainInfos) ProtoReflect() protoreflect.Message
- func (x *LotteryGainInfos) Reset()
- func (x *LotteryGainInfos) String() string
- type LotteryGainRecord
- func (*LotteryGainRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryGainRecord) GetAddr() string
- func (x *LotteryGainRecord) GetBuyAmount() int64
- func (x *LotteryGainRecord) GetFundAmount() int64
- func (x *LotteryGainRecord) GetRound() int64
- func (*LotteryGainRecord) ProtoMessage()
- func (x *LotteryGainRecord) ProtoReflect() protoreflect.Message
- func (x *LotteryGainRecord) Reset()
- func (x *LotteryGainRecord) String() string
- type LotteryGainRecords
- func (*LotteryGainRecords) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryGainRecords) GetRecords() []*LotteryGainRecord
- func (*LotteryGainRecords) ProtoMessage()
- func (x *LotteryGainRecords) ProtoReflect() protoreflect.Message
- func (x *LotteryGainRecords) Reset()
- func (x *LotteryGainRecords) String() string
- type LotteryNumberRecord
- func (*LotteryNumberRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryNumberRecord) GetAmount() int64
- func (x *LotteryNumberRecord) GetNumber() int64
- func (*LotteryNumberRecord) ProtoMessage()
- func (x *LotteryNumberRecord) ProtoReflect() protoreflect.Message
- func (x *LotteryNumberRecord) Reset()
- func (x *LotteryNumberRecord) String() string
- type LotteryType
- func (lottery LotteryType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
- func (lottery *LotteryType) GetLogMap() map[int64]*types.LogInfo
- func (lottery *LotteryType) GetName() string
- func (lottery *LotteryType) GetPayload() types.Message
- func (lottery LotteryType) GetTypeMap() map[string]int32
- type LotteryUpdateBuyInfo
- func (*LotteryUpdateBuyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryUpdateBuyInfo) GetBuyInfo() map[string]*LotteryUpdateRecs
- func (*LotteryUpdateBuyInfo) ProtoMessage()
- func (x *LotteryUpdateBuyInfo) ProtoReflect() protoreflect.Message
- func (x *LotteryUpdateBuyInfo) Reset()
- func (x *LotteryUpdateBuyInfo) String() string
- type LotteryUpdateRec
- func (*LotteryUpdateRec) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryUpdateRec) GetIndex() int64
- func (x *LotteryUpdateRec) GetType() int64
- func (*LotteryUpdateRec) ProtoMessage()
- func (x *LotteryUpdateRec) ProtoReflect() protoreflect.Message
- func (x *LotteryUpdateRec) Reset()
- func (x *LotteryUpdateRec) String() string
- type LotteryUpdateRecs
- func (*LotteryUpdateRecs) Descriptor() ([]byte, []int)deprecated
- func (x *LotteryUpdateRecs) GetRecords() []*LotteryUpdateRec
- func (*LotteryUpdateRecs) ProtoMessage()
- func (x *LotteryUpdateRecs) ProtoReflect() protoreflect.Message
- func (x *LotteryUpdateRecs) Reset()
- func (x *LotteryUpdateRecs) String() string
- type MissingRecord
- type PurchaseRecord
- func (*PurchaseRecord) Descriptor() ([]byte, []int)deprecated
- func (x *PurchaseRecord) GetAmount() int64
- func (x *PurchaseRecord) GetIndex() int64
- func (x *PurchaseRecord) GetNumber() int64
- func (x *PurchaseRecord) GetWay() int64
- func (*PurchaseRecord) ProtoMessage()
- func (x *PurchaseRecord) ProtoReflect() protoreflect.Message
- func (x *PurchaseRecord) Reset()
- func (x *PurchaseRecord) String() string
- type PurchaseRecords
- func (*PurchaseRecords) Descriptor() ([]byte, []int)deprecated
- func (x *PurchaseRecords) GetAddr() string
- func (x *PurchaseRecords) GetAmountOneRound() int64
- func (x *PurchaseRecords) GetFundWin() int64
- func (x *PurchaseRecords) GetRecord() []*PurchaseRecord
- func (*PurchaseRecords) ProtoMessage()
- func (x *PurchaseRecords) ProtoReflect() protoreflect.Message
- func (x *PurchaseRecords) Reset()
- func (x *PurchaseRecords) String() string
- type ReceiptLottery
- func (*ReceiptLottery) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiptLottery) GetAddr() string
- func (x *ReceiptLottery) GetAmount() int64
- func (x *ReceiptLottery) GetBuyAmount() int64
- func (x *ReceiptLottery) GetFactor() int64
- func (x *ReceiptLottery) GetGainInfos() *LotteryGainInfos
- func (x *ReceiptLottery) GetIndex() int64
- func (x *ReceiptLottery) GetLotteryId() string
- func (x *ReceiptLottery) GetLuckyAddrNum() int64
- func (x *ReceiptLottery) GetLuckyNumber() int64
- func (x *ReceiptLottery) GetNumber() int64
- func (x *ReceiptLottery) GetPrevStatus() int32
- func (x *ReceiptLottery) GetRound() int64
- func (x *ReceiptLottery) GetStatus() int32
- func (x *ReceiptLottery) GetTime() int64
- func (x *ReceiptLottery) GetTotalAddrNum() int64
- func (x *ReceiptLottery) GetTotalFund() int64
- func (x *ReceiptLottery) GetTxHash() string
- func (x *ReceiptLottery) GetUpdateInfo() *LotteryUpdateBuyInfo
- func (x *ReceiptLottery) GetWay() int64
- func (*ReceiptLottery) ProtoMessage()
- func (x *ReceiptLottery) ProtoReflect() protoreflect.Message
- func (x *ReceiptLottery) Reset()
- func (x *ReceiptLottery) String() string
- type ReplyLotteryCurrentInfo
- func (*ReplyLotteryCurrentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyLotteryCurrentInfo) GetBuyAmount() int64
- func (x *ReplyLotteryCurrentInfo) GetDrawBlockNum() int64
- func (x *ReplyLotteryCurrentInfo) GetFund() int64
- func (x *ReplyLotteryCurrentInfo) GetLastTransToDrawState() int64
- func (x *ReplyLotteryCurrentInfo) GetLastTransToDrawStateOnMain() int64
- func (x *ReplyLotteryCurrentInfo) GetLastTransToPurState() int64
- func (x *ReplyLotteryCurrentInfo) GetLastTransToPurStateOnMain() int64
- func (x *ReplyLotteryCurrentInfo) GetLuckyNumber() int64
- func (x *ReplyLotteryCurrentInfo) GetMissingRecords() []*MissingRecord
- func (x *ReplyLotteryCurrentInfo) GetPurBlockNum() int64
- func (x *ReplyLotteryCurrentInfo) GetRound() int64
- func (x *ReplyLotteryCurrentInfo) GetStatus() int32
- func (x *ReplyLotteryCurrentInfo) GetTotalAddrNum() int64
- func (x *ReplyLotteryCurrentInfo) GetTotalPurchasedTxNum() int64
- func (*ReplyLotteryCurrentInfo) ProtoMessage()
- func (x *ReplyLotteryCurrentInfo) ProtoReflect() protoreflect.Message
- func (x *ReplyLotteryCurrentInfo) Reset()
- func (x *ReplyLotteryCurrentInfo) String() string
- type ReplyLotteryHistoryLuckyNumber
- func (*ReplyLotteryHistoryLuckyNumber) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyLotteryHistoryLuckyNumber) GetLuckyNumber() []int64
- func (*ReplyLotteryHistoryLuckyNumber) ProtoMessage()
- func (x *ReplyLotteryHistoryLuckyNumber) ProtoReflect() protoreflect.Message
- func (x *ReplyLotteryHistoryLuckyNumber) Reset()
- func (x *ReplyLotteryHistoryLuckyNumber) String() string
- type ReplyLotteryNormalInfo
- func (*ReplyLotteryNormalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyLotteryNormalInfo) GetCreateAddr() string
- func (x *ReplyLotteryNormalInfo) GetCreateHeight() int64
- func (x *ReplyLotteryNormalInfo) GetDevRewardRatio() int64
- func (x *ReplyLotteryNormalInfo) GetDrawBlockNum() int64
- func (x *ReplyLotteryNormalInfo) GetOpRewardRatio() int64
- func (x *ReplyLotteryNormalInfo) GetPurBlockNum() int64
- func (*ReplyLotteryNormalInfo) ProtoMessage()
- func (x *ReplyLotteryNormalInfo) ProtoReflect() protoreflect.Message
- func (x *ReplyLotteryNormalInfo) Reset()
- func (x *ReplyLotteryNormalInfo) String() string
- type ReplyLotteryPurchaseAddr
- func (*ReplyLotteryPurchaseAddr) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyLotteryPurchaseAddr) GetAddress() []string
- func (*ReplyLotteryPurchaseAddr) ProtoMessage()
- func (x *ReplyLotteryPurchaseAddr) ProtoReflect() protoreflect.Message
- func (x *ReplyLotteryPurchaseAddr) Reset()
- func (x *ReplyLotteryPurchaseAddr) String() string
- type ReplyLotteryShowInfo
- func (*ReplyLotteryShowInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReplyLotteryShowInfo) GetRecords() []*LotteryBuyRecord
- func (*ReplyLotteryShowInfo) ProtoMessage()
- func (x *ReplyLotteryShowInfo) ProtoReflect() protoreflect.Message
- func (x *ReplyLotteryShowInfo) Reset()
- func (x *ReplyLotteryShowInfo) String() string
- type ReqLotteryBuyHistory
- func (*ReqLotteryBuyHistory) Descriptor() ([]byte, []int)deprecated
- func (x *ReqLotteryBuyHistory) GetAddr() string
- func (x *ReqLotteryBuyHistory) GetCount() int32
- func (x *ReqLotteryBuyHistory) GetDirection() int32
- func (x *ReqLotteryBuyHistory) GetIndex() int64
- func (x *ReqLotteryBuyHistory) GetLotteryId() string
- func (x *ReqLotteryBuyHistory) GetRound() int64
- func (*ReqLotteryBuyHistory) ProtoMessage()
- func (x *ReqLotteryBuyHistory) ProtoReflect() protoreflect.Message
- func (x *ReqLotteryBuyHistory) Reset()
- func (x *ReqLotteryBuyHistory) String() string
- type ReqLotteryBuyInfo
- func (*ReqLotteryBuyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReqLotteryBuyInfo) GetAddr() string
- func (x *ReqLotteryBuyInfo) GetLotteryId() string
- func (x *ReqLotteryBuyInfo) GetRound() int64
- func (*ReqLotteryBuyInfo) ProtoMessage()
- func (x *ReqLotteryBuyInfo) ProtoReflect() protoreflect.Message
- func (x *ReqLotteryBuyInfo) Reset()
- func (x *ReqLotteryBuyInfo) String() string
- type ReqLotteryGainHistory
- func (*ReqLotteryGainHistory) Descriptor() ([]byte, []int)deprecated
- func (x *ReqLotteryGainHistory) GetAddr() string
- func (x *ReqLotteryGainHistory) GetCount() int32
- func (x *ReqLotteryGainHistory) GetDirection() int32
- func (x *ReqLotteryGainHistory) GetLotteryId() string
- func (x *ReqLotteryGainHistory) GetRound() int64
- func (*ReqLotteryGainHistory) ProtoMessage()
- func (x *ReqLotteryGainHistory) ProtoReflect() protoreflect.Message
- func (x *ReqLotteryGainHistory) Reset()
- func (x *ReqLotteryGainHistory) String() string
- type ReqLotteryGainInfo
- func (*ReqLotteryGainInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReqLotteryGainInfo) GetAddr() string
- func (x *ReqLotteryGainInfo) GetLotteryId() string
- func (x *ReqLotteryGainInfo) GetRound() int64
- func (*ReqLotteryGainInfo) ProtoMessage()
- func (x *ReqLotteryGainInfo) ProtoReflect() protoreflect.Message
- func (x *ReqLotteryGainInfo) Reset()
- func (x *ReqLotteryGainInfo) String() string
- type ReqLotteryInfo
- type ReqLotteryLuckyHistory
- func (*ReqLotteryLuckyHistory) Descriptor() ([]byte, []int)deprecated
- func (x *ReqLotteryLuckyHistory) GetCount() int32
- func (x *ReqLotteryLuckyHistory) GetDirection() int32
- func (x *ReqLotteryLuckyHistory) GetLotteryId() string
- func (x *ReqLotteryLuckyHistory) GetRound() int64
- func (*ReqLotteryLuckyHistory) ProtoMessage()
- func (x *ReqLotteryLuckyHistory) ProtoReflect() protoreflect.Message
- func (x *ReqLotteryLuckyHistory) Reset()
- func (x *ReqLotteryLuckyHistory) String() string
- type ReqLotteryLuckyInfo
- func (*ReqLotteryLuckyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReqLotteryLuckyInfo) GetLotteryId() string
- func (x *ReqLotteryLuckyInfo) GetRound() []int64
- func (*ReqLotteryLuckyInfo) ProtoMessage()
- func (x *ReqLotteryLuckyInfo) ProtoReflect() protoreflect.Message
- func (x *ReqLotteryLuckyInfo) Reset()
- func (x *ReqLotteryLuckyInfo) String() string
Constants ¶
const ( LotteryActionCreate = 1 + iota LotteryActionBuy LotteryActionShow LotteryActionDraw LotteryActionClose //log for lottery TyLogLotteryCreate = 801 TyLogLotteryBuy = 802 TyLogLotteryDraw = 803 TyLogLotteryClose = 804 )
Lottery op
const ( LotteryCreated = 1 + iota LotteryPurchase LotteryDrawed LotteryClosed )
Lottery status
const (
LotteryX = "lottery"
)
Lottery name
Variables ¶
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
var File_lottery_proto protoreflect.FileDescriptor
Functions ¶
func CreateRawLotteryBuyTx ¶
func CreateRawLotteryBuyTx(cfg *types.Chain33Config, parm *LotteryBuyTx) (*types.Transaction, error)
CreateRawLotteryBuyTx method
func CreateRawLotteryCloseTx ¶
func CreateRawLotteryCloseTx(cfg *types.Chain33Config, parm *LotteryCloseTx) (*types.Transaction, error)
CreateRawLotteryCloseTx method
func CreateRawLotteryCreateTx ¶
func CreateRawLotteryCreateTx(cfg *types.Chain33Config, parm *LotteryCreateTx) (*types.Transaction, error)
CreateRawLotteryCreateTx method
func CreateRawLotteryDrawTx ¶
func CreateRawLotteryDrawTx(cfg *types.Chain33Config, 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"` // contains filtered or unexported fields }
func (*Lottery) Descriptor
deprecated
func (*Lottery) GetBuyAmount ¶
func (*Lottery) GetCreateAddr ¶
func (*Lottery) GetCreateHeight ¶
func (*Lottery) GetCreateOnMain ¶
func (*Lottery) GetDevRewardRatio ¶
func (*Lottery) GetDrawBlockNum ¶
func (*Lottery) GetLastTransToDrawState ¶
func (*Lottery) GetLastTransToDrawStateOnMain ¶
func (*Lottery) GetLastTransToPurState ¶
func (*Lottery) GetLastTransToPurStateOnMain ¶
func (*Lottery) GetLotteryId ¶
func (*Lottery) GetLuckyNumber ¶
func (*Lottery) GetMissingRecords ¶
func (x *Lottery) GetMissingRecords() []*MissingRecord
func (*Lottery) GetOpRewardRatio ¶
func (*Lottery) GetPurBlockNum ¶
func (*Lottery) GetPurRecords ¶
func (x *Lottery) GetPurRecords() []*PurchaseRecords
func (*Lottery) GetTotalAddrNum ¶
func (*Lottery) GetTotalPurchasedTxNum ¶
func (*Lottery) ProtoMessage ¶
func (*Lottery) ProtoMessage()
func (*Lottery) ProtoReflect ¶ added in v1.65.3
func (x *Lottery) ProtoReflect() protoreflect.Message
type LotteryAction ¶
type LotteryAction struct { // Types that are assignable 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"` // contains filtered or unexported fields }
func (*LotteryAction) Descriptor
deprecated
func (*LotteryAction) Descriptor() ([]byte, []int)
Deprecated: Use LotteryAction.ProtoReflect.Descriptor instead.
func (*LotteryAction) GetBuy ¶
func (x *LotteryAction) GetBuy() *LotteryBuy
func (*LotteryAction) GetClose ¶
func (x *LotteryAction) GetClose() *LotteryClose
func (*LotteryAction) GetCreate ¶
func (x *LotteryAction) GetCreate() *LotteryCreate
func (*LotteryAction) GetDraw ¶
func (x *LotteryAction) GetDraw() *LotteryDraw
func (*LotteryAction) GetTy ¶
func (x *LotteryAction) GetTy() int32
func (*LotteryAction) GetValue ¶
func (m *LotteryAction) GetValue() isLotteryAction_Value
func (*LotteryAction) ProtoMessage ¶
func (*LotteryAction) ProtoMessage()
func (*LotteryAction) ProtoReflect ¶ added in v1.65.3
func (x *LotteryAction) ProtoReflect() protoreflect.Message
func (*LotteryAction) Reset ¶
func (x *LotteryAction) Reset()
func (*LotteryAction) String ¶
func (x *LotteryAction) String() string
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"` // contains filtered or unexported fields }
func (*LotteryBuy) Descriptor
deprecated
func (*LotteryBuy) Descriptor() ([]byte, []int)
Deprecated: Use LotteryBuy.ProtoReflect.Descriptor instead.
func (*LotteryBuy) GetAmount ¶
func (x *LotteryBuy) GetAmount() int64
func (*LotteryBuy) GetLotteryId ¶
func (x *LotteryBuy) GetLotteryId() string
func (*LotteryBuy) GetNumber ¶
func (x *LotteryBuy) GetNumber() int64
func (*LotteryBuy) GetWay ¶
func (x *LotteryBuy) GetWay() int64
func (*LotteryBuy) ProtoMessage ¶
func (*LotteryBuy) ProtoMessage()
func (*LotteryBuy) ProtoReflect ¶ added in v1.65.3
func (x *LotteryBuy) ProtoReflect() protoreflect.Message
func (*LotteryBuy) Reset ¶
func (x *LotteryBuy) Reset()
func (*LotteryBuy) String ¶
func (x *LotteryBuy) String() string
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"` // contains filtered or unexported fields }
used for execlocal
func (*LotteryBuyRecord) Descriptor
deprecated
func (*LotteryBuyRecord) Descriptor() ([]byte, []int)
Deprecated: Use LotteryBuyRecord.ProtoReflect.Descriptor instead.
func (*LotteryBuyRecord) GetAmount ¶
func (x *LotteryBuyRecord) GetAmount() int64
func (*LotteryBuyRecord) GetIndex ¶
func (x *LotteryBuyRecord) GetIndex() int64
func (*LotteryBuyRecord) GetNumber ¶
func (x *LotteryBuyRecord) GetNumber() int64
func (*LotteryBuyRecord) GetRound ¶
func (x *LotteryBuyRecord) GetRound() int64
func (*LotteryBuyRecord) GetTime ¶
func (x *LotteryBuyRecord) GetTime() int64
func (*LotteryBuyRecord) GetTxHash ¶
func (x *LotteryBuyRecord) GetTxHash() string
func (*LotteryBuyRecord) GetType ¶
func (x *LotteryBuyRecord) GetType() int64
func (*LotteryBuyRecord) GetWay ¶
func (x *LotteryBuyRecord) GetWay() int64
func (*LotteryBuyRecord) ProtoMessage ¶
func (*LotteryBuyRecord) ProtoMessage()
func (*LotteryBuyRecord) ProtoReflect ¶ added in v1.65.3
func (x *LotteryBuyRecord) ProtoReflect() protoreflect.Message
func (*LotteryBuyRecord) Reset ¶
func (x *LotteryBuyRecord) Reset()
func (*LotteryBuyRecord) String ¶
func (x *LotteryBuyRecord) String() string
type LotteryBuyRecords ¶
type LotteryBuyRecords struct { Records []*LotteryBuyRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*LotteryBuyRecords) Descriptor
deprecated
func (*LotteryBuyRecords) Descriptor() ([]byte, []int)
Deprecated: Use LotteryBuyRecords.ProtoReflect.Descriptor instead.
func (*LotteryBuyRecords) GetRecords ¶
func (x *LotteryBuyRecords) GetRecords() []*LotteryBuyRecord
func (*LotteryBuyRecords) ProtoMessage ¶
func (*LotteryBuyRecords) ProtoMessage()
func (*LotteryBuyRecords) ProtoReflect ¶ added in v1.65.3
func (x *LotteryBuyRecords) ProtoReflect() protoreflect.Message
func (*LotteryBuyRecords) Reset ¶
func (x *LotteryBuyRecords) Reset()
func (*LotteryBuyRecords) String ¶
func (x *LotteryBuyRecords) String() string
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"` // contains filtered or unexported fields }
func (*LotteryClose) Descriptor
deprecated
func (*LotteryClose) Descriptor() ([]byte, []int)
Deprecated: Use LotteryClose.ProtoReflect.Descriptor instead.
func (*LotteryClose) GetLotteryId ¶
func (x *LotteryClose) GetLotteryId() string
func (*LotteryClose) ProtoMessage ¶
func (*LotteryClose) ProtoMessage()
func (*LotteryClose) ProtoReflect ¶ added in v1.65.3
func (x *LotteryClose) ProtoReflect() protoreflect.Message
func (*LotteryClose) Reset ¶
func (x *LotteryClose) Reset()
func (*LotteryClose) String ¶
func (x *LotteryClose) String() string
type LotteryCloseTx ¶
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"` // contains filtered or unexported fields }
func (*LotteryCreate) Descriptor
deprecated
func (*LotteryCreate) Descriptor() ([]byte, []int)
Deprecated: Use LotteryCreate.ProtoReflect.Descriptor instead.
func (*LotteryCreate) GetDevRewardRatio ¶
func (x *LotteryCreate) GetDevRewardRatio() int64
func (*LotteryCreate) GetDrawBlockNum ¶
func (x *LotteryCreate) GetDrawBlockNum() int64
func (*LotteryCreate) GetOpRewardRatio ¶
func (x *LotteryCreate) GetOpRewardRatio() int64
func (*LotteryCreate) GetPurBlockNum ¶
func (x *LotteryCreate) GetPurBlockNum() int64
func (*LotteryCreate) ProtoMessage ¶
func (*LotteryCreate) ProtoMessage()
func (*LotteryCreate) ProtoReflect ¶ added in v1.65.3
func (x *LotteryCreate) ProtoReflect() protoreflect.Message
func (*LotteryCreate) Reset ¶
func (x *LotteryCreate) Reset()
func (*LotteryCreate) String ¶
func (x *LotteryCreate) String() string
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"` // contains filtered or unexported fields }
func (*LotteryDraw) Descriptor
deprecated
func (*LotteryDraw) Descriptor() ([]byte, []int)
Deprecated: Use LotteryDraw.ProtoReflect.Descriptor instead.
func (*LotteryDraw) GetLotteryId ¶
func (x *LotteryDraw) GetLotteryId() string
func (*LotteryDraw) ProtoMessage ¶
func (*LotteryDraw) ProtoMessage()
func (*LotteryDraw) ProtoReflect ¶ added in v1.65.3
func (x *LotteryDraw) ProtoReflect() protoreflect.Message
func (*LotteryDraw) Reset ¶
func (x *LotteryDraw) Reset()
func (*LotteryDraw) String ¶
func (x *LotteryDraw) String() string
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"` 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"` // contains filtered or unexported fields }
func (*LotteryDrawRecord) Descriptor
deprecated
func (*LotteryDrawRecord) Descriptor() ([]byte, []int)
Deprecated: Use LotteryDrawRecord.ProtoReflect.Descriptor instead.
func (*LotteryDrawRecord) GetBuyAmount ¶
func (x *LotteryDrawRecord) GetBuyAmount() int64
func (*LotteryDrawRecord) GetFactor ¶
func (x *LotteryDrawRecord) GetFactor() int64
func (*LotteryDrawRecord) GetLuckyAddrNum ¶
func (x *LotteryDrawRecord) GetLuckyAddrNum() int64
func (*LotteryDrawRecord) GetNumber ¶
func (x *LotteryDrawRecord) GetNumber() int64
func (*LotteryDrawRecord) GetRound ¶
func (x *LotteryDrawRecord) GetRound() int64
func (*LotteryDrawRecord) GetTime ¶
func (x *LotteryDrawRecord) GetTime() int64
func (*LotteryDrawRecord) GetTotalAddrNum ¶
func (x *LotteryDrawRecord) GetTotalAddrNum() int64
func (*LotteryDrawRecord) GetTotalFund ¶
func (x *LotteryDrawRecord) GetTotalFund() int64
func (*LotteryDrawRecord) GetTxHash ¶
func (x *LotteryDrawRecord) GetTxHash() string
func (*LotteryDrawRecord) ProtoMessage ¶
func (*LotteryDrawRecord) ProtoMessage()
func (*LotteryDrawRecord) ProtoReflect ¶ added in v1.65.3
func (x *LotteryDrawRecord) ProtoReflect() protoreflect.Message
func (*LotteryDrawRecord) Reset ¶
func (x *LotteryDrawRecord) Reset()
func (*LotteryDrawRecord) String ¶
func (x *LotteryDrawRecord) String() string
type LotteryDrawRecords ¶
type LotteryDrawRecords struct { Records []*LotteryDrawRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*LotteryDrawRecords) Descriptor
deprecated
func (*LotteryDrawRecords) Descriptor() ([]byte, []int)
Deprecated: Use LotteryDrawRecords.ProtoReflect.Descriptor instead.
func (*LotteryDrawRecords) GetRecords ¶
func (x *LotteryDrawRecords) GetRecords() []*LotteryDrawRecord
func (*LotteryDrawRecords) ProtoMessage ¶
func (*LotteryDrawRecords) ProtoMessage()
func (*LotteryDrawRecords) ProtoReflect ¶ added in v1.65.3
func (x *LotteryDrawRecords) ProtoReflect() protoreflect.Message
func (*LotteryDrawRecords) Reset ¶
func (x *LotteryDrawRecords) Reset()
func (*LotteryDrawRecords) String ¶
func (x *LotteryDrawRecords) String() string
type LotteryDrawTx ¶
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 int64 `protobuf:"varint,3,opt,name=fundAmount,proto3" json:"fundAmount,omitempty"` // contains filtered or unexported fields }
func (*LotteryGainInfo) Descriptor
deprecated
func (*LotteryGainInfo) Descriptor() ([]byte, []int)
Deprecated: Use LotteryGainInfo.ProtoReflect.Descriptor instead.
func (*LotteryGainInfo) GetAddr ¶
func (x *LotteryGainInfo) GetAddr() string
func (*LotteryGainInfo) GetBuyAmount ¶
func (x *LotteryGainInfo) GetBuyAmount() int64
func (*LotteryGainInfo) GetFundAmount ¶
func (x *LotteryGainInfo) GetFundAmount() int64
func (*LotteryGainInfo) ProtoMessage ¶
func (*LotteryGainInfo) ProtoMessage()
func (*LotteryGainInfo) ProtoReflect ¶ added in v1.65.3
func (x *LotteryGainInfo) ProtoReflect() protoreflect.Message
func (*LotteryGainInfo) Reset ¶
func (x *LotteryGainInfo) Reset()
func (*LotteryGainInfo) String ¶
func (x *LotteryGainInfo) String() string
type LotteryGainInfos ¶
type LotteryGainInfos struct { Gains []*LotteryGainInfo `protobuf:"bytes,1,rep,name=gains,proto3" json:"gains,omitempty"` // contains filtered or unexported fields }
func (*LotteryGainInfos) Descriptor
deprecated
func (*LotteryGainInfos) Descriptor() ([]byte, []int)
Deprecated: Use LotteryGainInfos.ProtoReflect.Descriptor instead.
func (*LotteryGainInfos) GetGains ¶
func (x *LotteryGainInfos) GetGains() []*LotteryGainInfo
func (*LotteryGainInfos) ProtoMessage ¶
func (*LotteryGainInfos) ProtoMessage()
func (*LotteryGainInfos) ProtoReflect ¶ added in v1.65.3
func (x *LotteryGainInfos) ProtoReflect() protoreflect.Message
func (*LotteryGainInfos) Reset ¶
func (x *LotteryGainInfos) Reset()
func (*LotteryGainInfos) String ¶
func (x *LotteryGainInfos) String() string
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 int64 `protobuf:"varint,3,opt,name=fundAmount,proto3" json:"fundAmount,omitempty"` Round int64 `protobuf:"varint,4,opt,name=round,proto3" json:"round,omitempty"` // contains filtered or unexported fields }
func (*LotteryGainRecord) Descriptor
deprecated
func (*LotteryGainRecord) Descriptor() ([]byte, []int)
Deprecated: Use LotteryGainRecord.ProtoReflect.Descriptor instead.
func (*LotteryGainRecord) GetAddr ¶
func (x *LotteryGainRecord) GetAddr() string
func (*LotteryGainRecord) GetBuyAmount ¶
func (x *LotteryGainRecord) GetBuyAmount() int64
func (*LotteryGainRecord) GetFundAmount ¶
func (x *LotteryGainRecord) GetFundAmount() int64
func (*LotteryGainRecord) GetRound ¶
func (x *LotteryGainRecord) GetRound() int64
func (*LotteryGainRecord) ProtoMessage ¶
func (*LotteryGainRecord) ProtoMessage()
func (*LotteryGainRecord) ProtoReflect ¶ added in v1.65.3
func (x *LotteryGainRecord) ProtoReflect() protoreflect.Message
func (*LotteryGainRecord) Reset ¶
func (x *LotteryGainRecord) Reset()
func (*LotteryGainRecord) String ¶
func (x *LotteryGainRecord) String() string
type LotteryGainRecords ¶
type LotteryGainRecords struct { Records []*LotteryGainRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*LotteryGainRecords) Descriptor
deprecated
func (*LotteryGainRecords) Descriptor() ([]byte, []int)
Deprecated: Use LotteryGainRecords.ProtoReflect.Descriptor instead.
func (*LotteryGainRecords) GetRecords ¶
func (x *LotteryGainRecords) GetRecords() []*LotteryGainRecord
func (*LotteryGainRecords) ProtoMessage ¶
func (*LotteryGainRecords) ProtoMessage()
func (*LotteryGainRecords) ProtoReflect ¶ added in v1.65.3
func (x *LotteryGainRecords) ProtoReflect() protoreflect.Message
func (*LotteryGainRecords) Reset ¶
func (x *LotteryGainRecords) Reset()
func (*LotteryGainRecords) String ¶
func (x *LotteryGainRecords) String() string
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"` // contains filtered or unexported fields }
func (*LotteryNumberRecord) Descriptor
deprecated
func (*LotteryNumberRecord) Descriptor() ([]byte, []int)
Deprecated: Use LotteryNumberRecord.ProtoReflect.Descriptor instead.
func (*LotteryNumberRecord) GetAmount ¶
func (x *LotteryNumberRecord) GetAmount() int64
func (*LotteryNumberRecord) GetNumber ¶
func (x *LotteryNumberRecord) GetNumber() int64
func (*LotteryNumberRecord) ProtoMessage ¶
func (*LotteryNumberRecord) ProtoMessage()
func (*LotteryNumberRecord) ProtoReflect ¶ added in v1.65.3
func (x *LotteryNumberRecord) ProtoReflect() protoreflect.Message
func (*LotteryNumberRecord) Reset ¶
func (x *LotteryNumberRecord) Reset()
func (*LotteryNumberRecord) String ¶
func (x *LotteryNumberRecord) String() string
type LotteryType ¶
type LotteryType struct {
types.ExecTypeBase
}
LotteryType def
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) 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 */ // contains filtered or unexported fields }
func (*LotteryUpdateBuyInfo) Descriptor
deprecated
func (*LotteryUpdateBuyInfo) Descriptor() ([]byte, []int)
Deprecated: Use LotteryUpdateBuyInfo.ProtoReflect.Descriptor instead.
func (*LotteryUpdateBuyInfo) GetBuyInfo ¶
func (x *LotteryUpdateBuyInfo) GetBuyInfo() map[string]*LotteryUpdateRecs
func (*LotteryUpdateBuyInfo) ProtoMessage ¶
func (*LotteryUpdateBuyInfo) ProtoMessage()
func (*LotteryUpdateBuyInfo) ProtoReflect ¶ added in v1.65.3
func (x *LotteryUpdateBuyInfo) ProtoReflect() protoreflect.Message
func (*LotteryUpdateBuyInfo) Reset ¶
func (x *LotteryUpdateBuyInfo) Reset()
func (*LotteryUpdateBuyInfo) String ¶
func (x *LotteryUpdateBuyInfo) String() string
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"` // contains filtered or unexported fields }
func (*LotteryUpdateRec) Descriptor
deprecated
func (*LotteryUpdateRec) Descriptor() ([]byte, []int)
Deprecated: Use LotteryUpdateRec.ProtoReflect.Descriptor instead.
func (*LotteryUpdateRec) GetIndex ¶
func (x *LotteryUpdateRec) GetIndex() int64
func (*LotteryUpdateRec) GetType ¶
func (x *LotteryUpdateRec) GetType() int64
func (*LotteryUpdateRec) ProtoMessage ¶
func (*LotteryUpdateRec) ProtoMessage()
func (*LotteryUpdateRec) ProtoReflect ¶ added in v1.65.3
func (x *LotteryUpdateRec) ProtoReflect() protoreflect.Message
func (*LotteryUpdateRec) Reset ¶
func (x *LotteryUpdateRec) Reset()
func (*LotteryUpdateRec) String ¶
func (x *LotteryUpdateRec) String() string
type LotteryUpdateRecs ¶
type LotteryUpdateRecs struct { Records []*LotteryUpdateRec `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*LotteryUpdateRecs) Descriptor
deprecated
func (*LotteryUpdateRecs) Descriptor() ([]byte, []int)
Deprecated: Use LotteryUpdateRecs.ProtoReflect.Descriptor instead.
func (*LotteryUpdateRecs) GetRecords ¶
func (x *LotteryUpdateRecs) GetRecords() []*LotteryUpdateRec
func (*LotteryUpdateRecs) ProtoMessage ¶
func (*LotteryUpdateRecs) ProtoMessage()
func (*LotteryUpdateRecs) ProtoReflect ¶ added in v1.65.3
func (x *LotteryUpdateRecs) ProtoReflect() protoreflect.Message
func (*LotteryUpdateRecs) Reset ¶
func (x *LotteryUpdateRecs) Reset()
func (*LotteryUpdateRecs) String ¶
func (x *LotteryUpdateRecs) String() string
type MissingRecord ¶
type MissingRecord struct { Times []int32 `protobuf:"varint,1,rep,packed,name=times,proto3" json:"times,omitempty"` // contains filtered or unexported fields }
func (*MissingRecord) Descriptor
deprecated
func (*MissingRecord) Descriptor() ([]byte, []int)
Deprecated: Use MissingRecord.ProtoReflect.Descriptor instead.
func (*MissingRecord) GetTimes ¶
func (x *MissingRecord) GetTimes() []int32
func (*MissingRecord) ProtoMessage ¶
func (*MissingRecord) ProtoMessage()
func (*MissingRecord) ProtoReflect ¶ added in v1.65.3
func (x *MissingRecord) ProtoReflect() protoreflect.Message
func (*MissingRecord) Reset ¶
func (x *MissingRecord) Reset()
func (*MissingRecord) String ¶
func (x *MissingRecord) String() string
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"` // contains filtered or unexported fields }
func (*PurchaseRecord) Descriptor
deprecated
func (*PurchaseRecord) Descriptor() ([]byte, []int)
Deprecated: Use PurchaseRecord.ProtoReflect.Descriptor instead.
func (*PurchaseRecord) GetAmount ¶
func (x *PurchaseRecord) GetAmount() int64
func (*PurchaseRecord) GetIndex ¶
func (x *PurchaseRecord) GetIndex() int64
func (*PurchaseRecord) GetNumber ¶
func (x *PurchaseRecord) GetNumber() int64
func (*PurchaseRecord) GetWay ¶
func (x *PurchaseRecord) GetWay() int64
func (*PurchaseRecord) ProtoMessage ¶
func (*PurchaseRecord) ProtoMessage()
func (*PurchaseRecord) ProtoReflect ¶ added in v1.65.3
func (x *PurchaseRecord) ProtoReflect() protoreflect.Message
func (*PurchaseRecord) Reset ¶
func (x *PurchaseRecord) Reset()
func (*PurchaseRecord) String ¶
func (x *PurchaseRecord) String() string
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"` // contains filtered or unexported fields }
func (*PurchaseRecords) Descriptor
deprecated
func (*PurchaseRecords) Descriptor() ([]byte, []int)
Deprecated: Use PurchaseRecords.ProtoReflect.Descriptor instead.
func (*PurchaseRecords) GetAddr ¶
func (x *PurchaseRecords) GetAddr() string
func (*PurchaseRecords) GetAmountOneRound ¶
func (x *PurchaseRecords) GetAmountOneRound() int64
func (*PurchaseRecords) GetFundWin ¶
func (x *PurchaseRecords) GetFundWin() int64
func (*PurchaseRecords) GetRecord ¶
func (x *PurchaseRecords) GetRecord() []*PurchaseRecord
func (*PurchaseRecords) ProtoMessage ¶
func (*PurchaseRecords) ProtoMessage()
func (*PurchaseRecords) ProtoReflect ¶ added in v1.65.3
func (x *PurchaseRecords) ProtoReflect() protoreflect.Message
func (*PurchaseRecords) Reset ¶
func (x *PurchaseRecords) Reset()
func (*PurchaseRecords) String ¶
func (x *PurchaseRecords) String() string
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"` 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"` // contains filtered or unexported fields }
func (*ReceiptLottery) Descriptor
deprecated
func (*ReceiptLottery) Descriptor() ([]byte, []int)
Deprecated: Use ReceiptLottery.ProtoReflect.Descriptor instead.
func (*ReceiptLottery) GetAddr ¶
func (x *ReceiptLottery) GetAddr() string
func (*ReceiptLottery) GetAmount ¶
func (x *ReceiptLottery) GetAmount() int64
func (*ReceiptLottery) GetBuyAmount ¶
func (x *ReceiptLottery) GetBuyAmount() int64
func (*ReceiptLottery) GetFactor ¶
func (x *ReceiptLottery) GetFactor() int64
func (*ReceiptLottery) GetGainInfos ¶
func (x *ReceiptLottery) GetGainInfos() *LotteryGainInfos
func (*ReceiptLottery) GetIndex ¶
func (x *ReceiptLottery) GetIndex() int64
func (*ReceiptLottery) GetLotteryId ¶
func (x *ReceiptLottery) GetLotteryId() string
func (*ReceiptLottery) GetLuckyAddrNum ¶
func (x *ReceiptLottery) GetLuckyAddrNum() int64
func (*ReceiptLottery) GetLuckyNumber ¶
func (x *ReceiptLottery) GetLuckyNumber() int64
func (*ReceiptLottery) GetNumber ¶
func (x *ReceiptLottery) GetNumber() int64
func (*ReceiptLottery) GetPrevStatus ¶
func (x *ReceiptLottery) GetPrevStatus() int32
func (*ReceiptLottery) GetRound ¶
func (x *ReceiptLottery) GetRound() int64
func (*ReceiptLottery) GetStatus ¶
func (x *ReceiptLottery) GetStatus() int32
func (*ReceiptLottery) GetTime ¶
func (x *ReceiptLottery) GetTime() int64
func (*ReceiptLottery) GetTotalAddrNum ¶
func (x *ReceiptLottery) GetTotalAddrNum() int64
func (*ReceiptLottery) GetTotalFund ¶
func (x *ReceiptLottery) GetTotalFund() int64
func (*ReceiptLottery) GetTxHash ¶
func (x *ReceiptLottery) GetTxHash() string
func (*ReceiptLottery) GetUpdateInfo ¶
func (x *ReceiptLottery) GetUpdateInfo() *LotteryUpdateBuyInfo
func (*ReceiptLottery) GetWay ¶
func (x *ReceiptLottery) GetWay() int64
func (*ReceiptLottery) ProtoMessage ¶
func (*ReceiptLottery) ProtoMessage()
func (*ReceiptLottery) ProtoReflect ¶ added in v1.65.3
func (x *ReceiptLottery) ProtoReflect() protoreflect.Message
func (*ReceiptLottery) Reset ¶
func (x *ReceiptLottery) Reset()
func (*ReceiptLottery) String ¶
func (x *ReceiptLottery) String() string
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"` // contains filtered or unexported fields }
func (*ReplyLotteryCurrentInfo) Descriptor
deprecated
func (*ReplyLotteryCurrentInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReplyLotteryCurrentInfo.ProtoReflect.Descriptor instead.
func (*ReplyLotteryCurrentInfo) GetBuyAmount ¶
func (x *ReplyLotteryCurrentInfo) GetBuyAmount() int64
func (*ReplyLotteryCurrentInfo) GetDrawBlockNum ¶
func (x *ReplyLotteryCurrentInfo) GetDrawBlockNum() int64
func (*ReplyLotteryCurrentInfo) GetFund ¶
func (x *ReplyLotteryCurrentInfo) GetFund() int64
func (*ReplyLotteryCurrentInfo) GetLastTransToDrawState ¶
func (x *ReplyLotteryCurrentInfo) GetLastTransToDrawState() int64
func (*ReplyLotteryCurrentInfo) GetLastTransToDrawStateOnMain ¶
func (x *ReplyLotteryCurrentInfo) GetLastTransToDrawStateOnMain() int64
func (*ReplyLotteryCurrentInfo) GetLastTransToPurState ¶
func (x *ReplyLotteryCurrentInfo) GetLastTransToPurState() int64
func (*ReplyLotteryCurrentInfo) GetLastTransToPurStateOnMain ¶
func (x *ReplyLotteryCurrentInfo) GetLastTransToPurStateOnMain() int64
func (*ReplyLotteryCurrentInfo) GetLuckyNumber ¶
func (x *ReplyLotteryCurrentInfo) GetLuckyNumber() int64
func (*ReplyLotteryCurrentInfo) GetMissingRecords ¶
func (x *ReplyLotteryCurrentInfo) GetMissingRecords() []*MissingRecord
func (*ReplyLotteryCurrentInfo) GetPurBlockNum ¶
func (x *ReplyLotteryCurrentInfo) GetPurBlockNum() int64
func (*ReplyLotteryCurrentInfo) GetRound ¶
func (x *ReplyLotteryCurrentInfo) GetRound() int64
func (*ReplyLotteryCurrentInfo) GetStatus ¶
func (x *ReplyLotteryCurrentInfo) GetStatus() int32
func (*ReplyLotteryCurrentInfo) GetTotalAddrNum ¶
func (x *ReplyLotteryCurrentInfo) GetTotalAddrNum() int64
func (*ReplyLotteryCurrentInfo) GetTotalPurchasedTxNum ¶
func (x *ReplyLotteryCurrentInfo) GetTotalPurchasedTxNum() int64
func (*ReplyLotteryCurrentInfo) ProtoMessage ¶
func (*ReplyLotteryCurrentInfo) ProtoMessage()
func (*ReplyLotteryCurrentInfo) ProtoReflect ¶ added in v1.65.3
func (x *ReplyLotteryCurrentInfo) ProtoReflect() protoreflect.Message
func (*ReplyLotteryCurrentInfo) Reset ¶
func (x *ReplyLotteryCurrentInfo) Reset()
func (*ReplyLotteryCurrentInfo) String ¶
func (x *ReplyLotteryCurrentInfo) String() string
type ReplyLotteryHistoryLuckyNumber ¶
type ReplyLotteryHistoryLuckyNumber struct { LuckyNumber []int64 `protobuf:"varint,1,rep,packed,name=luckyNumber,proto3" json:"luckyNumber,omitempty"` // contains filtered or unexported fields }
func (*ReplyLotteryHistoryLuckyNumber) Descriptor
deprecated
func (*ReplyLotteryHistoryLuckyNumber) Descriptor() ([]byte, []int)
Deprecated: Use ReplyLotteryHistoryLuckyNumber.ProtoReflect.Descriptor instead.
func (*ReplyLotteryHistoryLuckyNumber) GetLuckyNumber ¶
func (x *ReplyLotteryHistoryLuckyNumber) GetLuckyNumber() []int64
func (*ReplyLotteryHistoryLuckyNumber) ProtoMessage ¶
func (*ReplyLotteryHistoryLuckyNumber) ProtoMessage()
func (*ReplyLotteryHistoryLuckyNumber) ProtoReflect ¶ added in v1.65.3
func (x *ReplyLotteryHistoryLuckyNumber) ProtoReflect() protoreflect.Message
func (*ReplyLotteryHistoryLuckyNumber) Reset ¶
func (x *ReplyLotteryHistoryLuckyNumber) Reset()
func (*ReplyLotteryHistoryLuckyNumber) String ¶
func (x *ReplyLotteryHistoryLuckyNumber) String() string
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"` // contains filtered or unexported fields }
func (*ReplyLotteryNormalInfo) Descriptor
deprecated
func (*ReplyLotteryNormalInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReplyLotteryNormalInfo.ProtoReflect.Descriptor instead.
func (*ReplyLotteryNormalInfo) GetCreateAddr ¶
func (x *ReplyLotteryNormalInfo) GetCreateAddr() string
func (*ReplyLotteryNormalInfo) GetCreateHeight ¶
func (x *ReplyLotteryNormalInfo) GetCreateHeight() int64
func (*ReplyLotteryNormalInfo) GetDevRewardRatio ¶
func (x *ReplyLotteryNormalInfo) GetDevRewardRatio() int64
func (*ReplyLotteryNormalInfo) GetDrawBlockNum ¶
func (x *ReplyLotteryNormalInfo) GetDrawBlockNum() int64
func (*ReplyLotteryNormalInfo) GetOpRewardRatio ¶
func (x *ReplyLotteryNormalInfo) GetOpRewardRatio() int64
func (*ReplyLotteryNormalInfo) GetPurBlockNum ¶
func (x *ReplyLotteryNormalInfo) GetPurBlockNum() int64
func (*ReplyLotteryNormalInfo) ProtoMessage ¶
func (*ReplyLotteryNormalInfo) ProtoMessage()
func (*ReplyLotteryNormalInfo) ProtoReflect ¶ added in v1.65.3
func (x *ReplyLotteryNormalInfo) ProtoReflect() protoreflect.Message
func (*ReplyLotteryNormalInfo) Reset ¶
func (x *ReplyLotteryNormalInfo) Reset()
func (*ReplyLotteryNormalInfo) String ¶
func (x *ReplyLotteryNormalInfo) String() string
type ReplyLotteryPurchaseAddr ¶
type ReplyLotteryPurchaseAddr struct { Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*ReplyLotteryPurchaseAddr) Descriptor
deprecated
func (*ReplyLotteryPurchaseAddr) Descriptor() ([]byte, []int)
Deprecated: Use ReplyLotteryPurchaseAddr.ProtoReflect.Descriptor instead.
func (*ReplyLotteryPurchaseAddr) GetAddress ¶
func (x *ReplyLotteryPurchaseAddr) GetAddress() []string
func (*ReplyLotteryPurchaseAddr) ProtoMessage ¶
func (*ReplyLotteryPurchaseAddr) ProtoMessage()
func (*ReplyLotteryPurchaseAddr) ProtoReflect ¶ added in v1.65.3
func (x *ReplyLotteryPurchaseAddr) ProtoReflect() protoreflect.Message
func (*ReplyLotteryPurchaseAddr) Reset ¶
func (x *ReplyLotteryPurchaseAddr) Reset()
func (*ReplyLotteryPurchaseAddr) String ¶
func (x *ReplyLotteryPurchaseAddr) String() string
type ReplyLotteryShowInfo ¶
type ReplyLotteryShowInfo struct { Records []*LotteryBuyRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*ReplyLotteryShowInfo) Descriptor
deprecated
func (*ReplyLotteryShowInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReplyLotteryShowInfo.ProtoReflect.Descriptor instead.
func (*ReplyLotteryShowInfo) GetRecords ¶
func (x *ReplyLotteryShowInfo) GetRecords() []*LotteryBuyRecord
func (*ReplyLotteryShowInfo) ProtoMessage ¶
func (*ReplyLotteryShowInfo) ProtoMessage()
func (*ReplyLotteryShowInfo) ProtoReflect ¶ added in v1.65.3
func (x *ReplyLotteryShowInfo) ProtoReflect() protoreflect.Message
func (*ReplyLotteryShowInfo) Reset ¶
func (x *ReplyLotteryShowInfo) Reset()
func (*ReplyLotteryShowInfo) String ¶
func (x *ReplyLotteryShowInfo) String() string
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"` // contains filtered or unexported fields }
func (*ReqLotteryBuyHistory) Descriptor
deprecated
func (*ReqLotteryBuyHistory) Descriptor() ([]byte, []int)
Deprecated: Use ReqLotteryBuyHistory.ProtoReflect.Descriptor instead.
func (*ReqLotteryBuyHistory) GetAddr ¶
func (x *ReqLotteryBuyHistory) GetAddr() string
func (*ReqLotteryBuyHistory) GetCount ¶
func (x *ReqLotteryBuyHistory) GetCount() int32
func (*ReqLotteryBuyHistory) GetDirection ¶
func (x *ReqLotteryBuyHistory) GetDirection() int32
func (*ReqLotteryBuyHistory) GetIndex ¶
func (x *ReqLotteryBuyHistory) GetIndex() int64
func (*ReqLotteryBuyHistory) GetLotteryId ¶
func (x *ReqLotteryBuyHistory) GetLotteryId() string
func (*ReqLotteryBuyHistory) GetRound ¶
func (x *ReqLotteryBuyHistory) GetRound() int64
func (*ReqLotteryBuyHistory) ProtoMessage ¶
func (*ReqLotteryBuyHistory) ProtoMessage()
func (*ReqLotteryBuyHistory) ProtoReflect ¶ added in v1.65.3
func (x *ReqLotteryBuyHistory) ProtoReflect() protoreflect.Message
func (*ReqLotteryBuyHistory) Reset ¶
func (x *ReqLotteryBuyHistory) Reset()
func (*ReqLotteryBuyHistory) String ¶
func (x *ReqLotteryBuyHistory) String() string
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"` // contains filtered or unexported fields }
func (*ReqLotteryBuyInfo) Descriptor
deprecated
func (*ReqLotteryBuyInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqLotteryBuyInfo.ProtoReflect.Descriptor instead.
func (*ReqLotteryBuyInfo) GetAddr ¶
func (x *ReqLotteryBuyInfo) GetAddr() string
func (*ReqLotteryBuyInfo) GetLotteryId ¶
func (x *ReqLotteryBuyInfo) GetLotteryId() string
func (*ReqLotteryBuyInfo) GetRound ¶
func (x *ReqLotteryBuyInfo) GetRound() int64
func (*ReqLotteryBuyInfo) ProtoMessage ¶
func (*ReqLotteryBuyInfo) ProtoMessage()
func (*ReqLotteryBuyInfo) ProtoReflect ¶ added in v1.65.3
func (x *ReqLotteryBuyInfo) ProtoReflect() protoreflect.Message
func (*ReqLotteryBuyInfo) Reset ¶
func (x *ReqLotteryBuyInfo) Reset()
func (*ReqLotteryBuyInfo) String ¶
func (x *ReqLotteryBuyInfo) String() string
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"` // contains filtered or unexported fields }
func (*ReqLotteryGainHistory) Descriptor
deprecated
func (*ReqLotteryGainHistory) Descriptor() ([]byte, []int)
Deprecated: Use ReqLotteryGainHistory.ProtoReflect.Descriptor instead.
func (*ReqLotteryGainHistory) GetAddr ¶
func (x *ReqLotteryGainHistory) GetAddr() string
func (*ReqLotteryGainHistory) GetCount ¶
func (x *ReqLotteryGainHistory) GetCount() int32
func (*ReqLotteryGainHistory) GetDirection ¶
func (x *ReqLotteryGainHistory) GetDirection() int32
func (*ReqLotteryGainHistory) GetLotteryId ¶
func (x *ReqLotteryGainHistory) GetLotteryId() string
func (*ReqLotteryGainHistory) GetRound ¶
func (x *ReqLotteryGainHistory) GetRound() int64
func (*ReqLotteryGainHistory) ProtoMessage ¶
func (*ReqLotteryGainHistory) ProtoMessage()
func (*ReqLotteryGainHistory) ProtoReflect ¶ added in v1.65.3
func (x *ReqLotteryGainHistory) ProtoReflect() protoreflect.Message
func (*ReqLotteryGainHistory) Reset ¶
func (x *ReqLotteryGainHistory) Reset()
func (*ReqLotteryGainHistory) String ¶
func (x *ReqLotteryGainHistory) String() string
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"` // contains filtered or unexported fields }
func (*ReqLotteryGainInfo) Descriptor
deprecated
func (*ReqLotteryGainInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqLotteryGainInfo.ProtoReflect.Descriptor instead.
func (*ReqLotteryGainInfo) GetAddr ¶
func (x *ReqLotteryGainInfo) GetAddr() string
func (*ReqLotteryGainInfo) GetLotteryId ¶
func (x *ReqLotteryGainInfo) GetLotteryId() string
func (*ReqLotteryGainInfo) GetRound ¶
func (x *ReqLotteryGainInfo) GetRound() int64
func (*ReqLotteryGainInfo) ProtoMessage ¶
func (*ReqLotteryGainInfo) ProtoMessage()
func (*ReqLotteryGainInfo) ProtoReflect ¶ added in v1.65.3
func (x *ReqLotteryGainInfo) ProtoReflect() protoreflect.Message
func (*ReqLotteryGainInfo) Reset ¶
func (x *ReqLotteryGainInfo) Reset()
func (*ReqLotteryGainInfo) String ¶
func (x *ReqLotteryGainInfo) String() string
type ReqLotteryInfo ¶
type ReqLotteryInfo struct { LotteryId string `protobuf:"bytes,1,opt,name=lotteryId,proto3" json:"lotteryId,omitempty"` // contains filtered or unexported fields }
func (*ReqLotteryInfo) Descriptor
deprecated
func (*ReqLotteryInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqLotteryInfo.ProtoReflect.Descriptor instead.
func (*ReqLotteryInfo) GetLotteryId ¶
func (x *ReqLotteryInfo) GetLotteryId() string
func (*ReqLotteryInfo) ProtoMessage ¶
func (*ReqLotteryInfo) ProtoMessage()
func (*ReqLotteryInfo) ProtoReflect ¶ added in v1.65.3
func (x *ReqLotteryInfo) ProtoReflect() protoreflect.Message
func (*ReqLotteryInfo) Reset ¶
func (x *ReqLotteryInfo) Reset()
func (*ReqLotteryInfo) String ¶
func (x *ReqLotteryInfo) String() string
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"` // contains filtered or unexported fields }
func (*ReqLotteryLuckyHistory) Descriptor
deprecated
func (*ReqLotteryLuckyHistory) Descriptor() ([]byte, []int)
Deprecated: Use ReqLotteryLuckyHistory.ProtoReflect.Descriptor instead.
func (*ReqLotteryLuckyHistory) GetCount ¶
func (x *ReqLotteryLuckyHistory) GetCount() int32
func (*ReqLotteryLuckyHistory) GetDirection ¶
func (x *ReqLotteryLuckyHistory) GetDirection() int32
func (*ReqLotteryLuckyHistory) GetLotteryId ¶
func (x *ReqLotteryLuckyHistory) GetLotteryId() string
func (*ReqLotteryLuckyHistory) GetRound ¶
func (x *ReqLotteryLuckyHistory) GetRound() int64
func (*ReqLotteryLuckyHistory) ProtoMessage ¶
func (*ReqLotteryLuckyHistory) ProtoMessage()
func (*ReqLotteryLuckyHistory) ProtoReflect ¶ added in v1.65.3
func (x *ReqLotteryLuckyHistory) ProtoReflect() protoreflect.Message
func (*ReqLotteryLuckyHistory) Reset ¶
func (x *ReqLotteryLuckyHistory) Reset()
func (*ReqLotteryLuckyHistory) String ¶
func (x *ReqLotteryLuckyHistory) String() string
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"` // contains filtered or unexported fields }
func (*ReqLotteryLuckyInfo) Descriptor
deprecated
func (*ReqLotteryLuckyInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReqLotteryLuckyInfo.ProtoReflect.Descriptor instead.
func (*ReqLotteryLuckyInfo) GetLotteryId ¶
func (x *ReqLotteryLuckyInfo) GetLotteryId() string
func (*ReqLotteryLuckyInfo) GetRound ¶
func (x *ReqLotteryLuckyInfo) GetRound() []int64
func (*ReqLotteryLuckyInfo) ProtoMessage ¶
func (*ReqLotteryLuckyInfo) ProtoMessage()
func (*ReqLotteryLuckyInfo) ProtoReflect ¶ added in v1.65.3
func (x *ReqLotteryLuckyInfo) ProtoReflect() protoreflect.Message
func (*ReqLotteryLuckyInfo) Reset ¶
func (x *ReqLotteryLuckyInfo) Reset()
func (*ReqLotteryLuckyInfo) String ¶
func (x *ReqLotteryLuckyInfo) String() string