ghost-eye/src/types/staking.rs
Uncle Stretch edd1b6d616
payee change added from wallet tab
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-03-02 15:30:06 +03:00

20 lines
423 B
Rust

use codec::Decode;
use strum::Display;
use serde::{Serialize, Deserialize};
#[derive(Debug, Default, Clone, PartialEq, Eq, Serialize, Deserialize, Decode)]
pub struct UnlockChunk {
pub value: u128,
pub era: u32,
}
#[derive(Default, Debug, Clone, PartialEq, Eq, Display, Serialize, Deserialize)]
pub enum RewardDestination {
#[default]
None,
Staked,
Stash,
Account([u8; 32]),
Controller,
}