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

Optimistic recipient registry contract #290

Merged
merged 5 commits into from Mar 9, 2021

Conversation

xuhcc
Copy link
Contributor

@xuhcc xuhcc commented Feb 28, 2021

OptimisticRecipientRegistry is a recipient registry with optimistic execution of registrations and removals. Anyone can submit registration request (addRecipient()) or removal request (removeRecipient()) along with a deposit (in base currency, like ETH or XDAI).

There's a challenge period during which the contract owner (arbitrator) can reject request (challengeRequest()). If request is rejected, the arbitrator takes the deposit.

Once the challenge period is over, anyone can execute the request (executeRequest()). This action adds or removes the recipient and the deposit is sent back to requester.

@xuhcc xuhcc marked this pull request as draft March 3, 2021 13:08
@xuhcc xuhcc marked this pull request as ready for review March 6, 2021 00:16
@xuhcc xuhcc merged commit 55fcae5 into clrfund:develop Mar 9, 2021
@xuhcc xuhcc deleted the optimistic-registry branch June 26, 2021 09:20
daodesigner pushed a commit that referenced this pull request Sep 19, 2021
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

1 participant