Skip to main content

Interface: GdexLiquidityEvent

One committed add, remove or collect, as the liquidity channel reports it.

Properties​

PropertyTypeDescription
action"add" | "remove" | "collect"add, remove or collect.
amount0stringPrincipal moved: deposited by an add, withdrawn by a remove, "0" for a collect.
amount1string-
blockNumbernumber-
fees0?stringFees paid out. v2: always present ("0" for an add). v1: present on a collect only.
fees1?string-
liquidityAfter?stringv2 only: the position's liquidity after the operation; "0" means it is closed.
ownerstringThe position's owner (the LP wallet).
poolGdexPoolKey-
poolHashstring-
positionId?stringv1: the position id. v2: the chain position key <pool>|<tickLow>|<tickHigh>|<owner>.
tickLower?number-
tickUpper?number-
timestampstring-
token0Symbol?stringv2 only.
token1Symbol?string-
transactionIdstring-
version"v2" | "v1"-