Closed 0xShaito closed 1 year ago
We already worked on payments [before](https://github.com/defi-wonderland/aztec-private-oracle-private/pull/8/files). Add it again and change it to use [nonce for transfer from](https://docs.aztec.network/dev_docs/tutorials/writing_token_contract#authorizing-token-spends) so we don't need to track balance changes and expect the payment before. We should add nonce and fee to the `submit_question`function. Use the nonce to take the corresponding amount of tokens from the user and save the fee in the question for payment to divinity or `cancel_question`.
CLOSES AZT-5