Skip to main content

decide_with_task_attribution

Function decide_with_task_attribution 

Source
pub fn decide_with_task_attribution(
    call: &Call,
    response: &ResponsePeek,
    prices: &PriceBook,
    task_attribution: Option<&TaskAttribution>,
) -> Charge
Expand description

Decide an exchange using pre-priced, non-identifying task attribution.

This is the privacy-preserving form for durable storage. The task’s units are resolved when it is created, so a later terminal poll does not need the original name, URI, or extension method string.