thorchain.defi Table: fact_liquidity_actions Type: Base Table
Fact table containing the actions the liquidity providers do in the THORChain, with the amount in
RUNE/Asset
Columns
| Column Name | Data Type | Description |
|---|---|---|
| FACT_LIQUIDITY_ACTIONS_ID | TEXT | The surrogate key for the table. Will be unique and is used as a foreign key in other tables |
| BLOCK_TIMESTAMP | TIMESTAMP_NTZ | Timestamp of block minting(without a timezone) |
| DIM_BLOCK_ID | TEXT | FK to DIM_BLOCK table |
| TX_ID | TEXT | The unique transaction id |
| LP_ACTION | TEXT | The direction of the liquidity providers, add or remove the liquidity |
| POOL_NAME | TEXT | Name of the pool — also asset name in other tables |
| FROM_ADDRESS | TEXT | The account public key |
| TO_ADDRESS | TEXT | The account public key |
| RUNE_AMOUNT | FLOAT | How many RUNE liquidity added/removed |
| RUNE_AMOUNT_USD | FLOAT | How many RUNE liquidity added/removed in USD |
| ASSET_AMOUNT | FLOAT | How many Asset liquidity added/removed |
| ASSET_AMOUNT_USD | FLOAT | How many Asset liquidity added/removed in USD |
| STAKE_UNITS | NUMBER | Stake units are a way of representing how much liquidity an address has in the pool. THORChain converts the raw amounts you are depositing / withdrawing into stake_units to represent what % of the pool you own a claim to. |
| ASSET_TX_ID | TEXT | |
| ASSET_ADDRESS | TEXT | |
| ASSET_BLOCKCHAIN | TEXT | |
| IL_PROTECTION | FLOAT | |
| IL_PROTECTION_USD | FLOAT | |
| UNSTAKE_ASYMMETRY | FLOAT | |
| UNSTAKE_BASIS_POINTS | NUMBER | |
| _INSERTED_TIMESTAMP | TIMESTAMP_NTZ | |
| _AUDIT_RUN_ID | TEXT | |
| INSERTED_TIMESTAMP | TIMESTAMP_NTZ | The utc timestamp at which the row was inserted into the table. |
| MODIFIED_TIMESTAMP | TIMESTAMP_NTZ | The utc timestamp at which the row was last modified. |