diff --git a/flashloan_graph.png b/flashloan_graph.png new file mode 100644 index 0000000..cfda777 Binary files /dev/null and b/flashloan_graph.png differ diff --git a/flashloan_graph.svg b/flashloan_graph.svg new file mode 100644 index 0000000..44a09fe --- /dev/null +++ b/flashloan_graph.svg @@ -0,0 +1,657 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Agorata investsSmart contract returnsin the response message + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/loan_graph.png b/loan_graph.png new file mode 100644 index 0000000..60cd652 Binary files /dev/null and b/loan_graph.png differ diff --git a/loan_graph.svg b/loan_graph.svg new file mode 100644 index 0000000..2bdadd3 --- /dev/null +++ b/loan_graph.svg @@ -0,0 +1,2288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Agorata invests TON + Agorata gets + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Contract with in X + User returns + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TON + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + in X + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Value function + + diff --git a/main.pdf b/main.pdf index 4d63a4d..4ea6a23 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/main.tex b/main.tex index 74e10bc..49daff2 100644 --- a/main.tex +++ b/main.tex @@ -130,7 +130,8 @@ The state is written as a function of all parameters of all actions in a formal \subsection{Agent parameters} \begin{enumerate} \item $T_{0}$ is the maximum deal duration --- i.e., the horizon after which the benefits of the deal are not considered. - \item $\tau$ is the charachteristic time of discount --- e.g., $\exp({\frac{1\,year}{\tau}}) - 1$ is the minimal yearly rate for a loan. + \item $\tau$ is the charachteristic time of discount --- $\exp({\frac{1\,year}{\tau}}) - 1$ is the minimal yearly rate for a loan. + \item $r$ is the risk parameter for currency switching --- the agent will only agree to swap no less than $(1+r)x$ in one currency for $x$ in another. \end{enumerate} Given these parameters, the value function $V((x_{i}), (t_{i}))$ (or $V(S)$) can be determined. It takes the sequence of values $(x_{i}, t_{i})$, where $x_{i}$ are the incoming/outcoming tokens from the agent.