mirror of
https://github.com/FlipsideCrypto/osmosis-models.git
synced 2026-02-06 11:47:03 +00:00
* check in * check in * silver * gold views * remove dupe test, adjust silver logiv * warning for pools with > 4 assets
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
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: 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 |