Skip to content

Commit 8684567

Browse files
authored
Merge pull request #1 from distributed-lab/feature/docs
add one general diagram of flow
2 parents 47fdcf7 + ddd3a65 commit 8684567

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/maker_taker_flow.puml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@startuml
2+
'https://plantuml.com/sequence-diagram
3+
4+
autonumber
5+
6+
== Order matching ==
7+
8+
Maker -> LiquidNetwork: Create Option
9+
Maker -> NostrRelay: Place order
10+
Taker --> NostrRelay: Sync data
11+
Taker --> Taker: Check available Option
12+
Taker -> LiquidNetwork: Make transaction to fund Maker's order
13+
Taker -> NostrRelay: Place own respond ack on the Maker's order
14+
15+
== After 30 days ==
16+
17+
Taker <--> PriceOracle: Obtain information \n about current token price
18+
Taker -> LiquidNetwork: Execute Option
19+
Maker <--> PriceOracle: Obtain information \n about current token price
20+
Maker -> LiquidNetwork: Execute Option
21+
@enduml

0 commit comments

Comments
 (0)