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

ANJ: converter refresh (encapsulate both Uniswap and bonding curve) #290

Open
sohkai opened this issue Feb 21, 2020 · 0 comments
Open

ANJ: converter refresh (encapsulate both Uniswap and bonding curve) #290

sohkai opened this issue Feb 21, 2020 · 0 comments
Assignees
Labels
network Related to the Aragon Network websites Related to Aragon or Aragon One websites

Comments

@sohkai
Copy link

sohkai commented Feb 21, 2020

Idea

User story

As a user, I would like to get the best price when I want to convert ANT into ANJ, or convert from ANJ to ANT.

Requirements

  • The user must be able to see their wallet and registry activated balances of ANJ
  • The user must be able to select whether they want to convert into ANJ or back from ANJ ("buy" vs. "sell")
  • On token -> ANJ:
    • The user must be able to select multiple token sources when converting into ANJ via Uniswap
      • If ANT is picked, the converter should take into consideration both the Uniswap rate and the bonding curve rate, and suggest one over the other to the user if there is a big differential (if not great, default to Uniswap)
  • On ANJ -> token:
    • We should only provide ANT as a token; any other tokens should be done via Uniswap directly
    • Similarly to the other direction, the converter should take into consideration both sources

Notes:

  • The Uniswap wrapper can immediately activate any received ANJ, whereas the bonding curve cannot (so it will always directly going to the user's wallet)
@sohkai sohkai added websites Related to Aragon or Aragon One websites network Related to the Aragon Network labels Feb 21, 2020
@sohkai sohkai added this to the Sprint 50 milestone Feb 21, 2020
@sohkai sohkai modified the milestones: Sprint 50, Sprint 51 Mar 16, 2020
@sohkai sohkai mentioned this issue Mar 20, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
network Related to the Aragon Network websites Related to Aragon or Aragon One websites
Projects
None yet
Development

No branches or pull requests

2 participants