> ## 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.

# morpho_v2_polygon

> Tables in tt-contracts.morpho_v2_polygon

## Tables

### MorphoBlue\_AccrueInterest\_event

Interest accrual events from Morpho Blue lending markets containing market identifier, accrued interest amount, protocol fee shares, and previous borrow rate. Used for tracking yield generation and interest rate dynamics across lending positions.

<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_id`             | `STRING`    | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                            |
  | `in_prevBorrowRate` | `STRING`    | Borrow rate before the interest accrual event in the Morpho Blue lending market. Numeric string representation.                                      |
  | `in_interest`       | `STRING`    | Interest amount accrued or paid in the transaction. Numeric string representation in the smallest unit of the relevant token.                        |
  | `in_feeShares`      | `STRING`    | Number of fee shares minted to the protocol during the interest accrual event. Numeric string representation of share quantity.                      |
</Accordion>

<Accordion title="Sample Data">
  | in\_id                                                             | address                                    | removed | log\_index | in\_interest | block\_number | in\_feeShares | block\_timestamp         | transaction\_hash                                                  | in\_prevBorrowRate |
  | ------------------------------------------------------------------ | ------------------------------------------ | ------- | ---------- | ------------ | ------------- | ------------- | ------------------------ | ------------------------------------------------------------------ | ------------------ |
  | 0xa5b7ae7654d5041c28cb621ee93397394c7aee6c6e16c7e0fd030128d87ee1a3 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 599        | 29623882     | 75336036      | 0             | 2025-08-18T00:09:20.000Z | 0x8ed662590d78a54b32064a60116cbe0f00af17716838687e21bb1fbf3f046f6d | 1380039316         |
  | 0x2476bb905e3d94acd7b402b3d70d411eeb6ace82afd3007da69a0d5904dfc998 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 515        | 126319940    | 75338057      | 0             | 2025-08-18T01:20:54.000Z | 0xf393c701a47a8fd12bfa0636934ee120f8fe60afd37538c4a535061e886743f9 | 2255091218         |
  | 0x01550b8779f4ca978fc16591537f3852c02c3491f597db93d9bb299dcbf5ddbe | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 595        | 13253161     | 75338092      | 0             | 2025-08-18T01:22:08.000Z | 0x7c57abb95c3cb420dc47a3c02cef5a90fd1c7d88c1a7497ffca4f3c262d658d4 | 2265608175         |
</Accordion>

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

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

***

### MorphoBlue\_Borrow\_event

Borrow events from Morpho Blue lending protocol recording debt position creation. Contains market identifier, borrowed asset amount, shares issued, caller address, borrower (onBehalf), and asset recipient, used for tracking protocol lending activity and user debt positions.

<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_id`            | `STRING`    | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                                            |
  | `in_caller`        | `STRING`    | Address that initiated or requested the contract function call. Hex-encoded, 0x-prefixed, 42-character string.                                                       |
  | `in_onBehalf`      | `STRING`    | Address for whom the operation is being executed. Hex-encoded, 0x-prefixed, 42-character string.                                                                     |
  | `in_receiver`      | `STRING`    | Address that receives tokens, assets, or rewards from the transaction. Hex-encoded, 0x-prefixed, 42-character string.                                                |
  | `in_assets`        | `STRING`    | Number of asset units involved in the deposit or withdrawal transaction. String-encoded integer representing the asset quantity in the protocol's accounting system. |
  | `in_shares`        | `STRING`    | Number of shares involved in the deposit or withdrawal transaction. String-encoded integer representing the share quantity in the protocol's accounting system.      |
</Accordion>

