-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- 不带 V1 的是以前就有的结构体,票龄类型用 u64.
- 带 V1 的新加的结构体,票龄类型用 u128.
staking:
pub struct NominationRecord {
pub nomination: Balance,
pub last_vote_weight: u64,
pub last_vote_weight_update: BlockNumber,
pub revocations: Vec<(BlockNumber, Balance)>,
}
pub struct NominationRecordV1 {
pub nomination: Balance,
pub last_vote_weight: u128,
pub last_vote_weight_update: BlockNumber,
pub revocations: Vec<(BlockNumber, Balance)>,
}
pub struct IntentionProfs {
pub total_nomination: Balance,
pub last_total_vote_weight: u64,
pub last_total_vote_weight_update: BlockNumber,
}
pub struct IntentionProfsV1 {
pub total_nomination: Balance,
pub last_total_vote_weight: u128,
pub last_total_vote_weight_update: BlockNumber,
}tokens:
pub struct PseduIntentionVoteWeight {
pub last_total_deposit_weight: u64,
pub last_total_deposit_weight_update: BlockNumber,
}
pub struct PseduIntentionVoteWeightV1 {
pub last_total_deposit_weight: u128,
pub last_total_deposit_weight_update: BlockNumber,
}
pub struct DepositVoteWeight {
pub last_deposit_weight: u64,
pub last_deposit_weight_update: BlockNumber,
}
pub struct DepositVoteWeightV1 {
pub last_deposit_weight: u128,
pub last_deposit_weight_update: BlockNumber,
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels