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

Requirements Checklist #3

Open
11 tasks
poplexity opened this issue Dec 17, 2024 · 0 comments
Open
11 tasks

Requirements Checklist #3

poplexity opened this issue Dec 17, 2024 · 0 comments

Comments

@poplexity
Copy link
Member

Contract

  • Contract receives pToken TLOS and sends back OFT TLOS at a ratio of 1:1
  • Owner of contract can withdraw either token in the case of users sending directly to contract by accident
  • Contract can only redeem as much pToken TLOS as it has OFT TLOS in it's own balance

UI

  • Should have very simple feel, light Telos branding (no header/menu)
  • Login with all supported wallets
  • Disconnect button when logged in
  • Show balance of pToken with a button to swap it
  • Show in smaller text the balance of OFT
  • When clicked, the swap button does an approval
  • Once approved, user is prompted to call the swap function
  • Balances are updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant