Security
Deposit Caps & TVL Limits
Hard limits on per-gig deposits and total protocol TVL — bounding risk during testnet and early mainnet.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hard limits on per-gig deposits and total protocol TVL — bounding risk during testnet and early mainnet.
error GigAmountExceedsCap();
error TVLCapExceeded();
GET /api/escrow/tvl-capacity
{
"maxTVL": 500000,
"currentTVL": 4080,
"remaining": 495920,
"maxGigAmount": 50000,
"currency": "USDC"
}
function remainingTVLCapacity() external view returns (uint256) {
if (maxTVL == 0) return type(uint256).max;
if (totalLockedUSDC >= maxTVL) return 0;
return maxTVL - totalLockedUSDC;
}
// Adjust per-gig cap (0 = unlimited)
function setMaxGigAmount(uint256 cap) external onlyOwner;
// Adjust total TVL cap (0 = unlimited)
function setMaxTVL(uint256 cap) external onlyOwner;
| Date | Cap | Reason |
|---|---|---|
| Launch | 50K/500K | Initial conservative limits |
| Post-audit | 250K/5M | Planned after professional audit |
| Mainnet | TBD | Community governance vote |
totalLockedUSDC Trackeruint256 public totalLockedUSDC;
// Increments on lock
totalLockedUSDC += amount;
// Decrements on release or refund
totalLockedUSDC -= amount;
setMaxGigAmount(0); // No per-gig limit
setMaxTVL(0); // No TVL limit