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