IWstEth
Functions
wrap
unwrap
Exchanges wstETH to stETH
*Requirements:
_wstETHAmount
must be non-zeromsg.sender must have at least
_wstETHAmount
wstETH.*
Parameters
Name | Type | Description |
---|---|---|
|
| amount of wstETH to uwrap in exchange for stETH |
Returns
Name | Type | Description |
---|---|---|
|
| Amount of stETH user receives after unwrap |