Skip to content

Commit 68108ad

Browse files
tacmotacffls
authored andcommitted
Improve example flow chart
1 parent 80f2604 commit 68108ad

File tree

1 file changed

+50
-50
lines changed

1 file changed

+50
-50
lines changed

examples/plutus/forty_two/README.md

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -11,54 +11,54 @@ FortyTwo is a simple smart contract that could be unlocked only by a redeemer of
1111
Below is the visualization of the lifecycle of UTxOs involved. The entity enclosed in the parenthesis is the owner of the UTxO.
1212

1313
```
14-
15-
┌─────────────────────────────────────────────────────────────────────────┐
16-
│ │
17-
│ ┌─────────────────────────┐ ┌─────────────────────────┐ │
18-
│ │ │ │ │ │
19-
│ │ Initial UTxO │ │ Change UTxO │ │
20-
│ │ ├───────┤ │ │
21-
│ │ (Giver) │ │ (Giver) │ │
22-
│ │ │ │ │ │
23-
│ └────────────┬────────────┘ └─────────────────────────┘ │
24-
│ │ │
25-
│ │ │
26-
│ │ ┌─────────────────────────┐ │
27-
│ │ │ │ │
28-
│ │ │ Inline script UTxO │ │
29-
│ └────────────────────┤ ├────────┐ │
30-
│ │ (Giver) │ │ │
31-
│ │ │ │ │
32-
│ Tx1 └─────────────────────────┘ │ │
33-
│ │ │
34-
└───────────────────────────────────────────────────────────────────────┼─┘
35-
36-
┌────────────────────────────────────────────────────────────────┐ │
37-
│ │ │
38-
│ ┌─────────────────────────┐ ┌─────────────────────────┐ │ │
39-
│ │ │ │ │ │ │
40-
│ │ Give UTxO │ │ Locked UTxO │ │ │
41-
│ │ ├───────┤ │ │ │
42-
│ │ (Giver) │ │ (Script) │ │ │
43-
│ │ │ │ │ │ │
44-
│ └─────────────────────────┘ └─────────────┬───────────┘ │ │
45-
│ │ │ │
46-
│ Tx2 │ │ │
47-
└──────────────────────────────────────────────────┼─────────────┘ │
48-
│ │
49-
┌────────────────┼────────────────────┼─────────────────┐
50-
│ │
51-
│ ┌────────────────────────┐ │ │
52-
│ │ │ │ │
53-
│ │ Taken UTxO │ │ │
54-
│ │ │◄───────┘ │
55-
│ │ (Taker) │ │
56-
│ │ │ Refer to script UTxO │
57-
│ └─────────────────────────┘ │
58-
│ │
59-
│ │
60-
│ Tx3 │
61-
│ │
62-
└───────────────────────────────────────────────────────┘
63-
14+
15+
┌─────────────────────────────────────────────────────────────────────────┐
16+
│ │
17+
│ ┌─────────────────────────┐ ┌─────────────────────────┐ │
18+
│ │ │ │ │ │
19+
│ │ Initial UTxO │ │ Change UTxO │ │
20+
│ │ ├──────►│ │ │
21+
│ │ (Giver) │ │ (Giver) │ │
22+
│ │ │ │ │ │
23+
│ └────────────┬────────────┘ └─────────────────────────┘ │
24+
│ │ │
25+
│ │ │
26+
│ │ ┌─────────────────────────┐ │
27+
│ │ │ │ │
28+
│ │ │ Inline script UTxO │ │
29+
│ └───────────────────►│ ├────────┐ │
30+
│ │ (Giver) │ │ │
31+
│ │ │ │ │
32+
│ Tx1 └─────────────────────────┘ │ │
33+
│ │ │
34+
└───────────────────────────────────────────────────────────────────────┼─┘
35+
36+
┌────────────────────────────────────────────────────────────────┐ │
37+
│ │ │
38+
│ ┌─────────────────────────┐ ┌─────────────────────────┐ │ │
39+
│ │ │ │ │ │ │
40+
│ │ Give UTxO │ │ Locked UTxO │ │ │
41+
│ │ ├──────►│ │ │ │
42+
│ │ (Giver) │ │ (Script) │ │ │
43+
│ │ │ │ │ │ │
44+
│ └─────────────────────────┘ └─────────────┬───────────┘ │ │
45+
│ │ │ │
46+
│ Tx2 │ │ │
47+
└──────────────────────────────────────────────────┼─────────────┘ │
48+
│ │
49+
┌────────────────┼────────────────────┼─────────────────┐
50+
│ │
51+
│ ┌────────────────────────┐ │ │
52+
│ │ │ │ │
53+
│ │ Taken UTxO │ │ │
54+
│ │ │◄───────┘ │
55+
│ │ (Taker) │ │
56+
│ │ │ Refer to script UTxO │
57+
│ └─────────────────────────┘ │
58+
│ │
59+
│ │
60+
│ Tx3 │
61+
│ │
62+
└───────────────────────────────────────────────────────┘
63+
6464
```

0 commit comments

Comments
 (0)