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

Events for Ethers.Contracts.ERC777

Summary

Functions

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

Create event filter for AuthorizedOperator(address operator, address tokenHolder)

Create event filter for Burned(address operator, address from, uint256 amount, bytes data, bytes operatorData)

Create event filter for Minted(address operator, address to, uint256 amount, bytes data, bytes operatorData)

Create event filter for RevokedOperator(address operator, address tokenHolder)

Create event filter for Sent(address operator, address from, address to, uint256 amount, bytes data, bytes operatorData)

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}

authorized_operator(operator, token_holder)

@spec authorized_operator(
  Ethers.Types.t_address() | nil,
  Ethers.Types.t_address() | nil
) ::
  Ethers.EventFilter.t()

Create event filter for AuthorizedOperator(address operator, address tokenHolder)

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)

  • operator: :address
  • tokenHolder: :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.

This event does not contain any values!

burned(operator, from)

Create event filter for Burned(address operator, address from, uint256 amount, bytes data, bytes operatorData)

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)

  • operator: :address
  • from: :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.

  • amount: {:uint, 256}
  • data: :bytes
  • operatorData: :bytes

minted(operator, to)

Create event filter for Minted(address operator, address to, uint256 amount, bytes data, bytes operatorData)

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)

  • operator: :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.

  • amount: {:uint, 256}
  • data: :bytes
  • operatorData: :bytes

revoked_operator(operator, token_holder)

@spec revoked_operator(Ethers.Types.t_address() | nil, Ethers.Types.t_address() | nil) ::
  Ethers.EventFilter.t()

Create event filter for RevokedOperator(address operator, address tokenHolder)

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)

  • operator: :address
  • tokenHolder: :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.

This event does not contain any values!

sent(operator, from, to)

Create event filter for Sent(address operator, address from, address to, uint256 amount, bytes data, bytes operatorData)

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)

  • operator: :address
  • 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.

  • amount: {:uint, 256}
  • data: :bytes
  • operatorData: :bytes

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}