Function withdraw

Source
fn withdraw<'a, T: LazyBalanceMarker>(
    model: &'a mut LazyContainer<T>,
    receipt: T::Receipt,
) -> Result<T::Asset, Error<T>>
Expand description

Executes a withdrawal on the lazy balance model.

Consumes the provided receipt, invokes LazyBalance::withdraw, and returns the resolved asset value.