-
Notifications
You must be signed in to change notification settings - Fork 29
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
Interactive UDC withdraw #2635
Interactive UDC withdraw #2635
Commits on Mar 24, 2021
-
sdk: refactor: split services epics
...into pathfinding, monitor and udc epics, since the generic epic module was already too big.
Configuration menu - View commit details
-
Copy full SHA for ab53506 - Browse repository at this point
Copy the full SHA ab53506View commit details -
sdk: refactor: make udcWithdrawn an async action
Now named udcWithdraw, and the previous udcWithdraw is renamed to udcWithdrawPlan. Also, a small refactoring to check if totalDeposit is outdated late, right before calling deposit (after approveIfNeeded$).
Configuration menu - View commit details
-
Copy full SHA for 76a1266 - Browse repository at this point
Copy the full SHA 76a1266View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f0ed5f - Browse repository at this point
Copy the full SHA 3f0ed5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01b01f6 - Browse repository at this point
Copy the full SHA 01b01f6View commit details -
sdk: udcWithdraw can be interactive, introduce config.autoUdcWithdraw
udcWithdraw phase (after plan) is now a request/success/failure epic. udcWithdraw.request is handled, dispatches the transaction, wait for it to be mined and output either success or failure. If config.autoUdcWithdraw is enabled (default), an epic will watch the blockchain for plans from us and dispatch the udcWithdraw.request
Configuration menu - View commit details
-
Copy full SHA for 0d9f10b - Browse repository at this point
Copy the full SHA 0d9f10bView commit details -
sdk: adds Raiden.getUdcWithdrawPlan,udcWithdraw methods
The former queries the UDC for currently planned withdraws, returning amount, block in which it becomes available and ready state; the later is to be called when config.autoUdcWithdraw is false and after plan is 'ready', and interactively performs the last UDC withdraw phase.
Configuration menu - View commit details
-
Copy full SHA for 5dfe080 - Browse repository at this point
Copy the full SHA 5dfe080View commit details -
Configuration menu - View commit details
-
Copy full SHA for 809e375 - Browse repository at this point
Copy the full SHA 809e375View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63280a5 - Browse repository at this point
Copy the full SHA 63280a5View commit details
Commits on Mar 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 33a87cf - Browse repository at this point
Copy the full SHA 33a87cfView commit details -
sdk: rename Udc to UDC and address PR comments
- Raiden.udcWithdraw -> Raiden.withdrawFromUDC - Raiden.planUdcWithdraw -> Raiden.planUDCWithdraw - config.autoUdcWithdraw -> config.autoUDCWithdraw - 100 -> constants.UDC_WITHDRAW_TIMEOUT
Configuration menu - View commit details
-
Copy full SHA for 9b6f0a6 - Browse repository at this point
Copy the full SHA 9b6f0a6View commit details