oso icon indicating copy to clipboard operation
oso copied to clipboard

Create staging models (and seed data) for TVL volume and LP fees

Open ccerv1 opened this issue 8 months ago • 1 comments

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

ccerv1 avatar May 20 '25 11:05 ccerv1

Seed data commit: https://github.com/opensource-observer/oso/pull/4042/commits/3eecd7f3335a23f23a0dad93f350c0ad75b2a784

evanameyer1 avatar Jun 04 '25 23:06 evanameyer1

Staging models commit: https://github.com/opensource-observer/oso/pull/4049/commits/7b273c05d1b98499077e01d0a66b93b3b40a8525

evanameyer1 avatar Jun 05 '25 03:06 evanameyer1