request for the addition of orsini contribution to your repo#1
Open
orsinibear wants to merge 117 commits intobbkenny:mainfrom
Open
request for the addition of orsini contribution to your repo#1orsinibear wants to merge 117 commits intobbkenny:mainfrom
orsinibear wants to merge 117 commits intobbkenny:mainfrom
Conversation
- Add automated dispute resolution based on timestamps - Implement check-in/check-out recording system - Add evidence submission with IPFS hash support - Create voting mechanism for complex disputes - Support multiple resolution types (Automated, PendingVote, Manual) - Add moderator and voter authorization system
- Add getDisputeByEscrowId helper to PaymentEscrow - Update IParkingSpot interface with missing Booking fields - Fix DisputeResolution to properly access escrow dispute mappings - Make escrowToDispute mapping public for external contract access
- Add checkInTime and checkOutTime fields to Booking struct - Implement recordCheckIn and recordCheckOut functions - Add events for check-in/check-out recording - Enable both user and spot owner to record check-in/out
- Create dispute configuration file with thresholds and settings - Implement evidence handler utilities for frontend - Add IPFS upload and validation functions - Support multiple evidence types (image, video, document, timestamps) - Add evidence validation and metadata preparation helpers
- Create DisputeResolution contract ABI and types - Implement useDisputeResolution hook for dispute operations - Add hooks for reading dispute details, evidence, check-in data, and votes - Support multiple chain configurations (Alfajores and Celo mainnet)
- Implement FileDisputeForm with evidence upload support - Add DisputeCard component for displaying dispute information - Support multiple evidence types and file uploads - Integrate IPFS evidence upload functionality - Add form validation and error handling
- Create DisputeHistory component with active/resolved filtering - Implement EvidenceDisplay component for viewing evidence - Support image, video, and document evidence viewing - Add IPFS gateway URL handling for evidence access
- Create CheckInOut component for recording check-in/check-out timestamps - Implement AdminDisputePanel for moderators to review and resolve disputes - Support manual resolution and voting mechanisms - Add evidence and vote display in admin panel
- Add /disputes route for users to file and view disputes - Create /admin/disputes route for moderators to review disputes - Implement dispute ID lookup and dispute management UI - Add wallet connection checks and moderator authorization
…tion - Create deployment script with verification support - Add comprehensive test suite covering all dispute scenarios - Test check-in/check-out recording, dispute filing, automated resolution - Test manual resolution and voting mechanisms - Include setup for mock contracts and test data
- Create integration tests for complete dispute resolution flow - Test automated resolution scenarios (late check-in, no-show) - Test check-in/check-out workflow integration - Add dispute-specific test and deployment scripts to package.json
- Create detailed smart contract documentation - Document architecture, features, and usage - Add component README with usage examples - Include security considerations and testing instructions
- Create utility functions for refund calculations - Add late check-in and early check-out refund logic - Implement no-show detection and dispute age calculations - Add dispute urgency level determination - Update contracts config with dispute resolution addresses
- Export DISPUTE_RESOLUTION_ADDRESSES for frontend use - Support both Alfajores and Celo mainnet addresses
- Create DisputeStatusBadge for displaying dispute status - Implement DisputeFilters component for filtering disputes - Support filtering by status, resolution type, and refund status - Add reset filters functionality
- Create API route for IPFS file uploads with placeholder implementation - Update DisputeCard to use DisputeStatusBadge component - Clean up duplicate status formatting code
- Document all acceptance criteria met - List all files created and their purposes - Include deployment and configuration instructions - Add security features and next steps
- Create script to add moderators and authorized voters - Configure dispute resolution thresholds and parameters - Support environment variable configuration - Include error handling and status reporting
- Test double check-in/check-out prevention - Test unauthorized access attempts - Test duplicate dispute filing prevention - Test evidence submission to resolved disputes - Test invalid refund percentages - Test zero refund scenarios
- Document all changes and additions - Include security improvements - Track version updates
…e/dispute-resolution-system feat: Implement Dispute Resolution System
…sition to confirmed state
…e/dispute-resolution-system Feature/dispute resolution system
edit parking interface
Merge pull request #1 from OrsiniBr/first
Merge pull request #3 from OrsiniBr/first
Merge pull request #4 from OrsiniBr/main
change: change directry of contribution
Merge pull request #9 from orsinibear/main
sync the base branch into block branch
correction of name of test file
sync: sync the base branch into block branch
Merge pull request Uchechukwu-Ekezie#34 from orsinibear/main
recieve detail from author and merge into block branch
the proposed test passed, apply
Merge pull request #19 from orsinibear/block
replace last contract
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.
the contents of this commit harmless
they contain v2 of contracts
theyre all in the in a folder called "contributions" and therefore will most likely not cause conflict