[][src]Trait sunshine_court::Trait

pub trait Trait: Trait + Trait + Trait {
    type Event: From<Event<Self>> + Into<Self::Event>;
    type Currency: Currency<Self::AccountId> + ReservableCurrency<Self::AccountId>;
    type DisputeId: Parameter + Member + AtLeast32Bit + Codec + Default + Copy + MaybeSerializeDeserialize + Debug + PartialOrd + PartialEq + Zero;
    type MinimumDisputeAmount: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>;
}

Associated Types

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

The overarching event type

type Currency: Currency<Self::AccountId> + ReservableCurrency<Self::AccountId>

The currency type

  • TODO: consider switching Reservable for Lockable?

type DisputeId: Parameter + Member + AtLeast32Bit + Codec + Default + Copy + MaybeSerializeDeserialize + Debug + PartialOrd + PartialEq + Zero

The identifier for disputes

type MinimumDisputeAmount: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>

The minimum amount for any dispute registered in this module

Loading content...

Implementors

Loading content...