Skip to content
Merged
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
4 changes: 2 additions & 2 deletions docs/content/standards/deepbookv3/swaps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public fun swap_exact_quote_for_base<BaseAsset, QuoteAsset>(

### Swap exact quantity

This function is what the previous two functions call with `coin::zer()` set for the third coin. Users can call this directly for base → quote or quote → base as long as base or quote have a zero value.
This function is what the previous two functions call with `coin::zero()` set for the third coin. Users can call this directly for base → quote or quote → base as long as base or quote have a zero value.

```move
/// Swap exact quantity without needing an balance_manager.
Expand All @@ -69,4 +69,4 @@ public fun swap_exact_quantity<BaseAsset, QuoteAsset>(
clock: &Clock,
ctx: &mut TxContext,
): (Coin<BaseAsset>, Coin<QuoteAsset>, Coin<DEEP>)
```
```
Loading