Skip to content

Commit 2ae434a

Browse files
committed
fmt
1 parent 2822bc5 commit 2ae434a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/MaglevEulerSwap.sol

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ contract MaglevEulerSwap is IMaglevEulerSwap, MaglevBase {
3232
initialReserve1 = reserve1;
3333
}
3434

35-
function f(uint256 xt, uint256 px, uint256 py, uint256 x0, uint256 y0, uint256 c)
36-
internal
37-
pure
38-
returns (uint256)
39-
{
35+
function f(uint256 xt, uint256 px, uint256 py, uint256 x0, uint256 y0, uint256 c) internal pure returns (uint256) {
4036
return y0 + px * 1e18 / py * (c * (2 * x0 - xt) / 1e18 + (1e18 - c) * x0 / 1e18 * x0 / xt - x0) / 1e18;
4137
}
4238

0 commit comments

Comments
 (0)