pub fn unlock<T: Config<I>, I: 'static>(
    class: <<T as Config<I>>::Polls as Polling<TallyOf<T, I>>>::Class,
    target: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description

Remove the lock caused by prior voting/delegating which has expired within a particular class.

The dispatch origin of this call must be Signed.

  • class: The class of polls to unlock.
  • target: The account to remove the lock on.

Weight: O(R) with R number of vote of target.

§Warning: Doc-Only

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