View Source Ethers.Contracts.ENS.Resolver.EventFilters (Ethers v0.5.0)

Events for Ethers.Contracts.ENS.Resolver

Summary

Functions

Create event filter for ABIChanged(bytes32 node, uint256 contentType)

Create event filter for AddrChanged(bytes32 node, address a)

Create event filter for AddressChanged(bytes32 node, uint256 coinType, bytes newAddress)

Create event filter for AuthorisationChanged(bytes32 node, address owner, address target, bool isAuthorised)

Create event filter for ContenthashChanged(bytes32 node, bytes hash)

Create event filter for DNSRecordChanged(bytes32 node, bytes name, uint16 resource, bytes record)

Create event filter for DNSRecordDeleted(bytes32 node, bytes name, uint16 resource)

Create event filter for DNSZoneCleared(bytes32 node)

Create event filter for InterfaceChanged(bytes32 node, bytes4 interfaceID, address implementer)

Create event filter for NameChanged(bytes32 node, string name)

Create event filter for PubkeyChanged(bytes32 node, bytes32 x, bytes32 y)

Create event filter for TextChanged(bytes32 node, string indexedKey, string key)

Functions

Link to this function

abi_changed(node, content_type)

View Source
@spec abi_changed(<<_::256>>, non_neg_integer()) :: Ethers.EventFilter.t()

Create event filter for ABIChanged(bytes32 node, uint256 contentType)

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}
  • contentType: {:uint, 256}

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!

@spec addr_changed(<<_::256>>) :: Ethers.EventFilter.t()

Create event filter for AddrChanged(bytes32 node, address a)

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.

  • a: :address
@spec address_changed(<<_::256>>) :: Ethers.EventFilter.t()

Create event filter for AddressChanged(bytes32 node, uint256 coinType, bytes newAddress)

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.

  • coinType: {:uint, 256}
  • newAddress: :bytes
Link to this function

authorisation_changed(node, owner, target)

View Source
@spec authorisation_changed(
  <<_::256>>,
  Ethers.Types.t_address(),
  Ethers.Types.t_address()
) ::
  Ethers.EventFilter.t()

Create event filter for AuthorisationChanged(bytes32 node, address owner, address target, bool isAuthorised)

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}
  • owner: :address
  • target: :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.

  • isAuthorised: :bool
Link to this function

contenthash_changed(node)

View Source
@spec contenthash_changed(<<_::256>>) :: Ethers.EventFilter.t()

Create event filter for ContenthashChanged(bytes32 node, bytes hash)

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.

  • hash: :bytes
Link to this function

dns_record_changed(node)

View Source
@spec dns_record_changed(<<_::256>>) :: Ethers.EventFilter.t()

Create event filter for DNSRecordChanged(bytes32 node, bytes name, uint16 resource, bytes record)

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.

  • name: :bytes
  • resource: {:uint, 16}
  • record: :bytes
Link to this function

dns_record_deleted(node)

View Source
@spec dns_record_deleted(<<_::256>>) :: Ethers.EventFilter.t()

Create event filter for DNSRecordDeleted(bytes32 node, bytes name, uint16 resource)

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.

  • name: :bytes
  • resource: {:uint, 16}
@spec dns_zone_cleared(<<_::256>>) :: Ethers.EventFilter.t()

Create event filter for DNSZoneCleared(bytes32 node)

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.

This event does not contain any values!

Link to this function

interface_changed(node, interface_id)

View Source
@spec interface_changed(<<_::256>>, <<_::32>>) :: Ethers.EventFilter.t()

Create event filter for InterfaceChanged(bytes32 node, bytes4 interfaceID, address implementer)

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}
  • interfaceID: {:bytes, 4}

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

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

  • implementer: :address
@spec name_changed(<<_::256>>) :: Ethers.EventFilter.t()

Create event filter for NameChanged(bytes32 node, string name)

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.

  • name: :string
@spec pubkey_changed(<<_::256>>) :: Ethers.EventFilter.t()

Create event filter for PubkeyChanged(bytes32 node, bytes32 x, bytes32 y)

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.

  • x: {:bytes, 32}
  • y: {:bytes, 32}
Link to this function

text_changed(node, indexed_key)

View Source
@spec text_changed(<<_::256>>, String.t()) :: Ethers.EventFilter.t()

Create event filter for TextChanged(bytes32 node, string indexedKey, string key)

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}
  • indexedKey: :string

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

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

  • key: :string