solana_stake_program::stake_state

Function initialize

source
pub fn initialize(
    stake_account: &mut BorrowedAccount<'_>,
    authorized: &Authorized,
    lockup: &Lockup,
    rent: &Rent,
) -> Result<(), InstructionError>