View Source Ethers.Contracts.ERC20.EventFilters (Ethers v0.0.6)

Events for Ethers.Contracts.ERC20

Summary

Functions

Create event filter for Approval(address owner, address spender, uint256 value)

Create event filter for Transfer(address from, address to, uint256 value)

Functions

Link to this function

approval(owner, spender, overrides \\ [])

View Source

Create event filter for Approval(address owner, address spender, uint256 value)

For each indexed parameter you can either pass in the value you want to filter or nil if you don't want to filter.

Parameters

  • owner: :address
  • spender: :address
  • overrides: Overrides and options for the call.
    • address: The address or list of addresses of the originating contract(s). (Optional)

Event Data Types

  • owner: :address
  • spender: :address
  • value: {:uint, 256}

See Ethers.Contracts.ERC20.default_address/0.

Link to this function

transfer(from, to, overrides \\ [])

View Source

Create event filter for Transfer(address from, address to, uint256 value)

For each indexed parameter you can either pass in the value you want to filter or nil if you don't want to filter.

Parameters

  • from: :address
  • to: :address
  • overrides: Overrides and options for the call.
    • address: The address or list of addresses of the originating contract(s). (Optional)

Event Data Types

  • from: :address
  • to: :address
  • value: {:uint, 256}