2017-10-19 18:20:26 +02:00
|
|
|
\documentclass{article} % {acmart}
|
|
|
|
\usepackage{url}
|
|
|
|
\usepackage[T1]{fontenc}
|
|
|
|
\usepackage[utf8]{inputenc}
|
2017-11-05 21:58:22 +01:00
|
|
|
\usepackage{longtable}
|
2017-10-19 18:20:26 +02:00
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\title{Taler Auditor Report}
|
|
|
|
\maketitle
|
|
|
|
|
|
|
|
\section{Operations}
|
|
|
|
|
|
|
|
The balance of the escrow account should
|
|
|
|
be {\bf
|
|
|
|
\mbox{
|
2017-11-05 21:58:22 +01:00
|
|
|
{{ data.report_denomination_balance[0].total_escrow_balance.value }}.{{ data.report_denomination_balance[0].total_escrow_balance.fraction }}
|
2017-10-19 18:20:26 +02:00
|
|
|
{{ data.report_denomination_balance[0].total_escrow_balance.currency }}}}.
|
|
|
|
|
|
|
|
\noindent
|
|
|
|
The active operational risk stands at
|
|
|
|
\mbox{
|
2017-11-05 21:58:22 +01:00
|
|
|
{\bf
|
|
|
|
{{ data.report_denomination_balance[0].total_active_risk.value }}.{{ data.report_denomination_balance[0].total_active_risk.fraction }}
|
2017-10-19 18:20:26 +02:00
|
|
|
{{ data.report_denomination_balance[0].total_active_risk.currency }}}}.
|
|
|
|
|
|
|
|
|
|
|
|
\section{Income}
|
|
|
|
|
|
|
|
\begin{table}[h!]
|
|
|
|
\caption{Revenue}
|
|
|
|
\label{table:revenue}
|
|
|
|
\begin{tabular}{l|rl}
|
|
|
|
Category & Amount & \\ \hline \hline
|
|
|
|
Withdraw fees &
|
|
|
|
{{ data.reserve_balance[0].total_withdraw_fee_income.value }}.{{ data.reserve_balance[0].total_withdraw_fee_income.fraction }} &
|
|
|
|
{{ data.reserve_balance[0].total_withdraw_fee_income.currency }} \\
|
|
|
|
Deposit fees &
|
|
|
|
{{ data.report_denomination_balance[0].total_deposit_fee_income.value }}.{{ data.report_denomination_balance[0].total_deposit_fee_income.fraction }} &
|
|
|
|
{{ data.report_denomination_balance[0].total_deposit_fee_income.currency }} \\
|
|
|
|
Melt fees &
|
|
|
|
{{ data.report_denomination_balance[0].total_melt_fee_income.value }}.{{ data.report_denomination_balance[0].total_melt_fee_income.fraction }} &
|
|
|
|
{{ data.report_denomination_balance[0].total_melt_fee_income.currency }} \\
|
|
|
|
Refund fees &
|
|
|
|
{{ data.report_denomination_balance[0].total_refund_fee_income.value }}.{{ data.report_denomination_balance[0].total_refund_fee_income.fraction }} &
|
|
|
|
{{ data.report_denomination_balance[0].total_refund_fee_income.currency }} \\
|
|
|
|
Aggregation fees &
|
|
|
|
{{ data.aggregation_fee_balance[0].total_aggregation_fee_income.value }}.{{ data.aggregation_fee_balance[0].total_aggregation_fee_income.fraction }} &
|
|
|
|
{{ data.aggregation_fee_balance[0].total_aggregation_fee_income.currency }} \\
|
|
|
|
{\bf Total} & TBD & TBD \\
|
|
|
|
\end{tabular}
|
|
|
|
\end{table}
|
|
|
|
|
|
|
|
\section{Irregularities}
|
|
|
|
|
2017-11-05 21:58:22 +01:00
|
|
|
\subsection{Emergencies}
|
|
|
|
|
2017-10-19 18:20:26 +02:00
|
|
|
{% if data.emergencies|length() == 0 %}
|
|
|
|
{\bf No emergencies detected.}
|
|
|
|
{% else %}
|
|
|
|
\begin{table}
|
|
|
|
\caption{Emergencies.}
|
|
|
|
\label{table:emergencies}
|
|
|
|
TBD.
|
|
|
|
\end{table}
|
|
|
|
{% endif %}
|
|
|
|
|
2017-11-05 21:58:22 +01:00
|
|
|
\subsection{Reserve inconsistencies}
|
2017-10-19 18:20:26 +02:00
|
|
|
|
|
|
|
{% if data.reserve_inconsistencies|length() == 0 %}
|
|
|
|
{\bf No reserve inconsistencies detected.}
|
|
|
|
{% else %}
|
2017-11-05 21:58:22 +01:00
|
|
|
\begin{longtable}{p{1.5cm}|rl|rl|p{4cm}}
|
|
|
|
{\bf Reserve} & \multicolumn{2}{|c|}{ {\bf Expected}} & \multicolumn{2}{|c|}{ {\bf Observed}} & {\bf Diagnostic} \\ \hline \hline
|
|
|
|
\endfirsthead
|
|
|
|
{\bf Reserve} & \multicolumn{2}{|c|}{ {\bf Expected}} & \multicolumn{2}{|c|}{ {\bf Observed}} & {\bf Diagnostic} \\ \hline \hline
|
|
|
|
\endhead
|
|
|
|
\hline \hline
|
|
|
|
{\bf Reserve} & \multicolumn{2}{|c|}{ {\bf Expected}} & \multicolumn{2}{|c|}{ {\bf Observed}} & {\bf Diagnostic} \\
|
|
|
|
\endfoot
|
|
|
|
\hline
|
|
|
|
% FIXME: replace these with the summary column adding up the amounts!
|
|
|
|
{\bf Reserve} & \multicolumn{2}{|c|}{ {\bf Expected}} & \multicolumn{2}{|c|}{ {\bf Observed}} & {\bf Diagnostic} \\
|
2017-10-19 18:20:26 +02:00
|
|
|
\caption{Reserve inconsistencies.}
|
|
|
|
\label{table:reserve:inconsistencies}
|
2017-11-05 21:58:22 +01:00
|
|
|
\endlastfoot
|
2017-10-19 18:20:26 +02:00
|
|
|
{% for item in data.reserve_inconsistencies %}
|
|
|
|
\multicolumn{6}{l}{ {\tt {{ item.reserve_pub }} } } \\
|
2017-11-05 21:58:22 +01:00
|
|
|
\nopagebreak
|
2017-10-19 18:20:26 +02:00
|
|
|
&
|
|
|
|
{{ item.expected.value }}.{{ item.expected.fraction }} &
|
|
|
|
{{ item.expected.currency }} &
|
|
|
|
{{ item.observed.value }}.{{ item.observed.fraction }} &
|
|
|
|
{{ item.observed.currency }} &
|
|
|
|
{{ item.diagnostic }} \\ \hline
|
|
|
|
{% endfor %}
|
2017-11-05 21:58:22 +01:00
|
|
|
\end{longtable}
|
2017-10-19 18:20:26 +02:00
|
|
|
{% endif %}
|
2017-11-05 21:58:22 +01:00
|
|
|
|
2017-10-19 18:20:26 +02:00
|
|
|
\end{document}
|