Expand description

Quarry merge mining program.

Functions

Claims quarry_mine rewards on behalf of the MergeMiner.

Creates a new MergeMiner. Anyone can call this.

Creates a new MergeMiner. Anyone can call this.

init_minerDeprecated

Initializes a quarry_mine::Miner owned by the MergeMiner.

Initializes a quarry_mine::Miner owned by the MergeMiner.

new_poolDeprecated

Creates a new MergePool. Anyone can call this.

Creates a new MergePool. Anyone can call this.

Rescues stuck tokens in miners owned by a 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.