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 Swapper - TWAP Orders #225

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Conversation

efecarranza
Copy link
Contributor

@efecarranza efecarranza commented Jan 20, 2024

Changelog

Add TWAP orders to the Aave Swapper contract.
Add tests for TWAP orders.
Add documentation to README.

Builds on top of: #201

Comment on lines +166 to +167
address handler,
address relayer,
Copy link
Contributor

Choose a reason for hiding this comment

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

@efecarranza does it make sense to make these params as immutable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hey @brotherlymite when building the original AaveSwapper, feedback was provided that we should be allowed to pass the specific price checker, so that's why I went with that route for this even though they are not a price checker, but kind of the same concept. We could have it as a contract variable that can be updated as well in case of changes to the cow swap relayer or handler, though I doubt those values are likely to change.

@eboado If my memory serves me well, I think you and I had discussed this approach. Wanted to see if you had any thoughts around it. Thank you

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.

2 participants