Skip to content

IWETH

Description

Source: contracts/interfaces/IWETH.sol

Views

allowance

Source

Details

Signature

allowance(address owner, address spender) view returns (uint256)

Visibility

external

State Mutability

view

balanceOf

Source

Details

Signature

balanceOf(address owner) view returns (uint256)

Visibility

external

State Mutability

view

decimals

Source

Details

Signature

decimals() view returns (uint8)

Visibility

external

State Mutability

view

name

Source

Details

Signature

name() view returns (string)

Visibility

external

State Mutability

view

symbol

Source

Details

Signature

symbol() view returns (string)

Visibility

external

State Mutability

view

totalSupply

Source

Details

Signature

totalSupply() view returns (uint256)

Visibility

external

State Mutability

view

External Functions

approve

Source

Details

Signature

approve(address spender, uint256 value) returns (bool)

Visibility

external

State Mutability

``

deposit

Source

Details

Signature

deposit() payable

Visibility

external

State Mutability

payable

transfer

Source

Details

Signature

transfer(address to, uint256 value) returns (bool)

Visibility

external

State Mutability

``

transferFrom

Source

Details

Signature

transferFrom(address from, address to, uint256 value) returns (bool)

Visibility

external

State Mutability

``

withdraw

Source

Details

Signature

withdraw(uint256 amount)

Visibility

external

State Mutability

``

Events

Approval

Source

Signature: Approval(address owner, address spender, uint256 value)

Deposit

Source

Signature: Deposit(address to, uint256 amount)

Transfer

Source

Signature: Transfer(address from, address to, uint256 value)

Withdrawal

Source

Signature: Withdrawal(address to, uint256 amount)