//! Struct definitions for accounts that hold state.
usecrate::*;/// A class of tokens that must be ve-locked for a minimum duration.
////// When a [Save] is created, there is one token created for every underlying
/// token backing the [Save].
#[account(zero_copy)]#[derive(Debug, Default)]pubstructSave{/// The mint of the [Save] token.
pubmint: Pubkey,
/// Bump seed.
pubbump:u8,
_padding: [u8; 7],
/// The minimum duration that the tokens must be locked for.
pubmin_lock_duration:u64,
/// The mint of the SPL token locked up.
pubunderlying_mint: Pubkey,
/// Mint of the Yi token.
pubyi_mint: Pubkey,
/// The YiToken key.
pubyi: Pubkey,
/// Token account holding the [Self::yi_mint] tokens of this [Save].
pubyi_tokens: Pubkey,
/// Locker.
publocker: Pubkey,
}