pub trait CheckIdtyCallAllowed<T: Config> {
    // Required method
    fn check_create_identity(creator: T::IdtyIndex) -> Result<(), DispatchError>;
}
Expand description

A trait defining operations for checking if identity-related calls are allowed.

Required Methods§

source

fn check_create_identity(creator: T::IdtyIndex) -> Result<(), DispatchError>

Checks if creating an identity is allowed.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: Config> CheckIdtyCallAllowed<T> for ()

source§

fn check_create_identity(_creator: T::IdtyIndex) -> Result<(), DispatchError>

Implementors§