Skip to main content

Mint

Entity to store details of a mint event emitted while adding liquidity to a pool.

Schema

FieldTypederivedFromDescription
idID!Mint Entity ID. Format: <transaction hash>#<index in transaction.mints array>
transactionTransaction!Transaction Entity in which the mint event was emitted
timestampBigInt!Timestamp of the block in which which the mint event was emitted
poolPool!Pool in which the mint event was emitted
token0Token!token0 entity of the pool
token1Token!token1 entity of the pool
ownerBytes!owner of the position to which the liquidity was minted
senderBytesthe address that minted the liquidity
originBytes!The EOA address that initiated the transaction
amountBigInt!Amount of liquidity minted
amount0BigDecimal!Amount of token0 minted
amount1BigDecimal!Amount of token1 minted
amountUSDBigDecimalMint 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 Mint Event within the logs of the transaction

Referencing Functions

FunctionNameCreateReadUpdateSave
handleMint()