SubtensorModule

#7

The main Bittensor pallet containing all subnet, staking, and consensus logic

Part of Bittensor Core: The heart of Bittensor - subnets, staking, validation, and emissions

Filter by: +4 more
AccumulatedLeaseDividends storage v290 → v411

Accumulated dividends pending distribution for subnet leases.

SubnetsStakingEmissions
Active storage v101 → v411 Changed in v411

Whether neurons are active on a subnet.

Modified by: burned_register, register +1
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph
ActiveLockExists error v411 New #139

There is already an active lock for the given coldkey.

ActivityCutoff storage v101 → v411

Blocks of inactivity before pruning.

Modified by: register_network
SubnetsAdminMetagraph
ActivityCutoffSet event v101 → v411 #15

Emitted when activity cutoff threshold is changed.

SubnetsAdminMetagraph
ActivityCutoffTooLow error v247 → v411 #86

The activity cutoff value being set is too low.

add_stake call v101 → v411 #2

Transfers TAO from coldkey's free balance to stake on a hotkey.

Emits: StakeAdded, AggregatedStakeAdded +3 Modifies: TotalStake, Alpha +8
●●●●●○ Core usage
StakingAlpha
add_stake_burn call v385 → v411 #132

--- The extrinsic is a combination of add_stake(add_stake_limit) and burn_alpha. We buy

Emits: AddStakeBurn
add_stake_limit call v233 → v411 #88

Adds stake with a price limit for slippage protection.

Emits: StakeAdded Modifies: TotalStake, Alpha +8
●●●●●○ Core usage
StakingAlpha
AddStakeBurn event v385 → v411 Changed in v411 #120

"Add stake and burn" event: alpha token was purchased and burned.

Emitted by: add_stake, add_stake_burn Modifies: Alpha, NumStakingColdkeys +8
AddStakeBurnRateLimitExceeded error v385 → v411 #130

"Add stake and burn" exceeded the operation rate limit

AdjustmentAlpha storage v126 → v411

Alpha for difficulty adjustment algorithm.

Modified by: register_network
SubnetsAdmin
AdjustmentAlphaSet event v126 → v411 Changed in v411 #54

Emitted when difficulty adjustment alpha parameter is changed.

SubnetsAdmin
AdjustmentInterval storage v101 → v411

Blocks between difficulty adjustments.

Modified by: register_network
SubnetsAdmin
AdjustmentIntervalSet event v101 → v411 #12

Emitted when difficulty adjustment interval is changed.

SubnetsAdmin
AdminActionProhibitedDuringWeightsWindow error v320 → v411 #109

Admin operation is prohibited during the protected weights window.

Thrown by: start_call
AdminFreezeWindow storage v320 → v411

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

Admin
AdminFreezeWindowSet event v320 → v411 #42

Emitted when admin freeze window is changed.

Admin
AllBalanceUnstakedAndTransferredToNewColdkey event v156 → v411 Changed in v411 #72

Emitted when all stake is unstaked and transferred during coldkey swap.

Emitted by: swap_coldkey Modifies: Alpha, NumStakingColdkeys +6
Staking
AllNetworksInImmunity error v133 → v411 #44

All subnets are in their immunity period, so none can be pruned.

Thrown by: register_network, register_network_with_identity +1
Alpha storage v233 → v411 Changed in v411

Legacy alpha stake per (hotkey, coldkey, netuid), stored as FixedU128 { bits }. Superseded by AlphaV2 at v401.

Modified by: add_stake, add_stake_limit +13
●●●●●● Ultra-High usage
StakingAlpha
AlphaBurned event v257 → v411 Changed in v411 #96

Emitted when alpha tokens are permanently burned.

Emitted by: burn_alpha Modifies: Alpha, TotalHotkeyAlpha +2
SystemAlpha
AlphaDividendsPerSubnet storage v233 → v411

Alpha dividends per hotkey per subnet at the last tempo firing.

StakingAlphaEmissions
AlphaHigh constant v156 → v411

Upper bound for alpha parameter.

AlphaHighTooLow error v156 → v411 #56

The alpha high parameter is below the minimum (must be > 0.8).

AlphaLow constant v156 → v411

Lower bound for alpha parameter.

AlphaLowOutOfRange error v156 → v411 #57

The alpha low parameter is out of valid range (must be 0 < alpha_low < 0.8).

AlphaMapLastKey storage v334 → v411 Changed in v411

Last key used for Alpha storage map iteration.

StakingAlpha
AlphaRecycled event v257 → v411 Changed in v411 #95

Emitted when alpha tokens are recycled back to the subnet.

Emitted by: recycle_alpha Modifies: Alpha, RAORecycledForRegistration +3
SystemAlpha
AlphaSigmoidSteepness storage v273 → v411

Steepness parameter for the alpha sigmoid function per subnet.

SystemAdminAlpha
AlphaSigmoidSteepnessSet event v273 → v411 #17

Emitted when alpha sigmoid steepness parameter is changed.

SystemAdminAlpha
AlphaV2 storage v401 → v411

V2 alpha stake per (hotkey, coldkey, netuid), stored as SafeFloat { mantissa, exponent }. Supersedes Alpha at v401.

AlphaV2MapLastKey storage v401 → v411 Changed in v411

Contains last AlphaV2 storage map key to iterate (check first)

AlphaValues storage v156 → v411 Changed in v411

Alpha low and high bounds per subnet.

StakingAlpha
AmountTooLow error v233 → v411 #82

The stake amount provided is too low.

Thrown by: add_stake_limit, remove_stake_limit +1
announce_coldkey_swap call v385 → v411 #125

Announces a coldkey swap using BlakeTwo256 hash of the new coldkey.

Emits: ColdkeySwapAnnounced
AnnouncedColdkeyHashDoesNotMatch error v385 → v411 #68

The announced coldkey hash does not match the new coldkey hash.

ArbitrationPeriodExtended event v161 → v411 Changed in v411 #73

Emitted when a coldkey swap arbitration period is extended due to dispute.

SystemIdentity
associate_evm_key call v261 → v411 #93

Associates an EVM key with a Substrate account.

Emits: EvmKeyAssociated Modifies: AssociatedEvmAddress, LastTxBlock
SystemIdentity
AssociatedEvmAddress storage v261 → v411 Changed in v411

EVM address associated with a neuron position.

Modified by: associate_evm_key
●●○○○○ Minimal usage
SystemIdentity
AutoParentDelegationEnabled storage v401 → v411

--- MAP ( hotkey ) --> parent_delegation_enabled

AutoParentDelegationEnabledSet event v401 → v411 Changed in v411 #125

A root validator toggled the "auto parent delegation" flag.

AutoStakeAdded event v315 → v411 Changed in v411 #108

Emitted when stake is automatically added to a designated hotkey.

Emitted by: set_coldkey_auto_stake_hotkey, add_stake Modifies: Alpha, AutoStakeDestination +10
●●●●○○ Significant usage
Staking
AutoStakeDestination storage v315 → v411

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

Modified by: set_coldkey_auto_stake_hotkey
Staking
AutoStakeDestinationColdkeys storage v326 → v411

Coldkeys using auto-stake on a subnet.

Modified by: set_coldkey_auto_stake_hotkey
Staking
AutoStakeDestinationSet event v326 → v411 Changed in v411 #111

Emitted when a coldkey sets its auto-stake destination hotkey.

Emitted by: set_coldkey_auto_stake_hotkey Modifies: AutoStakeDestination, AutoStakeDestinationColdkeys
Staking
Axons storage v101 → v411 Changed in v411

Axon server info for neurons.

Modified by: serve_axon, serve_axon_tls +1
●●●●●○ High usage
MiningIdentity
AxonServed event v101 → v411 #28

Emitted when a neuron updates their axon server information.

Emitted by: serve_axon, serve_axon_tls Modifies: Axons, LastTxBlock +1
●●●●○○ Significant usage
MiningIdentity
BalanceWithdrawalError error v101 → v411 #13

An error occurred while withdrawing balance.

Thrown by: add_stake
batch_commit_weights call v216 → v411 #100

Commits weights on multiple subnets in a single transaction.

Emits: WeightsCommitted, BatchWeightsCompleted +2 Modifies: WeightCommits, LastTxBlock
ValidationWeights
batch_reveal_weights call v205 → v411 #98

Reveals committed weights on multiple subnets in a single transaction.

Emits: WeightsRevealed, WeightsBatchRevealed Modifies: Weights, LastUpdate +1
ValidationWeights
batch_set_weights call v216 → v411 #80

Sets weights on multiple subnets in a single transaction.

Emits: WeightsSet, BatchWeightsCompleted +2 Modifies: Weights, LastUpdate
ValidationWeights
BatchCompletedWithErrors event v216 → v411 Changed in v411 #88

Emitted when a batch operation completes but some items failed.

Emitted by: batch_set_weights, batch_commit_weights Modifies: LastTxBlock, LastUpdate +2
ValidationWeights
BatchWeightItemFailed event v216 → v411 Changed in v411 #89

Emitted when an individual weight set within a batch fails.

Emitted by: batch_set_weights, batch_commit_weights Modifies: LastTxBlock, LastUpdate +2
ValidationWeights
BatchWeightsCompleted event v216 → v411 Changed in v411 #87

Emitted when a batch of weights is successfully set across multiple subnets.

Emitted by: batch_set_weights, batch_commit_weights Modifies: LastTxBlock, LastUpdate +2
ValidationWeights
BeneficiaryDoesNotOwnHotkey error v290 → v411 #107

The beneficiary does not own the specified hotkey.

BlockAtRegistration storage v101 → v411 Changed in v411

Block number when a neuron registered.

Modified by: burned_register, register +1
●●●●○○ Medium usage
MiningRegistration
BlockEmission storage v101 → v411

TAO emitted per block.

SystemEmissions
BlocksSinceLastStep storage v101 → v411

Blocks since last emission step.

Runtime Hook Modified by runtime hooks, not user extrinsics
SystemEmissions
Bonds storage v101 → v411 Changed in v411

Bond values between neurons.

Runtime Hook Modified by runtime hooks, not user extrinsics
ValidationMetagraph
BondsMovingAverage storage v101 → v411

Moving average period for bonds.

Modified by: register_network
SubnetsAdminMetagraph
BondsMovingAverageSet event v101 → v411 #24

Emitted when bonds moving average parameter is changed.

SubnetsAdminMetagraph
BondsPenalty storage v233 → v411

Penalty factor applied to bonds per subnet.

SubnetsAdminMetagraph
BondsPenaltySet event v233 → v411 #25

Emitted when bonds penalty parameter is changed.

SubnetsAdminMetagraph
BondsResetOn storage v273 → v411

Whether bonds reset is enabled for a subnet.

SubnetsAdminMetagraph
BondsResetOnSet event v273 → v411 #26

Emitted when bonds reset behavior is toggled.

SubnetsAdminMetagraph
BulkBalancesSet event v101 → v411 #8

Emitted when balances are bulk-set (admin operation).

Admin
BulkNeuronsRegistered event v101 → v411 #7

Emitted when multiple neurons are registered in a single operation.

Emitted by: register Modifies: Active, BlockAtRegistration +16
MiningRegistration
Burn storage v101 → v411

Burn amount for registration.

Modified by: burned_register
SubnetsMiningRegistration
burn_alpha call v257 → v411 #102

Permanently burns alpha tokens.

Emits: AlphaBurned Modifies: Alpha, TotalHotkeyAlpha +2
●●○○○○ Low usage
StakingAlpha
BurnAccountId constant v411 New

