[][src]Trait pallet_operator_trading::Trait

pub trait Trait: Trait {
    type Currency: LockableCurrency<Self::AccountId, Moment = Self::BlockNumber>;
    type OperatorFinder: OperatorFinder<Self::AccountId>;
    type TransferOperator: TransferOperator<Self::AccountId>;
    type Event: From<Event<Self>> + Into<Self::Event>;
}

The module's configuration trait.

Associated Types

type Currency: LockableCurrency<Self::AccountId, Moment = Self::BlockNumber>

type OperatorFinder: OperatorFinder<Self::AccountId>

The helper of checking the state of operators.

type TransferOperator: TransferOperator<Self::AccountId>

The helper of transfering operator's authorities.

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

The overarching event type.

Loading content...

Implementors

Loading content...