View Source Ethers.Contracts.ERC1155.EventFilters (Ethers v0.0.2)

Events for Ethers.Contracts.ERC1155

Link to this section Summary

Functions

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

Create event filter for TransferBatch(address operator, address from, address to, uint256[] ids, uint256[] values)

Create event filter for TransferSingle(address operator, address from, address to, uint256 id, uint256 value)

Create event filter for URI(string value, uint256 id)

Link to this section Functions

Link to this function

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

View Source

Create event filter for ApprovalForAll(address account, 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

Parameters

  • account: :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

Event Data Types

  • account: :address
  • operator: :address
  • approved: :bool

See Ethers.Contracts.ERC1155.default_address/0.

Link to this function

transfer_batch(operator, from, to, overrides \\ [])

View Source

Create event filter for TransferBatch(address operator, address from, address to, uint256[] ids, uint256[] values)

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

Parameters

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

event-data-types

Event Data Types

  • operator: :address
  • from: :address
  • to: :address
  • ids: {:array, {:uint, 256}}
  • values: {:array, {:uint, 256}}
Link to this function

transfer_single(operator, from, to, overrides \\ [])

View Source

Create event filter for TransferSingle(address operator, address from, address to, uint256 id, 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.

parameters

Parameters

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

event-data-types

Event Data Types

  • operator: :address
  • from: :address
  • to: :address
  • id: {:uint, 256}
  • value: {:uint, 256}
Link to this function

uri(value, overrides \\ [])

View Source

Create event filter for URI(string value, uint256 id)

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

Parameters

  • value: {: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

Event Data Types

  • value: :string
  • id: {:uint, 256}