[][src]Trait pallet_plasm_lockdrop::Trait

The module's main configuration trait.

Associated Types

type Currency: Currency<Self::AccountId>

The lockdrop balance.

type DurationBonus: DurationBonus

Lock duration bonuses.

type MedianFilterExpire: Get<Self::Moment>

How long dollar rate parameters valid in secs.

type MedianFilterWidth: ArrayLength<ListNode<Self::DollarRate>>

Median filter window size.

type AuthorityId: Member + Parameter + RuntimeAppPublic + Default + Ord

The identifier type for an authority.

type Account: IdentifyAccount<AccountId = Self::AccountId> + From<Public>

System level account type. This used for resolving account ID's of ECDSA lockdrop public keys.

type Time: Time<Moment = Self::Moment>

Module that could provide timestamp.

type Moment: Member + Parameter + Saturating + AtLeast32Bit + Copy + Default + From<u64> + Into<u64> + Into<u128>

Timestamp type.

type DollarRate: Member + Parameter + AtLeast32Bit + Unsigned + Copy + Default + Into<u128> + From<u64> + FromStr

Dollar rate number data type.

type BalanceConvert: From<u128> + Into<<Self::Currency as Currency<Self::AccountId>>::Balance>

type Event: From<Event<Self>> + Into<Self::Event>

The regular events type.

type UnsignedPriority: Get<TransactionPriority>

Base priority for unsigned transactions.

Loading content...

Implementors

Loading content...