Skip to content

Commit

Permalink
deploy: d0a6f44
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Oct 8, 2021
1 parent 75d5116 commit b69ebb5
Show file tree
Hide file tree
Showing 621 changed files with 5,574 additions and 5,555 deletions.
16 changes: 8 additions & 8 deletions packages/api/classes/client_utils.httpclient/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ <h3 id="methods">Methods<a class="headerlink" href="#methods" title="Permanent l
<h2 id="constructors_1">Constructors<a class="headerlink" href="#constructors_1" title="Permanent link"></a></h2>
<h3 id="constructor">constructor<a class="headerlink" href="#constructor" title="Permanent link"></a></h3>
<p>+ <strong>new HttpClient</strong>(<code>opts</code>: <a href="../../modules/client_utils/#httpclientoptions">HttpClientOptions</a>): <em><a href="./">HttpClient</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L45">packages/api/src/client/utils/httpClient.ts:45</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L45">packages/api/src/client/utils/httpClient.ts:45</a></em></p>
<p>timeoutMs = config.params.SECONDS_PER_SLOT * 1000</p>
<p><strong>Parameters:</strong></p>
<table>
Expand All @@ -408,24 +408,24 @@ <h2 id="properties_1">Properties<a class="headerlink" href="#properties_1" title
<h3 id="readonly-baseurl"><code>Readonly</code> baseUrl<a class="headerlink" href="#readonly-baseurl" title="Permanent link"></a></h3>
<p><strong>baseUrl</strong>: <em>string</em></p>
<p><em>Implementation of <a href="../../interfaces/client_utils.ihttpclient/">IHttpClient</a>.<a href="../../interfaces/client_utils.ihttpclient/#baseurl">baseUrl</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L42">packages/api/src/client/utils/httpClient.ts:42</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L42">packages/api/src/client/utils/httpClient.ts:42</a></em></p>
<hr/>
<h3 id="private-readonly-fetch"><code>Private</code> <code>Readonly</code> fetch<a class="headerlink" href="#private-readonly-fetch" title="Permanent link"></a></h3>
<p><strong>fetch</strong>: <em>typeof fetch</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L45">packages/api/src/client/utils/httpClient.ts:45</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L45">packages/api/src/client/utils/httpClient.ts:45</a></em></p>
<hr/>
<h3 id="private-optional-readonly-getabortsignal"><code>Private</code> <code>Optional</code> <code>Readonly</code> getAbortSignal<a class="headerlink" href="#private-optional-readonly-getabortsignal" title="Permanent link"></a></h3>
<p><strong>getAbortSignal</strong>? : <em>undefined | function</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L44">packages/api/src/client/utils/httpClient.ts:44</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L44">packages/api/src/client/utils/httpClient.ts:44</a></em></p>
<hr/>
<h3 id="private-readonly-timeoutms"><code>Private</code> <code>Readonly</code> timeoutMs<a class="headerlink" href="#private-readonly-timeoutms" title="Permanent link"></a></h3>
<p><strong>timeoutMs</strong>: <em>number</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L43">packages/api/src/client/utils/httpClient.ts:43</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L43">packages/api/src/client/utils/httpClient.ts:43</a></em></p>
<h2 id="methods_1">Methods<a class="headerlink" href="#methods_1" title="Permanent link"></a></h2>
<h3 id="arraybuffer">arrayBuffer<a class="headerlink" href="#arraybuffer" title="Permanent link"></a></h3>
<p><strong>arrayBuffer</strong>(<code>opts</code>: <a href="../../modules/client_utils/#fetchopts">FetchOpts</a>): <em>Promise‹ArrayBuffer›</em></p>
<p><em>Implementation of <a href="../../interfaces/client_utils.ihttpclient/">IHttpClient</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L61">packages/api/src/client/utils/httpClient.ts:61</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L61">packages/api/src/client/utils/httpClient.ts:61</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
Expand All @@ -446,7 +446,7 @@ <h3 id="arraybuffer">arrayBuffer<a class="headerlink" href="#arraybuffer" title=
<h3 id="json">json<a class="headerlink" href="#json" title="Permanent link"></a></h3>
<p><strong>json</strong><strong>T</strong>›(<code>opts</code>: <a href="../../modules/client_utils/#fetchopts">FetchOpts</a>): <em>Promise‹T›</em></p>
<p><em>Implementation of <a href="../../interfaces/client_utils.ihttpclient/">IHttpClient</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L57">packages/api/src/client/utils/httpClient.ts:57</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L57">packages/api/src/client/utils/httpClient.ts:57</a></em></p>
<p><strong>Type parameters:</strong></p>
<p><strong>T</strong></p>
<p><strong>Parameters:</strong></p>
Expand All @@ -468,7 +468,7 @@ <h3 id="json">json<a class="headerlink" href="#json" title="Permanent link">¶</
<hr/>
<h3 id="private-request"><code>Private</code> request<a class="headerlink" href="#private-request" title="Permanent link"></a></h3>
<p><strong>request</strong><strong>T</strong>›(<code>opts</code>: <a href="../../modules/client_utils/#fetchopts">FetchOpts</a>, <code>getBody</code>: function): <em>Promise‹T›</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L65">packages/api/src/client/utils/httpClient.ts:65</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L65">packages/api/src/client/utils/httpClient.ts:65</a></em></p>
<p><strong>Type parameters:</strong></p>
<p><strong>T</strong></p>
<p><strong>Parameters:</strong></p>
Expand Down
6 changes: 3 additions & 3 deletions packages/api/classes/client_utils.httperror/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ <h3 id="properties">Properties<a class="headerlink" href="#properties" title="Pe
<h2 id="constructors_1">Constructors<a class="headerlink" href="#constructors_1" title="Permanent link"></a></h2>
<h3 id="constructor">constructor<a class="headerlink" href="#constructor" title="Permanent link"></a></h3>
<p>+ <strong>new HttpError</strong>(<code>message</code>: string, <code>status</code>: number, <code>url</code>: string): <em><a href="./">HttpError</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L9">packages/api/src/client/utils/httpClient.ts:9</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L9">packages/api/src/client/utils/httpClient.ts:9</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
Expand Down Expand Up @@ -398,11 +398,11 @@ <h3 id="optional-stack"><code>Optional</code> stack<a class="headerlink" href="#
<hr/>
<h3 id="status">status<a class="headerlink" href="#status" title="Permanent link"></a></h3>
<p><strong>status</strong>: <em>number</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L8">packages/api/src/client/utils/httpClient.ts:8</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L8">packages/api/src/client/utils/httpClient.ts:8</a></em></p>
<hr/>
<h3 id="url">url<a class="headerlink" href="#url" title="Permanent link"></a></h3>
<p><strong>url</strong>: <em>string</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/client/utils/httpClient.ts#L9">packages/api/src/client/utils/httpClient.ts:9</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/client/utils/httpClient.ts#L9">packages/api/src/client/utils/httpClient.ts:9</a></em></p>
<hr/>
<h3 id="static-error"><code>Static</code> Error<a class="headerlink" href="#static-error" title="Permanent link"></a></h3>
<p><strong>Error</strong>: <em>ErrorConstructor</em></p>
Expand Down
16 changes: 8 additions & 8 deletions packages/api/classes/utils.stringtype/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ <h3 id="hashtreeroot">hashTreeRoot<a class="headerlink" href="#hashtreeroot" tit
<h3 id="serialize">serialize<a class="headerlink" href="#serialize" title="Permanent link"></a></h3>
<p><strong>serialize</strong>(): <em>Uint8Array</em></p>
<p><em>Overrides void</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/utils/StringType.ts#L23">packages/api/src/utils/StringType.ts:23</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/utils/StringType.ts#L23">packages/api/src/utils/StringType.ts:23</a></em></p>
<p><strong>Returns:</strong> <em>Uint8Array</em></p>
<hr/>
<h3 id="size">size<a class="headerlink" href="#size" title="Permanent link"></a></h3>
Expand Down Expand Up @@ -798,7 +798,7 @@ <h3 id="size">size<a class="headerlink" href="#size" title="Permanent link">¶</
<h3 id="struct_assertvalidvalue">struct_assertValidValue<a class="headerlink" href="#struct_assertvalidvalue" title="Permanent link"></a></h3>
<p><strong>struct_assertValidValue</strong>(<code>data</code>: unknown): <em>data is T</em></p>
<p><em>Overrides void</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/utils/StringType.ts#L19">packages/api/src/utils/StringType.ts:19</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/utils/StringType.ts#L19">packages/api/src/utils/StringType.ts:19</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
Expand Down Expand Up @@ -841,7 +841,7 @@ <h3 id="struct_clone">struct_clone<a class="headerlink" href="#struct_clone" tit
<h3 id="struct_convertfromjson">struct_convertFromJson<a class="headerlink" href="#struct_convertfromjson" title="Permanent link"></a></h3>
<p><strong>struct_convertFromJson</strong>(<code>data</code>: string): <em>T</em></p>
<p><em>Overrides void</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/utils/StringType.ts#L15">packages/api/src/utils/StringType.ts:15</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/utils/StringType.ts#L15">packages/api/src/utils/StringType.ts:15</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
Expand All @@ -862,7 +862,7 @@ <h3 id="struct_convertfromjson">struct_convertFromJson<a class="headerlink" href
<h3 id="struct_converttojson">struct_convertToJson<a class="headerlink" href="#struct_converttojson" title="Permanent link"></a></h3>
<p><strong>struct_convertToJson</strong>(<code>value</code>: T): <em>string</em></p>
<p><em>Overrides void</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/utils/StringType.ts#L11">packages/api/src/utils/StringType.ts:11</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/utils/StringType.ts#L11">packages/api/src/utils/StringType.ts:11</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
Expand All @@ -883,13 +883,13 @@ <h3 id="struct_converttojson">struct_convertToJson<a class="headerlink" href="#s
<h3 id="struct_defaultvalue">struct_defaultValue<a class="headerlink" href="#struct_defaultvalue" title="Permanent link"></a></h3>
<p><strong>struct_defaultValue</strong>(): <em>T</em></p>
<p><em>Overrides void</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/utils/StringType.ts#L35">packages/api/src/utils/StringType.ts:35</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/utils/StringType.ts#L35">packages/api/src/utils/StringType.ts:35</a></em></p>
<p><strong>Returns:</strong> <em>T</em></p>
<hr/>
<h3 id="struct_deserializefrombytes">struct_deserializeFromBytes<a class="headerlink" href="#struct_deserializefrombytes" title="Permanent link"></a></h3>
<p><strong>struct_deserializeFromBytes</strong>(): <em>T</em></p>
<p><em>Overrides void</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/utils/StringType.ts#L31">packages/api/src/utils/StringType.ts:31</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/utils/StringType.ts#L31">packages/api/src/utils/StringType.ts:31</a></em></p>
<p><strong>Returns:</strong> <em>T</em></p>
<hr/>
<h3 id="optional-struct_deserializefromhashobject"><code>Optional</code> struct_deserializeFromHashObject<a class="headerlink" href="#optional-struct_deserializefromhashobject" title="Permanent link"></a></h3>
Expand Down Expand Up @@ -946,7 +946,7 @@ <h3 id="struct_equals">struct_equals<a class="headerlink" href="#struct_equals"
<h3 id="struct_getserializedlength">struct_getSerializedLength<a class="headerlink" href="#struct_getserializedlength" title="Permanent link"></a></h3>
<p><strong>struct_getSerializedLength</strong>(<code>data?</code>: undefined | string): <em>number</em></p>
<p><em>Overrides void</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/utils/StringType.ts#L7">packages/api/src/utils/StringType.ts:7</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/utils/StringType.ts#L7">packages/api/src/utils/StringType.ts:7</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
Expand Down Expand Up @@ -989,7 +989,7 @@ <h3 id="struct_hashtreeroot">struct_hashTreeRoot<a class="headerlink" href="#str
<h3 id="struct_serializetobytes">struct_serializeToBytes<a class="headerlink" href="#struct_serializetobytes" title="Permanent link"></a></h3>
<p><strong>struct_serializeToBytes</strong>(): <em>number</em></p>
<p><em>Overrides void</em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/utils/StringType.ts#L27">packages/api/src/utils/StringType.ts:27</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/utils/StringType.ts#L27">packages/api/src/utils/StringType.ts:27</a></em></p>
<p><strong>Returns:</strong> <em>number</em></p>
<hr/>
<h3 id="optional-struct_serializetohashobject"><code>Optional</code> struct_serializeToHashObject<a class="headerlink" href="#optional-struct_serializetohashobject" title="Permanent link"></a></h3>
Expand Down
12 changes: 6 additions & 6 deletions packages/api/enums/routes.eventtype/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,35 +322,35 @@ <h3 id="enumeration-members">Enumeration members<a class="headerlink" href="#enu
<h2 id="enumeration-members_1">Enumeration members<a class="headerlink" href="#enumeration-members_1" title="Permanent link"></a></h2>
<h3 id="attestation">attestation<a class="headerlink" href="#attestation" title="Permanent link"></a></h3>
<p><strong>attestation</strong>: = "attestation"</p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/routes/events.ts#L18">packages/api/src/routes/events.ts:18</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/routes/events.ts#L18">packages/api/src/routes/events.ts:18</a></em></p>
<p>The node has received a valid attestation (from P2P or API)</p>
<hr/>
<h3 id="block">block<a class="headerlink" href="#block" title="Permanent link"></a></h3>
<p><strong>block</strong>: = "block"</p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/routes/events.ts#L16">packages/api/src/routes/events.ts:16</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/routes/events.ts#L16">packages/api/src/routes/events.ts:16</a></em></p>
<p>The node has received a valid block (from P2P or API)</p>
<hr/>
<h3 id="chainreorg">chainReorg<a class="headerlink" href="#chainreorg" title="Permanent link"></a></h3>
<p><strong>chainReorg</strong>: = "chain_reorg"</p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/routes/events.ts#L24">packages/api/src/routes/events.ts:24</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/routes/events.ts#L24">packages/api/src/routes/events.ts:24</a></em></p>
<p>The node has reorganized its chain</p>
<hr/>
<h3 id="finalizedcheckpoint">finalizedCheckpoint<a class="headerlink" href="#finalizedcheckpoint" title="Permanent link"></a></h3>
<p><strong>finalizedCheckpoint</strong>: = "finalized_checkpoint"</p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/routes/events.ts#L22">packages/api/src/routes/events.ts:22</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/routes/events.ts#L22">packages/api/src/routes/events.ts:22</a></em></p>
<p>Finalized checkpoint has been updated</p>
<hr/>
<h3 id="head">head<a class="headerlink" href="#head" title="Permanent link"></a></h3>
<p><strong>head</strong>: = "head"</p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/routes/events.ts#L14">packages/api/src/routes/events.ts:14</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/routes/events.ts#L14">packages/api/src/routes/events.ts:14</a></em></p>
<p>The node has finished processing, resulting in a new head. previous_duty_dependent_root is
<code>get_block_root_at_slot(state, compute_start_slot_at_epoch(epoch - 1) - 1)</code> and
current_duty_dependent_root is <code>get_block_root_at_slot(state, compute_start_slot_at_epoch(epoch) - 1)</code>.
Both dependent roots use the genesis block root in the case of underflow.</p>
<hr/>
<h3 id="voluntaryexit">voluntaryExit<a class="headerlink" href="#voluntaryexit" title="Permanent link"></a></h3>
<p><strong>voluntaryExit</strong>: = "voluntary_exit"</p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/8717538/packages/api/src/routes/events.ts#L20">packages/api/src/routes/events.ts:20</a></em></p>
<p><em>Defined in <a href="https://github.com/ChainSafe/lodestar/blob/d0a6f44/packages/api/src/routes/events.ts#L20">packages/api/src/routes/events.ts:20</a></em></p>
<p>The node has received a valid voluntary exit (from P2P or API)</p>
</article>
</div>
Expand Down
Loading

0 comments on commit b69ebb5

Please sign in to comment.