From 3d7d4f1a985a9ef7b3926b160ee60c752349b0b2 Mon Sep 17 00:00:00 2001 From: domenicodev Date: Mon, 8 Jan 2024 18:05:07 +0100 Subject: [PATCH] fix: Removed unused parameters from Contract --- evm/src/integral/IntegralSwapAdapter.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/evm/src/integral/IntegralSwapAdapter.sol b/evm/src/integral/IntegralSwapAdapter.sol index 425c786..85e9037 100644 --- a/evm/src/integral/IntegralSwapAdapter.sol +++ b/evm/src/integral/IntegralSwapAdapter.sol @@ -27,7 +27,7 @@ contract IntegralSwapAdapter is ISwapAdapter { /// 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. function price( - bytes32 _poolId, + bytes32, IERC20 _sellToken, IERC20 _buyToken, uint256[] memory _specifiedAmounts @@ -41,7 +41,7 @@ contract IntegralSwapAdapter is ISwapAdapter { /// @inheritdoc ISwapAdapter function swap( - bytes32 poolId, + bytes32, IERC20 sellToken, IERC20 buyToken, OrderSide side, @@ -64,7 +64,7 @@ contract IntegralSwapAdapter is ISwapAdapter { } /// @inheritdoc ISwapAdapter - function getLimits(bytes32 poolId, IERC20 sellToken, IERC20 buyToken) + function getLimits(bytes32, IERC20 sellToken, IERC20 buyToken) external view override @@ -85,7 +85,7 @@ contract IntegralSwapAdapter is ISwapAdapter { } /// @inheritdoc ISwapAdapter - function getCapabilities(bytes32 poolId, IERC20 sellToken, IERC20 buyToken) + function getCapabilities(bytes32, IERC20, IERC20) external pure override