-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathhavven_white_paper.tex
225 lines (179 loc) · 5.62 KB
/
havven_white_paper.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
\documentclass{article}
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
% activate={true,nocompatibility} - activate protrusion and expansion
% final - enable microtype; use "draft" to disable
% tracking=true, kerning=true, spacing=true - activate these techniques
% factor=1100 - add 10% to the protrusion amount (default is 1000)
% stretch=10, shrink=10 - reduce stretchability/shrinkability (default is 20/20)
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{svg}
\usepackage{graphicx}
\usepackage[superscript, biblabel, nomove]{cite}
\usepackage[hidelinks]{hyperref}
\usepackage{cleveref}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{pgfplots}
\usepackage{datetime}
\usepackage{wallpaper}
\usepackage{transparent}
\usepackage{pagecolor}
\usepackage{afterpage}
\usepackage[thin]{roboto}
\usepackage[T1]{fontenc}
\usepackage{etoolbox}
\usepackage{array}
\usepackage{enumitem}
\usepackage{caption}
\usepackage{subcaption}
% Use § for sections
\crefformat{section}{\S#2#1#3}
\crefformat{subsection}{\S#2#1#3}
\crefformat{subsubsection}{\S#2#1#3}
\usepackage{appendix}
% == Remove or comment these out for release
%\usepackage{todonotes}
%\usepackage{draftwatermark}
%\SetWatermarkText{DRAFT}
%\SetWatermarkScale{3}
% ==
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsthm}
% Make itemize bullets slightly smaller
\renewcommand\labelitemi{{\boldmath\(\cdot\)}}
\newtheorem{theorem}{Theorem}
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\newtheorem{thm}{The`orem}[section] % the main one
\newtheorem{lemma}[thm]{Lemma}
% \setlength{\oddsidemargin}{0cm}
% \setlength{\oddsidemargin}{0cm}
% \setlength{\textwidth}{16cm}
% \setlength{\textheight}{22cm}
% \setlength{\topmargin}{0cm}
% \setlength{\topmargin}{0cm}
\theoremstyle{plain} % just in case the style had changed
\newcommand{\thistheoremname}{}
\newtheorem{genericthm}[thm]{\thistheoremname}
\newenvironment{namedthm}[1]
{\renewcommand{\thistheoremname}{#1}%
\begin{genericthm}}
{\end{genericthm}}
\pgfplotsset{compat=1.15}
\begin{document}
% Macros
\newcommand{\HAV}{\textsc{hav}}
\newcommand{\NOM}{\textsc{nom}}
%%% TITLE PAGE %%%
\pagenumbering{gobble}
% Border %
\begin{tikzpicture}[overlay]
\draw[white, very thick] ($(current page.north west)+(-4cm, -24.3cm)$) rectangle ($(current page.south east)+(-6.5cm, -22cm)$);
\end{tikzpicture}
% Background %
\newtoggle{simplebg}
\newtoggle{underlinelogo}
\newtoggle{subtitle}
\togglefalse{simplebg}
\togglefalse{underlinelogo}
\togglefalse{subtitle}
\iftoggle{simplebg} {
\definecolor{havvenblue}{RGB}{8,53,92}
\newpagecolor{havvenblue}\afterpage{\restorepagecolor}
}{
\ThisCenterWallPaper{1.0}{img/bg-compressed.png}
}
\vspace*{5cm}
\hspace*{-0.5cm}
\iftoggle{underlinelogo} {
\textcolor{white}{
\underline{
\includegraphics[width=\linewidth]{img/havven-main-light1.png}
}
}
}{
\textcolor{white}{
\includegraphics[width=\linewidth]{img/havven-main-light1.png}
}
}
\iftoggle{subtitle} {
\begin{center}
{ \fontseries{m}\selectfont
\Huge \textsf{\textcolor{white}{The Stablecoin Network}}
}
\end{center}
%could also centre this with tikz
%\begin{tikzpicture}[remember picture, overlay]
% \node[inner sep=0pt] at (current page.center) {%
% \includegraphics[width=\paperwidth,height=\paperheight]{img/rblend}%
% };
%\end{tikzpicture}
}
\pagebreak
\newtoggle{watermarks}
\togglefalse{watermarks}
\iftoggle{watermarks} {
\setlength{\wpXoffset}{-3.25cm}
\setlength{\wpYoffset}{-13cm}
\CenterWallPaper{2.0}{img/chevrons-lighter.png}
}
\pagenumbering{roman}
\title{A decentralised payment network and stablecoin\\ v0.8}
\author{Samuel Brooks, Anton Jurisevic, Michael Spain, Kain Warwick}
\date{}
\begin{figure}
\centering
%\includesvg[width=0.33\textwidth]{img/block8logo}
\includegraphics[width=0.33\textwidth]{img/havvenlogo}
\end{figure}
\maketitle
\hfill
\begin{abstract}
\noindent There is currently no decentralised currency useful for everyday
economic purposes. We propose a peer-to-peer payment network and
price-stable token that does not rely on a central authority to maintain
trust. Prior to Bitcoin, attempts to create digital currencies were
centralised, making them vulnerable to censorship and seizure. Bitcoin’s
consensus mechanism protected it from interference, but its fixed monetary
policy induced extreme price volatility. Havven solves this by issuing
tokens against a distributed collateral pool, which derives its value from
fees levied on transactions. Growth in transaction volume thus increases
the value of the collateral, allowing the token supply to expand to meet
demand. The resulting system retains the best features of Bitcoin, while
the introduction of price stability results in a superior form of money.
\end{abstract}
\vspace{20mm}
\begin{center}
%\color{gray}
\small{\textit{\currenttime, \today}}
\end{center}
% \todo[inline]{Incorporate white paper criticisms.}
\pagebreak
\tableofcontents
% == Remove or comment out this section for release
% \pagebreak
% \section{TODO}
% \listoftodos{}
% ==
\pagebreak
\pagenumbering{arabic}
\input{tex/introduction}
%\input{tex/design_considerations}
\input{tex/system_description}
\newpage
\input{tex/system_analysis}
\appendix
\appendixpage{}
\addappheadtotoc{}
\input{tex/appendices/road_map}
\input{tex/appendices/modelling}
%\input{tex/appendices/alternative_approaches}
%\input{tex/appendices/system_variables}
%\bibliography{tex/citations}
%\bibliographystyle{plain}
\end{document}