AdminUtils

#19

Administrative utilities for network management

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

Filter by: +1 more
BondsMovingAverageMaxReached error v273 → v393 #3

The bonds moving average parameter exceeds the maximum allowed value.

BondsResetToggled event v290 → v393 #2

Emitted when bonds reset is enabled or disabled for a subnet.

Emitted by: sudo_set_bonds_reset_enabled Modifies: SubtensorModule.BondsResetOn
AdminMetagraph
InvalidValue error v334 → v393 #10

The provided value is invalid for this administrative operation.

MaxAllowedUidsGreaterThanDefaultMaxAllowedUids error v326 → v393 #9

Cannot set max_allowed_uids above the network-wide default maximum.

MaxAllowedUIdsLessThanCurrentUIds error v151 → v393 #2

Cannot reduce max_allowed_uids below the current number of registered neurons.

MaxAllowedUidsLessThanMinAllowedUids error v326 → v393 #8

The max_allowed_uids cannot be less than min_allowed_uids.

MaxValidatorsLargerThanMaxUIds error v151 → v393 #1

The max_validators parameter cannot exceed max_allowed_uids for a subnet.

MinAllowedUidsGreaterThanCurrentUids error v320 → v393 #6

Cannot set min_allowed_uids higher than the current number of registered neurons.

MinAllowedUidsGreaterThanMaxAllowedUids error v320 → v393 #7

The min_allowed_uids cannot be greater than max_allowed_uids.

NegativeSigmoidSteepness error v290 → v393 #4

The sigmoid steepness parameter cannot be negative.

PrecompileEnable storage v238 → v393

Enable/disable state for EVM precompiles.

Admin
PrecompileUpdated event v238 → v393 #0

Emitted when an EVM precompile's enabled status is changed.

Emitted by: sudo_toggle_evm_precompile Modifies: AdminUtils.PrecompileEnable
Admin
schedule_grandpa_change call v217 → v393 #59

Schedules a GRANDPA authority change to take effect after specified blocks.

Admin
SubnetDoesNotExist error v151 → v393 #0

The specified subnet (netuid) does not exist on the network.

sudo_set_activity_cutoff call v138 → v393 #18

Sets the activity cutoff for a subnet.

Modifies: SubtensorModule.ActivityCutoff
AdminMetagraph
sudo_set_adjustment_alpha call v138 → v393 #9

Sets the difficulty adjustment smoothing factor for a subnet.

Modifies: SubtensorModule.AdjustmentAlpha
Admin
sudo_set_adjustment_interval call v138 → v393 #8

Sets the difficulty adjustment interval for a subnet.

Modifies: SubtensorModule.AdjustmentInterval
Admin
sudo_set_admin_freeze_window call v320 → v393 #74

Sets the admin freeze window duration.

Modifies: SubtensorModule.AdminFreezeWindow
Admin
sudo_set_alpha_sigmoid_steepness call v273 → v393 #68

Sets the sigmoid steepness for alpha calculations.

Modifies: SubtensorModule.AlphaSigmoidSteepness
AdminAlpha
sudo_set_alpha_values call v156 → v393 #51

Sets the alpha low and high values for a subnet.

Modifies: SubtensorModule.AlphaValues
AdminAlpha
sudo_set_bonds_moving_average call v138 → v393 #26

Sets the bonds moving average parameter for a subnet.

Modifies: SubtensorModule.BondsMovingAverage
AdminMetagraph
sudo_set_bonds_penalty call v233 → v393 #60

Sets the bonds penalty parameter for a subnet.

Modifies: SubtensorModule.BondsPenalty
AdminMetagraph
sudo_set_bonds_reset_enabled call v290 → v393 #70

Enables or disables bonds reset capability on a subnet.

Emits: BondsResetToggled Modifies: SubtensorModule.BondsResetOn
AdminMetagraph
sudo_set_ck_burn call v315 → v393 #73

Sets the coldkey swap burn amount.

Modifies: SubtensorModule.CKBurn
Admin
sudo_set_coldkey_swap_announcement_delay call v385 → v393 #86

