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§