Skip to content

Commit 9b68c7f

Browse files
committed
Improve fortytwo visualization
1 parent fb410b5 commit 9b68c7f

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

examples/plutus/forty_two/README.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,19 @@ Below is the visualization of the lifecycle of UTxOs involved:
1313

1414
```
1515
16-
Giver Tx Taker Tx
17-
┏-------------------------------------------┓ ┏-------------------------------------------┓
18-
| | | |
19-
Spend Spend with Redeemer (42) |
20-
UTxO (X ADA) ━━━━━━━━┳━━━━━ Script UTxO (10 ADA) ━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━ UTxO (5 ADA) |
21-
| ┃ | | ┃ |
22-
| ┣━━━━━ Change UTxO (X-10 ADA) | | ┣━━━━━━━━━━━━ Change UTxO (~4.7 ADA) |
23-
| ┃ | | ┃ |
24-
| ┗━━━━━ Tx fee (~0.16 ADA) | | ┣━━━━━━━━━━━━ Tx fee (~0.3 ADA) |
25-
┗-------------------------------------------┛ | ┃ |
26-
| ┃ |
27-
| ┃ |
28-
| ┣━━━━━━━━━━━━ Collateral UTxO (5 ADA) |
29-
Taker's Collateral UTxO (5 ADA) ━━━━━━━━━━┛ |
30-
┗-------------------------------------------┛ |
31-
16+
Giver Tx Taker Tx
17+
┌-----------┐ ┌-----------------------------┐
18+
| | | |
19+
| Spend | | Spend with Redeemer (42) |
20+
UTxO (X ADA) ━━━━━━━┳━━━━━━━━━ Script UTxO (10 ADA) ━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━ UTxO (5 ADA)
21+
| ┃ | | ┃ |
22+
| ┗━━━━━━━━━ Change UTxO (X-10 ADA) | ┗━━━━━━━━━━━━━━ Change UTxO (~4.7 ADA)
23+
| Tx Fee | | |
24+
|(~0.16 ADA)| | |
25+
| | Taker's Collateral ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Taker's Collateral
26+
└-----------┘ UTxO (5 ADA) | | UTxO (5 ADA)
27+
| Tx fee (~0.3 ADA) |
28+
└-----------------------------┘
29+
30+
3231
```

0 commit comments

Comments
 (0)