DecayingOwnerLock

Storage Map v411 → current New

Total decaying lock to the owner hotkey for a subnet . MAP (netuid ) → LockState.

Explore chain
Queried by: subnet ownersanalytics

The Big Picture

The decaying portion of OwnerLock. Owners with high DecayingOwnerLock relative to OwnerLock are exposed to time-decay erosion of their position.

Use Cases

  • Project subnet ownership stability as the decaying portion erodes
  • Track the perpetual vs decaying split of owner conviction

From Chain Metadata

MAP ( netuid ) --> LockState | Total decaying lock to the owner hotkey for a subnet.

Purpose & Usage

Purpose

Subset of OwnerLock that is still subject to decay; the rest is held perpetually.

Common Query Patterns

  • Query DecayingOwnerLock[netuid]
Part of: Lock & Conviction

Query Keys

#NameTypeDescription
1
netuid
u16 netuid (u16, hashed key component)

Stored Value

LockState (LockState)

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 DecayingOwnerLock storage
const netuid = 1;

const result = await api.query.SubtensorModule.DecayingOwnerLock.getValue(netuid);
console.log("DecayingOwnerLock:", result);

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v411
Current Version
v411