Trait governance_os_pallet_conviction_voting::Config[][src]

pub trait Config: Config {
    type Currencies: LockableCurrencies<Self::AccountId>;
    type Decay: Get<<Self::Currencies as Currencies<Self::AccountId>>::Balance>;
}

Associated Types

type Currencies: LockableCurrencies<Self::AccountId>[src]

Pallet in charge of currencies. Used so that we can lock tokens etc…

type Decay: Get<<Self::Currencies as Currencies<Self::AccountId>>::Balance>[src]

Decay constant as part of the conviction voting / decay curve formula. Shared among all organizations relying on this pallet. Must be expressed in the form Decay = a * D where D is 10 and a is our decay constant. Check this document for better explanations.

Loading content...

Implementors

Loading content...