From 1949e792b35de23e7827da67f87e974eee9b5151 Mon Sep 17 00:00:00 2001 From: shuoer86 <129674997+shuoer86@users.noreply.github.com> Date: Thu, 18 Jan 2024 00:12:42 +0800 Subject: [PATCH] chore: fix typos (#1772) --- INSTALL.md | 2 +- contrib/scripts/e2e/localnet.sh | 2 +- contrib/scripts/localnet.sh | 2 +- x/spot/README.md | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 077ce4964..26dfd15a1 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -106,7 +106,7 @@ nibid query perp --help ``` -## Troubleshotting +## Troubleshooting ### Error when running `make install` on MacOS diff --git a/contrib/scripts/e2e/localnet.sh b/contrib/scripts/e2e/localnet.sh index 69b655ac2..8dcd5a132 100644 --- a/contrib/scripts/e2e/localnet.sh +++ b/contrib/scripts/e2e/localnet.sh @@ -10,7 +10,7 @@ console_log_text_color() { } if [ console_log_text_color ]; then - echo "succesfully toggled console coloring" + echo "successfully toggled console coloring" else # For Ubuntu and Debian. MacOS has tput by default. apt-get install libncurses5-dbg -y diff --git a/contrib/scripts/localnet.sh b/contrib/scripts/localnet.sh index 7b7cdade0..72d7cce34 100755 --- a/contrib/scripts/localnet.sh +++ b/contrib/scripts/localnet.sh @@ -10,7 +10,7 @@ console_log_text_color() { } if [ console_log_text_color ]; then - echo "succesfully toggled console coloring" + echo "successfully toggled console coloring" else # For Ubuntu and Debian. MacOS has tput by default. apt-get install libncurses5-dbg -y diff --git a/x/spot/README.md b/x/spot/README.md index 6960e412d..d6cdcdb54 100644 --- a/x/spot/README.md +++ b/x/spot/README.md @@ -51,7 +51,7 @@ liquidity pools that are dictated by an AMM for swaps. When a pool is created, a fixed amount of 100 LP shares is minted and sent to the pool creator. The base pool share denom is in the format of nibiru/pool/{poolId} and is displayed in the format of NIBIRU-POOL-{poolId} to the user. One NIBIRU-POOL-{poolId} token is equivalent to 10^18 nibiru/pool/{poolId} tokens. -Pool assets are sorted in alphabetical order by defualt. +Pool assets are sorted in alphabetical order by default. ### Joining Pool @@ -69,7 +69,7 @@ For example, assume there is a 50/50 pool with 50 `tokenA` and 150 `tokenB` and During the process of swapping a specific asset, the token user is putting into the pool is justified as `tokenIn`, while the token that would be omitted after the swap is justified as `tokenOut` throughout the module. -Given a tokenIn, the following calculations are done to calculate how much tokens are to be swapped and ommitted from the pool. +Given a tokenIn, the following calculations are done to calculate how much tokens are to be swapped and omitted from the pool. - `tokenBalanceOut * [ 1 - { tokenBalanceIn / (tokenBalanceIn+(1-swapFee) * tokenAmountIn)}^(tokenWeightIn/tokenWeightOut)]` @@ -90,7 +90,7 @@ where spotPrice is ## Next Pool Number -The spot module stores a monotonically increasing counter denoting the next available integer pool number. Pool numbers start at 1 and increase every time a pool is created. The `Keeper.GetNextPoolNumberAndIncrement` function always fetches the next availble pool number and increments the stored value by 1. +The spot module stores a monotonically increasing counter denoting the next available integer pool number. Pool numbers start at 1 and increase every time a pool is created. The `Keeper.GetNextPoolNumberAndIncrement` function always fetches the next available pool number and increments the stored value by 1. ## Pools