From b59f33e88ed09fe1515041e5038ed018365ca4b1 Mon Sep 17 00:00:00 2001 From: Jeremy Melvin Date: Tue, 20 Aug 2024 10:07:25 -0700 Subject: [PATCH] Add initial points snapshot for LRT EL points. Add general EigenLayer points schema. --- schemas/general/SCHEMA.md | 11 +++++++++++ schemas/general/schema.json | 26 +++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/schemas/general/SCHEMA.md b/schemas/general/SCHEMA.md index e902691..3f0da52 100644 --- a/schemas/general/SCHEMA.md +++ b/schemas/general/SCHEMA.md @@ -63,4 +63,15 @@ Protocol level snapshot focused on incentives and users. | transaction_count | The number of transactions in this time period. | number | | fees_usd | The amount of fees in this given period, decimal normalized. | number | +### EigenLayer Points Snapshot + +User level snapshot of EigenLayer points earned by users in this protocol. + +| Property | Description | Type | +|-------------------------|-----------------------------------------------------------|--------| +| timestamp | The timestamp of the snapshot. | number | +| protocol_name | The name of the LRT protocol. | string | +| user_address | The address of the user earning points (lowercase only). | string | +| eigenlayer_points | The amount of EigenLayer points earned by this user (decimal normalized). | number | + > Note: This markdown file is auto-generated. diff --git a/schemas/general/schema.json b/schemas/general/schema.json index 679950c..7998060 100644 --- a/schemas/general/schema.json +++ b/schemas/general/schema.json @@ -158,6 +158,30 @@ "type": "number" } } - } + }, + { + "label": "EigenLayer Points Snapshot", + "tableName": "eigenlayer_points", + "aggregation": "daily", + "description": "User level snapshot of EigenLayer points earned by users in this protocol.", + "properties": { + "timestamp": { + "description": "The timestamp of the snapshot.", + "type": "number" + }, + "protocol_name": { + "description": "The name of the LRT protocol.", + "type": "string" + }, + "user_address": { + "description": "The address of the user earning points (lowercase only).", + "type": "string" + }, + "eigenlayer_points": { + "description": "The amount of EigenLayer points earned by this user (decimal normalized).", + "type": "number" + } + } + } ] }