Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.
Open
Show file tree
Hide file tree
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
Binary file added assets/l3/demand-create.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/l3/demand-transactions.png
Binary file not shown.
Binary file modified assets/l3/demand.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/l3/key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/l3/match2-ab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/l3/match2-ba.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/l3/match2-cancel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/l3/match2-create.png
Binary file not shown.
Binary file added assets/l3/match2-propose.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/l3/match2-reject.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/l3/match2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/l3/rematch2-acceptFinal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/l3/rematch2-propose.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
242 changes: 232 additions & 10 deletions docs/l3/api_flow.md

Large diffs are not rendered by default.

14 changes: 11 additions & 3 deletions docs/l3/tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ An abstract representation of a match between two different kinds of demand. In
### Demand

Created by a member.
![demand create](../../assets/l3/demand-transactions.png)
![demand create](../../assets/l3/demand-create.png)

Commented on by any member
![demand comment](../../assets//l3//demand-comment.png)
![demand comment](../../assets//l3/demand-comment.png)

### Match2

An `Optimiser` proposes the matching of a single `DemandA` from some `MemberA` to a single `DemandB` of a different `MemberB`.

![match2 create](../../assets/l3/match2-create.png)
![match2 propose](../../assets/l3/match2-propose.png)

Accept flow if `MemberA` accepts first, then `MemberB`.

Expand All @@ -66,3 +66,11 @@ A match can be rejected by any party before it is fully accepted.
A match can be cancelled by either `MemberA` or `MemberB` after it has been fully accepted.

![match2 cancel](../../assets/l3/match2-cancel.png)

A match can be rematched whereby a `demand` of subtype `demandA` is rematched to a different `demand` of subtype `demandB`. This will cancel the previous match. This begins with the proposal.

![rematch2 propose](../../assets/l3/rematch2-propose.png)

The first stage of a rematch accept flow is then the same as that shown above where either `MemberA` or `MemberB` of the new match accepts first. A different transaction then occurs for the second agreement.

![rematch2 acceptFinal](../../assets/l3/rematch2-acceptFinal.png)