Skip to main content
Schema: thorchain.defi Table: fact_pool_balance_change_events Type: Base Table Fact table that shows the change of the pool balance

Columns

Column NameData TypeDescription
FACT_POOL_BALANCE_CHANGE_EVENTS_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
ASSETTEXTSame as pool name, which pool this bond events happens
RUNE_AMOUNTNUMBERThe amount of rune for the pool balance change
RUNE_ADDBOOLEANFalse or True, if True, then the event is to add rune not asset
ASSET_AMOUNTNUMBERThe amount of asset for the pool balance change
ASSET_ADDBOOLEANFalse or True, if True, then the event is to add asset not rune
REASONTEXTThe reason for the pool balance change
_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.