pub fn start_lottery<T: Config>( price: <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance, length: BlockNumberFor<T>, delay: BlockNumberFor<T>, repeat: bool )
Start a lottery using the provided configuration.
This extrinsic must be called by the
price: The cost of a single ticket.
length: How long the lottery should run for starting at the current block.
delay: How long after the lottery end we should wait before picking a winner.
repeat: If the lottery should repeat when completed.
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in