Expand description

Program for quarry_mine.

Functions

Accepts the authority to become the new rewarder.

claim_rewardsDeprecated

Claims rewards for the Miner.

Claims rewards for the Miner.

create_minerDeprecated

Creates a Miner for the given authority.

create_quarryDeprecated

Creates a new Quarry. This may only be called by the Rewarder::authority.

Creates a new Quarry. This may only be called by the Rewarder::authority.

Extracts fees to the Quarry DAO. This can be called by anyone.

new_rewarderDeprecated

Creates a new Rewarder.

Creates a new Rewarder.

Pauses the Rewarder.

Withdraw tokens from a Miner-owned token account that is not the Miner::token_vault_key. This is useful for if tokens are sent directly to a Miner.

Sets the amount of reward tokens distributed to all Quarrys per day.

Sets the famine, which stops rewards.

Sets the pause authority.

Sets the rewards share of a quarry.

Stakes tokens into the Miner.

Transfers the Rewarder authority to a different account.

Unpauses the Rewarder.

Synchronizes quarry rewards with the rewarder. Anyone can call this.

Withdraws tokens from the Miner.