MCPcopy Create free account
hub / github.com/EvoMap/evolver / settle

Function settle

src/atp/consumerAgent.js:78–81  ·  view source on GitHub ↗

* Force settlement of an order. * @param {string} orderId * @returns {Promise<{ok: boolean, data?: object, error?: string}>}

(orderId)

Source from the content-addressed store, hash-verified

76 * @returns {Promise<{ok: boolean, data?: object, error?: string}>}
77 */
78async function settle(orderId) {
79 await ensureInitialized();
80 return settleOrder(orderId);
81}
82
83/**
84 * Raise a dispute for an order.

Callers

nothing calls this directly

Calls 2

ensureInitializedFunction · 0.85
settleOrderFunction · 0.85

Tested by

no test coverage detected