[][src]Trait pallet_vesting::Trait

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

Associated Types

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

The overarching event type.

type Currency: LockableCurrency<Self::AccountId>

The currency 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.

Loading content...

Implementors

Loading content...