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

Aave v2/v3 lending.supply macro fix - add WrappedTokenGateway lookup #7365

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tomfutago
Copy link
Contributor

@tomfutago tomfutago commented Dec 22, 2024

Thank you for contributing to Spellbook 🪄

Please open the PR in draft and mark as ready when you want to request a review.

Description:

Current logic for withdrawals on Aave v2/v3 defaults withdrawn_to to WrappedTokenGateway contract address, but doesn't show lender's address. This PR aims to fix this and output lender's address in on_behalf_of column (currently null).

Note: not all Aave forks use WrappedTokenGateway contract address in their implementation of the protocol, so this fix is applied only to Aave for the time being. Forks can be revisited later on.


quick links for more information:

@github-actions github-actions bot added WIP work in progress dbt: hourly covers the hourly dbt subproject labels Dec 22, 2024
@tomfutago tomfutago marked this pull request as ready for review December 22, 2024 13:03
@github-actions github-actions bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dbt: hourly covers the hourly dbt subproject ready-for-review this PR development is complete, please review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant