Trait polkadot_runtime_parachains::hrmp::pallet::Config
source · pub trait Config: Config + Config + Config + Config {
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
type RuntimeOrigin: From<Origin> + From<<Self as Config>::RuntimeOrigin> + Into<Result<Origin, <Self as Config>::RuntimeOrigin>>;
type Currency: ReservableCurrency<Self::AccountId>;
type WeightInfo: WeightInfo;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Required Associated Types§
sourcetype RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
The outer event type.
type RuntimeOrigin: From<Origin> + From<<Self as Config>::RuntimeOrigin> + Into<Result<Origin, <Self as Config>::RuntimeOrigin>>
sourcetype Currency: ReservableCurrency<Self::AccountId>
type Currency: ReservableCurrency<Self::AccountId>
An interface for reserving deposits for opening channels.
NOTE that this Currency instance will be charged with the amounts defined in the
Configuration
pallet. Specifically, that means that the Balance
of the Currency
implementation should be the same as Balance
as used in the Configuration
.
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Something that provides the weight of this pallet.