@gnosis.pm/pm-contracts
Version:
Collection of smart contracts for the Gnosis prediction market platform
293 lines (165 loc) • 10.3 kB
HTML
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gnosis Prediction Market Contracts — Gnosis Prediction Market Contracts 2.0.0-alpha.2 documentation</title>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="index" title="Index"
href="genindex.html"/>
<link rel="search" title="Search" href="search.html"/>
<link rel="top" title="Gnosis Prediction Market Contracts 2.0.0-alpha.2 documentation" href="#"/>
<link rel="next" title="Developer Guide" href="developer-guide.html"/>
<script src="_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="#" class="icon icon-home"> Gnosis Prediction Market Contracts
</a>
<div class="version">
2.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="developer-guide.html">Developer Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="changes-from-v1.html">Changes from Version 1.x</a></li>
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing</a></li>
<li class="toctree-l1"><a class="reference internal" href="glossary.html">Glossary</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="#">Gnosis Prediction Market Contracts</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="#">Docs</a> »</li>
<li>Gnosis Prediction Market Contracts</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/index.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="figure">
<a class="reference external image-reference" href="https://gnosis.pm"><img alt="Gnosis Logo" src="https://raw.githubusercontent.com/gnosis/pm-contracts/master/assets/logo.png" /></a>
</div>
<div class="section" id="gnosis-prediction-market-contracts">
<h1>Gnosis Prediction Market Contracts<a class="headerlink" href="#gnosis-prediction-market-contracts" title="Permalink to this headline">¶</a></h1>
<a class="reference external image-reference" href="https://travis-ci.org/gnosis/pm-contracts"><img alt="Build Status" src="https://travis-ci.org/gnosis/pm-contracts.svg?branch=development" /></a>
<a class="reference external image-reference" href="https://greenkeeper.io/"><img alt="Greenkeeper badge" src="https://badges.greenkeeper.io/gnosis/pm-contracts.svg" /></a>
<a class="reference external image-reference" href="https://slack.gnosis.pm"><img alt="Slack Status" src="https://slack.gnosis.pm/badge.svg" /></a>
<p>Collection of smart contracts for the <a class="reference external" href="https://gnosis.pm">Gnosis</a> prediction market platform.</p>
<p><a class="reference external" href="https://gnosis-pm-contracts.readthedocs.io/en/latest/">→ Online Documentation</a></p>
<div class="section" id="license">
<h2>License<a class="headerlink" href="#license" title="Permalink to this headline">¶</a></h2>
<p>All smart contracts are released under the <a class="reference external" href="https://www.gnu.org/licenses/lgpl-3.0.en.html">LGPL 3.0</a> license.</p>
<div class="section" id="security-and-liability">
<h3>Security and Liability<a class="headerlink" href="#security-and-liability" title="Permalink to this headline">¶</a></h3>
<p>All contracts are <strong>WITHOUT ANY WARRANTY</strong>; <em>without even</em> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>
<div class="toctree-wrapper compound">
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="developer-guide.html">Developer Guide</a><ul>
<li class="toctree-l2"><a class="reference internal" href="developer-guide.html#prerequisites">Prerequisites</a></li>
<li class="toctree-l2"><a class="reference internal" href="developer-guide.html#installation">Installation</a></li>
<li class="toctree-l2"><a class="reference internal" href="developer-guide.html#preparing-a-condition">Preparing a Condition</a></li>
<li class="toctree-l2"><a class="reference internal" href="developer-guide.html#outcome-collections">Outcome Collections</a></li>
<li class="toctree-l2"><a class="reference internal" href="developer-guide.html#defining-positions">Defining Positions</a></li>
<li class="toctree-l2"><a class="reference internal" href="developer-guide.html#splitting-and-merging-positions">Splitting and Merging Positions</a></li>
<li class="toctree-l2"><a class="reference internal" href="developer-guide.html#querying-and-transferring-stake">Querying and Transferring Stake</a></li>
<li class="toctree-l2"><a class="reference internal" href="developer-guide.html#redeeming-positions">Redeeming Positions</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="changes-from-v1.html">Changes from Version 1.x</a><ul>
<li class="toctree-l2"><a class="reference internal" href="changes-from-v1.html#modular-vs-monolithic">Modular vs Monolithic</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes-from-v1.html#from-events-to-conditions">From Events to Conditions</a></li>
<li class="toctree-l2"><a class="reference internal" href="changes-from-v1.html#peripheral-contracts">Peripheral Contracts</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing</a><ul>
<li class="toctree-l2"><a class="reference internal" href="contributing.html#testing-and-linting">Testing and Linting</a></li>
<li class="toctree-l2"><a class="reference internal" href="contributing.html#development-commands">Development commands</a></li>
<li class="toctree-l2"><a class="reference internal" href="contributing.html#network-information">Network Information</a></li>
<li class="toctree-l2"><a class="reference internal" href="contributing.html#building-the-documentation">Building the Documentation</a></li>
<li class="toctree-l2"><a class="reference internal" href="contributing.html#contributors">Contributors</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="glossary.html">Glossary</a><ul>
<li class="toctree-l2"><a class="reference internal" href="glossary.html#condition">Condition</a></li>
<li class="toctree-l2"><a class="reference internal" href="glossary.html#position">Position</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="section" id="indices-and-tables">
<h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1>
<ul class="simple">
<li><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a></li>
</ul>
</div>
</div>
<div class="articleComments">
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="developer-guide.html" class="btn btn-neutral float-right" title="Developer Guide" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>
© Copyright 2018, Gnosis Ltd.
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'2.0.0-alpha.2',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
</script>
</body>
</html>