Reference / Storage

Storage Reference

311 storage items across 31 pallets · Runtime v393

Showing 311 of 388 storage items

System 19 storage

SubtensorModule 194 storage

AccumulatedLeaseDividends

Map

Accumulated dividends pending distribution for subnet leases.

Active

Map

Whether neurons are active on a subnet.

ActivityCutoff

Map

Blocks of inactivity before pruning.

AdjustmentAlpha

Map

Alpha for difficulty adjustment algorithm.

AdjustmentInterval

Map

Blocks between difficulty adjustments.

AdminFreezeWindow

Plain

Window length at tempo end during which admin operations are frozen.

Alpha

Map

Alpha stake for a coldkey-hotkey pair on a subnet.

AlphaDividendsPerSubnet

Map

Alpha dividends per hotkey per subnet.

AlphaMapLastKey

Plain

Last key used for Alpha storage map iteration.

AlphaSigmoidSteepness

Map

Steepness parameter for the alpha sigmoid function per subnet.

AlphaValues

Map

Alpha low and high bounds per subnet.

AssociatedEvmAddress

Map

EVM address associated with a neuron position.

AutoStakeDestination

Map

Auto-stake destination hotkey for a coldkey on a subnet.

AutoStakeDestinationColdkeys

Map

Coldkeys using auto-stake on a subnet.

Axons

Map

Axon server info for neurons.

BlockAtRegistration

Map

Block number when a neuron registered.

BlockEmission

Plain

TAO emitted per block.

BlocksSinceLastStep

Map

Blocks since last emission step.

Bonds

Map

Bond values between neurons.

BondsMovingAverage

Map

Moving average period for bonds.

BondsPenalty

Map

Penalty factor applied to bonds per subnet.

BondsResetOn

Map

Whether bonds reset is enabled for a subnet.

Burn

Map

Burn amount for registration.

BurnRegistrationsThisInterval

Map

Burn registrations in current interval.

ChildKeys

Map

Child hotkeys and proportions for a parent hotkey on a subnet.

ChildkeyTake

Map

Take rate for a child hotkey on a subnet.

CKBurn

Plain

Childkey burn cost.

ColdkeySwapAnnouncementDelay

Plain

The delay after an announcement before a coldkey swap can be performed.

ColdkeySwapAnnouncements

Map

A map of the coldkey swap announcements from a coldkey

ColdkeySwapDisputes

Map

A map of the coldkey swap disputes from a coldkey to the

ColdkeySwapReannouncementDelay

Plain

The delay after the initial delay has passed before a new announcement can be made.

CommitRevealWeightsEnabled

Map

Whether commit-reveal weights is enabled per subnet.

CommitRevealWeightsVersion

Plain

Current version of the commit-reveal weights protocol.

Consensus

Map

Consensus scores for neurons on a subnet.

CRV3WeightCommits

Map

Commit-reveal v3 weight commits storage (deprecated).

CRV3WeightCommitsV2

Map

Commit-reveal v3.2 weight commits storage (deprecated).

Delegates

Map

Whether a hotkey is a delegate (accepts stake).

Difficulty

Map

POW difficulty for registration.

DissolveNetworkScheduleDuration

Plain

Duration before scheduled network dissolution executes.

Dividends

Map

Dividend scores for neurons on a subnet.

EMAPriceHalvingBlocks

Map

Blocks for EMA price to halve per subnet.

Emission

Map

Emission amounts for neurons on a subnet.

FirstEmissionBlockNumber

Map

Block number of first emission for a subnet.

FlowEmaSmoothingFactor

Plain

EMA smoothing factor for TAO flow calculations.

FlowNormExponent

Plain

Normalization exponent for TAO flow calculations.

HasMigrationRun

Map

Tracks which migrations have been executed.

IdentitiesV2

Map

Identity metadata for coldkey accounts (v2).

ImmuneOwnerUidsLimit

Map

Maximum UIDs a subnet owner can make immune from pruning.

ImmunityPeriod

Map

Immunity period for new neurons (blocks).

Incentive

Map

Incentive scores for neurons on a subnet.

IsNetworkMember

Map

Whether a hotkey is registered on a subnet.

Kappa

Map

Kappa parameter for consensus.

Keys

Map

Hotkey at a specific UID on a subnet.

LargestLocked

Map

Largest amount locked on a subnet.

LastAdjustmentBlock

Map

Block of last difficulty/burn adjustment per subnet.

LastColdkeyHotkeyStakeBlock

Map

Block when stake was last added/removed for a coldkey-hotkey pair.

LastHotkeyEmissionOnNetuid

Map

Block of last emission received by a hotkey on a subnet.

LastHotkeySwapOnNetuid

Map

Block of last hotkey swap on a subnet.

LastMechansimStepBlock

Map

Last block when emission mechanism stepped.

LastRateLimitedBlock

Map

Block of last rate-limited operation by key type.

LastTxBlock

Map

Block of last transaction for an account.

