Skip to content

Implement dispute resolution voting#140

Open
justwe-bot wants to merge 1 commit into
sorosave-protocol:mainfrom
justwe-bot:codex/dispute-resolution-voting
Open

Implement dispute resolution voting#140
justwe-bot wants to merge 1 commit into
sorosave-protocol:mainfrom
justwe-bot:codex/dispute-resolution-voting

Conversation

@justwe-bot
Copy link
Copy Markdown

Fixes #14

Summary

  • Add member-based dispute voting through vote_on_dispute(member, group_id, approve).
  • Track approve/reject vote counts and prevent duplicate votes per dispute.
  • Add configurable dispute quorum with a 50% default and auto-resolve disputes when approving votes exceed quorum.
  • Keep the existing admin/protocol-admin dispute resolution path intact.

Verification

  • cargo test
  • cargo build

Note: cargo build --target wasm32-unknown-unknown --release could not be completed locally because the Rust wasm32-unknown-unknown target is not installed and rustup target add wasm32-unknown-unknown stalled while downloading the component.

Bounty note: requesting assignment/consideration if #14 is still bounty-eligible.

@justwe-bot
Copy link
Copy Markdown
Author

If this PR is accepted for the bounty, please use this payout address:

Payout address: 0x69c25c0b82093513abaf8d9c50d17e0564e91505
Network: Arbitrum One
Token: USDT / USDT0

Please send only USDT/USDT0 on Arbitrum One to this address. If another network or token is preferred, please let me know before sending.

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.

Implement voting mechanism for dispute resolution

1 participant