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

escrow smart contract #3

Closed
seichris opened this issue Jan 16, 2021 · 2 comments
Closed

escrow smart contract #3

seichris opened this issue Jan 16, 2021 · 2 comments
Labels

Comments

@seichris
Copy link
Owner

Flow:

  1. funder funds an issue
  2. second funder funds the same issue
  3. developer solves issue and requests payout
    4a. funder allows payout
    4b. fund does not allow payout, and judge decides on payout

Questions:

  • can we reuse octobay's contracts? Other templates?
  • if we offer projects to use our escrow contract, how to set a project judge?
@seichris seichris added the v1 label Jan 16, 2021
@dohaki
Copy link

dohaki commented Jan 17, 2021

Maybe something like this makes sense https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/payment/escrow/RefundEscrow.sol?

@seichris
Copy link
Owner Author

the contract should allow for

  1. funder 1 funds the issue
  2. funder 2 funds the issue
  3. funder 3 funds the issue
  4. funder 3 ragequits his funds
  5. developer 1 commits to solving the issue, in certain time frame
  6. developer 2 commits to helping for 50% of the funds
    a. developers finish > payout 50/50 to each dev
    b. developer 1 finishes > payout 100%
    c. developers fail > payback to funders
    d. everyone is angry > repo admin as judge decides over funds

@seichris seichris closed this as completed Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants