Function quarry_registry::quarry_registry::new_registry[][src]

pub fn new_registry(
    ctx: Context<'_, '_, '_, '_, NewRegistry<'_>>,
    max_quarries: u16,
    bump: u8
) -> ProgramResult
Expand description

Provisions a new registry for a Rewarder.

Arguments

  • max_quarries - The maximum number of quarries that can be held in the registry.
  • bump - Bump seed.