@@ -4,9 +4,7 @@ use crate::crypto_helper::cardano::{
44} ;
55
66use mithril_stm:: {
7- key_reg:: ClosedKeyReg ,
8- stm:: { Index , Stake , StmClerk , StmParameters , StmSigner } ,
9- AggregationError ,
7+ AggregationError , ClosedKeyReg , Index , Stake , StmClerk , StmParameters , StmSigner ,
108} ;
119
1210use blake2:: { digest:: consts:: U32 , Blake2b } ;
@@ -20,31 +18,31 @@ pub(crate) type D = Blake2b<U32>;
2018/// The id of a mithril party.
2119pub type ProtocolPartyId = String ;
2220
23- /// Alias of [MithrilStm:Stake](type@mithril_stm::stm:: Stake).
21+ /// Alias of [MithrilStm:Stake](type@mithril_stm::Stake).
2422pub type ProtocolStake = Stake ;
2523
2624/// A list of [Party Id][ProtocolPartyId] associated with its [Stake][ProtocolStake].
2725pub type ProtocolStakeDistribution = Vec < ( ProtocolPartyId , ProtocolStake ) > ;
2826
29- /// Alias of [MithrilStm::StmParameters](struct@mithril_stm::stm:: StmParameters).
27+ /// Alias of [MithrilStm::StmParameters](struct@mithril_stm::StmParameters).
3028pub type ProtocolParameters = StmParameters ;
3129
32- /// Alias of [MithrilStm::Index](type@mithril_stm::stm:: Index).
30+ /// Alias of [MithrilStm::Index](type@mithril_stm::Index).
3331pub type ProtocolLotteryIndex = Index ;
3432
35- /// Alias of [MithrilStm:StmSigner](struct@mithril_stm::stm:: StmSigner).
33+ /// Alias of [MithrilStm:StmSigner](struct@mithril_stm::StmSigner).
3634pub type ProtocolSigner = StmSigner < D > ;
3735
38- /// Alias of a wrapper of [MithrilStm:StmInitializer](struct@mithril_stm::stm:: StmInitializer).
36+ /// Alias of a wrapper of [MithrilStm:StmInitializer](struct@mithril_stm::StmInitializer).
3937pub type ProtocolInitializer = StmInitializerWrapper ;
4038
41- /// Alias of [MithrilStm:StmClerk](struct@mithril_stm::stm:: StmClerk).
39+ /// Alias of [MithrilStm:StmClerk](struct@mithril_stm::StmClerk).
4240pub type ProtocolClerk = StmClerk < D > ;
4341
44- /// 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).
4543pub type ProtocolKeyRegistration = KeyRegWrapper ;
4644
47- /// 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).
4846pub type ProtocolClosedKeyRegistration = ClosedKeyReg < D > ;
4947
5048// Error alias
0 commit comments