Trait pallet_profile_follows::BeforeAccountFollowed[][src]

pub trait BeforeAccountFollowed<T: Trait> {
    fn before_account_followed(
        follower: T::AccountId,
        follower_reputation: u32,
        following: T::AccountId
    ) -> DispatchResult; }

Handler that will be called right before the account is followed.

Required methods

fn before_account_followed(
    follower: T::AccountId,
    follower_reputation: u32,
    following: T::AccountId
) -> DispatchResult
[src]

Loading content...

Implementations on Foreign Types

impl<T: Trait> BeforeAccountFollowed<T> for ()[src]

Loading content...

Implementors

Loading content...