AlkemiWETH.sol
View Source: contracts/AlkemiWETH.sol

Contract Members

Constants & Variables
1
string public name;
2
string public symbol;
3
uint8 public decimals;
4
mapping(address => uint256) public balanceOf;
5
mapping(address => mapping(address => uint256)) public allowance;
Copied!
Events
1
event Approval(address indexed src, address indexed guy, uint256 wad);
2
event Transfer(address indexed src, address indexed dst, uint256 wad);
3
event Deposit(address indexed dst, uint256 wad);
4
event Withdrawal(address indexed src, uint256 wad);
Copied!

Functions

  • ()
  • deposit()
  • withdraw(address user, uint256 wad)
  • totalSupply()
  • approve(address guy, uint256 wad)
  • transfer(address dst, uint256 wad)
  • transferFrom(address src, address dst, uint256 wad)

1
function () public payable
Copied!
Arguments
Name
Type
Description

deposit

1
function deposit() public payable
Copied!
Arguments
Name
Type
Description

withdraw

1
function withdraw(address user, uint256 wad) public nonpayable
Copied!
Arguments
Name
Type
Description
user
address
wad
uint256

totalSupply

1
function totalSupply() public view
2
returns(uint256)
Copied!
Arguments
Name
Type
Description

approve

1
function approve(address guy, uint256 wad) public nonpayable
2
returns(bool)
Copied!
Arguments
Name
Type
Description
guy
address
wad
uint256

transfer

1
function transfer(address dst, uint256 wad) public nonpayable
2
returns(bool)
Copied!
Arguments
Name
Type
Description
dst
address
wad
uint256

transferFrom

1
function transferFrom(address src, address dst, uint256 wad) public nonpayable
2
returns(bool)
Copied!
Arguments
Name
Type
Description
src
address
dst
address
wad
uint256
Last modified 4mo ago
Copy link