bittensor.core.chain_data.stake_info#
Classes#
Dataclass for representing stake information linked to hotkey and coldkey pairs. |
Module Contents#
- class bittensor.core.chain_data.stake_info.StakeInfo#
Dataclass for representing stake information linked to hotkey and coldkey pairs.
- Variables:
- classmethod fix_decoded_values(decoded)#
Fixes the decoded values.
- Parameters:
decoded (Any)
- Return type:
- classmethod from_vec_u8(vec_u8)#
Returns a StakeInfo object from a
vec_u8
.
- classmethod list_from_vec_u8(vec_u8)#
Returns a list of StakeInfo objects from a
vec_u8
.
- classmethod list_of_tuple_from_vec_u8(vec_u8)#
Returns a list of StakeInfo objects from a
vec_u8
.