View Source Ethers.Contracts.ERC20.EventFilters (Ethers v0.0.6)
Events for Ethers.Contracts.ERC20
Summary
Functions
Create event filter for Approval(address owner, address spender, uint256 value)
Create event filter for Transfer(address from, address to, uint256 value)
Functions
@spec approval(Ethers.Types.t_address(), Ethers.Types.t_address(), Keyword.t()) :: Ethers.Contract.t_event_output()
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.
Parameters
- owner:
:address
- spender:
: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
- spender:
:address
- value:
{:uint, 256}
@spec transfer(Ethers.Types.t_address(), Ethers.Types.t_address(), Keyword.t()) :: Ethers.Contract.t_event_output()
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.
Parameters
- 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
- from:
:address
- to:
:address
- value:
{:uint, 256}