<Accordion title="Sample Data">
  | in\_id                                                             | address                                    | removed | in\_assets | in\_caller                                 | in\_shares       | log\_index | in\_onBehalf                               | in\_receiver                               | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------------------------------ | ------------------------------------------ | ------- | ---------- | ------------------------------------------ | ---------------- | ---------- | ------------------------------------------ | ------------------------------------------ | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x267f344f5af0d85e95f253a2f250985a9fb9fca34a3342299e20c83b6906fc80 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 1000000000 | 0xb261b51938a9767406ef83bbfbaafe16691b7047 | 994226035383479  | 123        | 0x6251056ce19cccaddc020724d8d612d591285477 | 0x6251056ce19cccaddc020724d8d612d591285477 | 69289997      | 2025-03-20T18:26:45.000Z | 0xbad3b7182eab7fb0263f86d1edba006ba56e4d1de177aa9fd8cb0e038eefbdf5 |
  | 0xa5b7ae7654d5041c28cb621ee93397394c7aee6c6e16c7e0fd030128d87ee1a3 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 2000000000 | 0xb261b51938a9767406ef83bbfbaafe16691b7047 | 1990093345748568 | 99         | 0xac4734d5cd80c12f3c90edc9dc5589c11ee17896 | 0xac4734d5cd80c12f3c90edc9dc5589c11ee17896 | 69289035      | 2025-03-20T17:52:41.000Z | 0xe19e834139183f655405cdd8687697225454f8027a0f7293c07fc728baecfaa3 |
  | 0xa5b7ae7654d5041c28cb621ee93397394c7aee6c6e16c7e0fd030128d87ee1a3 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 500000000  | 0xb261b51938a9767406ef83bbfbaafe16691b7047 | 497523416411637  | 215        | 0xac4734d5cd80c12f3c90edc9dc5589c11ee17896 | 0xac4734d5cd80c12f3c90edc9dc5589c11ee17896 | 69288662      | 2025-03-20T17:39:29.000Z | 0x73da72eaa7ac4a4a74b1db0aa2f055452bb05a015914dace80a80bf4f2d53114 |
</Accordion>

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

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

***

### MorphoBlue\_CreateMarket\_event

Market creation events from the Morpho Blue lending protocol, containing the unique market identifier and configuration parameters including loan token, collateral token, oracle address, interest rate model (IRM), and liquidation loan-to-value (LLTV) ratio.

<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_id`            | `STRING`                                                                                   | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                                                                                         |
  | `in_marketParams`  | `STRUCT<loanToken STRING, collateralToken STRING, oracle STRING, irm STRING, lltv STRING>` | Market parameters defining a lending market. Struct containing loan token address, collateral token address, oracle address, interest rate model (IRM) address, and loan-to-value (LLTV) ratio as numeric string. |
</Accordion>

<Accordion title="Sample Data">
  | in\_id                                                             | address                                    | removed | log\_index | block\_number | block\_timestamp         | in\_marketParams                                                                                                                                                                                                                                                | transaction\_hash                                                  |
  | ------------------------------------------------------------------ | ------------------------------------------ | ------- | ---------- | ------------- | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
  | 0xb6792bffd030733197acbb43fd481e76e190d8f74560ceda26d09fcff8cd193e | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 562        | 76889447      | 2025-09-25T15:50:22.000Z | \{"irm":"0xe675a2161d4a6e2de2eed70ac98eebf257fbf0b0","lltv":"860000000000000000","oracle":"0x24e3c32540d688792ee7a02999b4a1a661b04d9e","loanToken":"0xd96008c07c018db76455abc9fa11562e557e333b","collateralToken":"0x8d44d46e82e322390c10f0005953a8995002020b"} | 0xe6c6b0114851ede30171e23204baa21f0354c30d58a88a4cf3365174980c58b5 |
  | 0xca1402b1edaa05583d74b668935d8a2aeb41ba37059ef7d806457156ae0879e2 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 376        | 75657944      | 2025-08-26T00:41:23.000Z | \{"irm":"0xe675a2161d4a6e2de2eed70ac98eebf257fbf0b0","lltv":"770000000000000000","oracle":"0x847007de135647bf67ccb9e1afc51bd2919ea838","loanToken":"0x2791bca1f2de4661ed88a30c99a7a9449aa84174","collateralToken":"0xaffcf1312772583d9d0b9f6e68f5767154b29dfd"} | 0xcad1ef10db4059b67fd315331000c021f57e7d9da1f87a34b4d0e241039ae4d0 |
  | 0x57c008bd087077119abb2f68e0bd953f4b1c21c4e39ff2bc61487317092f7fd5 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 326        | 73311001      | 2025-06-28T04:16:04.000Z | \{"irm":"0xe675a2161d4a6e2de2eed70ac98eebf257fbf0b0","lltv":"770000000000000000","oracle":"0xebccbf9843ac1fb5a1c575fc54c588b1bafa38dc","loanToken":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","collateralToken":"0x89879fc7d5af81fc8299fa1d2a56590e83a65df8"} | 0xf9bb23809651c58b9de90fa2f4334a7e2cbea59f3ddc97ede7c68e5e5ecddbb0 |
</Accordion>

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

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

***

### MorphoBlue\_Liquidate\_event

Liquidation events from Morpho Blue lending markets recording debt repayment, collateral seizure, and bad debt realization. Captures liquidator address, borrower address, market identifier, repaid and seized asset amounts in both token units and protocol shares, with separate tracking of unrecoverable bad debt.

<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_id`            | `STRING`    | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                            |
  | `in_caller`        | `STRING`    | Address that initiated or requested the contract function call. Hex-encoded, 0x-prefixed, 42-character string.                                       |
  | `in_borrower`      | `STRING`    | Address of the borrower in the lending or loan transaction. Hex-encoded, 0x-prefixed, 42-character string.                                           |
  | `in_repaidAssets`  | `STRING`    | Amount of borrowed asset tokens repaid during the liquidation. Numeric string representation.                                                        |
  | `in_repaidShares`  | `STRING`    | Amount of debt repaid denominated in protocol share units during the liquidation. Numeric string representation.                                     |
  | `in_seizedAssets`  | `STRING`    | Amount of collateral tokens seized from the borrower during liquidation. Numeric string representation.                                              |
  | `in_badDebtAssets` | `STRING`    | Amount of bad debt denominated in asset tokens that could not be recovered during liquidation. Numeric string representation.                        |
  | `in_badDebtShares` | `STRING`    | Amount of bad debt denominated in protocol share units that could not be recovered during liquidation. Numeric string representation.                |
</Accordion>

<Accordion title="Sample Data">
  | in\_id                                                             | address                                    | removed | in\_caller                                 | log\_index | in\_borrower                               | block\_number | block\_timestamp         | in\_repaidAssets | in\_repaidShares | in\_seizedAssets      | in\_badDebtAssets | in\_badDebtShares | transaction\_hash                                                  |
  | ------------------------------------------------------------------ | ------------------------------------------ | ------- | ------------------------------------------ | ---------- | ------------------------------------------ | ------------- | ------------------------ | ---------------- | ---------------- | --------------------- | ----------------- | ----------------- | ------------------------------------------------------------------ |
  | 0x267f344f5af0d85e95f253a2f250985a9fb9fca34a3342299e20c83b6906fc80 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 0x999b105bd92683bd8c167019593c28d93664df1b | 692        | 0x9fb2e86637d4bb0b8092db29e9c43caa8634c9e9 | 72131710      | 2025-05-30T00:59:17.000Z | 165287629        | 163745220877099  | 826475730053581487153 | 0                 | 0                 | 0xbbf207cfab9751d491ce829f2808759060dfb83fc07e1dfa97c1b2a5ab039a8f |
  | 0x267f344f5af0d85e95f253a2f250985a9fb9fca34a3342299e20c83b6906fc80 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 0x260ef10ee6ee1d51d5ea197f10bb44733df0ef04 | 410        | 0x9fb2e86637d4bb0b8092db29e9c43caa8634c9e9 | 72169383      | 2025-05-30T23:18:36.000Z | 158749084        | 157254263752534  | 829471540493597927520 | 0                 | 0                 | 0x1d5c1e79310a1a7db4f4cc5eda70d9b882897fd77e9dded95552a2c236293b0c |
  | 0x7506b33817b57f686e37b87b5d4c5c93fdef4cffd21bbf9291f18b2f29ab0550 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 0xb69e300ceaaf97341d0d8ba07db07778f6b5a289 | 1207       | 0x2ae57ecc52240ff0df36c979799bb2bcf957fb15 | 72168921      | 2025-05-30T23:01:58.000Z | 80042            | 79441351265      | 414571119033406457    | 0                 | 0                 | 0xfee2a98a659cef0164d39cbc8326505e3f9554cf42cfd61f9f88564869eba157 |
