View Source Uniswap.Contracts.NonfungiblePositionManager.EventFilters (Uniswap v0.0.1-dev)

Events for Uniswap.Contracts.NonfungiblePositionManager

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 Collect(uint256 tokenId, address recipient, uint256 amount0, uint256 amount1)

Create event filter for DecreaseLiquidity(uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

Create event filter for IncreaseLiquidity(uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

Create event filter for Transfer(address from, address to, uint256 tokenId)

Functions

Link to this function

approval(owner, approved, token_id)

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.

Parameter Types (Event indexed topics)

  • owner: :address
  • approved: :address
  • tokenId: {:uint, 256}

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!

Link to this function

approval_for_all(owner, operator)

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.

Parameter Types (Event indexed topics)

  • owner: :address
  • operator: :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.

  • approved: :bool
@spec collect(non_neg_integer()) :: Ethers.EventFilter.t()

Create event filter for Collect(uint256 tokenId, address recipient, uint256 amount0, uint256 amount1)

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)

  • tokenId: {:uint, 256}

Event data Types (when called with Ethers.get_logs/2)

These are non-indexed topics (often referred to as data) of the event log.

  • recipient: :address
  • amount0: {:uint, 256}
  • amount1: {:uint, 256}
Link to this function

decrease_liquidity(token_id)

View Source
@spec decrease_liquidity(non_neg_integer()) :: Ethers.EventFilter.t()

Create event filter for DecreaseLiquidity(uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

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)

  • tokenId: {:uint, 256}

Event data Types (when called with Ethers.get_logs/2)

These are non-indexed topics (often referred to as data) of the event log.

  • liquidity: {:uint, 128}
  • amount0: {:uint, 256}
  • amount1: {:uint, 256}
Link to this function

increase_liquidity(token_id)

View Source
@spec increase_liquidity(non_neg_integer()) :: Ethers.EventFilter.t()

Create event filter for IncreaseLiquidity(uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

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)

  • tokenId: {:uint, 256}

Event data Types (when called with Ethers.get_logs/2)

These are non-indexed topics (often referred to as data) of the event log.

  • liquidity: {:uint, 128}
  • amount0: {:uint, 256}
  • amount1: {:uint, 256}
Link to this function

transfer(from, to, token_id)

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.

Parameter Types (Event indexed topics)

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

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!