Skip to content

Commit

Permalink
refactor: Fix typos in weightedEncoder.
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrantuk committed Sep 13, 2023
1 parent aef4026 commit 3cafa27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/entities/encoders/weighted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class WeightedEncoder {
* @param bptAmountIn - the amount of BPT to be burned
* @param enterTokenIndex - the index of the token to removed from the pool
*/
static exitExacInSingleAsset = (
static exitExactInSingleAsset = (
bptAmountIn: bigint,
exitTokenIndex: number,
): Address => {
Expand All @@ -106,7 +106,7 @@ export class WeightedEncoder {
* Encodes the userData parameter for exiting a WeightedPool by removing tokens in return for an exact amount of BPT
* @param bptAmountIn - the amount of BPT to be burned
*/
static exitExacInProportional = (bptAmountIn: bigint): Address => {
static exitExactInProportional = (bptAmountIn: bigint): Address => {
return encodeAbiParameters(
[{ type: 'uint256' }, { type: 'uint256' }],
[
Expand Down

0 comments on commit 3cafa27

Please sign in to comment.