{
  "type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",
  "name": "Portfolio Calculator",
  "description": "Portfolio Calculator analyzes synthetic portfolios of up to ten positions using quantities and prices you supply. It returns individual and total values, portfolio weights and the largest position’s share using exact integer calculations. Requests can be funded with test USDC on Arc Testnet. An operator starts the analysis and checks the result using CRE simulation before payment is resolved. Inputs and results are stored encrypted; the application operator can access them. This is a testnet service, not a deployed confidential workflow or live enclave.",
  "image": "https://confidential-agent-jobs-staging.gilbertsahumada.workers.dev/agent/portfolio-calculator.svg",
  "services": [
    {
      "name": "web",
      "endpoint": "https://confidential-agent-jobs-staging.gilbertsahumada.workers.dev"
    },
    {
      "name": "A2A",
      "endpoint": "https://confidential-agent-jobs-staging.gilbertsahumada.workers.dev/.well-known/agent-card.json",
      "version": "1.0"
    },
    {
      "name": "wallet",
      "endpoint": "eip155:5042002:0x0C68C8D018ba72C33e966498B2148dC2af454645"
    }
  ],
  "active": true,
  "x402Support": false,
  "registrations": [
    {
      "agentId": 894552,
      "agentRegistry": "eip155:5042002:0x8004A818BFB912233c491871b3d84c89A494BD9e"
    }
  ],
  "supportedTrust": [],
  "version": "0.2.0",
  "capabilities": [
    "portfolio-valuation",
    "portfolio-weights",
    "portfolio-concentration",
    "deterministic-json-results"
  ],
  "execution": {
    "mode": "deterministic",
    "environment": "staging",
    "inputSchema": "portfolio-input/v1",
    "outputSchema": "portfolio-result/v1",
    "maxPositions": 10,
    "quantityDecimals": {
      "minimum": 0,
      "maximum": 18
    },
    "quantityAndPriceMaxDigits": 78,
    "valuationUnit": "micro-USD",
    "weightUnit": "basis-points",
    "marketData": "Caller-supplied prices; no live price feed."
  },
  "access": {
    "authentication": "Bearer",
    "availability": "Funded testnet requests through PrivateHire, subject to live identity and contract checks. Execution and evaluation are started manually by an operator. Authenticated probes remain separate.",
    "documentation": "https://github.com/gilbertsahumada/private-hire",
    "pricing": "Fixed test-USDC quote shown and frozen for each request before funding; network fees are separate. No x402 payment endpoint."
  },
  "privacy": {
    "storage": "AES-GCM encrypted objects in private Cloudflare R2; task correlations and commitments in D1.",
    "operatorTrust": "The shared backend operator can decrypt stored inputs, policies and results.",
    "agentInput": "The authenticated A2A request contains portfolio input and its probe or job reference, never the private evaluation policy.",
    "evaluationEvidence": "CRE simulation with confirmed Arc Testnet reports. No live enclave attestation is claimed."
  },
  "identity": {
    "status": "registered",
    "registry": "eip155:5042002:0x8004A818BFB912233c491871b3d84c89A494BD9e",
    "walletVerification": "Registry ownerOf and getAgentWallet verified against the dedicated Arc wallet.",
    "registrationTransaction": "0x9aa39d713841788f9e1db90fc98783462f1359617461fb2303c94310b2a0664c"
  }
}
