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_completion payment (Total / Max Opportunities).
    • Deposits the full Total Amount into the escrow_module.
    • Initializes the LocationGig resource.

2. Claiming Completion

  • Input: Evidence Hash (IPFS).
  • Logic:
    • Checks if completed_count < max_opportunities.
    • If available, immediately triggers escrow_module::release_funds to send the per_completion amount to the worker.
    • Increments the completed_count.
    • (Note: In this V1, claims are instant. Future versions may add a verification step).