pub fn execute(&self) -> bool {
		self.send_direct_trade_resolve_event();

		for transfer in &self.transfers {
			T::Currency::repatriate_reserved(
				transfer.asset,
				transfer.from,
				transfer.to,
				transfer.amount,
				BalanceStatus::Free,
			)
			.expect("Cannot fail. Checks should have been done prior to this.");

			if transfer.fee_transfer {
				Self::send_trade_fee_event(transfer.from, transfer.to, transfer.asset, transfer.amount);
			}
		}
		true
	}
/// Execute direct trade.
/// Trade must be prepared first. Execute all transfers.
Execute direct trade.
Trade must be prepared first. Execute all transfers.
Execute direct trade . Trade must be prepared first . Execute all transfers .
pub fn execute(&self) -> bool {
		self.send_direct_trade_resolve_event();
		for transfer in &self.transfers {
			T::Currency::repatriate_reserved(
				transfer.asset,
				transfer.from,
				transfer.to,
				transfer.amount,
				BalanceStatus::Free,
			)
			.expect("Cannot fail. Checks should have been done prior to this.");
			if transfer.fee_transfer {
				Self::send_trade_fee_event(transfer.from, transfer.to, transfer.asset, transfer.amount);
			}
		}
		true
	}
pub fn execute ( & self ) -> bool { self . send_direct_trade_resolve_event ( ) ; for transfer in & self . transfers { T :: Currency :: repatriate_reserved ( transfer . asset , transfer . from , transfer . to , transfer . amount , BalanceStatus :: Free , ) . expect ( " " ) ; if transfer . fee_transfer { Self :: send_trade_fee_event ( transfer . from , transfer . to , transfer . asset , transfer . amount ) ; } } true }
Execute direct trade.
Execute direct trade .
&self