Trait ValidatedTransaction

Source
pub trait ValidatedTransaction {
    // Required method
    fn apply(
        source: H160,
        transaction: Transaction,
    ) -> Result<(PostDispatchInfo, CallOrCreateInfo), DispatchErrorWithPostInfo>;
}

Required Methods§

Source

fn apply( source: H160, transaction: Transaction, ) -> Result<(PostDispatchInfo, CallOrCreateInfo), DispatchErrorWithPostInfo>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

impl<T: Config> ValidatedTransaction for ValidatedTransaction<T>