From 79743a462fb5579fac11132253d45d0e606f4a63 Mon Sep 17 00:00:00 2001 From: Pika Date: Mon, 2 Sep 2024 02:24:04 +0800 Subject: [PATCH] Update swaps.mdx fix typo `coin::zer()` --> `coin::zero()` --- docs/content/standards/deepbookv3/swaps.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/standards/deepbookv3/swaps.mdx b/docs/content/standards/deepbookv3/swaps.mdx index 12fb68dbc5c4c..ea8b04a83f92f 100644 --- a/docs/content/standards/deepbookv3/swaps.mdx +++ b/docs/content/standards/deepbookv3/swaps.mdx @@ -56,7 +56,7 @@ public fun swap_exact_quote_for_base( ### 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. @@ -69,4 +69,4 @@ public fun swap_exact_quantity( clock: &Clock, ctx: &mut TxContext, ): (Coin, Coin, Coin) -``` \ No newline at end of file +```