LastTxBlockChildKeyTake

Map

Block of last childkey take change for an account.

LastTxBlockDelegateTake

Map

Block of last delegate take change for an account.

LastUpdate

Map

Block number of last weight update for a neuron.

LiquidAlphaOn

Map

Whether Liquid Alpha is enabled per subnet.

LoadedEmission

Map

Preloaded emission data for a subnet.

MaxAllowedUids

Map

Maximum neurons allowed on subnet.

MaxAllowedValidators

Map

Maximum validators on a subnet.

MaxBurn

Map

Maximum burn for registration.

MaxChildkeyTake

Plain

Maximum allowed child key take rate.

MaxDelegateTake

Plain

Maximum allowed delegate take rate.

MaxDifficulty

Map

Maximum POW difficulty.

MaxMechanismCount

Plain

ITEM( max_mechanism_count )

MaxRegistrationsPerBlock

Map

Maximum registrations allowed per block.

MaxWeightsLimit

Map

Maximum weights a validator can set.

MechanismCountCurrent

Map

Current number of mechanisms active on a subnet.

MechanismEmissionSplit

Map

Emission distribution ratios between mechanisms per subnet.

MinActivityCutoff

Plain

Minimum activity required for neurons to remain registered.

MinAllowedUids

Map

Minimum UIDs a subnet must maintain.

MinAllowedWeights

Map

Minimum weights a validator must set.

MinBurn

Map

Minimum burn for registration.

MinChildkeyTake

Plain

Minimum allowed child key take rate.

MinDelegateTake

Plain

Minimum allowed delegate take rate.

MinDifficulty

Map

Minimum POW difficulty.

MinNonImmuneUids

Map

Minimum non-immune UIDs required per subnet.

NetworkImmunityPeriod

Plain

Immunity period for new subnets.

NetworkLastLockCost

Plain

Last subnet creation lock cost.

NetworkLockReductionInterval

Plain

Blocks between lock cost reductions.

NetworkMinLockCost

Plain

Minimum TAO lock to create subnet.

NetworkPowRegistrationAllowed

Map

Whether PoW registration is allowed per subnet.

NetworkRateLimit

Plain

Blocks between allowed subnet creations.

NetworkRegisteredAt

Map

Block when subnet was registered.

NetworkRegistrationAllowed

Map

Whether registration is allowed per subnet.

NetworkRegistrationStartBlock

Plain

Block when network registration opens.

NetworksAdded

Map

Whether a subnet with given netuid exists.

NeuronCertificates

Map

TLS/SSL certificates for neurons.

NextStakeJobId

Plain

Next ID for staking job queue.

NextSubnetLeaseId

Plain

Next ID for subnet lease creation.

NominatorMinRequiredStake

Plain

Minimum stake required for nominators.

NumRootClaim

Plain

Counter for root claim operations.

NumStakingColdkeys

Plain

Total count of unique coldkeys with stake.

OwnedHotkeys

Map

List of hotkeys owned by a coldkey.

Owner

Map

Coldkey owner of a hotkey.

OwnerHyperparamRateLimit

Plain

Rate limit for owner hyperparameter changes in epochs.

ParentKeys

Map

Parent hotkeys for a child hotkey on a subnet.

PendingChildKeyCooldown

Plain

Cooldown period for pending childkey operations.

PendingChildKeys

Map

Scheduled child key changes awaiting execution.

PendingOwnerCut

Map

Pending owner cut emissions per subnet.

PendingRootAlphaDivs

Map

Pending root alpha dividends per subnet.

PendingServerEmission

Map

Pending miner (server) emissions per subnet.

PendingValidatorEmission

Map

Pending validator emissions per subnet.

POWRegistrationsThisInterval

Map

POW registrations in current interval.

Prometheus

Map

Prometheus endpoint info for neurons.

PruningScores

Map

Pruning scores for neurons.

Rank

Map

Rank scores for neurons on a subnet.

RAORecycledForRegistration

Map

RAO recycled from registration burns per subnet.

RecycleOrBurn

Map

Whether registration burns are recycled or destroyed per subnet.

RegistrationsThisBlock

Map

Registrations in current block.

RegistrationsThisInterval

Map

Registrations in current adjustment interval.

RevealPeriodEpochs

Map

Epochs allowed for weight reveal after commit.

Rho

Map

Rho parameter for emissions.

RootAlphaDividendsPerSubnet

Map

Root network alpha dividends per subnet.

RootClaimable

Map

Amount of TAO available for root network claims per hotkey.

RootClaimableThreshold

Map

Minimum stake required to claim root network rewards.

RootClaimed

Map

Total TAO claimed from root network by a hotkey.

RootClaimType

Map

Claim distribution type for root network rewards.

RootProp

Map

Root network proportion for emission distribution.

ScalingLawPower

Map

Scaling law exponent per subnet.

ServingRateLimit

Map

Blocks between allowed serving updates.

StakeThreshold

Plain

