@@ -4,10 +4,7 @@ use crate::crypto_helper::cardano::{
44} ;
55
66use mithril_stm:: {
7- key_reg:: ClosedKeyReg ,
8- participant:: StmSigner ,
9- stm:: { Index , Stake , StmClerk , StmParameters } ,
10- AggregationError ,
7+ AggregationError , ClosedKeyReg , Index , Stake , StmClerk , StmParameters , StmSigner ,
118} ;
129
1310use blake2:: { digest:: consts:: U32 , Blake2b } ;
@@ -21,31 +18,31 @@ pub(crate) type D = Blake2b<U32>;
2118/// The id of a mithril party.
2219pub type ProtocolPartyId = String ;
2320
24- /// Alias of [MithrilStm:Stake](type@mithril_stm::stm:: Stake).
21+ /// Alias of [MithrilStm:Stake](type@mithril_stm::Stake).
2522pub type ProtocolStake = Stake ;
2623
2724/// A list of [Party Id][ProtocolPartyId] associated with its [Stake][ProtocolStake].
2825pub type ProtocolStakeDistribution = Vec < ( ProtocolPartyId , ProtocolStake ) > ;
2926
30- /// Alias of [MithrilStm::StmParameters](struct@mithril_stm::stm:: StmParameters).
27+ /// Alias of [MithrilStm::StmParameters](struct@mithril_stm::StmParameters).
3128pub type ProtocolParameters = StmParameters ;
3229
33- /// Alias of [MithrilStm::Index](type@mithril_stm::stm:: Index).
30+ /// Alias of [MithrilStm::Index](type@mithril_stm::Index).
3431pub type ProtocolLotteryIndex = Index ;
3532
36- /// Alias of [MithrilStm:StmSigner](struct@mithril_stm::participant:: StmSigner).
33+ /// Alias of [MithrilStm:StmSigner](struct@mithril_stm::StmSigner).
3734pub type ProtocolSigner = StmSigner < D > ;
3835
39- /// Alias of a wrapper of [MithrilStm:StmInitializer](struct@mithril_stm::participant:: StmInitializer).
36+ /// Alias of a wrapper of [MithrilStm:StmInitializer](struct@mithril_stm::StmInitializer).
4037pub type ProtocolInitializer = StmInitializerWrapper ;
4138
42- /// Alias of [MithrilStm:StmClerk](struct@mithril_stm::stm:: StmClerk).
39+ /// Alias of [MithrilStm:StmClerk](struct@mithril_stm::StmClerk).
4340pub type ProtocolClerk = StmClerk < D > ;
4441
45- /// Alias of a wrapper of [MithrilStm:KeyReg](struct@mithril_stm::key_reg:: KeyReg).
42+ /// Alias of a wrapper of [MithrilStm:KeyReg](struct@mithril_stm::KeyReg).
4643pub type ProtocolKeyRegistration = KeyRegWrapper ;
4744
48- /// Alias of a wrapper of [MithrilStm:ClosedKeyReg](struct@mithril_stm::key_reg:: KeyReg).
45+ /// Alias of a wrapper of [MithrilStm:ClosedKeyReg](struct@mithril_stm::KeyReg).
4946pub type ProtocolClosedKeyRegistration = ClosedKeyReg < D > ;
5047
5148// Error alias
0 commit comments