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

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, overrides \\ [])

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.

Parameters

  • owner: :address
  • approved: :address
  • tokenId: {:uint, 256}
  • overrides: Overrides and options for the call.
    • address: The address or list of addresses of the originating contract(s). (Optional)

Event Data Types

  • owner: :address
  • approved: :address
  • tokenId: {:uint, 256}
Link to this function

approval_for_all(owner, operator, overrides \\ [])

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.

Parameters

  • owner: :address
  • operator: :address
  • overrides: Overrides and options for the call.
    • address: The address or list of addresses of the originating contract(s). (Optional)

Event Data Types

  • owner: :address
  • operator: :address
  • approved: :bool

See Ethers.Contracts.ERC721.default_address/0.

Link to this function

transfer(from, to, token_id, overrides \\ [])

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.

Parameters

  • from: :address
  • to: :address
  • tokenId: {:uint, 256}
  • overrides: Overrides and options for the call.
    • address: The address or list of addresses of the originating contract(s). (Optional)

Event Data Types

  • from: :address
  • to: :address
  • tokenId: {:uint, 256}