pub fn find_withdraw_authority_program_address(
    program_id: &Pubkey,
    stake_pool_address: &Pubkey,
) -> (Pubkey, u8) {
    Pubkey::find_program_address(
        &[&stake_pool_address.to_bytes()[..32], AUTHORITY_WITHDRAW],
        program_id,
    )
}
/// Generates the withdraw authority program address for the stake pool
Generates the withdraw authority program address for the stake pool
Generates the withdraw authority program address for the stake pool
pub fn find_withdraw_authority_program_address(
    program_id: &Pubkey,
    stake_pool_address: &Pubkey,
) -> (Pubkey, u8) {
    Pubkey::find_program_address(
        &[&stake_pool_address.to_bytes()[..32], AUTHORITY_WITHDRAW],
        program_id,
    )
}
pub fn find_withdraw_authority_program_address ( program_id : & Pubkey , stake_pool_address : & Pubkey , ) -> ( Pubkey , u8 ) { Pubkey :: find_program_address ( & [ & stake_pool_address . to_bytes ( ) [ .. 32 ] , AUTHORITY_WITHDRAW ] , program_id , ) }
Generates the withdraw authority program address for the stake pool
Generates the withdraw authority program address for the stake pool
program_id
&Pubkey
stake_pool_address
&Pubkey