pub trait Config: Config {
    type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
    type Currency: Currency<Self::AccountId>;
    type VestingSchedule: VestingSchedule<Self::AccountId, Moment = Self::BlockNumber, Currency = Self::Currency>;
    type ValidityOrigin: EnsureOrigin<Self::Origin>;
    type ConfigurationOrigin: EnsureOrigin<Self::Origin>;
    type MaxStatementLength: Get<u32>;
    type UnlockedProportion: Get<Permill>;
    type MaxUnlocked: Get<<<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance>;
}
Expand description

Configuration trait of this pallet.

Implement this type for a runtime in order to customize this pallet.

Required Associated Types§

The overarching event type.

Balances Pallet

Vesting Pallet

The origin allowed to set account status.

The origin allowed to make configurations to the pallet.

The maximum statement length for the statement users to sign when creating an account.

The amount of purchased locked DOTs that we will unlock for basic actions on the chain.

The maximum amount of locked DOTs that we will unlock.

Implementors§