flow-models/models/silver/silver__labels_pools_metapier.yml
Jack Forgash 06643d4fd9
An 2434/swap labels (#86)
* need to match poolid to contract

* pier swap pool labels

* metapier labels test & docs

* swaps labels core view

* doc comment
2022-11-17 15:41:06 -05:00

51 lines
1.1 KiB
YAML

version: 2
models:
- name: silver__labels_pools_metapier
description: |-
Looks for new PoolCreated events from the Metapier factory and recordes info.
columns:
- name: tx_id
description: "{{ doc('tx_id') }}"
tests:
- not_null
- unique
- name: deployment_timestamp
description: "{{ doc('deployment_timestamp') }}"
tests:
- not_null
- name: token0_contract
description: "{{ doc('token0_contract') }}"
tests:
- not_null
- name: token1_contract
description: "{{ doc('token1_contract') }}"
tests:
- not_null
- name: pool_id
description: "{{ doc('pool_id') }}"
tests:
- not_null
- unique
- name: vault_address
description: "{{ doc('vault_address') }}"
tests:
- not_null
- unique
- name: swap_contract
description: "{{ doc('swap_contract') }}"
tests:
- not_null
- name: _inserted_timestamp
description: "{{ doc('_inserted_timestamp') }}"
tests:
- not_null