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

feat: add excluded tokens in osnap llama adapter config #4553

Merged
merged 3 commits into from
May 9, 2023

Conversation

md0x
Copy link
Contributor

@md0x md0x commented May 9, 2023

Motivation

DefiLlama wants us to remove issued tokens from avatars DefiLlama/DefiLlama-Adapters#6097

Summary

Add excluded tokens list for each avatar

@md0x md0x marked this pull request as ready for review May 9, 2023 10:20
Signed-off-by: Pablo Maldonado <[email protected]>
Copy link
Member

@mrice32 mrice32 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, just one comment!

"0x0391d2021f89dc339f60fff84546ea23e337750f",
"0x64aa3364f17a4d01c6f1751fd97c2bd3d7e7f1d5",
"0x03ab458634910aad20ef5f1c8ee96f1d6ac54919",
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
Copy link
Member

Choose a reason for hiding this comment

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

Isn't WETH already in the list? Would adding it twice double count the WETH? If so, maybe we should force-format the tokens in this list and eliminate duplicates in the script that reads this just to be sure that never happens.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @mrice32,
My new commit in DefiLlama removes duplicates but that's a good catch

Signed-off-by: Pablo Maldonado <[email protected]>
@md0x md0x merged commit 9a51c0c into master May 9, 2023
@md0x md0x deleted the md0x/update-osnap-config branch May 9, 2023 15:35
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.

3 participants