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

#5 in #quarry

Download history 70/week @ 2024-09-22 6/week @ 2024-09-29 58/week @ 2024-12-08

58 downloads per month
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

~21–30MB
~516K SLoC