Skip to content

Commit

Permalink
Fix code style issues with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Jul 10, 2021
1 parent 04da898 commit ee39316
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ new Pair(currencyAmountA, tokenAmountB, factoryAddress, initCodeHash)

- Exported class `Pair` constructor now support custom fees numerator and fees denominator `(v3.1.0)`

In the Uniswap SDK , `feesNumerator` and `feesDenominator` are constant `JSBI.BigInt(997)` and `JSBI.BigInt(1000)`
In the Uniswap SDK , `feesNumerator` and `feesDenominator` are constant `JSBI.BigInt(997)` and `JSBI.BigInt(1000)`

```ts
export const _997 = JSBI.BigInt(997)
Expand All @@ -75,9 +75,9 @@ export const _1000 = JSBI.BigInt(1000)
In `PancakeSwap` they change this to support different fee

```ts
export const FEES_NUMERATOR = JSBI.BigInt(9975);
export const FEES_NUMERATOR = JSBI.BigInt(9975)

export const FEES_DENOMINATOR = JSBI.BigInt(10000);
export const FEES_DENOMINATOR = JSBI.BigInt(10000)
```

So in the custom SDK, The`Pair` class now can change the fees. If you do not add to the constructor, default fees will be used.
Expand Down

0 comments on commit ee39316

Please sign in to comment.