Skip to content

Commit c06c7b7

Browse files
committed
Formatting fixes
1 parent dbfca25 commit c06c7b7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/documentation/execution-model.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ Below, we discuss the functionality of three kinds of contracts in order to illu
7777

7878
These examples do not use introspection features, so they don't demonstrate Simplicity's ability to constrain outputs' destinations. Introspection would also provide an alternative way to implement the refund path in the `htlc` contract (constraining the refund payment to be sent to the address of the original sender of an asset, by asserting that an input address and output address match); this version instead hardcodes a key that can be used to authorize refunds, sent to any chosen address.
7979

80-
### Example: p2ms
80+
### p2ms
8181

8282
This program, `p2ms.simf`, is taken from the SimplicityHL examples collection. Our <a href="/getting-started/quickstart">quickstart</a> guide provides a recipe for making a Liquid Testnet transaction using this program.
8383

84-
```
84+
```rust
8585
/*
8686
* PAY TO MULTISIG
8787
*
@@ -160,11 +160,11 @@ flowchart TD
160160
M -->|No| O((Reject transaction))
161161
```
162162

163-
### Example: htlc
163+
### htlc
164164

165165
This program, `htlc.simf`, is also taken from the SimplicityHL examples collection. It implements a hash-timelock contract, a mechanism often used in cryptocurrency swaps.
166166

167-
```
167+
```rust
168168
/*
169169
* HTLC (Hash Time-Locked Contract)
170170
*
@@ -237,7 +237,7 @@ flowchart TD
237237
G -->|No| L((Reject transaction))
238238
```
239239

240-
### Example: prediction market
240+
### prediction market
241241

242242
This example discusses a prediction market contract but does not provide an example of SimplicityHL code for this contract.
243243

0 commit comments

Comments
 (0)