Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Commit e991972

Browse files
author
cmd
committed
update
1 parent 8c242a1 commit e991972

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,29 +187,29 @@ Each contract settlement on mainnet will include a valid proof to maintain our r
187187
* Alice deposits her funds with the contract agent, along with a covenant.
188188
* Once the deposit is confirmed on-chain, the contract becomes active.
189189

190-
**[ settle contract - happy path ]**
190+
**Happy Path: Settle on Payout**
191191
* Alice receives her widget and forgets about Bob.
192192
* The contract schedule closes automatically on 'payout'.
193193
* Bob gets the funds, Alice can verify the CVM execution.
194194

195-
**[ settle contract - so-so path ]**
195+
**Neutral Path: Settle on Refund**
196196
* Alice doesn't like her widget.
197197
* Alice and Bob both agree to sign the 'refund' path.
198198
* Alice gets a partial refund, Bob still keeps his fees.
199199

200-
**[ dispute contract - unhappy path ]**
200+
**Unhappy Path: Dispute Settlement**
201201
* Alice didn't get the right widget, and disputes the payout.
202202
* Carol now has authority to settle the contract.
203203
* Carol decides on the 'refund' path.
204204
* Alice gets a partial refund, Bob still keeps his fees.
205205

206-
**[ expired contract - ugly path ]**
206+
**Ugly Path: Contract Expires**
207207
* Alice claims she didn't get a widget, and disputes the payout.
208208
* Carol is on a two-week cruise in the bahamas.
209209
* The proposal did not include any auto-settlement terms.
210210
* The contract expires, all deposits are released.
211211

212-
**[ expired deposits - horrific path ]**
212+
**Worst Path: Deposits Expire**
213213
* Everything above happens, except the last part.
214214
* The entire escrow platform goes down in flames.
215215
* The timelock on deposits eventually expire.
@@ -398,7 +398,7 @@ if (!res.ok) throw new Error('failed')
398398
export const { contract, deposit } = res.data
399399
```
400400

401-
### Monitor a Contract
401+
### Checking a Contract
402402

403403
```ts
404404
const res = await client.contract.read(cid)

0 commit comments

Comments
 (0)