Skip to main content

Table Details

PropertyValue
Table Namecelo.lending.liquidations
Table StatusProduction-Ready
Unique Keyblock_timestamp, unique_id
Clustering Key(s)block_timestamp::date

Table Columns

Column NameData TypeDescription
projectVARCHAR(16777216)Name of the lending project
protocolVARCHAR(16777216)Underlying protocol that the lending protocol is utilising
lending_eventVARCHAR(16777216)Type of lending event (always ‘liquidations’ for this table)
event_nameVARCHAR(16777216)Name of the event
market_addressVARCHAR(16777216)Address of the lending market where the liquidation occurred
borrower_addressVARCHAR(16777216)Address of the borrower being liquidated
liquidator_addressVARCHAR(16777216)Address of the liquidator performing the liquidation
token_addressVARCHAR(16777216)Address of the collateral token being liquidated
token_nameVARCHAR(16777216)Name of the collateral token being liquidated
token_symbolVARCHAR(16777216)Symbol of the collateral token being liquidated
token_decimalsNUMBER(38,0)Number of decimals of the collateral token
raw_amount_strVARCHAR(16777216)Raw amount of collateral liquidated, in string to retain precision
amount_strVARCHAR(16777216)Normalised amount of collateral liquidated, in string to retain precision
amountFLOATNormalised amount of collateral liquidated
usd_amountFLOATUSD value of the collateral liquidated at the time of the transaction
usd_exchange_rateFLOATHourly USD exchange rate of the collateral token
repay_token_addressVARCHAR(16777216)Address of the token used to repay the debt. This is null for Compound V3 events
repay_token_nameVARCHAR(16777216)Name of the token used to repay the debt. This is null for Compound V3 events
repay_token_symbolVARCHAR(16777216)Symbol of the token used to repay the debt. This is null for Compound V3 events
repay_token_decimalsNUMBER(38,0)Number of decimals of the repayment token. This is null for Compound V3 events
repay_raw_amount_strVARCHAR(16777216)Raw amount of debt repaid, in string to retain precision. This is null for Compound V3 events
repay_amount_strVARCHAR(16777216)Normalised amount of debt repaid, in string to retain precision. This is null for Compound V3 events
repay_amountFLOATNormalised amount of debt repaid. This is null for Compound V3 events
repay_usd_amountFLOATUSD value of the debt repaid at the time of the transaction. This is null for Compound V3 events
extra_fieldsVARIANTAdditional protocol-specific fields from the event
transaction_hashVARCHAR(16777216)Transaction hash of the liquidation event
transaction_indexNUMBER(38,0)Index of the transaction in the block
transaction_from_addressVARCHAR(16777216)Address of the sender of the liquidation transaction
transaction_to_addressVARCHAR(16777216)Address of the recipient of the liquidation transaction
log_indexNUMBER(38,0)Index of the log in the transaction
topic0VARCHAR(16777216)Topic 0 of the event
block_numberNUMBER(38,0)Block number of the liquidation event
block_timestampTIMESTAMP_NTZ(9)Timestamp of the block
block_hashVARCHAR(16777216)Hash of the block
unique_idVARCHAR(16777216)Unique ID of the liquidation event
_created_atTIMESTAMP_NTZ(9)Timestamp of when the event was created
_updated_atTIMESTAMP_NTZ(9)Timestamp of when the event was last updated