BasketClaimSliceDustTao

Storage Plain v468 → current

Rao value below which a root claim leaves its own slice of a row unsold.

Explore chain
Queried by: stakersvalidatorsdevelopersanalytics

The Big Picture

The row rule asks whether the position is too small to bother with; this rule asks whether the claimant's share of it is. A small holder in a large fund hits this one first.

Why This Matters

The same row can be worth selling for one claimant and not for another.

Example Scenario

A row worth 5 TAO is far above the row floor, but a claimant holding 0.001% of the fund has a slice worth 0.00005 TAO, under the slice floor, so the row is skipped for that claim.

Use Cases

  • Explain why a small claimant skipped rows a large claimant would have sold
  • Estimate the swap count of a claim before submitting it

From Chain Metadata

ITEM --> rao value below which a root claim skips a fund row for this claimant: when the claimant's pro-rata slice of the row is worth less than this at the anchored mark, the row is neither sold nor paid and the slice stays in the fund for the remaining holders. `0` disables the skip. Set via `AdminUtils::sudo_set_basket_claim_dust`.

Purpose & Usage

Purpose

Skips a row when the claimant pro-rata slice of it is rounding-sized, even though the row itself is not dust.

Common Query Patterns

  • Query to predict which rows a given claim will skip
  • Zero disables the slice rule

Notes

  • First appears at runtime v468. Default 100000 rao, which is 0.0001 TAO (lib.rs DEFAULT_BASKET_CLAIM_SLICE_DUST_TAO at v468).
  • The slice is the claimant pro-rata share of the row at the anchored mark, not the whole row.
  • Still bounded by BasketClaimForfeitCapTao: a slice above that cap is sold however small the row is.
  • The upstream source comment reports the calibration behind the default: on the finney claim flow a 0.0001 TAO floor removes about a fifth of the swaps while a median claim leaves under 1% of its value behind, where a 0.001 TAO floor would remove half the swaps but leave 12%.
  • Set together with the other three knobs by sudo_set_basket_claim_dust.

Stored Value

Value in RAO (÷10⁹ for TAO)

RAO -> TAO (/ 10^9)

Default Value

100000 0xa086010000000000

Absent keys read as this value — querying a key that has never been written returns this default, not an error or empty result.

Code Examples

import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Query BasketClaimSliceDustTao storage (no keys - plain value)
const result = await api.query.SubtensorModule.BasketClaimSliceDustTao.getValue();
console.log("BasketClaimSliceDustTao:", result);

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Plain
First Version
v468
Current Version
v490