carbon-stake-program-decoder 2.0.0

Stake Program Decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! This code was AUTOGENERATED using the Codama library.
use {crate::types::Epoch, solana_pubkey::Pubkey};
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Debug, Clone, borsh::BorshSerialize, borsh::BorshDeserialize, PartialEq)]
pub struct Delegation {
    pub voter_pubkey: Pubkey,
    pub stake: u64,
    pub activation_epoch: Epoch,
    pub deactivation_epoch: Epoch,
    pub warmup_cooldown_rate: f64,
}