Skip to content

Commit

Permalink
Refactoring and adding content
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Aug 7, 2015
1 parent 6b4587e commit 5ffd7bb
Show file tree
Hide file tree
Showing 97 changed files with 7,443 additions and 4,622 deletions.
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
*.aux
*.log
.swp
.*.swp
*.toc
*.aux
*.bbl
*.blg
*.log
*.out
*.pdf
.swp
6,254 changes: 6,254 additions & 0 deletions IEEEtran.cls

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
all:
@pdflatex bitshares-consensus.tex
@pdflatex bitshares-financial-platform.tex
@pdflatex bitshares-general.tex
@pdflatex bitshares-growth.tex
@pdflatex bitshares-structure.tex
@pdflatex bitshares.tex
26 changes: 26 additions & 0 deletions bitshares-consensus.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
\documentclass[conference,final,10pt,a4paper]{IEEEtran}

\usepackage[latin1]{inputenc}
\usepackage{amssymb,amssymb}
\usepackage{algorithmic}

\title{BitShares 2.0: Distributed Consensus}
\author{}

\IEEEoverridecommandlockouts
\begin{document}
\sloppy
\maketitle

\begin{abstract}
\end{abstract}

\section{Overview}
\section { Introduction } \input { content/cons }
\section { Delegated Proof-of-Stake (DPOS) } \input { content/cons-dpos }
\section { Transactions as Proof-of-Stake (TaPOS) } \input { content/cons-tapos }
\section { Distinction from Traditional Consensus Schemes } \input { content/cons-comp }
\section { Attack Vectors } \input { content/cons-att }
\section { Conclusion } \input { content/cons-conc }
\section* { Litarture }
\end{document}
116 changes: 116 additions & 0 deletions bitshares-financial-platform.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
\documentclass[conference,final,10pt,a4paper]{IEEEtran}

\usepackage[latin1]{inputenc}
\usepackage{amssymb,amssymb}
\usepackage{algorithmic}
\usepackage[hyphens]{url}

\usepackage{url}
\usepackage{breakurl}
\usepackage[breaklinks]{hyperref}

\title{BitShares 2.0: Financial Smart Contract Platform}
\author{
\IEEEauthorblockN{Fabian~Schuh\IEEEauthorrefmark{1}}
\IEEEauthorblockA{BitShares Europe, BitShares.eu\\
Erlangen, Germany\\
Email: \texttt{[email protected]}}
\and
\IEEEauthorblockN{Daniel~Larimer\IEEEauthorrefmark{2}}
\IEEEauthorblockA{Cryptonomex, Cryptonomex.com\\
Blacksburg (VA), USA\\
Email: \texttt{[email protected]}}%
\thanks{This work was supported by Cryptonomex.}
}

\IEEEoverridecommandlockouts
\begin{document}
\sloppy
\maketitle

\begin{abstract}
Every since Satoshi Nakamoto released his whitepaper and corresponding
software for bitcoin, the cryptocurrency ecosystem grew rapidly. Bitcoin
created an ecosystem which everybody could use to \emph{transfer} value
without unnecessary middlemen, banks or counterparty risk. Having the
blockchain technology established and proven stable, the question arose
whether this technology could be leveraged to also enable \emph{trading} of
multiple assets without the need for a broker or central entity (exchange).
Several so called bitcoin 2.0 projects (among which are BitShares 1.0, NXT,
Counterparty)\footnote{At the time of writing, the promising Ethereum project
has not launched a DEX, yet.} showed the feasibility of a ``decentral
exchange'' (DEX). The aim of BitShares 2.0 is to innovate the term ``decentral
exchange'' and not only provide trading of assets but additionally offer
classical financial instruments on the blockchain. With price stable digital
tokens such as bitUSD, a whole new set of financial contracts are now directly
available through the decentral exchange.
\end{abstract}
\section { Introduction } \input { content/fp }

\section { Market Pegged Assets (MPA) } \input { content/fp-mpa }
\subsection { Price Stability } \input { content/fp-mpa-stab }
\subsubsection { Definition of Price Stability } \input { content/fp-mpa-stab-def }
\subsubsection { It needs a Price Floor } \input { content/fp-mpa-stab-floor }
\subsubsection { Price Feeds } \input { content/fp-mpa-stab-feed }
\subsection { The Shorter } \input { content/fp-mpa-short }
\subsection { The Long (BitUSD holder) } \input { content/fp-mpa-long }
\subsection { The BTS Buyer } \input { content/fp-mpa-buyer }
\subsection { The Merchant } \input { content/fp-mpa-merchant }
\subsection { The Customer } \input { content/fp-mpa-costumer }
\subsection { Price Manipulation } \input { content/fp-mpa-manipulation }
\subsection { Black Swans - Extreme Market Conditions } \input { content/fp-mpa-blackswan }
\subsection { Privatized SmartCoins } \input { content/fp-mpa-privatized }
\subsection { Risks } \input { content/fp-mpa-risk }
\subsubsection { Collateral Risk } \input { content/fp-mpa-risk-coll }
\subsubsection { Counterparty Risk } \input { content/fp-mpa-risk-counter }
\subsubsection { Systemic Risk } \input { content/fp-mpa-risk-system }

\section { User-Issued Assets (UIA) } \input { content/fp-uia }
\subsection { Deposit Receipts } \input { content/fp-uia-rights }
\subsubsection { Know Your Customer } \input { content/fp-uia-rights-kyc }
\subsubsection { Asset Seizing } \input { content/fp-uia-rights-seize }
\subsubsection { Market Restriction } \input { content/fp-uia-rights-market }
\subsubsection { Transfer Restrictions } \input { content/fp-uia-rights-tx }
\subsection { Use-cases } \input { content/fp-uia-uc }
\subsubsection { Company Shares } \input { content/fp-uia-uc-stock }
\subsubsection { Event Tickets } \input { content/fp-uia-uc-ticket }
\subsubsection { Rewards Points } \input { content/fp-uia-uc-points }
\subsubsection { Individual or Corporate Debt } \input { content/fp-uia-uc-dept }
\subsubsection { Crowd Funding } \input { content/fp-uia-uc-crowdfunding }
\subsubsection { Digital Property } \input { content/fp-uia-uc-property }
\subsubsection { Privatized SmartCoins (Stable Cryptocurrencies) } \input { content/fp-uia-uc-privatized }
\subsubsection { Information/Prediction Markets } \input { content/fp-uia-uc-pm }
\subsection { How to Profit by Issuing an Asset } \input { content/fp-uia-profit }
\subsubsection { Fee Pools } \input { content/fp-uia-profit-feepool }

\section { Decentralized Exchange } \input { content/fp-dex }
\subsection { Core Selling Points }
\subsubsection { Global Unified Order Book } \input { content/fp-dex-globalbook }
\subsubsection { No Limits } \input { content/fp-dex-limits }
\subsubsection { Decentralized } \input { content/fp-dex-decentral }
\subsubsection { Secure } \input { content/fp-dex-secure }
\subsubsection { Fast, but not *too* fast } \input { content/fp-dex-fast }
\subsubsection { Trade Almost Anything } \input { content/fp-dex-anything }
\subsubsection { Separation of Powers } \input { content/fp-dex-powers }
\subsubsection { Decentralization of Privacy } \input { content/fp-dex-privacy }
\subsection { Order Matching } \input { content/fp-dex-ordermatching }
\subsection { Collateralized Blockchain IOUs } \input { content/fp-dex-collateral }
\subsection { 3rd Party Services and Business Opportunities } \input { content/fp-dex-roles }
\subsubsection { BitFIAT to FIAT Gateways } \input { content/fp-dex-gateway }

\section { Collateralized Bond Market } \input { content/fp-bond }
\subsection { Avoiding Margin Calls } \input { content/fp-bond-margin }
\subsection { Proposing and Creating a Bond } \input { content/fp-bond-create }
\subsection { Bond Parameters } \input { content/fp-bond-parameters }
\subsection { Closing a Bond } \input { content/fp-bond-close }
\subsection { Interest on MPA } \input { content/fp-bond-market }

\section { Conclusion } \input { content/fp-conc }
\bibliographystyle{IEEEtran}
\bibliography{literature}
\end{document}

%% TODO:
% - review all occurrences of ``delegate''
%
%
30 changes: 30 additions & 0 deletions bitshares-general.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
\documentclass[conference,final,10pt,a4paper]{IEEEtran}

\usepackage[latin1]{inputenc}
\usepackage{amssymb,amssymb}
\usepackage{algorithmic}

\title{BitShares 2.0: General Documentation}
\author{}

\IEEEoverridecommandlockouts
\begin{document}
\sloppy
\maketitle

\begin{abstract}
\end{abstract}

