Trait pallet_child_bounties::pallet::Config
source · pub trait Config: Config + Config + Config {
type MaxActiveChildBountyCount: Get<u32>;
type ChildBountyValueMinimum: Get<BalanceOf<Self>>;
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
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 MaxActiveChildBountyCount: Get<u32>
type MaxActiveChildBountyCount: Get<u32>
Maximum number of child bounties that can be added to a parent bounty.
sourcetype ChildBountyValueMinimum: Get<BalanceOf<Self>>
type ChildBountyValueMinimum: Get<BalanceOf<Self>>
Minimum value for a child-bounty.
sourcetype RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
The overarching event type.
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.