0x000000000000000000000000000000000000080d
Voting power: enables or disables tracking (SubtensorModule::enable_voting_power_tracking / disable_voting_power_tracking) and reads voting power, totals and EMA settings.
Written from precompiles/src/voting_power.rs (github.com, opens in a new tab, external site) at c004cebf3 (runtime 471)
Retired functions stay listed so older calls still decode.
disableVotingPowerTracking(uint16)nonpayable0x9d4d35a7No documentation in the source.
Parameters
netuid (uint16)enableVotingPowerTracking(uint16)nonpayable0xdafa01fcNo documentation in the source.
Parameters
netuid (uint16)getTotalVotingPower(uint16)view0x8f0d6dabReturns the sum of voting power across all validators on a subnet, useful for computing voting thresholds (e.g. a 51% quorum).
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint256)getVotingPower(uint16,bytes32)view0x1567cbbaReturns the voting power (EMA of stake) for a hotkey on a subnet. Returns 0 if the hotkey has no entry, tracking is disabled for the subnet, or the hotkey is not registered.
Parameters
netuid (uint16) The subnet identifier.hotkey (bytes32) The hotkey public key (32 bytes).Returns
return (uint256) The voting power in rao (same precision as stake).getVotingPowerDisableAtBlock(uint16)view0xfa9e0bdfReturns the block at which voting power tracking will be disabled (0 if not scheduled). Tracking continues until that block, then stops.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint64)getVotingPowerEmaAlpha(uint16)view0x21a41835Returns the EMA alpha used for voting power calculation, with 18 decimal precision (1.0 = 10^18). Higher alpha reacts faster to stake changes.
Parameters
netuid (uint16) The subnet identifier.Returns
return (uint64)isVotingPowerTrackingEnabled(uint16)view0xaf5edd67Returns whether voting power tracking is enabled for a subnet.
Parameters
netuid (uint16) The subnet identifier.Returns
return (bool)No calls on record.
Data: precompile-abis.v473. Runtime ranges are the spec versions on subtensor’s main branch when an entry first and last appeared, not the block it went live on chain.