PoolKey
The PoolKey is a struct that contains the key information for a pool.
struct PoolKey {
    Currency currency0;
    Currency currency1;
    uint24 fee;
    int24 tickSpacing;
    IHooks hooks;
}Fields
| Field Name | Type | Description | 
|---|---|---|
| currency0 | Currency | The lower currency of the pool, sorted numerically | 
| currency1 | Currency | The higher currency of the pool, sorted numerically | 
| fee | uint24 | The pool swap fee, capped at 1,000,000. If the first bit is 1, the pool has a dynamic fee | 
| tickSpacing | int24 | The spacing between ticks for the pool | 
| hooks | IHooks | The address of the hooks contract associated with the pool | 
Last updated on