</Accordion>

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

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

***

### MorphoBlue\_Repay\_event

Debt repayment events from Morpho Blue lending protocol. Records asset amounts repaid, borrower shares burned, market identifier, caller address, and beneficiary for tracking loan paydown activity.

<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_id`            | `STRING`    | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                                            |
  | `in_caller`        | `STRING`    | Address that initiated or requested the contract function call. Hex-encoded, 0x-prefixed, 42-character string.                                                       |
  | `in_onBehalf`      | `STRING`    | Address for whom the operation is being executed. Hex-encoded, 0x-prefixed, 42-character string.                                                                     |
  | `in_assets`        | `STRING`    | Number of asset units involved in the deposit or withdrawal transaction. String-encoded integer representing the asset quantity in the protocol's accounting system. |
  | `in_shares`        | `STRING`    | Number of shares involved in the deposit or withdrawal transaction. String-encoded integer representing the share quantity in the protocol's accounting system.      |
</Accordion>

<Accordion title="Sample Data">
  | in\_id                                                             | address                                    | removed | in\_assets | in\_caller                                 | in\_shares    | log\_index | in\_onBehalf                               | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------------------------------ | ------------------------------------------ | ------- | ---------- | ------------------------------------------ | ------------- | ---------- | ------------------------------------------ | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x6608b55435970397f4187bc0340be3685dbc3daf639d88dffadcd6d3021c292d | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 3866154    | 0x30432dec859c08dc8f212f13b36164446142884b | 3865448596875 | 560        | 0x30432dec859c08dc8f212f13b36164446142884b | 78933854      | 2025-11-12T18:36:33.000Z | 0x92432f7516588b90fe473d68e266d63cc2cd5fe76a7166498919ebce01da569b |
  | 0x6608b55435970397f4187bc0340be3685dbc3daf639d88dffadcd6d3021c292d | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 3142078    | 0x30432dec859c08dc8f212f13b36164446142884b | 3141504354570 | 747        | 0x30432dec859c08dc8f212f13b36164446142884b | 78933222      | 2025-11-12T18:15:29.000Z | 0xf5ff339c802eec51cd668d4bc113c3bfe09966d2c787c54d106394c175dcfc7e |
  | 0x4fd5a6eb2f94a3bd827358fc0276ce2e1fdfbc2d6a1c9df6c87b3667678e1b8c | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 1022593    | 0x99353dbad8ae550aec8a6901128f6ac91f00ff83 | 1017446231090 | 1392       | 0x99353dbad8ae550aec8a6901128f6ac91f00ff83 | 78930503      | 2025-11-12T16:44:51.000Z | 0xda71cb1e263e5a6a6cb54104cca9c129a84ab10191454bb46058a48187710b91 |
</Accordion>

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

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

***

### MorphoBlue\_Supply\_event

Morpho Blue supply events capturing liquidity provider deposits into lending markets. Records market identifier, depositor address, beneficiary account, asset amounts supplied, and corresponding shares minted for tracking lender positions.

<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_id`            | `STRING`    | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                                            |
  | `in_caller`        | `STRING`    | Address that initiated or requested the contract function call. Hex-encoded, 0x-prefixed, 42-character string.                                                       |
  | `in_onBehalf`      | `STRING`    | Address for whom the operation is being executed. Hex-encoded, 0x-prefixed, 42-character string.                                                                     |
  | `in_assets`        | `STRING`    | Number of asset units involved in the deposit or withdrawal transaction. String-encoded integer representing the asset quantity in the protocol's accounting system. |
  | `in_shares`        | `STRING`    | Number of shares involved in the deposit or withdrawal transaction. String-encoded integer representing the share quantity in the protocol's accounting system.      |
