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_index
abouttarget
.identity
: The hash of theIdentityInformationProvider
for that the judgement is provided.
Note: Judgements do not apply to a username.
Emits JudgementGiven
if successful.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::provide_judgement
.