Function spl_stake_pool::instruction::deposit [−][src]
pub fn deposit(
program_id: &Pubkey,
stake_pool: &Pubkey,
validator_list_storage: &Pubkey,
stake_pool_withdraw_authority: &Pubkey,
deposit_stake_address: &Pubkey,
deposit_stake_withdraw_authority: &Pubkey,
validator_stake_account: &Pubkey,
reserve_stake_account: &Pubkey,
pool_tokens_to: &Pubkey,
pool_mint: &Pubkey,
token_program_id: &Pubkey
) -> Vec<Instruction>
Expand description
Creates instructions required to deposit into a stake pool, given a stake account owned by the user.