23 stable releases (4 major)

5.2.0 Jul 27, 2022
5.0.2 Apr 17, 2022
4.2.1 Apr 16, 2022
4.1.0 Mar 29, 2022
1.10.6 Nov 29, 2021

#7 in #quarry


Used in gauge

AGPL-3.0

120KB
2.5K SLoC

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.

lib.rs:

Delegates Quarry Rewarder authority roles.

Dependencies

~20–29MB
~500K SLoC