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

Events for Ethers.Contracts.ENS

Summary

Functions

Create event filter for ApprovalForAll(address owner, address operator, bool approved)

Create event filter for NewOwner(bytes32 node, bytes32 label, address owner)

Create event filter for NewResolver(bytes32 node, address resolver)

Create event filter for NewTTL(bytes32 node, uint64 ttl)

Create event filter for Transfer(bytes32 node, address owner)

Functions

approval_for_all(owner, operator)

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

Create event filter for ApprovalForAll(address owner, address operator, bool approved)

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

  • approved: :bool

new_owner(node, label)

@spec new_owner(<<_::256>> | nil, <<_::256>> | nil) :: Ethers.EventFilter.t()

Create event filter for NewOwner(bytes32 node, bytes32 label, address owner)

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)

  • node: {:bytes, 32}
  • label: {:bytes, 32}

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

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

  • owner: :address

new_resolver(node)

@spec new_resolver(<<_::256>> | nil) :: Ethers.EventFilter.t()

Create event filter for NewResolver(bytes32 node, address resolver)

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)

  • node: {:bytes, 32}

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

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

  • resolver: :address

new_ttl(node)

@spec new_ttl(<<_::256>> | nil) :: Ethers.EventFilter.t()

Create event filter for NewTTL(bytes32 node, uint64 ttl)

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)

  • node: {:bytes, 32}

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

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

  • ttl: {:uint, 64}

transfer(node)

@spec transfer(<<_::256>> | nil) :: Ethers.EventFilter.t()

Create event filter for Transfer(bytes32 node, address owner)

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)

  • node: {:bytes, 32}

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

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

  • owner: :address