Trait pallet_balances::Trait[][src]

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;
    type MaxLocks: Get<u32>;
}

Associated Types

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

The balance of an account.

type DustRemoval: OnUnbalanced<NegativeImbalance<Self, I>>[src]

Handler for the unbalanced reduction when removing a dust account.

type Event: From<Event<Self, I>> + Into<Self::Event>[src]

The overarching event type.

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

The minimum amount required to keep an account open.

type AccountStore: StoredMap<Self::AccountId, AccountData<Self::Balance>>[src]

The means of storing the balances of an account.

type WeightInfo: WeightInfo[src]

Weight information for extrinsics in this pallet.

type MaxLocks: Get<u32>[src]

The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation.

Loading content...

Implementors

Loading content...