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 specific to a particular subnet. |
Module Contents#
- class bittensor.core.chain_data.delegate_info.DelegateInfo[source]#
Bases:
DelegateInfoBaseDataclass for delegate information.
- Additional Attributes:
total_stake: Total stake of the delegate mapped by netuid. nominators: 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[source]#
Bases:
bittensor.core.chain_data.info_base.InfoBaseBase class containing common delegate information fields.
- Variables:
hotkey_ss58 – Hotkey of delegate.
owner_ss58 – Coldkey of owner.
take – Take of the delegate as a percentage.
validator_permits – List of subnets that the delegate is allowed to validate on.
registrations – List of subnets that the delegate is registered on.
return_per_1000 – Return per 1000 tao of the delegate over a day.
- return_per_1000: bittensor.utils.balance.Balance#
- class bittensor.core.chain_data.delegate_info.DelegatedInfo[source]#
Bases:
DelegateInfoBaseDataclass for delegated information. This class represents a delegate’s information specific to a particular subnet.
- Additional Attributes:
netuid: Network ID of the subnet. stake: Stake amount for this specific delegation.