Skip to content

Commit

Permalink
fix: Use correct name for remove.
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrantuk committed Jul 26, 2024
1 parent a68c386 commit 0a15f84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion typescript/src/stable/stablePool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class Stable implements PoolBase {
return MAX_UINT256;
}

getMaxSingleTokenExitAmount(
getMaxSingleTokenRemoveAmount(
isExactIn: boolean,
totalSupply: bigint,
tokenOutBalance: bigint,
Expand Down
2 changes: 1 addition & 1 deletion typescript/src/vault/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export enum SwapKind {

export interface PoolBase {
getMaxSwapAmount(maxSwapParams: MaxSwapParams): bigint;
getMaxSingleTokenExitAmount(
getMaxSingleTokenRemoveAmount(
isExactIn: boolean,
totalSupply: bigint,
tokenOutBalance: bigint,
Expand Down
2 changes: 1 addition & 1 deletion typescript/src/weighted/weightedPool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class Weighted implements PoolBase {
return MAX_UINT256;
}

getMaxSingleTokenExitAmount(
getMaxSingleTokenRemoveAmount(
isExactIn: boolean,
totalSupply: bigint,
tokenOutBalance: bigint,
Expand Down

0 comments on commit 0a15f84

Please sign in to comment.