We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MintToTreasury()
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.
to
Without this fix, treasury addresses will not have accurate position.balance / positionSnapshots
The text was updated successfully, but these errors were encountered:
@bye43 we should do this after #1993 is complete and we know it is correct
Sorry, something went wrong.
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
dhruv-chauhan
Successfully merging a pull request may close this issue.
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: