Repository navigation
feat: implement invoice dispute arbitration tournament (#881) and cre… - #905
Merged
Merged
Conversation
…#881) and creator reputation NFT minting (Stellar-split#882) Issue Stellar-split#881 – Invoice Dispute Arbitration Tournament - Add ArbitrationTournament, ArbitrationTournamentStatus, TournamentVote types - Add InvoiceKey::ArbitrationTournament, CompoundKey::TournamentVote storage keys - Implement open_tournament, cast_tournament_vote, advance_tournament, cancel_tournament, get_tournament entry points - Multi-round voting: majority wins each round; ties break in favour of Refund - Final round auto-resolves the invoice (Released or Refunded) - Events: trn_open, trn_vote, trn_adv, trn_done, trn_cncl - Comprehensive tests covering votes, round advancement, duplicates, cancellation Issue Stellar-split#882 – Creator Reputation NFT Minting - Add RepNFT type and StorageKey::RepNftThreshold, AddressKey::RepNftCount, CompoundKey::RepNft storage keys - Implement mint_rep_nft, get_rep_nft, get_rep_nft_count, burn_rep_nft, set_rep_nft_threshold, get_rep_nft_threshold entry points - Score derived from existing RepScore formula; configurable admin threshold - Events: nft_mint, nft_burn, nft_thr - Comprehensive tests covering minting, threshold enforcement, burn, auth Supporting changes - Add ContractError::TournamentNotFound (84), TournamentAlreadyOpen (85), RepScoreTooLow (86) to error taxonomy - Make load_invoice, save_invoice, require_not_paused, admin_key, rep_key, invoice_key pub(crate) to support cross-module access - Deduplicate and clean .gitignore (134 lines)
|
@Nasa112197 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ator reputation NFT minting (#882)
Issue #881 – Invoice Dispute Arbitration Tournament
Issue #882 – Creator Reputation NFT Minting
Supporting changes
closes #881
closes #882