Sets the announcement delay for coldkey swap.

sudo_set_coldkey_swap_reannouncement_delay call v385 → v393 #87

Sets the coldkey swap reannouncement delay.

sudo_set_commit_reveal_version call v301 → v393 #71

Sets the commit-reveal version for weight submission.

Modifies: SubtensorModule.CommitRevealWeightsVersion
AdminWeights
sudo_set_commit_reveal_weights_enabled call v151 → v393 #49

Enables or disables commit-reveal weight setting on a subnet.

Modifies: SubtensorModule.CommitRevealWeightsEnabled
AdminWeights
sudo_set_commit_reveal_weights_interval call v151 → v393 #57

Sets the commit-reveal interval for a subnet.

Modifies: SubtensorModule.WeightCommitRevealInterval
AdminWeights
sudo_set_default_take call v138 → v393 #1

Sets the default delegate take percentage for new validators.

Modifies: SubtensorModule.DefaultTake
Admin
sudo_set_difficulty call v138 → v393 #24

Directly sets the POW difficulty for a subnet.

Modifies: SubtensorModule.Difficulty
AdminRegistration
sudo_set_dissolve_network_schedule_duration call v195 → v393 #55

Sets how long subnet dissolution takes.

Modifies: SubtensorModule.DissolveNetworkScheduleDuration
Admin
sudo_set_ema_price_halving_period call v252 → v393 #65

Sets the EMA price halving period for a subnet.

Modifies: SubtensorModule.EMAPriceHalvingBlocks
AdminAlpha
sudo_set_evm_chain_id call v216 → v393 #58

Sets the EVM chain ID for the network.

Modifies: EVMChainId.ChainId
Admin
sudo_set_immunity_period call v138 → v393 #13

Sets the immunity period for newly registered neurons on a subnet.

Modifies: SubtensorModule.ImmunityPeriod
AdminMetagraph
sudo_set_kappa call v138 → v393 #16

Sets the kappa parameter for consensus on a subnet.

Modifies: SubtensorModule.Kappa
AdminMetagraph
sudo_set_liquid_alpha_enabled call v156 → v393 #50

Enables or disables liquid alpha on a subnet.

Modifies: SubtensorModule.LiquidAlphaOn
AdminAlpha
sudo_set_lock_reduction_interval call v138 → v393 #38

Sets how often subnet lock requirements decrease.

Modifies: SubtensorModule.NetworkLockReductionInterval
Admin
sudo_set_max_allowed_uids call v138 → v393 #15

Sets the maximum number of UIDs (neurons) allowed on a subnet.

Modifies: SubtensorModule.MaxAllowedUids
AdminMetagraph
sudo_set_max_allowed_validators call v138 → v393 #25

Sets the maximum number of validators allowed on a subnet.

Modifies: SubtensorModule.MaxAllowedValidators
AdminMetagraph
sudo_set_max_burn call v138 → v393 #23

Sets the maximum burn amount for registration on a subnet.

Modifies: SubtensorModule.MaxBurn
AdminRegistration
sudo_set_max_difficulty call v138 → v393 #5

Sets the maximum POW difficulty for a subnet.

Modifies: SubtensorModule.MaxDifficulty
AdminRegistration
sudo_set_max_mechanism_count call v385 → v393 #88

Sets the global maximum number of mechanisms in a subnet

sudo_set_max_registrations_per_block call v138 → v393 #27

Sets the maximum registrations allowed per block on a subnet.

Modifies: SubtensorModule.MaxRegistrationsPerBlock
AdminRegistration
sudo_set_mechanism_count call v320 → v393 #76

Sets the number of mechanisms for a subnet.

Modifies: SubtensorModule.MechanismCountCurrent
AdminMetagraph
sudo_set_mechanism_emission_split call v320 → v393 #77

Sets how emissions are split between mechanisms on a subnet.

Modifies: SubtensorModule.MechanismEmissionSplit
AdminEmissions
sudo_set_min_allowed_uids call v320 → v393 #79

