[][src]Trait eq_vesting::Trait

pub trait Trait: Trait {
    type ModuleId: Get<ModuleId>;
    type Event: From<Event<Self>> + Into<Self::Event>;
    type Currency: Currency<Self::AccountId>;
    type BlockNumberToBalance: Convert<Self::BlockNumber, <Self::Currency as Currency<Self::AccountId>>::Balance>;
    type MinVestedTransfer: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>;
    type WeightInfo: WeightInfo;
}

Substrate pallet configuration trait

Associated Types

type ModuleId: Get<ModuleId>

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

type Currency: Currency<Self::AccountId>

The currency adapter trait

type BlockNumberToBalance: Convert<Self::BlockNumber, <Self::Currency as Currency<Self::AccountId>>::Balance>

Convert the block number into a balance

type MinVestedTransfer: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>

The minimum amount transferred to call vested_transfer

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet

Loading content...

Implementors

Loading content...