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§

source

type MaxActiveChildBountyCount: Get<u32>

Maximum number of child bounties that can be added to a parent bounty.

source

type ChildBountyValueMinimum: Get<BalanceOf<Self>>

Minimum value for a child-bounty.

source

type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>

The overarching event type.

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

Implementors§