Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial points snapshot for LRT EL points. #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions schemas/general/SCHEMA.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
26 changes: 25 additions & 1 deletion schemas/general/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
]
}