@@ -4,10 +4,7 @@ use crate::crypto_helper::cardano::{
4
4
} ;
5
5
6
6
use 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 ,
11
8
} ;
12
9
13
10
use blake2:: { digest:: consts:: U32 , Blake2b } ;
@@ -21,31 +18,31 @@ pub(crate) type D = Blake2b<U32>;
21
18
/// The id of a mithril party.
22
19
pub type ProtocolPartyId = String ;
23
20
24
- /// Alias of [MithrilStm:Stake](type@mithril_stm::stm:: Stake).
21
+ /// Alias of [MithrilStm:Stake](type@mithril_stm::Stake).
25
22
pub type ProtocolStake = Stake ;
26
23
27
24
/// A list of [Party Id][ProtocolPartyId] associated with its [Stake][ProtocolStake].
28
25
pub type ProtocolStakeDistribution = Vec < ( ProtocolPartyId , ProtocolStake ) > ;
29
26
30
- /// Alias of [MithrilStm::StmParameters](struct@mithril_stm::stm:: StmParameters).
27
+ /// Alias of [MithrilStm::StmParameters](struct@mithril_stm::StmParameters).
31
28
pub type ProtocolParameters = StmParameters ;
32
29
33
- /// Alias of [MithrilStm::Index](type@mithril_stm::stm:: Index).
30
+ /// Alias of [MithrilStm::Index](type@mithril_stm::Index).
34
31
pub type ProtocolLotteryIndex = Index ;
35
32
36
- /// Alias of [MithrilStm:StmSigner](struct@mithril_stm::participant:: StmSigner).
33
+ /// Alias of [MithrilStm:StmSigner](struct@mithril_stm::StmSigner).
37
34
pub type ProtocolSigner = StmSigner < D > ;
38
35
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).
40
37
pub type ProtocolInitializer = StmInitializerWrapper ;
41
38
42
- /// Alias of [MithrilStm:StmClerk](struct@mithril_stm::stm:: StmClerk).
39
+ /// Alias of [MithrilStm:StmClerk](struct@mithril_stm::StmClerk).
43
40
pub type ProtocolClerk = StmClerk < D > ;
44
41
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).
46
43
pub type ProtocolKeyRegistration = KeyRegWrapper ;
47
44
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).
49
46
pub type ProtocolClosedKeyRegistration = ClosedKeyReg < D > ;
50
47
51
48
// Error alias
0 commit comments