Module quarry_mine::quarry_mine
source · [−]Expand description
Program for quarry_mine.
Functions
Accepts the authority to become the new rewarder.
Claims rewards for the Miner.
Claims rewards for the Miner.
Creates a Miner for the given authority.
Extracts fees to the Quarry DAO. This can be called by anyone.
Creates a new Rewarder.
Creates a new 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.
Synchronizes quarry rewards with the rewarder. Anyone can call this.
Withdraws tokens from the Miner.