Trait pallet_tips::Config[][src]

pub trait Config: Config + Config {
    type MaximumReasonLength: Get<u32>;
    type DataDepositPerByte: Get<BalanceOf<Self>>;
    type Tippers: SortedMembers<Self::AccountId> + ContainsLengthBound;
    type TipCountdown: Get<Self::BlockNumber>;
    type TipFindersFee: Get<Percent>;
    type TipReportDepositBase: Get<BalanceOf<Self>>;
    type Event: From<Event<Self>> + Into<<Self as Config>::Event>;
    type WeightInfo: WeightInfo;
}

Associated Types

Maximum acceptable reason length.

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

Origin from which tippers must come.

ContainsLengthBound::max_len must be cost free (i.e. no storage read or heavy operation).

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.

The overarching event type.

Weight information for extrinsics in this pallet.

Implementors

impl Config for Runtime