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

[STORY] As a passport holder, I want to allow the Staking Contract to use my GTC so that I can enable identity staking #36

Closed
brentmartin opened this issue Aug 22, 2022 · 2 comments
Assignees

Comments

@brentmartin
Copy link

brentmartin commented Aug 22, 2022

Acceptance

Background:
GIVEN I am signed in with my Passport on Identity Staking App

WHEN I click the button to stake on “Stake on yourself”
THEN I see a modal that tells me I must first approve the use of GTC with the smart contract
AND WHEN I click the button to Approve GTC
THEN I will get a wallet transaction for me to sign and transact

WHEN I click the button to stake on “Stake on other people”
THEN I see a modal that tells me I must first approve the use of GTC with the smart contract
AND WHEN I click the button to Approve GTC
THEN I will get a wallet transaction for me to sign and transact

Notes

Transaction to approve

  • Detail: one transaction should approve the use of GTC for both community and self staking
  • Will approve any amount for now - consider informing the user of setting a max for security reasons
@brentmartin
Copy link
Author

@brentmartin
Copy link
Author

story points 1

farque65 added a commit that referenced this issue Aug 24, 2022
@farque65 farque65 reopened this Aug 24, 2022
@farque65 farque65 self-assigned this Aug 25, 2022
farque65 added a commit that referenced this issue Aug 29, 2022
- adds approval flow
- adds self staking call
- segments staking functionality to one modal

Closes #36
Closes #37
farque65 added a commit that referenced this issue Aug 30, 2022
- adds approval flow
- adds self staking call
- segments staking functionality to one modal

Closes #36
Closes #37
Closes #38
farque65 added a commit that referenced this issue Aug 31, 2022
- adds approval flow
- adds self staking call
- segments staking functionality to one modal

Closes #36
Closes #37
Closes #38
farque65 added a commit that referenced this issue Sep 1, 2022
- changes rebased against ui updates on dev
- stake amounts update
- side panel number updates

Closes #36
Closes #37
Closes #38
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

2 participants