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 expiry and settlement functions to ViewPositions button #702

Merged
merged 1 commit into from Sep 18, 2019

Conversation

mrice32
Copy link
Member

@mrice32 mrice32 commented Sep 18, 2019

This will effectively force the user to take settlement or expiry actions if possible before moving to the ManagePositions page.

Signed-off-by: Matthew Rice <matthewcrice32@gmail.com>
@mrice32 mrice32 requested a review from ptare September 18, 2019 15:24
text: "Expire Contract",
handler: expireHandler
};
} else if (isContractSponsor && !isApproved) {
Copy link
Member Author

@mrice32 mrice32 Sep 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ptare one minor note here: Not sure if we should prefer showing the approval button or the expiry/settlement buttons if both actions are possible. Curious to hear your thoughts.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preferring settle and expire seem right to me. Even if we allow them to approve first, the dapp won't let them deposit or create tokens anyway because they can't get to the Manage Positions page.

@mrice32 mrice32 merged commit 8915a32 into UMAprotocol:master Sep 18, 2019
@mrice32 mrice32 deleted the expiry_button branch September 18, 2019 16:08
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 this pull request may close these issues.

None yet

2 participants