Function pallet_identity::pallet::dispatchables::provide_judgement
source · 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 indexreg_indexabouttarget.identity: The hash of theIdentityInfofor that the judgement is provided.
Emits JudgementGiven if successful.
Complexity
O(R + X).- where
Rregistrar-count (governance-bounded). - where
Xadditional-field-count (deposit-bounded and code-bounded).
- where
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::provide_judgement.