Function set_drainpoint

Source
pub fn set_drainpoint<T: LazyBalance>(
    balance: &mut T::Balance,
    value: T::Time,
) -> Result<(), ShareBalanceError>
Expand description

Sets the most recent drained time of the balance.

LazyBalance::Balance virtual field: drainpoint

Writes to the discriminant BalanceTime field at index 1.