pub fn buy_ticket<T: Config>(call: Box<<T as Config>::RuntimeCall>)
Buy a ticket to enter the lottery.
This extrinsic acts as a passthrough function for
call. In all
call alone would succeed, this extrinsic should
call is successful, then we will attempt to purchase a ticket,
which may fail silently. To detect success of a ticket purchase, you
should listen for the
This extrinsic must be called by a signed origin.
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in