From 5203bfe43f222f0f5eb835b4b45a521bdf81325e Mon Sep 17 00:00:00 2001 From: Puneet <59960662+puneet2019@users.noreply.github.com> Date: Tue, 30 Nov 2021 21:35:34 +0530 Subject: [PATCH] fixing some docs (#634) --- x/gamm/spec/01_concepts.md | 2 +- x/pool-incentives/spec/03_gov.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/gamm/spec/01_concepts.md b/x/gamm/spec/01_concepts.md index 10eeb1d7af2..c55853c65e7 100644 --- a/x/gamm/spec/01_concepts.md +++ b/x/gamm/spec/01_concepts.md @@ -28,7 +28,7 @@ During the process of swapping a specific asset, the token user is putting into Given a tokenIn, the following calculations are done to calculate how much tokens are to be swapped and ommitted from the pool. -- `tokenBalanceOut * [ 1 - { tokenBalanceIn / (tokenBalanceIn+(1-swapFee) * tokenAmountIn)}^(tokenWeightIn/tokenWeightOut)` +- `tokenBalanceOut * [ 1 - { tokenBalanceIn / (tokenBalanceIn+(1-swapFee) * tokenAmountIn)}^(tokenWeightIn/tokenWeightOut)]` The whole process is also able vice versa, the case where user provides tokenOut. The calculation for the amount of token that the user should be putting in is done through the following formula. diff --git a/x/pool-incentives/spec/03_gov.md b/x/pool-incentives/spec/03_gov.md index 323218221b0..90eef6849b2 100644 --- a/x/pool-incentives/spec/03_gov.md +++ b/x/pool-incentives/spec/03_gov.md @@ -4,7 +4,7 @@ order: 3 # Gov -`Pool Incentives` module takes the uses the values set at genesis or values added by chain governance to distribute part of the inflation minted by the mint module to specified gauges. +`Pool Incentives` module uses the values set at genesis or values added by chain governance to distribute part of the inflation minted by the mint module to specified gauges. ```go type DistrInfo struct {