Loading
Loading
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)
7 in total, 7 live, 5 documented. Retired functions stay listed so older calls still decode.
| Signature | Selector | Mutability | Runtime |
|---|---|---|---|
disableVotingPowerTracking(uint16) | Selector 0x9d4d35a7 | Mutability nonpayable | Since runtime 444 |
No documentation in the source. Parameters
| |||
enableVotingPowerTracking(uint16) | Selector 0xdafa01fc | Mutability nonpayable | Since runtime 444 |
No documentation in the source. Parameters
| |||
getTotalVotingPower(uint16) | Selector 0x8f0d6dab | Mutability view | Since runtime 428 |
Returns the sum of voting power across all validators on a subnet, useful for computing voting thresholds (e.g. a 51% quorum). Parameters
Returns
| |||
getVotingPower(uint16,bytes32) | Selector 0x1567cbba | Mutability view | Since runtime 428 |
Returns 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
Returns
| |||
getVotingPowerDisableAtBlock(uint16) | Selector 0xfa9e0bdf | Mutability view | Since runtime 428 |
Returns the block at which voting power tracking will be disabled (0 if not scheduled). Tracking continues until that block, then stops. Parameters
Returns
| |||
getVotingPowerEmaAlpha(uint16) | Selector 0x21a41835 | Mutability view | Since runtime 428 |
Returns the EMA alpha used for voting power calculation, with 18 decimal precision (1.0 = 10^18). Higher alpha reacts faster to stake changes. Parameters
Returns
| |||
isVotingPowerTrackingEnabled(uint16) | Selector 0xaf5edd67 | Mutability view | Since runtime 428 |
Returns whether voting power tracking is enabled for a subnet. Parameters
Returns
| |||
Data: precompile-abis/v471-summaries, subtensor c004cebf3 (github.com, opens in a new tab, external site) (runtime 471). 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.