Skip to content

Commit

Permalink
fixup! docs: Trading with Offer Safety
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Dec 8, 2023
1 parent b83d06c commit 5bc9dc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/guides/zoe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ The contract gets Alice's `E(publicFacet).makeJoinInvitation()` call and uses `z
<img src="./assets/trade-offer-safety-3.svg"
style="border: 2px solid" width="600" />

<<< @/snippets/zoe/contracts/gameAssetContract.js#makeInvitation
<<< @/snippets/zoe/src/gameAssetContract.js#makeInvitation

The offer handler is invoked with a _seat_ representing the party making the offer.
It extracts the `give` and `want` from the party's offer and checks that
Expand All @@ -289,7 +289,7 @@ and allocate the minted places to the player. Finally, it concludes its business
<img src="./assets/trade-offer-safety-4.svg"
style="border: 2px solid" width="600" />

<<< @/snippets/zoe/contracts/gameAssetContract.js#handler
<<< @/snippets/zoe/src/gameAssetContract.js#handler

Zoe checks that the contract's instructions are consistent with
the offer and with conservation of assets. Then it allocates
Expand Down

0 comments on commit 5bc9dc6

Please sign in to comment.