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

# angle_v1_polygon

> Tables in tt-contracts.angle_v1_polygon

## Tables

### VaultManager\_InterestAccumulatorUpdated\_event

Interest accumulator update events emitted by Angle Protocol vault managers tracking cumulative interest calculations. Records timestamp and accumulated interest value for debt tracking in collateralized debt positions (CDPs).

<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_value`         | `STRING`    | Amount of tokens transferred, minted, or burned in the operation. Numeric string representation preserving precision for large integer values.       |
  | `in_timestamp`     | `STRING`    | Unix timestamp when the event or operation occurred. Numeric string representation of seconds since epoch.                                           |
</Accordion>

<Accordion title="Sample Data">
  | address                                    | removed | in\_value                    | log\_index | block\_number | in\_timestamp | block\_timestamp         | transaction\_hash                                                  |
  | ------------------------------------------ | ------- | ---------------------------- | ---------- | ------------- | ------------- | ------------------------ | ------------------------------------------------------------------ |
  | 0xfb16d8e96c0c6e9b72541bfd8d4c3d9e867c990b | false   | 1006082221459047398098133612 | 121        | 47681084      | 1695019169    | 2023-09-18T06:39:29.000Z | 0xbbf69d171c3d7f8fe2ae0656291a87cfdbb435a7895261211ce01754d038f5ed |
  | 0xfb16d8e96c0c6e9b72541bfd8d4c3d9e867c990b | false   | 1012774670151363850539112010 | 30         | 51041574      | 1702376412    | 2023-12-12T10:20:12.000Z | 0x41106ae4b0c74b56e2c8a9d627bd47e3b6c8c3fb1e42b52b079254b1af350699 |
  | 0xfb16d8e96c0c6e9b72541bfd8d4c3d9e867c990b | false   | 1012761764696540995131426739 | 180        | 51037106      | 1702366166    | 2023-12-12T07:29:26.000Z | 0x7f28965d75852dd6761958c2688ecb1b904dd9bc81497a182a89ab5389fcb047 |
</Accordion>

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

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

***

### VaultManager\_InternalDebtUpdated\_event

Debt position updates for collateralized vaults in Angle Protocol, recording changes to internal debt amounts. Contains vault identifier, debt amount delta, and direction flag (increase or decrease) for tracking borrowing activity and liquidation events.

<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_vaultID`        | `STRING`    | Unique identifier for the vault position within the Angle Protocol VaultManager contract. Numeric string representation of an integer ID.            |
  | `in_internalAmount` | `STRING`    | Internal debt amount denominated in the smallest unit of the stablecoin. Numeric string representation of wei-equivalent units.                      |
  | `in_isIncrease`     | `INT64`     | Boolean flag indicating whether the internal debt update represents an increase or decrease. Integer encoded as 1 for increase, 0 for decrease.      |
</Accordion>

<Accordion title="Sample Data">
  | address                                    | removed | log\_index | in\_vaultID | block\_number | in\_isIncrease | block\_timestamp         | transaction\_hash                                                  | in\_internalAmount      |
  | ------------------------------------------ | ------- | ---------- | ----------- | ------------- | -------------- | ------------------------ | ------------------------------------------------------------------ | ----------------------- |
  | 0xfb16d8e96c0c6e9b72541bfd8d4c3d9e867c990b | false   | 712        | 1024        | 46461318      | 0              | 2023-08-18T15:26:15.000Z | 0x0b643b1183b37272c401701425b5e47648274cee547a6b7aaa0e36b87369584a | 1988353838613502435080  |
  | 0xfb16d8e96c0c6e9b72541bfd8d4c3d9e867c990b | false   | 283        | 313         | 46465190      | 0              | 2023-08-18T17:44:23.000Z | 0x05e7f521ad144525dd02c01626b20580978897adb0380c8bb04d53ac135db4cc | 49718470113286415877632 |
  | 0x0945de4f356de3569fe12850ab85a91f533b87a0 | false   | 368        | 36          | 46469572      | 0              | 2023-08-18T20:20:09.000Z | 0x3abbfbae442fbc384dab90622ae5aa4e0606e90bf561ddee796114d3412d6ce2 | 524474981225610357183   |
</Accordion>

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

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

***
