IAUniswap
Last updated
function unwrapWETH9(uint256 amountMinimum) externalUnwraps the contract's WETH9 balance and sends it to recipient as ETH.
The amountMinimum parameter prevents malicious contracts from stealing WETH9 from users.
amountMinimum
uint256
The minimum amount of WETH9 to unwrap.
function unwrapWETH9(uint256 amountMinimum, address recipient) externalUnwraps ETH from WETH9.
amountMinimum
uint256
The minimum amount of WETH9 to unwrap.
recipient
address
The address to keep same uniswap npm selector.
Wraps ETH.
Client must wrap if input is native currency.
value
uint256
The ETH amount to be wrapped.
Last updated
function wrapETH(uint256 value) external