Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions contracts/escrow/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
//! MergeFi Escrow Contract
//!
//! Holds sponsor-funded bounty escrows for individual GitHub issues and
//! Holds crowdfunded bounty escrows for individual GitHub issues and
//! releases them (in full or split across a team) once the mergefi-backend
//! oracle reports that the underlying work has been merged/accepted, or
//! refunds them back to the sponsor if the issue is cancelled / its deadline
//! passes unresolved.
//! oracle reports that the underlying work has been merged/accepted. One or
//! more sponsors co-fund a single issue: the first opens the escrow with
//! `fund`, any number of others add to it with `contribute`. If the issue is
//! cancelled or its deadline passes unresolved, `refund` walks the
//! contribution ledger and returns each contributor the exact amount they
//! put in.
#![no_std]

mod error;
Expand Down