quarry-operator

Crates.ioquarry-operator
lib.rsquarry-operator
version5.2.0
sourcesrc
created_at2021-10-20 16:53:56.783549
updated_at2022-07-27 16:50:57.909082
descriptionDelegates Quarry Rewarder authority roles.
homepagehttps://quarry.so
repositoryhttps://github.com/QuarryProtocol/quarry
max_upload_size
id468001
size21,231
Larry Jarry (larrinator1)

documentation

README

quarry-operator

Delegates Quarry Rewarder authority roles.

This program defines four roles:

  • admin, which can update the three authorized roles.
  • rate_setter, which can modify rates.
  • quarry_creator, which can create new quarries.
  • share_allocator, which can choose the number of rewards shares each quarry receives.

Usage

To use this program

  1. Generate the PDA of the Operator.
  2. Set the rewarder authority via quarry_mine::transfer_authority.
  3. Create the Operator and accept the authority via quarry_operator::create_operator.
Commit count: 286

cargo fmt