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

Update swap path cREAL / MOO, MOO / CELO #38

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

Conversation

x-moola
Copy link
Contributor

@x-moola x-moola commented Oct 12, 2022

Found a mistake in the swap path for cREAL and MOO that caused repay MOO debt using cREAL collateral to fail. The error code was 1: Errors.VL_INVALID_AMOUNT.

After updating the swap path, repay is working.
One successful transaction:
https://explorer.celo.org/mainnet/tx/0x071d1e4e68711c9ac68b8071f2cb215fa57a65cd53e95b764a73e97952abc9ca/token-transfers

Eventually, this should be updated to use the path generation logic from Artem's auto repay bot PR, but before that PR is merged, I think we probably can continue using this for now 🤔

Related JIRA ticket:
https://moolamarket.atlassian.net/browse/AMM-1664

@x-moola x-moola changed the title Update swap path cREAL / MOO Update swap path cREAL / MOO, MOO / CELO Oct 17, 2022
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.

1 participant