referrerpolicy=no-referrer-when-downgrade

Function pallet_society::pallet::dispatchables::set_parameters

source ·
pub fn set_parameters<T: Config<I>, I: 'static>(
    max_members: u32,
    max_intake: u32,
    max_strikes: u32,
    candidate_deposit: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
)
Expand description

Change the maximum number of members in society and the maximum number of new candidates in a single intake period.

The dispatch origin for this call must be Signed by the Founder.

Parameters:

  • max_members - The maximum number of members for the society. This must be no less than the current number of members.
  • max_intake - The maximum number of candidates per intake period.
  • max_strikes: The maximum number of strikes a member may get before they become suspended and may only be reinstated by the founder.
  • candidate_deposit: The deposit required to make a bid for membership of the group.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::set_parameters.