Function set_effective

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

Sets the current effective value of the balance.

LazyBalance::Balance virtual field: effective

Writes to the discriminant BalanceAsset field at index 0.