Function psyoptions::instruction::mint_covered_call[][src]

pub fn mint_covered_call(
    program_id: &Pubkey,
    funding_account: &Pubkey,
    option_mint: &Pubkey,
    minted_option_dest: &Pubkey,
    writer_token_mint: &Pubkey,
    minted_writer_token_dest: &Pubkey,
    underyling_asset_src: &Pubkey,
    underlying_asset_pool: &Pubkey,
    option_market: &Pubkey,
    underlying_asset_mint: &Pubkey,
    authority_pubkey: &Pubkey,
    size: u64
) -> Result<Instruction, ProgramError>
Expand description

Creates a MintCoveredCall instruction