Skip to content

Commit 2c9c24d

Browse files
clean
1 parent 6024532 commit 2c9c24d

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/EulerSwapPeriphery.sol

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,7 @@ contract EulerSwapPeriphery is IEulerSwapPeriphery {
5757
}
5858

5959
/// @inheritdoc IEulerSwapPeriphery
60-
function getLimits(address eulerSwap, address tokenIn, address tokenOut)
61-
external
62-
view
63-
returns (uint256 inLimit, uint256 outLimit)
64-
{
60+
function getLimits(address eulerSwap, address tokenIn, address tokenOut) external view returns (uint256, uint256) {
6561
if (
6662
!IEVC(IEulerSwap(eulerSwap).EVC()).isAccountOperatorAuthorized(
6763
IEulerSwap(eulerSwap).eulerAccount(), eulerSwap

src/interfaces/IEulerSwapPeriphery.sol

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ interface IEulerSwapPeriphery {
2323
returns (uint256);
2424

2525
/// @notice Max amount the pool can buy of tokenIn and sell of tokenOut
26-
function getLimits(address eulerSwap, address tokenIn, address tokenOut)
27-
external
28-
view
29-
returns (uint256 inLimit, uint256 outLimit);
26+
function getLimits(address eulerSwap, address tokenIn, address tokenOut) external view returns (uint256, uint256);
3027

3128
/**
3229
* @notice Computes the inverse of the `f()` function for the EulerSwap liquidity curve.

0 commit comments

Comments
 (0)