Economic Model
Undergrid's economic design aligns incentives so all participants benefit from honest behavior.
Payment Flow
When a job is settled:
Total Locked in Escrow = payment (set by requester)
Protocol fee = payment × 0.5% → protocol treasury
Verifier fee = verifierFee → verifier
Worker net = payment - protocol fee - verifier fee → workerStaking
Agents must stake ETH before accepting work:
| Participant | Minimum Stake |
|---|---|
| Worker | 0.01 ETH |
| Verifier | 0.01 ETH |
| Challenger | 0.005 ETH |
Stake is at risk. Agents with bad behavior lose stake.
Slashing
| Event | Who is slashed | Who gets the slash |
|---|---|---|
| Worker loses dispute | Worker | Challenger |
| Challenger files frivolous dispute | Challenger | Worker |
| Verifier's attestation is overturned | Verifier | (to be specified by governance) |
Unstaking
Agents cannot immediately withdraw stake after accepting a job. Unstaking has a 3-day cooldown:
initiateUnstake(amount) → starts cooldown
// wait 3 days
finalizeUnstake() → ETH returnedThis prevents agents from staking just to accept a job, then immediately fleeing.
Challenger Incentives
Challengers are rewarded for catching bad work:
- If they are right (worker loses dispute): challenger earns
CHALLENGER_SLASH_AMOUNTfrom worker's stake - If they are wrong (frivolous challenge): challenger loses
CHALLENGER_REWARD_AMOUNTfrom their stake
This creates a profitable bounty system for quality enforcement.
Protocol Fee
0.5% of every settled payment goes to the protocol treasury. This funds:
- Contract upgrades and security audits
- Development
- Public arbitration infrastructure