oso
oso copied to clipboard
Create staging models (and seed data) for TVL volume and LP fees
What is it?
Sample staging model: https://github.com/opensource-observer/oso/blob/main/warehouse/oso_sqlmesh/models/staging/defillama/stg_defillama__tvl_events.sql
Sample seed data: https://github.com/opensource-observer/oso/blob/main/warehouse/metrics_tools/seed/schemas/defillama/tvl_events.py
Definition of done:
- Staging models execute locally using seed data
- Staging models execute off real data and are available in pyoso
Seed data commit: https://github.com/opensource-observer/oso/pull/4042/commits/3eecd7f3335a23f23a0dad93f350c0ad75b2a784
Staging models commit: https://github.com/opensource-observer/oso/pull/4049/commits/7b273c05d1b98499077e01d0a66b93b3b40a8525