AlkemiWETH.sol

View Source: contracts/AlkemiWETH.sol

Contract Members

Constants & Variables

string public name;
string public symbol;
uint8 public decimals;
mapping(address => uint256) public balanceOf;
mapping(address => mapping(address => uint256)) public allowance;

Events

event Approval(address indexed src, address indexed guy, uint256  wad);
event Transfer(address indexed src, address indexed dst, uint256  wad);
event Deposit(address indexed dst, uint256  wad);
event Withdrawal(address indexed src, uint256  wad);

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)

function () public payable

Arguments

Name

Type

Description

deposit

function deposit() public payable

Arguments

Name

Type

Description

withdraw

function withdraw(address user, uint256 wad) public nonpayable

Arguments

Name

Type

Description

user

address

wad

uint256

totalSupply

function totalSupply() public view
returns(uint256)

Arguments

Name

Type

Description

approve

function approve(address guy, uint256 wad) public nonpayable
returns(bool)

Arguments

Name

Type

Description

guy

address

wad

uint256

transfer

function transfer(address dst, uint256 wad) public nonpayable
returns(bool)

Arguments

Name

Type

Description

dst

address

wad

uint256

transferFrom

function transferFrom(address src, address dst, uint256 wad) public nonpayable
returns(bool)

Arguments

Name

Type

Description

src

address

dst

address

wad

uint256

Last updated