Skip to main content

Tables

Factory_PoolCreated_event

Factory contract event emitted when a new liquidity pool is created, recording token pairs and pool configuration parameters. Used for tracking DEX pool deployments and liquidity market initialization.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_poolAddressSTRINGContract address of the liquidity pool. Hex-encoded, 0x-prefixed, 42-character string.
in_feeSTRINGFee amount charged for the transaction or operation. String-encoded integer value representing the fee in the smallest unit of the relevant token or currency.
in_tickSpacingSTRINGMinimum price movement increment between adjacent ticks in a concentrated liquidity pool.
in_activeTickINT64Current tick position in the liquidity pool after the swap or pool creation. Signed integer representing the active price tick in the concentrated liquidity pool’s tick-spaced price range.
in_lookbackSTRINGLookback period for the liquidity pool in Maverick V1. String-encoded integer representing the time window in wei units (10^18 per unit), with a standard value of 10800 units equivalent to 3 hours.
in_protocolFeeRatioSTRINGProtocol fee ratio allocated to the protocol from trading fees. String-encoded integer where 0 indicates no protocol fee is collected.
in_tokenASTRINGContract address of the first token in a token pair. Hex-encoded, 0x-prefixed, 42-character string.
in_tokenBSTRINGContract address of the second token in a token pair. Hex-encoded, 0x-prefixed, 42-character string.
in_feeaddressremovedin_tokenAin_tokenBlog_indexin_lookbackblock_numberin_activeTickin_poolAddressin_tickSpacingblock_timestamptransaction_hashin_protocolFeeRatio
8000000000000000x2c1a605f843a2e18b7d7772f0ce23c236accf7f5false0x3355df6d4c9c3035724fd0e3914de96a5a83aaf40x5aea5775959fbc2557cc8789bc1bf90a239d9a91501080000000000000000000072872735810x1a31c6b97050c35395ac70be1fad3aa722f17bfc1982023-06-29T06:47:36.000Z0x061e593c1b2c3c23759614918b36ff106630fc21decbd60df72a2f425b0982280
75000000000000000x2c1a605f843a2e18b7d7772f0ce23c236accf7f5false0x5aea5775959fbc2557cc8789bc1bf90a239d9a910x787c09494ec8bcb24dcaf8659e7d5d69979ee50854108000000000000000000007270924-370xa4c1ab4b4e71eb43cbd635f5534b9a7425dceec422322023-06-29T02:10:01.000Z0x6dcd37c785e9638597196cdbcb3f644446795652da30e1d34241064f1ecbbe840
200000000000000x2c1a605f843a2e18b7d7772f0ce23c236accf7f5false0x3355df6d4c9c3035724fd0e3914de96a5a83aaf40x503234f203fc7eb888eec8513210612a43cf611521080000000000000000000011497960-10x6e4c9b20ab50299d8fc8558182e7728a004e4ddc12023-08-17T21:06:25.000Z0xe507d0fe7255b06b6d0471896f1fbc800eaa05c0d3d3e62283d74b7046b3c04d0
Query with partition filter
SELECT *
FROM `tt-contracts.maverick_v1_zksyncera.Factory_PoolCreated_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pool_AddLiquidity_event

Liquidity provision events recording deposits into decentralized exchange (DEX) pools. Contains deposited asset addresses, amounts, liquidity position identifiers, and updated pool liquidity balances for tracking capital inflows and position creation.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_senderSTRINGAddress that initiated the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_tokenIdSTRINGUnique identifier for a non-fungible token within its contract. Numeric string representation of the token’s ID.
in_binDeltasARRAY<STRUCT<deltaA STRING, deltaB STRING, deltaLpBalance STRING, binId STRING, kind INT64, lowerTick INT64, isActive BOOL>>Array of liquidity bin state changes in Maverick AMM pools. Each element contains token deltas (deltaA, deltaB), LP balance change (deltaLpBalance), bin identifier (binId), bin type (kind), tick position (lowerTick), and active status (isActive).
addressremovedin_senderlog_indexin_tokenIdblock_numberin_binDeltasblock_timestamptransaction_hash
0x41108b80c758f7081b7df77ca565f08dfe56da4ffalse0x39e098a153ad69834a9dac32f0fca92066ad03f410714809317682191[{“kind”:0,“binId”:“1”,“deltaA”:“32458737328275896090773”,“deltaB”:“13987208447626951368”,“isActive”:true,“lowerTick”:1501,“deltaLpBalance”:“51836507551221186969410”}]2023-10-30T09:28:44.000Z0x47d2816643a0810c28e92bf071dce9d77dbfc96588d9540b521f20dc2240c12a
0x41c8cf74c27554a8972d3bf3d2bd4a14d8b604abfalse0x39e098a153ad69834a9dac32f0fca92066ad03f4712917717672790[{“kind”:0,“binId”:“4”,“deltaA”:“0”,“deltaB”:“2314997684999999804”,“isActive”:true,“lowerTick”:379,“deltaLpBalance”:“3860376044151171680620”}]2023-10-30T06:46:53.000Z0x1a4467c4b206f1eefddf8dfd465ee12532344170a2bd2a6d4994c02edc716437
0x41c8cf74c27554a8972d3bf3d2bd4a14d8b604abfalse0x39e098a153ad69834a9dac32f0fca92066ad03f41401174417667201[{“kind”:0,“binId”:“4”,“deltaA”:“0”,“deltaB”:“2334997664999999944”,“isActive”:true,“lowerTick”:379,“deltaLpBalance”:“3893727025094162600373”}]2023-10-30T05:09:12.000Z0x83655a097bade5901ad64f33158efd6d45b80b624a857939d5a4cfee9480c4df
Query with partition filter
SELECT *
FROM `tt-contracts.maverick_v1_zksyncera.Pool_AddLiquidity_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pool_RemoveLiquidity_event

Liquidity withdrawal events from decentralized exchange pools recording the removal of assets by liquidity providers. Contains withdrawal amounts, recipient addresses, and pool state changes including updated liquidity balances and token identifiers.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_senderSTRINGAddress that initiated the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_recipientSTRINGAddress designated to receive the output tokens from a swap or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_tokenIdSTRINGUnique identifier for a non-fungible token within its contract. Numeric string representation of the token’s ID.
in_binDeltasARRAY<STRUCT<deltaA STRING, deltaB STRING, deltaLpBalance STRING, binId STRING, kind INT64, lowerTick INT64, isActive BOOL>>Array of liquidity bin state changes in Maverick AMM pools. Each element contains token deltas (deltaA, deltaB), LP balance change (deltaLpBalance), bin identifier (binId), bin type (kind), tick position (lowerTick), and active status (isActive).
addressremovedin_senderlog_indexin_tokenIdblock_numberin_binDeltasin_recipientblock_timestamptransaction_hash
0x973bbce17dc8532b0e058b3d274b9cb887216afffalse0x39e098a153ad69834a9dac32f0fca92066ad03f45813912515113352[{“kind”:0,“binId”:“1”,“deltaA”:“3933953440843798924497”,“deltaB”:“78107737831895968885”,“isActive”:false,“lowerTick”:-2,“deltaLpBalance”:“4039995959999999286082”}]0x5a09edfcc6f4aa80ef9c996521b1a33650bf4c812023-09-29T17:04:03.000Z0x2719a5e94caf0c97ddd8ab91c2ce688771ad33440bae14d6eca8ac9cdd322d71
0x3ae63fb198652e294b8de4c2ef659d95d5ff28befalse0x39e098a153ad69834a9dac32f0fca92066ad03f4512848215060652[{“kind”:0,“binId”:“1”,“deltaA”:“4348470388014673228762”,“deltaB”:“0”,“isActive”:true,“lowerTick”:373,“deltaLpBalance”:“3444917731832794523676”}]0x39e098a153ad69834a9dac32f0fca92066ad03f42023-09-29T01:59:44.000Z0xd62734c8947a9b8a9c0a534cfea73005d996164b97fad0dc00ed98ab87db19ed
0x3ae63fb198652e294b8de4c2ef659d95d5ff28befalse0x39e098a153ad69834a9dac32f0fca92066ad03f49317477715081060[{“kind”:0,“binId”:“2”,“deltaA”:“18837391265974167761454”,“deltaB”:“0”,“isActive”:true,“lowerTick”:374,“deltaLpBalance”:“14405820150813169445487”}]0x39e098a153ad69834a9dac32f0fca92066ad03f42023-09-29T07:49:38.000Z0xe35f5b0f5dd2f030dc72dd8a9f64343adb2af093333df862c679f4ff9a686d0a
Query with partition filter
SELECT *
FROM `tt-contracts.maverick_v1_zksyncera.Pool_RemoveLiquidity_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Pool_Swap_event

Decentralized exchange (DEX) swap execution events recording token exchanges within liquidity pools. Contains sender, recipient, token amounts, liquidity depth, price data (sqrtPriceX96 or tick), and transaction metadata for tracking trading activity and price movements.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_senderSTRINGAddress that initiated the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_recipientSTRINGAddress designated to receive the output tokens from a swap or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_tokenAInBOOLBoolean flag indicating whether the input token is token A in the liquidity pool pair.
in_exactOutputBOOLBoolean flag indicating whether the swap specifies an exact output amount rather than an exact input amount.
in_amountInSTRINGAmount of input tokens being swapped or deposited in the transaction. Numeric string representing the token quantity in its smallest denomination.
in_amountOutSTRINGAmount of output tokens received from the swap. Numeric string representing the token quantity in its smallest denomination.
in_activeTickINT64Current tick position in the liquidity pool after the swap or pool creation. Signed integer representing the active price tick in the concentrated liquidity pool’s tick-spaced price range.
addressremovedin_senderlog_indexin_amountInin_tokenAInblock_numberin_amountOutin_recipientin_activeTickin_exactOutputblock_timestamptransaction_hash
0xf4cfd1a8160fd83875856fd601b43c4358a89235false0x39e098a153ad69834a9dac32f0fca92066ad03f432123197false56480861231590x069f4881b3ed47b6c18ae2274e99dc429036786c0false2023-06-10T01:05:02.000Z0x2b4fbd32b2dd327364d43cd605151298fc377a28335c4d5bd828fa240d87bb23
0xc9348683a925cb2043cd1dfb006f70d88f65e009false0x39e098a153ad69834a9dac32f0fca92066ad03f425123245true56478551231830x069f4881b3ed47b6c18ae2274e99dc429036786c0false2023-06-10T01:01:07.000Z0xf9478626895b3bbf54f965b4ec6b4851221ed013c567f05ab46819495b164e61
0xc9348683a925cb2043cd1dfb006f70d88f65e009false0x39e098a153ad69834a9dac32f0fca92066ad03f4272000000true569063719989220x29776a47d6480030ca860479ed3000c4de8cc89b0false2023-06-10T13:13:04.000Z0xa2ccefa80517544f7225f5a2443f69a9846b1139db80ece394ac8d7170341c4d
Query with partition filter
SELECT *
FROM `tt-contracts.maverick_v1_zksyncera.Pool_Swap_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100