Trait StakeTableEntryType

Source
pub trait StakeTableEntryType<K> {
    // Required methods
    fn stake(&self) -> U256;
    fn public_key(&self) -> K;
}
Expand description

Type representing stake table entries in a StakeTable

Required Methods§

Source

fn stake(&self) -> U256

Get the stake value

Source

fn public_key(&self) -> K

Get the public key

Implementors§