The type a is associated with the delta field, which is an unsigned fee
for the fee payer, and a signed amount for other zkapp_command.
The type b is associated with the use_full_commitment field, which is
unit for the fee payer, and bool for other zkapp_command.
The type c is associated with the token_id field, which is unit for the
fee payer, and Token_id.t for other zkapp_command.
The type d is associated with the account_precondition field, which is
a nonce for the fee payer, and Account_precondition.t for other zkapp_command
gen_zkapp_command_from generates a zkapp_command and record the change of accounts accordingly
in account_state_tbl. Note that account_state_tbl is optional. If itβs not provided
then it would be computed from the ledger. If you plan to generate several zkapp_command,
then please manually pass account_state_tbl to gen_zkapp_command_from function.
If you are generating several zkapp_command, itβs better to pre-compute the
account_state_tbl before you call this function. This way you can manually set the
role of fee payer accounts to be Fee_payer in account_state_tbl which would prevent
those accounts being used as ordinary participants in other zkapp_command.