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: Limit Orders #201

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

Conversation

efecarranza
Copy link
Contributor

Changelog

Add method to do a limit swap order.
Add method to cancel a limit swap order.
Refactor code to DRY swap functionality.
Update README to add information on limit orders.
Add natspec.

Tests

Sample ERC20 to ERC20 swap with 18 decimals: https://explorer.cow.fi/address/0x75a37623F8308eDaA2C21D8B51B91393A9E4033a
https://etherscan.io/tx/0x2186f0cabbbf1930b436783eca69328bfa5a7453c1c7d9a6ed9d7818b3ad9729

Sample ERC20 to ERC20 swap with 6 decimals:
https://explorer.cow.fi/address/0x141764c308997ec2a3AFE2cBAA1307610b126c01
https://etherscan.io/tx/0x135a6218866f050634bf52e699b93a9374c12cba19d2de104aa8296e86d0ce51

@brotherlymite
Copy link
Contributor

Could you also update to the latest master or update the libs

@efecarranza
Copy link
Contributor Author

@brotherlymite updated!

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