# `Ethers.Contracts.ERC20.EventFilters`
[🔗](https://github.com/ExWeb3/elixir_ethers/blob/v0.6.12/lib/ethers/contracts/erc20.ex#L0)

Events for `Ethers.Contracts.ERC20`

# `approval`

```elixir
@spec approval(Ethers.Types.t_address() | nil, Ethers.Types.t_address() | nil) ::
  Ethers.EventFilter.t()
```

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`

```elixir
@spec transfer(Ethers.Types.t_address() | nil, Ethers.Types.t_address() | nil) ::
  Ethers.EventFilter.t()
```

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}`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
