Skip to content

Commit

Permalink
chore: fix typos (#1772)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuoer86 authored Jan 17, 2024
1 parent 71db4bf commit 1949e79
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ nibid query perp --help
```


## Troubleshotting
## Troubleshooting

### Error when running `make install` on MacOS

Expand Down
2 changes: 1 addition & 1 deletion contrib/scripts/e2e/localnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/scripts/localnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions x/spot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)]`

Expand All @@ -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

Expand Down

0 comments on commit 1949e79

Please sign in to comment.