IWETH¶
Description¶
Source: contracts/interfaces/IWETH.sol
Views¶
allowance
¶
Details
Signature
allowance(address owner, address spender) view returns (uint256)
Visibility
external
State Mutability
view
balanceOf
¶
Details
Signature
balanceOf(address owner) view returns (uint256)
Visibility
external
State Mutability
view
decimals
¶
Details
Signature
decimals() view returns (uint8)
Visibility
external
State Mutability
view
name
¶
Details
Signature
name() view returns (string)
Visibility
external
State Mutability
view
symbol
¶
Details
Signature
symbol() view returns (string)
Visibility
external
State Mutability
view
totalSupply
¶
Details
Signature
totalSupply() view returns (uint256)
Visibility
external
State Mutability
view
External Functions¶
approve
¶
Details
Signature
approve(address spender, uint256 value) returns (bool)
Visibility
external
State Mutability
``
deposit
¶
Details
Signature
deposit() payable
Visibility
external
State Mutability
payable
transfer
¶
Details
Signature
transfer(address to, uint256 value) returns (bool)
Visibility
external
State Mutability
``
transferFrom
¶
Details
Signature
transferFrom(address from, address to, uint256 value) returns (bool)
Visibility
external
State Mutability
``
withdraw
¶
Details
Signature
withdraw(uint256 amount)
Visibility
external
State Mutability
``
Events¶
Approval
¶
Signature: Approval(address owner, address spender, uint256 value)
Deposit
¶
Signature: Deposit(address to, uint256 amount)
Transfer
¶
Signature: Transfer(address from, address to, uint256 value)
Withdrawal
¶
Signature: Withdrawal(address to, uint256 amount)