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

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

Required Methods§

source

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

Check 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§