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

Add Dai withdrawal panel to the transaction page #359

Closed
11 tasks done
LukSteib opened this issue Jul 18, 2022 · 0 comments · Fixed by #365
Closed
11 tasks done

Add Dai withdrawal panel to the transaction page #359

LukSteib opened this issue Jul 18, 2022 · 0 comments · Fixed by #365
Assignees

Comments

@LukSteib
Copy link
Contributor

LukSteib commented Jul 18, 2022

Goal

A user is able to withdraw DAI from VAT from within the SurplusTransaction page

Context

After the test made we know now that once the deal() method on a collactable auction is called, the obtained DAI is transferred to the user's VAT balance. From there it can be withdrawn.
Hence we want to include the WithdrawDaiPanel to the TransactionPage

Tasks

  • Create WithdrawDAIPanel (for the base you might re-use the existing WithdrawCollateralPanel) - see Mock below
    • adjust to DAI
    • adjust the text
  • Include the existing WalletAuthorizationCheckPanel inside the withdrawal panel
  • Create stories for the different possible states
    • no DAI available in VAT
    • DAI available but authorization not given
    • DAI available and auth given
    • missing wallet
    • Loading
    • expert mode

Assets

WithdrawDAIPanel including the WalletAuthorizationCheckPanel

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

Successfully merging a pull request may close this issue.

2 participants