Trait noble_tips::Config[][src]

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

Associated Types

type MaximumReasonLength: Get<u32>[src]

Maximum acceptable reason length.

type DataDepositPerByte: Get<BalanceOf<Self>>[src]

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

type Tippers: Contains<Self::AccountId> + ContainsLengthBound[src]

Origin from which tippers must come.

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

type TipCountdown: Get<Self::BlockNumber>[src]

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

type TipFindersFee: Get<Percent>[src]

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

type TipReportDepositBase: Get<BalanceOf<Self>>[src]

The amount held on deposit for placing a tip report.

type Event: From<Event<Self>> + Into<Self::Event>[src]

The overarching event type.

type WeightInfo: WeightInfo[src]

Weight information for extrinsics in this noble.

Loading content...

Implementors

Loading content...