Trait pallet_spaces::Trait[][src]

pub trait Trait: Trait + Trait + Trait {
    type Event: From<Event<Self>> + Into<Self::Event>;
    type Currency: ReservableCurrency<Self::AccountId>;
    type Roles: PermissionChecker<AccountId = Self::AccountId>;
    type SpaceFollows: SpaceFollowsProvider<AccountId = Self::AccountId>;
    type BeforeSpaceCreated: BeforeSpaceCreated<Self>;
    type AfterSpaceUpdated: AfterSpaceUpdated<Self>;
    type IsAccountBlocked: IsAccountBlocked<Self::AccountId>;
    type IsContentBlocked: IsContentBlocked;
    type HandleDeposit: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>;
}

The pallet’s configuration trait.

Associated Types

type Event: From<Event<Self>> + Into<Self::Event>[src]

The overarching event type.

type Currency: ReservableCurrency<Self::AccountId>[src]

type Roles: PermissionChecker<AccountId = Self::AccountId>[src]

type SpaceFollows: SpaceFollowsProvider<AccountId = Self::AccountId>[src]

type BeforeSpaceCreated: BeforeSpaceCreated<Self>[src]

type AfterSpaceUpdated: AfterSpaceUpdated<Self>[src]

type IsAccountBlocked: IsAccountBlocked<Self::AccountId>[src]

type IsContentBlocked: IsContentBlocked[src]

type HandleDeposit: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>[src]

Loading content...

Implementors

Loading content...