[][src]Trait sunshine_donate::Trait

pub trait Trait: Trait + Trait {
    type Event: From<Event<Self>> + Into<Self::Event>;
    type Currency: Currency<Self::AccountId>;
    type TransactionFee: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>;
    type Treasury: Get<ModuleId>;
}

Associated Types

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

The overarching event type

type Currency: Currency<Self::AccountId>

The currency type

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

type Treasury: Get<ModuleId>

Where the conditional taxes go

Loading content...

Implementors

Loading content...