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

Concurrent ASA-to-ASA swaps #20

Open
cusma opened this issue Jan 15, 2022 · 0 comments
Open

Concurrent ASA-to-ASA swaps #20

cusma opened this issue Jan 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@cusma
Copy link
Collaborator

cusma commented Jan 15, 2022

Issue
Since the ASA-to-ASA swap requires the offered ASA to be deposited in the Swapper Contract, there is a limitation for those users willing to concurrently swap a card for different possible requested cards.

Example
Let's say a user offers card A accepting either cards B, C or D as possible requested ASA. Since user has just 1 card A is not possible to open multiple requests for card B, C or D at the same time, since the user can only deposit A in one Swapper Contract at time.

Proposal
Adding an Or condition on requested ASA, so that the Swapper Contract could approve concurrent swaps with B, C or D at the same time, in the same Swapper Contract.

@cusma cusma added the enhancement New feature or request label Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant