pub fn provide_judgement<T: Config>(
    reg_index: RegistrarIndex,
    target: <<T as Config>::Lookup as StaticLookup>::Source,
    judgement: Judgement<<<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance>,
    identity: T::Hash
)
Expand description

Provide a judgement for an account’s identity.

The dispatch origin for this call must be Signed and the sender must be the account of the registrar whose index is reg_index.

  • reg_index: the index of the registrar whose judgement is being made.
  • target: the account whose identity the judgement is upon. This must be an account with a registered identity.
  • judgement: the judgement of the registrar of index reg_index about target.
  • identity: The hash of the IdentityInfo for that the judgement is provided.

Emits JudgementGiven if successful.

Complexity

  • O(R + X).
    • where R registrar-count (governance-bounded).
    • where X additional-field-count (deposit-bounded and code-bounded).

Warning: Doc-Only

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