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

Canonical schema update for lending and dex #57

Merged
merged 3 commits into from
Jan 28, 2025
Merged

Conversation

0xroll
Copy link
Contributor

@0xroll 0xroll commented Jan 24, 2025

Lending - there will be protocols that have several isolated markets. The current canonical schema will not be able to identify which market the pool belongs to. Without this, we will not be able to calculate non-recursive borrowing accurately.

DEX - currently liquidity provision events are mainly for v2/v3 forks. created a new schema to cover those protocols that do not fit in the current schema / have > 2 tokens . also included a new schema to identify positions that are in farming contracts

Copy link

@MurathanBagdat MurathanBagdat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@0xroll 0xroll merged commit aae3449 into main Jan 28, 2025
1 check passed
@0xroll 0xroll deleted the canonical-schema-update branch January 28, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants