View Source Ethers.Contracts.ERC721.EventFilters (Ethers v0.3.0)

Events for Ethers.Contracts.ERC721

Summary

Functions

Create event filter for Approval(address owner, address approved, uint256 tokenId)

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

Create event filter for Transfer(address from, address to, uint256 tokenId)

Functions

Link to this function

approval(owner, approved, token_id)

View Source

Create event filter for Approval(address owner, address approved, uint256 tokenId)

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
  • approved: :address
  • tokenId: {: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!

Link to this function

approval_for_all(owner, operator)

View Source

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
Link to this function

transfer(from, to, token_id)

View Source

Create event filter for Transfer(address from, address to, uint256 tokenId)

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
  • tokenId: {: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!