Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Add links for the liquidity pool and single offer examples #46

Merged
merged 1 commit into from
Jul 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/examples/liquidity-pool.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ sidebar_position: 5
title: Liquidity Pool
---

TODO
The [liquidity pool example] demonstrates how to write a constant product
liquidity pool contract. The comments in the [source code] explain how the contract should
be used.

[liquidity pool example]: https://github.com/stellar/soroban-examples/tree/main/liquidity_pool
[source code]: https://github.com/stellar/soroban-examples/blob/main/liquidity_pool/src/lib.rs#L143
7 changes: 6 additions & 1 deletion docs/examples/single-offer-sale.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ sidebar_position: 4
title: Single Offer Sale
---

TODO
The [single offer sale example] demonstrates how to write a contract that allows
a seller to set up an offer to sell token A for token B. The comments in the
[source code] explain how the contract should be used.

[single offer sale example]: https://github.com/stellar/soroban-examples/tree/main/single_offer
[source code]: https://github.com/stellar/soroban-examples/blob/main/single_offer/src/lib.rs#L131