What would be the best way to require a payment from the invoker of a contract?
Allowances would require to be set up upfront and then the contract could pay itself from the allowance.
Is there a more direct way to achieve that?
Let's say I want to issue an asset that acts as a ticket to the contract (e.g. a lottery) and invoking the contract's generate/mint fn requires payment with that ticket-asset.