Function quarry_mine::quarry_mine::create_miner
source · [−]pub fn create_miner(
ctx: Context<'_, '_, '_, '_, CreateMiner<'_>>,
_bump: u8
) -> Result<()>
👎 Deprecated since 5.0.0:
Use create_miner_v2
instead.
Expand description
Miner functions
Creates a Miner for the given authority.
Anyone can call this; this is an associated account.