Skip to content

Commit b7317ac

Browse files
committed
Change name from ETH to IMX
1 parent 2c88997 commit b7317ac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

contracts/staking/IWIMX.sol

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@ import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
66

77
/*
88
* @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)
1010
*/
1111
interface IWIMX is IERC20 {
1212
/**
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
1414
* @param account The address of the account that deposited the tokens.
1515
* @param value The amount of tokens that were deposited.
1616
*/
1717
event Deposit(address indexed account, uint256 value);
1818

1919
/**
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.
2121
* @param account The address of the account that withdrew the tokens.
2222
* @param value The amount of tokens that were withdrawn.
2323
*/
2424
event Withdrawal(address indexed account, uint256 value);
2525

2626
/**
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.
2828
*/
2929
function deposit() external payable;
3030

3131
/**
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.
3333
* @param value The amount to withdraw.
3434
*/
3535
function withdraw(uint256 value) external;

0 commit comments

Comments
 (0)