pub fn stake_tokens(
    ctx: Context<'_, '_, '_, '_, UserStake<'_>>,
    amount: u64
) -> Result<()>
Expand description

Stakes tokens into the Miner.