Skip to content

Commit

Permalink
fixing some docs (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
puneet2019 authored Nov 30, 2021
1 parent 394cf41 commit 5203bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/gamm/spec/01_concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion x/pool-incentives/spec/03_gov.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5203bfe

Please sign in to comment.