Skip to main content

Burn

Entity to stores the details of a burn event emitted while removing liquidity from a pool.

Schema

FieldTypederivedFromDescription
idID!Burn Entity ID. Format: <transaction hash>#<index in transaction.burns array>
transactionTransaction!Transaction Entity in which the burn event was emitted
poolPool!Pool in which the burn event was emitted
token0Token!token0 entity of the pool
token1Token!token1 entity of the pool
timestampBigInt!Timestamp of the block in which which the burn event was emitted
ownerBytes!owner of the position to which the liquidity was burnt
originBytes!The EOA address that initiated the transaction
amountBigInt!Amount of liquidity burnt
amount0BigDecimal!Amount of token0 burnt
amount1BigDecimal!Amount of token1 burnt
amountUSDBigDecimalBurn value derived in USD based on available prices of tokens
tickLowerBigInt!Lower tick of the position
tickUpperBigInt!Upper tick of the position
logIndexBigIntOrder of the Burn event within the logs of the transaction

Referencing Functions

FunctionNameCreateReadUpdateSave
handleBurn()