diff --git a/typescript/src/stable/stablePool.ts b/typescript/src/stable/stablePool.ts index 47bb8f9..bbc3866 100644 --- a/typescript/src/stable/stablePool.ts +++ b/typescript/src/stable/stablePool.ts @@ -50,7 +50,7 @@ export class Stable implements PoolBase { return MAX_UINT256; } - getMaxSingleTokenExitAmount( + getMaxSingleTokenRemoveAmount( isExactIn: boolean, totalSupply: bigint, tokenOutBalance: bigint, diff --git a/typescript/src/vault/types.ts b/typescript/src/vault/types.ts index 5582c13..fe579b0 100644 --- a/typescript/src/vault/types.ts +++ b/typescript/src/vault/types.ts @@ -17,7 +17,7 @@ export enum SwapKind { export interface PoolBase { getMaxSwapAmount(maxSwapParams: MaxSwapParams): bigint; - getMaxSingleTokenExitAmount( + getMaxSingleTokenRemoveAmount( isExactIn: boolean, totalSupply: bigint, tokenOutBalance: bigint, diff --git a/typescript/src/weighted/weightedPool.ts b/typescript/src/weighted/weightedPool.ts index 264a50d..59bcc84 100644 --- a/typescript/src/weighted/weightedPool.ts +++ b/typescript/src/weighted/weightedPool.ts @@ -44,7 +44,7 @@ export class Weighted implements PoolBase { return MAX_UINT256; } - getMaxSingleTokenExitAmount( + getMaxSingleTokenRemoveAmount( isExactIn: boolean, totalSupply: bigint, tokenOutBalance: bigint,