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

Allow the Staker to Accept openClaim #96

Open
1 task done
eduardo-munoz opened this issue Jul 30, 2018 · 0 comments
Open
1 task done

Allow the Staker to Accept openClaim #96

eduardo-munoz opened this issue Jul 30, 2018 · 0 comments

Comments

@eduardo-munoz
Copy link

eduardo-munoz commented Jul 30, 2018

Problem

  • The current implementation requires 3 transactions in order to settle on an openClaim. Two scenarios include:

    a) Claimant calls openClaim, Claimant calls proposeSettlement, Staker calls acceptSettlement
    b) Claimant calls openClaim, Staker calls proposeSettlement, Claimant calls acceptSettlement

Solution

  • Add a function (ex. acceptClaim) where the Staker can accept the Claimant's openClaim. This will minimize the flow from 3 transactions to 2 transactions
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