PalletId used to derive the on-chain burn account (b"burntnsr").

burned_register call v101 → v411 #7

Registers a neuron by paying TAO instead of solving POW.

Emits: NeuronRegistered Modifies: Uids, Keys +18
●●●●●● Dominant usage
MiningRegistration
BurnHalfLife storage v401 → v411

--- MAP ( netuid ) --> BurnHalfLife (blocks)

BurnHalfLifeSet event v401 → v411 Changed in v411 #123

Burn half-life set for neuron registration.

BurnIncreaseMult storage v401 → v411 Changed in v411

--- MAP ( netuid ) --> BurnIncreaseMult

BurnIncreaseMultSet event v401 → v411 Changed in v411 #124

Emitted when the burn-increase multiplier is updated on a subnet, controlling burn registration cost growth.

BurnRegistrationsThisInterval storage v101 → v411

Burn registrations in current interval.

Modified by: burned_register
MiningRegistration
BurnSet event v101 → v411 #36

Emitted when burn registration cost is changed.

SubnetsAdminRegistration
CallDisabled error v252 → v411 #87

This call is currently disabled.

CannotAffordLockCost error v320 → v411 #117

Insufficient balance to pay the subnet lock cost.

Thrown by: register_network, register_network_with_identity
CannotBurnOrRecycleOnRootSubnet error v257 → v411 #91

Burn and recycle operations aren't allowed on the root subnet.

Thrown by: recycle_alpha, burn_alpha
CanNotSetRootNetworkWeights error v151 → v411 #47

Cannot set weights for the root network with this method.

CannotUseSystemAccount error v411 New #140

A system account cannot be used in this operation

ChainIdentitySet event v195 → v411 Changed in v411 #76

Emitted when on-chain identity is set for a hotkey.

Emitted by: set_identity Modifies: IdentitiesV2, LastTxBlock
SystemIdentity
ChildKeys storage v195 → v411

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

Modified by: set_children, swap_hotkey
●●●○○○ Low usage
Staking
ChildkeyTake storage v195 → v411

Child-hotkey commission fraction on a subnet, encoded as u16. To get the fraction: value / u16::MAX (i.e. value / 65535). NOT basis points (10000) or percent (100).

Modified by: set_childkey_take, swap_hotkey
●●○○○○ Minimal usage
Staking
ChildKeyTakeSet event v195 → v411 Changed in v411 #47

Emitted when a child hotkey's take rate is set.

Emitted by: set_childkey_take Modifies: ChildkeyTake, LastTxBlockChildKeyTake
Staking
ChildParentInconsistency error v334 → v411 #122

Violating the rules of childkey-parentkey consistency.

Thrown by: set_children
CKBurn storage v315 → v411

Childkey burn cost.

System
claim_root call v334 → v411 #121

Claims accumulated root network emissions.

Emits: RootClaimed Modifies: RootClaimed, PendingRootAlphaDivs
StakingEmissions
clear_coldkey_swap_announcement call v385 → v411 #133

Clears a coldkey swap announcement after the reannouncement delay if

ColdKeyAlreadyAssociated error v156 → v411 #58

The coldkey has already been swapped.

Thrown by: associate_evm_key
ColdkeySwapAlreadyDisputed error v385 → v411 #69

Coldkey swap already disputed

ColdkeySwapAnnounced event v385 → v411 Changed in v411 #68

A coldkey swap announcement has been made.

Emitted by: announce_coldkey_swap
ColdkeySwapAnnounced error v385 → v411 #131

A coldkey swap has been announced for this account.

ColdkeySwapAnnouncementDelay storage v385 → v411

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

ColdkeySwapAnnouncementDelaySet event v385 → v411 Changed in v411 #80

The coldkey swap announcement delay has been set.

ColdkeySwapAnnouncementNotFound error v385 → v411 #65

Coldkey swap announcement not found

ColdkeySwapAnnouncements storage v385 → v411

Per-coldkey announcement of a pending coldkey swap (block + extrinsic hash).

ColdkeySwapCleared event v385 → v411 Changed in v411 #121

A coldkey swap announcement has been cleared.

ColdkeySwapClearTooEarly error v385 → v411 #133

Coldkey swap clear too early.

ColdkeySwapDisputed event v385 → v411 Changed in v411 #71

A coldkey swap has been disputed.

Emitted by: dispute_coldkey_swap
ColdkeySwapDisputed error v385 → v411 #132

A coldkey swap for this account is under dispute.

ColdkeySwapDisputes storage v385 → v411

Per-coldkey record of a dispute against a pending coldkey swap.

ColdkeySwapped event v156 → v411 Changed in v411 #70

Emitted when a coldkey swap completes, transferring all assets to the new coldkey.

Emitted by: swap_coldkey Modifies: Alpha, NumStakingColdkeys +6
SystemIdentity
ColdkeySwapReannouncedTooEarly error v385 → v411 #67

Coldkey swap reannounced too early.

ColdkeySwapReannouncementDelay storage v385 → v411

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

ColdkeySwapReannouncementDelaySet event v385 → v411 Changed in v411 #81

The coldkey swap reannouncement delay has been set.

ColdkeySwapReset event v385 → v411 Changed in v411 #69

A coldkey swap has been reset.

ColdkeySwapTooEarly error v385 → v411 #66

Coldkey swap too early.

commit_crv3_mechanism_weights call v320 → v411 #117

Commits weights using CRV3 (commit-reveal v3) mechanism.

Emits: CRV3WeightsCommitted Modifies: CRV3WeightCommits, CRV3WeightCommitsV2 +1
ValidationWeights
commit_mechanism_weights call v320 → v411 #115

Commits weights using the standard mechanism.

Emits: WeightsCommitted Modifies: WeightCommits, LastTxBlock
ValidationWeights
commit_timelocked_mechanism_weights call v320 → v411 #118

Commits mechanism weights with timelock.

Emits: TimelockedWeightsCommitted Modifies: TimelockedWeightCommits, LastTxBlock
●●●●●○ Core usage
ValidationWeights
commit_timelocked_weights call v301 → v411 #113

Commits weights with a specific reveal round.

Emits: TimelockedWeightsCommitted Modifies: TimelockedWeightCommits, LastTxBlock
●●●●●○ Core usage
ValidationWeights
commit_weights call v151 → v411 #96

Commits a hash of weights for later reveal.

Emits: WeightsCommitted Modifies: WeightCommits, LastTxBlock
●●●○○○ Moderate usage
ValidationWeights
CommitRevealDisabled error v151 → v411 #54

Commit-reveal is disabled but you tried to use it.

Thrown by: commit_weights, commit_mechanism_weights +7
CommitRevealEnabled event v261 → v411 Changed in v411 #100

Emitted when commit-reveal mode is toggled for a subnet.

ValidationAdminWeights
CommitRevealEnabled error v151 → v411 #53

This subnet requires commit-reveal for weights, but you called set_weights directly.

Thrown by: set_weights
CommitRevealPeriodsSet event v261 → v411 Changed in v411 #99

Emitted when the commit-reveal period length is changed.

ValidationAdminWeights
CommitRevealVersionSet event v301 → v411 Changed in v411 #105

Emitted when the required commit-reveal version is updated.

ValidationAdminWeights
CommitRevealWeightsEnabled storage v151 → v411

Whether commit-reveal weights is enabled per subnet.

ValidationAdminWeights
CommitRevealWeightsVersion storage v301 → v411

Current version of the commit-reveal weights protocol.

ValidationAdminWeights
CommittingWeightsTooFast error v205 → v411 #81

You're committing weights more frequently than allowed.

Thrown by: commit_weights, commit_mechanism_weights
Consensus storage v101 → v411 Changed in v411

Consensus scores for neurons on a subnet.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph
CRV3WeightCommits storage v216 → v411 Changed in v411

Commit-reveal v3 weight commits storage (deprecated, empty at v411).

Modified by: commit_crv3_mechanism_weights
●●●●●○ High usage
ValidationWeights
CRV3WeightCommitsV2 storage v297 → v411 Changed in v411

Commit-reveal v3.2 weight commits storage (deprecated, empty at v411).

Modified by: commit_crv3_mechanism_weights
ValidationWeights
CRV3WeightsCommitted event v216 → v411 Changed in v411 #83

Emitted when weights are committed using commit-reveal v3 protocol.

Emitted by: commit_crv3_mechanism_weights Modifies: CRV3WeightCommits, CRV3WeightCommitsV2 +1
●●●●○○ Significant usage
ValidationWeights
CRV3WeightsRevealed event v261 → v411 Changed in v411 #98

Emitted when CRV3 committed weights are revealed.

Emitted by: reveal_weights Modifies: LastUpdate, WeightCommits +1
●●●●○○ Significant usage
ValidationWeights
DecayingHotkeyLock storage v411 New

Total decaying (non-perpetual) lock per hotkey per subnet. DMAP (netuid, hotkey) → LockState.

DecayingLock storage v411 New

Marks an individual (coldkey, subnet) lock as decaying. DMAP (coldkey, netuid) → bool. Absence of an entry means the lock decays by default; presence with false means perpetual.

DecayingOwnerLock storage v411 New

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

decrease_take call v149 → v411 #65

Decreases the delegate's commission rate.

Emits: TakeDecreased Modifies: Delegates, LastTxBlockDelegateTake
Validation
DefaultTakeSet event v101 → v411 #31

Emitted when the default delegate take rate is changed.

ValidationAdmin
DelegateAdded event v101 → v411 #30

Emitted when a hotkey becomes a delegate (validator accepting external stake).

Emitted by: become_delegate Modifies: Delegates
StakingValidation
Delegates storage v101 → v411

Whether a hotkey is a delegate (accepts stake).

Modified by: become_delegate, decrease_take +2
●●○○○○ Minimal usage
Validation
DelegateTakeTooHigh error v151 → v411 #50

The delegate take rate exceeds the maximum allowed.

Thrown by: increase_take
DelegateTakeTooLow error v151 → v411 #49

The delegate take rate is below the minimum allowed.

Thrown by: decrease_take
DelegateTxRateLimitExceeded error v151 → v411 #34

You're modifying delegate settings too frequently.

Thrown by: increase_take
Deprecated error v385 → v411 #129

Deprecated call.

Difficulty storage v101 → v411

POW difficulty for registration.

Modified by: register_network
SubnetsMiningRegistration
DifficultySet event v101 → v411 #11

Emitted when POW registration difficulty is changed.

●●●●○○ Significant usage
SubnetsAdminRegistration
disable_voting_power_tracking call v385 → v411 #130

Schedules disabling of voting power tracking for a subnet.

Emits: VotingPowerTrackingDisabled
DisabledTemporarily error v392 → v411 #134

Disabled temporarily.

dispute_coldkey_swap call v385 → v411 #127

Dispute a coldkey swap.

Emits: ColdkeySwapDisputed
dissolve_network call v133 → v411 #61

Removes a subnet from the network.

Emits: NetworkRemoved, DissolveNetworkScheduled +1 Modifies: NetworksAdded, SubnetOwner +2
Subnets
DissolveNetworkScheduled event v195 → v411 Changed in v411 #79

Emitted when network dissolution is scheduled for future execution.

Emitted by: dissolve_network, schedule_dissolve_network Modifies: ColdkeySwapScheduled, NetworksAdded +2
Subnets
DissolveNetworkScheduleDuration storage v195 → v411

Duration before scheduled network dissolution executes.

Admin
DissolveNetworkScheduleDurationSet event v195 → v411 Changed in v411 #82

Emitted when dissolve network schedule duration is changed.

Emitted by: dissolve_network, schedule_dissolve_network Modifies: ColdkeySwapScheduled, NetworksAdded +2
SubnetsAdmin
Dividends storage v101 → v411 Changed in v411

Dividend scores for neurons on a subnet.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph
DuplicateChild error v195 → v411 #61

The same child hotkey appears multiple times in the list.

Thrown by: set_children
DuplicateUids error v101 → v411 #17

The caller is attempting to set weights with duplicate UIDs.

Thrown by: set_weights, set_mechanism_weights
EMAPriceHalvingBlocks storage v252 → v411

Blocks for EMA price to halve per subnet.

SystemAdminAlpha
Emission storage v101 → v411

Emission amounts for neurons on a subnet.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph +1
enable_voting_power_tracking call v385 → v411 #129

Enables voting power tracking for a subnet.

Emits: VotingPowerTrackingEnabled
EvmKeyAssociated event v261 → v411 Changed in v411 #97

Emitted when an EVM key is associated with a Substrate account.

Emitted by: associate_evm_key Modifies: AssociatedEvmAddress, LastTxBlock
SystemIdentity
EvmKeyAssociateRateLimitExceeded error v323 → v411 #118

Exceeded the rate limit for associating an EVM key.

Thrown by: associate_evm_key
ExpectedBeneficiaryOrigin error v290 → v411 #108

Expected beneficiary origin for this operation.

ExpiredWeightCommit error v205 → v411 #78

The weight commitment has expired before reveal.

Thrown by: reveal_weights, reveal_mechanism_weights +1
Faucet event v133 → v411 Changed in v411 #55

Emitted when testnet faucet dispenses tokens.

Emitted by: faucet
MiningSystemRegistration
FaucetDisabled error v133 → v411 #40

The faucet is disabled on this network.

FirstEmissionBlockNumber storage v257 → v411

Block number of first emission for a subnet.

Modified by: start_call
●●○○○○ Minimal usage
SystemAdminEmissions
FirstEmissionBlockNumberAlreadySet error v257 → v411 #88

FirstEmissionBlockNumber is already set.

Thrown by: start_call
FirstEmissionBlockNumberSet event v257 → v411 Changed in v411 #94

Emitted when the first emission block is set for a subnet.

Emitted by: start_call Modifies: FirstEmissionBlockNumber
SystemAdminEmissions
FlowEmaSmoothingFactor storage v334 → v411

EMA smoothing factor for TAO flow calculations.

SystemAdminAlpha
FlowNormExponent storage v334 → v411 Changed in v411

Normalization exponent for TAO flow calculations.

SystemAdminAlpha
HasMigrationRun storage v165 → v411

Tracks which migrations have been executed.

Admin
HotKeyAccountNotExists error v151 → v411 #5

The hotkey account does not exist.

Thrown by: try_associate_hotkey, set_children
HotKeyAlreadyDelegate error v151 → v411 #28

This hotkey is already registered as a delegate.

Thrown by: become_delegate
HotKeyAlreadyRegisteredInSubNet error v151 → v411 #21

This hotkey is already registered on the specified subnet.

Thrown by: register, burned_register +1
HotkeyLock storage v411 New

Total non-owner lock per hotkey per subnet. DMAP (subnet, hotkey) → LockState.

HotKeyNotRegisteredInNetwork error v151 → v411 #6

The hotkey is not registered in any subnet.

HotKeyNotRegisteredInSubNet error v151 → v411 #4

The hotkey you're trying to interact with is not registered on the specified subnet.

Thrown by: add_stake, add_stake_limit +29
HotKeySetTxRateLimitExceeded error v151 → v411 #35

A transactor exceeded the rate limit for setting or swapping hotkey.

Thrown by: set_children
HotkeySwapOnSubnetInterval constant v276 → v411

Blocks between allowed hotkey swaps on subnet.

HotKeySwapOnSubnetIntervalNotPassed error v276 → v411 #95

Not enough time has passed since the last hotkey swap on this subnet.

Thrown by: swap_hotkey
HotkeySwapped event v136 → v411 Changed in v411 #65

Emitted when a hotkey is swapped to a new address.

Emitted by: swap_hotkey Modifies: Alpha, Axons +15
SystemIdentity
HotkeySwappedOnSubnet event v276 → v411 Changed in v411 #101

Emitted for each subnet when a hotkey swap occurs.

Emitted by: swap_hotkey Modifies: Alpha, Axons +15
SystemIdentity
IdentitiesV2 storage v233 → v411 Changed in v411

Identity metadata for coldkey accounts (v2).

Modified by: set_identity
●●○○○○ Minimal usage
SystemIdentity
ImmuneOwnerUidsLimit storage v306 → v411

Maximum UIDs a subnet owner can make immune from pruning.

SubnetsAdminMetagraph
ImmunityPeriod storage v101 → v411

Immunity period for new neurons (blocks).

Modified by: register_network
SubnetsAdminMetagraph
ImmunityPeriodSet event v101 → v411 #23

Emitted when neuron immunity period is changed.

SubnetsAdminMetagraph
Incentive storage v101 → v411 Changed in v411

Incentive scores for neurons on a subnet.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph
IncentiveAlphaEmittedToMiners event v315 → v411 Changed in v411 #109

Emitted at end of epoch showing alpha distributed to miners by UID.

●●●○○○ Active usage
MiningEmissionsAlpha
IncorrectCommitRevealVersion error v301 → v411 #112

Incorrect commit-reveal version.

Thrown by: commit_timelocked_weights, commit_timelocked_mechanism_weights
IncorrectWeightVersionKey error v151 → v411 #30

A validator is attempting to set weights with incorrect weight version.

Thrown by: set_weights, set_mechanism_weights
increase_take call v149 → v411 #66

Increases the delegate's commission rate.

Emits: TakeIncreased Modifies: Delegates, LastTxBlockDelegateTake
Validation
InitialActivityCutoff constant v101 → v411

Initial blocks of inactivity before neuron is pruned.

InitialAdjustmentAlpha constant v126 → v411

Initial alpha parameter for difficulty adjustment.

InitialAdjustmentInterval constant v101 → v411

Initial blocks between difficulty adjustments.

InitialAlphaSigmoidSteepness constant v273 → v411

Initial steepness of alpha sigmoid curve.

InitialBondsMovingAverage constant v101 → v411

Initial moving average period for bond calculations.

InitialBondsPenalty constant v233 → v411

Initial penalty factor for bond calculations.

InitialBondsResetOn constant v273 → v411

Initial setting for bonds reset behavior.

InitialBurn constant v101 → v411

Initial TAO burn cost for registration.

InitialColdkeySwapAnnouncementDelay constant v385 → v411

Coldkey swap announcement delay.

InitialColdkeySwapReannouncementDelay constant v385 → v411

Coldkey swap reannouncement delay.

InitialDefaultChildKeyTake constant v195 → v411

Initial default take for child hotkeys.

InitialDefaultDelegateTake constant v195 → v411

Initial default commission rate for new delegates.

InitialDifficulty constant v101 → v411

Initial proof-of-work difficulty for registration.

InitialDissolveNetworkScheduleDuration constant v195 → v411

Initial duration before network dissolution executes.

InitialEmaPriceHalvingPeriod constant v252 → v411

Initial EMA price halving period in blocks.

InitialEmissionValue constant v101 → v411

Initial emission ratio for new subnets.

InitialImmunityPeriod constant v101 → v411

Initial immunity period for new neurons.

InitialIssuance constant v101 → v411

Initial TAO supply at genesis.

InitialKappa constant v101 → v411

Initial kappa parameter for consensus.

InitialMaxAllowedUids constant v101 → v411

Initial maximum neurons per subnet.

InitialMaxAllowedValidators constant v101 → v411

Initial maximum validators per subnet.

InitialMaxBurn constant v101 → v411

Initial maximum burn cost for registration.

InitialMaxChildKeyTake constant v195 → v411

Initial maximum child key take rate.

InitialMaxDifficulty constant v101 → v411

Initial maximum POW difficulty.

InitialMaxRegistrationsPerBlock constant v101 → v411

Initial max registrations allowed per block.

InitialMinAllowedUids constant v320 → v411

Initial minimum UIDs required on subnet.

InitialMinAllowedWeights constant v101 → v411

Initial minimum number of weights a validator must set.

InitialMinBurn constant v101 → v411

Initial minimum burn cost for registration.

InitialMinChildKeyTake constant v195 → v411

Initial minimum child key take rate.

InitialMinDelegateTake constant v195 → v411

Initial minimum delegate commission rate.

InitialMinDifficulty constant v101 → v411

Initial minimum POW difficulty.

InitialNetworkImmunityPeriod constant v133 → v411

Initial immunity period for new subnets (in blocks).

InitialNetworkLockReductionInterval constant v133 → v411

Initial blocks between lock cost reductions.

InitialNetworkMinLockCost constant v133 → v411

Initial minimum TAO required to lock for subnet creation.

InitialNetworkRateLimit constant v133 → v411

Initial blocks between allowed subnet creations.

InitialPruningScore constant v101 → v411

Initial pruning score assigned to new neurons.

InitialRAORecycledForRegistration constant v118 → v411

Initial amount of RAO recycled on each registration.

InitialRho constant v101 → v411

Initial rho parameter for emission formula.

InitialScalingLawPower constant v101 → v411

Initial power factor for scaling law calculations.

InitialServingRateLimit constant v101 → v411

Initial blocks between serving info updates.

InitialStartCallDelay constant v372 → v411

Initial delay before subnets can start emissions.

InitialSubnetOwnerCut constant v133 → v411

Initial percentage of emissions going to subnet owner.

InitialTaoWeight constant v233 → v411

Initial weight of TAO in pool calculations.

InitialTargetRegistrationsPerInterval constant v101 → v411

Target number of registrations per adjustment interval.

InitialTempo constant v101 → v411

Initial tempo (blocks between emissions) for new subnets.

InitialTxChildKeyTakeRateLimit constant v195 → v411

Initial rate limit for child key take changes.

InitialTxDelegateTakeRateLimit constant v149 → v411

Initial rate limit for delegate take changes.

InitialTxRateLimit constant v101 → v411

Initial blocks between allowed transactions for rate limiting.

InitialValidatorPruneLen constant v101 → v411

Initial number of validators considered for pruning.

InitialWeightsVersionKey constant v101 → v411

Initial version key required for setting weights.

InputLengthsUnequal error v205 → v411 #80

Attempted to batch reveal weights with mismatched vector input lengths.

Thrown by: batch_set_weights, batch_commit_weights +1
InsufficientBalance error v290 → v411 #98

The caller does not have enough balance for the operation.

InsufficientLiquidity error v233 → v411 #83

Not enough liquidity in the pool for this operation.

InsufficientStakeForLock error v411 New #137

Insufficient stake on subnet to cover the lock amount.

InvalidChild error v195 → v411 #60

The child hotkey specified is not valid for this relationship.

Thrown by: set_children
InvalidChildkeyTake error v195 → v411 #71

The child key take rate is outside the allowed range.

Thrown by: set_childkey_take
InvalidDifficulty error v101 → v411 #25

The supplied PoW hash block does not meet the network difficulty.

Thrown by: register
InvalidIdentity error v195 → v411 #73

Invalid identity information provided.

Thrown by: register_network_with_identity, set_identity +1
InvalidIpAddress error v101 → v411 #2

