View Source Uniswap.Contracts.V3Pool.EventFilters (Uniswap v0.0.2-dev)

Events for Uniswap.Contracts.V3Pool

Summary

Functions

Create event filter for Burn(address owner, int24 tickLower, int24 tickUpper, uint128 amount, uint256 amount0, uint256 amount1)

Create event filter for Collect(address owner, address recipient, int24 tickLower, int24 tickUpper, uint128 amount0, uint128 amount1)

Create event filter for CollectProtocol(address sender, address recipient, uint128 amount0, uint128 amount1)

Create event filter for Flash(address sender, address recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)

Create event filter for IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)

Create event filter for Initialize(uint160 sqrtPriceX96, int24 tick)

Create event filter for Mint(address sender, address owner, int24 tickLower, int24 tickUpper, uint128 amount, uint256 amount0, uint256 amount1)

Create event filter for SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)

Create event filter for Swap(address sender, address recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)

Functions

Link to this function

burn(owner, tick_lower, tick_upper)

View Source

Create event filter for Burn(address owner, int24 tickLower, int24 tickUpper, uint128 amount, 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)

  • owner: :address
  • tickLower: {:int, 24}
  • tickUpper: {:int, 24}

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, 128}
  • amount0: {:uint, 256}
  • amount1: {:uint, 256}
Link to this function

collect(owner, tick_lower, tick_upper)

View Source

Create event filter for Collect(address owner, address recipient, int24 tickLower, int24 tickUpper, uint128 amount0, uint128 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)

  • owner: :address
  • tickLower: {:int, 24}
  • tickUpper: {:int, 24}

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, 128}
  • amount1: {:uint, 128}
Link to this function

collect_protocol(sender, recipient)

View Source

Create event filter for CollectProtocol(address sender, address recipient, uint128 amount0, uint128 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)

  • sender: :address
  • recipient: :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.

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

flash(sender, recipient)

View Source

Create event filter for Flash(address sender, address recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)

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)

  • sender: :address
  • recipient: :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.

  • amount0: {:uint, 256}
  • amount1: {:uint, 256}
  • paid0: {:uint, 256}
  • paid1: {:uint, 256}
Link to this function

increase_observation_cardinality_next()

View Source
@spec increase_observation_cardinality_next() :: Ethers.EventFilter.t()

Create event filter for IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)

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)

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

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

  • observationCardinalityNextOld: {:uint, 16}
  • observationCardinalityNextNew: {:uint, 16}
@spec initialize() :: Ethers.EventFilter.t()

Create event filter for Initialize(uint160 sqrtPriceX96, int24 tick)

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)

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

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

  • sqrtPriceX96: {:uint, 160}
  • tick: {:int, 24}
Link to this function

mint(owner, tick_lower, tick_upper)

View Source

Create event filter for Mint(address sender, address owner, int24 tickLower, int24 tickUpper, uint128 amount, 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)

  • owner: :address
  • tickLower: {:int, 24}
  • tickUpper: {:int, 24}

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

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

  • sender: :address
  • amount: {:uint, 128}
  • amount0: {:uint, 256}
  • amount1: {:uint, 256}
@spec set_fee_protocol() :: Ethers.EventFilter.t()

Create event filter for SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)

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)

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

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

  • feeProtocol0Old: {:uint, 8}
  • feeProtocol1Old: {:uint, 8}
  • feeProtocol0New: {:uint, 8}
  • feeProtocol1New: {:uint, 8}

Create event filter for Swap(address sender, address recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)

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)

  • sender: :address
  • recipient: :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.

  • amount0: {:int, 256}
  • amount1: {:int, 256}
  • sqrtPriceX96: {:uint, 160}
  • liquidity: {:uint, 128}
  • tick: {:int, 24}