Revert "Reformat and remove redundant @dev notices"

This reverts commit a141703520.
This commit is contained in:
pistomat
2023-12-01 10:30:56 +01:00
parent a141703520
commit 6c4b65c39c
7 changed files with 133 additions and 135 deletions

View File

@@ -101,8 +101,7 @@ contract UniswapV2SwapAdapter is ISwapAdapter {
return amountOut;
}
// given an input amount of an asset and pair reserves, returns the maximum
// output amount of the other asset
// given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset
function getAmountOut(
uint256 amountIn,
uint256 reserveIn,
@@ -143,8 +142,7 @@ contract UniswapV2SwapAdapter is ISwapAdapter {
return amount;
}
// given an output amount of an asset and pair reserves, returns a required
// input amount of the other asset
// given an output amount of an asset and pair reserves, returns a required input amount of the other asset
function getAmountIn(
uint256 amountOut,
uint256 reserveIn,