Skip to content

Commit 8233f58

Browse files
wip
1 parent 2dd606c commit 8233f58

File tree

16 files changed

+875
-135
lines changed

16 files changed

+875
-135
lines changed

static/python-api/html/autoapi/bittensor/core/async_subtensor/index.html

Lines changed: 177 additions & 104 deletions
Large diffs are not rendered by default.

static/python-api/html/autoapi/bittensor/core/extrinsics/asyncex/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Link to this headi
427427
<li class="toctree-l1"><a class="reference internal" href="take/index.html">bittensor.core.extrinsics.asyncex.take</a></li>
428428
<li class="toctree-l1"><a class="reference internal" href="transfer/index.html">bittensor.core.extrinsics.asyncex.transfer</a></li>
429429
<li class="toctree-l1"><a class="reference internal" href="unstaking/index.html">bittensor.core.extrinsics.asyncex.unstaking</a></li>
430+
<li class="toctree-l1"><a class="reference internal" href="utils/index.html">bittensor.core.extrinsics.asyncex.utils</a></li>
430431
<li class="toctree-l1"><a class="reference internal" href="weights/index.html">bittensor.core.extrinsics.asyncex.weights</a></li>
431432
</ul>
432433
</div>

static/python-api/html/autoapi/bittensor/core/extrinsics/asyncex/move_stake/index.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -438,23 +438,24 @@ <h2>Functions<a class="headerlink" href="#functions" title="Link to this heading
438438
<h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to this heading">#</a></h2>
439439
<dl class="py function">
440440
<dt class="sig sig-object py" id="bittensor.core.extrinsics.asyncex.move_stake.move_stake_extrinsic">
441-
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">bittensor.core.extrinsics.asyncex.move_stake.</span></span><span class="sig-name descname"><span class="pre">move_stake_extrinsic</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">subtensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">wallet</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">origin_hotkey</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">origin_netuid</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">destination_hotkey</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">destination_netuid</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">amount</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">wait_for_inclusion</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">wait_for_finalization</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">period</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../../../../../_modules/bittensor/core/extrinsics/asyncex/move_stake.html#move_stake_extrinsic"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#bittensor.core.extrinsics.asyncex.move_stake.move_stake_extrinsic" title="Link to this definition">#</a></dt>
441+
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">bittensor.core.extrinsics.asyncex.move_stake.</span></span><span class="sig-name descname"><span class="pre">move_stake_extrinsic</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">subtensor</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">wallet</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">origin_hotkey</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">origin_netuid</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">destination_hotkey</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">destination_netuid</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">amount</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">wait_for_inclusion</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">wait_for_finalization</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">period</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">move_all_stake</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../../../../../_modules/bittensor/core/extrinsics/asyncex/move_stake.html#move_stake_extrinsic"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#bittensor.core.extrinsics.asyncex.move_stake.move_stake_extrinsic" title="Link to this definition">#</a></dt>
442442
<dd><p>Moves stake from one hotkey to another within subnets in the Bittensor network.</p>
443443
<dl class="field-list simple">
444444
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
445445
<dd class="field-odd"><ul class="simple">
446-
<li><p><strong>subtensor</strong> (<a class="reference internal" href="../../../subtensor/index.html#bittensor.core.subtensor.Subtensor" title="bittensor.core.subtensor.Subtensor"><em>Subtensor</em></a>) – The subtensor instance to interact with the blockchain.</p></li>
447-
<li><p><strong>wallet</strong> (<em>Wallet</em>) – The wallet containing the coldkey to authorize the move.</p></li>
446+
<li><p><strong>subtensor</strong> (<a class="reference internal" href="../../../async_subtensor/index.html#bittensor.core.async_subtensor.AsyncSubtensor" title="bittensor.core.async_subtensor.AsyncSubtensor"><em>bittensor.core.async_subtensor.AsyncSubtensor</em></a>) – The subtensor instance to interact with the blockchain.</p></li>
447+
<li><p><strong>wallet</strong> (<em>bittensor_wallet.Wallet</em>) – The wallet containing the coldkey to authorize the move.</p></li>
448448
<li><p><strong>origin_hotkey</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – SS58 address of the origin hotkey associated with the stake.</p></li>
449449
<li><p><strong>origin_netuid</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Network UID of the origin subnet.</p></li>
450450
<li><p><strong>destination_hotkey</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)"><em>str</em></a>) – SS58 address of the destination hotkey.</p></li>
451451
<li><p><strong>destination_netuid</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a>) – Network UID of the destination subnet.</p></li>
452-
<li><p><strong>amount</strong> (<a class="reference internal" href="../../../../utils/balance/index.html#bittensor.utils.balance.Balance" title="bittensor.utils.balance.Balance"><em>Balance</em></a>) – The amount of stake to move as a <cite>Balance</cite> object.</p></li>
452+
<li><p><strong>amount</strong> (<a class="reference internal" href="../../../../utils/balance/index.html#bittensor.utils.balance.Balance" title="bittensor.utils.balance.Balance"><em>bittensor.utils.balance.Balance</em></a>) – The amount of stake to move as a <cite>Balance</cite> object.</p></li>
453453
<li><p><strong>wait_for_inclusion</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If True, waits for transaction inclusion in a block. Defaults to True.</p></li>
454454
<li><p><strong>wait_for_finalization</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If True, waits for transaction finalization. Defaults to False.</p></li>
455-
<li><p><strong>period</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The number of blocks during which the transaction will remain valid after it’s submitted. If
456-
the transaction is not included in a block within that number of blocks, it will expire and be rejected.
457-
You can think of it as an expiration date for the transaction.</p></li>
455+
<li><p><strong>period</strong> (<em>Optional</em><em>[</em><a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.13)"><em>int</em></a><em>]</em>) – The number of blocks during which the transaction will remain valid after it’s submitted. If the
456+
transaction is not included in a block within that number of blocks, it will expire and be rejected. You can
457+
think of it as an expiration date for the transaction.</p></li>
458+
<li><p><strong>move_all_stake</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.13)"><em>bool</em></a>) – If true, moves all stake from the source hotkey to the destination hotkey.</p></li>
458459
</ul>
459460
</dd>
460461
<dt class="field-even">Returns<span class="colon">:</span></dt>

