Skip to content

Commit 2583d54

Browse files
committed
docs: natspec
1 parent ed61b97 commit 2583d54

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/interfaces/Utils/IAutoSwapperWusdnSdex.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ pragma solidity >=0.8.0;
33

44
/// @notice Interface for the AutoSwapperWusdnSdex contract that provides automated token swapping functionality.
55
interface IAutoSwapperWusdnSdex {
6-
/// @notice Emitted when a swap fails.
7-
event FailedSwap();
8-
96
/**
107
* @notice Emitted when the swap slippage percentage is updated.
118
* @param newSwapSlippage The new swap slippage (in basis points).
129
*/
1310
event SwapSlippageUpdated(uint256 newSwapSlippage);
1411

12+
/// @notice Emitted when a swap fails.
13+
event FailedSwap();
14+
1515
/// @notice Thrown when a swap fails.
1616
error AutoSwapperSwapFailed();
1717

src/utils/AutoSwapperWusdnSdex.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ contract AutoSwapperWusdnSdex is
7575
if (msg.sender != address(SMARDEX_WUSDN_SDEX_PAIR)) {
7676
revert AutoSwapperInvalidCaller();
7777
}
78-
7978
WUSDN.safeTransfer(msg.sender, uint256(amountWusdnIn));
8079
}
8180

0 commit comments

Comments
 (0)