Trait stp258_tokens::module::Config[][src]

pub trait Config: Config {
    type Event: From<Event<Self>> + IsType<Self::Event>;
    type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize;
    type Amount: Signed + TryInto<Self::Balance> + TryFrom<Self::Balance> + Parameter + Member + SimpleArithmetic + Default + Copy + MaybeSerializeDeserialize;
    type CurrencyId: Parameter + Member + Copy + MaybeSerializeDeserialize + Ord;
    type WeightInfo: WeightInfo;
    type ExistentialDeposits: GetByKey<Self::CurrencyId, Self::Balance>;
    type GetBaseUnit: GetByKey<Self::CurrencyId, Self::Balance>;
    type GetSingleUnit: Get<Self::Balance>;
    type GetSerperAcc: Get<Self::AccountId>;
    type GetSettPayAcc: Get<Self::AccountId>;
    type GetSerperRatio: Get<Perbill>;
    type GetSettPayRatio: Get<Perbill>;
    type GetSerpQuoteMultiple: Get<Self::Balance>;
    type OnDust: OnDust<Self::AccountId, Self::CurrencyId, Self::Balance>;
}

Associated Types

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

type Balance: Parameter + Member + AtLeast32BitUnsigned + Default + Copy + MaybeSerializeDeserialize[src]

The balance type

type Amount: Signed + TryInto<Self::Balance> + TryFrom<Self::Balance> + Parameter + Member + SimpleArithmetic + Default + Copy + MaybeSerializeDeserialize[src]

The amount type, should be signed version of Balance

type CurrencyId: Parameter + Member + Copy + MaybeSerializeDeserialize + Ord[src]

The currency ID type

type WeightInfo: WeightInfo[src]

Weight information for extrinsics in this module.

type ExistentialDeposits: GetByKey<Self::CurrencyId, Self::Balance>[src]

The minimum amount required to keep an account.

type GetBaseUnit: GetByKey<Self::CurrencyId, Self::Balance>[src]

The base unit of a currency

type GetSingleUnit: Get<Self::Balance>[src]

The base unit of a currency

type GetSerperAcc: Get<Self::AccountId>[src]

The Serpers Account type

type GetSettPayAcc: Get<Self::AccountId>[src]

The SettPay Account type

type GetSerperRatio: Get<Perbill>[src]

The Serpers Account type

type GetSettPayRatio: Get<Perbill>[src]

The SettPay Account type

type GetSerpQuoteMultiple: Get<Self::Balance>[src]

The multiple number for the serp quote.

type OnDust: OnDust<Self::AccountId, Self::CurrencyId, Self::Balance>[src]

Handler to burn or transfer account’s dust

Loading content...

Implementors

Loading content...