IWETH9

Git Source

Inherits: IERC20

WETH9 interface

Functions

deposit

Deposit ether to get wrapped ether

function deposit() external payable;

withdraw

Withdraw wrapped ether to get ether

function withdraw(uint256 amount) external;

Parameters

NameTypeDescription

amount

uint256

Amount of wrapped ether to withdraw