Trait pallet_currencies::module::Config
source · pub trait Config: Config {
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type MultiCurrency: TransferAll<Self::AccountId> + MultiCurrencyExtended<Self::AccountId> + MultiLockableCurrency<Self::AccountId> + MultiReservableCurrency<Self::AccountId> + NamedMultiReservableCurrency<Self::AccountId>;
type NativeCurrency: BasicCurrencyExtended<Self::AccountId, Balance = <<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::Balance, Amount = <<Self as Config>::MultiCurrency as MultiCurrencyExtended<<Self as Config>::AccountId>>::Amount> + BasicLockableCurrency<Self::AccountId, Balance = <<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::Balance> + BasicReservableCurrency<Self::AccountId, Balance = <<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::Balance> + NamedBasicReservableCurrency<Self::AccountId, <<Self as Config>::MultiCurrency as NamedMultiReservableCurrency<<Self as Config>::AccountId>>::ReserveIdentifier, Balance = <<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::Balance>;
type GetNativeCurrencyId: Get<<<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::CurrencyId>;
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§
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>
type MultiCurrency: TransferAll<Self::AccountId> + MultiCurrencyExtended<Self::AccountId> + MultiLockableCurrency<Self::AccountId> + MultiReservableCurrency<Self::AccountId> + NamedMultiReservableCurrency<Self::AccountId>
type NativeCurrency: BasicCurrencyExtended<Self::AccountId, Balance = <<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::Balance, Amount = <<Self as Config>::MultiCurrency as MultiCurrencyExtended<<Self as Config>::AccountId>>::Amount> + BasicLockableCurrency<Self::AccountId, Balance = <<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::Balance> + BasicReservableCurrency<Self::AccountId, Balance = <<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::Balance> + NamedBasicReservableCurrency<Self::AccountId, <<Self as Config>::MultiCurrency as NamedMultiReservableCurrency<<Self as Config>::AccountId>>::ReserveIdentifier, Balance = <<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::Balance>
type GetNativeCurrencyId: Get<<<Self as Config>::MultiCurrency as MultiCurrency<<Self as Config>::AccountId>>::CurrencyId>
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this module.