AsyncOrder
Represents an async order for a swap in the Uniswap V4 pool.
struct AsyncOrder {
PoolKey key;
address owner;
bool zeroForOne;
uint256 amountIn;
uint160 sqrtPrice;
}
Properties
| Name | Type | Description |
|---|---|---|
key | PoolKey | The Uniswap V4 PoolKey that identifies the pool. |
owner | address | The owner of the order, who can claim the order. |
zeroForOne | bool | Whether the order is for a swap from currency0 to currency1 (true) or currency1 to currency0 (false). |
amountIn | uint256 | The amount of the order that is being filled. |
sqrtPrice | uint160 | The square root price of the pool at the time of the order. |