</Accordion>

<Accordion title="Sample Data">
  | in\_id                                                             | address                                    | removed | in\_assets               | in\_caller                                 | in\_shares                     | log\_index | in\_onBehalf                               | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------------------------------ | ------------------------------------------ | ------- | ------------------------ | ------------------------------------------ | ------------------------------ | ---------- | ------------------------------------------ | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x18e2a37b9edab9d06b509a71f43f51d15581d1176aa91cf1a4cdf5ee3102ad37 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 708381560000000000       | 0x3f33f9f7e2d7cfbcbdf8ea8b870a6e3d449664c2 | 708381560000000000000000       | 225        | 0x3f33f9f7e2d7cfbcbdf8ea8b870a6e3d449664c2 | 71809741      | 2025-05-22T00:57:14.000Z | 0xe73f3b1e94b88ee48ba5669e394f3c81c36f1c7f97cc58f7942a46057d4fc56f |
  | 0x18e2a37b9edab9d06b509a71f43f51d15581d1176aa91cf1a4cdf5ee3102ad37 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 533690620850323404794124 | 0x3f33f9f7e2d7cfbcbdf8ea8b870a6e3d449664c2 | 533690620850323404794124000000 | 302        | 0x3f33f9f7e2d7cfbcbdf8ea8b870a6e3d449664c2 | 71822586      | 2025-05-22T09:02:03.000Z | 0x8ed6110bee3162233fd0941ffbb3b9f22a4171394c0040616dc093ce6f5604d5 |
  | 0x18e2a37b9edab9d06b509a71f43f51d15581d1176aa91cf1a4cdf5ee3102ad37 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 28000000000000000000     | 0x3f33f9f7e2d7cfbcbdf8ea8b870a6e3d449664c2 | 28000000000000000000000000     | 102        | 0x3f33f9f7e2d7cfbcbdf8ea8b870a6e3d449664c2 | 71836476      | 2025-05-22T17:35:00.000Z | 0x5e366c904c6379037e7b772c048ebf903ecc86d3e86ac44b36c56cc6d161df44 |
</Accordion>

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

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

***

### MorphoBlue\_SupplyCollateral\_event

Collateral deposit events from Morpho Blue lending markets recording the caller address, market identifier, beneficiary address, and collateral amount supplied. Used for tracking collateral positions and user lending activity across Morpho protocols.

