We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b852255 commit 703747cCopy full SHA for 703747c
pallets/subtensor/src/coinbase/run_coinbase.rs
@@ -460,6 +460,8 @@ impl<T: Config> Pallet<T> {
460
}
461
462
463
+ /// Returns the self contribution of a hotkey on a subnet.
464
+ /// This is the portion of the hotkey's stake that is provided by itself, and not delegated to other hotkeys.
465
pub fn get_self_contribution(hotkey: &T::AccountId, netuid: u16) -> u64 {
466
// Get all childkeys for this hotkey.
467
let childkeys = Self::get_children(hotkey, netuid);
0 commit comments