Documentation
¶
Overview ¶
Package lottery is in charge of handling the logic for the daily lotteries.
Index ¶
Constants ¶
View Source
const (
// Lottery capacity divisor
CapacityDivisor = 5
)
Prize pool percentages
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
PrizePool int64 `json:"prize_pool"`
Capacity int64 `json:"capacity"`
NextHeight uint32 `json:"next_height"`
}
Info contains details about the lottery.
type Lottery ¶
type Lottery struct {
// contains filtered or unexported fields
}
Lottery is in charge of handling the lottery's logic.
Click to show internal directories.
Click to hide internal directories.