bittensor.core.chain_data.delegate_info#
Classes#
Dataclass for delegate information. |
|
Base class containing common delegate information fields. |
|
Dataclass for delegated information. This class represents a delegate's information |
Module Contents#
- class bittensor.core.chain_data.delegate_info.DelegateInfo[source]#
Bases:
DelegateInfoBase
Dataclass for delegate information.
- Additional Attributes:
total_stake (dict[int, Balance]): Total stake of the delegate mapped by netuid. nominators (dict[str, dict[int, Balance]]): Mapping of nominator SS58 addresses to their stakes per subnet.
- total_stake: dict[int, bittensor.utils.balance.Balance]#
- class bittensor.core.chain_data.delegate_info.DelegateInfoBase#
Bases:
bittensor.core.chain_data.info_base.InfoBase
Base class containing common delegate information fields.
- Variables:
hotkey_ss58 (str) – Hotkey of delegate.
owner_ss58 (str) – Coldkey of owner.
take (float) – Take of the delegate as a percentage.
validator_permits (list[int]) – List of subnets that the delegate is allowed to validate on.
registrations (list[int]) – List of subnets that the delegate is registered on.
return_per_1000 (Balance) – Return per 1000 tao of the delegate over a day.
total_daily_return (Balance) – Total daily return of the delegate.
- return_per_1000: bittensor.utils.balance.Balance#
- total_daily_return: bittensor.utils.balance.Balance#
- class bittensor.core.chain_data.delegate_info.DelegatedInfo#
Bases:
DelegateInfoBase
Dataclass for delegated information. This class represents a delegate’s information specific to a particular subnet.
- Additional Attributes:
netuid (int): Network ID of the subnet. stake (Balance): Stake amount for this specific delegation.