version: 2
models:
  - name: core__fact_daily_balances
    description: A table that contains a daily balance entry for both staked and liquid balance of wallets on the Osmosis chain. 
    columns:
      - name: DATE
        description: The day the balance was recorded on. 
        tests: 
          - not_null
      - name: BALANCE_TYPE
        description: One of "staked", "liquid", "locked liquidity", "superfluid staked" or "pool" corresponding to how the currency is in the wallet. 
        tests: 
          - not_null
      - name: ADDRESS
        description: "{{ doc('address') }}"
        tests: 
          - not_null
      - name: BALANCE 
        description: The amount of the currency the wallet held at the given time
        tests: 
          - not_null
      - name: CURRENCY
        description: "{{ doc('currency') }}"
        tests: 
          - not_null
      - name: DECIMAL 
        description: "{{ doc('decimal') }}"
      
