[][src]Trait artemis_core::Verifier

pub trait Verifier<AccountId> {
    fn verify(
        sender: AccountId,
        app_id: AppId,
        message: &Message
    ) -> DispatchResult; }

A trait for verifying messages.

This trait should be implemented by runtime modules that wish to provide message verification functionality.

Required methods

fn verify(sender: AccountId, app_id: AppId, message: &Message) -> DispatchResult

Loading content...

Implementors

Loading content...