> ## Documentation Index
> Fetch the complete documentation index at: https://tokenterminal.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# tokemak_v1_ethereum

> Tables in tt-contracts.tokemak_v1_ethereum

## Tables

### Manager\_RewardClaimed\_event

Reward claim events from Tokemak v1 protocol Manager contract on Ethereum, tracking when users claimed rewards with booking reference identifiers. Used for analyzing reward distribution patterns and participant claim behavior across different token addresses.

<Accordion title="Columns">
  | Column             | Type        | Description                                                                                                                                                                                 |
  | ------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`  | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                 |
  | `block_number`     | `INT64`     | Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block's position in the blockchain.                                        |
  | `transaction_hash` | `STRING`    | Unique identifier for the transaction. 66-character hex string including 0x prefix.                                                                                                         |
  | `log_index`        | `INT64`     | Position of the event within the block's transaction logs. Zero-indexed integer representing the sequential order of log emission.                                                          |
  | `address`          | `STRING`    | Contract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                     |
  | `removed`          | `BOOL`      | Boolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.                                                                                |
  | `in__who`          | `STRING`    | Ethereum address of the user claiming rewards from Tokemak v1 Manager contract. Hex-encoded, 0x-prefixed 40-character string representing the reward recipient.                             |
  | `in__bookingIndex` | `STRING`    | Unique identifier for the specific reward booking being claimed in the Tokemak v1 protocol. Represented as a numeric string that varies significantly in magnitude across different claims. |
</Accordion>

<Accordion title="Sample Data">
  | address                                    | in\_\_who                                  | removed | log\_index | block\_number | block\_timestamp         | in\_\_bookingIndex     | transaction\_hash                                                  |
  | ------------------------------------------ | ------------------------------------------ | ------- | ---------- | ------------- | ------------------------ | ---------------------- | ------------------------------------------------------------------ |
  | 0xa86e412109f77c45a3bc1c5870b880492fb86a14 | 0xd533a949740bb3306d119cc777fa900ba034cd52 | false   | 153        | 16834424      | 2023-03-15T16:16:47.000Z | 1582411943686039858004 | 0xaaf7b9248cdfd413e1fb36d2d65451d60c660aaebceaee799db43f48d49150ea |
  | 0xa86e412109f77c45a3bc1c5870b880492fb86a14 | 0xdbdb4d16eda451d0503b854cf79d55697f90c8df | false   | 177        | 16834424      | 2023-03-15T16:16:47.000Z | 170784320279201084330  | 0xaaf7b9248cdfd413e1fb36d2d65451d60c660aaebceaee799db43f48d49150ea |
  | 0xa86e412109f77c45a3bc1c5870b880492fb86a14 | 0x6b3595068778dd592e39a122f4f5a5cf09c90fe2 | false   | 196        | 16834424      | 2023-03-15T16:16:47.000Z | 189310287847010152907  | 0xaaf7b9248cdfd413e1fb36d2d65451d60c660aaebceaee799db43f48d49150ea |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.tokemak_v1_ethereum.Manager_RewardClaimed_event`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### Rewards\_Claimed\_event

Reward claim events from Tokemak v1 liquidity protocol on Ethereum, recording token distributions to recipients by cycle. Used for analyzing reward distribution patterns, participant behavior, and protocol incentive effectiveness across earning cycles.

<Accordion title="Columns">
  | Column             | Type        | Description                                                                                                                                                               |
  | ------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`  | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                               |
  | `block_number`     | `INT64`     | Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block's position in the blockchain.                      |
  | `transaction_hash` | `STRING`    | Unique identifier for the transaction. 66-character hex string including 0x prefix.                                                                                       |
  | `log_index`        | `INT64`     | Position of the event within the block's transaction logs. Zero-indexed integer representing the sequential order of log emission.                                        |
  | `address`          | `STRING`    | Contract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.                                                                                   |
  | `removed`          | `BOOL`      | Boolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.                                                              |
  | `in_cycle`         | `STRING`    | Reward distribution cycle number in Tokemak v1's incentive program. Corresponds to the epoch or period when these rewards were earned and claimed by liquidity providers. |
  | `in_recipient`     | `STRING`    | Address designated to receive the output tokens from a swap or operation. Hex-encoded, 0x-prefixed, 42-character string.                                                  |
  | `in_amount`        | `STRING`    | Input amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.                                           |
</Accordion>

<Accordion title="Sample Data">
  | address                                    | removed | in\_cycle | in\_amount           | log\_index | block\_number | in\_recipient                              | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------ | ------- | --------- | -------------------- | ---------- | ------------- | ------------------------------------------ | ------------------------ | ------------------------------------------------------------------ |
  | 0x79dd22579112d8a5f7347c5ed7e609e60da713c5 | false   | 252       | 1381138367632937971  | 760        | 16715035      | 0xc42a038e423aba5116f33ecb9dcb5cf933ec8fc3 | 2023-02-26T21:19:23.000Z | 0x6d774c9a276040d0cddbbbe456d25ad485aae8160124bb21b44aaa1307710f95 |
  | 0x79dd22579112d8a5f7347c5ed7e609e60da713c5 | false   | 252       | 9037881203066088220  | 236        | 16715794      | 0x2df54b97fed60103a3b74bb03da98fdc57d3066e | 2023-02-26T23:52:59.000Z | 0x39ac99daeaeb2b6dae7c679e6f22bac7a17f37391d1c673b72cc342ec51715d3 |
  | 0x79dd22579112d8a5f7347c5ed7e609e60da713c5 | false   | 252       | 67370065824458514378 | 205        | 16715761      | 0xd11be224789832523aff48ab1d7d5519c6233b3b | 2023-02-26T23:45:47.000Z | 0x5000a52ad47349c4cc6e5a89284f04bf3fca4ee171d70bda82abd1c4e8f12245 |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.tokemak_v1_ethereum.Rewards_Claimed_event`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***
