Interface: GdexLiquidityEvent
One committed add, remove or collect, as the liquidity channel reports it.
Properties
| Property | Type | Description |
|---|---|---|
action | "add" | "remove" | "collect" | add, remove or collect. |
amount0 | string | Principal moved: deposited by an add, withdrawn by a remove, "0" for a collect. |
amount1 | string | - |
blockNumber | number | - |
fees0? | string | Fees paid out. v2: always present ("0" for an add). v1: present on a collect only. |
fees1? | string | - |
liquidityAfter? | string | v2 only: the position's liquidity after the operation; "0" means it is closed. |
owner | string | The position's owner (the LP wallet). |
pool | GdexPoolKey | - |
poolHash | string | - |
positionId? | string | v1: the position id. v2: the chain position key <pool>|<tickLow>|<tickHigh>|<owner>. |
tickLower? | number | - |
tickUpper? | number | - |
timestamp | string | - |
token0Symbol? | string | v2 only. |
token1Symbol? | string | - |
transactionId | string | - |
version | "v2" | "v1" | - |
block number liquidity after gdex pool key hash position id tick low high lower upper token0 symbol token1 transaction