Skip to main content
Schema: 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 NameData TypeDescription
FACT_LIQUIDITY_ACTIONS_IDTEXTThe surrogate key for the table. Will be unique and is used as a foreign key in other tables
BLOCK_TIMESTAMPTIMESTAMP_NTZTimestamp of block minting(without a timezone)
DIM_BLOCK_IDTEXTFK to DIM_BLOCK table
TX_IDTEXTThe unique transaction id
LP_ACTIONTEXTThe direction of the liquidity providers, add or remove the liquidity
POOL_NAMETEXTName of the pool — also asset name in other tables
FROM_ADDRESSTEXTThe account public key
TO_ADDRESSTEXTThe account public key
RUNE_AMOUNTFLOATHow many RUNE liquidity added/removed
RUNE_AMOUNT_USDFLOATHow many RUNE liquidity added/removed in USD
ASSET_AMOUNTFLOATHow many Asset liquidity added/removed
ASSET_AMOUNT_USDFLOATHow many Asset liquidity added/removed in USD
STAKE_UNITSNUMBERStake 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_IDTEXT
ASSET_ADDRESSTEXT
ASSET_BLOCKCHAINTEXT
IL_PROTECTIONFLOAT
IL_PROTECTION_USDFLOAT
UNSTAKE_ASYMMETRYFLOAT
UNSTAKE_BASIS_POINTSNUMBER
_INSERTED_TIMESTAMPTIMESTAMP_NTZ
_AUDIT_RUN_IDTEXT
INSERTED_TIMESTAMPTIMESTAMP_NTZThe utc timestamp at which the row was inserted into the table.
MODIFIED_TIMESTAMPTIMESTAMP_NTZThe utc timestamp at which the row was last modified.