An invalid IP address was passed to the serve function.

Thrown by: serve_axon, serve_axon_tls +1
InvalidIpType error v101 → v411 #1

The user is trying to serve an axon which is not of type 4 (IPv4) or 6 (IPv6).

Thrown by: serve_axon, serve_axon_tls +1
InvalidLeaseBeneficiary error v290 → v411 #100

Invalid lease beneficiary to register the leased network.

Thrown by: register_leased_network, terminate_lease
InvalidNumRootClaim error v334 → v411 #123

Invalid number of root claims.

Thrown by: sudo_set_num_root_claims
InvalidPort error v121 → v411 #3

An invalid port was passed to the serve function.

Thrown by: serve_axon, serve_axon_tls +1
InvalidRecoveredPublicKey error v261 → v411 #93

Recovered public key is invalid.

Thrown by: associate_evm_key
InvalidRevealCommitHashNotMatch error v151 → v411 #52

The revealed weights don't match the committed hash.

Thrown by: reveal_weights, reveal_mechanism_weights +1
InvalidRootClaimThreshold error v334 → v411 #124

Invalid value of root claim threshold.

Thrown by: sudo_set_root_claim_threshold
InvalidSeal error v101 → v411 #26

The supplied PoW hash seal does not match the supplied work.

Thrown by: register
InvalidSubnetNumber error v334 → v411 #125

Exceeded subnet limit number or zero.

InvalidValue error v306 → v411 #115

Generic error for out-of-range parameter value.

InvalidVotingPowerEmaAlpha error v385 → v411 #128

Invalid voting power EMA alpha value (must be <= 10^18).

InvalidWorkBlock error v101 → v411 #24

The supplied PoW hash block is in the future or negative.

Thrown by: register
IsNetworkMember storage v101 → v411

Whether a hotkey is registered on a subnet.

Modified by: burned_register, register +2
●●●●○○ Medium usage
MiningRegistration
Kappa storage v101 → v411

Kappa parameter for consensus.

Modified by: register_network
SubnetsAdminMetagraph
KappaSet event v101 → v411 #18

Emitted when kappa parameter is changed.

SubnetsAdminMetagraph
Keys storage v101 → v411 Changed in v411

Hotkey at a specific UID on a subnet.

Modified by: burned_register, register +2
●●●●○○ Medium usage
MiningMetagraphRegistration
KeySwapCost constant v162 → v411

Cost to swap a hotkey.

KeySwapOnSubnetCost constant v276 → v411

Cost to swap a hotkey on a specific subnet.

LargestLocked storage v233 → v411

Largest amount locked on a subnet.

System
LastAdjustmentBlock storage v101 → v411

Block of last difficulty/burn adjustment per subnet.

Subnets
LastColdkeyHotkeyStakeBlock storage v238 → v411 Changed in v411

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

Staking
LastHotkeyEmissionOnNetuid storage v233 → v411

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

MiningEmissions
LastHotkeySwapOnNetuid storage v276 → v411

Block of last hotkey swap on a subnet.

Modified by: swap_hotkey
SystemIdentity
LastMechansimStepBlock storage v101 → v411

Last block when emission mechanism stepped.

Runtime Hook Modified by runtime hooks, not user extrinsics
SystemEmissions
LastRateLimitedBlock storage v273 → v411 Changed in v411

Block of last rate-limited operation by key type.

System
LastTxBlock storage v101 → v411

Block of last transaction for an account.

Modified by: associate_evm_key, batch_commit_weights +11
●●●●●○ High usage
System
LastTxBlockChildKeyTake storage v195 → v411

Block of last childkey take change for an account.

Modified by: set_childkey_take
Staking
LastTxBlockDelegateTake storage v149 → v411

Block of last delegate take change for an account.

Modified by: decrease_take, increase_take
Validation
LastUpdate storage v101 → v411

Block number of last weight update for a neuron.

Modified by: batch_reveal_weights, batch_set_weights +4
●●●●●● Ultra-High usage Calls + Hooks
ValidationMetagraph
LeaseCannotEndInThePast error v290 → v411 #101

Lease cannot end in the past.

Thrown by: register_leased_network
LeaseDividendsDistributionInterval constant v290 → v411

Blocks between lease dividend distributions.

LeaseDoesNotExist error v290 → v411 #103

The lease does not exist.

Thrown by: terminate_lease
LeaseHasNoEndBlock error v290 → v411 #104

The lease has no end block defined.

Thrown by: terminate_lease
LeaseHasNotEnded error v290 → v411 #105

The lease has not ended yet.

Thrown by: terminate_lease
LeaseNetuidNotFound error v290 → v411 #102

Couldn't find the lease netuid.

Thrown by: terminate_lease
LiquidAlphaDisabled error v156 → v411 #55

Liquid Alpha feature is disabled on this subnet.

LiquidAlphaOn storage v156 → v411

Whether Liquid Alpha is enabled per subnet.

SystemAdminAlpha
LiquidAlphaOn constant v156 → v411

Flag indicating if Liquid Alpha is enabled.

LoadedEmission storage v101 → v411 Changed in v411

Preloaded emission data for a subnet.

SystemEmissions
Lock storage v411 New

Per-coldkey per-subnet per-hotkey lock state. DMAP (coldkey, subnet, hotkey) → LockState.

lock_stake call v411 New #136

Locks alpha stake on a hotkey/subnet to build conviction. Locks decay over time unless set perpetual.

Emits: StakeLocked
LockHotkeyMismatch error v411 New #136

Lock hotkey mismatch: existing lock is for a different hotkey.

LockMoved event v411 New #128

Emitted when a coldkey moves an existing lock from one hotkey to another on the same subnet.

Emitted by: move_lock
MaturityRate storage v411 New

Decay timescale in blocks for lock conviction. ITEM, default ~90 days.

MaxAllowedUids storage v101 → v411

Maximum neurons allowed on subnet.

Modified by: register_network
SubnetsAdminMetagraph
MaxAllowedUidsSet event v101 → v411 #9

Emitted when maximum neurons allowed on subnet is changed.

SubnetsAdminMetagraph
MaxAllowedValidators storage v101 → v411

Maximum validators on a subnet.

Modified by: register_network
ValidationAdminMetagraph
MaxAllowedValidatorsSet event v101 → v411 #27

Emitted when maximum validators allowed is changed.

SubnetsAdminMetagraph
MaxBurn storage v101 → v411

Maximum burn for registration.

Modified by: register_network
SubnetsAdminRegistration
MaxBurnLowerBound constant v315 → v411

Lower bound for maximum burn value.

MaxBurnSet event v101 → v411 #37

Emitted when maximum burn for registration is changed.

SubnetsAdminRegistration
MaxChildkeyTake storage v195 → v411

Maximum allowed child key take rate.

Modified by: sudo_set_max_childkey_take
StakingAdmin
MaxChildKeyTakeSet event v195 → v411 Changed in v411 #46

Emitted when maximum child key take rate is changed.

Emitted by: sudo_set_max_childkey_take Modifies: MaxChildkeyTake
StakingAdmin
MaxDelegateTake storage v195 → v411

Maximum allowed delegate take rate.

ValidationAdmin
MaxDelegateTakeSet event v149 → v411 Changed in v411 #66

Emitted when the maximum allowed delegate take is changed.

ValidationAdmin
MaxDifficulty storage v101 → v411

Maximum POW difficulty.

Modified by: register_network
SubnetsAdminRegistration
MaxDifficultySet event v101 → v411 #34

Emitted when maximum POW difficulty is changed.

SubnetsAdminRegistration
MaxImmuneUidsPercentage constant v320 → v411

Maximum percentage of UIDs that can be immune.

MaxMechanismCount storage v385 → v411

ITEM( max_mechanism_count )

MaxRegistrationsPerBlock storage v101 → v411

Maximum registrations allowed per block.

MiningAdminRegistration
MaxRegistrationsPerBlockSet event v101 → v411 #14

Emitted when maximum registrations per block is changed.

MiningAdminRegistration
MaxWeightExceeded error v101 → v411 #27

Weight value exceeds the maximum limit (currently u16::MAX).

Thrown by: set_weights, set_mechanism_weights
MaxWeightLimitSet event v101 → v411 #10

Emitted when maximum weight limit is changed.

SubnetsAdminWeights
MaxWeightsLimit storage v101 → v411

Maximum weights a validator can set.

Modified by: register_network
SubnetsAdminWeights
MechanismCountCurrent storage v320 → v411

Current number of mechanisms active on a subnet.

Subnets
MechanismDoesNotExist error v233 → v411 #74

Subnet mechanism does not exist.

Thrown by: set_weights, set_mechanism_weights +8
MechanismEmissionSplit storage v320 → v411 Changed in v411

Emission distribution ratios between mechanisms per subnet.

SubnetsEmissions
MinActivityCutoff storage v247 → v411

Minimum activity required for neurons to remain registered.

SubnetsAdminMetagraph
MinAllowedUids storage v320 → v411

Minimum UIDs a subnet must maintain.

SubnetsAdminMetagraph
MinAllowedUidsSet event v320 → v411 Changed in v411 #110

Emitted when minimum allowed UIDs is changed.

SubnetsAdminMetagraph
MinAllowedWeights storage v101 → v411

Minimum weights a validator must set.

Modified by: register_network
SubnetsAdminWeights
MinAllowedWeightSet event v101 → v411 #19

Emitted when minimum required weights per validator is changed.

SubnetsAdminWeights
MinBurn storage v101 → v411

Minimum burn for registration.

Modified by: register_network
SubnetsAdminRegistration
MinBurnSet event v101 → v411 #38

Emitted when minimum burn for registration is changed.

SubnetsAdminRegistration
MinBurnUpperBound constant v315 → v411

Upper bound for minimum burn value.

MinChildkeyTake storage v195 → v411

Minimum allowed child key take rate.

Modified by: sudo_set_min_childkey_take
StakingAdmin
MinChildkeyTakePerSubnet storage v411 New

Per-subnet minimum child-key take floor. MAP (netuid) → u16.

MinChildKeyTakePerSubnetSet event v411 New #45

Emitted when a subnet's minimum child-key take floor is updated.

MinChildKeyTakeSet event v195 → v411 #44

Emitted when minimum child key take rate is changed.

Emitted by: sudo_set_min_childkey_take Modifies: MinChildkeyTake
StakingAdmin
MinDelegateTake storage v195 → v411

Minimum allowed delegate take rate.

ValidationAdmin
MinDelegateTakeSet event v149 → v411 Changed in v411 #67

Emitted when the minimum allowed delegate take is changed.

ValidationAdmin
MinDifficulty storage v101 → v411

Minimum POW difficulty.

Modified by: register_network
SubnetsAdminRegistration
MinDifficultySet event v101 → v411 #33

Emitted when minimum POW difficulty is changed.

SubnetsAdminRegistration
MinNonImmuneUids storage v365 → v411

Minimum non-immune UIDs required per subnet.

SubnetsAdminMetagraph
MinNonImmuneUidsSet event v365 → v411 Changed in v411 #112

Emitted when minimum non-immune UIDs is changed.

SubnetsAdminMetagraph
move_lock call v411 New #137

Moves an existing lock to a new destination hotkey on the same subnet, preserving locked mass but resetting conviction.

Emits: LockMoved
move_stake call v233 → v411 #85

Moves stake from one hotkey/subnet to another.

Emits: StakeMoved Modifies: Alpha, TotalHotkeyAlpha +5
●●●●●○ Core usage
StakingAlpha
NeedWaitingMoreBlocksToStarCall error v257 → v411 #89

Need to wait for more blocks to accept the start call extrinsic.

Thrown by: start_call
NetTaoFlowEnabled storage v411 New

Global flag enabling net TAO flow accounting (protocol cost deduction). ITEM, bool.

NetworkAdded event v101 → v411 #0

Emitted when a new subnet is created on Bittensor.

Emitted by: register_network, register_network_with_identity +1 Modifies: ActivityCutoff, AdjustmentAlpha +32
SubnetsRegistration
NetworkImmunityPeriod storage v133 → v411

Immunity period for new subnets.

SubnetsAdmin
NetworkImmunityPeriodSet event v133 → v411 Changed in v411 #58

Emitted when network immunity period is changed.

SubnetsAdmin
NetworkLastLockCost storage v133 → v411

Last subnet creation lock cost.

Modified by: register_network, register_network_with_identity
Subnets
NetworkLockCostReductionIntervalSet event v134 → v411 Changed in v411 #62

Emitted when lock cost reduction interval is changed.

SubnetsAdmin
NetworkLockReductionInterval storage v133 → v411

Blocks between lock cost reductions.

SubnetsAdmin
NetworkMinLockCost storage v133 → v411

Minimum TAO lock to create subnet.

SubnetsAdmin
NetworkMinLockCostSet event v133 → v411 Changed in v411 #60

Emitted when minimum subnet lock cost is changed.

SubnetsAdmin
NetworkPowRegistrationAllowed storage v136 → v411

Whether PoW registration is allowed per subnet.

SubnetsAdminRegistration
NetworkRateLimit storage v133 → v411

Blocks between allowed subnet creations.

SubnetsAdmin
NetworkRateLimitSet event v133 → v411 Changed in v411 #57

Emitted when network rate limit is changed.

SubnetsAdmin
NetworkRegisteredAt storage v133 → v411

Block when subnet was registered.

Modified by: register_leased_network, register_network +1
SubnetsRegistration
NetworkRegistrationAllowed storage v121 → v411

Whether registration is allowed per subnet.

Modified by: register_network
SubnetsAdminRegistration
NetworkRegistrationStartBlock storage v320 → v411

Block when network registration opens.

SubnetsRegistration
NetworkRemoved event v101 → v411 #1

Emitted when a subnet is removed from the network.

Emitted by: dissolve_network, root_dissolve_network Modifies: ColdkeySwapScheduled, NetworksAdded +2
Subnets
NetworksAdded storage v101 → v411

Whether a subnet with given netuid exists.

Modified by: dissolve_network, register_leased_network +3
Subnets
NetworkTxRateLimitExceeded error v151 → v411 #33

Network creation is rate limited and you're creating too fast.

Thrown by: register_network, register_network_with_identity +1
NeuronCertificates storage v205 → v411 Changed in v411

TLS/SSL certificates for neurons.

Modified by: serve_axon_tls, swap_hotkey
MiningIdentity
NeuronNoValidatorPermit error v151 → v411 #15

The caller is attempting to set non-self weights without being a permitted validator.

Thrown by: set_weights
NeuronRegistered event v101 → v411 #6

Emitted when a new neuron (miner or validator) joins a subnet.

Emitted by: register, burned_register +1 Modifies: Active, BlockAtRegistration +19
●●●○○○ Active usage
MiningRegistration
NewColdKeyIsHotkey error v195 → v411 #70

The destination coldkey address is already used as a hotkey.

Thrown by: swap_coldkey
NewHotKeyIsSameWithOld error v151 → v411 #22

The new hotkey address is the same as the old hotkey.

Thrown by: swap_hotkey
NewHotKeyNotCleanForRootSwap error v401 → v411 #23

The new hotkey has outstanding root claimable or non-zero root stake, so the root rate-book cannot be merged without misallocating dividends.

NextStakeJobId storage v273 → v411

Next ID for staking job queue.

Staking
NextSubnetLeaseId storage v290 → v411

Next ID for subnet lease creation.

Modified by: register_leased_network
Subnets
NoExistingLock error v411 New #138

No existing lock found for the given coldkey and subnet.

NominatorMinRequiredStake storage v146 → v411

Minimum stake required for nominators.

Validation
NonAssociatedColdKey error v101 → v411 #7

The coldkey you're using is not associated with this hotkey for staking operations.

Thrown by: add_stake, add_stake_limit +17
NoNeuronIdAvailable error v149 → v411 #48

No neuron ID (UID) is available for registration.

NotEnoughAlphaOutToRecycle error v257 → v411 #90

There's not enough alpha in circulation to recycle.

Thrown by: recycle_alpha
NotEnoughBalanceToPaySwapColdKey error v156 → v411 #59

Insufficient balance to pay the coldkey swap fee.

Thrown by: swap_coldkey
NotEnoughBalanceToPaySwapHotKey error v151 → v411 #45

Insufficient balance to pay the hotkey swap fee.

Thrown by: swap_hotkey
NotEnoughBalanceToStake error v101 → v411 #12

Your coldkey doesn't have enough free TAO to complete the staking operation.

Thrown by: add_stake, add_stake_limit +6
NotEnoughStake error v233 → v411 #8

The caller does not have enough stake to perform this action.

Thrown by: move_stake, transfer_stake +4
NotEnoughStakeToSetChildkeys error v216 → v411 #11

The parent hotkey needs more stake to set child keys.

Thrown by: set_children
NotEnoughStakeToSetWeights error v142 → v411 #10

Your hotkey doesn't have enough stake to set weights on this subnet.

Thrown by: set_weights, set_mechanism_weights +4
NotEnoughStakeToWithdraw error v151 → v411 #9

You're trying to unstake more TAO than you have staked to this hotkey.

Thrown by: remove_stake, remove_stake_limit +3
NotRootSubnet error v151 → v411 #46

Netuid does not match for setting root network weights.

Thrown by: root_register
NotSubnetOwner error v133 → v411 #41

You're not the owner of this subnet.

Thrown by: dissolve_network, set_subnet_identity +2
NoWeightsCommitFound error v151 → v411 #51

You're trying to reveal weights, but no commit was found.

Thrown by: reveal_weights, reveal_mechanism_weights +1
NumRootClaim storage v334 → v411

Counter for root claim operations.

Modified by: sudo_set_num_root_claims
StakingAdminEmissions
NumStakingColdkeys storage v334 → v411

Total count of unique coldkeys with stake.

Modified by: add_stake, add_stake_limit +5
●●●●●● Ultra-High usage
Staking
Overflow error v290 → v411 #106

An arithmetic overflow occurred.

OwnedHotkeys storage v156 → v411

List of hotkeys owned by a coldkey.

Modified by: add_stake, add_stake_limit +3
●●●●●○ High usage
Staking
Owner storage v101 → v411

Coldkey owner of a hotkey.

Modified by: swap_coldkey, swap_hotkey +1
●●○○○○ Minimal usage
Subnets
OwnerCutAutoLockEnabled storage v411 New

Per-subnet flag controlling whether owner cut auto-locks into OwnerLock. MAP (netuid) → bool, default true.

OwnerCutEnabled storage v411 New

Per-subnet flag controlling whether the owner cut is paid. MAP (netuid) → bool.

OwnerHyperparamRateLimit storage v320 → v411

Rate limit for owner hyperparameter changes in epochs.

SubnetsAdmin
OwnerHyperparamRateLimitSet event v320 → v411 #43

Emitted when subnet owner hyperparameter rate limit is changed.

SubnetsAdmin
OwnerLock storage v411 New

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

ParentKeys storage v195 → v411

Parent hotkeys for a child hotkey on a subnet.

Modified by: set_children, swap_hotkey
●●●○○○ Low usage
Staking
PendingChildKeyCooldown storage v277 → v411

Cooldown period for pending childkey operations.

Modified by: set_pending_childkey_cooldown
Staking
PendingChildKeys storage v216 → v411

Scheduled child key changes awaiting execution.

Modified by: set_children
●●●○○○ Low usage
Staking
PendingOwnerCut storage v233 → v411

Pending owner cut emissions per subnet.

SubnetsEmissions
PendingRootAlphaDivs storage v334 → v411

Pending root alpha dividends per subnet.

Modified by: claim_root
●●○○○○ Minimal usage
StakingAlphaEmissions
PendingServerEmission storage v343 → v411

Pending miner (server) emissions per subnet — accumulates, reset at tempo.

MiningEmissions
PendingValidatorEmission storage v343 → v411

Pending validator emissions per subnet — accumulates, reset at tempo.

ValidationEmissions
PerpetualLockUpdated event v411 New #130

Emitted when a coldkey's perpetual-lock flag flips on or off for a specific subnet.

PowRegistrationAllowed event v136 → v411 Changed in v411 #50

Emitted when proof-of-work registration is toggled for a subnet.

MiningAdminRegistration
POWRegistrationsThisInterval storage v101 → v411

POW registrations in current interval.

Modified by: register
MiningRegistration
Prometheus storage v101 → v411 Changed in v411

Prometheus endpoint info for neurons.

Modified by: serve_prometheus, swap_hotkey
MiningIdentity
PrometheusServed event v101 → v411 #29

Emitted when a neuron updates their Prometheus metrics endpoint.

Emitted by: serve_prometheus Modifies: LastTxBlock, Prometheus
●●○○○○ Moderate usage
MiningIdentity
ProportionOverflow error v195 → v411 #62

Proportion overflow when setting children.

RAORecycledForRegistration storage v118 → v411

RAO recycled from registration burns per subnet.

Modified by: recycle_alpha
MiningAdminRegistration
RAORecycledForRegistrationSet event v118 → v411 Changed in v411 #52

Emitted when the RAO recycled amount for registration is changed.

●●●○○○ Active usage
MiningAdminRegistration
recycle_alpha call v257 → v411 #101

Recycles alpha tokens back to subnet pool.

Emits: AlphaRecycled Modifies: Alpha, TotalHotkeyAlpha +3
StakingAlpha
RecycleOrBurn storage v320 → v411 Changed in v411

Whether registration burns are recycled or destroyed per subnet.

SystemAdminAlpha
register call v101 → v411 #6

Registers a neuron using proof-of-work solution.

Emits: NeuronRegistered, BulkNeuronsRegistered Modifies: Uids, Keys +16
●●●●○○ Active usage
MiningRegistration
register_leased_network call v290 → v411 #110

Creates a new subnet under lease terms.

Emits: NetworkAdded, SubnetLeaseCreated Modifies: NetworksAdded, SubnetOwner +6
SubnetsRegistration
register_limit call v401 → v411 #134

User register a new subnetwork via burning token, but only if the

register_network call v133 → v411 #59

Creates a new subnet on the Bittensor network.

Emits: NetworkAdded Modifies: NetworksAdded, SubnetOwner +26
●●●●○○ Active usage
SubnetsRegistration
register_network_with_identity call v195 → v411 #79

Creates a new subnet with identity metadata.

Emits: NetworkAdded Modifies: NetworksAdded, SubnetOwner +7
●●●●○○ Active usage
SubnetsRegistrationIdentity
RegisteredSubnetCounter storage v401 → v411

--- MAP ( netuid ) --> registered_subnet_counter

RegistrationAllowed event v121 → v411 Changed in v411 #49

Emitted when registration is enabled or disabled for a subnet.

MiningAdminRegistration
RegistrationNotPermittedOnRootSubnet error v151 → v411 #42

Operation is not permitted on the root subnet.

Thrown by: register, burned_register +1
RegistrationPerIntervalSet event v101 → v411 #13

Emitted when target registrations per interval is changed.

MiningAdminRegistration
RegistrationPriceLimitExceeded error v401 → v411 #135

Registration Price Limit Exceeded

RegistrationsThisBlock storage v101 → v411

Registrations in current block.

Modified by: burned_register, register
●●●●○○ Medium usage
MiningRegistration
RegistrationsThisInterval storage v101 → v411

Registrations in current adjustment interval.

Modified by: burned_register, register
●●●●○○ Medium usage
MiningRegistration
remove_stake call v101 → v411 #3

Withdraws staked TAO from a hotkey back to the coldkey.

Emits: StakeRemoved, AggregatedStakeRemoved +1 Modifies: TotalStake, Alpha +7
●●●●●○ Core usage
StakingAlpha
remove_stake_full_limit call v290 → v411 #103

Removes all stake from a subnet with optional price limit.

Emits: StakeRemoved Modifies: TotalStake, Alpha +7
●●●●○○ Active usage
StakingAlpha
remove_stake_limit call v233 → v411 #89

Removes stake with a price limit for slippage protection.

Emits: StakeRemoved Modifies: TotalStake, Alpha +7
●●●●●○ Core usage
StakingAlpha
reset_coldkey_swap call v385 → v411 #128

Reset a coldkey swap by clearing the announcement and dispute status.

reveal_mechanism_weights call v320 → v411 #116

Reveals weights committed via mechanism commit.

Emits: WeightsSet, WeightsRevealed Modifies: Weights, LastUpdate +1
ValidationWeights
reveal_weights call v151 → v411 #97

Reveals previously committed weights.

Emits: WeightsSet, WeightsRevealed +2 Modifies: Weights, LastUpdate +1
●●●●○○ Active usage
ValidationWeights
RevealPeriodEpochs storage v205 → v411

Epochs allowed for weight reveal after commit.

ValidationAdminWeights
RevealPeriodTooLarge error v306 → v411 #113

The reveal period is too large.

RevealPeriodTooSmall error v306 → v411 #114

The reveal period is too small.

RevealTooEarly error v205 → v411 #79

You're trying to reveal weights before the reveal period starts.

Thrown by: reveal_weights, reveal_mechanism_weights +1
Rho storage v101 → v411

Rho parameter for emissions.

Modified by: register_network
SubnetsAdminMetagraph
RhoSet event v101 → v411 #16

Emitted when rho parameter is changed.

SubnetsAdminMetagraph
root_dissolve_network call v320 → v411 #120

Dissolves a network using root authority.

Emits: NetworkRemoved Modifies: NetworksAdded, SubnetOwner +1
SubnetsAdmin
root_register call v133 → v411 #62

Registers a validator on the root network (subnet 0).

Emits: NeuronRegistered Modifies: Uids, Keys +4
●●●○○○ Moderate usage
ValidationRegistration
RootAlphaDividendsPerSubnet storage v361 → v411

Root network alpha dividends per subnet at the last tempo firing.

StakingAlphaEmissions
RootClaimable storage v334 → v411 Changed in v411

Per-subnet alpha claimable by a hotkey from root network emissions.

StakingEmissions
RootClaimableThreshold storage v334 → v411

Minimum stake required to claim root network rewards.

Modified by: sudo_set_root_claim_threshold
StakingAdminEmissions
RootClaimed event v334 → v411 Changed in v411 #113

Emitted when a coldkey claims their root network emissions.

Emitted by: claim_root Modifies: PendingRootAlphaDivs, RootClaimed
●●●●○○ Significant usage
StakingEmissions
RootClaimed storage v334 → v411 Changed in v411

Total TAO claimed from root network by a hotkey.

Modified by: claim_root
●●○○○○ Minimal usage
StakingEmissions
RootClaimType storage v334 → v411

Claim distribution type for root network rewards.

Modified by: set_root_claim_type
●●○○○○ Minimal usage
StakingAdminEmissions
RootClaimTypeSet event v334 → v411 Changed in v411 #114

Emitted when a coldkey sets their root emission claim type.

Emitted by: set_root_claim_type Modifies: RootClaimType
StakingAdminEmissions
RootNetworkDoesNotExist error v151 → v411 #0

The root network (netuid 0) doesn't exist or isn't accessible.

Thrown by: root_register
RootProp storage v365 → v411

Root network proportion for emission distribution.

StakingEmissions
SameAutoStakeHotkeyAlreadySet error v326 → v411 #119

Same auto stake hotkey is already set.

SameNetuid error v273 → v411 #97

Invalid netuid duplication.

Thrown by: move_stake, swap_stake +1
ScalingLawPower storage v101 → v411

Scaling law exponent per subnet.

SubnetsAdminMetagraph
ScalingLawPowerSet event v101 → v411 #21

Emitted when scaling law power parameter is changed.

SubnetsAdminMetagraph
schedule_swap_coldkey call v195 → v411 #73

Schedules a coldkey swap for future execution.

Emits: ColdkeySwapScheduled Modifies: ColdkeySwapScheduled, LastTxBlock
SystemIdentity
serve_axon call v101 → v411 #4

Registers axon server endpoint for a neuron.

Emits: AxonServed Modifies: Axons, LastTxBlock
●●●●●● Dominant usage
MiningIdentity
serve_axon_tls call v205 → v411 #40

Registers TLS-enabled axon server endpoint.

Emits: AxonServed Modifies: Axons, NeuronCertificates +1
●●●○○○ Moderate usage
MiningIdentity
serve_prometheus call v101 → v411 #5

Registers Prometheus metrics endpoint.

Emits: PrometheusServed Modifies: Prometheus, LastTxBlock
●●●●●○ Core usage
MiningIdentity
ServingRateLimit storage v101 → v411

Blocks between allowed serving updates.

SubnetsAdminIdentity
ServingRateLimitExceeded error v101 → v411 #31

An axon or prometheus serving exceeded the rate limit for a registered neuron.

Thrown by: serve_axon, serve_axon_tls +1
ServingRateLimitSet event v101 → v411 #35

Emitted when serving rate limit is changed.

SubnetsAdminIdentity
set_auto_parent_delegation_enabled call v401 → v411 #135

--- Allows a root validator to toggle auto parent delegation

set_childkey_take call v195 → v411 #75

Sets the take rate for a child hotkey.

Emits: ChildKeyTakeSet Modifies: ChildkeyTake, LastTxBlockChildKeyTake
Staking
set_children call v195 → v411 #67

Sets child hotkeys for stake distribution.

Emits: SetChildren, SetChildrenScheduled Modifies: ChildKeys, ParentKeys +2
●●●○○○ Moderate usage
Staking
set_coldkey_auto_stake_hotkey call v315 → v411 #114

Sets the auto-stake destination for a coldkey.

Emits: AutoStakeAdded, AutoStakeDestinationSet Modifies: AutoStakeDestination, AutoStakeDestinationColdkeys
Staking
set_identity call v195 → v411 #68

Sets on-chain identity for a hotkey.

Emits: ChainIdentitySet Modifies: IdentitiesV2, LastTxBlock
SystemIdentity
set_mechanism_weights call v320 → v411 #119

Directly sets mechanism weights without commit-reveal.

Emits: WeightsSet Modifies: Weights, LastUpdate
●●●●○○ Active usage
ValidationWeights
set_pending_childkey_cooldown call v277 → v411 #109

Sets the cooldown period for pending child key changes.

Modifies: PendingChildKeyCooldown
StakingAdmin
set_perpetual_lock call v411 New #138

Toggles whether the caller's individual lock on a subnet is perpetual (never decays) or returns to normal decay.

set_root_claim_type call v334 → v411 #122

Sets how root emissions are claimed/distributed.

Emits: RootClaimTypeSet Modifies: RootClaimType
StakingAdminEmissions
set_subnet_identity call v195 → v411 #78

Sets identity metadata for a subnet.

Emits: SubnetIdentitySet Modifies: SubnetIdentitiesV3
SubnetsIdentity
set_weights call v101 → v411 #0

Sets validator weights for neurons on a subnet.

Emits: WeightsSet Modifies: Weights, LastUpdate
●●●●●● Dominant usage
ValidationWeights
SetChildren event v195 → v411 Changed in v411 #75

Emitted when child hotkeys are set for a parent hotkey.

Emitted by: set_children Modifies: ChildKeys, LastTxBlock +2
●●●○○○ Active usage
Staking
SetChildrenScheduled event v216 → v411 Changed in v411 #74

Emitted when a child hotkey change is scheduled for future execution.

Emitted by: set_children Modifies: ChildKeys, LastTxBlock +2
●●●○○○ Active usage
Staking
SettingWeightsTooFast error v101 → v411 #29

You're setting weights more frequently than the rate limit allows.

Thrown by: set_weights, set_mechanism_weights +1
SlippageTooHigh error v233 → v411 #84

The price impact of your trade exceeds the allowed slippage.

Thrown by: add_stake_limit, remove_stake_limit +2
StakeAdded event v101 → v411 #2

Emitted after stake is successfully transferred from coldkey to hotkey.

Emitted by: add_stake, add_stake_limit Modifies: Alpha, NumStakingColdkeys +8
●●●●●○ Dominant usage
StakingAlpha
StakeLocked event v411 New #126

Emitted when a coldkey locks alpha stake on a hotkey/subnet.

Emitted by: lock_stake
StakeMoved event v233 → v411 #4

Emitted when stake is moved between hotkeys or subnets without unstaking to TAO.

Emitted by: move_stake Modifies: Alpha, SubnetAlphaIn +5
●●●●○○ Significant usage
StakingAlpha
StakeRemoved event v101 → v411 #3

Emitted after stake is successfully withdrawn from hotkey to coldkey.

Emitted by: remove_stake, remove_stake_limit +3 Modifies: Alpha, NumStakingColdkeys +7
●●●●●○ Dominant usage
StakingAlpha
StakeSwapped event v233 → v411 Changed in v411 #91

Emitted when stake is swapped between subnets for the same coldkey-hotkey pair.

Emitted by: swap_stake, swap_stake_limit Modifies: Alpha, SubnetAlphaIn +5
●●●●○○ Significant usage
StakingAlpha
StakeThreshold storage v216 → v411

Minimum stake required to set weights.

Staking
StakeThresholdSet event v216 → v411 Changed in v411 #53

Emitted when the minimum stake threshold for validators is updated.

StakingAdmin
StakeTooLowForRoot error v133 → v411 #43

Your stake is below the minimum required to participate in the root network (netuid 0).

Thrown by: add_stake, remove_stake +1
StakeTransferred event v233 → v411 Changed in v411 #90

Emitted when stake is transferred from one coldkey to another.

Emitted by: transfer_stake Modifies: Alpha, StakingColdkeys +6
●●●○○○ Active usage
StakingAlpha
StakeUnavailable error v411 New #75

Trying to unstake or re-lock the locked amount.

StakeUnlocked event v411 New #127

Emitted when locked alpha decays out or is released, becoming liquid again.

StakeWeight storage v195 → v411 Changed in v411

Stake-based weights per UID per subnet.

Staking
StakingColdkeys storage v334 → v411

Reverse index mapping coldkey to its position.

Modified by: add_stake, add_stake_limit +7
●●●●●● Ultra-High usage
Staking
StakingColdkeysByIndex storage v334 → v411

Index mapping for iterating staking coldkeys.

Staking
StakingHotkeys storage v159 → v411

