Skip to content
Snippets Groups Projects
Commit b964168d authored by Éloïs's avatar Éloïs
Browse files

doc certification events

parent 4dd569c3
No related branches found
No related tags found
1 merge request!9upgrade substrate to monthly-2022-01
This commit is part of merge request !9. Comments created here will be created in the context of that merge request.
......@@ -210,6 +210,7 @@ pub mod pallet {
#[pallet::generate_deposit(pub(super) fn deposit_event)]
pub enum Event<T: Config<I>, I: 'static = ()> {
/// New certification
/// [issuer, issuer_issued_count, receiver, receiver_received_count]
NewCert {
issuer: T::IdtyIndex,
issuer_issued_count: u8,
......@@ -217,6 +218,7 @@ pub mod pallet {
receiver_received_count: u32,
},
/// Removed certification
/// [issuer, issuer_issued_count, receiver, receiver_received_count, expiration]
RemovedCert {
issuer: T::IdtyIndex,
issuer_issued_count: u8,
......@@ -225,6 +227,7 @@ pub mod pallet {
expiration: bool,
},
/// Renewed certification
/// [issuer, receiver]
RenewedCert {
issuer: T::IdtyIndex,
receiver: T::IdtyIndex,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment