[][src]Trait pallet_balances::Trait

pub trait Trait<I: Instance = DefaultInstance>: Trait {
    type Balance: Parameter + Member + AtLeast32BitUnsigned + Codec + Default + Copy + MaybeSerializeDeserialize + Debug;
    type DustRemoval: OnUnbalanced<NegativeImbalance<Self, I>>;
    type Event: From<Event<Self, I>> + Into<Self::Event>;
    type ExistentialDeposit: Get<Self::Balance>;
    type AccountStore: StoredMap<Self::AccountId, AccountData<Self::Balance>>;
    type WeightInfo: WeightInfo;
}

Associated Types

type Balance: Parameter + Member + AtLeast32BitUnsigned + Codec + Default + Copy + MaybeSerializeDeserialize + Debug

The balance of an account.

type DustRemoval: OnUnbalanced<NegativeImbalance<Self, I>>

Handler for the unbalanced reduction when removing a dust account.

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

The overarching event type.

type ExistentialDeposit: Get<Self::Balance>

The minimum amount required to keep an account open.

type AccountStore: StoredMap<Self::AccountId, AccountData<Self::Balance>>

The means of storing the balances of an account.

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

Loading content...

Implementors

Loading content...