Function quarry_merge_mine::quarry_merge_mine::stake_primary_miner [−][src]
pub fn stake_primary_miner(
ctx: Context<'_, '_, '_, '_, QuarryStakePrimary<'_>>
) -> ProgramResult
Expand description
Deposits tokens into the MergeMiner. Before calling this, the owner should call the anchor_spl::token::transfer instruction to transfer to the MergeMiner’s primary token ATA.