Pool Swap Menu Flow #24

Open
opened 2025-02-19 14:07:25 +01:00 by carlos · 1 comment
Member

We came up with a simple sketch on how the menu will look like with the introduction of the pool swap .We anticipate that the flow will be as here:

https://app.eraser.io/workspace/E8YvxTTqLze700xUSez3

Suggestions and any improvements before implementation will be appreciated.

We came up with a simple sketch on how the menu will look like with the introduction of the pool swap .We anticipate that the flow will be as here: https://app.eraser.io/workspace/E8YvxTTqLze700xUSez3 Suggestions and any improvements before implementation will be appreciated.
carlos added the
Kind/Feature
label 2025-02-20 07:02:54 +01:00
carlos added the
Priority
Low
label 2025-02-20 07:05:20 +01:00
carlos added
Priority
High
and removed
Priority
Low
labels 2025-02-20 07:21:46 +01:00

1. Select pool menu

User should be able to select a pool from a list or enter the pool symbol manually. The list will be provided by an API. An additional endpoint will be provided to fetch a pool's details given its symbol.

  • API endpoint to fetch pool list
  • API endpoint to resolve pool details from pool symbol

2. Select voucher symbol to swap FROM

User should be able to choose the voucher symbol to swap from from a list. The list will be provided by an API. Generally they won't need to enter the voucher symbol because we will check it against their current holdings and populate the list accordingly.

  • API endpoint to fetch voucher list that the user can swap FROM

3. Select voucher symbol to swap FROM

User should be able to choose the voucher symbol to swap from from a list. The list will be provided by an API endpoint. Priority is given to popular stable coins available.

  • API endpoint to fetch voucher list that the user can swap TO

4. Display voucher swap limits

Ensure that the limits have the symbol suffixed. e.g. Max 10 SRF, Min 1 SRF. The limits will be provided by an API endpoint.

  • API endpoint to display possible limits of swap

4. Swap preview

Display the swap preview and estimates. This will be provided by an API endpoint.

  • API endpoint to display swap preview.

5. Execute swap

Send a request to the custodial system.

## 1. Select pool menu User should be able to select a pool from a list or enter the pool symbol manually. The list will be provided by an API. An additional endpoint will be provided to fetch a pool's details given its symbol. - [ ] API endpoint to fetch pool list - [ ] API endpoint to resolve pool details from pool symbol ## 2. Select voucher symbol to swap FROM User should be able to choose the voucher symbol to swap from from a list. The list will be provided by an API. Generally they won't need to enter the voucher symbol because we will check it against their current holdings and populate the list accordingly. - [ ] API endpoint to fetch voucher list that the user can swap FROM ## 3. Select voucher symbol to swap FROM User should be able to choose the voucher symbol to swap from from a list. The list will be provided by an API endpoint. Priority is given to popular stable coins available. - [ ] API endpoint to fetch voucher list that the user can swap TO ## 4. Display voucher swap limits Ensure that the limits have the symbol suffixed. e.g. Max 10 SRF, Min 1 SRF. The limits will be provided by an API endpoint. - [ ] API endpoint to display possible limits of swap ## 4. Swap preview Display the swap preview and estimates. This will be provided by an API endpoint. - [x] API endpoint to display swap preview. ## 5. Execute swap Send a request to the custodial system.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: grassrootseconomics/sarafu-vise#24
No description provided.