Sets the minimum number of UIDs required on a subnet.

Modifies: SubtensorModule.MinAllowedUids
AdminMetagraph
sudo_set_min_allowed_weights call v138 → v393 #14

Sets the minimum number of weights a neuron must set on a subnet.

Modifies: SubtensorModule.MinAllowedWeights
AdminWeights
sudo_set_min_burn call v138 → v393 #22

Sets the minimum burn amount for registration on a subnet.

Modifies: SubtensorModule.MinBurn
AdminRegistration
sudo_set_min_delegate_take call v149 → v393 #46

Sets the minimum delegate take percentage.

Modifies: SubtensorModule.MinDelegateTake
Admin
sudo_set_min_difficulty call v138 → v393 #4

Sets the minimum POW difficulty for a subnet.

Modifies: SubtensorModule.MinDifficulty
AdminRegistration
sudo_set_min_non_immune_uids call v365 → v393 #84

Sets the minimum number of non-immune UIDs required on a subnet.

Modifies: SubtensorModule.MinNonImmuneUids
AdminMetagraph
sudo_set_network_immunity_period call v138 → v393 #35

Sets the network-wide immunity period for new subnets.

Modifies: SubtensorModule.NetworkImmunityPeriod
Admin
sudo_set_network_min_lock_cost call v138 → v393 #36

Sets the minimum TAO lock cost for creating a subnet.

Modifies: SubtensorModule.NetworkMinLockCost
Admin
sudo_set_network_pow_registration_allowed call v138 → v393 #20

Enables or disables POW-based registration on a subnet.

Modifies: SubtensorModule.NetworkPowRegistrationAllowed
AdminRegistration
sudo_set_network_rate_limit call v138 → v393 #29

Sets the network-wide rate limit for subnet creation.

Modifies: SubtensorModule.NetworkRateLimit
Admin
sudo_set_network_registration_allowed call v138 → v393 #19

Enables or disables new neuron registration on a subnet.

Modifies: SubtensorModule.NetworkRegistrationAllowed
AdminRegistration
sudo_set_nominator_min_required_stake call v146 → v393 #43

Sets the minimum stake required to be a nominator/delegator.

Modifies: SubtensorModule.NominatorMinRequiredStake
AdminStaking
sudo_set_owner_hparam_rate_limit call v320 → v393 #75

Sets how often subnet owners can change hyperparameters.

Modifies: SubtensorModule.OwnerHyperparamRateLimit
Admin
sudo_set_owner_immune_neuron_limit call v306 → v393 #72

Sets how many neurons subnet owners can make immune.

Modifies: SubtensorModule.ImmuneOwnerUidsLimit
AdminMetagraph
sudo_set_rao_recycled call v138 → v393 #39

Sets the RAO recycled amount for a subnet.

Modifies: SubtensorModule.RAORecycledForRegistration
AdminRegistration
sudo_set_recycle_or_burn call v320 → v393 #80

Sets whether registration fees are recycled or burned.

AdminAlpha
sudo_set_rho call v138 → v393 #17

Sets the rho parameter for consensus on a subnet.

Modifies: SubtensorModule.Rho
AdminMetagraph
sudo_set_serving_rate_limit call v138 → v393 #3

Sets the serving rate limit for a subnet.

Modifies: SubtensorModule.ServingRateLimit
AdminIdentity
sudo_set_sn_owner_hotkey call v273 → v393 #67

Sets the subnet owner's hotkey (alias for sudo_set_subnet_owner_hotkey).

Modifies: SubtensorModule.SubnetOwnerHotkey
AdminSubnets
sudo_set_stake_threshold call v216 → v393 #42

Sets the minimum stake threshold for network participation.

Modifies: SubtensorModule.StakeThreshold
AdminWeights
sudo_set_start_call_delay call v372 → v393 #85

Sets the delay before certain operations can start.

Modifies: SubtensorModule.StartCallDelay
Admin
sudo_set_subnet_limit call v138 → v393 #37

Sets the maximum number of subnets allowed on the network.