static/python-api/html/autoapi/bittensor/core/extrinsics/asyncex/unstaking/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<script>DOCUMENTATION_OPTIONS.pagename = 'autoapi/bittensor/core/extrinsics/asyncex/unstaking/index';</script>
4949
<link rel="index" title="Index" href="../../../../../../genindex.html" />
5050
<link rel="search" title="Search" href="../../../../../../search.html" />
51-
<link rel="next" title="bittensor.core.extrinsics.asyncex.weights" href="../weights/index.html" />
51+
<link rel="next" title="bittensor.core.extrinsics.asyncex.utils" href="../utils/index.html" />
5252
<link rel="prev" title="bittensor.core.extrinsics.asyncex.transfer" href="../transfer/index.html" />
5353
<meta name="viewport" content="width=device-width, initial-scale=1"/>
5454
<meta name="docsearch:language" content="en"/>
@@ -560,11 +560,11 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Link to
560560
</div>
561561
</a>
562562
<a class="right-next"
563-
href="../weights/index.html"
563+
href="../utils/index.html"
564564
title="next page">
565565
<div class="prev-next-info">
566566
<p class="prev-next-subtitle">next</p>
567-
<p class="prev-next-title">bittensor.core.extrinsics.asyncex.weights</p>
567+
<p class="prev-next-title">bittensor.core.extrinsics.asyncex.utils</p>
568568
</div>
569569
<i class="fa-solid fa-angle-right"></i>
570570
</a>

0 commit comments

Comments
 (0)