\section{Overview}
\section { Introduction } \input { content/bts }
\section { Accounts } \input { content/bts-acc }
\section { Operations } \input { content/bts-ops }
\section { Transactions } \input { content/bts-txs }
\section { Privacy } \input { content/bts-priv }
\section { Fees } \input { content/bts-fees }
\section { Specifications } \input { content/spec }
\subsection { Blockchain } \input { content/spec-bc }
\subsection { Network } \input { content/spec-net }
\section { Conclusion } \input { content/bts-conc }
\section* { Litarture }
\end{document}
25 changes: 25 additions & 0 deletions bitshares-growth.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
\documentclass[conference,final,10pt,a4paper]{IEEEtran}

\usepackage[latin1]{inputenc}
\usepackage{amssymb,amssymb}
\usepackage{algorithmic}

\title{BitShares 2.0: Growth Considerations}
\author{}

\IEEEoverridecommandlockouts
\begin{document}
\sloppy
\maketitle

\begin{abstract}
\end{abstract}

\section{Overview}
\section { Introduction } \input { content/grow }
\section { Decentralized Development } \input { content/grow-ded }
\section { Industrial Performance and Scalability } \input { content/grow-perf }
\section { Referral Rewards Program } \input { content/grow-ref }
\section { Conclusion } \input { content/grow-conc }
\section* { Litarture }
\end{document}
20 changes: 20 additions & 0 deletions bitshares-history.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
\documentclass[conference,final,10pt,a4paper]{IEEEtran}

\usepackage[latin1]{inputenc}
\usepackage{amssymb,amssymb}
\usepackage{algorithmic}

\title{BitShares: Historical Overview}
\author{}

\IEEEoverridecommandlockouts
\begin{document}
\sloppy
\maketitle

\begin{abstract}
\end{abstract}
Why does BitShares need an upgrade?
How will BitShares 2.0 solve the problems with BitShares today?
Lessons learned
\end{document}
Empty file added bitshares-license.tex
Empty file.
27 changes: 27 additions & 0 deletions bitshares-structure.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
\documentclass[conference,final,10pt,a4paper]{IEEEtran}

\usepackage[latin1]{inputenc}
\usepackage{amssymb,amssymb}
\usepackage{algorithmic}

\title{BitShares 2.0: Business Structure}
\author{}

\IEEEoverridecommandlockouts
\begin{document}
\sloppy
\maketitle

\begin{abstract}
\end{abstract}

\section{Overview}
\section { Introduction } \input { content/org }
\section { The DAC } \input { content/org-dac }
\section { Dynamic Account Permissions } \input { content/org-dynacc }
\section { Recurring \& Scheduled Payments } \input { content/org-recurr }
\section { Stakeholder-Approved Project Funding } \input { content/org-approval }
\section { Transferable Named Accounts } \input { content/org-transfacc }
\section { Conclusion } \input { content/org-conc }
\section* { Litarture }
\end{document}
27 changes: 27 additions & 0 deletions bitshares.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
\documentclass[conference,final,10pt,a4paper]{IEEEtran}

\usepackage[latin1]{inputenc}
\usepackage{amssymb,amssymb}
\usepackage{algorithmic}

\title{BitShares 2.0: The Industrial-Grade Financial Smart Contract Platform}
\author{}

\IEEEoverridecommandlockouts
\begin{document}
\sloppy
\maketitle

\begin{abstract}
\end{abstract}

\section{Overview}
\section { Overview }
\section { General Documentation } % bitshares-general.tex
\section { Distributed Consensus } % bitshares-consensus.tex
\section { Financial Smart Contract Platform } % bitshares-financial-platform.tex
\section { Growth Considerations } % bitshares-growth.tex
\section { Business Structure } % bitshares-structure.tex
\section { Historical Overview } % bitshares-history.tex
\section { Licensing Model of CNX } % bitshares-license.tex
\end{document}
Empty file added content/bts-acc.tex
Empty file.
Empty file added content/bts-conc.tex
Empty file.
Empty file added content/bts-fees.tex
Empty file.
Empty file added content/bts-ops.tex
Empty file.
Empty file added content/bts-priv.tex
Empty file.
Empty file added content/bts-txs.tex
Empty file.
Empty file added content/bts.tex
Empty file.
Empty file added content/cons-att.tex
Empty file.
Empty file added content/cons-comp.tex
Empty file.
Empty file added content/cons-conc.tex
Empty file.
Empty file added content/cons-dpos.tex
Empty file.
Empty file added content/cons-tapos.tex
Empty file.
Empty file added content/cons.tex
Empty file.
9 changes: 9 additions & 0 deletions content/fp-bond-close.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
After a bond offer has been accepted, the loan period determines the due date
of the bond. If the borrower has not paid the bond by this due date, the
lender may claim the posted collateral. The bond may not be paid before the
minimum loan period has expired. The amount that must be paid by the borrower
to fulfill the bond and claim the collateral is determined by the interest rate
and the time the bond has remained outstanding. Interest accrues on a daily
basis and does not compound. A bond may also be partially paid any time after
the minimum loan period; this will return collateral to the borrower based on
the collateral ratio of the bond.
5 changes: 5 additions & 0 deletions content/fp-bond-create.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A bond offer can be proposed by either a borrower or lender, and all open
offers can be easily searched. A borrower must commit the required collateral
to a bond offer, whereas a lender must commit borrowable assets. Bond offers
are not matched automatically with a market engine; instead, the other side of
any bond contract may be claimed via a transaction that accepts the bond offer.
6 changes: 6 additions & 0 deletions content/fp-bond-margin.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
To avoid the need for margin calls, the bond market assumes that the collateral
is always sufficient for paying off the loan, even if its value has fallen
below the value of the loan. In other words, every bond is the combination of
a loan and an option to buy the collateral at the payoff price. The lender is
responsible for ensuring that the interest rate and collateral is sufficient to
cover the cost of providing the implied option contract.
8 changes: 8 additions & 0 deletions content/fp-bond-market.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Not every short seller will be happy with the rules offer by SmartCoins. Some
may want to borrow for a fixed period of time, with higher leverage, and with
no risk of being force-settled. BitShares offers these speculators the option
to borrow BitUSD on the bond market at interest. The bond market allows
speculators to leverage any asset against any other, while lenders earn
interest on collateralized loans. A Bond market is the perfect way for the
market to establish a yield curve on SmartCoins and free both sides of the
market from dependency on the price feed.
5 changes: 5 additions & 0 deletions content/fp-bond-parameters.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A BitShares bond offer defines the \textbf{amount and type of collateral} and
the \textbf{type of borrowed asset}. A \textbf{ratio} of borrowed asset to
collateral is specified. A bond offer can be partially filled at this ratio as
long as it is above a specified minimum. Bonds have a defined \textbf{loan
period}, \textbf{minimum loan period}, and \textbf{interest rate}.
9 changes: 9 additions & 0 deletions content/fp-bond.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The BitShares bond market allows for an interest rate market between any
combination of assets tradeable on the BitShares blockchain. The bond is a
\emph{smart contract} between a borrower and a lender. The borrower borrows a
certain amount of a specified asset from the lender and secures the loan with
collateral denominated in a different asset type. Bonds are non-fungible and
each can be considered a separate contract between the two participating
parties. The borrower may use the contract to profit from an expected change
in the relative value of the two assets, while the lender enjoys a predictable
return.
30 changes: 30 additions & 0 deletions content/fp-conc.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
% DEX

% MPA
SmartCoins are a powerful tool for everyone from speculators and savers, to
traders and entrepreneurs. The BitShares platform provides a toolset with which
innovators can experiment to find optimal currency solutions using free market
discovery.

BitShares market pegged assets are a viable open source alternative to the
incumbent banking system. Achieving price parity with a commonly used currency
facilitates pricing and acceptance by merchants. Additionally it reduces the
need to calculate capital gains and losses on volatile assets to determine tax
liability. While certain risks of the system have been outlined, no system is
without risk. The current banking system allows private funds to be frozen or
confiscated without consent, such as by court order or administrative actions.
Banks and financial institutions are susceptible to insolvency. The
availability and quality of banking service varies greatly throughout the
world. BitShares brings publically auditable open source banking to anyone with
access to the internet. Market pegged assets allow savers and spenders to
choose preferred asset types. This brings flexibility and ease of use to the
open source banking experience.

%UIA

%Bonds
The Bitshares bond market allows investors who wish to gain leverage in a
particular asset to offer competitive interest rates to those willing to commit
capital for a specified time. The implementation of a bond market on a
blockchain consensus system efficiently reduces the overhead and counterparty
risk typically associated with such contracts.
7 changes: 7 additions & 0 deletions content/fp-dex-anything.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Trade in Gold, Silver, Gas, and Oil in addition to your national currency and
cryptocurrencies. Few limits exists on what can be traded on the BitShares
exchange, given enough interest. The BitShares exchange can support assets
that can track stocks, bonds, indexes, or inflation. Companies can issue their
own stock on the BitShares network and allow easy, low-cost trading with
complete protection against naked shorting. What other cryptocurrency exchange
allows you to trade in gold and silver?
Loading

0 comments on commit 5ffd7bb

Please sign in to comment.