Trait pallet_orders::Config
source · [−]pub trait Config: Config {
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type Accounting: Posting<Self::AccountId, Self::Hash, Self::BlockNumber, <<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance>;
type Bonsai: Storing<Self::Hash>;
type Currency: Currency<Self::AccountId>;
type OrdersConverter: TryConvert<i128, <<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance> + Convert<u32, Self::BlockNumber> + Convert<Self::BlockNumber, u32>;
type Prefunding: Encumbrance<Self::AccountId, Self::Hash, Self::BlockNumber, <<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance>;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.