View Source Ethers.Contracts.ERC1155.EventFilters (Ethers v0.0.3)
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
@spec approval_for_all( Ethers.Types.t_address(), Ethers.Types.t_address(), Keyword.t() ) :: Ethers.Contract.t_event_output()
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
@spec transfer_batch( Ethers.Types.t_address(), Ethers.Types.t_address(), Ethers.Types.t_address(), Keyword.t() ) :: Ethers.Contract.t_event_output()
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}}
@spec transfer_single( Ethers.Types.t_address(), Ethers.Types.t_address(), Ethers.Types.t_address(), Keyword.t() ) :: Ethers.Contract.t_event_output()
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}
@spec uri(non_neg_integer(), Keyword.t()) :: Ethers.Contract.t_event_output()
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}