List of hotkeys a coldkey has staked to.

Modified by: add_stake, add_stake_limit +7
●●●●●● Ultra-High usage
Staking
StakingOperationRateLimiter storage v290 → v411

Rate limiting markers for staking operations.

Staking
StakingOperationRateLimitExceeded error v290 → v411 #99

Too frequent staking operations.

Thrown by: add_stake, remove_stake +3
StakingRateLimitExceeded error v217 → v411 #36

A transactor exceeded the rate limit for staking.

Thrown by: add_stake, add_stake_limit +1
start_call call v257 → v411 #92

Starts subnet operations/emissions.

Emits: FirstEmissionBlockNumberSet, StartCallDelaySet Modifies: FirstEmissionBlockNumber
System
StartCallDelay storage v372 → v411

Delay before subnet can call start.

Admin
StartCallDelaySet event v372 → v411 Changed in v411 #59

Emitted when start call delay is changed.

Emitted by: start_call Modifies: FirstEmissionBlockNumber
Admin
SubnetAlphaIn storage v233 → v411

Alpha tokens in the subnet liquidity pool.

Modified by: add_stake, add_stake_limit +4
●●●●●○ High usage
SubnetsAlpha
SubnetAlphaInEmission storage v233 → v411

Alpha tokens emitted into subnet pools per block.

SubnetsAlphaEmissions
SubnetAlphaInProvided storage v290 → v411

User-provided alpha liquidity in subnet pools.

SubnetsAlpha
SubnetAlphaOut storage v233 → v411

Alpha tokens distributed to stakers.

Modified by: move_stake, recycle_alpha +8
●●●●●○ High usage
SubnetsAlpha
SubnetAlphaOutEmission storage v233 → v411

Alpha tokens emitted out of subnet pools per block.

SubnetsAlphaEmissions
SubnetEmaProtocolFlow storage v411 New

EMA of protocol cost flow per subnet, same smoothing as SubnetEmaTaoFlow. MAP (netuid) → (u64, I64F64).

SubnetEmaTaoFlow storage v334 → v411 Changed in v411

EMA of TAO inflow-outflow balance per subnet.

SubnetsAlpha
SubnetEmissionEnabled storage v411 New

Per-subnet flag controlling pool-side emission paths. MAP (netuid) → bool, default true.

SubnetExcessTao storage v411 New

Excess TAO swapped (chain buys) into a subnet on the last block. MAP (netuid) → TaoBalance.

SubnetIdentitiesV3 storage v290 → v411 Changed in v411

Identity metadata for subnets (v3).

Modified by: register_network_with_identity, set_subnet_identity
●●○○○○ Minimal usage
SubnetsIdentity
SubnetIdentityRemoved event v195 → v411 Changed in v411 #78

Emitted when a subnet's identity metadata is removed.

SubnetsIdentity
SubnetIdentitySet event v195 → v411 Changed in v411 #77

Emitted when a subnet's identity metadata is set or updated.

Emitted by: set_subnet_identity Modifies: SubnetIdentitiesV3
SubnetsIdentity
SubnetLeaseCreated event v290 → v411 Changed in v411 #102

Emitted when a new subnet lease is created.

Emitted by: register_leased_network Modifies: NetworkRegisteredAt, NetworksAdded +6
Subnets
SubnetLeaseDividendsDistributed event v361 → v411 Changed in v411 #119

Emitted when lease dividends are distributed to stakeholders.

SubnetsStakingEmissions
SubnetLeases storage v290 → v411 Changed in v411

Active subnet leases.

Modified by: register_leased_network, terminate_lease
Subnets
SubnetLeaseShares storage v290 → v411 Changed in v411

Share ownership in subnet leases.

Modified by: register_leased_network
Subnets
SubnetLeaseTerminated event v290 → v411 Changed in v411 #103

Emitted when a subnet lease is terminated.

Emitted by: terminate_lease Modifies: SubnetLeases, SubnetOwner +1
Subnets
SubnetLimit storage v133 → v411

Maximum number of subnets allowed on the network.

SubnetsAdmin
SubnetLimitReached error v320 → v411 #116

The maximum number of subnets has been reached.

Thrown by: register_network, register_network_with_identity +1
SubnetLimitSet event v134 → v411 Changed in v411 #61

Emitted when the maximum number of subnets is changed.

SubnetsAdmin
SubnetLocked storage v133 → v411

TAO locked for a subnet.

Modified by: register_network, register_network_with_identity
Subnets
SubnetMechanism storage v233 → v411

Consensus mechanism type per subnet.

Modified by: register_network, register_network_with_identity
Subnets
SubnetMovingAlpha storage v233 → v411

Moving alpha smoothing factor for all subnets.

SubnetsAlpha
SubnetMovingPrice storage v233 → v411

Moving average price for subnet alpha.

Modified by: move_stake, swap_stake +1
●●●●●○ High usage
SubnetsAlpha
SubnetNotExists error v233 → v411 #76

The specified subnet (netuid) doesn't exist.

Thrown by: add_stake, add_stake_limit +16
SubnetOwner storage v133 → v411

Owner account for a subnet.

Modified by: dissolve_network, register_leased_network +5
Subnets
SubnetOwnerChanged event v411 New #129

Emitted when subnet ownership transfers to a new coldkey because conviction shifted the lead.

SubnetOwnerCut storage v133 → v411

Owner cut fraction from emissions, encoded as u16. To get the fraction: value / u16::MAX (i.e. value / 65535). NOT basis points (10000) or percent (100).

SubnetsEmissions
SubnetOwnerCutSet event v133 → v411 Changed in v411 #56

Emitted when subnet owner emission cut is changed.

SubnetsEmissions
SubnetOwnerHotkey storage v233 → v411

Hotkey associated with subnet owner.

Modified by: terminate_lease
Subnets
SubnetOwnerHotkeySet event v252 → v411 Changed in v411 #93

Emitted when a subnet's owner hotkey is changed.

Subnets
SubnetProtocolFlow storage v411 New

Per-block accumulator for protocol cost per subnet (emission + chain buys - root sells). MAP (netuid) → i64.

SubNetRegistrationDisabled error v151 → v411 #37

Registration is disabled on this subnet.

Thrown by: register, burned_register
SubnetRootSellTao storage v411 New

TAO received from root dividend sells on a subnet on the last block. MAP (netuid) → TaoBalance.

SubnetTAO storage v233 → v411

TAO in the subnet liquidity pool.

Modified by: add_stake, add_stake_limit +9
●●●●●○ High usage
SubnetsAlpha
SubnetTaoFlow storage v334 → v411

TAO inflow-outflow balance per subnet.

SubnetsAlpha
SubnetTaoInEmission storage v233 → v411

TAO amount emitted into each subnet on the LAST block.

SubnetsEmissions
SubnetTaoProvided storage v290 → v411

TAO provided to subnet pools by users.

Subnets
SubnetUidToLeaseId storage v290 → v411

Map subnet UIDs to lease IDs.

Modified by: register_leased_network
Subnets
SubnetVolume storage v233 → v411

Total trading volume on a subnet.

SubnetsAlpha
SubnetworkN storage v101 → v411

Number of registered neurons on a subnet.

Modified by: burned_register, register +1
●●●●○○ Medium usage Calls + Hooks
SubnetsMetagraph
SubtensorPalletId constant v411 New

PalletId used to derive per-subnet sovereign account IDs (b"subtensr").

SubtokenDisabled error v273 → v411 #94

SubToken feature is currently disabled.

SubtokenEnabled storage v273 → v411

Whether subtoken trading is enabled per subnet.

SubnetsAlpha
Sudid event v123 → v411 Changed in v411 #48

Emitted when a sudo operation is executed.

Admin
sudo_set_max_childkey_take call v195 → v411 #77

Sets maximum child key take rate (admin).

Emits: MaxChildKeyTakeSet Modifies: MaxChildkeyTake
Admin
sudo_set_min_childkey_take call v195 → v411 #76

Sets minimum child key take rate (admin).

Emits: MinChildKeyTakeSet Modifies: MinChildkeyTake
Admin
sudo_set_num_root_claims call v334 → v411 #123

Sets number of root claims allowed (admin).

Modifies: NumRootClaim
AdminEmissions
sudo_set_root_claim_threshold call v334 → v411 #124

Sets threshold for root claims (admin).

Modifies: RootClaimableThreshold
AdminEmissions
sudo_set_tx_childkey_take_rate_limit call v195 → v411 #69

Sets rate limit for child key take changes (admin).

Emits: TxChildKeyTakeRateLimitSet Modifies: TxChildkeyTakeRateLimit
Admin
sudo_set_voting_power_ema_alpha call v385 → v411 #131

Sets the EMA alpha value for voting power calculation on a subnet.

swap_coldkey call v156 → v411 #71

Swaps coldkey to a new address (immediate).

Emits: ColdkeySwapped, AllBalanceUnstakedAndTransferredToNewColdkey Modifies: Owner, OwnedHotkeys +6
●●○○○○ Low usage
SystemIdentity
swap_coldkey_announced call v385 → v411 #126

Performs a coldkey swap if an announcement has been made.

swap_hotkey call v136 → v411 #70

Swaps hotkey to a new address.

Emits: HotkeySwapped, HotkeySwappedOnSubnet Modifies: Owner, OwnedHotkeys +15
MiningIdentity
swap_hotkey_v2 call v391 → v411 #72

---- The extrinsic for user to change its hotkey in subnet or all subnets. This extrinsic is

swap_stake call v233 → v411 #87

Swaps stake between subnets for the same coldkey-hotkey pair.

Emits: StakeSwapped Modifies: Alpha, TotalHotkeyAlpha +5
●●●○○○ Moderate usage
StakingAlpha
swap_stake_limit call v233 → v411 #90

Swaps stake between subnets with price limit protection.

Emits: StakeSwapped Modifies: Alpha, TotalHotkeyAlpha +5
●●●○○○ Moderate usage
StakingAlpha
SymbolAlreadyInUse error v290 → v411 #111

The symbol is already in use.

Thrown by: register_network_with_identity, update_symbol
SymbolDoesNotExist error v290 → v411 #110

The symbol does not exist.

Thrown by: update_symbol
SymbolUpdated event v290 → v411 Changed in v411 #104

Emitted when a subnet's token symbol is updated.

Emitted by: update_symbol Modifies: TokenSymbol
SubnetsAlpha
TakeDecreased event v149 → v411 Changed in v411 #63

Emitted when a delegate decreases their commission rate.

Emitted by: decrease_take Modifies: Delegates, LastTxBlockDelegateTake
Validation
TakeIncreased event v149 → v411 Changed in v411 #64

Emitted when a delegate increases their commission rate.

Emitted by: increase_take Modifies: Delegates, LastTxBlockDelegateTake
Validation
TaoFlowCutoff storage v334 → v411 Changed in v411

Cutoff threshold for TAO flow calculations.

SystemAdminAlpha
TaoWeight storage v233 → v411

Global TAO weight in economics.

SystemAdmin
TargetRegistrationsPerInterval storage v101 → v411

Target registrations per adjustment interval.

Modified by: register_network
SubnetsAdminRegistration
Tempo storage v101 → v411

Emission interval for a subnet (blocks).

Modified by: register_network
SubnetsAdminEmissions
TempoSet event v121 → v411 Changed in v411 #51

Emitted when a subnet's tempo (emission interval) is changed.

SubnetsAdminEmissions
terminate_lease call v290 → v411 #111

Terminates a subnet lease early.

