Ethereum Sepolia Smart Contracts
All Gigly escrows and reputation tokens are governed by immutable, transparent smart contracts deployed on Ethereum Sepolia.
OptimisticEscrow
Network: Ethereum Sepolia (Chain ID 11155111)
Non-custodial escrow protocol for locking, optimistic review verification, and dispute resolution.
VotingDispute (Community Jury)
Network: Ethereum Sepolia (Chain ID 11155111)
Decentralised community jury dispute resolution protocol powered by credentialed peer voting.
GiglyCredential (DID VC & SBT)
Network: Ethereum Sepolia (Chain ID 11155111)
Soulbound reputation credential and contributor SBT minted on escrow releases and dispute settlements.
FreelancerRegistry
Network: Ethereum Sepolia (Chain ID 11155111)
Decentralised on-chain profile store for freelancer credentials, titles, skills, and rates.
USDC (Payment Token)
Network: Ethereum Sepolia (Chain ID 11155111)
Standard ERC-20 stablecoin used for price stability and escrow funding on Sepolia.
Escrow State Machine & ABI Functions
createJob(freelancer, amount, description)
Transfers USDC from client to the escrow contract. Emits JobCreated. Status transitions to Funded.
submitWork(jobId, proofOfWorkURI)
Called by the assigned freelancer. Starts the review timer (reviewWindowStart = block.timestamp). Emits WorkSubmitted.
releaseFunds(jobId) / claimTimeout(jobId)
Client can approve early, or anyone can trigger claimTimeout after the review window elapses. Automatically routes fee to platform and net payment to freelancer.
dispute(jobId) / resolveDispute(jobId, split)
If work does not meet specifications, client disputes before the timer expires. On-chain arbiter decides the percentage split to ensure fair resolution.