Modifies: SubtensorModule.SubnetLimit
Admin
sudo_set_subnet_moving_alpha call v244 → v393 #63

Sets the moving alpha parameter for subnet emission calculations.

Modifies: SubtensorModule.SubnetMovingAlpha
AdminAlpha
sudo_set_subnet_owner_cut call v138 → v393 #28

Sets the percentage of emissions that go to subnet owners.

Modifies: SubtensorModule.SubnetOwnerCut
AdminEmissions
sudo_set_subnet_owner_hotkey call v252 → v393 #64

Sets the hotkey that receives subnet owner emissions.

Modifies: SubtensorModule.SubnetOwnerHotkey
AdminSubnets
sudo_set_subtoken_enabled call v273 → v393 #66

Enables or disables subtoken (Alpha) on a subnet.

Modifies: SubtensorModule.SubtokenEnabled
AdminAlpha
sudo_set_tao_flow_cutoff call v334 → v393 #81

Sets the TAO flow cutoff parameter.

Modifies: SubtensorModule.TaoFlowCutoff
AdminAlpha
sudo_set_tao_flow_normalization_exponent call v334 → v393 #82

Sets the TAO flow normalization exponent.

Modifies: SubtensorModule.FlowNormExponent
AdminAlpha
sudo_set_tao_flow_smoothing_factor call v334 → v393 #83

Sets the TAO flow smoothing factor.

Modifies: SubtensorModule.FlowEmaSmoothingFactor
AdminAlpha
sudo_set_target_registrations_per_interval call v138 → v393 #21

Sets the target registration rate for difficulty adjustment.

Modifies: SubtensorModule.TargetRegistrationsPerInterval
AdminRegistration
sudo_set_tempo call v138 → v393 #30

Sets the tempo (epoch length) for a subnet.

Modifies: SubtensorModule.Tempo
AdminEmissions
sudo_set_toggle_transfer call v233 → v393 #61

Toggles transfer restrictions for a subnet's alpha token.

AdminAlpha
sudo_set_total_issuance call v138 → v393 #33

Sets the total TAO issuance (root only, dangerous).

Modifies: SubtensorModule.TotalIssuance
AdminEmissions
sudo_set_tx_delegate_take_rate_limit call v149 → v393 #45

Sets how often delegates can change their take rate.

Modifies: SubtensorModule.TxDelegateTakeRateLimit
Admin
sudo_set_tx_rate_limit call v138 → v393 #2

Sets the transaction rate limit for the network.

Modifies: SubtensorModule.TxRateLimit
Admin
sudo_set_weights_set_rate_limit call v138 → v393 #7

Sets how often neurons can update weights on a subnet.

Modifies: SubtensorModule.WeightsSetRateLimit
AdminWeights
sudo_set_weights_version_key call v138 → v393 #6

Sets the weights version key for a subnet.

Modifies: SubtensorModule.WeightsVersionKey
AdminWeights
sudo_set_yuma3_enabled call v273 → v393 #69

Enables or disables Yuma3 consensus on a subnet.

Emits: Yuma3EnableToggled Modifies: SubtensorModule.Yuma3On
AdminMetagraph
sudo_toggle_evm_precompile call v238 → v393 #62

Enables or disables an EVM precompile contract.

Emits: PrecompileUpdated Modifies: AdminUtils.PrecompileEnable
Admin
sudo_trim_to_max_allowed_uids call v320 → v393 #78

Trims a subnet's neurons to a new maximum UID limit.

Modifies: SubtensorModule.SubnetworkN, SubtensorModule.MaxAllowedUids
AdminMetagraph
swap_authorities call v138 → v393 #0

Replaces Aura consensus authorities with new validator set.

Admin
ValueNotInBounds error v315 → v393 #5

The provided parameter value is outside the acceptable range.

Yuma3EnableToggled event v273 → v393 #1

Emitted when Yuma3 consensus is enabled or disabled for a subnet.

Emitted by: sudo_set_yuma3_enabled Modifies: SubtensorModule.Yuma3On
AdminMetagraph

Related Pallets