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

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

approval(owner, spender)

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.

Parameter Types (Event indexed topics)

  • owner: :address
  • spender: :address

Event data Types (when called with Ethers.get_logs/2)

These are non-indexed topics (often referred to as data) of the event log.

  • value: {:uint, 256}

transfer(from, to)

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.

Parameter Types (Event indexed topics)

  • from: :address
  • to: :address

Event data Types (when called with Ethers.get_logs/2)

These are non-indexed topics (often referred to as data) of the event log.

  • value: {:uint, 256}