pub fn found_society<T: Config<I>, I: 'static>(
    founder: <<T as Config>::Lookup as StaticLookup>::Source,
    max_members: u32,
    max_intake: u32,
    max_strikes: u32,
    candidate_deposit: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
    rules: Vec<u8>
)
Expand description

Found the society.

This is done as a discrete action in order to allow for the pallet to be included into a running chain and can only be done once.

The dispatch origin for this call must be from the FounderSetOrigin.

Parameters:

  • founder - The first member and head of the newly founded society.
  • max_members - The initial max number of members for the society.
  • 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.
  • rules - The rules of this society concerning membership.

Complexity: O(1)

Warning: Doc-Only

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