lottery
callIndices(): Vec<(u8,u8)>
interface:
lottery.callIndicessummary: The calls stored in this pallet to be used in an active lottery if configured by
Config::ValidateCall.
lottery(): Option<PalletLotteryLotteryConfig>
interface:
lottery.lotterysummary: The configuration for the current lottery.
lotteryIndex(): u32
interface:
lottery.lotteryIndex
participants(AccountId32): (u32,Vec<(u8,u8)>)
interface:
lottery.participantssummary: Users who have purchased a ticket. (Lottery Index, Tickets Purchased)
tickets(u32): Option<AccountId32>
interface:
lottery.ticketssummary: Each ticket’s owner.
May have residual storage from previous lotteries. Use
TicketsCountto see which ones are actually valid ticket mappings.
ticketsCount(): u32
interface:
lottery.ticketsCountsummary: Total number of tickets sold.