pub trait OnNewIdty<T: Config> {
    // Required method
    fn on_created(idty_index: &T::IdtyIndex, creator: &T::IdtyIndex);
}
Expand description

A trait defining behavior for handling new identities creation.

Required Methods§

source

fn on_created(idty_index: &T::IdtyIndex, creator: &T::IdtyIndex)

Called when a new identity is created.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

source§

fn on_created(_idty_index: &T::IdtyIndex, _creator: &T::IdtyIndex)

Implementors§