Trait pallet_onboarding::pallet::Config
source · pub trait Config: Config + Config + Config + Config + Config + Config {
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type Currency: ReservableCurrency<Self::AccountId>;
type Prop: Parameter + Dispatchable<Origin = <Self as Config>::Origin> + From<Call<Self>>;
type ProposalFee: Get<Percent>;
type WeightInfo: WeightInfo;
type FeesAccount: Get<PalletId>;
type Slash: Get<Percent>;
}
Expand description
Configure the pallet by specifying the parameters and types on which it depends.
Required Associated Types§
sourcetype Event: From<Event<Self>> + IsType<<Self as Config>::Event>
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>
Because this pallet emits events, it depends on the runtime’s definition of an event.