quarry-operator 5.2.0

Delegates Quarry Rewarder authority roles.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Macros.

/// Generates the signer seeds for the [crate::Operator].
#[macro_export]
macro_rules! gen_operator_signer_seeds {
    ($operator:expr) => {
        &[
            b"Operator" as &[u8],
            &$operator.base.to_bytes(),
            &[$operator.bump],
        ]
    };
}