-
Notifications
You must be signed in to change notification settings - Fork 241
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
#bug; Aave MintToTreasury()
not being properly tracked
#2055
Comments
We can actually just watch this event and update the respective treasury supply position when executed |
Treasury is set on AToken init and cannot be changed: https://github.com/aave/aave-v3-core/blob/master/contracts/protocol/tokenization/AToken.sol#L76 |
This will be done after #1519 is closed |
github-project-automation
bot
moved this from In Review
to Deploy To Hosted Service
in Subgraph Development
Jul 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
aTokens being minted to the treasury are not being tracked as positions since we are dismissing mint transfer events.
To fix this we need to add a check to allow position updates on mints that go
to
a treasury address.Without this fix, treasury addresses will not have accurate position.balance / positionSnapshots
The text was updated successfully, but these errors were encountered: