UNPKG

@gnosis.pm/pm-contracts

Version:

Collection of smart contracts for the Gnosis prediction market platform

330 lines (195 loc) 8.87 kB
<!DOCTYPE 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>Index &mdash; 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="#"/> <link rel="search" title="Search" href="search.html"/> <link rel="top" title="Gnosis Prediction Market Contracts 2.0.0-alpha.2 documentation" href="index.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="index.html" 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="index.html">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="index.html">Docs</a> &raquo;</li> <li>Index</li> <li class="wy-breadcrumbs-aside"> </li> </ul> <hr/> </div> <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> <div itemprop="articleBody"> <h1 id="index">Index</h1> <div class="genindex-jumpbox"> <a href="#B"><strong>B</strong></a> | <a href="#C"><strong>C</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#I"><strong>I</strong></a> | <a href="#M"><strong>M</strong></a> | <a href="#P"><strong>P</strong></a> | <a href="#R"><strong>R</strong></a> | <a href="#S"><strong>S</strong></a> </div> <h2 id="B">B</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#balanceOf(address,uint256)">balanceOf (function)</a> </li> </ul></td> </tr></table> <h2 id="C">C</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#ConditionPreparation(bytes32,address,bytes32,uint)">ConditionPreparation (event)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#ConditionResolution(bytes32,address,bytes32,uint,uint[])">ConditionResolution (event)</a> </li> </ul></td> </tr></table> <h2 id="G">G</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#getOutcomeSlotCount(bytes32)">getOutcomeSlotCount (function)</a> </li> </ul></td> </tr></table> <h2 id="I">I</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#isApprovedForAll(address,address)">isApprovedForAll (function)</a> </li> </ul></td> </tr></table> <h2 id="M">M</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#mergePositions(IERC20,bytes32,bytes32,uint[],uint)">mergePositions (function)</a> </li> </ul></td> </tr></table> <h2 id="P">P</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#PayoutRedemption(address,IERC20,bytes32,uint)">PayoutRedemption (event)</a> </li> <li><a href="developer-guide.html#PositionSplit(address,IERC20,bytes32,bytes32,uint[],uint)">PositionSplit (event)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#PositionsMerge(address,IERC20,bytes32,bytes32,uint[],uint)">PositionsMerge (event)</a> </li> <li><a href="developer-guide.html#payoutNumerators">payoutNumerators (statevar)</a> </li> <li><a href="developer-guide.html#prepareCondition(address,bytes32,uint)">prepareCondition (function)</a> </li> </ul></td> </tr></table> <h2 id="R">R</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#receiveResult(bytes32,bytes)">receiveResult (function)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#redeemPositions(IERC20,bytes32,bytes32,uint[])">redeemPositions (function)</a> </li> </ul></td> </tr></table> <h2 id="S">S</h2> <table style="width: 100%" class="indextable genindextable"><tr> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)">safeBatchTransferFrom (function)</a> </li> <li><a href="developer-guide.html#safeMulticastTransferFrom(address[],address[],uint256[],uint256[],bytes)">safeMulticastTransferFrom (function)</a> </li> </ul></td> <td style="width: 33%; vertical-align: top;"><ul> <li><a href="developer-guide.html#safeTransferFrom(address,address,uint256,uint256,bytes)">safeTransferFrom (function)</a> </li> <li><a href="developer-guide.html#setApprovalForAll(address,bool)">setApprovalForAll (function)</a> </li> <li><a href="developer-guide.html#splitPosition(IERC20,bytes32,bytes32,uint[],uint)">splitPosition (function)</a> </li> </ul></td> </tr></table> </div> <div class="articleComments"> </div> </div> <footer> <hr/> <div role="contentinfo"> <p> &copy; 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>