fix: Removed unused parameters from Contract

This commit is contained in:
domenicodev
2024-01-08 18:05:07 +01:00
parent a7ea4d3604
commit 3d7d4f1a98

View File

@@ -27,7 +27,7 @@ contract IntegralSwapAdapter is ISwapAdapter {
/// it will always be the same (pre and post trade) and independent of the amounts swapped, /// it will always be the same (pre and post trade) and independent of the amounts swapped,
/// but we still return an array of length=specifiedAmounts.length with same values to make sure the return value is the expected from caller. /// but we still return an array of length=specifiedAmounts.length with same values to make sure the return value is the expected from caller.
function price( function price(
bytes32 _poolId, bytes32,
IERC20 _sellToken, IERC20 _sellToken,
IERC20 _buyToken, IERC20 _buyToken,
uint256[] memory _specifiedAmounts uint256[] memory _specifiedAmounts
@@ -41,7 +41,7 @@ contract IntegralSwapAdapter is ISwapAdapter {
/// @inheritdoc ISwapAdapter /// @inheritdoc ISwapAdapter
function swap( function swap(
bytes32 poolId, bytes32,
IERC20 sellToken, IERC20 sellToken,
IERC20 buyToken, IERC20 buyToken,
OrderSide side, OrderSide side,
@@ -64,7 +64,7 @@ contract IntegralSwapAdapter is ISwapAdapter {
} }
/// @inheritdoc ISwapAdapter /// @inheritdoc ISwapAdapter
function getLimits(bytes32 poolId, IERC20 sellToken, IERC20 buyToken) function getLimits(bytes32, IERC20 sellToken, IERC20 buyToken)
external external
view view
override override
@@ -85,7 +85,7 @@ contract IntegralSwapAdapter is ISwapAdapter {
} }
/// @inheritdoc ISwapAdapter /// @inheritdoc ISwapAdapter
function getCapabilities(bytes32 poolId, IERC20 sellToken, IERC20 buyToken) function getCapabilities(bytes32, IERC20, IERC20)
external external
pure pure
override override