Trait orml_vesting::module::Config
source · pub trait Config: Config {
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>;
type Currency: LockableCurrency<Self::AccountId, Moment = Self::BlockNumber>;
type MinVestedTransfer: Get<<<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance>;
type VestedTransferOrigin: EnsureOrigin<Self::Origin, Success = Self::AccountId>;
type WeightInfo: WeightInfo;
type MaxVestingSchedules: Get<u32>;
type BlockNumberProvider: BlockNumberProvider<BlockNumber = Self::BlockNumber>;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Required Associated Types§
type Event: From<Event<Self>> + IsType<<Self as Config>::Event>
type Currency: LockableCurrency<Self::AccountId, Moment = Self::BlockNumber>
sourcetype MinVestedTransfer: Get<<<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>
The minimum amount transferred to call vested_transfer
.
sourcetype VestedTransferOrigin: EnsureOrigin<Self::Origin, Success = Self::AccountId>
type VestedTransferOrigin: EnsureOrigin<Self::Origin, Success = Self::AccountId>
Required origin for vested transfer.
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this module.
sourcetype MaxVestingSchedules: Get<u32>
type MaxVestingSchedules: Get<u32>
The maximum vesting schedules