Function t3rn_primitives::transfers::escrow_transfer
source · pub fn escrow_transfer<T: Config, C: Currency<T::AccountId>>(
escrow_account: &T::AccountId,
requester: &T::AccountId,
target_to: &T::AccountId,
value: CurrencyBalanceOf<T, C>,
transfers: &mut Vec<TransferEntry>
) -> Result<(), DispatchError>