pub trait Config<I: 'static = ()>: Config + Config<I> {
    type Event: From<Event<Self, I>> + IsType<<Self as Config>::Event>;
    type MaximumReasonLength: Get<u32>;
    type DataDepositPerByte: Get<BalanceOf<Self, I>>;
    type TipCountdown: Get<Self::BlockNumber>;
    type TipFindersFee: Get<Percent>;
    type TipReportDepositBase: Get<BalanceOf<Self, I>>;
    type Tippers: SortedMembers<Self::AccountId> + ContainsLengthBound;
    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§

The overarching event type.

Maximum acceptable reason length.

Benchmarks depend on this value, be sure to update weights file when changing this value

The amount held on deposit per byte within the tip report reason or bounty description.

The period for which a tip remains open after is has achieved threshold tippers.

The percent of the final tip which goes to the original reporter of the tip.

The amount held on deposit for placing a tip report.

Origin from which tippers must come.

ContainsLengthBound::max_len must be cost free (i.e. no storage read or heavy operation). Benchmarks depend on the value of ContainsLengthBound::max_len be sure to update weights file when altering this method.

Weight information for extrinsics in this pallet.

Implementors§