Location Based Gig
Geo-fenced task pools.
Created: 1/9/2026
Location Based Gig (location_based_gig)
The location_based_gig module is designed for "Location-Based Gigs" — casual, often map-based tasks where a single funding pool creates multiple opportunities (e.g., "Clean up 10 parks in this area").
Concept
Unlike Standard Gigs which are 1-to-1 relationships, Location Gigs are 1-to-Many.
- Poster: Creates a request with a total budget and a number of "opportunities".
- Workers: Multiple different workers can claim parts of the budget.
Flows
1. Creation
- Input: Description, Total Amount, Max Opportunities, Lat/Long.
- Logic:
- Calculates
per_completionpayment (Total / Max Opportunities). - Deposits the full
Total Amountinto theescrow_module. - Initializes the
LocationGigresource.
- Calculates
2. Claiming Completion
- Input: Evidence Hash (IPFS).
- Logic:
- Checks if
completed_count<max_opportunities. - If available, immediately triggers
escrow_module::release_fundsto send theper_completionamount to the worker. - Increments the
completed_count. - (Note: In this V1, claims are instant. Future versions may add a verification step).
- Checks if
