Skip to content

ReviewedEscrow: 2-of-3 EAS witness attestation escrow for outcome-conditional payments #3

Description

@KryptosAI

Context

No escrow/dispute path exists for outcome-conditional payments. For low-value agent services, decentralized oracles are uneconomical; witness attestation + reputation is the practical model (ROADMAP Gap 4).

Proposed solution

  • ReviewedEscrow.sol (~150 lines): payer funds escrow; releases when 2-of-3 designated reviewers attest via EAS that the work was delivered; refund path on timeout
  • Reviewers selected by EAS reputation score (Gap 3)
  • Defer UMA OOv3 (AGPL-3.0) to $500+ services; Kleros (MIT) for appeals — both out of scope here

Acceptance criteria

  • Forge tests: release on 2-of-3, refund on timeout, reviewer-collusion bounds documented
  • Counterflow binding + pool-level proof
  • SDK wrapper + CLI command

Effort: 1–2 weeks. Blocked on: real EAS integration (#2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions