Trait noble_nicks::Config[][src]

pub trait Config: Config {
    type Event: From<Event<Self>> + Into<Self::Event>;
    type Currency: ReservableCurrency<Self::AccountId>;
    type ReservationFee: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>;
    type Slashed: OnUnbalanced<<Self::Currency as Currency<Self::AccountId>>::NegativeImbalance>;
    type ForceOrigin: EnsureOrigin<Self::Origin>;
    type MinLength: Get<usize>;
    type MaxLength: Get<usize>;
}

Associated Types

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

The overarching event type.

type Currency: ReservableCurrency<Self::AccountId>[src]

The currency trait.

type ReservationFee: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>[src]

Reservation fee.

type Slashed: OnUnbalanced<<Self::Currency as Currency<Self::AccountId>>::NegativeImbalance>[src]

What to do with slashed funds.

type ForceOrigin: EnsureOrigin<Self::Origin>[src]

The origin which may forcibly set or remove a name. Root can always do this.

type MinLength: Get<usize>[src]

The minimum length a name may be.

type MaxLength: Get<usize>[src]

The maximum length a name may be.

Loading content...

Implementors

Loading content...