<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_id`            | `STRING`    | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                                            |
  | `in_caller`        | `STRING`    | Address that initiated or requested the contract function call. Hex-encoded, 0x-prefixed, 42-character string.                                                       |
  | `in_onBehalf`      | `STRING`    | Address for whom the operation is being executed. Hex-encoded, 0x-prefixed, 42-character string.                                                                     |
  | `in_assets`        | `STRING`    | Number of asset units involved in the deposit or withdrawal transaction. String-encoded integer representing the asset quantity in the protocol's accounting system. |
</Accordion>

<Accordion title="Sample Data">
  | in\_id                                                             | address                                    | removed | in\_assets            | in\_caller                                 | log\_index | in\_onBehalf                               | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------------------------------ | ------------------------------------------ | ------- | --------------------- | ------------------------------------------ | ---------- | ------------------------------------------ | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x4fd5a6eb2f94a3bd827358fc0276ce2e1fdfbc2d6a1c9df6c87b3667678e1b8c | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 1139900               | 0xa81c7345b37e3d99d62cbe475f264812bc6446d8 | 231        | 0xa81c7345b37e3d99d62cbe475f264812bc6446d8 | 76184161      | 2025-09-07T23:55:02.000Z | 0xe137bb0f2ab289a4a2daf4bbd208c4d71e7ad6681fb4721c79ee20fb9724f26c |
  | 0x1947267c49c3629c5ed59c88c411e8cf28c4d2afdb5da046dc8e3846a4761794 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 681775293956515638291 | 0xb261b51938a9767406ef83bbfbaafe16691b7047 | 357        | 0xef31f43e9cbe65e9f2622283cfcd663e62c35597 | 76152009      | 2025-09-07T04:56:16.000Z | 0x085b80be51ff5ee7a03523438ec434cb510afe8b975dda349739ae69f1215edf |
  | 0x1cfe584af3db05c7f39d60e458a87a8b2f6b5d8c6125631984ec489f1d13553b | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 4791999               | 0xb261b51938a9767406ef83bbfbaafe16691b7047 | 288        | 0x2213e40fb542022e84eb3f6c6ad499ef3da858eb | 76144184      | 2025-09-07T00:19:08.000Z | 0x4edce46ddd6e87e70c76c0ddb5c76c3a727e9f20daef11166ffa93031739ef9d |
</Accordion>

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

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

***

### MorphoBlue\_Withdraw\_event

Withdraw event logs from Morpho Blue lending protocol containing market identifier, withdrawn asset amounts, share amounts, and participant addresses (caller, onBehalf, receiver). Used for tracking liquidity removals and position closures across Morpho lending markets.

<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_id`            | `STRING`    | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                                            |
  | `in_caller`        | `STRING`    | Address that initiated or requested the contract function call. Hex-encoded, 0x-prefixed, 42-character string.                                                       |
  | `in_onBehalf`      | `STRING`    | Address for whom the operation is being executed. Hex-encoded, 0x-prefixed, 42-character string.                                                                     |
  | `in_receiver`      | `STRING`    | Address that receives tokens, assets, or rewards from the transaction. Hex-encoded, 0x-prefixed, 42-character string.                                                |
  | `in_assets`        | `STRING`    | Number of asset units involved in the deposit or withdrawal transaction. String-encoded integer representing the asset quantity in the protocol's accounting system. |
  | `in_shares`        | `STRING`    | Number of shares involved in the deposit or withdrawal transaction. String-encoded integer representing the share quantity in the protocol's accounting system.      |
</Accordion>

<Accordion title="Sample Data">
  | in\_id                                                             | address                                    | removed | in\_assets              | in\_caller                                 | in\_shares                    | log\_index | in\_onBehalf                               | in\_receiver                               | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------------------------------ | ------------------------------------------ | ------- | ----------------------- | ------------------------------------------ | ----------------------------- | ---------- | ------------------------------------------ | ------------------------------------------ | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x18e2a37b9edab9d06b509a71f43f51d15581d1176aa91cf1a4cdf5ee3102ad37 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 10730486323562101569105 | 0x3f33f9f7e2d7cfbcbdf8ea8b870a6e3d449664c2 | 10730486323562101569105000000 | 333        | 0x3f33f9f7e2d7cfbcbdf8ea8b870a6e3d449664c2 | 0x3f33f9f7e2d7cfbcbdf8ea8b870a6e3d449664c2 | 77305670      | 2025-10-05T21:57:19.000Z | 0xae3a9c0c2d3a8e838a1f3a2eea1c2aaa8a0253a71e11a37afb666f1ea71dfc9d |
  | 0xfacd2aaa4ba788e9161c4572a44ce7bbe0944768fac271859d9034f2422e606c | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 873                     | 0x781fb7f6d845e3be129289833b04d43aa8558c42 | 873000000                     | 367        | 0x781fb7f6d845e3be129289833b04d43aa8558c42 | 0x781fb7f6d845e3be129289833b04d43aa8558c42 | 77275087      | 2025-10-05T03:51:48.000Z | 0x53a43978aa86fe3bd71aa8db33beda87ba14587b02e745b0c1b8af3970ec37aa |
  | 0xfacd2aaa4ba788e9161c4572a44ce7bbe0944768fac271859d9034f2422e606c | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 90000000000             | 0x781fb7f6d845e3be129289833b04d43aa8558c42 | 90000000000000000             | 1673       | 0x781fb7f6d845e3be129289833b04d43aa8558c42 | 0x781fb7f6d845e3be129289833b04d43aa8558c42 | 77288912      | 2025-10-05T12:03:41.000Z | 0x815cdb3a6e0facfc1e55a698e2f78486183640237d10d2fc4e46a73af3251a16 |
