Trait pallet_share_distributor::pallet::Config
source · pub trait Config: Config + Config + Config + Config + Config + Config {
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type Currency: Currency<Self::AccountId> + ReservableCurrency<Self::AccountId>;
type AssetId: IsType<<Self as Config>::AssetId> + Parameter + From<u32> + Ord + Copy;
type Fees: Get<BalanceOf<Self>>;
}
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.