types

package
Version: v1.65.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 9 Imported by: 6

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

View Source
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

func InitExecutor

func InitExecutor(cfg *types.Chain33Config)

InitExecutor ...

func InitFork

func InitFork(cfg *types.Chain33Config)

InitFork ...

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) Descriptor() ([]byte, []int)

Deprecated: Use Lottery.ProtoReflect.Descriptor instead.

func (*Lottery) GetBuyAmount

func (x *Lottery) GetBuyAmount() int64

func (*Lottery) GetCreateAddr

func (x *Lottery) GetCreateAddr() string

func (*Lottery) GetCreateHeight

func (x *Lottery) GetCreateHeight() int64

func (*Lottery) GetCreateOnMain

func (x *Lottery) GetCreateOnMain() int64

func (*Lottery) GetDevRewardRatio

func (x *Lottery) GetDevRewardRatio() int64

func (*Lottery) GetDrawBlockNum

func (x *Lottery) GetDrawBlockNum() int64

func (*Lottery) GetFund

func (x *Lottery) GetFund() int64

func (*Lottery) GetLastTransToDrawState

func (x *Lottery) GetLastTransToDrawState() int64

func (*Lottery) GetLastTransToDrawStateOnMain

func (x *Lottery) GetLastTransToDrawStateOnMain() int64

func (*Lottery) GetLastTransToPurState

func (x *Lottery) GetLastTransToPurState() int64

func (*Lottery) GetLastTransToPurStateOnMain

func (x *Lottery) GetLastTransToPurStateOnMain() int64

func (*Lottery) GetLotteryId

func (x *Lottery) GetLotteryId() string

func (*Lottery) GetLuckyNumber

func (x *Lottery) GetLuckyNumber() int64

func (*Lottery) GetMissingRecords

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

func (*Lottery) GetOpRewardRatio

func (x *Lottery) GetOpRewardRatio() int64

func (*Lottery) GetPurBlockNum

func (x *Lottery) GetPurBlockNum() int64

func (*Lottery) GetPurRecords

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

func (*Lottery) GetRound

func (x *Lottery) GetRound() int64

func (*Lottery) GetStatus

func (x *Lottery) GetStatus() int32

func (*Lottery) GetTotalAddrNum

func (x *Lottery) GetTotalAddrNum() int64

func (*Lottery) GetTotalPurchasedTxNum

func (x *Lottery) GetTotalPurchasedTxNum() int64

func (*Lottery) ProtoMessage

func (*Lottery) ProtoMessage()

func (*Lottery) ProtoReflect added in v1.65.3

func (x *Lottery) ProtoReflect() protoreflect.Message

func (*Lottery) Reset

func (x *Lottery) Reset()

func (*Lottery) String

func (x *Lottery) String() string

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

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"`
	// 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

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 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 NewType

func NewType(cfg *types.Chain33Config) *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 */
	// 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 (*ReplyLotteryHistoryLuckyNumber) Reset

func (x *ReplyLotteryHistoryLuckyNumber) Reset()

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

Jump to

Keyboard shortcuts

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