Skip to content

Commit

Permalink
Clean functions
Browse files Browse the repository at this point in the history
  • Loading branch information
cairoeth committed Jan 28, 2025
1 parent 3b6fabf commit b2a9122
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/base/BaseCustomCurve.sol
Original file line number Diff line number Diff line change
Expand Up @@ -214,24 +214,6 @@ abstract contract BaseCustomCurve is BaseCustomAccounting {
virtual
returns (uint256 unspecifiedAmount);

/**
* @dev Calculate the amount of tokens to be received by the swapper from an exact input amount.
* @return amountOut The amount of tokens to be sent by the swapper in exchange for `amountIn`.
*/
function _getAmountOutFromExactInput(uint256 amountIn, Currency input, Currency output, bool zeroForOne)
internal
virtual
returns (uint256 amountOut);

/**
* @dev Calculate the amount of tokens to be taken from the swapper for an exact output amount.
* @return amountIn The amount of tokens the receiver would receive in exchange for `amountOut`.
*/
function _getAmountInForExactOutput(uint256 amountOut, Currency input, Currency output, bool zeroForOne)
internal
virtual
returns (uint256 amountIn);

/**
* @dev Calculate the amount of tokens to use and liquidity shares to burn for a remove liquidity request.
* @return amount0 The amount of token0 to be received by the liquidity provider.
Expand Down

0 comments on commit b2a9122

Please sign in to comment.