oso icon indicating copy to clipboard operation
oso copied to clipboard

Get funding events flowing into timeseries metrics

Open ccerv1 opened this issue 9 months ago • 2 comments

What is it?

We want timeseries metrics for funding events, probably with some semantic conventions that concatenate the FUNDER and MECHANISM into the stem of the metric_name and then create additional event types based on whether the funding is awarded, claimed, etc.

We also need to create some kind of default project wallet artifact, if the funding isn't linked to an onchain event. My proposal would be to use the OSO project_name for the time being.

So an entry like

{
  "to_project_name": "1hive",
  "amount": 3026.0,
  "funding_date": "2023-03-29",
  "from_funder_name": "dao-drops-dorgtech",
  "grant_pool_name": "round_1",
}

Becomes a funding event like:

- time: "2023-03-29"
- event_source: "OSS-FUNDING"
- event_type: "FUNDING_AWARDED"
- to_artifact_name: "1hive"
- to_artifact_namespace: "oso"
- from_artifact_name: "round_1"
- from_artifact_namespace: "dao-drops-dorgtech"
- amount: 3026.0

and ultimately a metric like:

- sample_date: "2023-03-29"
- metric_id: oso_id("OSO", "oso", "DAO-DROPS-DORGTECH-ROUND_1_funding_awarded_daily")
- artifact_id: oso_entity_id("OSS-FUNDING", "oso", "1hive")
- amount: 3026.0 
- unit: "USD"

In doing so, we should also get RegenData flowing again and ingest our CSVs from the oss-funding repo.

ccerv1 avatar Apr 17 '25 22:04 ccerv1

@ccerv1 PR: https://github.com/opensource-observer/oso/pull/3660

evanameyer1 avatar Apr 29 '25 18:04 evanameyer1