Primitives for staking implementations in Substrate-based blockchains, including sessions and slashing definitions.