@@ -7,17 +7,17 @@ extern crate alloc;
7
7
use alloc:: collections:: BTreeMap ;
8
8
use codec:: Compact ;
9
9
10
- #[ freeze_struct( "f729f2481d94a1de " ) ]
10
+ #[ freeze_struct( "7cd21f57627d2d0d " ) ]
11
11
#[ derive( Decode , Encode , PartialEq , Eq , Clone , Debug , TypeInfo ) ]
12
12
pub struct DelegateInfo < AccountId : TypeInfo + Encode + Decode > {
13
- delegate_ss58 : AccountId ,
14
- take : Compact < u16 > ,
15
- nominators : Vec < ( AccountId , Vec < ( Compact < u16 > , Compact < u64 > ) > ) > , // map of nominator_ss58 to netuid and stake amount
16
- owner_ss58 : AccountId ,
17
- registrations : Vec < Compact < u16 > > , // Vec of netuid this delegate is registered on
18
- validator_permits : Vec < Compact < u16 > > , // Vec of netuid this delegate has validator permit on
19
- return_per_1000 : Compact < u64 > , // Delegators current daily return per 1000 TAO staked minus take fee
20
- total_daily_return : Compact < u64 > , // Delegators current daily return
13
+ pub delegate_ss58 : AccountId ,
14
+ pub take : Compact < u16 > ,
15
+ pub nominators : Vec < ( AccountId , Vec < ( Compact < u16 > , Compact < u64 > ) > ) > , // map of nominator_ss58 to netuid and stake amount
16
+ pub owner_ss58 : AccountId ,
17
+ pub registrations : Vec < Compact < u16 > > , // Vec of netuid this delegate is registered on
18
+ pub validator_permits : Vec < Compact < u16 > > , // Vec of netuid this delegate has validator permit on
19
+ pub return_per_1000 : Compact < u64 > , // Delegators current daily return per 1000 TAO staked minus take fee
20
+ pub total_daily_return : Compact < u64 > , // Delegators current daily return
21
21
}
22
22
23
23
impl < T : Config > Pallet < T > {
0 commit comments