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

Function dispute

src/atp/consumerAgent.js:89–92  ·  view source on GitHub ↗

* Raise a dispute for an order. * @param {string} orderId * @param {string} reason - min 10 chars * @returns {Promise<{ok: boolean, data?: object, error?: string}>}

(orderId, reason)

Source from the content-addressed store, hash-verified

87 * @returns {Promise<{ok: boolean, data?: object, error?: string}>}
88 */
89async function dispute(orderId, reason) {
90 await ensureInitialized();
91 return disputeOrder(orderId, reason);
92}
93
94/**
95 * Check the status of an order.

Callers

nothing calls this directly

Calls 2

ensureInitializedFunction · 0.85
disputeOrderFunction · 0.85

Tested by

no test coverage detected