OwnerCutAutoLockEnabled
Storage Map v411 → current NewPer-subnet flag controlling whether owner cut auto-locks into OwnerLock. MAP (netuid ) → bool, default true.
Explore chainQueried by: subnet ownersanalytics
The Big Picture
Auto-lock on (the default) reinforces owner conviction over time. Off means the owner takes liquid alpha they can redirect or sell.
Use Cases
- Confirm whether owner cut feeds OwnerLock or arrives as liquid alpha
- Track which subnets have owners opting for liquid cut
From Chain Metadata
MAP ( netuid ) --> bool | Whether subnet owner cut should be auto-locked. Missing entries default to true, so auto-locking is enabled unless explicitly disabled.
Purpose & Usage
Purpose
Decides whether the subnet's owner-cut share is automatically locked (building conviction) or paid out liquid.
Common Query Patterns
- Query OwnerCutAutoLockEnabled[netuid]
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
bool (bool)
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 OwnerCutAutoLockEnabled storage
const netuid = 1;
const result = await api.query.SubtensorModule.OwnerCutAutoLockEnabled.getValue(netuid);
console.log("OwnerCutAutoLockEnabled:", result);Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v411
- Current Version
- v411