[][src]Trait eq_balances::Trait

pub trait Trait: Trait {
    type Event: From<Event<Self>> + Into<Self::Event>;
    type WeightInfo: WeightInfo;
    type Balance: Parameter + Member + AtLeast32BitUnsigned + Codec + Default + Copy + MaybeSerializeDeserialize + Debug + From<u64> + Into<u64>;
    type ExistentialDeposit: Get<Self::Balance>;
    type BalanceChecker: BalanceChecker<Self::Balance, Self::AccountId>;
    type PriceGetter: PriceGetter;
    type Aggregates: Aggregates<Self::AccountId, Self::Balance>;
}

Substrate pallet configuration trait

Associated Types

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

type WeightInfo: WeightInfo

type Balance: Parameter + Member + AtLeast32BitUnsigned + Codec + Default + Copy + MaybeSerializeDeserialize + Debug + From<u64> + Into<u64>

Numerical representation of stored balances

type ExistentialDeposit: Get<Self::Balance>

Minimum account balance. Accounts with deposit less than ExistentialDeposit must be killed

type BalanceChecker: BalanceChecker<Self::Balance, Self::AccountId>

Interface for pallet balance check

type PriceGetter: PriceGetter

Interface for accessing currency prices

type Aggregates: Aggregates<Self::AccountId, Self::Balance>

Interface for managing currency values aggregated for user groups

Loading content...

Implementors

Loading content...