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

DefiSaver integration: show user's safe position if available #22

Open
bout3fiddy opened this issue Apr 8, 2024 · 0 comments
Open

DefiSaver integration: show user's safe position if available #22

bout3fiddy opened this issue Apr 8, 2024 · 0 comments
Assignees

Comments

@bout3fiddy
Copy link

If a user with a defisaver position connects to lend.curve.fi or crvusd.curve.fi, then impersonate a different wallet address (the safe address)

Defisaver API information:

API: https://app.defisaver.com/safe/all-wallets?account=[address]&network=[chainId]

Example: https://app.defisaver.com/safe/all-wallets?account=0xEA57Dc30959eb17c506E4dA095fa9181f3E0Ac6D&network=1

It returns both the legacy DSProxy wallets as well as the new Safe wallets. If user has a safe with multiple owners, then it is not necessarily a defisaver safe.

@bout3fiddy bout3fiddy transferred this issue from curvefi/curve-js Apr 8, 2024
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

No branches or pull requests

2 participants