File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ pragma solidity >=0.8.0;
3
3
4
4
/// @notice Interface for the AutoSwapperWusdnSdex contract that provides automated token swapping functionality.
5
5
interface IAutoSwapperWusdnSdex {
6
- /// @notice Emitted when a swap fails.
7
- event FailedSwap ();
8
-
9
6
/**
10
7
* @notice Emitted when the swap slippage percentage is updated.
11
8
* @param newSwapSlippage The new swap slippage (in basis points).
12
9
*/
13
10
event SwapSlippageUpdated (uint256 newSwapSlippage );
14
11
12
+ /// @notice Emitted when a swap fails.
13
+ event FailedSwap ();
14
+
15
15
/// @notice Thrown when a swap fails.
16
16
error AutoSwapperSwapFailed ();
17
17
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ contract AutoSwapperWusdnSdex is
75
75
if (msg .sender != address (SMARDEX_WUSDN_SDEX_PAIR)) {
76
76
revert AutoSwapperInvalidCaller ();
77
77
}
78
-
79
78
WUSDN.safeTransfer (msg .sender , uint256 (amountWusdnIn));
80
79
}
81
80
You can’t perform that action at this time.
0 commit comments