</Accordion>

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

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

***

### MorphoBlue\_WithdrawCollateral\_event

Collateral withdrawal events from Morpho Blue lending markets. Records the caller, beneficiary, recipient, market identifier, and withdrawn asset amount for tracking position liquidations and user collateral management.

<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_id`            | `STRING`    | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                                            |
  | `in_caller`        | `STRING`    | Address that initiated or requested the contract function call. Hex-encoded, 0x-prefixed, 42-character string.                                                       |
  | `in_onBehalf`      | `STRING`    | Address for whom the operation is being executed. Hex-encoded, 0x-prefixed, 42-character string.                                                                     |
  | `in_receiver`      | `STRING`    | Address that receives tokens, assets, or rewards from the transaction. Hex-encoded, 0x-prefixed, 42-character string.                                                |
  | `in_assets`        | `STRING`    | Number of asset units involved in the deposit or withdrawal transaction. String-encoded integer representing the asset quantity in the protocol's accounting system. |
</Accordion>

<Accordion title="Sample Data">
  | in\_id                                                             | address                                    | removed | in\_assets              | in\_caller                                 | log\_index | in\_onBehalf                               | in\_receiver                               | block\_number | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------------------------------ | ------------------------------------------ | ------- | ----------------------- | ------------------------------------------ | ---------- | ------------------------------------------ | ------------------------------------------ | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0x7506b33817b57f686e37b87b5d4c5c93fdef4cffd21bbf9291f18b2f29ab0550 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 24500784041462296039240 | 0xb261b51938a9767406ef83bbfbaafe16691b7047 | 304        | 0x9a98692ed992fdbfefd1e5a9a2cce1d0f8fb7e6e | 0x9a98692ed992fdbfefd1e5a9a2cce1d0f8fb7e6e | 69924678      | 2025-04-05T11:19:03.000Z | 0xf9785b9c1f983975b303474d8e4fbb124c150054cdc1dc3179d89cfffd25f7f8 |
  | 0x7506b33817b57f686e37b87b5d4c5c93fdef4cffd21bbf9291f18b2f29ab0550 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 2540650253122069400000  | 0xb261b51938a9767406ef83bbfbaafe16691b7047 | 393        | 0x9fb2e86637d4bb0b8092db29e9c43caa8634c9e9 | 0x9fb2e86637d4bb0b8092db29e9c43caa8634c9e9 | 69945772      | 2025-04-05T23:52:28.000Z | 0x2ff683575dbd507357590b58f0c2a248ae5d8c083f0eb84d9b7d460fd717c03a |
  | 0x7506b33817b57f686e37b87b5d4c5c93fdef4cffd21bbf9291f18b2f29ab0550 | 0x1bf0c2541f820e775182832f06c0b7fc27a25f67 | false   | 153556100000000000000   | 0xb261b51938a9767406ef83bbfbaafe16691b7047 | 175        | 0x9fb2e86637d4bb0b8092db29e9c43caa8634c9e9 | 0x9fb2e86637d4bb0b8092db29e9c43caa8634c9e9 | 69945890      | 2025-04-05T23:56:40.000Z | 0x34beee28593c490b6764fb2eb5642b3bcce8a42cd7d384eb5a02597f84c0a9b0 |
</Accordion>

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

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

***
