View Source Ethers.Contracts.ERC777.EventFilters (Ethers v0.5.2)
Events for Ethers.Contracts.ERC777
Summary
Functions
Create event filter for Approval(address owner, address spender, uint256 value)
Create event filter for AuthorizedOperator(address operator, address tokenHolder)
Create event filter for Burned(address operator, address from, uint256 amount, bytes data, bytes operatorData)
Create event filter for Minted(address operator, address to, uint256 amount, bytes data, bytes operatorData)
Create event filter for RevokedOperator(address operator, address tokenHolder)
Create event filter for Sent(address operator, address from, address to, uint256 amount, bytes data, bytes operatorData)
Create event filter for Transfer(address from, address to, uint256 value)
Functions
@spec approval(Ethers.Types.t_address(), Ethers.Types.t_address()) :: Ethers.EventFilter.t()
Create event filter for Approval(address owner, address spender, 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.
Parameter Types (Event indexed topics)
- owner:
:address
- spender:
: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.
- value:
{:uint, 256}
@spec authorized_operator(Ethers.Types.t_address(), Ethers.Types.t_address()) :: Ethers.EventFilter.t()
Create event filter for AuthorizedOperator(address operator, address tokenHolder)
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)
- operator:
:address
- tokenHolder:
: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.
This event does not contain any values!
@spec burned(Ethers.Types.t_address(), Ethers.Types.t_address()) :: Ethers.EventFilter.t()
Create event filter for Burned(address operator, address from, uint256 amount, bytes data, bytes operatorData)
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)
- operator:
:address
- from:
: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.
- amount:
{:uint, 256}
- data:
:bytes
- operatorData:
:bytes
@spec minted(Ethers.Types.t_address(), Ethers.Types.t_address()) :: Ethers.EventFilter.t()
Create event filter for Minted(address operator, address to, uint256 amount, bytes data, bytes operatorData)
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)
- operator:
:address
- to:
: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.
- amount:
{:uint, 256}
- data:
:bytes
- operatorData:
:bytes
@spec revoked_operator(Ethers.Types.t_address(), Ethers.Types.t_address()) :: Ethers.EventFilter.t()
Create event filter for RevokedOperator(address operator, address tokenHolder)
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)
- operator:
:address
- tokenHolder:
: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.
This event does not contain any values!
@spec sent( Ethers.Types.t_address(), Ethers.Types.t_address(), Ethers.Types.t_address() ) :: Ethers.EventFilter.t()
Create event filter for Sent(address operator, address from, address to, uint256 amount, bytes data, bytes operatorData)
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)
- operator:
:address
- from:
:address
- to:
: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.
- amount:
{:uint, 256}
- data:
:bytes
- operatorData:
:bytes
@spec transfer(Ethers.Types.t_address(), Ethers.Types.t_address()) :: Ethers.EventFilter.t()
Create event filter for Transfer(address from, address to, 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.
Parameter Types (Event indexed topics)
- from:
:address
- to:
: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.
- value:
{:uint, 256}