Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fedgiac committed Jan 30, 2024
1 parent 4aff64c commit e3b82a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/ConstantProduct/verify/ValidateAmmMath.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ abstract contract ValidateAmmMath is ConstantProductTestHarness {
data = ConstantProduct.Data(pair, order.appData);
}

// Note: if X is the reserve of the tokens that is taken from the AMM, and
// Y the reserve of the token that is deposited into the AMM, then given
// any in amount x you can compute the out amount as:
// Note: if X is the reserve of the token that is taken from the AMM, and Y
// the reserve of the token that is deposited into the AMM, then given any
// in amount x you can compute the out amount as:
// Y * x
// y = ---------
// X - 2x
Expand Down

0 comments on commit e3b82a6

Please sign in to comment.