Trait pallet_vesting::pallet::Config [−][src]
pub trait Config: Config { type Event: From<Event<Self>> + IsType<<Self as Config>::Event>; type Currency: LockableCurrency<Self::AccountId>; type BlockNumberToBalance: Convert<Self::BlockNumber, <<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance>; type MinVestedTransfer: Get<<<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance>; type WeightInfo: WeightInfo; }
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Associated Types
type Currency: LockableCurrency<Self::AccountId>
type Currency: LockableCurrency<Self::AccountId>
The currency trait.
type BlockNumberToBalance: Convert<Self::BlockNumber, <<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance>
type BlockNumberToBalance: Convert<Self::BlockNumber, <<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance>
Convert the block number into a balance.
The minimum amount transferred to call vested_transfer
.
type WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.