Module quarry_merge_mine::quarry_merge_mine [−][src]
Expand description
Quarry merge mining program.
Functions
Claims quarry_mine rewards on behalf of the MergeMiner.
Creates a new MergeMiner. Anyone can call this.
Initializes a quarry_mine::Miner owned by the MergeMiner.
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.
Stakes all possible replica tokens into a quarry_mine::Quarry. Before calling this, the owner should call stake_primary_miner with the tokens they would like to stake.
Unstakes all of a MergeMiner’s replica tokens for a quarry_mine::Miner.
Withdraws tokens from the MergeMiner.
Withdraws tokens from the MergeMiner.