-
Notifications
You must be signed in to change notification settings - Fork 233
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
AMM contract needs to give Wallet UI feedback for rejected offers #3056
Comments
See #4360 |
Possibly the work needs to be done in AMM and/or Zoe before the Wallet can know it failed. Rejected vs. Satisfied offer. |
As discussed in Eng Sync today, we need to have the correct feedback to the user, to be implemented between the UI and the AMM contract (not a fundamental change to Zoe). |
The punch line is correct "not a fundamental change to Zoe", but the description can be misundertood ("between the UI and the AMM contract"). The problem is that the contract can lie about whether the offer's We have talked about Zoe making this more convenient, such as by adding a method to UserSeat. The "not a fundamental change to Zoe" is that the wallet UI doesn't actually need Zoe to provide it more than it currently does, since the wallet UI has the proposal and the payouts. |
We can add a function ( |
Background:
Current behavior: a user performs a trade on the AMM. The resulting offer rejects due to failed offer safety - perhaps the AMM price moved too much in between. The failure shows in logs but to the user the trade simply never resolves. No indication is given of the failure.
The wallet needs to provide some indication of transaction success/failure to the user. Perhaps a history of offers?
The text was updated successfully, but these errors were encountered: