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