This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpath---classes-contracts-models-distribution-distribution-8ce865312783b9cca3ba.js
1 lines (1 loc) · 21.4 KB
/
path---classes-contracts-models-distribution-distribution-8ce865312783b9cca3ba.js
1
webpackJsonp([0xb60e879ebac7],{433:function(t,e){t.exports={data:{postBySlug:{html:'<p><a href="/quick_start">@rigoblock/api</a> > <a href="/modules/_contracts_models_distribution_">"contracts/models/distribution"</a> > <a href="/classes/_contracts_models_distribution_.distribution">Distribution</a></p>\n<h1 id="class-distribution"><a href="#class-distribution" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Class: Distribution</h1>\n<h2 id="hierarchy"><a href="#hierarchy" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Hierarchy</h2>\n<p> <a href="_contracts_basecontract_.basecontract">BaseContract</a><<a href="/enums/_contracts_models_distribution_.distributionevents">DistributionEvents</a>></p>\n<p><strong>↳ Distribution</strong></p>\n<h2 id="index"><a href="#index" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Index</h2>\n<h3 id="constructors"><a href="#constructors" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Constructors</h3>\n<ul>\n<li><a href="_contracts_models_distribution_.distribution#constructor">constructor</a></li>\n</ul>\n<h3 id="properties"><a href="#properties" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Properties</h3>\n<ul>\n<li><a href="_contracts_models_distribution_.distribution#rawweb3contract">rawWeb3Contract</a></li>\n<li><a href="_contracts_models_distribution_.distribution#address">address</a></li>\n</ul>\n<h3 id="methods"><a href="#methods" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Methods</h3>\n<ul>\n<li><a href="_contracts_models_distribution_.distribution#subscriptionevent">SubscriptionEvent</a></li>\n<li><a href="_contracts_models_distribution_.distribution#allevents">allEvents</a></li>\n<li><a href="_contracts_models_distribution_.distribution#getfee">getFee</a></li>\n<li><a href="_contracts_models_distribution_.distribution#getpastevents">getPastEvents</a></li>\n<li><a href="_contracts_models_distribution_.distribution#once">once</a></li>\n<li><a href="_contracts_models_distribution_.distribution#setfee">setFee</a></li>\n<li><a href="_contracts_models_distribution_.distribution#subscribe">subscribe</a></li>\n<li><a href="_contracts_models_distribution_.distribution#createandvalidate">createAndValidate</a></li>\n<li><a href="_contracts_models_distribution_.distribution#isdeployed">isDeployed</a></li>\n</ul>\n<hr>\n<h2 id="constructors-1"><a href="#constructors-1" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Constructors</h2>\n<p><a id="constructor"></a></p>\n<h3 id="constructor"><a href="#constructor" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>constructor</h3>\n<p>⊕ <strong>new Distribution</strong>(web3: <em><code class="language-text">any</code></em>, address: <em><code class="language-text">string</code></em>): <a href="_contracts_models_distribution_.distribution">Distribution</a></p>\n<p><strong>Parameters:</strong></p>\n<table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>web3</td>\n<td><code class="language-text">any</code></td>\n</tr>\n<tr>\n<td>address</td>\n<td><code class="language-text">string</code></td>\n</tr>\n</tbody>\n</table>\n<p><strong>Returns:</strong> <a href="_contracts_models_distribution_.distribution">Distribution</a></p>\n<hr>\n<h2 id="properties-1"><a href="#properties-1" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Properties</h2>\n<p><a id="rawweb3contract"></a></p>\n<h3 id="rawweb3contract"><a href="#rawweb3contract" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>rawWeb3Contract</h3>\n<p><strong>● rawWeb3Contract</strong>: <em><code class="language-text">any</code></em></p>\n<hr>\n<p><a id="address"></a></p>\n<h3 id="code-classlanguage-textltstaticgtcode-address"><a href="#code-classlanguage-textltstaticgtcode-address" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code class="language-text"><Static></code> address</h3>\n<p><strong>● address</strong>: <em><code class="language-text">string</code></em></p>\n<hr>\n<h2 id="methods-1"><a href="#methods-1" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Methods</h2>\n<p><a id="subscriptionevent"></a></p>\n<h3 id="subscriptionevent"><a href="#subscriptionevent" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>SubscriptionEvent</h3>\n<p>▸ <strong>SubscriptionEvent</strong>(options?: <em><a href="/interfaces/_contracts_basecontract_.eventoptions">EventOptions</a></em>, cb?: <em><code class="language-text">Function</code></em>): <code class="language-text">any</code></p>\n<p><strong>Parameters:</strong></p>\n<table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class="language-text">Optional</code>\n options</td>\n<td><a href="/interfaces/_contracts_basecontract_.eventoptions">EventOptions</a></td>\n</tr>\n<tr>\n<td><code class="language-text">Optional</code>\n cb</td>\n<td><code class="language-text">Function</code></td>\n</tr>\n</tbody>\n</table>\n<p><strong>Returns:</strong> <code class="language-text">any</code></p>\n<hr>\n<p><a id="allevents"></a></p>\n<h3 id="allevents"><a href="#allevents" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>allEvents</h3>\n<p>▸ <strong>allEvents</strong>(options?: <em><a href="/interfaces/_contracts_basecontract_.eventoptions">EventOptions</a></em>, cb?: <em><code class="language-text">Function</code></em>): <code class="language-text">Promise</code><<code class="language-text">EventEmitter</code>></p>\n<p><strong>Parameters:</strong></p>\n<table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code class="language-text">Optional</code>\n options</td>\n<td><a href="/interfaces/_contracts_basecontract_.eventoptions">EventOptions</a></td>\n</tr>\n<tr>\n<td><code class="language-text">Optional</code>\n cb</td>\n<td><code class="language-text">Function</code></td>\n</tr>\n</tbody>\n</table>\n<p><strong>Returns:</strong> <code class="language-text">Promise</code><<code class="language-text">EventEmitter</code>></p>\n<hr>\n<p><a id="getfee"></a></p>\n<h3 id="getfee"><a href="#getfee" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>getFee</h3>\n<p>▸ <strong>getFee</strong>(_distributor: <em><code class="language-text">string</code></em>): <code class="language-text">Promise</code><<code class="language-text">BigNumber</code>></p>\n<p><strong>Parameters:</strong></p>\n<table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>_distributor</td>\n<td><code class="language-text">string</code></td>\n</tr>\n</tbody>\n</table>\n<p><strong>Returns:</strong> <code class="language-text">Promise</code><<code class="language-text">BigNumber</code>></p>\n<hr>\n<p><a id="getpastevents"></a></p>\n<h3 id="getpastevents"><a href="#getpastevents" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>getPastEvents</h3>\n<p>▸ <strong>getPastEvents</strong>(eventName: <em><a href="/enums/_contracts_models_distribution_.distributionevents">DistributionEvents</a></em>, options?: <em><a href="/interfaces/_contracts_basecontract_.eventoptions">EventOptions</a></em>): <code class="language-text">Promise</code><<code class="language-text">EventLog</code>[]></p>\n<p><strong>Parameters:</strong></p>\n<table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>eventName</td>\n<td><a href="/enums/_contracts_models_distribution_.distributionevents">DistributionEvents</a></td>\n</tr>\n<tr>\n<td><code class="language-text">Optional</code>\n options</td>\n<td><a href="/interfaces/_contracts_basecontract_.eventoptions">EventOptions</a></td>\n</tr>\n</tbody>\n</table>\n<p><strong>Returns:</strong> <code class="language-text">Promise</code><<code class="language-text">EventLog</code>[]></p>\n<hr>\n<p><a id="once"></a></p>\n<h3 id="once"><a href="#once" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>once</h3>\n<p>▸ <strong>once</strong>(eventName: <em><a href="/enums/_contracts_models_distribution_.distributionevents">DistributionEvents</a></em>, options?: <em><a href="/interfaces/_contracts_basecontract_.eventoptions">EventOptions</a></em>, cb?: <em><code class="language-text">Function</code></em>): <code class="language-text">Promise</code><<code class="language-text">EventEmitter</code>></p>\n<p><strong>Parameters:</strong></p>\n<table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>eventName</td>\n<td><a href="/enums/_contracts_models_distribution_.distributionevents">DistributionEvents</a></td>\n</tr>\n<tr>\n<td><code class="language-text">Optional</code>\n options</td>\n<td><a href="/interfaces/_contracts_basecontract_.eventoptions">EventOptions</a></td>\n</tr>\n<tr>\n<td><code class="language-text">Optional</code>\n cb</td>\n<td><code class="language-text">Function</code></td>\n</tr>\n</tbody>\n</table>\n<p><strong>Returns:</strong> <code class="language-text">Promise</code><<code class="language-text">EventEmitter</code>></p>\n<hr>\n<p><a id="setfee"></a></p>\n<h3 id="setfee"><a href="#setfee" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>setFee</h3>\n<p>▸ <strong>setFee</strong>(_fee: <em><code class="language-text">BigNumber</code></em>, _distributor: <em><code class="language-text">string</code></em>): <code class="language-text">Promise</code><<code class="language-text">TransactionObject</code><<code class="language-text">void</code>>></p>\n<p><strong>Parameters:</strong></p>\n<table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>_fee</td>\n<td><code class="language-text">BigNumber</code></td>\n</tr>\n<tr>\n<td>_distributor</td>\n<td><code class="language-text">string</code></td>\n</tr>\n</tbody>\n</table>\n<p><strong>Returns:</strong> <code class="language-text">Promise</code><<code class="language-text">TransactionObject</code><<code class="language-text">void</code>>></p>\n<hr>\n<p><a id="subscribe"></a></p>\n<h3 id="subscribe"><a href="#subscribe" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>subscribe</h3>\n<p>▸ <strong>subscribe</strong>(_pool: <em><code class="language-text">string</code></em>, _distributor: <em><code class="language-text">string</code></em>, _buyer: <em><code class="language-text">string</code></em>): <code class="language-text">Promise</code><<code class="language-text">TransactionObject</code><<code class="language-text">void</code>>></p>\n<p><strong>Parameters:</strong></p>\n<table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>_pool</td>\n<td><code class="language-text">string</code></td>\n</tr>\n<tr>\n<td>_distributor</td>\n<td><code class="language-text">string</code></td>\n</tr>\n<tr>\n<td>_buyer</td>\n<td><code class="language-text">string</code></td>\n</tr>\n</tbody>\n</table>\n<p><strong>Returns:</strong> <code class="language-text">Promise</code><<code class="language-text">TransactionObject</code><<code class="language-text">void</code>>></p>\n<hr>\n<p><a id="createandvalidate"></a></p>\n<h3 id="code-classlanguage-textltstaticgtcode-createandvalidate"><a href="#code-classlanguage-textltstaticgtcode-createandvalidate" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code class="language-text"><Static></code> createAndValidate</h3>\n<p>▸ <strong>createAndValidate</strong>(web3: <em><code class="language-text">any</code></em>, address: <em><code class="language-text">string</code></em>): <code class="language-text">Promise</code><<a href="_contracts_models_distribution_.distribution">Distribution</a>></p>\n<p><strong>Parameters:</strong></p>\n<table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>web3</td>\n<td><code class="language-text">any</code></td>\n</tr>\n<tr>\n<td>address</td>\n<td><code class="language-text">string</code></td>\n</tr>\n</tbody>\n</table>\n<p><strong>Returns:</strong> <code class="language-text">Promise</code><<a href="_contracts_models_distribution_.distribution">Distribution</a>></p>\n<hr>\n<p><a id="isdeployed"></a></p>\n<h3 id="code-classlanguage-textltstaticgtcode-isdeployed"><a href="#code-classlanguage-textltstaticgtcode-isdeployed" aria-hidden="true" class="anchor"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code class="language-text"><Static></code> isDeployed</h3>\n<p>▸ <strong>isDeployed</strong>(): <code class="language-text">boolean</code></p>\n<p><strong>Returns:</strong> <code class="language-text">boolean</code></p>\n<hr>'}},pathContext:{slug:"/classes/_contracts_models_distribution_.distribution",category:"API reference"}}}});