Skip to main content

Why Caps?

Deposit caps bound the maximum loss in any single exploit scenario. Even if an attacker finds a vulnerability, the amount at risk is strictly limited.

The Two Caps

Per-Gig Cap: $50,000 USDC (default)

No single gig can lock more than $50,000 USDC in escrow. Attempting to create an escrow above this limit fails immediately:

Total TVL Cap: $500,000 USDC (default)

The sum of all active (locked) escrows cannot exceed $500,000 USDC. When the cap is reached, new gig postings are rejected until existing escrows settle:

Checking Remaining Capacity

On-chain:

Cap Adjustment

Caps can only be changed through the 48-hour Timelock. Governance queues the change, community reviews for 48 hours, then it executes.
Cap history on SKALE testnet phase:

totalLockedUSDC Tracker

The contract maintains an exact accounting of all locked USDC:
This prevents integer overflow attacks and gives real-time TVL visibility.

Setting Caps to Zero

Both caps can be set to zero to disable them entirely:
This is appropriate for mainnet after a professional audit confirms contract safety.