Skip to main content
Schema: thorchain.defi Table: fact_daily_pool_stats Type: Base Table Fact table that shows the total valued locked and the total value bonded/pooled

Columns

Column NameData TypeDescription
FACT_DAILY_POOL_STATS_IDTEXTThe surrogate key for the table. Will be unique and is used as a foreign key in other tables
DAYDATEThe unique transaction id
POOL_NAMETEXTName of the pool — also asset name in other tables
SYSTEM_REWARDSFLOATThe total daily system rewards in RUNE to the pool
SYSTEM_REWARDS_USDFLOATThe total daily system rewards in USD to the pool
ASSET_LIQUIDITYFLOATThe total asset liquidity for this pool
ASSET_PRICENUMBERCurrent asset price
ASSET_PRICE_USDFLOATCurrent asset price in USD
RUNE_LIQUIDITYFLOATThe total RUNE liquidity for this pool
RUNE_PRICEFLOATCurrent RUNE price
RUNE_PRICE_USDFLOATCurrent RUNE price in USD
ADD_LIQUIDITY_COUNTNUMBERHow many times to add liquidity to the pool
ADD_ASSET_LIQUIDITYFLOATThe total amount of asset liquidity added to the pool
ADD_ASSET_LIQUIDITY_USDFLOATThe total amount in usd of asset liquidity added to the pool
ADD_RUNE_LIQUIDITYFLOATThe total amount of RUNE liquidity added to the pool
ADD_RUNE_LIQUIDITY_USDFLOATThe total amount in usd of RUNE liquidity added to the pool
WITHDRAW_COUNTNUMBERTime to withdraw from the pool
WITHDRAW_ASSET_LIQUIDITYFLOATThe total amount of asset withdrawn from the pool
WITHDRAW_ASSET_LIQUIDITY_USDFLOATThe total amount in USD of asset withdrawn from the pool
WITHDRAW_RUNE_LIQUIDITYFLOATThe total amount of RUNE withdrawn from the pool
WITHDRAW_RUNE_LIQUIDITY_USDFLOATThe total amount in USD of RUNE withdrawn from the pool
IL_PROTECTION_PAIDFLOATImpermanent loss protection cost paid to the network
IL_PROTECTION_PAID_USDFLOATImpermanent loss protection cost in USD paid to the network
AVERAGE_SLIPNUMBERAverage slippage
TO_ASSET_AVERAGE_SLIPNUMBERWhen swap from RUNE to Asset, the average slippage
TO_RUNE_AVERAGE_SLIPNUMBERWhen swap from Asset to RUNE, the average slippage
SWAP_COUNTNUMBERTotal number of swaps
TO_ASSET_SWAP_COUNTNUMBERTotal number of swaps from RUNE TO Asset
TO_RUNE_SWAP_COUNTNUMBERTotal number of swaps from Asset TO RUNE
SWAP_VOLUME_RUNEFLOATThe swap amount of RUNE
SWAP_VOLUME_RUNE_USDFLOATThe swap amount of RUNE in USD
TO_ASSET_SWAP_VOLUMEFLOATThe swap volume from RUNE to Asset
TO_RUNE_SWAP_VOLUMEFLOATThe swap volume from Asset to RUNE
TOTAL_SWAP_FEES_RUNEFLOATTotal swap fees in RUNE
TOTAL_SWAP_FEES_USDFLOATTotal swap fees in USD
TOTAL_ASSET_SWAP_FEESFLOATTotal asset swap fees in asset
TOTAL_ASSET_RUNE_FEESFLOATTotal asset swap fees in RUNE
UNIQUE_MEMBER_COUNTNUMBERAll memberships with a rune address. Take the member from rune and asset and then subtract the balance = 0 then get the results
UNIQUE_SWAPPER_COUNTNUMBERThe unique swap address for this pool
LIQUIDITY_UNITSNUMBERThe amount of units for the liquidity in the pool
_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.