bittensor.core.chain_data.delegate_info#
Classes#
Dataclass for delegate information. For a lighter version of this class, see |
Module Contents#
- class bittensor.core.chain_data.delegate_info.DelegateInfo[source]#
Dataclass for delegate information. For a lighter version of this class, see
DelegateInfoLite
.- Parameters:
hotkey_ss58 (str) – Hotkey of the delegate for which the information is being fetched.
total_stake (int) – Total stake of the delegate.
nominators (list[tuple[str, int]]) – List of nominators of the delegate and their stake.
take (float) – Take of the delegate as a percentage.
owner_ss58 (str) – Coldkey of the owner.
registrations (list[int]) – List of subnets that the delegate is registered on.
validator_permits (list[int]) – List of subnets that the delegate is allowed to validate on.
return_per_1000 (int) – Return per 1000 TAO, for the delegate over a day.
total_daily_return (int) – Total daily return of the delegate.
- classmethod from_vec_u8(vec_u8)[source]#
- Parameters:
vec_u8 (bytes)
- Return type:
Optional[DelegateInfo]
- nominators: list[tuple[str, bittensor.utils.balance.Balance]]#
- return_per_1000: bittensor.utils.balance.Balance#
- total_daily_return: bittensor.utils.balance.Balance#
- total_stake: bittensor.utils.balance.Balance#