optimism-models/macros
drethereum 4528d47adf
AN-2548/op-ez-dex-swaps (#76)
* created core__ez_dex_swaps view

* added synthetix swaps models and adjusted velodrome / sushi models for necessary ez_dex columns

* fixed error in velo pools backfill seed causing duplicates

* fixed issue with silver prices causing duplicate token_address

* added univ3 pools and swaps models for integration into ez_dex_swaps

* replaced null event_names with swap

* added univ3 to dex_swaps and added not null event name test

* updated gitignore for dbt-env

* curve pools silver model

* added incremental logic to curve pools table

* adjusted data type on decimal column

* updated curve_pools and added curve_swaps

* case when for null event_name

* removed dbt-env

* snowflake tagging for ez_dex_swaps

* added beethoven swaps and pools tables, and joined them to ez_dex_swaps

* beethoven pools yml

* removed column from synthetix swaps yml

* recreated velodrome pools model using the reads udf

* change event_name to reference topic

* deleted velo_pools_backfill seed and hardcoded function sigs

* changed udf_hex_to_int ref to ethereum.public

* changed synthetix swaps to reference data instead of event inputs

* changed event_input references to data in beethoven models

* rounded usd values

* modified tx_to logic in curve swaps

* modified curve swaps for proper volumes
2023-02-02 13:15:54 -07:00
..
tags added tags, macros and updates to readme for snowflake tagging (#75) 2023-01-23 10:25:39 -07:00
tests AN-2581/unique-key-tx-test (#60) 2023-01-03 14:07:13 -07:00
.gitkeep Initial/setup (#1) 2022-06-16 19:05:07 -04:00
create_sps.sql AN-2390/update-vars-udf-sp-opt (#46) 2022-11-11 11:10:02 -07:00
create_udfs.sql AN-2548/op-ez-dex-swaps (#76) 2023-02-02 13:15:54 -07:00
custom_naming_macros.sql Initial/setup (#1) 2022-06-16 19:05:07 -04:00
custom_query_tag.sql custom query tags (#58) 2022-12-13 18:14:25 -08:00
db_comment.sql add db comment (#4) 2022-06-28 10:34:36 -04:00
run_sp_create_prod_clone.sql Initial/setup (#1) 2022-06-16 19:05:07 -04:00
sp_create_prod_clone.sql AN-2728/dev-tag-fix-op (#77) 2023-01-31 08:40:57 -07:00