Emits: SubnetLeaseTerminated Modifies: SubnetLeases, SubnetOwner +1
Subnets
TimelockedWeightCommits storage v306 → v411 Changed in v411

Timelocked weight commits for commit-reveal — canonical at v411.

Modified by: commit_timelocked_mechanism_weights, commit_timelocked_weights
●●●●●○ High usage
ValidationWeights
TimelockedWeightsCommitted event v306 → v411 Changed in v411 #106

Emitted when weights are committed with a specific reveal round.

Emitted by: commit_timelocked_weights, commit_timelocked_mechanism_weights Modifies: LastTxBlock, TimelockedWeightCommits
●●●●○○ Significant usage
ValidationWeights
TimelockedWeightsRevealed event v306 → v411 Changed in v411 #107

Emitted when timelocked weights are revealed after their round.

Emitted by: reveal_weights Modifies: LastUpdate, WeightCommits +1
●●●●○○ Significant usage
ValidationWeights
TokenSymbol storage v233 → v411

Token symbol for subnet alpha tokens.

Modified by: register_network_with_identity, update_symbol
SubnetsAlpha
TooManyChildren error v195 → v411 #63

You've exceeded the maximum number of child hotkeys (5).

Thrown by: set_children
TooManyRegistrationsThisBlock error v101 → v411 #20

The registration rate limit for this block has been exceeded.

Thrown by: register, burned_register
TooManyRegistrationsThisInterval error v111 → v411 #38

The number of registration attempts exceeded the allowed number in the interval.

Thrown by: register, burned_register
TooManyUIDsPerMechanism error v385 → v411 #126

The maximum allowed UIDs times mechanism count should not exceed 256.

TooManyUnrevealedCommits error v205 → v411 #77

You have too many pending weight commits awaiting reveal.

Thrown by: commit_weights, commit_mechanism_weights +4
TotalHotkeyAlpha storage v233 → v411

Total alpha stake delegated to a hotkey.

Modified by: add_stake, add_stake_limit +13
●●●●●● Ultra-High usage
StakingAlpha
TotalHotkeyAlphaLastEpoch storage v261 → v411

Hotkey alpha ownership from last epoch.

StakingAlpha
TotalHotkeyShares storage v233 → v411 Changed in v411

Legacy total shares per (hotkey, netuid), stored as FixedU128 { bits }. Superseded by TotalHotkeySharesV2 at v401.

Modified by: add_stake, add_stake_limit +13
●●●●●● Ultra-High usage
StakingAlpha
TotalHotkeySharesV2 storage v401 → v411

V2 total shares per (hotkey, netuid), stored as SafeFloat { mantissa, exponent }. Supersedes TotalHotkeyShares at v401.

TotalIssuance storage v101 → v411

Total TAO in circulation.

Modified by: burn_alpha, burned_register
Runtime Hook Modified by runtime hooks, not user extrinsics
SystemEmissions
TotalNetworks storage v101 → v411

Total number of subnets on the network.

Modified by: dissolve_network, register_leased_network +3
Subnets
TotalStake storage v101 → v411

Total TAO staked across all hotkeys.

Modified by: add_stake, add_stake_limit +5
●●●●●● Ultra-High usage
Staking
TransactionFeePaidWithAlpha event v401 → v411 Changed in v411 #122

Transaction fee was paid in Alpha.

TransactionKeyLastBlock storage v195 → v411 Changed in v411

Last block for rate-limited transaction by key.

System
TransactorAccountShouldBeHotKey error v151 → v411 #39

The hotkey is required to be the origin (signer).

transfer_stake call v233 → v411 #86

Transfers stake from one coldkey to another on the same hotkey.

Emits: StakeTransferred Modifies: Alpha, TotalHotkeyAlpha +6
●●●●○○ Active usage
StakingAlpha
TransferDisallowed error v233 → v411 #85

Subnet disallows transfer.

TransferToggle event v233 → v411 Changed in v411 #92

Emitted when transfer functionality is toggled.

Admin
TransferToggle storage v233 → v411

Whether alpha transfers are enabled per subnet.

Admin
TrimmingWouldExceedMaxImmunePercentage error v323 → v411 #121

Trimming would exceed the max immune neurons percentage.

try_associate_hotkey call v244 → v411 #91

Attempts to associate a hotkey with a coldkey.

Modifies: Owner, OwnedHotkeys
MiningIdentity
TxChildkeyTakeRateLimit storage v195 → v411

Rate limit for childkey take changes.

Modified by: sudo_set_tx_childkey_take_rate_limit
StakingAdmin
TxChildkeyTakeRateLimitExceeded error v195 → v411 #72

You're changing child key take too frequently.

Thrown by: set_childkey_take
TxChildKeyTakeRateLimitSet event v195 → v411 #41

Emitted when child key take rate limit is changed.

Emitted by: sudo_set_tx_childkey_take_rate_limit Modifies: TxChildkeyTakeRateLimit
Admin
TxDelegateTakeRateLimit storage v149 → v411

Rate limit for delegate take changes.

ValidationAdmin
TxDelegateTakeRateLimitSet event v149 → v411 #40

Emitted when delegate take rate limit is changed.

Admin
TxRateLimit storage v101 → v411

General transaction rate limit.

SystemAdmin
TxRateLimitExceeded error v101 → v411 #64

You're sending transactions too frequently.

Thrown by: add_stake, add_stake_limit +12
TxRateLimitSet event v101 → v411 #39

Emitted when general transaction rate limit is changed.

Admin
UidMapCouldNotBeCleared error v323 → v411 #120

The UID map for the subnet could not be cleared.

Uids storage v101 → v411

UID assigned to a hotkey on a subnet.

Modified by: burned_register, register +2
●●●●○○ Medium usage
MiningMetagraphRegistration
UidsLengthExceedUidsInSubNet error v151 → v411 #32

The caller is attempting to set weights with more UIDs than allowed.

Thrown by: set_weights, set_mechanism_weights
UidVecContainInvalidOne error v151 → v411 #18

The caller is attempting to set weight to at least one UID that does not exist.

Thrown by: set_weights, set_mechanism_weights
UnableToRecoverPublicKey error v261 → v411 #92

Public key cannot be recovered from the signature.

Thrown by: associate_evm_key
UnlockAmountTooHigh error v411 New #141

Trying to unlock more than locked

UnlockRate storage v411 New

Decay timescale in blocks for the locked mass itself. ITEM.

unstake_all call v233 → v411 #83

Removes all stake from a hotkey back to the coldkey.

Emits: StakeRemoved, AggregatedUnstakeAllSucceeded +3 Modifies: TotalStake, Alpha +7
●●●●●○ Core usage
StakingAlpha
unstake_all_alpha call v233 → v411 #84

Removes all alpha stake from a hotkey back to the coldkey.

Emits: StakeRemoved, AggregatedUnstakeAllAlphaSucceeded +1 Modifies: TotalStake, Alpha +6
●●●●○○ Active usage
StakingAlpha
update_symbol call v290 → v411 #112

Updates the token symbol for a subnet.

Emits: SymbolUpdated Modifies: TokenSymbol
SubnetsAlpha
UsedWork storage v101 → v411

Proof-of-work solutions that have been used.

MiningRegistration
ValidatorPermit storage v101 → v411 Changed in v411

Whether a neuron has validator permit.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
ValidationMetagraph
ValidatorPruneLen storage v101 → v411

Number of validators considered for pruning.

SubnetsAdminMetagraph
ValidatorPruneLenSet event v101 → v411 #20

Emitted when validator prune length is changed.

SubnetsAdminMetagraph
ValidatorTrust storage v101 → v411 Changed in v411

Validator-specific trust scores.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
ValidationMetagraph
VotingPower storage v385 → v411

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

VotingPowerDisableAtBlock storage v385 → v411

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

VotingPowerEmaAlpha storage v385 → v411

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

VotingPowerEmaAlphaSet event v385 → v411 Changed in v411 #118

Voting power EMA alpha has been set for a subnet.

VotingPowerTrackingDisabled event v385 → v411 Changed in v411 #117

Voting power tracking has been fully disabled and entries cleared.

Emitted by: disable_voting_power_tracking
VotingPowerTrackingDisableScheduled event v385 → v411 Changed in v411 #116

Voting power tracking has been scheduled for disabling.

VotingPowerTrackingEnabled event v385 → v411 Changed in v411 #115

Voting power tracking has been enabled for a subnet.

Emitted by: enable_voting_power_tracking
VotingPowerTrackingEnabled storage v385 → v411

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

VotingPowerTrackingNotEnabled error v385 → v411 #127

Voting power tracking is not enabled for this subnet.

WeightCommits storage v151 → v411 Changed in v411

Committed weight hashes awaiting reveal.

Modified by: batch_commit_weights, batch_reveal_weights +4
●●●●●○ High usage
ValidationWeights
Weights storage v101 → v411 Changed in v411

Weight matrix set by validators on a subnet.

Modified by: batch_reveal_weights, batch_set_weights +4
●●●●●● Ultra-High usage Calls + Hooks
ValidationWeightsMetagraph
WeightsBatchRevealed event v205 → v411 Changed in v411 #86

Emitted when multiple weight commits are revealed in a batch.

Emitted by: batch_reveal_weights Modifies: LastUpdate, WeightCommits +1
ValidationWeights
WeightsCommitted event v205 → v411 Changed in v411 #84

Emitted when a validator commits a hash of their weights for later reveal.

Emitted by: commit_weights, commit_mechanism_weights +1 Modifies: LastTxBlock, WeightCommits
●●○○○○ Moderate usage
ValidationWeights
WeightsRevealed event v205 → v411 Changed in v411 #85

Emitted when a validator reveals previously committed weights.

Emitted by: reveal_weights, reveal_mechanism_weights +1 Modifies: LastUpdate, WeightCommits +1
●●○○○○ Moderate usage
ValidationWeights
WeightsSet event v101 → v411 #5

Emitted when a validator submits their evaluation weights for miners.

Emitted by: set_weights, set_mechanism_weights +3 Modifies: LastUpdate, WeightCommits +1
●●●●●○ Dominant usage
ValidationWeights
WeightsSetRateLimit storage v101 → v411

Rate limit for weight setting per subnet.

Modified by: register_network
ValidationAdminWeights
WeightsSetRateLimitSet event v101 → v411 #22

Emitted when the rate limit for setting weights is changed.

ValidationAdminWeights
WeightsVersionKey storage v101 → v411

Required version key for setting weights.

Modified by: register_network
ValidationWeights
WeightsVersionKeyRateLimit storage v252 → v411

Rate limit for weights version key changes.

ValidationAdminWeights
WeightsVersionKeySet event v101 → v411 #32

Emitted when the required weights version key is updated.

ValidationAdminWeights
WeightVecLengthIsLow error v151 → v411 #19

The dispatch is attempting to set weights on chain with fewer elements than allowed.

Thrown by: set_weights, set_mechanism_weights
WeightVecNotEqualSize error v101 → v411 #16

The caller is attempting to set weight keys and values but these vectors have different size.

Thrown by: set_weights, set_mechanism_weights
Yuma3On storage v273 → v411

Whether Yuma3 consensus is enabled per subnet.

SystemAdminMetagraph
Yuma3On constant v385 → v411

A flag to indicate if Yuma3 is enabled.

ZeroBalanceAfterWithdrawn error v151 → v411 #14

Unsuccessfully withdraw, balance could be zero after withdrawal.

ZeroMaxStakeAmount error v273 → v411 #96

Zero max stake amount is not allowed.