MCPcopy Create free account
hub / github.com/cowprotocol/services / insert_interactions

Function insert_interactions

crates/database/src/orders.rs:311–320  ·  view source on GitHub ↗
(
    ex: &mut PgConnection,
    order: &OrderUid,
    interactions: &[Interaction],
)

Source from the content-addressed store, hash-verified

309
310#[instrument(skip_all)]
311pub async fn insert_interactions(
312 ex: &mut PgConnection,
313 order: &OrderUid,
314 interactions: &[Interaction],
315) -> Result<(), sqlx::Error> {
316 for interaction in interactions {
317 insert_interaction(ex, order, interaction).await?;
318 }
319 Ok(())
320}
321
322#[instrument(skip_all)]
323pub async fn insert_interaction(

Callers 1

insert_orderFunction · 0.85

Calls 1

insert_interactionFunction · 0.85

Tested by

no test coverage detected