loom_defi_abi

Module IWETH

Source
Expand description

Module containing a contract’s types and functions.

interface IWETH {
    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);
    function deposit() public payable;
    function withdraw(uint wad) public;
    function totalSupply() public view returns (uint);
    function balanceOf(address account) external view returns (uint256);
}

Modules§

Structs§

  • Event with signature Approval(address,address,uint256) and selector 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
  • Event with signature Deposit(address,uint256) and selector 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
  • A IWETH instance.
  • Event with signature Transfer(address,address,uint256) and selector 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
  • Event with signature Withdrawal(address,uint256) and selector 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
  • Function with signature balanceOf(address) and selector 0x70a08231.
  • Container type for the return parameters of the balanceOf(address) function.
  • Function with signature deposit() and selector 0xd0e30db0.
  • Container type for the return parameters of the deposit() function.
  • Function with signature totalSupply() and selector 0x18160ddd.
  • Container type for the return parameters of the totalSupply() function.
  • Function with signature withdraw(uint256) and selector 0x2e1a7d4d.
  • Container type for the return parameters of the withdraw(uint256) function.

Enums§

Functions§

  • Creates a new wrapper around an on-chain IWETH contract instance.