Build
Architecture
protocol
contracts
zevm
interfaces
IWZETA.sol
Interface.iweth9

Git Source (opens in a new tab)

Interface for the Weth9 contract.

totalSupply

function totalSupply() external view returns (uint256);

balanceOf

function balanceOf(address owner) external view returns (uint256);

allowance

function allowance(address owner, address spender) external view returns (uint256);

approve

function approve(address spender, uint256 wad) external returns (bool);

transfer

function transfer(address to, uint256 wad) external returns (bool);

transferFrom

function transferFrom(address from, address to, uint256 wad) external returns (bool);

deposit

function deposit() external payable;

withdraw

function withdraw(uint256 wad) external;

Approval

event Approval(address indexed owner, address indexed spender, uint256 value);

Transfer

event Transfer(address indexed from, address indexed to, uint256 value);

Deposit

event Deposit(address indexed dst, uint256 wad);

Withdrawal

event Withdrawal(address indexed src, uint256 wad);