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