Minimum stake required to set weights.

StakeWeight

Map

Stake-based weights per UID per subnet.

StakingColdkeys

Map

Reverse index mapping coldkey to its position.

StakingColdkeysByIndex

Map

Index mapping for iterating staking coldkeys.

StakingHotkeys

Map

List of hotkeys a coldkey has staked to.

StakingOperationRateLimiter

Map

Rate limiting markers for staking operations.

StartCallDelay

Plain

Delay before subnet can call start.

SubnetAlphaIn

Map

Alpha tokens in the subnet liquidity pool.

SubnetAlphaInEmission

Map

Alpha tokens emitted into subnet pools per block.

SubnetAlphaInProvided

Map

User-provided alpha liquidity in subnet pools.

SubnetAlphaOut

Map

Alpha tokens distributed to stakers.

SubnetAlphaOutEmission

Map

Alpha tokens emitted out of subnet pools per block.

SubnetEmaTaoFlow

Map

EMA of TAO inflow-outflow balance per subnet.

SubnetIdentitiesV3

Map

Identity metadata for subnets (v3).

SubnetLeases

Map

Active subnet leases.

SubnetLeaseShares

Map

Share ownership in subnet leases.

SubnetLimit

Plain

Maximum number of subnets allowed on the network.

SubnetLocked

Map

TAO locked for a subnet.

SubnetMechanism

Map

Consensus mechanism type per subnet.

SubnetMovingAlpha

Plain

Moving alpha smoothing factor for all subnets.

SubnetMovingPrice

Map

Moving average price for subnet alpha.

SubnetOwner

Map

Owner account for a subnet.

SubnetOwnerCut

Plain

Owner cut percentage from emissions.

SubnetOwnerHotkey

Map

Hotkey associated with subnet owner.

SubnetTAO

Map

TAO in the subnet liquidity pool.

SubnetTaoFlow

Map

TAO inflow-outflow balance per subnet.

SubnetTaoInEmission

Map

TAO emitted into subnets per block.

SubnetTaoProvided

Map

TAO provided to subnet pools by users.

SubnetUidToLeaseId

Map

Map subnet UIDs to lease IDs.

SubnetVolume

Map

Total trading volume on a subnet.

SubnetworkN

Map

Number of registered neurons on a subnet.

SubtokenEnabled

Map

Whether subtoken trading is enabled per subnet.

TaoFlowCutoff

Plain

Cutoff threshold for TAO flow calculations.

TaoWeight

Plain

Global TAO weight in economics.

TargetRegistrationsPerInterval

Map

Target registrations per adjustment interval.

Tempo

Map

Emission interval for a subnet (blocks).

TimelockedWeightCommits

Map

Timelocked weight commits for commit-reveal.

TokenSymbol

Map

Token symbol for subnet alpha tokens.

TotalHotkeyAlpha

Map

Total alpha stake delegated to a hotkey.

TotalHotkeyAlphaLastEpoch

Map

Hotkey alpha ownership from last epoch.

TotalHotkeyShares

Map

Total shares held by hotkey stakers.

TotalIssuance

Plain

Total TAO in circulation.

TotalNetworks

Plain

Total number of subnets on the network.

TotalStake

Plain

Total TAO staked across all hotkeys.

TransactionKeyLastBlock

Map

Last block for rate-limited transaction by key.

TransferToggle

Map

Whether alpha transfers are enabled per subnet.

Trust

Map

Trust scores for neurons on a subnet.

TxChildkeyTakeRateLimit

Plain

Rate limit for childkey take changes.

TxDelegateTakeRateLimit

Plain

Rate limit for delegate take changes.

TxRateLimit

Plain

General transaction rate limit.

Uids

Map

UID assigned to a hotkey on a subnet.

UsedWork

Map

Proof-of-work solutions that have been used.

ValidatorPermit

Map

Whether a neuron has validator permit.

ValidatorPruneLen

Map

Number of validators considered for pruning.

ValidatorTrust

Map

Validator-specific trust scores.

VotingPower

Map

--- DMAP ( netuid, hotkey ) --> voting_power | EMA of stake for voting

VotingPowerDisableAtBlock

Map

--- MAP ( netuid ) --> block_number | Block at which voting power tracking will be disabled.

VotingPowerEmaAlpha

Map

--- MAP ( netuid ) --> u64 | EMA alpha value for voting power calculation.

VotingPowerTrackingEnabled

Map

--- MAP ( netuid ) --> bool | Whether voting power tracking is enabled for this subnet.

WeightCommits

Map

Committed weight hashes awaiting reveal.

Weights

Map

Weight matrix set by validators on a subnet.

WeightsSetRateLimit

Map

Rate limit for weight setting per subnet.

WeightsVersionKey

Map

Required version key for setting weights.

WeightsVersionKeyRateLimit

Plain

Rate limit for weights version key changes.

Yuma3On

Map

Whether Yuma3 consensus is enabled per subnet.

Swap 14 storage