version: 2
models:
  - name: silver__pool_balances
    tests:
      - dbt_utils.unique_combination_of_columns:
          combination_of_columns:
            - BLOCK_ID
            - POOL_ID
    columns:
      - name: BLOCK_ID
        tests:
          - not_null
      - name: BLOCK_TIMESTAMP
        tests:
          - not_null
          - dbt_expectations.expect_row_values_to_have_recent_data:
              datepart: day
              interval: 1
      - name: POOL_TYPE
        tests:
          - not_null
      - name: POOL_ADDRESS
        tests:
          - not_null
      - name: FUTURE_POOL_GOVERNOR
      - name: POOL_ID
        tests:
          - not_null
      - name: TOKEN_0_AMOUNT
        tests:
          - not_null
      - name: TOKEN_0_DENOM
        tests:
          - not_null
      - name: TOKEN_0_WEIGHT
      - name: TOKEN_1_AMOUNT
        tests:
          - not_null
      - name: TOKEN_1_DENOM
        tests:
          - not_null
      - name: TOKEN_1_WEIGHT
      - name: TOKEN_2_AMOUNT
      - name: TOKEN_2_DENOM
      - name: TOKEN_2_WEIGHT
      - name: TOKEN_3_AMOUNT
      - name: TOKEN_3_DENOM
      - name: TOKEN_3_WEIGHT
      - name: EXIT_FEE
        tests:
          - not_null
      - name: SMOOTH_WEIGHT_CHANGE_PARAMS
      - name: SWAP_FEE
        tests:
          - not_null
      - name: TOTAL_SHARES_AMOUNT
        tests:
          - not_null
      - name: TOTAL_SHARES_DENOM
        tests:
          - not_null
      - name: TOTAL_WEIGHT
      - name: SCALING_FACTOR_CONTROLLER
      - name: SCALING_FACTORS