#solana #quarry

quarry-operator

Delegates Quarry Rewarder authority roles

11 stable releases

Uses new Rust 2021

new 1.11.10 Jan 17, 2022
1.11.9 Jan 4, 2022
1.11.8 Dec 31, 2021
1.10.6 Nov 29, 2021
1.10.0 Oct 31, 2021

#623 in Magic Beans

Download history 15/week @ 2021-10-20 14/week @ 2021-10-27 4/week @ 2021-11-03 46/week @ 2021-11-17 52/week @ 2021-11-24 24/week @ 2021-12-01 32/week @ 2021-12-08 20/week @ 2021-12-15 67/week @ 2021-12-22 69/week @ 2021-12-29 61/week @ 2022-01-05 49/week @ 2022-01-12

246 downloads per month
Used in gauge

AGPL-3.0

98KB
2K 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

~8.5MB
~180K SLoC

E4a