@@ -6,30 +6,30 @@ import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
6
6
7
7
/*
8
8
* @notice Interface for the Wrapped IMX (wIMX) contract.
9
- * @dev Based on the interface for the [Wrapped ETH contract](https://etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2#code)
9
+ * @dev Based on the interface for the [Wrapped IMX contract](https://etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2#code)
10
10
*/
11
11
interface IWIMX is IERC20 {
12
12
/**
13
- * @notice Emitted when native ETH is deposited to the contract, and a corresponding amount of wETH are minted
13
+ * @notice Emitted when native IMX is deposited to the contract, and a corresponding amount of wIMX are minted
14
14
* @param account The address of the account that deposited the tokens.
15
15
* @param value The amount of tokens that were deposited.
16
16
*/
17
17
event Deposit (address indexed account , uint256 value );
18
18
19
19
/**
20
- * @notice Emitted when wETH is withdrawn from the contract, and a corresponding amount of wETH are burnt.
20
+ * @notice Emitted when wIMX is withdrawn from the contract, and a corresponding amount of wIMX are burnt.
21
21
* @param account The address of the account that withdrew the tokens.
22
22
* @param value The amount of tokens that were withdrawn.
23
23
*/
24
24
event Withdrawal (address indexed account , uint256 value );
25
25
26
26
/**
27
- * @notice Deposit native ETH to the contract and mint an equal amount of wrapped ETH to msg.sender.
27
+ * @notice Deposit native IMX to the contract and mint an equal amount of wrapped IMX to msg.sender.
28
28
*/
29
29
function deposit () external payable ;
30
30
31
31
/**
32
- * @notice Withdraw given amount of native ETH to msg.sender after burning an equal amount of wrapped ETH .
32
+ * @notice Withdraw given amount of native IMX to msg.sender after burning an equal amount of wrapped IMX .
33
33
* @param value The amount to withdraw.
34
34
*/
35
35
function withdraw (uint256 value ) external ;
0 commit comments